From 01ebb3239da5b01b538a5b8ee61a140e71fc4783 Mon Sep 17 00:00:00 2001 From: raphaeIl Date: Sat, 11 Jan 2025 10:23:59 -0500 Subject: [PATCH] test ike crypto works, new protos from pb --- Novaria.Common/Core/Packet.cs | 20 + Novaria.Common/Crypto/AeadTool.cs | 17 +- Novaria.Common/Protos/AI.cs | 503 - Novaria.Common/Protos/Achievement.cs | 962 - Novaria.Common/Protos/AchievementInfo.cs | 38 + ...erStage.cs => AchievementRewardReceive.cs} | 135 +- Novaria.Common/Protos/Activity.cs | 794 - Novaria.Common/Protos/ActivityDetail.cs | 640 + .../Protos/ActivityLoginRewardReceive.cs | 38 + .../ActivityPeriodicFinalRewardReceive.cs | 38 + .../Protos/ActivityPeriodicRewardReceive.cs | 317 + Novaria.Common/Protos/AffinityGift.cs | 307 - Novaria.Common/Protos/AffinityLevel.cs | 571 - Novaria.Common/Protos/AffinityQuest.cs | 494 - Novaria.Common/Protos/AffinityUpReward.cs | 626 - Novaria.Common/Protos/Agent.cs | 1196 - Novaria.Common/Protos/AgentApply.cs | 1110 + Novaria.Common/Protos/AgentGiveUp.cs | 544 + Novaria.Common/Protos/AgentRewardReceive.cs | 927 + .../Protos/AgentSpecialPerformance.cs | 382 - Novaria.Common/Protos/AgentTab.cs | 353 - Novaria.Common/Protos/Attribute.cs | 3238 - Novaria.Common/Protos/AttributeLimit.cs | 353 - Novaria.Common/Protos/BattlePass.cs | 974 - Novaria.Common/Protos/BattlePassInfo.cs | 672 + ...SurvivorLevel.cs => BattlePassLevelBuy.cs} | 162 +- Novaria.Common/Protos/BattlePassOrder.cs | 316 + ...tGroupExp.cs => BattlePassOrderCollect.cs} | 240 +- ...ade.cs => BattlePassQuestRewardReceive.cs} | 219 +- Novaria.Common/Protos/BattlePassReward.cs | 540 - .../Protos/BattlePassRewardReceive.cs | 791 + Novaria.Common/Protos/BattleThreshold.cs | 954 - Novaria.Common/Protos/BoardNPC.cs | 353 - Novaria.Common/Protos/Buff.cs | 868 - Novaria.Common/Protos/BuffValue.cs | 719 - Novaria.Common/Protos/Chapter.cs | 532 - Novaria.Common/Protos/CharAdvance.cs | 38 + .../Protos/CharAdvanceRewardReceive.cs | 601 + Novaria.Common/Protos/CharAffinityGiftSend.cs | 637 + .../Protos/CharAffinityQusetRewardReceive.cs | 611 + .../Protos/CharDatingEventRewardReceive.cs | 317 + Novaria.Common/Protos/CharDatingGiftSend.cs | 626 + .../Protos/CharDatingLandmarkSelect.cs | 639 + Novaria.Common/Protos/CharEquipmentChange.cs | 581 + Novaria.Common/Protos/CharGrade.cs | 391 - Novaria.Common/Protos/CharPotential.cs | 385 - Novaria.Common/Protos/CharRaritySequence.cs | 391 - Novaria.Common/Protos/CharRecruitment.cs | 38 + Novaria.Common/Protos/CharSkillUpgrade.cs | 316 + .../{StarTowerBuildRank.cs => CharSkinSet.cs} | 166 +- Novaria.Common/Protos/CharUpgrade.cs | 627 + Novaria.Common/Protos/Character.cs | 2597 - Novaria.Common/Protos/CharacterAdvance.cs | 1103 - Novaria.Common/Protos/CharacterArchive.cs | 429 - .../Protos/CharacterArchiveBaseInfo.cs | 391 - .../Protos/CharacterArchiveVoice.cs | 504 - Novaria.Common/Protos/CharacterCG.cs | 391 - Novaria.Common/Protos/CharacterDes.cs | 588 - .../Protos/CharacterSkillUpgrade.cs | 652 - Novaria.Common/Protos/CharacterSkin.cs | 1290 - .../Protos/CharacterSkinPanelFace.cs | 391 - Novaria.Common/Protos/CharacterTag.cs | 316 - .../Protos/CharacterVoiceControl.cs | 532 - Novaria.Common/Protos/Chat.cs | 803 - Novaria.Common/Protos/Chest.cs | 802 - Novaria.Common/Protos/ClientDiff.cs | 230 - Novaria.Common/Protos/ClientEventReport.cs | 38 + ...{CharItemExp.cs => DailyEquipmentApply.cs} | 145 +- Novaria.Common/Protos/DailyEquipmentSettle.cs | 701 + Novaria.Common/Protos/DailyEquipmentSweep.cs | 976 + Novaria.Common/Protos/DailyInstance.cs | 945 - ...tOptionAction.cs => DailyInstanceApply.cs} | 192 +- Novaria.Common/Protos/DailyInstanceFloor.cs | 842 - Novaria.Common/Protos/DailyInstanceRaid.cs | 938 + .../Protos/DailyInstanceRewardGroup.cs | 504 - Novaria.Common/Protos/DailyInstanceSettle.cs | 663 + Novaria.Common/Protos/DailyInstanceType.cs | 494 - Novaria.Common/Protos/DailyQuest.cs | 748 - Novaria.Common/Protos/DailyQuestActive.cs | 428 - Novaria.Common/Protos/DailyQuestAward.cs | 503 - .../Protos/DailyShopRewardReceive.cs | 38 + Novaria.Common/Protos/DatingCharResponse.cs | 466 - Novaria.Common/Protos/DatingEvent.cs | 709 - Novaria.Common/Protos/DatingLandmark.cs | 390 - Novaria.Common/Protos/DestroyObject.cs | 428 - Novaria.Common/Protos/DictionaryDiagram.cs | 353 - Novaria.Common/Protos/DictionaryEntry.cs | 531 - ...uelLevel.cs => DictionaryRewardReceive.cs} | 166 +- Novaria.Common/Protos/DictionaryTab.cs | 391 - Novaria.Common/Protos/Disc.cs | 1328 - Novaria.Common/Protos/DiscCommonSkill.cs | 919 - Novaria.Common/Protos/DiscItemExp.cs | 316 - Novaria.Common/Protos/DiscLimitBreak.cs | 600 + Novaria.Common/Protos/DiscPassiveSkill.cs | 1272 - Novaria.Common/Protos/DiscPromote.cs | 660 +- Novaria.Common/Protos/DiscPromoteLimit.cs | 353 - ...meterValue.cs => DiscReadRewardReceive.cs} | 106 +- Novaria.Common/Protos/DiscStrengthen.cs | 447 +- Novaria.Common/Protos/DiscTag.cs | 278 - Novaria.Common/Protos/Drop.cs | 278 - Novaria.Common/Protos/DropItemShow.cs | 316 - Novaria.Common/Protos/DropPkg.cs | 278 - Novaria.Common/Protos/Effect.cs | 1856 - Novaria.Common/Protos/EffectDesc.cs | 578 - Novaria.Common/Protos/EffectValue.cs | 842 - Novaria.Common/Protos/EndSceneType.cs | 353 - Novaria.Common/Protos/EnergyBuy.cs | 218 +- Novaria.Common/Protos/Equipment.cs | 691 - Novaria.Common/Protos/EquipmentDismantle.cs | 270 + Novaria.Common/Protos/EquipmentInstance.cs | 917 - .../Protos/EquipmentInstanceFloor.cs | 842 - .../Protos/EquipmentInstanceType.cs | 589 - ...pmentItemExp.cs => EquipmentLockUnlock.cs} | 154 +- .../Protos/EquipmentRandomAttribute.cs | 467 - Novaria.Common/Protos/EquipmentUpgrade.cs | 599 + Novaria.Common/Protos/EventResult.cs | 439 - Novaria.Common/Protos/FateCard.cs | 897 - Novaria.Common/Protos/FloorBuff.cs | 355 - Novaria.Common/Protos/Force.cs | 381 - Novaria.Common/Protos/FragmentsConvert.cs | 38 + .../Protos/{MonsterGroup.cs => FriendAdd.cs} | 127 +- Novaria.Common/Protos/FriendAddAgree.cs | 526 + ...haracterSkinTheme.cs => FriendAllAgree.cs} | 215 +- ...harAffinityTemplate.cs => FriendDelete.cs} | 128 +- Novaria.Common/Protos/FriendInvitesDelete.cs | 270 + ...{EventOptionsRules.cs => FriendListGet.cs} | 181 +- Novaria.Common/Protos/FriendNameSearch.cs | 506 + Novaria.Common/Protos/FriendReceiveEnergy.cs | 545 + .../Protos/FriendRecommendationGet.cs | 269 + Novaria.Common/Protos/FriendSendEnergy.cs | 498 + Novaria.Common/Protos/FriendStarSet.cs | 307 + Novaria.Common/Protos/FriendUidSearch.cs | 526 + Novaria.Common/Protos/GMBuild.cs | 278 - Novaria.Common/Protos/GMOrder.cs | 466 - Novaria.Common/Protos/GMTeam.cs | 335 - Novaria.Common/Protos/Gacha.cs | 991 - Novaria.Common/Protos/GachaAcquireReward.cs | 429 - Novaria.Common/Protos/GachaHistories.cs | 571 + Novaria.Common/Protos/GachaInformation.cs | 543 + Novaria.Common/Protos/GachaSpin.cs | 937 + Novaria.Common/Protos/GachaType.cs | 792 - Novaria.Common/Protos/GemConvert.cs | 38 + .../Protos/{FileDiff.cs => GmSudo.cs} | 164 +- Novaria.Common/Protos/Guide.cs | 1017 - Novaria.Common/Protos/GuideGroup.cs | 729 - Novaria.Common/Protos/Handbook.cs | 428 - Novaria.Common/Protos/HitDamage.cs | 1079 - Novaria.Common/Protos/Honor.cs | 605 - Novaria.Common/Protos/HonorCharacter.cs | 494 - Novaria.Common/Protos/Ike.cs | 590 + Novaria.Common/Protos/InfinityTower.cs | 494 - Novaria.Common/Protos/InfinityTowerAffix.cs | 420 - ...opObjectGroup.cs => InfinityTowerApply.cs} | 168 +- .../Protos/InfinityTowerBountyLevel.cs | 738 - .../Protos/InfinityTowerDailyRewardReceive.cs | 316 + .../Protos/InfinityTowerDifficulty.cs | 504 - .../Protos/InfinityTowerEnemySet.cs | 504 - Novaria.Common/Protos/InfinityTowerFloor.cs | 607 - ...attlePassQuest.cs => InfinityTowerInfo.cs} | 256 +- Novaria.Common/Protos/InfinityTowerLevel.cs | 682 - Novaria.Common/Protos/InfinityTowerMap.cs | 429 - Novaria.Common/Protos/InfinityTowerMsg.cs | 457 - Novaria.Common/Protos/InfinityTowerPlot.cs | 569 - .../Protos/InfinityTowerPlotRewardReceive.cs | 316 + Novaria.Common/Protos/InfinityTowerSettle.cs | 446 + Novaria.Common/Protos/InteractiveAction.cs | 428 - Novaria.Common/Protos/Item.cs | 867 - Novaria.Common/Protos/ItemPackMark.cs | 382 - .../{VampireTalentFloor.cs => ItemProduct.cs} | 125 +- Novaria.Common/Protos/ItemUse.cs | 1141 + Novaria.Common/Protos/JumpTo.cs | 381 - Novaria.Common/Protos/LoginRewardControl.cs | 391 - Novaria.Common/Protos/LoginRewardGroup.cs | 616 - Novaria.Common/Protos/MailList.cs | 38 + Novaria.Common/Protos/MailRead.cs | 38 + .../Protos/{EventOptions.cs => MailRecv.cs} | 190 +- .../{StarTowerCombo.cs => MailRemove.cs} | 134 +- Novaria.Common/Protos/MailTemplate.cs | 952 - Novaria.Common/Protos/Mainline.cs | 1357 - Novaria.Common/Protos/MainlineFloor.cs | 466 - Novaria.Common/Protos/MallGem.cs | 616 - Novaria.Common/Protos/MallGemList.cs | 542 + .../Protos/{ErrorCode.cs => MallGemOrder.cs} | 193 +- Novaria.Common/Protos/MallMonthlyCard.cs | 503 - Novaria.Common/Protos/MallMonthlycardList.cs | 581 + Novaria.Common/Protos/MallMonthlycardOrder.cs | 38 + Novaria.Common/Protos/MallOrderCancel.cs | 38 + Novaria.Common/Protos/MallOrderCollect.cs | 38 + Novaria.Common/Protos/MallPackage.cs | 878 - Novaria.Common/Protos/MallPackageList.cs | 580 + ...toryPersonality.cs => MallPackageOrder.cs} | 295 +- Novaria.Common/Protos/MallShop.cs | 878 - Novaria.Common/Protos/MallShopList.cs | 580 + .../{GamepadButton.cs => MallShopOrder.cs} | 139 +- Novaria.Common/Protos/MallShopPage.cs | 466 - Novaria.Common/Protos/Monster.cs | 1720 - Novaria.Common/Protos/MonsterAI.cs | 758 - Novaria.Common/Protos/MonsterActionBranch.cs | 1246 - Novaria.Common/Protos/MonsterBornGroup.cs | 391 - Novaria.Common/Protos/MonsterSkin.cs | 766 - Novaria.Common/Protos/MonsterTeam.cs | 540 - Novaria.Common/Protos/MonsterValueTemplete.cs | 2299 - .../Protos/MonsterValueTempleteAdjust.cs | 1131 - Novaria.Common/Protos/MonthlyCard.cs | 428 - Novaria.Common/Protos/NPCConfig.cs | 634 - Novaria.Common/Protos/NPCSkin.cs | 914 - Novaria.Common/Protos/Note.cs | 689 - Novaria.Common/Protos/NoteDropGroup.cs | 487 - Novaria.Common/Protos/Notify.cs | 3328 + Novaria.Common/Protos/NotifyGm.cs | 3723 + .../Protos/OnceAdditionalAttributeValue.cs | 579 - Novaria.Common/Protos/OpenFunc.cs | 540 - Novaria.Common/Protos/PeriodicQuest.cs | 465 - Novaria.Common/Protos/PeriodicQuestControl.cs | 617 - Novaria.Common/Protos/Perk.cs | 1178 - Novaria.Common/Protos/PerkPassiveSkill.cs | 839 - ...attleThreshold.cs => PhoneContactsInfo.cs} | 92 +- .../{SignIn.cs => PhoneContactsReport.cs} | 258 +- .../{FactionRelation.cs => PlayerBoard.cs} | 134 +- Novaria.Common/Protos/PlayerCharsShow.cs | 270 + Novaria.Common/Protos/PlayerData.cs | 2948 + .../{FormationScene.cs => PlayerDestroy.cs} | 128 +- Novaria.Common/Protos/PlayerExit.cs | 38 + .../Protos/{UIText.cs => PlayerFormation.cs} | 137 +- Novaria.Common/Protos/PlayerGenderEdit.cs | 38 + Novaria.Common/Protos/PlayerHead.cs | 278 - .../{DropObject.cs => PlayerHeadiconSet.cs} | 128 +- ...bleDestroyObject.cs => PlayerHonorEdit.cs} | 97 +- Novaria.Common/Protos/PlayerLearn.cs | 38 + Novaria.Common/Protos/PlayerLogin.cs | 2049 +- Novaria.Common/Protos/PlayerNameEdit.cs | 516 + Novaria.Common/Protos/PlayerPing.cs | 478 + .../Protos/{EnumDesc.cs => PlayerReg.cs} | 166 +- .../{Config.cs => PlayerSignatureEdit.cs} | 127 +- ...VampireTalentDesc.cs => PlayerSkinShow.cs} | 128 +- Novaria.Common/Protos/PlayerSurvey.cs | 554 + Novaria.Common/Protos/PlayerTitleEdit.cs | 317 + .../Protos/PlayerWorldClassRewardReceive.cs | 38 + Novaria.Common/Protos/Plot.cs | 606 - Novaria.Common/Protos/PlotRewardReceive.cs | 38 + Novaria.Common/Protos/Potential.cs | 1392 - .../Protos/PotentialPassiveSkill.cs | 690 - Novaria.Common/Protos/PreviewMonsterGroup.cs | 391 - Novaria.Common/Protos/PreviewMonsterList.cs | 860 - Novaria.Common/Protos/Production.cs | 1029 - ...{TableTravelerDuelFloor.cs => PubilcGm.cs} | 92 +- Novaria.Common/Protos/Public.cs | 28704 +++ Novaria.Common/Protos/PublicStarTower.cs | 18786 ++ ...nt.cs => QuestDailyActiveRewardRecevie.cs} | 192 +- .../Protos/QuestDailyRewardRecevie.cs | 38 + .../Protos/QuestTourGuideRewardReceive.cs | 316 + .../QuestTowerGuideGroupRewardReceive.cs | 316 + .../Protos/QuestTowerRewardRecevie.cs | 38 + Novaria.Common/Protos/RandomLevelMonster.cs | 2055 - Novaria.Common/Protos/Rank.cs | 278 - Novaria.Common/Protos/Recorder.cs | 4181 - Novaria.Common/Protos/Recorders.cs | 4279 - .../{ProductionType.cs => RedeemCode.cs} | 193 +- Novaria.Common/Protos/RegionBoss.cs | 700 - Novaria.Common/Protos/RegionBossAffix.cs | 560 - Novaria.Common/Protos/RegionBossFloor.cs | 504 - Novaria.Common/Protos/RegionBossLevel.cs | 1358 - ...htParameter.cs => RegionBossLevelApply.cs} | 145 +- .../Protos/RegionBossLevelSettle.cs | 792 + Novaria.Common/Protos/RegionBossLevelSweep.cs | 902 + Novaria.Common/Protos/ResidentGoods.cs | 954 - Novaria.Common/Protos/ResidentShop.cs | 616 - Novaria.Common/Protos/ResidentShopGet.cs | 497 + Novaria.Common/Protos/ResidentShopPurchase.cs | 760 + Novaria.Common/Protos/ScriptParameter.cs | 354 - Novaria.Common/Protos/Shield.cs | 616 - Novaria.Common/Protos/ShieldValue.cs | 579 - Novaria.Common/Protos/Skill.cs | 1214 - Novaria.Common/Protos/StarTower.cs | 1217 - Novaria.Common/Protos/StarTowerApply.cs | 1088 + .../Protos/StarTowerBattleThreshold.cs | 955 - .../Protos/StarTowerBookCharPotentialGet.cs | 299 + .../Protos/StarTowerBookEntrance.cs | 354 - .../Protos/StarTowerBookEventGet.cs | 299 + .../Protos/StarTowerBookEventReward.cs | 541 - .../Protos/StarTowerBookEventRewardReceive.cs | 318 + .../Protos/StarTowerBookFateCard.cs | 598 - .../Protos/StarTowerBookFateCardBundle.cs | 635 - .../Protos/StarTowerBookFateCardQuest.cs | 615 - .../StarTowerBookPotentialBriefListGet.cs | 270 + .../Protos/StarTowerBookPotentialReward.cs | 503 - .../StarTowerBookPotentialRewardReceive.cs | 319 + .../Protos/StarTowerBuildBriefListGet.cs | 270 + ...pGoodsGroup.cs => StarTowerBuildDelete.cs} | 136 +- .../Protos/StarTowerBuildDetailGet.cs | 527 + ...nkScore.cs => StarTowerBuildLockUnlock.cs} | 167 +- ...ackagePage.cs => StarTowerBuildNameSet.cs} | 131 +- ...ntry.cs => StarTowerBuildPreferenceSet.cs} | 192 +- .../Protos/StarTowerBuildWhetherSave.cs | 639 + Novaria.Common/Protos/StarTowerCombatEvent.cs | 466 - Novaria.Common/Protos/StarTowerDropItem.cs | 373 - Novaria.Common/Protos/StarTowerEnemySet.cs | 429 - Novaria.Common/Protos/StarTowerEvent.cs | 494 - Novaria.Common/Protos/StarTowerEventAction.cs | 391 - Novaria.Common/Protos/StarTowerFloor.cs | 504 - Novaria.Common/Protos/StarTowerFloorAward.cs | 429 - Novaria.Common/Protos/StarTowerFloorExp.cs | 541 - Novaria.Common/Protos/StarTowerFloorSet.cs | 608 - Novaria.Common/Protos/StarTowerGiveUp.cs | 476 + Novaria.Common/Protos/StarTowerGroup.cs | 456 - Novaria.Common/Protos/StarTowerGrowthGroup.cs | 354 - Novaria.Common/Protos/StarTowerGrowthNode.cs | 971 - .../Protos/StarTowerHarmonySkill.cs | 569 - Novaria.Common/Protos/StarTowerInfo.cs | 38 + Novaria.Common/Protos/StarTowerInteract.cs | 1287 + Novaria.Common/Protos/StarTowerLimitReward.cs | 382 - Novaria.Common/Protos/StarTowerMap.cs | 569 - .../Protos/StarTowerMonsterBornGroup.cs | 392 - .../Protos/StarTowerMonsterSpAttr.cs | 478 - Novaria.Common/Protos/StarTowerQuest.cs | 607 - Novaria.Common/Protos/StarTowerRank.cs | 2688 + Novaria.Common/Protos/StarTowerRankAffix.cs | 382 - Novaria.Common/Protos/StarTowerRankApply.cs | 659 + Novaria.Common/Protos/StarTowerRankReward.cs | 429 - Novaria.Common/Protos/StarTowerRankSeason.cs | 617 - Novaria.Common/Protos/StarTowerScenePrefab.cs | 345 - Novaria.Common/Protos/StarTowerSpMode.cs | 392 - .../Protos/StarTowerSpecificCombat.cs | 391 - Novaria.Common/Protos/StarTowerStage.cs | 504 - Novaria.Common/Protos/StarTowerTalk.cs | 428 - Novaria.Common/Protos/Story.cs | 932 - .../Protos/{AreaEffect.cs => StoryApply.cs} | 166 +- Novaria.Common/Protos/StoryChapter.cs | 593 - Novaria.Common/Protos/StoryCondition.cs | 459 - Novaria.Common/Protos/StoryEvidence.cs | 465 - Novaria.Common/Protos/StoryRolePersonality.cs | 1083 - Novaria.Common/Protos/StorySett.cs | 899 + Novaria.Common/Protos/TableAI.cs | 230 - Novaria.Common/Protos/TableAchievement.cs | 231 - Novaria.Common/Protos/TableActivity.cs | 231 - Novaria.Common/Protos/TableAddBuffAction.cs | 231 - Novaria.Common/Protos/TableAffinityGift.cs | 231 - Novaria.Common/Protos/TableAffinityLevel.cs | 231 - Novaria.Common/Protos/TableAffinityQuest.cs | 231 - .../Protos/TableAffinityUpReward.cs | 232 - Novaria.Common/Protos/TableAgent.cs | 231 - .../Protos/TableAgentSpecialPerformance.cs | 232 - Novaria.Common/Protos/TableAgentTab.cs | 231 - Novaria.Common/Protos/TableAreaEffect.cs | 231 - Novaria.Common/Protos/TableAttribute.cs | 231 - Novaria.Common/Protos/TableAttributeLimit.cs | 231 - Novaria.Common/Protos/TableBattlePass.cs | 231 - Novaria.Common/Protos/TableBattlePassLevel.cs | 231 - Novaria.Common/Protos/TableBattlePassQuest.cs | 231 - .../Protos/TableBattlePassReward.cs | 232 - Novaria.Common/Protos/TableBoardNPC.cs | 231 - Novaria.Common/Protos/TableBuff.cs | 230 - Novaria.Common/Protos/TableBuffValue.cs | 231 - Novaria.Common/Protos/TableChapter.cs | 231 - .../Protos/TableCharAffinityTemplate.cs | 232 - Novaria.Common/Protos/TableCharGrade.cs | 231 - Novaria.Common/Protos/TableCharItemExp.cs | 231 - Novaria.Common/Protos/TableCharPotential.cs | 231 - .../Protos/TableCharRaritySequence.cs | 232 - Novaria.Common/Protos/TableCharacter.cs | 231 - .../Protos/TableCharacterAdvance.cs | 232 - .../Protos/TableCharacterArchive.cs | 232 - .../Protos/TableCharacterArchiveBaseInfo.cs | 232 - .../Protos/TableCharacterArchiveContent.cs | 232 - .../Protos/TableCharacterArchiveVoice.cs | 232 - Novaria.Common/Protos/TableCharacterCG.cs | 231 - Novaria.Common/Protos/TableCharacterDes.cs | 231 - .../Protos/TableCharacterSkillUpgrade.cs | 232 - Novaria.Common/Protos/TableCharacterSkin.cs | 231 - .../Protos/TableCharacterSkinPanelFace.cs | 232 - .../Protos/TableCharacterSkinTheme.cs | 232 - Novaria.Common/Protos/TableCharacterTag.cs | 231 - .../Protos/TableCharacterUpgrade.cs | 232 - .../Protos/TableCharacterVoiceControl.cs | 232 - Novaria.Common/Protos/TableChat.cs | 230 - Novaria.Common/Protos/TableChest.cs | 231 - Novaria.Common/Protos/TableConfig.cs | 231 - Novaria.Common/Protos/TableContentWord.cs | 231 - Novaria.Common/Protos/TableDailyInstance.cs | 231 - .../Protos/TableDailyInstanceFloor.cs | 232 - .../Protos/TableDailyInstanceRewardGroup.cs | 232 - .../Protos/TableDailyInstanceType.cs | 232 - Novaria.Common/Protos/TableDailyQuest.cs | 231 - .../Protos/TableDailyQuestActive.cs | 232 - Novaria.Common/Protos/TableDailyQuestAward.cs | 231 - .../Protos/TableDatingCharResponse.cs | 232 - Novaria.Common/Protos/TableDatingEvent.cs | 231 - Novaria.Common/Protos/TableDatingLandmark.cs | 231 - .../Protos/TableDictionaryDiagram.cs | 232 - Novaria.Common/Protos/TableDictionaryEntry.cs | 231 - Novaria.Common/Protos/TableDictionaryTab.cs | 231 - .../Protos/TableDictionaryTopBarEntry.cs | 232 - Novaria.Common/Protos/TableDisc.cs | 230 - Novaria.Common/Protos/TableDiscCommonSkill.cs | 231 - Novaria.Common/Protos/TableDiscItemExp.cs | 231 - .../Protos/TableDiscPassiveSkill.cs | 232 - Novaria.Common/Protos/TableDiscPromote.cs | 231 - .../Protos/TableDiscPromoteLimit.cs | 232 - Novaria.Common/Protos/TableDiscStrengthen.cs | 231 - Novaria.Common/Protos/TableDiscTag.cs | 231 - Novaria.Common/Protos/TableDrop.cs | 230 - Novaria.Common/Protos/TableDropItemShow.cs | 231 - Novaria.Common/Protos/TableDropObject.cs | 231 - Novaria.Common/Protos/TableDropObjectGroup.cs | 231 - Novaria.Common/Protos/TableDropPkg.cs | 231 - Novaria.Common/Protos/TableEffect.cs | 231 - Novaria.Common/Protos/TableEffectDesc.cs | 231 - Novaria.Common/Protos/TableEffectValue.cs | 231 - Novaria.Common/Protos/TableEndSceneType.cs | 231 - Novaria.Common/Protos/TableEnergyBuy.cs | 231 - Novaria.Common/Protos/TableEnumDesc.cs | 231 - Novaria.Common/Protos/TableEquipment.cs | 231 - .../Protos/TableEquipmentGroupExp.cs | 232 - .../Protos/TableEquipmentInstance.cs | 232 - .../Protos/TableEquipmentInstanceFloor.cs | 232 - .../Protos/TableEquipmentInstanceType.cs | 232 - .../Protos/TableEquipmentItemExp.cs | 232 - .../Protos/TableEquipmentRandomAttribute.cs | 232 - Novaria.Common/Protos/TableErrorCode.cs | 231 - Novaria.Common/Protos/TableEventOptions.cs | 231 - .../Protos/TableEventOptionsRules.cs | 232 - Novaria.Common/Protos/TableEventResult.cs | 231 - Novaria.Common/Protos/TableFactionRelation.cs | 231 - Novaria.Common/Protos/TableFateCard.cs | 231 - Novaria.Common/Protos/TableFloorBuff.cs | 231 - Novaria.Common/Protos/TableForce.cs | 231 - Novaria.Common/Protos/TableFormationScene.cs | 231 - Novaria.Common/Protos/TableGMBuild.cs | 231 - Novaria.Common/Protos/TableGMOrder.cs | 231 - Novaria.Common/Protos/TableGMTeam.cs | 231 - Novaria.Common/Protos/TableGacha.cs | 231 - .../Protos/TableGachaAcquireReward.cs | 232 - Novaria.Common/Protos/TableGachaType.cs | 231 - Novaria.Common/Protos/TableGamepadButton.cs | 231 - Novaria.Common/Protos/TableGuide.cs | 231 - Novaria.Common/Protos/TableGuideGroup.cs | 231 - Novaria.Common/Protos/TableHandbook.cs | 231 - Novaria.Common/Protos/TableHitDamage.cs | 231 - Novaria.Common/Protos/TableHonor.cs | 231 - Novaria.Common/Protos/TableHonorCharacter.cs | 231 - Novaria.Common/Protos/TableInfinityTower.cs | 231 - .../Protos/TableInfinityTowerAffix.cs | 232 - .../Protos/TableInfinityTowerBountyLevel.cs | 232 - .../Protos/TableInfinityTowerDifficulty.cs | 232 - .../Protos/TableInfinityTowerEnemySet.cs | 232 - .../Protos/TableInfinityTowerFloor.cs | 232 - .../Protos/TableInfinityTowerLevel.cs | 232 - .../Protos/TableInfinityTowerMap.cs | 232 - .../Protos/TableInfinityTowerMsg.cs | 232 - .../Protos/TableInfinityTowerPlot.cs | 232 - .../Protos/TableInteractiveAction.cs | 232 - Novaria.Common/Protos/TableItem.cs | 230 - Novaria.Common/Protos/TableItemPackMark.cs | 231 - Novaria.Common/Protos/TableJumpTo.cs | 231 - .../Protos/TableLoginRewardControl.cs | 232 - .../Protos/TableLoginRewardGroup.cs | 232 - Novaria.Common/Protos/TableMailTemplate.cs | 231 - Novaria.Common/Protos/TableMainline.cs | 231 - Novaria.Common/Protos/TableMainlineFloor.cs | 231 - Novaria.Common/Protos/TableMallGem.cs | 231 - Novaria.Common/Protos/TableMallMonthlyCard.cs | 231 - Novaria.Common/Protos/TableMallPackage.cs | 231 - Novaria.Common/Protos/TableMallPackagePage.cs | 231 - Novaria.Common/Protos/TableMallShop.cs | 231 - Novaria.Common/Protos/TableMallShopPage.cs | 231 - Novaria.Common/Protos/TableMonster.cs | 231 - Novaria.Common/Protos/TableMonsterAI.cs | 231 - .../Protos/TableMonsterActionBranch.cs | 232 - .../Protos/TableMonsterBornGroup.cs | 232 - Novaria.Common/Protos/TableMonsterGroup.cs | 231 - Novaria.Common/Protos/TableMonsterSkin.cs | 231 - Novaria.Common/Protos/TableMonsterTeam.cs | 231 - .../Protos/TableMonsterValueTemplete.cs | 232 - .../Protos/TableMonsterValueTempleteAdjust.cs | 232 - Novaria.Common/Protos/TableMonthlyCard.cs | 231 - Novaria.Common/Protos/TableNPCConfig.cs | 231 - Novaria.Common/Protos/TableNPCSkin.cs | 231 - Novaria.Common/Protos/TableNote.cs | 230 - Novaria.Common/Protos/TableNoteDropGroup.cs | 231 - .../Protos/TableOnceAdditionalAttribute.cs | 232 - .../TableOnceAdditionalAttributeValue.cs | 233 - Novaria.Common/Protos/TableOpenFunc.cs | 231 - Novaria.Common/Protos/TablePeriodicQuest.cs | 231 - .../Protos/TablePeriodicQuestControl.cs | 232 - .../Protos/TablePeriodicQuestGroup.cs | 232 - Novaria.Common/Protos/TablePerk.cs | 230 - .../Protos/TablePerkPassiveSkill.cs | 232 - Novaria.Common/Protos/TablePlayerHead.cs | 231 - Novaria.Common/Protos/TablePlot.cs | 230 - Novaria.Common/Protos/TablePotential.cs | 231 - .../Protos/TablePotentialPassiveSkill.cs | 232 - .../Protos/TablePreviewMonsterGroup.cs | 232 - .../Protos/TablePreviewMonsterList.cs | 232 - Novaria.Common/Protos/TableProduction.cs | 231 - Novaria.Common/Protos/TableProductionType.cs | 231 - .../Protos/TableRandomLevelMonster.cs | 232 - Novaria.Common/Protos/TableRank.cs | 230 - Novaria.Common/Protos/TableRegionBoss.cs | 231 - Novaria.Common/Protos/TableRegionBossAffix.cs | 231 - Novaria.Common/Protos/TableRegionBossFloor.cs | 231 - Novaria.Common/Protos/TableRegionBossLevel.cs | 231 - Novaria.Common/Protos/TableResidentGoods.cs | 231 - Novaria.Common/Protos/TableResidentShop.cs | 231 - Novaria.Common/Protos/TableScriptParameter.cs | 231 - .../Protos/TableScriptParameterValue.cs | 232 - Novaria.Common/Protos/TableShield.cs | 231 - Novaria.Common/Protos/TableShieldValue.cs | 231 - Novaria.Common/Protos/TableSignIn.cs | 231 - Novaria.Common/Protos/TableSkill.cs | 231 - Novaria.Common/Protos/TableSkillDamage.cs | 231 - Novaria.Common/Protos/TableStarTower.cs | 231 - .../Protos/TableStarTowerBattleThreshold.cs | 232 - .../Protos/TableStarTowerBookEntrance.cs | 232 - .../Protos/TableStarTowerBookEventReward.cs | 232 - .../Protos/TableStarTowerBookFateCard.cs | 232 - .../TableStarTowerBookFateCardBundle.cs | 233 - .../Protos/TableStarTowerBookFateCardQuest.cs | 232 - .../TableStarTowerBookPotentialReward.cs | 233 - .../Protos/TableStarTowerBuildRank.cs | 232 - .../Protos/TableStarTowerCombatEvent.cs | 232 - Novaria.Common/Protos/TableStarTowerCombo.cs | 231 - .../Protos/TableStarTowerDropItem.cs | 232 - .../Protos/TableStarTowerEnemySet.cs | 232 - Novaria.Common/Protos/TableStarTowerEvent.cs | 231 - .../Protos/TableStarTowerEventAction.cs | 232 - .../Protos/TableStarTowerEventOptionAction.cs | 232 - Novaria.Common/Protos/TableStarTowerFloor.cs | 231 - .../Protos/TableStarTowerFloorAward.cs | 232 - .../Protos/TableStarTowerFloorExp.cs | 232 - .../Protos/TableStarTowerFloorSet.cs | 232 - Novaria.Common/Protos/TableStarTowerGroup.cs | 231 - .../Protos/TableStarTowerGrowthGroup.cs | 232 - .../Protos/TableStarTowerGrowthNode.cs | 232 - .../Protos/TableStarTowerHarmonySkill.cs | 232 - .../Protos/TableStarTowerLimitReward.cs | 232 - Novaria.Common/Protos/TableStarTowerMap.cs | 231 - .../Protos/TableStarTowerMapMaxNumPerStage.cs | 232 - .../Protos/TableStarTowerMonsterBornGroup.cs | 232 - .../Protos/TableStarTowerMonsterSpAttr.cs | 232 - Novaria.Common/Protos/TableStarTowerQuest.cs | 231 - .../Protos/TableStarTowerRankAffix.cs | 232 - .../Protos/TableStarTowerRankReward.cs | 232 - .../Protos/TableStarTowerRankScore.cs | 232 - .../Protos/TableStarTowerRankSeason.cs | 232 - .../Protos/TableStarTowerScenePrefab.cs | 232 - .../Protos/TableStarTowerShopGoodsGroup.cs | 232 - Novaria.Common/Protos/TableStarTowerSpMode.cs | 231 - .../Protos/TableStarTowerSpecificCombat.cs | 232 - Novaria.Common/Protos/TableStarTowerStage.cs | 231 - Novaria.Common/Protos/TableStarTowerTalk.cs | 231 - .../Protos/TableStarTowerTeamExp.cs | 232 - Novaria.Common/Protos/TableStory.cs | 231 - Novaria.Common/Protos/TableStoryChapter.cs | 231 - Novaria.Common/Protos/TableStoryCondition.cs | 231 - Novaria.Common/Protos/TableStoryEvidence.cs | 231 - .../Protos/TableStoryPersonality.cs | 232 - .../Protos/TableStoryRolePersonality.cs | 232 - Novaria.Common/Protos/TableTalent.cs | 231 - Novaria.Common/Protos/TableTalentGroup.cs | 231 - Novaria.Common/Protos/TableTitle.cs | 231 - Novaria.Common/Protos/TableTopBar.cs | 231 - Novaria.Common/Protos/TableTourGuideQuest.cs | 231 - .../Protos/TableTourGuideQuestGroup.cs | 232 - Novaria.Common/Protos/TableTrap.cs | 230 - Novaria.Common/Protos/TableTrapAttribute.cs | 231 - .../Protos/TableTravelerDuelBoss.cs | 232 - .../Protos/TableTravelerDuelBossLevel.cs | 232 - .../Protos/TableTravelerDuelChallengeAffix.cs | 232 - .../TableTravelerDuelChallengeDifficulty.cs | 233 - .../Protos/TableTravelerDuelChallengeQuest.cs | 232 - .../TableTravelerDuelChallengeRankReward.cs | 233 - .../TableTravelerDuelChallengeSeason.cs | 233 - .../Protos/TableTravelerDuelLevel.cs | 232 - .../Protos/TableTravelerDuelQuest.cs | 232 - Novaria.Common/Protos/TableTrialBuild.cs | 231 - Novaria.Common/Protos/TableTrialCharacter.cs | 231 - Novaria.Common/Protos/TableTrialDisc.cs | 231 - Novaria.Common/Protos/TableUIText.cs | 231 - .../Protos/TableVampireBattleThreshold.cs | 232 - .../Protos/TableVampireEnemyPool.cs | 232 - Novaria.Common/Protos/TableVampireEnemySet.cs | 231 - .../Protos/TableVampireEnemySpAttr.cs | 232 - Novaria.Common/Protos/TableVampireFloor.cs | 231 - Novaria.Common/Protos/TableVampireMap.cs | 231 - .../Protos/TableVampireRankReward.cs | 232 - .../Protos/TableVampireRankSeason.cs | 232 - Novaria.Common/Protos/TableVampireSurvivor.cs | 231 - .../Protos/TableVampireSurvivorLevel.cs | 232 - .../Protos/TableVampireSurvivorQuest.cs | 232 - Novaria.Common/Protos/TableVampireTalent.cs | 231 - .../Protos/TableVampireTalentDesc.cs | 232 - .../Protos/TableVampireTalentFloor.cs | 232 - Novaria.Common/Protos/TableVoDirectory.cs | 231 - Novaria.Common/Protos/TableWeightParameter.cs | 231 - Novaria.Common/Protos/TableWord.cs | 230 - Novaria.Common/Protos/TableWordSuper.cs | 231 - Novaria.Common/Protos/TableWorldClass.cs | 231 - Novaria.Common/Protos/Talent.cs | 1130 - .../{ContentWord.cs => TalentNodeReset.cs} | 176 +- .../{PeriodicQuestGroup.cs => TalentReset.cs} | 144 +- Novaria.Common/Protos/TalentUnlock.cs | 326 + Novaria.Common/Protos/Title.cs | 390 - Novaria.Common/Protos/TopBar.cs | 494 - Novaria.Common/Protos/TourGuideQuest.cs | 578 - Novaria.Common/Protos/TourGuideQuestGroup.cs | 728 - ...mySpAttr.cs => TowerBookFateCardDetail.cs} | 175 +- ...l.cs => TowerBookFateCardRewardReceive.cs} | 204 +- .../{SkillDamage.cs => TowerGrowthDetail.cs} | 133 +- .../Protos/TowerGrowthNodeUnlock.cs | 38 + Novaria.Common/Protos/Trap.cs | 1318 - Novaria.Common/Protos/TrapAttribute.cs | 335 - Novaria.Common/Protos/TravelerDuelBoss.cs | 457 - .../Protos/TravelerDuelBossLevel.cs | 1039 - .../Protos/TravelerDuelChallengeAffix.cs | 710 - .../Protos/TravelerDuelChallengeDifficulty.cs | 383 - .../Protos/TravelerDuelChallengeQuest.cs | 767 - .../Protos/TravelerDuelChallengeRankReward.cs | 430 - .../Protos/TravelerDuelChallengeSeason.cs | 467 - Novaria.Common/Protos/TravelerDuelFloor.cs | 504 - Novaria.Common/Protos/TravelerDuelInfo.cs | 475 + ...erTeamExp.cs => TravelerDuelLevelApply.cs} | 190 +- .../Protos/TravelerDuelLevelSettle.cs | 1055 + Novaria.Common/Protos/TravelerDuelQuest.cs | 729 - .../Protos/TravelerDuelQuestRewardReceive.cs | 591 + Novaria.Common/Protos/TravelerDuelRank.cs | 1256 + .../Protos/TravelerDuelRankUpload.cs | 2361 + Novaria.Common/Protos/TrialBuild.cs | 710 - Novaria.Common/Protos/TrialCharacter.cs | 485 - Novaria.Common/Protos/TrialDisc.cs | 390 - .../Protos/VampireBattleThreshold.cs | 955 - Novaria.Common/Protos/VampireEnemyPool.cs | 429 - Novaria.Common/Protos/VampireEnemySet.cs | 655 - Novaria.Common/Protos/VampireFloor.cs | 589 - Novaria.Common/Protos/VampireMap.cs | 428 - Novaria.Common/Protos/VampireRankReward.cs | 429 - Novaria.Common/Protos/VampireRankSeason.cs | 391 - Novaria.Common/Protos/VampireSurvivor.cs | 1396 - Novaria.Common/Protos/VampireSurvivorApply.cs | 760 + ...tGroup.cs => VampireSurvivorAreaChange.cs} | 269 +- Novaria.Common/Protos/VampireSurvivorQuest.cs | 766 - ...s => VampireSurvivorQuestRewardReceive.cs} | 211 +- Novaria.Common/Protos/VampireSurvivorRank.cs | 2841 + .../Protos/VampireSurvivorRewardChest.cs | 591 + .../Protos/VampireSurvivorRewardSelect.cs | 968 + .../Protos/VampireSurvivorSettle.cs | 1624 + Novaria.Common/Protos/VampireTalent.cs | 643 - ...nalAttribute.cs => VampireTalentDetail.cs} | 214 +- Novaria.Common/Protos/VampireTalentReset.cs | 38 + Novaria.Common/Protos/VampireTalentUnlock.cs | 38 + Novaria.Common/Protos/VoDirectory.cs | 428 - Novaria.Common/Protos/Word.cs | 764 - Novaria.Common/Protos/WordSuper.cs | 764 - Novaria.Common/Protos/WorldClass.cs | 465 - .../{Protos => SDKProtos}/ServerAgent.cs | 0 .../{Protos => SDKProtos}/ServerListMeta.cs | 0 Novaria.Common/Tables/ClientTable.cs | 200854 +++++++++++++++ Novaria.Common/TempData/RoguelikeTempData.cs | 2165 + Novaria.Common/Utils/Utils.cs | 25 - .../Controllers/Api/GatewayController.cs | 38 +- Novaria.SDKServer/SDKServer.cs | 211 +- Novaria.SDKServer/options_req | 3 + 661 files changed, 322271 insertions(+), 220654 deletions(-) create mode 100644 Novaria.Common/Core/Packet.cs delete mode 100644 Novaria.Common/Protos/AI.cs delete mode 100644 Novaria.Common/Protos/Achievement.cs create mode 100644 Novaria.Common/Protos/AchievementInfo.cs rename Novaria.Common/Protos/{StarTowerMapMaxNumPerStage.cs => AchievementRewardReceive.cs} (64%) delete mode 100644 Novaria.Common/Protos/Activity.cs create mode 100644 Novaria.Common/Protos/ActivityDetail.cs create mode 100644 Novaria.Common/Protos/ActivityLoginRewardReceive.cs create mode 100644 Novaria.Common/Protos/ActivityPeriodicFinalRewardReceive.cs create mode 100644 Novaria.Common/Protos/ActivityPeriodicRewardReceive.cs delete mode 100644 Novaria.Common/Protos/AffinityGift.cs delete mode 100644 Novaria.Common/Protos/AffinityLevel.cs delete mode 100644 Novaria.Common/Protos/AffinityQuest.cs delete mode 100644 Novaria.Common/Protos/AffinityUpReward.cs delete mode 100644 Novaria.Common/Protos/Agent.cs create mode 100644 Novaria.Common/Protos/AgentApply.cs create mode 100644 Novaria.Common/Protos/AgentGiveUp.cs create mode 100644 Novaria.Common/Protos/AgentRewardReceive.cs delete mode 100644 Novaria.Common/Protos/AgentSpecialPerformance.cs delete mode 100644 Novaria.Common/Protos/AgentTab.cs delete mode 100644 Novaria.Common/Protos/Attribute.cs delete mode 100644 Novaria.Common/Protos/AttributeLimit.cs delete mode 100644 Novaria.Common/Protos/BattlePass.cs create mode 100644 Novaria.Common/Protos/BattlePassInfo.cs rename Novaria.Common/Protos/{VampireSurvivorLevel.cs => BattlePassLevelBuy.cs} (62%) create mode 100644 Novaria.Common/Protos/BattlePassOrder.cs rename Novaria.Common/Protos/{EquipmentGroupExp.cs => BattlePassOrderCollect.cs} (56%) rename Novaria.Common/Protos/{CharacterUpgrade.cs => BattlePassQuestRewardReceive.cs} (63%) delete mode 100644 Novaria.Common/Protos/BattlePassReward.cs create mode 100644 Novaria.Common/Protos/BattlePassRewardReceive.cs delete mode 100644 Novaria.Common/Protos/BattleThreshold.cs delete mode 100644 Novaria.Common/Protos/BoardNPC.cs delete mode 100644 Novaria.Common/Protos/Buff.cs delete mode 100644 Novaria.Common/Protos/BuffValue.cs delete mode 100644 Novaria.Common/Protos/Chapter.cs create mode 100644 Novaria.Common/Protos/CharAdvance.cs create mode 100644 Novaria.Common/Protos/CharAdvanceRewardReceive.cs create mode 100644 Novaria.Common/Protos/CharAffinityGiftSend.cs create mode 100644 Novaria.Common/Protos/CharAffinityQusetRewardReceive.cs create mode 100644 Novaria.Common/Protos/CharDatingEventRewardReceive.cs create mode 100644 Novaria.Common/Protos/CharDatingGiftSend.cs create mode 100644 Novaria.Common/Protos/CharDatingLandmarkSelect.cs create mode 100644 Novaria.Common/Protos/CharEquipmentChange.cs delete mode 100644 Novaria.Common/Protos/CharGrade.cs delete mode 100644 Novaria.Common/Protos/CharPotential.cs delete mode 100644 Novaria.Common/Protos/CharRaritySequence.cs create mode 100644 Novaria.Common/Protos/CharRecruitment.cs create mode 100644 Novaria.Common/Protos/CharSkillUpgrade.cs rename Novaria.Common/Protos/{StarTowerBuildRank.cs => CharSkinSet.cs} (63%) create mode 100644 Novaria.Common/Protos/CharUpgrade.cs delete mode 100644 Novaria.Common/Protos/Character.cs delete mode 100644 Novaria.Common/Protos/CharacterAdvance.cs delete mode 100644 Novaria.Common/Protos/CharacterArchive.cs delete mode 100644 Novaria.Common/Protos/CharacterArchiveBaseInfo.cs delete mode 100644 Novaria.Common/Protos/CharacterArchiveVoice.cs delete mode 100644 Novaria.Common/Protos/CharacterCG.cs delete mode 100644 Novaria.Common/Protos/CharacterDes.cs delete mode 100644 Novaria.Common/Protos/CharacterSkillUpgrade.cs delete mode 100644 Novaria.Common/Protos/CharacterSkin.cs delete mode 100644 Novaria.Common/Protos/CharacterSkinPanelFace.cs delete mode 100644 Novaria.Common/Protos/CharacterTag.cs delete mode 100644 Novaria.Common/Protos/CharacterVoiceControl.cs delete mode 100644 Novaria.Common/Protos/Chat.cs delete mode 100644 Novaria.Common/Protos/Chest.cs delete mode 100644 Novaria.Common/Protos/ClientDiff.cs create mode 100644 Novaria.Common/Protos/ClientEventReport.cs rename Novaria.Common/Protos/{CharItemExp.cs => DailyEquipmentApply.cs} (65%) create mode 100644 Novaria.Common/Protos/DailyEquipmentSettle.cs create mode 100644 Novaria.Common/Protos/DailyEquipmentSweep.cs delete mode 100644 Novaria.Common/Protos/DailyInstance.cs rename Novaria.Common/Protos/{StarTowerEventOptionAction.cs => DailyInstanceApply.cs} (61%) delete mode 100644 Novaria.Common/Protos/DailyInstanceFloor.cs create mode 100644 Novaria.Common/Protos/DailyInstanceRaid.cs delete mode 100644 Novaria.Common/Protos/DailyInstanceRewardGroup.cs create mode 100644 Novaria.Common/Protos/DailyInstanceSettle.cs delete mode 100644 Novaria.Common/Protos/DailyInstanceType.cs delete mode 100644 Novaria.Common/Protos/DailyQuest.cs delete mode 100644 Novaria.Common/Protos/DailyQuestActive.cs delete mode 100644 Novaria.Common/Protos/DailyQuestAward.cs create mode 100644 Novaria.Common/Protos/DailyShopRewardReceive.cs delete mode 100644 Novaria.Common/Protos/DatingCharResponse.cs delete mode 100644 Novaria.Common/Protos/DatingEvent.cs delete mode 100644 Novaria.Common/Protos/DatingLandmark.cs delete mode 100644 Novaria.Common/Protos/DestroyObject.cs delete mode 100644 Novaria.Common/Protos/DictionaryDiagram.cs delete mode 100644 Novaria.Common/Protos/DictionaryEntry.cs rename Novaria.Common/Protos/{TravelerDuelLevel.cs => DictionaryRewardReceive.cs} (63%) delete mode 100644 Novaria.Common/Protos/DictionaryTab.cs delete mode 100644 Novaria.Common/Protos/Disc.cs delete mode 100644 Novaria.Common/Protos/DiscCommonSkill.cs delete mode 100644 Novaria.Common/Protos/DiscItemExp.cs create mode 100644 Novaria.Common/Protos/DiscLimitBreak.cs delete mode 100644 Novaria.Common/Protos/DiscPassiveSkill.cs delete mode 100644 Novaria.Common/Protos/DiscPromoteLimit.cs rename Novaria.Common/Protos/{ScriptParameterValue.cs => DiscReadRewardReceive.cs} (69%) delete mode 100644 Novaria.Common/Protos/DiscTag.cs delete mode 100644 Novaria.Common/Protos/Drop.cs delete mode 100644 Novaria.Common/Protos/DropItemShow.cs delete mode 100644 Novaria.Common/Protos/DropPkg.cs delete mode 100644 Novaria.Common/Protos/Effect.cs delete mode 100644 Novaria.Common/Protos/EffectDesc.cs delete mode 100644 Novaria.Common/Protos/EffectValue.cs delete mode 100644 Novaria.Common/Protos/EndSceneType.cs delete mode 100644 Novaria.Common/Protos/Equipment.cs create mode 100644 Novaria.Common/Protos/EquipmentDismantle.cs delete mode 100644 Novaria.Common/Protos/EquipmentInstance.cs delete mode 100644 Novaria.Common/Protos/EquipmentInstanceFloor.cs delete mode 100644 Novaria.Common/Protos/EquipmentInstanceType.cs rename Novaria.Common/Protos/{EquipmentItemExp.cs => EquipmentLockUnlock.cs} (65%) delete mode 100644 Novaria.Common/Protos/EquipmentRandomAttribute.cs create mode 100644 Novaria.Common/Protos/EquipmentUpgrade.cs delete mode 100644 Novaria.Common/Protos/EventResult.cs delete mode 100644 Novaria.Common/Protos/FateCard.cs delete mode 100644 Novaria.Common/Protos/FloorBuff.cs delete mode 100644 Novaria.Common/Protos/Force.cs create mode 100644 Novaria.Common/Protos/FragmentsConvert.cs rename Novaria.Common/Protos/{MonsterGroup.cs => FriendAdd.cs} (68%) create mode 100644 Novaria.Common/Protos/FriendAddAgree.cs rename Novaria.Common/Protos/{CharacterSkinTheme.cs => FriendAllAgree.cs} (57%) rename Novaria.Common/Protos/{CharAffinityTemplate.cs => FriendDelete.cs} (67%) create mode 100644 Novaria.Common/Protos/FriendInvitesDelete.cs rename Novaria.Common/Protos/{EventOptionsRules.cs => FriendListGet.cs} (58%) create mode 100644 Novaria.Common/Protos/FriendNameSearch.cs create mode 100644 Novaria.Common/Protos/FriendReceiveEnergy.cs create mode 100644 Novaria.Common/Protos/FriendRecommendationGet.cs create mode 100644 Novaria.Common/Protos/FriendSendEnergy.cs create mode 100644 Novaria.Common/Protos/FriendStarSet.cs create mode 100644 Novaria.Common/Protos/FriendUidSearch.cs delete mode 100644 Novaria.Common/Protos/GMBuild.cs delete mode 100644 Novaria.Common/Protos/GMOrder.cs delete mode 100644 Novaria.Common/Protos/GMTeam.cs delete mode 100644 Novaria.Common/Protos/Gacha.cs delete mode 100644 Novaria.Common/Protos/GachaAcquireReward.cs create mode 100644 Novaria.Common/Protos/GachaHistories.cs create mode 100644 Novaria.Common/Protos/GachaInformation.cs create mode 100644 Novaria.Common/Protos/GachaSpin.cs delete mode 100644 Novaria.Common/Protos/GachaType.cs create mode 100644 Novaria.Common/Protos/GemConvert.cs rename Novaria.Common/Protos/{FileDiff.cs => GmSudo.cs} (64%) delete mode 100644 Novaria.Common/Protos/Guide.cs delete mode 100644 Novaria.Common/Protos/GuideGroup.cs delete mode 100644 Novaria.Common/Protos/Handbook.cs delete mode 100644 Novaria.Common/Protos/HitDamage.cs delete mode 100644 Novaria.Common/Protos/Honor.cs delete mode 100644 Novaria.Common/Protos/HonorCharacter.cs create mode 100644 Novaria.Common/Protos/Ike.cs delete mode 100644 Novaria.Common/Protos/InfinityTower.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerAffix.cs rename Novaria.Common/Protos/{DropObjectGroup.cs => InfinityTowerApply.cs} (62%) delete mode 100644 Novaria.Common/Protos/InfinityTowerBountyLevel.cs create mode 100644 Novaria.Common/Protos/InfinityTowerDailyRewardReceive.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerDifficulty.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerEnemySet.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerFloor.cs rename Novaria.Common/Protos/{BattlePassQuest.cs => InfinityTowerInfo.cs} (55%) delete mode 100644 Novaria.Common/Protos/InfinityTowerLevel.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerMap.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerMsg.cs delete mode 100644 Novaria.Common/Protos/InfinityTowerPlot.cs create mode 100644 Novaria.Common/Protos/InfinityTowerPlotRewardReceive.cs create mode 100644 Novaria.Common/Protos/InfinityTowerSettle.cs delete mode 100644 Novaria.Common/Protos/InteractiveAction.cs delete mode 100644 Novaria.Common/Protos/Item.cs delete mode 100644 Novaria.Common/Protos/ItemPackMark.cs rename Novaria.Common/Protos/{VampireTalentFloor.cs => ItemProduct.cs} (70%) create mode 100644 Novaria.Common/Protos/ItemUse.cs delete mode 100644 Novaria.Common/Protos/JumpTo.cs delete mode 100644 Novaria.Common/Protos/LoginRewardControl.cs delete mode 100644 Novaria.Common/Protos/LoginRewardGroup.cs create mode 100644 Novaria.Common/Protos/MailList.cs create mode 100644 Novaria.Common/Protos/MailRead.cs rename Novaria.Common/Protos/{EventOptions.cs => MailRecv.cs} (60%) rename Novaria.Common/Protos/{StarTowerCombo.cs => MailRemove.cs} (66%) delete mode 100644 Novaria.Common/Protos/MailTemplate.cs delete mode 100644 Novaria.Common/Protos/Mainline.cs delete mode 100644 Novaria.Common/Protos/MainlineFloor.cs delete mode 100644 Novaria.Common/Protos/MallGem.cs create mode 100644 Novaria.Common/Protos/MallGemList.cs rename Novaria.Common/Protos/{ErrorCode.cs => MallGemOrder.cs} (61%) delete mode 100644 Novaria.Common/Protos/MallMonthlyCard.cs create mode 100644 Novaria.Common/Protos/MallMonthlycardList.cs create mode 100644 Novaria.Common/Protos/MallMonthlycardOrder.cs create mode 100644 Novaria.Common/Protos/MallOrderCancel.cs create mode 100644 Novaria.Common/Protos/MallOrderCollect.cs delete mode 100644 Novaria.Common/Protos/MallPackage.cs create mode 100644 Novaria.Common/Protos/MallPackageList.cs rename Novaria.Common/Protos/{StoryPersonality.cs => MallPackageOrder.cs} (52%) delete mode 100644 Novaria.Common/Protos/MallShop.cs create mode 100644 Novaria.Common/Protos/MallShopList.cs rename Novaria.Common/Protos/{GamepadButton.cs => MallShopOrder.cs} (68%) delete mode 100644 Novaria.Common/Protos/MallShopPage.cs delete mode 100644 Novaria.Common/Protos/Monster.cs delete mode 100644 Novaria.Common/Protos/MonsterAI.cs delete mode 100644 Novaria.Common/Protos/MonsterActionBranch.cs delete mode 100644 Novaria.Common/Protos/MonsterBornGroup.cs delete mode 100644 Novaria.Common/Protos/MonsterSkin.cs delete mode 100644 Novaria.Common/Protos/MonsterTeam.cs delete mode 100644 Novaria.Common/Protos/MonsterValueTemplete.cs delete mode 100644 Novaria.Common/Protos/MonsterValueTempleteAdjust.cs delete mode 100644 Novaria.Common/Protos/MonthlyCard.cs delete mode 100644 Novaria.Common/Protos/NPCConfig.cs delete mode 100644 Novaria.Common/Protos/NPCSkin.cs delete mode 100644 Novaria.Common/Protos/Note.cs delete mode 100644 Novaria.Common/Protos/NoteDropGroup.cs create mode 100644 Novaria.Common/Protos/Notify.cs create mode 100644 Novaria.Common/Protos/NotifyGm.cs delete mode 100644 Novaria.Common/Protos/OnceAdditionalAttributeValue.cs delete mode 100644 Novaria.Common/Protos/OpenFunc.cs delete mode 100644 Novaria.Common/Protos/PeriodicQuest.cs delete mode 100644 Novaria.Common/Protos/PeriodicQuestControl.cs delete mode 100644 Novaria.Common/Protos/Perk.cs delete mode 100644 Novaria.Common/Protos/PerkPassiveSkill.cs rename Novaria.Common/Protos/{TableBattleThreshold.cs => PhoneContactsInfo.cs} (67%) rename Novaria.Common/Protos/{SignIn.cs => PhoneContactsReport.cs} (57%) rename Novaria.Common/Protos/{FactionRelation.cs => PlayerBoard.cs} (65%) create mode 100644 Novaria.Common/Protos/PlayerCharsShow.cs create mode 100644 Novaria.Common/Protos/PlayerData.cs rename Novaria.Common/Protos/{FormationScene.cs => PlayerDestroy.cs} (66%) create mode 100644 Novaria.Common/Protos/PlayerExit.cs rename Novaria.Common/Protos/{UIText.cs => PlayerFormation.cs} (62%) create mode 100644 Novaria.Common/Protos/PlayerGenderEdit.cs delete mode 100644 Novaria.Common/Protos/PlayerHead.cs rename Novaria.Common/Protos/{DropObject.cs => PlayerHeadiconSet.cs} (65%) rename Novaria.Common/Protos/{TableDestroyObject.cs => PlayerHonorEdit.cs} (68%) create mode 100644 Novaria.Common/Protos/PlayerLearn.cs create mode 100644 Novaria.Common/Protos/PlayerNameEdit.cs create mode 100644 Novaria.Common/Protos/PlayerPing.cs rename Novaria.Common/Protos/{EnumDesc.cs => PlayerReg.cs} (63%) rename Novaria.Common/Protos/{Config.cs => PlayerSignatureEdit.cs} (64%) rename Novaria.Common/Protos/{VampireTalentDesc.cs => PlayerSkinShow.cs} (67%) create mode 100644 Novaria.Common/Protos/PlayerSurvey.cs create mode 100644 Novaria.Common/Protos/PlayerTitleEdit.cs create mode 100644 Novaria.Common/Protos/PlayerWorldClassRewardReceive.cs delete mode 100644 Novaria.Common/Protos/Plot.cs create mode 100644 Novaria.Common/Protos/PlotRewardReceive.cs delete mode 100644 Novaria.Common/Protos/Potential.cs delete mode 100644 Novaria.Common/Protos/PotentialPassiveSkill.cs delete mode 100644 Novaria.Common/Protos/PreviewMonsterGroup.cs delete mode 100644 Novaria.Common/Protos/PreviewMonsterList.cs delete mode 100644 Novaria.Common/Protos/Production.cs rename Novaria.Common/Protos/{TableTravelerDuelFloor.cs => PubilcGm.cs} (70%) create mode 100644 Novaria.Common/Protos/Public.cs create mode 100644 Novaria.Common/Protos/PublicStarTower.cs rename Novaria.Common/Protos/{CharacterArchiveContent.cs => QuestDailyActiveRewardRecevie.cs} (57%) create mode 100644 Novaria.Common/Protos/QuestDailyRewardRecevie.cs create mode 100644 Novaria.Common/Protos/QuestTourGuideRewardReceive.cs create mode 100644 Novaria.Common/Protos/QuestTowerGuideGroupRewardReceive.cs create mode 100644 Novaria.Common/Protos/QuestTowerRewardRecevie.cs delete mode 100644 Novaria.Common/Protos/RandomLevelMonster.cs delete mode 100644 Novaria.Common/Protos/Rank.cs delete mode 100644 Novaria.Common/Protos/Recorder.cs delete mode 100644 Novaria.Common/Protos/Recorders.cs rename Novaria.Common/Protos/{ProductionType.cs => RedeemCode.cs} (59%) delete mode 100644 Novaria.Common/Protos/RegionBoss.cs delete mode 100644 Novaria.Common/Protos/RegionBossAffix.cs delete mode 100644 Novaria.Common/Protos/RegionBossFloor.cs delete mode 100644 Novaria.Common/Protos/RegionBossLevel.cs rename Novaria.Common/Protos/{WeightParameter.cs => RegionBossLevelApply.cs} (65%) create mode 100644 Novaria.Common/Protos/RegionBossLevelSettle.cs create mode 100644 Novaria.Common/Protos/RegionBossLevelSweep.cs delete mode 100644 Novaria.Common/Protos/ResidentGoods.cs delete mode 100644 Novaria.Common/Protos/ResidentShop.cs create mode 100644 Novaria.Common/Protos/ResidentShopGet.cs create mode 100644 Novaria.Common/Protos/ResidentShopPurchase.cs delete mode 100644 Novaria.Common/Protos/ScriptParameter.cs delete mode 100644 Novaria.Common/Protos/Shield.cs delete mode 100644 Novaria.Common/Protos/ShieldValue.cs delete mode 100644 Novaria.Common/Protos/Skill.cs delete mode 100644 Novaria.Common/Protos/StarTower.cs create mode 100644 Novaria.Common/Protos/StarTowerApply.cs delete mode 100644 Novaria.Common/Protos/StarTowerBattleThreshold.cs create mode 100644 Novaria.Common/Protos/StarTowerBookCharPotentialGet.cs delete mode 100644 Novaria.Common/Protos/StarTowerBookEntrance.cs create mode 100644 Novaria.Common/Protos/StarTowerBookEventGet.cs delete mode 100644 Novaria.Common/Protos/StarTowerBookEventReward.cs create mode 100644 Novaria.Common/Protos/StarTowerBookEventRewardReceive.cs delete mode 100644 Novaria.Common/Protos/StarTowerBookFateCard.cs delete mode 100644 Novaria.Common/Protos/StarTowerBookFateCardBundle.cs delete mode 100644 Novaria.Common/Protos/StarTowerBookFateCardQuest.cs create mode 100644 Novaria.Common/Protos/StarTowerBookPotentialBriefListGet.cs delete mode 100644 Novaria.Common/Protos/StarTowerBookPotentialReward.cs create mode 100644 Novaria.Common/Protos/StarTowerBookPotentialRewardReceive.cs create mode 100644 Novaria.Common/Protos/StarTowerBuildBriefListGet.cs rename Novaria.Common/Protos/{StarTowerShopGoodsGroup.cs => StarTowerBuildDelete.cs} (64%) create mode 100644 Novaria.Common/Protos/StarTowerBuildDetailGet.cs rename Novaria.Common/Protos/{StarTowerRankScore.cs => StarTowerBuildLockUnlock.cs} (62%) rename Novaria.Common/Protos/{MallPackagePage.cs => StarTowerBuildNameSet.cs} (68%) rename Novaria.Common/Protos/{DictionaryTopBarEntry.cs => StarTowerBuildPreferenceSet.cs} (57%) create mode 100644 Novaria.Common/Protos/StarTowerBuildWhetherSave.cs delete mode 100644 Novaria.Common/Protos/StarTowerCombatEvent.cs delete mode 100644 Novaria.Common/Protos/StarTowerDropItem.cs delete mode 100644 Novaria.Common/Protos/StarTowerEnemySet.cs delete mode 100644 Novaria.Common/Protos/StarTowerEvent.cs delete mode 100644 Novaria.Common/Protos/StarTowerEventAction.cs delete mode 100644 Novaria.Common/Protos/StarTowerFloor.cs delete mode 100644 Novaria.Common/Protos/StarTowerFloorAward.cs delete mode 100644 Novaria.Common/Protos/StarTowerFloorExp.cs delete mode 100644 Novaria.Common/Protos/StarTowerFloorSet.cs create mode 100644 Novaria.Common/Protos/StarTowerGiveUp.cs delete mode 100644 Novaria.Common/Protos/StarTowerGroup.cs delete mode 100644 Novaria.Common/Protos/StarTowerGrowthGroup.cs delete mode 100644 Novaria.Common/Protos/StarTowerGrowthNode.cs delete mode 100644 Novaria.Common/Protos/StarTowerHarmonySkill.cs create mode 100644 Novaria.Common/Protos/StarTowerInfo.cs create mode 100644 Novaria.Common/Protos/StarTowerInteract.cs delete mode 100644 Novaria.Common/Protos/StarTowerLimitReward.cs delete mode 100644 Novaria.Common/Protos/StarTowerMap.cs delete mode 100644 Novaria.Common/Protos/StarTowerMonsterBornGroup.cs delete mode 100644 Novaria.Common/Protos/StarTowerMonsterSpAttr.cs delete mode 100644 Novaria.Common/Protos/StarTowerQuest.cs create mode 100644 Novaria.Common/Protos/StarTowerRank.cs delete mode 100644 Novaria.Common/Protos/StarTowerRankAffix.cs create mode 100644 Novaria.Common/Protos/StarTowerRankApply.cs delete mode 100644 Novaria.Common/Protos/StarTowerRankReward.cs delete mode 100644 Novaria.Common/Protos/StarTowerRankSeason.cs delete mode 100644 Novaria.Common/Protos/StarTowerScenePrefab.cs delete mode 100644 Novaria.Common/Protos/StarTowerSpMode.cs delete mode 100644 Novaria.Common/Protos/StarTowerSpecificCombat.cs delete mode 100644 Novaria.Common/Protos/StarTowerStage.cs delete mode 100644 Novaria.Common/Protos/StarTowerTalk.cs delete mode 100644 Novaria.Common/Protos/Story.cs rename Novaria.Common/Protos/{AreaEffect.cs => StoryApply.cs} (64%) delete mode 100644 Novaria.Common/Protos/StoryChapter.cs delete mode 100644 Novaria.Common/Protos/StoryCondition.cs delete mode 100644 Novaria.Common/Protos/StoryEvidence.cs delete mode 100644 Novaria.Common/Protos/StoryRolePersonality.cs create mode 100644 Novaria.Common/Protos/StorySett.cs delete mode 100644 Novaria.Common/Protos/TableAI.cs delete mode 100644 Novaria.Common/Protos/TableAchievement.cs delete mode 100644 Novaria.Common/Protos/TableActivity.cs delete mode 100644 Novaria.Common/Protos/TableAddBuffAction.cs delete mode 100644 Novaria.Common/Protos/TableAffinityGift.cs delete mode 100644 Novaria.Common/Protos/TableAffinityLevel.cs delete mode 100644 Novaria.Common/Protos/TableAffinityQuest.cs delete mode 100644 Novaria.Common/Protos/TableAffinityUpReward.cs delete mode 100644 Novaria.Common/Protos/TableAgent.cs delete mode 100644 Novaria.Common/Protos/TableAgentSpecialPerformance.cs delete mode 100644 Novaria.Common/Protos/TableAgentTab.cs delete mode 100644 Novaria.Common/Protos/TableAreaEffect.cs delete mode 100644 Novaria.Common/Protos/TableAttribute.cs delete mode 100644 Novaria.Common/Protos/TableAttributeLimit.cs delete mode 100644 Novaria.Common/Protos/TableBattlePass.cs delete mode 100644 Novaria.Common/Protos/TableBattlePassLevel.cs delete mode 100644 Novaria.Common/Protos/TableBattlePassQuest.cs delete mode 100644 Novaria.Common/Protos/TableBattlePassReward.cs delete mode 100644 Novaria.Common/Protos/TableBoardNPC.cs delete mode 100644 Novaria.Common/Protos/TableBuff.cs delete mode 100644 Novaria.Common/Protos/TableBuffValue.cs delete mode 100644 Novaria.Common/Protos/TableChapter.cs delete mode 100644 Novaria.Common/Protos/TableCharAffinityTemplate.cs delete mode 100644 Novaria.Common/Protos/TableCharGrade.cs delete mode 100644 Novaria.Common/Protos/TableCharItemExp.cs delete mode 100644 Novaria.Common/Protos/TableCharPotential.cs delete mode 100644 Novaria.Common/Protos/TableCharRaritySequence.cs delete mode 100644 Novaria.Common/Protos/TableCharacter.cs delete mode 100644 Novaria.Common/Protos/TableCharacterAdvance.cs delete mode 100644 Novaria.Common/Protos/TableCharacterArchive.cs delete mode 100644 Novaria.Common/Protos/TableCharacterArchiveBaseInfo.cs delete mode 100644 Novaria.Common/Protos/TableCharacterArchiveContent.cs delete mode 100644 Novaria.Common/Protos/TableCharacterArchiveVoice.cs delete mode 100644 Novaria.Common/Protos/TableCharacterCG.cs delete mode 100644 Novaria.Common/Protos/TableCharacterDes.cs delete mode 100644 Novaria.Common/Protos/TableCharacterSkillUpgrade.cs delete mode 100644 Novaria.Common/Protos/TableCharacterSkin.cs delete mode 100644 Novaria.Common/Protos/TableCharacterSkinPanelFace.cs delete mode 100644 Novaria.Common/Protos/TableCharacterSkinTheme.cs delete mode 100644 Novaria.Common/Protos/TableCharacterTag.cs delete mode 100644 Novaria.Common/Protos/TableCharacterUpgrade.cs delete mode 100644 Novaria.Common/Protos/TableCharacterVoiceControl.cs delete mode 100644 Novaria.Common/Protos/TableChat.cs delete mode 100644 Novaria.Common/Protos/TableChest.cs delete mode 100644 Novaria.Common/Protos/TableConfig.cs delete mode 100644 Novaria.Common/Protos/TableContentWord.cs delete mode 100644 Novaria.Common/Protos/TableDailyInstance.cs delete mode 100644 Novaria.Common/Protos/TableDailyInstanceFloor.cs delete mode 100644 Novaria.Common/Protos/TableDailyInstanceRewardGroup.cs delete mode 100644 Novaria.Common/Protos/TableDailyInstanceType.cs delete mode 100644 Novaria.Common/Protos/TableDailyQuest.cs delete mode 100644 Novaria.Common/Protos/TableDailyQuestActive.cs delete mode 100644 Novaria.Common/Protos/TableDailyQuestAward.cs delete mode 100644 Novaria.Common/Protos/TableDatingCharResponse.cs delete mode 100644 Novaria.Common/Protos/TableDatingEvent.cs delete mode 100644 Novaria.Common/Protos/TableDatingLandmark.cs delete mode 100644 Novaria.Common/Protos/TableDictionaryDiagram.cs delete mode 100644 Novaria.Common/Protos/TableDictionaryEntry.cs delete mode 100644 Novaria.Common/Protos/TableDictionaryTab.cs delete mode 100644 Novaria.Common/Protos/TableDictionaryTopBarEntry.cs delete mode 100644 Novaria.Common/Protos/TableDisc.cs delete mode 100644 Novaria.Common/Protos/TableDiscCommonSkill.cs delete mode 100644 Novaria.Common/Protos/TableDiscItemExp.cs delete mode 100644 Novaria.Common/Protos/TableDiscPassiveSkill.cs delete mode 100644 Novaria.Common/Protos/TableDiscPromote.cs delete mode 100644 Novaria.Common/Protos/TableDiscPromoteLimit.cs delete mode 100644 Novaria.Common/Protos/TableDiscStrengthen.cs delete mode 100644 Novaria.Common/Protos/TableDiscTag.cs delete mode 100644 Novaria.Common/Protos/TableDrop.cs delete mode 100644 Novaria.Common/Protos/TableDropItemShow.cs delete mode 100644 Novaria.Common/Protos/TableDropObject.cs delete mode 100644 Novaria.Common/Protos/TableDropObjectGroup.cs delete mode 100644 Novaria.Common/Protos/TableDropPkg.cs delete mode 100644 Novaria.Common/Protos/TableEffect.cs delete mode 100644 Novaria.Common/Protos/TableEffectDesc.cs delete mode 100644 Novaria.Common/Protos/TableEffectValue.cs delete mode 100644 Novaria.Common/Protos/TableEndSceneType.cs delete mode 100644 Novaria.Common/Protos/TableEnergyBuy.cs delete mode 100644 Novaria.Common/Protos/TableEnumDesc.cs delete mode 100644 Novaria.Common/Protos/TableEquipment.cs delete mode 100644 Novaria.Common/Protos/TableEquipmentGroupExp.cs delete mode 100644 Novaria.Common/Protos/TableEquipmentInstance.cs delete mode 100644 Novaria.Common/Protos/TableEquipmentInstanceFloor.cs delete mode 100644 Novaria.Common/Protos/TableEquipmentInstanceType.cs delete mode 100644 Novaria.Common/Protos/TableEquipmentItemExp.cs delete mode 100644 Novaria.Common/Protos/TableEquipmentRandomAttribute.cs delete mode 100644 Novaria.Common/Protos/TableErrorCode.cs delete mode 100644 Novaria.Common/Protos/TableEventOptions.cs delete mode 100644 Novaria.Common/Protos/TableEventOptionsRules.cs delete mode 100644 Novaria.Common/Protos/TableEventResult.cs delete mode 100644 Novaria.Common/Protos/TableFactionRelation.cs delete mode 100644 Novaria.Common/Protos/TableFateCard.cs delete mode 100644 Novaria.Common/Protos/TableFloorBuff.cs delete mode 100644 Novaria.Common/Protos/TableForce.cs delete mode 100644 Novaria.Common/Protos/TableFormationScene.cs delete mode 100644 Novaria.Common/Protos/TableGMBuild.cs delete mode 100644 Novaria.Common/Protos/TableGMOrder.cs delete mode 100644 Novaria.Common/Protos/TableGMTeam.cs delete mode 100644 Novaria.Common/Protos/TableGacha.cs delete mode 100644 Novaria.Common/Protos/TableGachaAcquireReward.cs delete mode 100644 Novaria.Common/Protos/TableGachaType.cs delete mode 100644 Novaria.Common/Protos/TableGamepadButton.cs delete mode 100644 Novaria.Common/Protos/TableGuide.cs delete mode 100644 Novaria.Common/Protos/TableGuideGroup.cs delete mode 100644 Novaria.Common/Protos/TableHandbook.cs delete mode 100644 Novaria.Common/Protos/TableHitDamage.cs delete mode 100644 Novaria.Common/Protos/TableHonor.cs delete mode 100644 Novaria.Common/Protos/TableHonorCharacter.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTower.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerAffix.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerBountyLevel.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerDifficulty.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerEnemySet.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerFloor.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerLevel.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerMap.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerMsg.cs delete mode 100644 Novaria.Common/Protos/TableInfinityTowerPlot.cs delete mode 100644 Novaria.Common/Protos/TableInteractiveAction.cs delete mode 100644 Novaria.Common/Protos/TableItem.cs delete mode 100644 Novaria.Common/Protos/TableItemPackMark.cs delete mode 100644 Novaria.Common/Protos/TableJumpTo.cs delete mode 100644 Novaria.Common/Protos/TableLoginRewardControl.cs delete mode 100644 Novaria.Common/Protos/TableLoginRewardGroup.cs delete mode 100644 Novaria.Common/Protos/TableMailTemplate.cs delete mode 100644 Novaria.Common/Protos/TableMainline.cs delete mode 100644 Novaria.Common/Protos/TableMainlineFloor.cs delete mode 100644 Novaria.Common/Protos/TableMallGem.cs delete mode 100644 Novaria.Common/Protos/TableMallMonthlyCard.cs delete mode 100644 Novaria.Common/Protos/TableMallPackage.cs delete mode 100644 Novaria.Common/Protos/TableMallPackagePage.cs delete mode 100644 Novaria.Common/Protos/TableMallShop.cs delete mode 100644 Novaria.Common/Protos/TableMallShopPage.cs delete mode 100644 Novaria.Common/Protos/TableMonster.cs delete mode 100644 Novaria.Common/Protos/TableMonsterAI.cs delete mode 100644 Novaria.Common/Protos/TableMonsterActionBranch.cs delete mode 100644 Novaria.Common/Protos/TableMonsterBornGroup.cs delete mode 100644 Novaria.Common/Protos/TableMonsterGroup.cs delete mode 100644 Novaria.Common/Protos/TableMonsterSkin.cs delete mode 100644 Novaria.Common/Protos/TableMonsterTeam.cs delete mode 100644 Novaria.Common/Protos/TableMonsterValueTemplete.cs delete mode 100644 Novaria.Common/Protos/TableMonsterValueTempleteAdjust.cs delete mode 100644 Novaria.Common/Protos/TableMonthlyCard.cs delete mode 100644 Novaria.Common/Protos/TableNPCConfig.cs delete mode 100644 Novaria.Common/Protos/TableNPCSkin.cs delete mode 100644 Novaria.Common/Protos/TableNote.cs delete mode 100644 Novaria.Common/Protos/TableNoteDropGroup.cs delete mode 100644 Novaria.Common/Protos/TableOnceAdditionalAttribute.cs delete mode 100644 Novaria.Common/Protos/TableOnceAdditionalAttributeValue.cs delete mode 100644 Novaria.Common/Protos/TableOpenFunc.cs delete mode 100644 Novaria.Common/Protos/TablePeriodicQuest.cs delete mode 100644 Novaria.Common/Protos/TablePeriodicQuestControl.cs delete mode 100644 Novaria.Common/Protos/TablePeriodicQuestGroup.cs delete mode 100644 Novaria.Common/Protos/TablePerk.cs delete mode 100644 Novaria.Common/Protos/TablePerkPassiveSkill.cs delete mode 100644 Novaria.Common/Protos/TablePlayerHead.cs delete mode 100644 Novaria.Common/Protos/TablePlot.cs delete mode 100644 Novaria.Common/Protos/TablePotential.cs delete mode 100644 Novaria.Common/Protos/TablePotentialPassiveSkill.cs delete mode 100644 Novaria.Common/Protos/TablePreviewMonsterGroup.cs delete mode 100644 Novaria.Common/Protos/TablePreviewMonsterList.cs delete mode 100644 Novaria.Common/Protos/TableProduction.cs delete mode 100644 Novaria.Common/Protos/TableProductionType.cs delete mode 100644 Novaria.Common/Protos/TableRandomLevelMonster.cs delete mode 100644 Novaria.Common/Protos/TableRank.cs delete mode 100644 Novaria.Common/Protos/TableRegionBoss.cs delete mode 100644 Novaria.Common/Protos/TableRegionBossAffix.cs delete mode 100644 Novaria.Common/Protos/TableRegionBossFloor.cs delete mode 100644 Novaria.Common/Protos/TableRegionBossLevel.cs delete mode 100644 Novaria.Common/Protos/TableResidentGoods.cs delete mode 100644 Novaria.Common/Protos/TableResidentShop.cs delete mode 100644 Novaria.Common/Protos/TableScriptParameter.cs delete mode 100644 Novaria.Common/Protos/TableScriptParameterValue.cs delete mode 100644 Novaria.Common/Protos/TableShield.cs delete mode 100644 Novaria.Common/Protos/TableShieldValue.cs delete mode 100644 Novaria.Common/Protos/TableSignIn.cs delete mode 100644 Novaria.Common/Protos/TableSkill.cs delete mode 100644 Novaria.Common/Protos/TableSkillDamage.cs delete mode 100644 Novaria.Common/Protos/TableStarTower.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBattleThreshold.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBookEntrance.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBookEventReward.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBookFateCard.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBookFateCardBundle.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBookFateCardQuest.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBookPotentialReward.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerBuildRank.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerCombatEvent.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerCombo.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerDropItem.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerEnemySet.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerEvent.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerEventAction.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerEventOptionAction.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerFloor.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerFloorAward.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerFloorExp.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerFloorSet.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerGroup.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerGrowthGroup.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerGrowthNode.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerHarmonySkill.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerLimitReward.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerMap.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerMapMaxNumPerStage.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerMonsterBornGroup.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerMonsterSpAttr.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerQuest.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerRankAffix.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerRankReward.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerRankScore.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerRankSeason.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerScenePrefab.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerShopGoodsGroup.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerSpMode.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerSpecificCombat.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerStage.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerTalk.cs delete mode 100644 Novaria.Common/Protos/TableStarTowerTeamExp.cs delete mode 100644 Novaria.Common/Protos/TableStory.cs delete mode 100644 Novaria.Common/Protos/TableStoryChapter.cs delete mode 100644 Novaria.Common/Protos/TableStoryCondition.cs delete mode 100644 Novaria.Common/Protos/TableStoryEvidence.cs delete mode 100644 Novaria.Common/Protos/TableStoryPersonality.cs delete mode 100644 Novaria.Common/Protos/TableStoryRolePersonality.cs delete mode 100644 Novaria.Common/Protos/TableTalent.cs delete mode 100644 Novaria.Common/Protos/TableTalentGroup.cs delete mode 100644 Novaria.Common/Protos/TableTitle.cs delete mode 100644 Novaria.Common/Protos/TableTopBar.cs delete mode 100644 Novaria.Common/Protos/TableTourGuideQuest.cs delete mode 100644 Novaria.Common/Protos/TableTourGuideQuestGroup.cs delete mode 100644 Novaria.Common/Protos/TableTrap.cs delete mode 100644 Novaria.Common/Protos/TableTrapAttribute.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelBoss.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelBossLevel.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelChallengeAffix.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelChallengeDifficulty.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelChallengeQuest.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelChallengeRankReward.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelChallengeSeason.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelLevel.cs delete mode 100644 Novaria.Common/Protos/TableTravelerDuelQuest.cs delete mode 100644 Novaria.Common/Protos/TableTrialBuild.cs delete mode 100644 Novaria.Common/Protos/TableTrialCharacter.cs delete mode 100644 Novaria.Common/Protos/TableTrialDisc.cs delete mode 100644 Novaria.Common/Protos/TableUIText.cs delete mode 100644 Novaria.Common/Protos/TableVampireBattleThreshold.cs delete mode 100644 Novaria.Common/Protos/TableVampireEnemyPool.cs delete mode 100644 Novaria.Common/Protos/TableVampireEnemySet.cs delete mode 100644 Novaria.Common/Protos/TableVampireEnemySpAttr.cs delete mode 100644 Novaria.Common/Protos/TableVampireFloor.cs delete mode 100644 Novaria.Common/Protos/TableVampireMap.cs delete mode 100644 Novaria.Common/Protos/TableVampireRankReward.cs delete mode 100644 Novaria.Common/Protos/TableVampireRankSeason.cs delete mode 100644 Novaria.Common/Protos/TableVampireSurvivor.cs delete mode 100644 Novaria.Common/Protos/TableVampireSurvivorLevel.cs delete mode 100644 Novaria.Common/Protos/TableVampireSurvivorQuest.cs delete mode 100644 Novaria.Common/Protos/TableVampireTalent.cs delete mode 100644 Novaria.Common/Protos/TableVampireTalentDesc.cs delete mode 100644 Novaria.Common/Protos/TableVampireTalentFloor.cs delete mode 100644 Novaria.Common/Protos/TableVoDirectory.cs delete mode 100644 Novaria.Common/Protos/TableWeightParameter.cs delete mode 100644 Novaria.Common/Protos/TableWord.cs delete mode 100644 Novaria.Common/Protos/TableWordSuper.cs delete mode 100644 Novaria.Common/Protos/TableWorldClass.cs delete mode 100644 Novaria.Common/Protos/Talent.cs rename Novaria.Common/Protos/{ContentWord.cs => TalentNodeReset.cs} (60%) rename Novaria.Common/Protos/{PeriodicQuestGroup.cs => TalentReset.cs} (67%) create mode 100644 Novaria.Common/Protos/TalentUnlock.cs delete mode 100644 Novaria.Common/Protos/Title.cs delete mode 100644 Novaria.Common/Protos/TopBar.cs delete mode 100644 Novaria.Common/Protos/TourGuideQuest.cs delete mode 100644 Novaria.Common/Protos/TourGuideQuestGroup.cs rename Novaria.Common/Protos/{VampireEnemySpAttr.cs => TowerBookFateCardDetail.cs} (59%) rename Novaria.Common/Protos/{BattlePassLevel.cs => TowerBookFateCardRewardReceive.cs} (60%) rename Novaria.Common/Protos/{SkillDamage.cs => TowerGrowthDetail.cs} (64%) create mode 100644 Novaria.Common/Protos/TowerGrowthNodeUnlock.cs delete mode 100644 Novaria.Common/Protos/Trap.cs delete mode 100644 Novaria.Common/Protos/TrapAttribute.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelBoss.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelBossLevel.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelChallengeAffix.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelChallengeDifficulty.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelChallengeQuest.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelChallengeRankReward.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelChallengeSeason.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelFloor.cs create mode 100644 Novaria.Common/Protos/TravelerDuelInfo.cs rename Novaria.Common/Protos/{StarTowerTeamExp.cs => TravelerDuelLevelApply.cs} (60%) create mode 100644 Novaria.Common/Protos/TravelerDuelLevelSettle.cs delete mode 100644 Novaria.Common/Protos/TravelerDuelQuest.cs create mode 100644 Novaria.Common/Protos/TravelerDuelQuestRewardReceive.cs create mode 100644 Novaria.Common/Protos/TravelerDuelRank.cs create mode 100644 Novaria.Common/Protos/TravelerDuelRankUpload.cs delete mode 100644 Novaria.Common/Protos/TrialBuild.cs delete mode 100644 Novaria.Common/Protos/TrialCharacter.cs delete mode 100644 Novaria.Common/Protos/TrialDisc.cs delete mode 100644 Novaria.Common/Protos/VampireBattleThreshold.cs delete mode 100644 Novaria.Common/Protos/VampireEnemyPool.cs delete mode 100644 Novaria.Common/Protos/VampireEnemySet.cs delete mode 100644 Novaria.Common/Protos/VampireFloor.cs delete mode 100644 Novaria.Common/Protos/VampireMap.cs delete mode 100644 Novaria.Common/Protos/VampireRankReward.cs delete mode 100644 Novaria.Common/Protos/VampireRankSeason.cs delete mode 100644 Novaria.Common/Protos/VampireSurvivor.cs create mode 100644 Novaria.Common/Protos/VampireSurvivorApply.cs rename Novaria.Common/Protos/{TalentGroup.cs => VampireSurvivorAreaChange.cs} (54%) delete mode 100644 Novaria.Common/Protos/VampireSurvivorQuest.cs rename Novaria.Common/Protos/{AddBuffAction.cs => VampireSurvivorQuestRewardReceive.cs} (58%) create mode 100644 Novaria.Common/Protos/VampireSurvivorRank.cs create mode 100644 Novaria.Common/Protos/VampireSurvivorRewardChest.cs create mode 100644 Novaria.Common/Protos/VampireSurvivorRewardSelect.cs create mode 100644 Novaria.Common/Protos/VampireSurvivorSettle.cs delete mode 100644 Novaria.Common/Protos/VampireTalent.cs rename Novaria.Common/Protos/{OnceAdditionalAttribute.cs => VampireTalentDetail.cs} (58%) create mode 100644 Novaria.Common/Protos/VampireTalentReset.cs create mode 100644 Novaria.Common/Protos/VampireTalentUnlock.cs delete mode 100644 Novaria.Common/Protos/VoDirectory.cs delete mode 100644 Novaria.Common/Protos/Word.cs delete mode 100644 Novaria.Common/Protos/WordSuper.cs delete mode 100644 Novaria.Common/Protos/WorldClass.cs rename Novaria.Common/{Protos => SDKProtos}/ServerAgent.cs (100%) rename Novaria.Common/{Protos => SDKProtos}/ServerListMeta.cs (100%) create mode 100644 Novaria.Common/Tables/ClientTable.cs create mode 100644 Novaria.Common/TempData/RoguelikeTempData.cs create mode 100644 Novaria.SDKServer/options_req diff --git a/Novaria.Common/Core/Packet.cs b/Novaria.Common/Core/Packet.cs new file mode 100644 index 0000000..0908013 --- /dev/null +++ b/Novaria.Common/Core/Packet.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Novaria.Common.Core +{ + public class Packet + { + public short msgId; + + public byte[] msgBody; + + public Action callback; + + public short receiveMsgId; + } + +} diff --git a/Novaria.Common/Crypto/AeadTool.cs b/Novaria.Common/Crypto/AeadTool.cs index 6a0e898..7273abb 100644 --- a/Novaria.Common/Crypto/AeadTool.cs +++ b/Novaria.Common/Crypto/AeadTool.cs @@ -14,6 +14,8 @@ namespace Novaria.Common.Crypto public static readonly byte[] DEFAULT_SERVERLIST_KEY; public static readonly byte[] DEFAULT_SERVERLIST_IV; + public static readonly byte[] FIRST_IKE_KEY; + public static readonly byte[] associatedData; public static byte[] GenerateRandomPublicKey() @@ -40,24 +42,33 @@ namespace Novaria.Common.Crypto { DEFAULT_SERVERLIST_KEY = new byte[] { 74, 72, 42, 67, 80, 51, 50, 57, 89, 120, 111, 103, 81, 74, 69, 120 }; DEFAULT_SERVERLIST_IV = new byte[] { 225, 92, 61, 72, 193, 89, 3, 64, 50, 61, 50, 145, 59, 128, 99, 72 }; - + FIRST_IKE_KEY = new byte[] { 51, 76, 83, 57, 38, 111, 89, 100, 115, 112, 94, 53, 119, 105, 56, 38, 90, 120, 67, 35, 99, 55, 77, 90, 103, 55, 51, 104, 98, 69, 68, 119 }; key3 = new byte[32]; associatedData = new byte[13]; // assume AesGcm not supported (frida log) associatedData[associatedData.Length - 1] = 1; + + + //byte[] testkey = Encoding.ASCII.GetBytes("#$*;1H&x*)0!@,/OcIe4VbiL[~fLyE7t"); + //Console.WriteLine("test key" + testkey.Length); + //Utils.Utils.PrintByteArray(testkey); + //Console.WriteLine(); + //testkey.CopyTo(FIRST_IKE_KEY, 0); } - public static bool Dencrypt_ChaCha20(Span result, ReadOnlySpan key, ReadOnlySpan nonce, ReadOnlySpan data) + public static bool Dencrypt_ChaCha20(Span result, ReadOnlySpan key, ReadOnlySpan nonce, ReadOnlySpan data, ReadOnlySpan associatedData) { Algorithm chaCha20Poly = AeadAlgorithm.ChaCha20Poly1305; KeyBlobFormat keyBlobFormat = KeyBlobFormat.RawSymmetricKey; KeyCreationParameters keyCreationParameters = default(KeyCreationParameters); bool result2; + //System.ArgumentException: 'The length of the plaintext must be equal to the length of the ciphertext minus the tag size. (Parameter using (Key key2 = Key.Import(chaCha20Poly, key, keyBlobFormat, ref keyCreationParameters)) { - result2 = AeadAlgorithm.ChaCha20Poly1305.Decrypt(key2, nonce, null, data, result); + result2 = AeadAlgorithm.ChaCha20Poly1305.Decrypt(key2, nonce, associatedData, data, result); } + return result2; } diff --git a/Novaria.Common/Protos/AI.cs b/Novaria.Common/Protos/AI.cs deleted file mode 100644 index 74125cf..0000000 --- a/Novaria.Common/Protos/AI.cs +++ /dev/null @@ -1,503 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AI.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 AI.proto - public static partial class AIReflection { - - #region Descriptor - /// File descriptor for AI.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AIReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CghBSS5wcm90byKjAQoCQUkSCgoCaWQYASABKAUSEQoJZl9jX3NwYXduGAIg", - "ASgJEhAKCGZfY19pZGxlGAMgASgJEhIKCmZfY19hY3Rpb24YBCABKAkSGAoQ", - "Zl9jX2xvc3RfY29udHJvbBgFIAEoCRIRCglmX2NfZGVhdGgYBiABKAkSEgoK", - "Zl9jX2dsb2JhbBgHIAEoCRIXCg9mX2NfY29tYm9fZ3JvdXAYCCABKAlCDqoC", - "C05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AI), global::Nova.Client.AI.Parser, new[]{ "Id", "FCSpawn", "FCIdle", "FCAction", "FCLostControl", "FCDeath", "FCGlobal", "FCComboGroup" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AI : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AI()); - 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.AIReflection.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 AI() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AI(AI other) : this() { - id_ = other.id_; - fCSpawn_ = other.fCSpawn_; - fCIdle_ = other.fCIdle_; - fCAction_ = other.fCAction_; - fCLostControl_ = other.fCLostControl_; - fCDeath_ = other.fCDeath_; - fCGlobal_ = other.fCGlobal_; - fCComboGroup_ = other.fCComboGroup_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AI Clone() { - return new AI(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 "f_c_spawn" field. - public const int FCSpawnFieldNumber = 2; - private string fCSpawn_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCSpawn { - get { return fCSpawn_; } - set { - fCSpawn_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_idle" field. - public const int FCIdleFieldNumber = 3; - private string fCIdle_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCIdle { - get { return fCIdle_; } - set { - fCIdle_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_action" field. - public const int FCActionFieldNumber = 4; - private string fCAction_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCAction { - get { return fCAction_; } - set { - fCAction_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_lost_control" field. - public const int FCLostControlFieldNumber = 5; - private string fCLostControl_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCLostControl { - get { return fCLostControl_; } - set { - fCLostControl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_death" field. - public const int FCDeathFieldNumber = 6; - private string fCDeath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCDeath { - get { return fCDeath_; } - set { - fCDeath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_global" field. - public const int FCGlobalFieldNumber = 7; - private string fCGlobal_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCGlobal { - get { return fCGlobal_; } - set { - fCGlobal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_combo_group" field. - public const int FCComboGroupFieldNumber = 8; - private string fCComboGroup_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCComboGroup { - get { return fCComboGroup_; } - set { - fCComboGroup_ = 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 AI); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AI other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (FCSpawn != other.FCSpawn) return false; - if (FCIdle != other.FCIdle) return false; - if (FCAction != other.FCAction) return false; - if (FCLostControl != other.FCLostControl) return false; - if (FCDeath != other.FCDeath) return false; - if (FCGlobal != other.FCGlobal) return false; - if (FCComboGroup != other.FCComboGroup) 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 (FCSpawn.Length != 0) hash ^= FCSpawn.GetHashCode(); - if (FCIdle.Length != 0) hash ^= FCIdle.GetHashCode(); - if (FCAction.Length != 0) hash ^= FCAction.GetHashCode(); - if (FCLostControl.Length != 0) hash ^= FCLostControl.GetHashCode(); - if (FCDeath.Length != 0) hash ^= FCDeath.GetHashCode(); - if (FCGlobal.Length != 0) hash ^= FCGlobal.GetHashCode(); - if (FCComboGroup.Length != 0) hash ^= FCComboGroup.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 (FCSpawn.Length != 0) { - output.WriteRawTag(18); - output.WriteString(FCSpawn); - } - if (FCIdle.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FCIdle); - } - if (FCAction.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FCAction); - } - if (FCLostControl.Length != 0) { - output.WriteRawTag(42); - output.WriteString(FCLostControl); - } - if (FCDeath.Length != 0) { - output.WriteRawTag(50); - output.WriteString(FCDeath); - } - if (FCGlobal.Length != 0) { - output.WriteRawTag(58); - output.WriteString(FCGlobal); - } - if (FCComboGroup.Length != 0) { - output.WriteRawTag(66); - output.WriteString(FCComboGroup); - } - 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 (FCSpawn.Length != 0) { - output.WriteRawTag(18); - output.WriteString(FCSpawn); - } - if (FCIdle.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FCIdle); - } - if (FCAction.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FCAction); - } - if (FCLostControl.Length != 0) { - output.WriteRawTag(42); - output.WriteString(FCLostControl); - } - if (FCDeath.Length != 0) { - output.WriteRawTag(50); - output.WriteString(FCDeath); - } - if (FCGlobal.Length != 0) { - output.WriteRawTag(58); - output.WriteString(FCGlobal); - } - if (FCComboGroup.Length != 0) { - output.WriteRawTag(66); - output.WriteString(FCComboGroup); - } - 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 (FCSpawn.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCSpawn); - } - if (FCIdle.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCIdle); - } - if (FCAction.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCAction); - } - if (FCLostControl.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCLostControl); - } - if (FCDeath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCDeath); - } - if (FCGlobal.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCGlobal); - } - if (FCComboGroup.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCComboGroup); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AI other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.FCSpawn.Length != 0) { - FCSpawn = other.FCSpawn; - } - if (other.FCIdle.Length != 0) { - FCIdle = other.FCIdle; - } - if (other.FCAction.Length != 0) { - FCAction = other.FCAction; - } - if (other.FCLostControl.Length != 0) { - FCLostControl = other.FCLostControl; - } - if (other.FCDeath.Length != 0) { - FCDeath = other.FCDeath; - } - if (other.FCGlobal.Length != 0) { - FCGlobal = other.FCGlobal; - } - if (other.FCComboGroup.Length != 0) { - FCComboGroup = other.FCComboGroup; - } - _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: { - FCSpawn = input.ReadString(); - break; - } - case 26: { - FCIdle = input.ReadString(); - break; - } - case 34: { - FCAction = input.ReadString(); - break; - } - case 42: { - FCLostControl = input.ReadString(); - break; - } - case 50: { - FCDeath = input.ReadString(); - break; - } - case 58: { - FCGlobal = input.ReadString(); - break; - } - case 66: { - FCComboGroup = 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 18: { - FCSpawn = input.ReadString(); - break; - } - case 26: { - FCIdle = input.ReadString(); - break; - } - case 34: { - FCAction = input.ReadString(); - break; - } - case 42: { - FCLostControl = input.ReadString(); - break; - } - case 50: { - FCDeath = input.ReadString(); - break; - } - case 58: { - FCGlobal = input.ReadString(); - break; - } - case 66: { - FCComboGroup = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Achievement.cs b/Novaria.Common/Protos/Achievement.cs deleted file mode 100644 index 900e16a..0000000 --- a/Novaria.Common/Protos/Achievement.cs +++ /dev/null @@ -1,962 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Achievement.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 Achievement.proto - public static partial class AchievementReflection { - - #region Descriptor - /// File descriptor for Achievement.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AchievementReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFBY2hpZXZlbWVudC5wcm90byKTAwoLQWNoaWV2ZW1lbnQSCgoCaWQYASAB", - "KAUSEgoKYWNoaWV2ZV9pZBgCIAEoBRINCgV0aXRsZRgDIAEoCRIMCgRkZXNj", - "GAQgASgJEg4KBnJhcml0eRgFIAEoBRIMCgR0eXBlGAYgASgFEgwKBGhpZGUY", - "ByABKAgSDwoHanVtcF90bxgIIAEoBRIVCg1jb21wbGV0ZV9jb25kGAkgASgF", - "EhwKFGNvbXBsZXRlX2NvbmRfY2xpZW50GAogASgFEhQKDGFpbV9udW1fc2hv", - "dxgLIAEoBRIVCg1wcmVyZXF1aXNpdGVzGAwgAygFEhIKCmxldmVsX3R5cGUY", - "DSABKAUSHwoXY2xpZW50X2NvbXBsZXRlX3BhcmFtczEYDiADKAUSHwoXY2xp", - "ZW50X2NvbXBsZXRlX3BhcmFtczIYDyADKAUSDAoEdGlkMRgQIAEoBRIMCgRx", - "dHkxGBEgASgFEgwKBHRpZDIYEiABKAUSDAoEcXR5MhgTIAEoBRIMCgR0aWQz", - "GBQgASgFEgwKBHF0eTMYFSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Achievement), global::Nova.Client.Achievement.Parser, new[]{ "Id", "AchieveId", "Title", "Desc", "Rarity", "Type", "Hide", "JumpTo", "CompleteCond", "CompleteCondClient", "AimNumShow", "Prerequisites", "LevelType", "ClientCompleteParams1", "ClientCompleteParams2", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Achievement : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Achievement()); - 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.AchievementReflection.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 Achievement() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Achievement(Achievement other) : this() { - id_ = other.id_; - achieveId_ = other.achieveId_; - title_ = other.title_; - desc_ = other.desc_; - rarity_ = other.rarity_; - type_ = other.type_; - hide_ = other.hide_; - jumpTo_ = other.jumpTo_; - completeCond_ = other.completeCond_; - completeCondClient_ = other.completeCondClient_; - aimNumShow_ = other.aimNumShow_; - prerequisites_ = other.prerequisites_.Clone(); - levelType_ = other.levelType_; - clientCompleteParams1_ = other.clientCompleteParams1_.Clone(); - clientCompleteParams2_ = other.clientCompleteParams2_.Clone(); - tid1_ = other.tid1_; - qty1_ = other.qty1_; - tid2_ = other.tid2_; - qty2_ = other.qty2_; - tid3_ = other.tid3_; - qty3_ = other.qty3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Achievement Clone() { - return new Achievement(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 "achieve_id" field. - public const int AchieveIdFieldNumber = 2; - private int achieveId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AchieveId { - get { return achieveId_; } - set { - achieveId_ = value; - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 4; - 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 "rarity" field. - public const int RarityFieldNumber = 5; - private int rarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } - set { - rarity_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 6; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "hide" field. - public const int HideFieldNumber = 7; - private bool hide_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Hide { - get { return hide_; } - set { - hide_ = value; - } - } - - /// Field number for the "jump_to" field. - public const int JumpToFieldNumber = 8; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// Field number for the "complete_cond" field. - public const int CompleteCondFieldNumber = 9; - private int completeCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCond { - get { return completeCond_; } - set { - completeCond_ = value; - } - } - - /// Field number for the "complete_cond_client" field. - public const int CompleteCondClientFieldNumber = 10; - private int completeCondClient_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCondClient { - get { return completeCondClient_; } - set { - completeCondClient_ = value; - } - } - - /// Field number for the "aim_num_show" field. - public const int AimNumShowFieldNumber = 11; - private int aimNumShow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AimNumShow { - get { return aimNumShow_; } - set { - aimNumShow_ = value; - } - } - - /// Field number for the "prerequisites" field. - public const int PrerequisitesFieldNumber = 12; - private static readonly pb::FieldCodec _repeated_prerequisites_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField prerequisites_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Prerequisites { - get { return prerequisites_; } - } - - /// Field number for the "level_type" field. - public const int LevelTypeFieldNumber = 13; - private int levelType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelType { - get { return levelType_; } - set { - levelType_ = value; - } - } - - /// Field number for the "client_complete_params1" field. - public const int ClientCompleteParams1FieldNumber = 14; - private static readonly pb::FieldCodec _repeated_clientCompleteParams1_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField clientCompleteParams1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ClientCompleteParams1 { - get { return clientCompleteParams1_; } - } - - /// Field number for the "client_complete_params2" field. - public const int ClientCompleteParams2FieldNumber = 15; - private static readonly pb::FieldCodec _repeated_clientCompleteParams2_codec - = pb::FieldCodec.ForInt32(122); - private readonly pbc::RepeatedField clientCompleteParams2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ClientCompleteParams2 { - get { return clientCompleteParams2_; } - } - - /// Field number for the "tid1" field. - public const int Tid1FieldNumber = 16; - private int tid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid1 { - get { return tid1_; } - set { - tid1_ = value; - } - } - - /// Field number for the "qty1" field. - public const int Qty1FieldNumber = 17; - private int qty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty1 { - get { return qty1_; } - set { - qty1_ = value; - } - } - - /// Field number for the "tid2" field. - public const int Tid2FieldNumber = 18; - private int tid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid2 { - get { return tid2_; } - set { - tid2_ = value; - } - } - - /// Field number for the "qty2" field. - public const int Qty2FieldNumber = 19; - private int qty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty2 { - get { return qty2_; } - set { - qty2_ = value; - } - } - - /// Field number for the "tid3" field. - public const int Tid3FieldNumber = 20; - private int tid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid3 { - get { return tid3_; } - set { - tid3_ = value; - } - } - - /// Field number for the "qty3" field. - public const int Qty3FieldNumber = 21; - private int qty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty3 { - get { return qty3_; } - set { - qty3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Achievement); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Achievement other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (AchieveId != other.AchieveId) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (Rarity != other.Rarity) return false; - if (Type != other.Type) return false; - if (Hide != other.Hide) return false; - if (JumpTo != other.JumpTo) return false; - if (CompleteCond != other.CompleteCond) return false; - if (CompleteCondClient != other.CompleteCondClient) return false; - if (AimNumShow != other.AimNumShow) return false; - if(!prerequisites_.Equals(other.prerequisites_)) return false; - if (LevelType != other.LevelType) return false; - if(!clientCompleteParams1_.Equals(other.clientCompleteParams1_)) return false; - if(!clientCompleteParams2_.Equals(other.clientCompleteParams2_)) return false; - if (Tid1 != other.Tid1) return false; - if (Qty1 != other.Qty1) return false; - if (Tid2 != other.Tid2) return false; - if (Qty2 != other.Qty2) return false; - if (Tid3 != other.Tid3) return false; - if (Qty3 != other.Qty3) 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 (AchieveId != 0) hash ^= AchieveId.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Rarity != 0) hash ^= Rarity.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Hide != false) hash ^= Hide.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); - if (CompleteCondClient != 0) hash ^= CompleteCondClient.GetHashCode(); - if (AimNumShow != 0) hash ^= AimNumShow.GetHashCode(); - hash ^= prerequisites_.GetHashCode(); - if (LevelType != 0) hash ^= LevelType.GetHashCode(); - hash ^= clientCompleteParams1_.GetHashCode(); - hash ^= clientCompleteParams2_.GetHashCode(); - if (Tid1 != 0) hash ^= Tid1.GetHashCode(); - if (Qty1 != 0) hash ^= Qty1.GetHashCode(); - if (Tid2 != 0) hash ^= Tid2.GetHashCode(); - if (Qty2 != 0) hash ^= Qty2.GetHashCode(); - if (Tid3 != 0) hash ^= Tid3.GetHashCode(); - if (Qty3 != 0) hash ^= Qty3.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 (AchieveId != 0) { - output.WriteRawTag(16); - output.WriteInt32(AchieveId); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Rarity != 0) { - output.WriteRawTag(40); - output.WriteInt32(Rarity); - } - if (Type != 0) { - output.WriteRawTag(48); - output.WriteInt32(Type); - } - if (Hide != false) { - output.WriteRawTag(56); - output.WriteBool(Hide); - } - if (JumpTo != 0) { - output.WriteRawTag(64); - output.WriteInt32(JumpTo); - } - if (CompleteCond != 0) { - output.WriteRawTag(72); - output.WriteInt32(CompleteCond); - } - if (CompleteCondClient != 0) { - output.WriteRawTag(80); - output.WriteInt32(CompleteCondClient); - } - if (AimNumShow != 0) { - output.WriteRawTag(88); - output.WriteInt32(AimNumShow); - } - prerequisites_.WriteTo(output, _repeated_prerequisites_codec); - if (LevelType != 0) { - output.WriteRawTag(104); - output.WriteInt32(LevelType); - } - clientCompleteParams1_.WriteTo(output, _repeated_clientCompleteParams1_codec); - clientCompleteParams2_.WriteTo(output, _repeated_clientCompleteParams2_codec); - if (Tid1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(Qty3); - } - 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 (AchieveId != 0) { - output.WriteRawTag(16); - output.WriteInt32(AchieveId); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Rarity != 0) { - output.WriteRawTag(40); - output.WriteInt32(Rarity); - } - if (Type != 0) { - output.WriteRawTag(48); - output.WriteInt32(Type); - } - if (Hide != false) { - output.WriteRawTag(56); - output.WriteBool(Hide); - } - if (JumpTo != 0) { - output.WriteRawTag(64); - output.WriteInt32(JumpTo); - } - if (CompleteCond != 0) { - output.WriteRawTag(72); - output.WriteInt32(CompleteCond); - } - if (CompleteCondClient != 0) { - output.WriteRawTag(80); - output.WriteInt32(CompleteCondClient); - } - if (AimNumShow != 0) { - output.WriteRawTag(88); - output.WriteInt32(AimNumShow); - } - prerequisites_.WriteTo(ref output, _repeated_prerequisites_codec); - if (LevelType != 0) { - output.WriteRawTag(104); - output.WriteInt32(LevelType); - } - clientCompleteParams1_.WriteTo(ref output, _repeated_clientCompleteParams1_codec); - clientCompleteParams2_.WriteTo(ref output, _repeated_clientCompleteParams2_codec); - if (Tid1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(Qty3); - } - 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 (AchieveId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AchieveId); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Hide != false) { - size += 1 + 1; - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (CompleteCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); - } - if (CompleteCondClient != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCondClient); - } - if (AimNumShow != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AimNumShow); - } - size += prerequisites_.CalculateSize(_repeated_prerequisites_codec); - if (LevelType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelType); - } - size += clientCompleteParams1_.CalculateSize(_repeated_clientCompleteParams1_codec); - size += clientCompleteParams2_.CalculateSize(_repeated_clientCompleteParams2_codec); - if (Tid1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid1); - } - if (Qty1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty1); - } - if (Tid2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid2); - } - if (Qty2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty2); - } - if (Tid3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid3); - } - if (Qty3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Achievement other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.AchieveId != 0) { - AchieveId = other.AchieveId; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Rarity != 0) { - Rarity = other.Rarity; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Hide != false) { - Hide = other.Hide; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.CompleteCond != 0) { - CompleteCond = other.CompleteCond; - } - if (other.CompleteCondClient != 0) { - CompleteCondClient = other.CompleteCondClient; - } - if (other.AimNumShow != 0) { - AimNumShow = other.AimNumShow; - } - prerequisites_.Add(other.prerequisites_); - if (other.LevelType != 0) { - LevelType = other.LevelType; - } - clientCompleteParams1_.Add(other.clientCompleteParams1_); - clientCompleteParams2_.Add(other.clientCompleteParams2_); - if (other.Tid1 != 0) { - Tid1 = other.Tid1; - } - if (other.Qty1 != 0) { - Qty1 = other.Qty1; - } - if (other.Tid2 != 0) { - Tid2 = other.Tid2; - } - if (other.Qty2 != 0) { - Qty2 = other.Qty2; - } - if (other.Tid3 != 0) { - Tid3 = other.Tid3; - } - if (other.Qty3 != 0) { - Qty3 = other.Qty3; - } - _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: { - AchieveId = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Rarity = input.ReadInt32(); - break; - } - case 48: { - Type = input.ReadInt32(); - break; - } - case 56: { - Hide = input.ReadBool(); - break; - } - case 64: { - JumpTo = input.ReadInt32(); - break; - } - case 72: { - CompleteCond = input.ReadInt32(); - break; - } - case 80: { - CompleteCondClient = input.ReadInt32(); - break; - } - case 88: { - AimNumShow = input.ReadInt32(); - break; - } - case 98: - case 96: { - prerequisites_.AddEntriesFrom(input, _repeated_prerequisites_codec); - break; - } - case 104: { - LevelType = input.ReadInt32(); - break; - } - case 114: - case 112: { - clientCompleteParams1_.AddEntriesFrom(input, _repeated_clientCompleteParams1_codec); - break; - } - case 122: - case 120: { - clientCompleteParams2_.AddEntriesFrom(input, _repeated_clientCompleteParams2_codec); - break; - } - case 128: { - Tid1 = input.ReadInt32(); - break; - } - case 136: { - Qty1 = input.ReadInt32(); - break; - } - case 144: { - Tid2 = input.ReadInt32(); - break; - } - case 152: { - Qty2 = input.ReadInt32(); - break; - } - case 160: { - Tid3 = input.ReadInt32(); - break; - } - case 168: { - Qty3 = 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: { - AchieveId = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Rarity = input.ReadInt32(); - break; - } - case 48: { - Type = input.ReadInt32(); - break; - } - case 56: { - Hide = input.ReadBool(); - break; - } - case 64: { - JumpTo = input.ReadInt32(); - break; - } - case 72: { - CompleteCond = input.ReadInt32(); - break; - } - case 80: { - CompleteCondClient = input.ReadInt32(); - break; - } - case 88: { - AimNumShow = input.ReadInt32(); - break; - } - case 98: - case 96: { - prerequisites_.AddEntriesFrom(ref input, _repeated_prerequisites_codec); - break; - } - case 104: { - LevelType = input.ReadInt32(); - break; - } - case 114: - case 112: { - clientCompleteParams1_.AddEntriesFrom(ref input, _repeated_clientCompleteParams1_codec); - break; - } - case 122: - case 120: { - clientCompleteParams2_.AddEntriesFrom(ref input, _repeated_clientCompleteParams2_codec); - break; - } - case 128: { - Tid1 = input.ReadInt32(); - break; - } - case 136: { - Qty1 = input.ReadInt32(); - break; - } - case 144: { - Tid2 = input.ReadInt32(); - break; - } - case 152: { - Qty2 = input.ReadInt32(); - break; - } - case 160: { - Tid3 = input.ReadInt32(); - break; - } - case 168: { - Qty3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AchievementInfo.cs b/Novaria.Common/Protos/AchievementInfo.cs new file mode 100644 index 0000000..853e856 --- /dev/null +++ b/Novaria.Common/Protos/AchievementInfo.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: achievement_info.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 Proto { + + /// Holder for reflection information generated from achievement_info.proto + public static partial class AchievementInfoReflection { + + #region Descriptor + /// File descriptor for achievement_info.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AchievementInfoReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZhY2hpZXZlbWVudF9pbmZvLnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "UABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerMapMaxNumPerStage.cs b/Novaria.Common/Protos/AchievementRewardReceive.cs similarity index 64% rename from Novaria.Common/Protos/StarTowerMapMaxNumPerStage.cs rename to Novaria.Common/Protos/AchievementRewardReceive.cs index ed412c5..c7347b3 100644 --- a/Novaria.Common/Protos/StarTowerMapMaxNumPerStage.cs +++ b/Novaria.Common/Protos/AchievementRewardReceive.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerMapMaxNumPerStage.proto +// source: achievement_reward_receive.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from StarTowerMapMaxNumPerStage.proto - public static partial class StarTowerMapMaxNumPerStageReflection { + /// Holder for reflection information generated from achievement_reward_receive.proto + public static partial class AchievementRewardReceiveReflection { #region Descriptor - /// File descriptor for StarTowerMapMaxNumPerStage.proto + /// File descriptor for achievement_reward_receive.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerMapMaxNumPerStageReflection() { + static AchievementRewardReceiveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiBTdGFyVG93ZXJNYXBNYXhOdW1QZXJTdGFnZS5wcm90byJDChpTdGFyVG93", - "ZXJNYXBNYXhOdW1QZXJTdGFnZRIKCgJpZBgBIAEoBRIZChFtYXhfbnVtX3Bl", - "cl9zdGFnZRgCIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "CiBhY2hpZXZlbWVudF9yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJvdG8aDHB1", + "YmxpYy5wcm90byI5ChRBY2hpZXZlbWVudFJld2FyZFJlcRILCgNJZHMYASAD", + "KA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMapMaxNumPerStage), global::Nova.Client.StarTowerMapMaxNumPerStage.Parser, new[]{ "Id", "MaxNumPerStage" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AchievementRewardReq), global::Proto.AchievementRewardReq.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerMapMaxNumPerStage : pb::IMessage + public sealed partial class AchievementRewardReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerMapMaxNumPerStage()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AchievementRewardReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.StarTowerMapMaxNumPerStageReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.AchievementRewardReceiveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMapMaxNumPerStage() { + public AchievementRewardReq() { OnConstruction(); } @@ -71,59 +71,58 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMapMaxNumPerStage(StarTowerMapMaxNumPerStage other) : this() { - id_ = other.id_; - maxNumPerStage_ = other.maxNumPerStage_; + public AchievementRewardReq(AchievementRewardReq other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMapMaxNumPerStage Clone() { - return new StarTowerMapMaxNumPerStage(this); + public AchievementRewardReq Clone() { + return new AchievementRewardReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } - set { - id_ = value; - } + public pbc::RepeatedField Ids { + get { return ids_; } } - /// Field number for the "max_num_per_stage" field. - public const int MaxNumPerStageFieldNumber = 2; - private int maxNumPerStage_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxNumPerStage { - get { return maxNumPerStage_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - maxNumPerStage_ = value; + nextPackage_ = 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 StarTowerMapMaxNumPerStage); + return Equals(other as AchievementRewardReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerMapMaxNumPerStage other) { + public bool Equals(AchievementRewardReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (MaxNumPerStage != other.MaxNumPerStage) return false; + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,8 +130,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (MaxNumPerStage != 0) hash ^= MaxNumPerStage.GetHashCode(); + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -151,13 +150,10 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (MaxNumPerStage != 0) { - output.WriteRawTag(16); - output.WriteInt32(MaxNumPerStage); + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -169,13 +165,10 @@ namespace Nova.Client { [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 (MaxNumPerStage != 0) { - output.WriteRawTag(16); - output.WriteInt32(MaxNumPerStage); + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,11 +180,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (MaxNumPerStage != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerStage); + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +192,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerMapMaxNumPerStage other) { + public void MergeFrom(AchievementRewardReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MaxNumPerStage != 0) { - MaxNumPerStage = other.MaxNumPerStage; + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -230,12 +219,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(input, _repeated_ids_codec); break; } - case 16: { - MaxNumPerStage = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -257,12 +247,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); break; } - case 16: { - MaxNumPerStage = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/Activity.cs b/Novaria.Common/Protos/Activity.cs deleted file mode 100644 index 0686ed9..0000000 --- a/Novaria.Common/Protos/Activity.cs +++ /dev/null @@ -1,794 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Activity.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 Activity.proto - public static partial class ActivityReflection { - - #region Descriptor - /// File descriptor for Activity.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ActivityReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5BY3Rpdml0eS5wcm90byLGAgoIQWN0aXZpdHkSCgoCaWQYASABKAUSDwoH", - "c29ydF9pZBgCIAEoBRIVCg1hY3Rpdml0eV90eXBlGAMgASgFEgwKBG5hbWUY", - "BCABKAkSEQoJcHJlX2xpbWl0GAUgASgFEhMKC2xpbWl0X3BhcmFtGAYgASgJ", - "EhIKCnN0YXJ0X3R5cGUYByABKAUSEgoKc3RhcnRfdGltZRgIIAEoCRIXCg9z", - "dGFydF9jb25kX3R5cGUYCSABKAUSGQoRc3RhcnRfY29uZF9wYXJhbXMYCiAD", - "KAUSEAoIZW5kX3R5cGUYCyABKAUSEAoIZW5kX3RpbWUYDCABKAkSFAoMZW5k", - "X2R1cmF0aW9uGA0gASgFEhIKCmJhbm5lcl9yZXMYDiABKAkSEgoKcG9wX3Vw", - "X3JlcxgPIAEoCRISCgp0YWJfYmdfcmVzGBAgASgJQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Activity), global::Nova.Client.Activity.Parser, new[]{ "Id", "SortId", "ActivityType", "Name", "PreLimit", "LimitParam", "StartType", "StartTime", "StartCondType", "StartCondParams", "EndType", "EndTime", "EndDuration", "BannerRes", "PopUpRes", "TabBgRes" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Activity : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Activity()); - 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.ActivityReflection.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 Activity() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Activity(Activity other) : this() { - id_ = other.id_; - sortId_ = other.sortId_; - activityType_ = other.activityType_; - name_ = other.name_; - preLimit_ = other.preLimit_; - limitParam_ = other.limitParam_; - startType_ = other.startType_; - startTime_ = other.startTime_; - startCondType_ = other.startCondType_; - startCondParams_ = other.startCondParams_.Clone(); - endType_ = other.endType_; - endTime_ = other.endTime_; - endDuration_ = other.endDuration_; - bannerRes_ = other.bannerRes_; - popUpRes_ = other.popUpRes_; - tabBgRes_ = other.tabBgRes_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Activity Clone() { - return new Activity(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 "sort_id" field. - public const int SortIdFieldNumber = 2; - private int sortId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortId { - get { return sortId_; } - set { - sortId_ = value; - } - } - - /// Field number for the "activity_type" field. - public const int ActivityTypeFieldNumber = 3; - private int activityType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ActivityType { - get { return activityType_; } - set { - activityType_ = 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 "pre_limit" field. - public const int PreLimitFieldNumber = 5; - private int preLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreLimit { - get { return preLimit_; } - set { - preLimit_ = value; - } - } - - /// Field number for the "limit_param" field. - public const int LimitParamFieldNumber = 6; - private string limitParam_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LimitParam { - get { return limitParam_; } - set { - limitParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "start_type" field. - public const int StartTypeFieldNumber = 7; - private int startType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StartType { - get { return startType_; } - set { - startType_ = value; - } - } - - /// Field number for the "start_time" field. - public const int StartTimeFieldNumber = 8; - private string startTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StartTime { - get { return startTime_; } - set { - startTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "start_cond_type" field. - public const int StartCondTypeFieldNumber = 9; - private int startCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StartCondType { - get { return startCondType_; } - set { - startCondType_ = value; - } - } - - /// Field number for the "start_cond_params" field. - public const int StartCondParamsFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_startCondParams_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField startCondParams_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField StartCondParams { - get { return startCondParams_; } - } - - /// Field number for the "end_type" field. - public const int EndTypeFieldNumber = 11; - private int endType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EndType { - get { return endType_; } - set { - endType_ = value; - } - } - - /// Field number for the "end_time" field. - public const int EndTimeFieldNumber = 12; - private string endTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndTime { - get { return endTime_; } - set { - endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "end_duration" field. - public const int EndDurationFieldNumber = 13; - private int endDuration_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EndDuration { - get { return endDuration_; } - set { - endDuration_ = value; - } - } - - /// Field number for the "banner_res" field. - public const int BannerResFieldNumber = 14; - private string bannerRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BannerRes { - get { return bannerRes_; } - set { - bannerRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "pop_up_res" field. - public const int PopUpResFieldNumber = 15; - private string popUpRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PopUpRes { - get { return popUpRes_; } - set { - popUpRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tab_bg_res" field. - public const int TabBgResFieldNumber = 16; - private string tabBgRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TabBgRes { - get { return tabBgRes_; } - set { - tabBgRes_ = 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 Activity); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Activity other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SortId != other.SortId) return false; - if (ActivityType != other.ActivityType) return false; - if (Name != other.Name) return false; - if (PreLimit != other.PreLimit) return false; - if (LimitParam != other.LimitParam) return false; - if (StartType != other.StartType) return false; - if (StartTime != other.StartTime) return false; - if (StartCondType != other.StartCondType) return false; - if(!startCondParams_.Equals(other.startCondParams_)) return false; - if (EndType != other.EndType) return false; - if (EndTime != other.EndTime) return false; - if (EndDuration != other.EndDuration) return false; - if (BannerRes != other.BannerRes) return false; - if (PopUpRes != other.PopUpRes) return false; - if (TabBgRes != other.TabBgRes) 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 (SortId != 0) hash ^= SortId.GetHashCode(); - if (ActivityType != 0) hash ^= ActivityType.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (PreLimit != 0) hash ^= PreLimit.GetHashCode(); - if (LimitParam.Length != 0) hash ^= LimitParam.GetHashCode(); - if (StartType != 0) hash ^= StartType.GetHashCode(); - if (StartTime.Length != 0) hash ^= StartTime.GetHashCode(); - if (StartCondType != 0) hash ^= StartCondType.GetHashCode(); - hash ^= startCondParams_.GetHashCode(); - if (EndType != 0) hash ^= EndType.GetHashCode(); - if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); - if (EndDuration != 0) hash ^= EndDuration.GetHashCode(); - if (BannerRes.Length != 0) hash ^= BannerRes.GetHashCode(); - if (PopUpRes.Length != 0) hash ^= PopUpRes.GetHashCode(); - if (TabBgRes.Length != 0) hash ^= TabBgRes.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 (SortId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SortId); - } - if (ActivityType != 0) { - output.WriteRawTag(24); - output.WriteInt32(ActivityType); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (PreLimit != 0) { - output.WriteRawTag(40); - output.WriteInt32(PreLimit); - } - if (LimitParam.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LimitParam); - } - if (StartType != 0) { - output.WriteRawTag(56); - output.WriteInt32(StartType); - } - if (StartTime.Length != 0) { - output.WriteRawTag(66); - output.WriteString(StartTime); - } - if (StartCondType != 0) { - output.WriteRawTag(72); - output.WriteInt32(StartCondType); - } - startCondParams_.WriteTo(output, _repeated_startCondParams_codec); - if (EndType != 0) { - output.WriteRawTag(88); - output.WriteInt32(EndType); - } - if (EndTime.Length != 0) { - output.WriteRawTag(98); - output.WriteString(EndTime); - } - if (EndDuration != 0) { - output.WriteRawTag(104); - output.WriteInt32(EndDuration); - } - if (BannerRes.Length != 0) { - output.WriteRawTag(114); - output.WriteString(BannerRes); - } - if (PopUpRes.Length != 0) { - output.WriteRawTag(122); - output.WriteString(PopUpRes); - } - if (TabBgRes.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(TabBgRes); - } - 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 (SortId != 0) { - output.WriteRawTag(16); - output.WriteInt32(SortId); - } - if (ActivityType != 0) { - output.WriteRawTag(24); - output.WriteInt32(ActivityType); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (PreLimit != 0) { - output.WriteRawTag(40); - output.WriteInt32(PreLimit); - } - if (LimitParam.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LimitParam); - } - if (StartType != 0) { - output.WriteRawTag(56); - output.WriteInt32(StartType); - } - if (StartTime.Length != 0) { - output.WriteRawTag(66); - output.WriteString(StartTime); - } - if (StartCondType != 0) { - output.WriteRawTag(72); - output.WriteInt32(StartCondType); - } - startCondParams_.WriteTo(ref output, _repeated_startCondParams_codec); - if (EndType != 0) { - output.WriteRawTag(88); - output.WriteInt32(EndType); - } - if (EndTime.Length != 0) { - output.WriteRawTag(98); - output.WriteString(EndTime); - } - if (EndDuration != 0) { - output.WriteRawTag(104); - output.WriteInt32(EndDuration); - } - if (BannerRes.Length != 0) { - output.WriteRawTag(114); - output.WriteString(BannerRes); - } - if (PopUpRes.Length != 0) { - output.WriteRawTag(122); - output.WriteString(PopUpRes); - } - if (TabBgRes.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(TabBgRes); - } - 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 (SortId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); - } - if (ActivityType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActivityType); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (PreLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLimit); - } - if (LimitParam.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LimitParam); - } - if (StartType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartType); - } - if (StartTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StartTime); - } - if (StartCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartCondType); - } - size += startCondParams_.CalculateSize(_repeated_startCondParams_codec); - if (EndType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndType); - } - if (EndTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); - } - if (EndDuration != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndDuration); - } - if (BannerRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BannerRes); - } - if (PopUpRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PopUpRes); - } - if (TabBgRes.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TabBgRes); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Activity other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SortId != 0) { - SortId = other.SortId; - } - if (other.ActivityType != 0) { - ActivityType = other.ActivityType; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.PreLimit != 0) { - PreLimit = other.PreLimit; - } - if (other.LimitParam.Length != 0) { - LimitParam = other.LimitParam; - } - if (other.StartType != 0) { - StartType = other.StartType; - } - if (other.StartTime.Length != 0) { - StartTime = other.StartTime; - } - if (other.StartCondType != 0) { - StartCondType = other.StartCondType; - } - startCondParams_.Add(other.startCondParams_); - if (other.EndType != 0) { - EndType = other.EndType; - } - if (other.EndTime.Length != 0) { - EndTime = other.EndTime; - } - if (other.EndDuration != 0) { - EndDuration = other.EndDuration; - } - if (other.BannerRes.Length != 0) { - BannerRes = other.BannerRes; - } - if (other.PopUpRes.Length != 0) { - PopUpRes = other.PopUpRes; - } - if (other.TabBgRes.Length != 0) { - TabBgRes = other.TabBgRes; - } - _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: { - SortId = input.ReadInt32(); - break; - } - case 24: { - ActivityType = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - PreLimit = input.ReadInt32(); - break; - } - case 50: { - LimitParam = input.ReadString(); - break; - } - case 56: { - StartType = input.ReadInt32(); - break; - } - case 66: { - StartTime = input.ReadString(); - break; - } - case 72: { - StartCondType = input.ReadInt32(); - break; - } - case 82: - case 80: { - startCondParams_.AddEntriesFrom(input, _repeated_startCondParams_codec); - break; - } - case 88: { - EndType = input.ReadInt32(); - break; - } - case 98: { - EndTime = input.ReadString(); - break; - } - case 104: { - EndDuration = input.ReadInt32(); - break; - } - case 114: { - BannerRes = input.ReadString(); - break; - } - case 122: { - PopUpRes = input.ReadString(); - break; - } - case 130: { - TabBgRes = 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: { - SortId = input.ReadInt32(); - break; - } - case 24: { - ActivityType = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - PreLimit = input.ReadInt32(); - break; - } - case 50: { - LimitParam = input.ReadString(); - break; - } - case 56: { - StartType = input.ReadInt32(); - break; - } - case 66: { - StartTime = input.ReadString(); - break; - } - case 72: { - StartCondType = input.ReadInt32(); - break; - } - case 82: - case 80: { - startCondParams_.AddEntriesFrom(ref input, _repeated_startCondParams_codec); - break; - } - case 88: { - EndType = input.ReadInt32(); - break; - } - case 98: { - EndTime = input.ReadString(); - break; - } - case 104: { - EndDuration = input.ReadInt32(); - break; - } - case 114: { - BannerRes = input.ReadString(); - break; - } - case 122: { - PopUpRes = input.ReadString(); - break; - } - case 130: { - TabBgRes = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ActivityDetail.cs b/Novaria.Common/Protos/ActivityDetail.cs new file mode 100644 index 0000000..24acec1 --- /dev/null +++ b/Novaria.Common/Protos/ActivityDetail.cs @@ -0,0 +1,640 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: activity_detail.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 Proto { + + /// Holder for reflection information generated from activity_detail.proto + public static partial class ActivityDetailReflection { + + #region Descriptor + /// File descriptor for activity_detail.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ActivityDetailReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVhY3Rpdml0eV9kZXRhaWwucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", + "iwEKC0FjdGl2aXR5TXNnEgoKAklkGAEgASgNEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDBIrCghQZXJpb2RpYxgCIAEoCzIXLnByb3RvLkFjdGl2aXR5UGVyaW9k", + "aWNIABIlCgVMb2dpbhgDIAEoCzIULnByb3RvLkFjdGl2aXR5TG9naW5IAEIG", + "CgREYXRhIkYKDEFjdGl2aXR5UmVzcBIgCgRMaXN0GAEgAygLMhIucHJvdG8u", + "QWN0aXZpdHlNc2cSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ActivityMsg), global::Proto.ActivityMsg.Parser, new[]{ "Id", "NextPackage", "Periodic", "Login" }, new[]{ "Data" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ActivityResp), global::Proto.ActivityResp.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ActivityMsg : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivityMsg()); + 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::Proto.ActivityDetailReflection.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 ActivityMsg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityMsg(ActivityMsg other) : this() { + id_ = other.id_; + nextPackage_ = other.nextPackage_; + switch (other.DataCase) { + case DataOneofCase.Periodic: + Periodic = other.Periodic.Clone(); + break; + case DataOneofCase.Login: + Login = other.Login.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityMsg Clone() { + return new ActivityMsg(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Periodic" field. + public const int PeriodicFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ActivityPeriodic Periodic { + get { return dataCase_ == DataOneofCase.Periodic ? (global::Proto.ActivityPeriodic) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.Periodic; + } + } + + /// Field number for the "Login" field. + public const int LoginFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ActivityLogin Login { + get { return dataCase_ == DataOneofCase.Login ? (global::Proto.ActivityLogin) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.Login; + } + } + + private object data_; + /// Enum of possible cases for the "Data" oneof. + public enum DataOneofCase { + None = 0, + Periodic = 2, + Login = 3, + } + private DataOneofCase dataCase_ = DataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataOneofCase DataCase { + get { return dataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + dataCase_ = DataOneofCase.None; + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ActivityMsg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivityMsg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Periodic, other.Periodic)) return false; + if (!object.Equals(Login, other.Login)) return false; + if (DataCase != other.DataCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (dataCase_ == DataOneofCase.Periodic) hash ^= Periodic.GetHashCode(); + if (dataCase_ == DataOneofCase.Login) hash ^= Login.GetHashCode(); + hash ^= (int) dataCase_; + 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.WriteUInt32(Id); + } + if (dataCase_ == DataOneofCase.Periodic) { + output.WriteRawTag(18); + output.WriteMessage(Periodic); + } + if (dataCase_ == DataOneofCase.Login) { + output.WriteRawTag(26); + output.WriteMessage(Login); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (dataCase_ == DataOneofCase.Periodic) { + output.WriteRawTag(18); + output.WriteMessage(Periodic); + } + if (dataCase_ == DataOneofCase.Login) { + output.WriteRawTag(26); + output.WriteMessage(Login); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (dataCase_ == DataOneofCase.Periodic) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Periodic); + } + if (dataCase_ == DataOneofCase.Login) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Login); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivityMsg other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.DataCase) { + case DataOneofCase.Periodic: + if (Periodic == null) { + Periodic = new global::Proto.ActivityPeriodic(); + } + Periodic.MergeFrom(other.Periodic); + break; + case DataOneofCase.Login: + if (Login == null) { + Login = new global::Proto.ActivityLogin(); + } + Login.MergeFrom(other.Login); + break; + } + + _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.ReadUInt32(); + break; + } + case 18: { + global::Proto.ActivityPeriodic subBuilder = new global::Proto.ActivityPeriodic(); + if (dataCase_ == DataOneofCase.Periodic) { + subBuilder.MergeFrom(Periodic); + } + input.ReadMessage(subBuilder); + Periodic = subBuilder; + break; + } + case 26: { + global::Proto.ActivityLogin subBuilder = new global::Proto.ActivityLogin(); + if (dataCase_ == DataOneofCase.Login) { + subBuilder.MergeFrom(Login); + } + input.ReadMessage(subBuilder); + Login = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + global::Proto.ActivityPeriodic subBuilder = new global::Proto.ActivityPeriodic(); + if (dataCase_ == DataOneofCase.Periodic) { + subBuilder.MergeFrom(Periodic); + } + input.ReadMessage(subBuilder); + Periodic = subBuilder; + break; + } + case 26: { + global::Proto.ActivityLogin subBuilder = new global::Proto.ActivityLogin(); + if (dataCase_ == DataOneofCase.Login) { + subBuilder.MergeFrom(Login); + } + input.ReadMessage(subBuilder); + Login = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ActivityResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivityResp()); + 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::Proto.ActivityDetailReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityResp(ActivityResp other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityResp Clone() { + return new ActivityResp(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ActivityMsg.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ActivityResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivityResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivityResp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ActivityLoginRewardReceive.cs b/Novaria.Common/Protos/ActivityLoginRewardReceive.cs new file mode 100644 index 0000000..0fe9957 --- /dev/null +++ b/Novaria.Common/Protos/ActivityLoginRewardReceive.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: activity_login_reward_receive.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 Proto { + + /// Holder for reflection information generated from activity_login_reward_receive.proto + public static partial class ActivityLoginRewardReceiveReflection { + + #region Descriptor + /// File descriptor for activity_login_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ActivityLoginRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNhY3Rpdml0eV9sb2dpbl9yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJvdG8a", + "DHB1YmxpYy5wcm90b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ActivityPeriodicFinalRewardReceive.cs b/Novaria.Common/Protos/ActivityPeriodicFinalRewardReceive.cs new file mode 100644 index 0000000..b6ee870 --- /dev/null +++ b/Novaria.Common/Protos/ActivityPeriodicFinalRewardReceive.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: activity_periodic_final_reward_receive.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 Proto { + + /// Holder for reflection information generated from activity_periodic_final_reward_receive.proto + public static partial class ActivityPeriodicFinalRewardReceiveReflection { + + #region Descriptor + /// File descriptor for activity_periodic_final_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ActivityPeriodicFinalRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CixhY3Rpdml0eV9wZXJpb2RpY19maW5hbF9yZXdhcmRfcmVjZWl2ZS5wcm90", + "bxIFcHJvdG8aDHB1YmxpYy5wcm90b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ActivityPeriodicRewardReceive.cs b/Novaria.Common/Protos/ActivityPeriodicRewardReceive.cs new file mode 100644 index 0000000..7c807a5 --- /dev/null +++ b/Novaria.Common/Protos/ActivityPeriodicRewardReceive.cs @@ -0,0 +1,317 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: activity_periodic_reward_receive.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 Proto { + + /// Holder for reflection information generated from activity_periodic_reward_receive.proto + public static partial class ActivityPeriodicRewardReceiveReflection { + + #region Descriptor + /// File descriptor for activity_periodic_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ActivityPeriodicRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZhY3Rpdml0eV9wZXJpb2RpY19yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJv", + "dG8aDHB1YmxpYy5wcm90byJWChlBY3Rpdml0eVBlcmlvZGljUmV3YXJkUmVx", + "EhIKCkFjdGl2aXR5SWQYASABKA0SDwoHUXVlc3RJZBgCIAEoDRIUCgtOZXh0", + "UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ActivityPeriodicRewardReq), global::Proto.ActivityPeriodicRewardReq.Parser, new[]{ "ActivityId", "QuestId", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ActivityPeriodicRewardReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivityPeriodicRewardReq()); + 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::Proto.ActivityPeriodicRewardReceiveReflection.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 ActivityPeriodicRewardReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityPeriodicRewardReq(ActivityPeriodicRewardReq other) : this() { + activityId_ = other.activityId_; + questId_ = other.questId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityPeriodicRewardReq Clone() { + return new ActivityPeriodicRewardReq(this); + } + + /// Field number for the "ActivityId" field. + public const int ActivityIdFieldNumber = 1; + private uint activityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ActivityId { + get { return activityId_; } + set { + activityId_ = value; + } + } + + /// Field number for the "QuestId" field. + public const int QuestIdFieldNumber = 2; + private uint questId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint QuestId { + get { return questId_; } + set { + questId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ActivityPeriodicRewardReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivityPeriodicRewardReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ActivityId != other.ActivityId) return false; + if (QuestId != other.QuestId) return false; + if (NextPackage != other.NextPackage) 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 (ActivityId != 0) hash ^= ActivityId.GetHashCode(); + if (QuestId != 0) hash ^= QuestId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (ActivityId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ActivityId); + } + if (QuestId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(QuestId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ActivityId); + } + if (QuestId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(QuestId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ActivityId); + } + if (QuestId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(QuestId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivityPeriodicRewardReq other) { + if (other == null) { + return; + } + if (other.ActivityId != 0) { + ActivityId = other.ActivityId; + } + if (other.QuestId != 0) { + QuestId = other.QuestId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + ActivityId = input.ReadUInt32(); + break; + } + case 16: { + QuestId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + ActivityId = input.ReadUInt32(); + break; + } + case 16: { + QuestId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/AffinityGift.cs b/Novaria.Common/Protos/AffinityGift.cs deleted file mode 100644 index 544b444..0000000 --- a/Novaria.Common/Protos/AffinityGift.cs +++ /dev/null @@ -1,307 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AffinityGift.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 AffinityGift.proto - public static partial class AffinityGiftReflection { - - #region Descriptor - /// File descriptor for AffinityGift.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AffinityGiftReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJBZmZpbml0eUdpZnQucHJvdG8iPwoMQWZmaW5pdHlHaWZ0EgoKAmlkGAEg", - "ASgFEhUKDWJhc2VfYWZmaW5pdHkYAiABKAUSDAoEdGFncxgDIAMoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityGift), global::Nova.Client.AffinityGift.Parser, new[]{ "Id", "BaseAffinity", "Tags" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AffinityGift : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AffinityGift()); - 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.AffinityGiftReflection.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 AffinityGift() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityGift(AffinityGift other) : this() { - id_ = other.id_; - baseAffinity_ = other.baseAffinity_; - tags_ = other.tags_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityGift Clone() { - return new AffinityGift(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 "base_affinity" field. - public const int BaseAffinityFieldNumber = 2; - private int baseAffinity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BaseAffinity { - get { return baseAffinity_; } - set { - baseAffinity_ = value; - } - } - - /// Field number for the "tags" field. - public const int TagsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_tags_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Tags { - get { return tags_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AffinityGift); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AffinityGift other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BaseAffinity != other.BaseAffinity) return false; - if(!tags_.Equals(other.tags_)) 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 (BaseAffinity != 0) hash ^= BaseAffinity.GetHashCode(); - hash ^= tags_.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 (BaseAffinity != 0) { - output.WriteRawTag(16); - output.WriteInt32(BaseAffinity); - } - tags_.WriteTo(output, _repeated_tags_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 (BaseAffinity != 0) { - output.WriteRawTag(16); - output.WriteInt32(BaseAffinity); - } - tags_.WriteTo(ref output, _repeated_tags_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 (BaseAffinity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseAffinity); - } - size += tags_.CalculateSize(_repeated_tags_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AffinityGift other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BaseAffinity != 0) { - BaseAffinity = other.BaseAffinity; - } - tags_.Add(other.tags_); - _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: { - BaseAffinity = input.ReadInt32(); - break; - } - case 26: - case 24: { - tags_.AddEntriesFrom(input, _repeated_tags_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: { - BaseAffinity = input.ReadInt32(); - break; - } - case 26: - case 24: { - tags_.AddEntriesFrom(ref input, _repeated_tags_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AffinityLevel.cs b/Novaria.Common/Protos/AffinityLevel.cs deleted file mode 100644 index b3d1d9e..0000000 --- a/Novaria.Common/Protos/AffinityLevel.cs +++ /dev/null @@ -1,571 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AffinityLevel.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 AffinityLevel.proto - public static partial class AffinityLevelReflection { - - #region Descriptor - /// File descriptor for AffinityLevel.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AffinityLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNBZmZpbml0eUxldmVsLnByb3RvIpACCg1BZmZpbml0eUxldmVsEgoKAmlk", - "GAEgASgFEhcKD2FmZmluaXR5X2xldmVsXxgCIAEoBRIQCghuZWVkX2V4cBgD", - "IAEoBRITCgt0ZW1wbGF0ZV9pZBgEIAEoBRIbChNhZmZpbml0eV9sZXZlbF9u", - "YW1lGAUgASgJEhsKE2FmZmluaXR5X2xldmVsX2ljb24YBiABKAkSIgoaYWZm", - "aW5pdHlfbGV2ZWxfcmV3YXJkX2ljb24YByABKAkSJwofYWZmaW5pdHlfbGV2", - "ZWxfcmV3YXJkX2xvY2tfaWNvbhgIIAEoCRIOCgZlZmZlY3QYCSADKAUSHAoU", - "YWZmaW5pdHlfbGV2ZWxfc3RhZ2UYCiABKAVCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityLevel), global::Nova.Client.AffinityLevel.Parser, new[]{ "Id", "AffinityLevel_", "NeedExp", "TemplateId", "AffinityLevelName", "AffinityLevelIcon", "AffinityLevelRewardIcon", "AffinityLevelRewardLockIcon", "Effect", "AffinityLevelStage" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AffinityLevel : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AffinityLevel()); - 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.AffinityLevelReflection.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 AffinityLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityLevel(AffinityLevel other) : this() { - id_ = other.id_; - affinityLevel_ = other.affinityLevel_; - needExp_ = other.needExp_; - templateId_ = other.templateId_; - affinityLevelName_ = other.affinityLevelName_; - affinityLevelIcon_ = other.affinityLevelIcon_; - affinityLevelRewardIcon_ = other.affinityLevelRewardIcon_; - affinityLevelRewardLockIcon_ = other.affinityLevelRewardLockIcon_; - effect_ = other.effect_.Clone(); - affinityLevelStage_ = other.affinityLevelStage_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityLevel Clone() { - return new AffinityLevel(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 "affinity_level_" field. - public const int AffinityLevel_FieldNumber = 2; - private int affinityLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AffinityLevel_ { - get { return affinityLevel_; } - set { - affinityLevel_ = value; - } - } - - /// Field number for the "need_exp" field. - public const int NeedExpFieldNumber = 3; - private int needExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedExp { - get { return needExp_; } - set { - needExp_ = value; - } - } - - /// Field number for the "template_id" field. - public const int TemplateIdFieldNumber = 4; - private int templateId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TemplateId { - get { return templateId_; } - set { - templateId_ = value; - } - } - - /// Field number for the "affinity_level_name" field. - public const int AffinityLevelNameFieldNumber = 5; - private string affinityLevelName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AffinityLevelName { - get { return affinityLevelName_; } - set { - affinityLevelName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "affinity_level_icon" field. - public const int AffinityLevelIconFieldNumber = 6; - private string affinityLevelIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AffinityLevelIcon { - get { return affinityLevelIcon_; } - set { - affinityLevelIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "affinity_level_reward_icon" field. - public const int AffinityLevelRewardIconFieldNumber = 7; - private string affinityLevelRewardIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AffinityLevelRewardIcon { - get { return affinityLevelRewardIcon_; } - set { - affinityLevelRewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "affinity_level_reward_lock_icon" field. - public const int AffinityLevelRewardLockIconFieldNumber = 8; - private string affinityLevelRewardLockIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AffinityLevelRewardLockIcon { - get { return affinityLevelRewardLockIcon_; } - set { - affinityLevelRewardLockIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect" field. - public const int EffectFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_effect_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField effect_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Effect { - get { return effect_; } - } - - /// Field number for the "affinity_level_stage" field. - public const int AffinityLevelStageFieldNumber = 10; - private int affinityLevelStage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AffinityLevelStage { - get { return affinityLevelStage_; } - set { - affinityLevelStage_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AffinityLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AffinityLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (AffinityLevel_ != other.AffinityLevel_) return false; - if (NeedExp != other.NeedExp) return false; - if (TemplateId != other.TemplateId) return false; - if (AffinityLevelName != other.AffinityLevelName) return false; - if (AffinityLevelIcon != other.AffinityLevelIcon) return false; - if (AffinityLevelRewardIcon != other.AffinityLevelRewardIcon) return false; - if (AffinityLevelRewardLockIcon != other.AffinityLevelRewardLockIcon) return false; - if(!effect_.Equals(other.effect_)) return false; - if (AffinityLevelStage != other.AffinityLevelStage) 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 (AffinityLevel_ != 0) hash ^= AffinityLevel_.GetHashCode(); - if (NeedExp != 0) hash ^= NeedExp.GetHashCode(); - if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); - if (AffinityLevelName.Length != 0) hash ^= AffinityLevelName.GetHashCode(); - if (AffinityLevelIcon.Length != 0) hash ^= AffinityLevelIcon.GetHashCode(); - if (AffinityLevelRewardIcon.Length != 0) hash ^= AffinityLevelRewardIcon.GetHashCode(); - if (AffinityLevelRewardLockIcon.Length != 0) hash ^= AffinityLevelRewardLockIcon.GetHashCode(); - hash ^= effect_.GetHashCode(); - if (AffinityLevelStage != 0) hash ^= AffinityLevelStage.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 (AffinityLevel_ != 0) { - output.WriteRawTag(16); - output.WriteInt32(AffinityLevel_); - } - if (NeedExp != 0) { - output.WriteRawTag(24); - output.WriteInt32(NeedExp); - } - if (TemplateId != 0) { - output.WriteRawTag(32); - output.WriteInt32(TemplateId); - } - if (AffinityLevelName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(AffinityLevelName); - } - if (AffinityLevelIcon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AffinityLevelIcon); - } - if (AffinityLevelRewardIcon.Length != 0) { - output.WriteRawTag(58); - output.WriteString(AffinityLevelRewardIcon); - } - if (AffinityLevelRewardLockIcon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(AffinityLevelRewardLockIcon); - } - effect_.WriteTo(output, _repeated_effect_codec); - if (AffinityLevelStage != 0) { - output.WriteRawTag(80); - output.WriteInt32(AffinityLevelStage); - } - 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 (AffinityLevel_ != 0) { - output.WriteRawTag(16); - output.WriteInt32(AffinityLevel_); - } - if (NeedExp != 0) { - output.WriteRawTag(24); - output.WriteInt32(NeedExp); - } - if (TemplateId != 0) { - output.WriteRawTag(32); - output.WriteInt32(TemplateId); - } - if (AffinityLevelName.Length != 0) { - output.WriteRawTag(42); - output.WriteString(AffinityLevelName); - } - if (AffinityLevelIcon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AffinityLevelIcon); - } - if (AffinityLevelRewardIcon.Length != 0) { - output.WriteRawTag(58); - output.WriteString(AffinityLevelRewardIcon); - } - if (AffinityLevelRewardLockIcon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(AffinityLevelRewardLockIcon); - } - effect_.WriteTo(ref output, _repeated_effect_codec); - if (AffinityLevelStage != 0) { - output.WriteRawTag(80); - output.WriteInt32(AffinityLevelStage); - } - 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 (AffinityLevel_ != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityLevel_); - } - if (NeedExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp); - } - if (TemplateId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); - } - if (AffinityLevelName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelName); - } - if (AffinityLevelIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelIcon); - } - if (AffinityLevelRewardIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelRewardIcon); - } - if (AffinityLevelRewardLockIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelRewardLockIcon); - } - size += effect_.CalculateSize(_repeated_effect_codec); - if (AffinityLevelStage != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityLevelStage); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AffinityLevel other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.AffinityLevel_ != 0) { - AffinityLevel_ = other.AffinityLevel_; - } - if (other.NeedExp != 0) { - NeedExp = other.NeedExp; - } - if (other.TemplateId != 0) { - TemplateId = other.TemplateId; - } - if (other.AffinityLevelName.Length != 0) { - AffinityLevelName = other.AffinityLevelName; - } - if (other.AffinityLevelIcon.Length != 0) { - AffinityLevelIcon = other.AffinityLevelIcon; - } - if (other.AffinityLevelRewardIcon.Length != 0) { - AffinityLevelRewardIcon = other.AffinityLevelRewardIcon; - } - if (other.AffinityLevelRewardLockIcon.Length != 0) { - AffinityLevelRewardLockIcon = other.AffinityLevelRewardLockIcon; - } - effect_.Add(other.effect_); - if (other.AffinityLevelStage != 0) { - AffinityLevelStage = other.AffinityLevelStage; - } - _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: { - AffinityLevel_ = input.ReadInt32(); - break; - } - case 24: { - NeedExp = input.ReadInt32(); - break; - } - case 32: { - TemplateId = input.ReadInt32(); - break; - } - case 42: { - AffinityLevelName = input.ReadString(); - break; - } - case 50: { - AffinityLevelIcon = input.ReadString(); - break; - } - case 58: { - AffinityLevelRewardIcon = input.ReadString(); - break; - } - case 66: { - AffinityLevelRewardLockIcon = input.ReadString(); - break; - } - case 74: - case 72: { - effect_.AddEntriesFrom(input, _repeated_effect_codec); - break; - } - case 80: { - AffinityLevelStage = 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: { - AffinityLevel_ = input.ReadInt32(); - break; - } - case 24: { - NeedExp = input.ReadInt32(); - break; - } - case 32: { - TemplateId = input.ReadInt32(); - break; - } - case 42: { - AffinityLevelName = input.ReadString(); - break; - } - case 50: { - AffinityLevelIcon = input.ReadString(); - break; - } - case 58: { - AffinityLevelRewardIcon = input.ReadString(); - break; - } - case 66: { - AffinityLevelRewardLockIcon = input.ReadString(); - break; - } - case 74: - case 72: { - effect_.AddEntriesFrom(ref input, _repeated_effect_codec); - break; - } - case 80: { - AffinityLevelStage = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AffinityQuest.cs b/Novaria.Common/Protos/AffinityQuest.cs deleted file mode 100644 index e1b2c90..0000000 --- a/Novaria.Common/Protos/AffinityQuest.cs +++ /dev/null @@ -1,494 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AffinityQuest.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 AffinityQuest.proto - public static partial class AffinityQuestReflection { - - #region Descriptor - /// File descriptor for AffinityQuest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AffinityQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNBZmZpbml0eVF1ZXN0LnByb3RvIqYBCg1BZmZpbml0eVF1ZXN0EgoKAmlk", - "GAEgASgFEgwKBGRlc2MYAiABKAkSDwoHc29ydF9pZBgDIAEoBRIPCgdjaGFy", - "X2lkGAQgASgFEhUKDWNvbXBsZXRlX2NvbmQYBSABKAUSHAoUY29tcGxldGVf", - "Y29uZF9wYXJhbXMYBiABKAkSDgoGcmV3YXJkGAcgAygFEhQKDGFmZmluaXR5", - "X2V4cBgIIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityQuest), global::Nova.Client.AffinityQuest.Parser, new[]{ "Id", "Desc", "SortId", "CharId", "CompleteCond", "CompleteCondParams", "Reward", "AffinityExp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AffinityQuest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AffinityQuest()); - 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.AffinityQuestReflection.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 AffinityQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityQuest(AffinityQuest other) : this() { - id_ = other.id_; - desc_ = other.desc_; - sortId_ = other.sortId_; - charId_ = other.charId_; - completeCond_ = other.completeCond_; - completeCondParams_ = other.completeCondParams_; - reward_ = other.reward_.Clone(); - affinityExp_ = other.affinityExp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityQuest Clone() { - return new AffinityQuest(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 "desc" field. - public const int DescFieldNumber = 2; - 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 "sort_id" field. - public const int SortIdFieldNumber = 3; - private int sortId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortId { - get { return sortId_; } - set { - sortId_ = value; - } - } - - /// Field number for the "char_id" field. - public const int CharIdFieldNumber = 4; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "complete_cond" field. - public const int CompleteCondFieldNumber = 5; - private int completeCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCond { - get { return completeCond_; } - set { - completeCond_ = value; - } - } - - /// Field number for the "complete_cond_params" field. - public const int CompleteCondParamsFieldNumber = 6; - private string completeCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteCondParams { - get { return completeCondParams_; } - set { - completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "reward" field. - public const int RewardFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_reward_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField reward_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Reward { - get { return reward_; } - } - - /// Field number for the "affinity_exp" field. - public const int AffinityExpFieldNumber = 8; - private int affinityExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AffinityExp { - get { return affinityExp_; } - set { - affinityExp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AffinityQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AffinityQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Desc != other.Desc) return false; - if (SortId != other.SortId) return false; - if (CharId != other.CharId) return false; - if (CompleteCond != other.CompleteCond) return false; - if (CompleteCondParams != other.CompleteCondParams) return false; - if(!reward_.Equals(other.reward_)) return false; - if (AffinityExp != other.AffinityExp) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (SortId != 0) hash ^= SortId.GetHashCode(); - if (CharId != 0) hash ^= CharId.GetHashCode(); - if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); - if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); - hash ^= reward_.GetHashCode(); - if (AffinityExp != 0) hash ^= AffinityExp.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 (Desc.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Desc); - } - if (SortId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SortId); - } - if (CharId != 0) { - output.WriteRawTag(32); - output.WriteInt32(CharId); - } - if (CompleteCond != 0) { - output.WriteRawTag(40); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(50); - output.WriteString(CompleteCondParams); - } - reward_.WriteTo(output, _repeated_reward_codec); - if (AffinityExp != 0) { - output.WriteRawTag(64); - output.WriteInt32(AffinityExp); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Desc); - } - if (SortId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SortId); - } - if (CharId != 0) { - output.WriteRawTag(32); - output.WriteInt32(CharId); - } - if (CompleteCond != 0) { - output.WriteRawTag(40); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(50); - output.WriteString(CompleteCondParams); - } - reward_.WriteTo(ref output, _repeated_reward_codec); - if (AffinityExp != 0) { - output.WriteRawTag(64); - output.WriteInt32(AffinityExp); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (SortId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); - } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (CompleteCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); - } - size += reward_.CalculateSize(_repeated_reward_codec); - if (AffinityExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityExp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AffinityQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.SortId != 0) { - SortId = other.SortId; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.CompleteCond != 0) { - CompleteCond = other.CompleteCond; - } - if (other.CompleteCondParams.Length != 0) { - CompleteCondParams = other.CompleteCondParams; - } - reward_.Add(other.reward_); - if (other.AffinityExp != 0) { - AffinityExp = other.AffinityExp; - } - _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: { - Desc = input.ReadString(); - break; - } - case 24: { - SortId = input.ReadInt32(); - break; - } - case 32: { - CharId = input.ReadInt32(); - break; - } - case 40: { - CompleteCond = input.ReadInt32(); - break; - } - case 50: { - CompleteCondParams = input.ReadString(); - break; - } - case 58: - case 56: { - reward_.AddEntriesFrom(input, _repeated_reward_codec); - break; - } - case 64: { - AffinityExp = 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 18: { - Desc = input.ReadString(); - break; - } - case 24: { - SortId = input.ReadInt32(); - break; - } - case 32: { - CharId = input.ReadInt32(); - break; - } - case 40: { - CompleteCond = input.ReadInt32(); - break; - } - case 50: { - CompleteCondParams = input.ReadString(); - break; - } - case 58: - case 56: { - reward_.AddEntriesFrom(ref input, _repeated_reward_codec); - break; - } - case 64: { - AffinityExp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AffinityUpReward.cs b/Novaria.Common/Protos/AffinityUpReward.cs deleted file mode 100644 index 4c72b6d..0000000 --- a/Novaria.Common/Protos/AffinityUpReward.cs +++ /dev/null @@ -1,626 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AffinityUpReward.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 AffinityUpReward.proto - public static partial class AffinityUpRewardReflection { - - #region Descriptor - /// File descriptor for AffinityUpReward.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AffinityUpRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZBZmZpbml0eVVwUmV3YXJkLnByb3RvIvYBChBBZmZpbml0eVVwUmV3YXJk", - "EgoKAmlkGAEgASgFEg8KB2NoYXJfaWQYAiABKAUSFAoMcmV3YXJkX2xldmVs", - "GAMgASgFEg8KB3Jld2FyZDEYBCADKAUSDwoHcmV3YXJkMhgFIAMoBRIPCgdy", - "ZXdhcmQzGAYgAygFEhMKC2Rlc2NfZnJvbnQxGAcgASgJEhMKC2Rlc2NfZnJv", - "bnQyGAggASgJEhMKC2Rlc2NfZnJvbnQzGAkgASgJEhMKC2Rlc2NfYWZ0ZXIx", - "GAogASgJEhMKC2Rlc2NfYWZ0ZXIyGAsgASgJEhMKC2Rlc2NfYWZ0ZXIzGAwg", - "ASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityUpReward), global::Nova.Client.AffinityUpReward.Parser, new[]{ "Id", "CharId", "RewardLevel", "Reward1", "Reward2", "Reward3", "DescFront1", "DescFront2", "DescFront3", "DescAfter1", "DescAfter2", "DescAfter3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AffinityUpReward : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AffinityUpReward()); - 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.AffinityUpRewardReflection.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 AffinityUpReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityUpReward(AffinityUpReward other) : this() { - id_ = other.id_; - charId_ = other.charId_; - rewardLevel_ = other.rewardLevel_; - reward1_ = other.reward1_.Clone(); - reward2_ = other.reward2_.Clone(); - reward3_ = other.reward3_.Clone(); - descFront1_ = other.descFront1_; - descFront2_ = other.descFront2_; - descFront3_ = other.descFront3_; - descAfter1_ = other.descAfter1_; - descAfter2_ = other.descAfter2_; - descAfter3_ = other.descAfter3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AffinityUpReward Clone() { - return new AffinityUpReward(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 "char_id" field. - public const int CharIdFieldNumber = 2; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "reward_level" field. - public const int RewardLevelFieldNumber = 3; - private int rewardLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardLevel { - get { return rewardLevel_; } - set { - rewardLevel_ = value; - } - } - - /// Field number for the "reward1" field. - public const int Reward1FieldNumber = 4; - private static readonly pb::FieldCodec _repeated_reward1_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField reward1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Reward1 { - get { return reward1_; } - } - - /// Field number for the "reward2" field. - public const int Reward2FieldNumber = 5; - private static readonly pb::FieldCodec _repeated_reward2_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField reward2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Reward2 { - get { return reward2_; } - } - - /// Field number for the "reward3" field. - public const int Reward3FieldNumber = 6; - private static readonly pb::FieldCodec _repeated_reward3_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField reward3_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Reward3 { - get { return reward3_; } - } - - /// Field number for the "desc_front1" field. - public const int DescFront1FieldNumber = 7; - private string descFront1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DescFront1 { - get { return descFront1_; } - set { - descFront1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc_front2" field. - public const int DescFront2FieldNumber = 8; - private string descFront2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DescFront2 { - get { return descFront2_; } - set { - descFront2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc_front3" field. - public const int DescFront3FieldNumber = 9; - private string descFront3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DescFront3 { - get { return descFront3_; } - set { - descFront3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc_after1" field. - public const int DescAfter1FieldNumber = 10; - private string descAfter1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DescAfter1 { - get { return descAfter1_; } - set { - descAfter1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc_after2" field. - public const int DescAfter2FieldNumber = 11; - private string descAfter2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DescAfter2 { - get { return descAfter2_; } - set { - descAfter2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc_after3" field. - public const int DescAfter3FieldNumber = 12; - private string descAfter3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DescAfter3 { - get { return descAfter3_; } - set { - descAfter3_ = 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 AffinityUpReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AffinityUpReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharId != other.CharId) return false; - if (RewardLevel != other.RewardLevel) return false; - if(!reward1_.Equals(other.reward1_)) return false; - if(!reward2_.Equals(other.reward2_)) return false; - if(!reward3_.Equals(other.reward3_)) return false; - if (DescFront1 != other.DescFront1) return false; - if (DescFront2 != other.DescFront2) return false; - if (DescFront3 != other.DescFront3) return false; - if (DescAfter1 != other.DescAfter1) return false; - if (DescAfter2 != other.DescAfter2) return false; - if (DescAfter3 != other.DescAfter3) 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 (CharId != 0) hash ^= CharId.GetHashCode(); - if (RewardLevel != 0) hash ^= RewardLevel.GetHashCode(); - hash ^= reward1_.GetHashCode(); - hash ^= reward2_.GetHashCode(); - hash ^= reward3_.GetHashCode(); - if (DescFront1.Length != 0) hash ^= DescFront1.GetHashCode(); - if (DescFront2.Length != 0) hash ^= DescFront2.GetHashCode(); - if (DescFront3.Length != 0) hash ^= DescFront3.GetHashCode(); - if (DescAfter1.Length != 0) hash ^= DescAfter1.GetHashCode(); - if (DescAfter2.Length != 0) hash ^= DescAfter2.GetHashCode(); - if (DescAfter3.Length != 0) hash ^= DescAfter3.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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (RewardLevel != 0) { - output.WriteRawTag(24); - output.WriteInt32(RewardLevel); - } - reward1_.WriteTo(output, _repeated_reward1_codec); - reward2_.WriteTo(output, _repeated_reward2_codec); - reward3_.WriteTo(output, _repeated_reward3_codec); - if (DescFront1.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DescFront1); - } - if (DescFront2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(DescFront2); - } - if (DescFront3.Length != 0) { - output.WriteRawTag(74); - output.WriteString(DescFront3); - } - if (DescAfter1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(DescAfter1); - } - if (DescAfter2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(DescAfter2); - } - if (DescAfter3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(DescAfter3); - } - 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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (RewardLevel != 0) { - output.WriteRawTag(24); - output.WriteInt32(RewardLevel); - } - reward1_.WriteTo(ref output, _repeated_reward1_codec); - reward2_.WriteTo(ref output, _repeated_reward2_codec); - reward3_.WriteTo(ref output, _repeated_reward3_codec); - if (DescFront1.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DescFront1); - } - if (DescFront2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(DescFront2); - } - if (DescFront3.Length != 0) { - output.WriteRawTag(74); - output.WriteString(DescFront3); - } - if (DescAfter1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(DescAfter1); - } - if (DescAfter2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(DescAfter2); - } - if (DescAfter3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(DescAfter3); - } - 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 (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (RewardLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardLevel); - } - size += reward1_.CalculateSize(_repeated_reward1_codec); - size += reward2_.CalculateSize(_repeated_reward2_codec); - size += reward3_.CalculateSize(_repeated_reward3_codec); - if (DescFront1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront1); - } - if (DescFront2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront2); - } - if (DescFront3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront3); - } - if (DescAfter1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter1); - } - if (DescAfter2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter2); - } - if (DescAfter3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AffinityUpReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.RewardLevel != 0) { - RewardLevel = other.RewardLevel; - } - reward1_.Add(other.reward1_); - reward2_.Add(other.reward2_); - reward3_.Add(other.reward3_); - if (other.DescFront1.Length != 0) { - DescFront1 = other.DescFront1; - } - if (other.DescFront2.Length != 0) { - DescFront2 = other.DescFront2; - } - if (other.DescFront3.Length != 0) { - DescFront3 = other.DescFront3; - } - if (other.DescAfter1.Length != 0) { - DescAfter1 = other.DescAfter1; - } - if (other.DescAfter2.Length != 0) { - DescAfter2 = other.DescAfter2; - } - if (other.DescAfter3.Length != 0) { - DescAfter3 = other.DescAfter3; - } - _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: { - CharId = input.ReadInt32(); - break; - } - case 24: { - RewardLevel = input.ReadInt32(); - break; - } - case 34: - case 32: { - reward1_.AddEntriesFrom(input, _repeated_reward1_codec); - break; - } - case 42: - case 40: { - reward2_.AddEntriesFrom(input, _repeated_reward2_codec); - break; - } - case 50: - case 48: { - reward3_.AddEntriesFrom(input, _repeated_reward3_codec); - break; - } - case 58: { - DescFront1 = input.ReadString(); - break; - } - case 66: { - DescFront2 = input.ReadString(); - break; - } - case 74: { - DescFront3 = input.ReadString(); - break; - } - case 82: { - DescAfter1 = input.ReadString(); - break; - } - case 90: { - DescAfter2 = input.ReadString(); - break; - } - case 98: { - DescAfter3 = 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: { - CharId = input.ReadInt32(); - break; - } - case 24: { - RewardLevel = input.ReadInt32(); - break; - } - case 34: - case 32: { - reward1_.AddEntriesFrom(ref input, _repeated_reward1_codec); - break; - } - case 42: - case 40: { - reward2_.AddEntriesFrom(ref input, _repeated_reward2_codec); - break; - } - case 50: - case 48: { - reward3_.AddEntriesFrom(ref input, _repeated_reward3_codec); - break; - } - case 58: { - DescFront1 = input.ReadString(); - break; - } - case 66: { - DescFront2 = input.ReadString(); - break; - } - case 74: { - DescFront3 = input.ReadString(); - break; - } - case 82: { - DescAfter1 = input.ReadString(); - break; - } - case 90: { - DescAfter2 = input.ReadString(); - break; - } - case 98: { - DescAfter3 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Agent.cs b/Novaria.Common/Protos/Agent.cs deleted file mode 100644 index f6a3efb..0000000 --- a/Novaria.Common/Protos/Agent.cs +++ /dev/null @@ -1,1196 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Agent.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 Agent.proto - public static partial class AgentReflection { - - #region Descriptor - /// File descriptor for Agent.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AgentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtBZ2VudC5wcm90byKNBAoFQWdlbnQSCgoCaWQYASABKAUSCwoDdGFiGAIg", - "ASgFEgwKBG5vdGUYAyABKAkSDAoEbmFtZRgEIAEoCRIMCgRkZXNjGAUgASgJ", - "EhEKCWNvbnNpZ25vchgGIAEoCRIUCgxyZWZyZXNoX3R5cGUYByABKAUSEwoL", - "bWVtYmVyX3R5cGUYCCABKAUSDQoFbGV2ZWwYCSABKAUSEwoLYnVpbGRfc2Nv", - "cmUYCiABKAUSFAoMbWVtYmVyX2xpbWl0GAsgASgFEgwKBHRhZ3MYDCADKAUS", - "EgoKZXh0cmFfdGFncxgNIAMoBRIZChF1bmxvY2tfY29uZGl0aW9ucxgOIAEo", - "CRIMCgRzb3J0GA8gASgFEg0KBXRpbWUxGBAgASgFEhcKD3Jld2FyZF9wcmV2", - "aWV3MRgRIAEoCRIWCg5ib251c19wcmV2aWV3MRgSIAEoCRINCgV0aW1lMhgT", - "IAEoBRIXCg9yZXdhcmRfcHJldmlldzIYFCABKAkSFgoOYm9udXNfcHJldmll", - "dzIYFSABKAkSDQoFdGltZTMYFiABKAUSFwoPcmV3YXJkX3ByZXZpZXczGBcg", - "ASgJEhYKDmJvbnVzX3ByZXZpZXczGBggASgJEg0KBXRpbWU0GBkgASgFEhcK", - "D3Jld2FyZF9wcmV2aWV3NBgaIAEoCRIWCg5ib251c19wcmV2aWV3NBgbIAEo", - "CUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Agent), global::Nova.Client.Agent.Parser, new[]{ "Id", "Tab", "Note", "Name", "Desc", "Consignor", "RefreshType", "MemberType", "Level", "BuildScore", "MemberLimit", "Tags", "ExtraTags", "UnlockConditions", "Sort", "Time1", "RewardPreview1", "BonusPreview1", "Time2", "RewardPreview2", "BonusPreview2", "Time3", "RewardPreview3", "BonusPreview3", "Time4", "RewardPreview4", "BonusPreview4" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Agent : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Agent()); - 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.AgentReflection.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 Agent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Agent(Agent other) : this() { - id_ = other.id_; - tab_ = other.tab_; - note_ = other.note_; - name_ = other.name_; - desc_ = other.desc_; - consignor_ = other.consignor_; - refreshType_ = other.refreshType_; - memberType_ = other.memberType_; - level_ = other.level_; - buildScore_ = other.buildScore_; - memberLimit_ = other.memberLimit_; - tags_ = other.tags_.Clone(); - extraTags_ = other.extraTags_.Clone(); - unlockConditions_ = other.unlockConditions_; - sort_ = other.sort_; - time1_ = other.time1_; - rewardPreview1_ = other.rewardPreview1_; - bonusPreview1_ = other.bonusPreview1_; - time2_ = other.time2_; - rewardPreview2_ = other.rewardPreview2_; - bonusPreview2_ = other.bonusPreview2_; - time3_ = other.time3_; - rewardPreview3_ = other.rewardPreview3_; - bonusPreview3_ = other.bonusPreview3_; - time4_ = other.time4_; - rewardPreview4_ = other.rewardPreview4_; - bonusPreview4_ = other.bonusPreview4_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Agent Clone() { - return new Agent(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 "tab" field. - public const int TabFieldNumber = 2; - private int tab_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tab { - get { return tab_; } - set { - tab_ = value; - } - } - - /// Field number for the "note" field. - public const int NoteFieldNumber = 3; - private string note_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Note { - get { return note_; } - set { - note_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "consignor" field. - public const int ConsignorFieldNumber = 6; - private string consignor_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Consignor { - get { return consignor_; } - set { - consignor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "refresh_type" field. - public const int RefreshTypeFieldNumber = 7; - private int refreshType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshType { - get { return refreshType_; } - set { - refreshType_ = value; - } - } - - /// Field number for the "member_type" field. - public const int MemberTypeFieldNumber = 8; - private int memberType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MemberType { - get { return memberType_; } - set { - memberType_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 9; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "build_score" field. - public const int BuildScoreFieldNumber = 10; - private int buildScore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuildScore { - get { return buildScore_; } - set { - buildScore_ = value; - } - } - - /// Field number for the "member_limit" field. - public const int MemberLimitFieldNumber = 11; - private int memberLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MemberLimit { - get { return memberLimit_; } - set { - memberLimit_ = value; - } - } - - /// Field number for the "tags" field. - public const int TagsFieldNumber = 12; - private static readonly pb::FieldCodec _repeated_tags_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Tags { - get { return tags_; } - } - - /// Field number for the "extra_tags" field. - public const int ExtraTagsFieldNumber = 13; - private static readonly pb::FieldCodec _repeated_extraTags_codec - = pb::FieldCodec.ForInt32(106); - private readonly pbc::RepeatedField extraTags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ExtraTags { - get { return extraTags_; } - } - - /// Field number for the "unlock_conditions" field. - public const int UnlockConditionsFieldNumber = 14; - private string unlockConditions_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockConditions { - get { return unlockConditions_; } - set { - unlockConditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 15; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "time1" field. - public const int Time1FieldNumber = 16; - private int time1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Time1 { - get { return time1_; } - set { - time1_ = value; - } - } - - /// Field number for the "reward_preview1" field. - public const int RewardPreview1FieldNumber = 17; - private string rewardPreview1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardPreview1 { - get { return rewardPreview1_; } - set { - rewardPreview1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bonus_preview1" field. - public const int BonusPreview1FieldNumber = 18; - private string bonusPreview1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BonusPreview1 { - get { return bonusPreview1_; } - set { - bonusPreview1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "time2" field. - public const int Time2FieldNumber = 19; - private int time2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Time2 { - get { return time2_; } - set { - time2_ = value; - } - } - - /// Field number for the "reward_preview2" field. - public const int RewardPreview2FieldNumber = 20; - private string rewardPreview2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardPreview2 { - get { return rewardPreview2_; } - set { - rewardPreview2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bonus_preview2" field. - public const int BonusPreview2FieldNumber = 21; - private string bonusPreview2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BonusPreview2 { - get { return bonusPreview2_; } - set { - bonusPreview2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "time3" field. - public const int Time3FieldNumber = 22; - private int time3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Time3 { - get { return time3_; } - set { - time3_ = value; - } - } - - /// Field number for the "reward_preview3" field. - public const int RewardPreview3FieldNumber = 23; - private string rewardPreview3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardPreview3 { - get { return rewardPreview3_; } - set { - rewardPreview3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bonus_preview3" field. - public const int BonusPreview3FieldNumber = 24; - private string bonusPreview3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BonusPreview3 { - get { return bonusPreview3_; } - set { - bonusPreview3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "time4" field. - public const int Time4FieldNumber = 25; - private int time4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Time4 { - get { return time4_; } - set { - time4_ = value; - } - } - - /// Field number for the "reward_preview4" field. - public const int RewardPreview4FieldNumber = 26; - private string rewardPreview4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardPreview4 { - get { return rewardPreview4_; } - set { - rewardPreview4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bonus_preview4" field. - public const int BonusPreview4FieldNumber = 27; - private string bonusPreview4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BonusPreview4 { - get { return bonusPreview4_; } - set { - bonusPreview4_ = 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 Agent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Agent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Tab != other.Tab) return false; - if (Note != other.Note) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (Consignor != other.Consignor) return false; - if (RefreshType != other.RefreshType) return false; - if (MemberType != other.MemberType) return false; - if (Level != other.Level) return false; - if (BuildScore != other.BuildScore) return false; - if (MemberLimit != other.MemberLimit) return false; - if(!tags_.Equals(other.tags_)) return false; - if(!extraTags_.Equals(other.extraTags_)) return false; - if (UnlockConditions != other.UnlockConditions) return false; - if (Sort != other.Sort) return false; - if (Time1 != other.Time1) return false; - if (RewardPreview1 != other.RewardPreview1) return false; - if (BonusPreview1 != other.BonusPreview1) return false; - if (Time2 != other.Time2) return false; - if (RewardPreview2 != other.RewardPreview2) return false; - if (BonusPreview2 != other.BonusPreview2) return false; - if (Time3 != other.Time3) return false; - if (RewardPreview3 != other.RewardPreview3) return false; - if (BonusPreview3 != other.BonusPreview3) return false; - if (Time4 != other.Time4) return false; - if (RewardPreview4 != other.RewardPreview4) return false; - if (BonusPreview4 != other.BonusPreview4) 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 (Tab != 0) hash ^= Tab.GetHashCode(); - if (Note.Length != 0) hash ^= Note.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Consignor.Length != 0) hash ^= Consignor.GetHashCode(); - if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); - if (MemberType != 0) hash ^= MemberType.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (BuildScore != 0) hash ^= BuildScore.GetHashCode(); - if (MemberLimit != 0) hash ^= MemberLimit.GetHashCode(); - hash ^= tags_.GetHashCode(); - hash ^= extraTags_.GetHashCode(); - if (UnlockConditions.Length != 0) hash ^= UnlockConditions.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (Time1 != 0) hash ^= Time1.GetHashCode(); - if (RewardPreview1.Length != 0) hash ^= RewardPreview1.GetHashCode(); - if (BonusPreview1.Length != 0) hash ^= BonusPreview1.GetHashCode(); - if (Time2 != 0) hash ^= Time2.GetHashCode(); - if (RewardPreview2.Length != 0) hash ^= RewardPreview2.GetHashCode(); - if (BonusPreview2.Length != 0) hash ^= BonusPreview2.GetHashCode(); - if (Time3 != 0) hash ^= Time3.GetHashCode(); - if (RewardPreview3.Length != 0) hash ^= RewardPreview3.GetHashCode(); - if (BonusPreview3.Length != 0) hash ^= BonusPreview3.GetHashCode(); - if (Time4 != 0) hash ^= Time4.GetHashCode(); - if (RewardPreview4.Length != 0) hash ^= RewardPreview4.GetHashCode(); - if (BonusPreview4.Length != 0) hash ^= BonusPreview4.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 (Tab != 0) { - output.WriteRawTag(16); - output.WriteInt32(Tab); - } - if (Note.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Note); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc); - } - if (Consignor.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Consignor); - } - if (RefreshType != 0) { - output.WriteRawTag(56); - output.WriteInt32(RefreshType); - } - if (MemberType != 0) { - output.WriteRawTag(64); - output.WriteInt32(MemberType); - } - if (Level != 0) { - output.WriteRawTag(72); - output.WriteInt32(Level); - } - if (BuildScore != 0) { - output.WriteRawTag(80); - output.WriteInt32(BuildScore); - } - if (MemberLimit != 0) { - output.WriteRawTag(88); - output.WriteInt32(MemberLimit); - } - tags_.WriteTo(output, _repeated_tags_codec); - extraTags_.WriteTo(output, _repeated_extraTags_codec); - if (UnlockConditions.Length != 0) { - output.WriteRawTag(114); - output.WriteString(UnlockConditions); - } - if (Sort != 0) { - output.WriteRawTag(120); - output.WriteInt32(Sort); - } - if (Time1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Time1); - } - if (RewardPreview1.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(RewardPreview1); - } - if (BonusPreview1.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(BonusPreview1); - } - if (Time2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Time2); - } - if (RewardPreview2.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(RewardPreview2); - } - if (BonusPreview2.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(BonusPreview2); - } - if (Time3 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(Time3); - } - if (RewardPreview3.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(RewardPreview3); - } - if (BonusPreview3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(BonusPreview3); - } - if (Time4 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(Time4); - } - if (RewardPreview4.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(RewardPreview4); - } - if (BonusPreview4.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(BonusPreview4); - } - 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 (Tab != 0) { - output.WriteRawTag(16); - output.WriteInt32(Tab); - } - if (Note.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Note); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc); - } - if (Consignor.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Consignor); - } - if (RefreshType != 0) { - output.WriteRawTag(56); - output.WriteInt32(RefreshType); - } - if (MemberType != 0) { - output.WriteRawTag(64); - output.WriteInt32(MemberType); - } - if (Level != 0) { - output.WriteRawTag(72); - output.WriteInt32(Level); - } - if (BuildScore != 0) { - output.WriteRawTag(80); - output.WriteInt32(BuildScore); - } - if (MemberLimit != 0) { - output.WriteRawTag(88); - output.WriteInt32(MemberLimit); - } - tags_.WriteTo(ref output, _repeated_tags_codec); - extraTags_.WriteTo(ref output, _repeated_extraTags_codec); - if (UnlockConditions.Length != 0) { - output.WriteRawTag(114); - output.WriteString(UnlockConditions); - } - if (Sort != 0) { - output.WriteRawTag(120); - output.WriteInt32(Sort); - } - if (Time1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Time1); - } - if (RewardPreview1.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(RewardPreview1); - } - if (BonusPreview1.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(BonusPreview1); - } - if (Time2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Time2); - } - if (RewardPreview2.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(RewardPreview2); - } - if (BonusPreview2.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(BonusPreview2); - } - if (Time3 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(Time3); - } - if (RewardPreview3.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(RewardPreview3); - } - if (BonusPreview3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(BonusPreview3); - } - if (Time4 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(Time4); - } - if (RewardPreview4.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(RewardPreview4); - } - if (BonusPreview4.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(BonusPreview4); - } - 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 (Tab != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tab); - } - if (Note.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Consignor.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Consignor); - } - if (RefreshType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); - } - if (MemberType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MemberType); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (BuildScore != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuildScore); - } - if (MemberLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MemberLimit); - } - size += tags_.CalculateSize(_repeated_tags_codec); - size += extraTags_.CalculateSize(_repeated_extraTags_codec); - if (UnlockConditions.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockConditions); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Time1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time1); - } - if (RewardPreview1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview1); - } - if (BonusPreview1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview1); - } - if (Time2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time2); - } - if (RewardPreview2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview2); - } - if (BonusPreview2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview2); - } - if (Time3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time3); - } - if (RewardPreview3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview3); - } - if (BonusPreview3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview3); - } - if (Time4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time4); - } - if (RewardPreview4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview4); - } - if (BonusPreview4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview4); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Agent other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Tab != 0) { - Tab = other.Tab; - } - if (other.Note.Length != 0) { - Note = other.Note; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Consignor.Length != 0) { - Consignor = other.Consignor; - } - if (other.RefreshType != 0) { - RefreshType = other.RefreshType; - } - if (other.MemberType != 0) { - MemberType = other.MemberType; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.BuildScore != 0) { - BuildScore = other.BuildScore; - } - if (other.MemberLimit != 0) { - MemberLimit = other.MemberLimit; - } - tags_.Add(other.tags_); - extraTags_.Add(other.extraTags_); - if (other.UnlockConditions.Length != 0) { - UnlockConditions = other.UnlockConditions; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Time1 != 0) { - Time1 = other.Time1; - } - if (other.RewardPreview1.Length != 0) { - RewardPreview1 = other.RewardPreview1; - } - if (other.BonusPreview1.Length != 0) { - BonusPreview1 = other.BonusPreview1; - } - if (other.Time2 != 0) { - Time2 = other.Time2; - } - if (other.RewardPreview2.Length != 0) { - RewardPreview2 = other.RewardPreview2; - } - if (other.BonusPreview2.Length != 0) { - BonusPreview2 = other.BonusPreview2; - } - if (other.Time3 != 0) { - Time3 = other.Time3; - } - if (other.RewardPreview3.Length != 0) { - RewardPreview3 = other.RewardPreview3; - } - if (other.BonusPreview3.Length != 0) { - BonusPreview3 = other.BonusPreview3; - } - if (other.Time4 != 0) { - Time4 = other.Time4; - } - if (other.RewardPreview4.Length != 0) { - RewardPreview4 = other.RewardPreview4; - } - if (other.BonusPreview4.Length != 0) { - BonusPreview4 = other.BonusPreview4; - } - _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: { - Tab = input.ReadInt32(); - break; - } - case 26: { - Note = input.ReadString(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Consignor = input.ReadString(); - break; - } - case 56: { - RefreshType = input.ReadInt32(); - break; - } - case 64: { - MemberType = input.ReadInt32(); - break; - } - case 72: { - Level = input.ReadInt32(); - break; - } - case 80: { - BuildScore = input.ReadInt32(); - break; - } - case 88: { - MemberLimit = input.ReadInt32(); - break; - } - case 98: - case 96: { - tags_.AddEntriesFrom(input, _repeated_tags_codec); - break; - } - case 106: - case 104: { - extraTags_.AddEntriesFrom(input, _repeated_extraTags_codec); - break; - } - case 114: { - UnlockConditions = input.ReadString(); - break; - } - case 120: { - Sort = input.ReadInt32(); - break; - } - case 128: { - Time1 = input.ReadInt32(); - break; - } - case 138: { - RewardPreview1 = input.ReadString(); - break; - } - case 146: { - BonusPreview1 = input.ReadString(); - break; - } - case 152: { - Time2 = input.ReadInt32(); - break; - } - case 162: { - RewardPreview2 = input.ReadString(); - break; - } - case 170: { - BonusPreview2 = input.ReadString(); - break; - } - case 176: { - Time3 = input.ReadInt32(); - break; - } - case 186: { - RewardPreview3 = input.ReadString(); - break; - } - case 194: { - BonusPreview3 = input.ReadString(); - break; - } - case 200: { - Time4 = input.ReadInt32(); - break; - } - case 210: { - RewardPreview4 = input.ReadString(); - break; - } - case 218: { - BonusPreview4 = 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: { - Tab = input.ReadInt32(); - break; - } - case 26: { - Note = input.ReadString(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Consignor = input.ReadString(); - break; - } - case 56: { - RefreshType = input.ReadInt32(); - break; - } - case 64: { - MemberType = input.ReadInt32(); - break; - } - case 72: { - Level = input.ReadInt32(); - break; - } - case 80: { - BuildScore = input.ReadInt32(); - break; - } - case 88: { - MemberLimit = input.ReadInt32(); - break; - } - case 98: - case 96: { - tags_.AddEntriesFrom(ref input, _repeated_tags_codec); - break; - } - case 106: - case 104: { - extraTags_.AddEntriesFrom(ref input, _repeated_extraTags_codec); - break; - } - case 114: { - UnlockConditions = input.ReadString(); - break; - } - case 120: { - Sort = input.ReadInt32(); - break; - } - case 128: { - Time1 = input.ReadInt32(); - break; - } - case 138: { - RewardPreview1 = input.ReadString(); - break; - } - case 146: { - BonusPreview1 = input.ReadString(); - break; - } - case 152: { - Time2 = input.ReadInt32(); - break; - } - case 162: { - RewardPreview2 = input.ReadString(); - break; - } - case 170: { - BonusPreview2 = input.ReadString(); - break; - } - case 176: { - Time3 = input.ReadInt32(); - break; - } - case 186: { - RewardPreview3 = input.ReadString(); - break; - } - case 194: { - BonusPreview3 = input.ReadString(); - break; - } - case 200: { - Time4 = input.ReadInt32(); - break; - } - case 210: { - RewardPreview4 = input.ReadString(); - break; - } - case 218: { - BonusPreview4 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AgentApply.cs b/Novaria.Common/Protos/AgentApply.cs new file mode 100644 index 0000000..7a38557 --- /dev/null +++ b/Novaria.Common/Protos/AgentApply.cs @@ -0,0 +1,1110 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: agent_apply.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 Proto { + + /// Holder for reflection information generated from agent_apply.proto + public static partial class AgentApplyReflection { + + #region Descriptor + /// File descriptor for agent_apply.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AgentApplyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFhZ2VudF9hcHBseS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byJLCg1B", + "Z2VudEFwcGx5UmVxEiQKBUFwcGx5GAEgAygLMhUucHJvdG8uQWdlbnRBcHBs", + "eUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMImkKDkFnZW50QXBwbHlJbmZv", + "EgoKAklkGAEgASgNEhMKC1Byb2Nlc3NUaW1lGAIgASgNEg8KB0NoYXJJZHMY", + "AyADKA0SDwoHQnVpbGRJZBgEIAEoBBIUCgtOZXh0UGFja2FnZRj/DyABKAwi", + "SwoOQWdlbnRBcHBseVJlc3ASIwoFSW5mb3MYASADKAsyFC5wcm90by5BZ2Vu", + "dFJlc3BJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDCJECg1BZ2VudFJlc3BJ", + "bmZvEgoKAklkGAEgASgNEhEKCUJlZ2luVGltZRgCIAEoAxIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentApplyReq), global::Proto.AgentApplyReq.Parser, new[]{ "Apply", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentApplyInfo), global::Proto.AgentApplyInfo.Parser, new[]{ "Id", "ProcessTime", "CharIds", "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentApplyResp), global::Proto.AgentApplyResp.Parser, new[]{ "Infos", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentRespInfo), global::Proto.AgentRespInfo.Parser, new[]{ "Id", "BeginTime", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentApplyReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentApplyReq()); + 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::Proto.AgentApplyReflection.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 AgentApplyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyReq(AgentApplyReq other) : this() { + apply_ = other.apply_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyReq Clone() { + return new AgentApplyReq(this); + } + + /// Field number for the "Apply" field. + public const int ApplyFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_apply_codec + = pb::FieldCodec.ForMessage(10, global::Proto.AgentApplyInfo.Parser); + private readonly pbc::RepeatedField apply_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Apply { + get { return apply_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentApplyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentApplyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!apply_.Equals(other.apply_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= apply_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + apply_.WriteTo(output, _repeated_apply_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + apply_.WriteTo(ref output, _repeated_apply_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += apply_.CalculateSize(_repeated_apply_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentApplyReq other) { + if (other == null) { + return; + } + apply_.Add(other.apply_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + apply_.AddEntriesFrom(input, _repeated_apply_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + apply_.AddEntriesFrom(ref input, _repeated_apply_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentApplyInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentApplyInfo()); + 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::Proto.AgentApplyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyInfo(AgentApplyInfo other) : this() { + id_ = other.id_; + processTime_ = other.processTime_; + charIds_ = other.charIds_.Clone(); + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyInfo Clone() { + return new AgentApplyInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "ProcessTime" field. + public const int ProcessTimeFieldNumber = 2; + private uint processTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ProcessTime { + get { return processTime_; } + set { + processTime_ = value; + } + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 4; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentApplyInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentApplyInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ProcessTime != other.ProcessTime) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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 (ProcessTime != 0) hash ^= ProcessTime.GetHashCode(); + hash ^= charIds_.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (ProcessTime != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ProcessTime); + } + charIds_.WriteTo(output, _repeated_charIds_codec); + if (BuildId != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (ProcessTime != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ProcessTime); + } + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (BuildId != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (ProcessTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProcessTime); + } + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentApplyInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ProcessTime != 0) { + ProcessTime = other.ProcessTime; + } + charIds_.Add(other.charIds_); + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + ProcessTime = input.ReadUInt32(); + break; + } + case 26: + case 24: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 32: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + ProcessTime = input.ReadUInt32(); + break; + } + case 26: + case 24: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 32: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentApplyResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentApplyResp()); + 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::Proto.AgentApplyReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyResp(AgentApplyResp other) : this() { + infos_ = other.infos_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentApplyResp Clone() { + return new AgentApplyResp(this); + } + + /// Field number for the "Infos" field. + public const int InfosFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_infos_codec + = pb::FieldCodec.ForMessage(10, global::Proto.AgentRespInfo.Parser); + private readonly pbc::RepeatedField infos_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Infos { + get { return infos_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentApplyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentApplyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!infos_.Equals(other.infos_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= infos_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + infos_.WriteTo(output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + infos_.WriteTo(ref output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += infos_.CalculateSize(_repeated_infos_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentApplyResp other) { + if (other == null) { + return; + } + infos_.Add(other.infos_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentRespInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentRespInfo()); + 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::Proto.AgentApplyReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRespInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRespInfo(AgentRespInfo other) : this() { + id_ = other.id_; + beginTime_ = other.beginTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRespInfo Clone() { + return new AgentRespInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "BeginTime" field. + public const int BeginTimeFieldNumber = 2; + private long beginTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long BeginTime { + get { return beginTime_; } + set { + beginTime_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentRespInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentRespInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BeginTime != other.BeginTime) return false; + if (NextPackage != other.NextPackage) 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 (BeginTime != 0L) hash ^= BeginTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (BeginTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(BeginTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (BeginTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(BeginTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (BeginTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(BeginTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentRespInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BeginTime != 0L) { + BeginTime = other.BeginTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + BeginTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + BeginTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/AgentGiveUp.cs b/Novaria.Common/Protos/AgentGiveUp.cs new file mode 100644 index 0000000..0e884a1 --- /dev/null +++ b/Novaria.Common/Protos/AgentGiveUp.cs @@ -0,0 +1,544 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: agent_give_up.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 Proto { + + /// Holder for reflection information generated from agent_give_up.proto + public static partial class AgentGiveUpReflection { + + #region Descriptor + /// File descriptor for agent_give_up.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AgentGiveUpReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChNhZ2VudF9naXZlX3VwLnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIjIK", + "DkFnZW50R2l2ZVVwUmVxEgoKAklkGAEgASgNEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCJJCg9BZ2VudEdpdmVVcFJlc3ASDwoHQ2hhcklkcxgBIAMoDRIPCgdC", + "dWlsZElkGAIgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentGiveUpReq), global::Proto.AgentGiveUpReq.Parser, new[]{ "Id", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentGiveUpResp), global::Proto.AgentGiveUpResp.Parser, new[]{ "CharIds", "BuildId", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentGiveUpReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentGiveUpReq()); + 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::Proto.AgentGiveUpReflection.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 AgentGiveUpReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGiveUpReq(AgentGiveUpReq other) : this() { + id_ = other.id_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGiveUpReq Clone() { + return new AgentGiveUpReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentGiveUpReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentGiveUpReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NextPackage != other.NextPackage) 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 (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentGiveUpReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentGiveUpResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentGiveUpResp()); + 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::Proto.AgentGiveUpReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGiveUpResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGiveUpResp(AgentGiveUpResp other) : this() { + charIds_ = other.charIds_.Clone(); + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentGiveUpResp Clone() { + return new AgentGiveUpResp(this); + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 2; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentGiveUpResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentGiveUpResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!charIds_.Equals(other.charIds_)) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= charIds_.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + charIds_.WriteTo(output, _repeated_charIds_codec); + if (BuildId != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (BuildId != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentGiveUpResp other) { + if (other == null) { + return; + } + charIds_.Add(other.charIds_); + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 16: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 16: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/AgentRewardReceive.cs b/Novaria.Common/Protos/AgentRewardReceive.cs new file mode 100644 index 0000000..8dee920 --- /dev/null +++ b/Novaria.Common/Protos/AgentRewardReceive.cs @@ -0,0 +1,927 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: agent_reward_receive.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 Proto { + + /// Holder for reflection information generated from agent_reward_receive.proto + public static partial class AgentRewardReceiveReflection { + + #region Descriptor + /// File descriptor for agent_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AgentRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChphZ2VudF9yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJvdG8aDHB1YmxpYy5w", + "cm90byI5ChVBZ2VudFJld2FyZFJlY2VpdmVSZXESCgoCSWQYASABKA0SFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMIqEBChZBZ2VudFJld2FyZFJlY2VpdmVSZXNw", + "Eg8KB0NoYXJJZHMYASADKA0SEAoIQnVpbGRJZHMYAiADKAQSKwoLUmV3YXJk", + "U2hvd3MYAyADKAsyFi5wcm90by5BZ2VudFJld2FyZFNob3cSIQoGQ2hhbmdl", + "GAQgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0UGFja2FnZRj/DyAB", + "KAwimwEKD0FnZW50UmV3YXJkU2hvdxIKCgJJZBgBIAEoDRIfCgdSZXdhcmRz", + "GAIgAygLMg4ucHJvdG8uSXRlbVRwbBIdCgVCb251cxgDIAMoCzIOLnByb3Rv", + "Lkl0ZW1UcGwSJgoOU3BlY2lhbFJld2FyZHMYBCADKAsyDi5wcm90by5JdGVt", + "VHBsEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentRewardReceiveReq), global::Proto.AgentRewardReceiveReq.Parser, new[]{ "Id", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentRewardReceiveResp), global::Proto.AgentRewardReceiveResp.Parser, new[]{ "CharIds", "BuildIds", "RewardShows", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentRewardShow), global::Proto.AgentRewardShow.Parser, new[]{ "Id", "Rewards", "Bonus", "SpecialRewards", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentRewardReceiveReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentRewardReceiveReq()); + 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::Proto.AgentRewardReceiveReflection.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 AgentRewardReceiveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardReceiveReq(AgentRewardReceiveReq other) : this() { + id_ = other.id_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardReceiveReq Clone() { + return new AgentRewardReceiveReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentRewardReceiveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentRewardReceiveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NextPackage != other.NextPackage) 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 (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentRewardReceiveReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentRewardReceiveResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentRewardReceiveResp()); + 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::Proto.AgentRewardReceiveReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardReceiveResp(AgentRewardReceiveResp other) : this() { + charIds_ = other.charIds_.Clone(); + buildIds_ = other.buildIds_.Clone(); + rewardShows_ = other.rewardShows_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardReceiveResp Clone() { + return new AgentRewardReceiveResp(this); + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "BuildIds" field. + public const int BuildIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_buildIds_codec + = pb::FieldCodec.ForUInt64(18); + private readonly pbc::RepeatedField buildIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BuildIds { + get { return buildIds_; } + } + + /// Field number for the "RewardShows" field. + public const int RewardShowsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_rewardShows_codec + = pb::FieldCodec.ForMessage(26, global::Proto.AgentRewardShow.Parser); + private readonly pbc::RepeatedField rewardShows_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RewardShows { + get { return rewardShows_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 4; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!charIds_.Equals(other.charIds_)) return false; + if(!buildIds_.Equals(other.buildIds_)) return false; + if(!rewardShows_.Equals(other.rewardShows_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= charIds_.GetHashCode(); + hash ^= buildIds_.GetHashCode(); + hash ^= rewardShows_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + charIds_.WriteTo(output, _repeated_charIds_codec); + buildIds_.WriteTo(output, _repeated_buildIds_codec); + rewardShows_.WriteTo(output, _repeated_rewardShows_codec); + if (change_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + charIds_.WriteTo(ref output, _repeated_charIds_codec); + buildIds_.WriteTo(ref output, _repeated_buildIds_codec); + rewardShows_.WriteTo(ref output, _repeated_rewardShows_codec); + if (change_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += charIds_.CalculateSize(_repeated_charIds_codec); + size += buildIds_.CalculateSize(_repeated_buildIds_codec); + size += rewardShows_.CalculateSize(_repeated_rewardShows_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentRewardReceiveResp other) { + if (other == null) { + return; + } + charIds_.Add(other.charIds_); + buildIds_.Add(other.buildIds_); + rewardShows_.Add(other.rewardShows_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 18: + case 16: { + buildIds_.AddEntriesFrom(input, _repeated_buildIds_codec); + break; + } + case 26: { + rewardShows_.AddEntriesFrom(input, _repeated_rewardShows_codec); + break; + } + case 34: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 18: + case 16: { + buildIds_.AddEntriesFrom(ref input, _repeated_buildIds_codec); + break; + } + case 26: { + rewardShows_.AddEntriesFrom(ref input, _repeated_rewardShows_codec); + break; + } + case 34: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentRewardShow : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentRewardShow()); + 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::Proto.AgentRewardReceiveReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardShow() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardShow(AgentRewardShow other) : this() { + id_ = other.id_; + rewards_ = other.rewards_.Clone(); + bonus_ = other.bonus_.Clone(); + specialRewards_ = other.specialRewards_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentRewardShow Clone() { + return new AgentRewardShow(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Rewards" field. + public const int RewardsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_rewards_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField rewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Rewards { + get { return rewards_; } + } + + /// Field number for the "Bonus" field. + public const int BonusFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_bonus_codec + = pb::FieldCodec.ForMessage(26, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField bonus_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Bonus { + get { return bonus_; } + } + + /// Field number for the "SpecialRewards" field. + public const int SpecialRewardsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_specialRewards_codec + = pb::FieldCodec.ForMessage(34, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField specialRewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SpecialRewards { + get { return specialRewards_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentRewardShow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentRewardShow other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!rewards_.Equals(other.rewards_)) return false; + if(!bonus_.Equals(other.bonus_)) return false; + if(!specialRewards_.Equals(other.specialRewards_)) return false; + if (NextPackage != other.NextPackage) 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(); + hash ^= rewards_.GetHashCode(); + hash ^= bonus_.GetHashCode(); + hash ^= specialRewards_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + rewards_.WriteTo(output, _repeated_rewards_codec); + bonus_.WriteTo(output, _repeated_bonus_codec); + specialRewards_.WriteTo(output, _repeated_specialRewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + rewards_.WriteTo(ref output, _repeated_rewards_codec); + bonus_.WriteTo(ref output, _repeated_bonus_codec); + specialRewards_.WriteTo(ref output, _repeated_specialRewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + size += rewards_.CalculateSize(_repeated_rewards_codec); + size += bonus_.CalculateSize(_repeated_bonus_codec); + size += specialRewards_.CalculateSize(_repeated_specialRewards_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentRewardShow other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + rewards_.Add(other.rewards_); + bonus_.Add(other.bonus_); + specialRewards_.Add(other.specialRewards_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 18: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 26: { + bonus_.AddEntriesFrom(input, _repeated_bonus_codec); + break; + } + case 34: { + specialRewards_.AddEntriesFrom(input, _repeated_specialRewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 26: { + bonus_.AddEntriesFrom(ref input, _repeated_bonus_codec); + break; + } + case 34: { + specialRewards_.AddEntriesFrom(ref input, _repeated_specialRewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/AgentSpecialPerformance.cs b/Novaria.Common/Protos/AgentSpecialPerformance.cs deleted file mode 100644 index 1a53375..0000000 --- a/Novaria.Common/Protos/AgentSpecialPerformance.cs +++ /dev/null @@ -1,382 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AgentSpecialPerformance.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 AgentSpecialPerformance.proto - public static partial class AgentSpecialPerformanceReflection { - - #region Descriptor - /// File descriptor for AgentSpecialPerformance.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AgentSpecialPerformanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1BZ2VudFNwZWNpYWxQZXJmb3JtYW5jZS5wcm90byJrChdBZ2VudFNwZWNp", - "YWxQZXJmb3JtYW5jZRIKCgJpZBgBIAEoBRIPCgdjaGFyX2lkGAIgAygFEg4K", - "BndlaWdodBgDIAEoBRILCgNhdmcYBCABKAkSFgoOYV92X2dfZ3JvdXBfaWQY", - "BSABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AgentSpecialPerformance), global::Nova.Client.AgentSpecialPerformance.Parser, new[]{ "Id", "CharId", "Weight", "Avg", "AVGGroupId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AgentSpecialPerformance : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentSpecialPerformance()); - 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.AgentSpecialPerformanceReflection.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 AgentSpecialPerformance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AgentSpecialPerformance(AgentSpecialPerformance other) : this() { - id_ = other.id_; - charId_ = other.charId_.Clone(); - weight_ = other.weight_; - avg_ = other.avg_; - aVGGroupId_ = other.aVGGroupId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AgentSpecialPerformance Clone() { - return new AgentSpecialPerformance(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 "char_id" field. - public const int CharIdFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_charId_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField charId_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CharId { - get { return charId_; } - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 3; - private int weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "avg" field. - public const int AvgFieldNumber = 4; - private string avg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Avg { - get { return avg_; } - set { - avg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "a_v_g_group_id" field. - public const int AVGGroupIdFieldNumber = 5; - private string aVGGroupId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AVGGroupId { - get { return aVGGroupId_; } - set { - aVGGroupId_ = 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 AgentSpecialPerformance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AgentSpecialPerformance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if(!charId_.Equals(other.charId_)) return false; - if (Weight != other.Weight) return false; - if (Avg != other.Avg) return false; - if (AVGGroupId != other.AVGGroupId) 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(); - hash ^= charId_.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); - if (Avg.Length != 0) hash ^= Avg.GetHashCode(); - if (AVGGroupId.Length != 0) hash ^= AVGGroupId.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); - } - charId_.WriteTo(output, _repeated_charId_codec); - if (Weight != 0) { - output.WriteRawTag(24); - output.WriteInt32(Weight); - } - if (Avg.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Avg); - } - if (AVGGroupId.Length != 0) { - output.WriteRawTag(42); - output.WriteString(AVGGroupId); - } - 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); - } - charId_.WriteTo(ref output, _repeated_charId_codec); - if (Weight != 0) { - output.WriteRawTag(24); - output.WriteInt32(Weight); - } - if (Avg.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Avg); - } - if (AVGGroupId.Length != 0) { - output.WriteRawTag(42); - output.WriteString(AVGGroupId); - } - 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); - } - size += charId_.CalculateSize(_repeated_charId_codec); - if (Weight != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); - } - if (Avg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Avg); - } - if (AVGGroupId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGGroupId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AgentSpecialPerformance other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - charId_.Add(other.charId_); - if (other.Weight != 0) { - Weight = other.Weight; - } - if (other.Avg.Length != 0) { - Avg = other.Avg; - } - if (other.AVGGroupId.Length != 0) { - AVGGroupId = other.AVGGroupId; - } - _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: - case 16: { - charId_.AddEntriesFrom(input, _repeated_charId_codec); - break; - } - case 24: { - Weight = input.ReadInt32(); - break; - } - case 34: { - Avg = input.ReadString(); - break; - } - case 42: { - AVGGroupId = 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 18: - case 16: { - charId_.AddEntriesFrom(ref input, _repeated_charId_codec); - break; - } - case 24: { - Weight = input.ReadInt32(); - break; - } - case 34: { - Avg = input.ReadString(); - break; - } - case 42: { - AVGGroupId = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AgentTab.cs b/Novaria.Common/Protos/AgentTab.cs deleted file mode 100644 index 619ac6d..0000000 --- a/Novaria.Common/Protos/AgentTab.cs +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AgentTab.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 AgentTab.proto - public static partial class AgentTabReflection { - - #region Descriptor - /// File descriptor for AgentTab.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AgentTabReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5BZ2VudFRhYi5wcm90byJACghBZ2VudFRhYhIKCgJpZBgBIAEoBRIMCgRu", - "YW1lGAIgASgJEgoKAmJnGAMgASgJEg4KBnNwX3RhZxgEIAEoCEIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AgentTab), global::Nova.Client.AgentTab.Parser, new[]{ "Id", "Name", "Bg", "SpTag" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AgentTab : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AgentTab()); - 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.AgentTabReflection.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 AgentTab() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AgentTab(AgentTab other) : this() { - id_ = other.id_; - name_ = other.name_; - bg_ = other.bg_; - spTag_ = other.spTag_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AgentTab Clone() { - return new AgentTab(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 "name" field. - 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"); - } - } - - /// Field number for the "bg" field. - public const int BgFieldNumber = 3; - private string bg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bg { - get { return bg_; } - set { - bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sp_tag" field. - public const int SpTagFieldNumber = 4; - private bool spTag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool SpTag { - get { return spTag_; } - set { - spTag_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AgentTab); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AgentTab 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 (Bg != other.Bg) return false; - if (SpTag != other.SpTag) 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 (Bg.Length != 0) hash ^= Bg.GetHashCode(); - if (SpTag != false) hash ^= SpTag.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 (Bg.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Bg); - } - if (SpTag != false) { - output.WriteRawTag(32); - output.WriteBool(SpTag); - } - 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 (Bg.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Bg); - } - if (SpTag != false) { - output.WriteRawTag(32); - output.WriteBool(SpTag); - } - 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 (Bg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); - } - if (SpTag != 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(AgentTab other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Bg.Length != 0) { - Bg = other.Bg; - } - if (other.SpTag != false) { - SpTag = other.SpTag; - } - _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 26: { - Bg = input.ReadString(); - break; - } - case 32: { - SpTag = 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 26: { - Bg = input.ReadString(); - break; - } - case 32: { - SpTag = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Attribute.cs b/Novaria.Common/Protos/Attribute.cs deleted file mode 100644 index 8896655..0000000 --- a/Novaria.Common/Protos/Attribute.cs +++ /dev/null @@ -1,3238 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Attribute.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 Attribute.proto - public static partial class AttributeReflection { - - #region Descriptor - /// File descriptor for Attribute.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9BdHRyaWJ1dGUucHJvdG8irw0KCUF0dHJpYnV0ZRIKCgJpZBgBIAEoCRIQ", - "Cghncm91cF9pZBgCIAEoBRINCgVicmVhaxgDIAEoBRILCgNsdmwYBCABKAUS", - "CwoDYXRrGAUgASgFEgoKAmhwGAYgASgFEgsKA2RlZhgHIAEoBRIRCgljcml0", - "X3JhdGUYCCABKAUSGAoQbm9ybWFsX2NyaXRfcmF0ZRgJIAEoBRIXCg9za2ls", - "bF9jcml0X3JhdGUYCiABKAUSFwoPdWx0cmFfY3JpdF9yYXRlGAsgASgFEhYK", - "Dm1hcmtfY3JpdF9yYXRlGAwgASgFEhgKEHN1bW1vbl9jcml0X3JhdGUYDSAB", - "KAUSHAoUcHJvamVjdGlsZV9jcml0X3JhdGUYDiABKAUSFwoPb3RoZXJfY3Jp", - "dF9yYXRlGA8gASgFEhcKD2NyaXRfcmVzaXN0YW5jZRgQIAEoBRISCgpjcml0", - "X3Bvd2VyGBEgASgFEhkKEW5vcm1hbF9jcml0X3Bvd2VyGBIgASgFEhgKEHNr", - "aWxsX2NyaXRfcG93ZXIYEyABKAUSGAoQdWx0cmFfY3JpdF9wb3dlchgUIAEo", - "BRIXCg9tYXJrX2NyaXRfcG93ZXIYFSABKAUSGQoRc3VtbW9uX2NyaXRfcG93", - "ZXIYFiABKAUSHQoVcHJvamVjdGlsZV9jcml0X3Bvd2VyGBcgASgFEhgKEG90", - "aGVyX2NyaXRfcG93ZXIYGCABKAUSEAoIaGl0X3JhdGUYGSABKAUSCwoDZXZk", - "GBogASgFEhIKCmRlZl9waWVyY2UYGyABKAUSEgoKZGVmX2lnbm9yZRgcIAEo", - "BRINCgV3X2VfcBgdIAEoBRINCgVmX2VfcBgeIAEoBRINCgVzX2VfcBgfIAEo", - "BRINCgVhX2VfcBggIAEoBRINCgVsX2VfcBghIAEoBRINCgVkX2VfcBgiIAEo", - "BRINCgV3X2VfaRgjIAEoBRINCgVmX2VfaRgkIAEoBRINCgVzX2VfaRglIAEo", - "BRINCgVhX2VfaRgmIAEoBRINCgVsX2VfaRgnIAEoBRINCgVkX2VfaRgoIAEo", - "BRINCgV3X2VfZRgpIAEoBRINCgVmX2VfZRgqIAEoBRINCgVzX2VfZRgrIAEo", - "BRINCgVhX2VfZRgsIAEoBRINCgVsX2VfZRgtIAEoBRINCgVkX2VfZRguIAEo", - "BRINCgV3X2VfchgvIAEoBRINCgVmX2VfchgwIAEoBRINCgVzX2VfchgxIAEo", - "BRINCgVhX2VfchgyIAEoBRINCgVsX2VfchgzIAEoBRINCgVkX2Vfchg0IAEo", - "BRIfChd0b3VnaG5lc3NfZGFtYWdlX2FkanVzdBg1IAEoBRIRCgl0b3VnaG5l", - "c3MYNiABKAUSEAoIc3VwcHJlc3MYNyABKAUSGQoRbl9vX3JfbV9hX2xfZF9t", - "X2cYOCABKAUSFwoPc19rX2lfbF9sX2RfbV9nGDkgASgFEhcKD3VfbF90X3Jf", - "YV9kX21fZxg6IAEoBRIXCg9vX3RfaF9lX3JfZF9tX2cYOyABKAUSHwoXcl9j", - "X2Rfbl9vX3JfbV9hX2xfZF9tX2cYPCABKAUSEwoLUkNEU0tJTExETUcYPSAB", - "KAUSEwoLUkNEVUxUUkFETUcYPiABKAUSEwoLUkNET1RIRVJETUcYPyABKAUS", - "FQoNbV9hX3Jfa19kX21fZxhAIAEoBRIbChNyX2NfZF9tX2Ffcl9rX2RfbV9n", - "GEEgASgFEhkKEXNfdV9tX21fb19uX2RfbV9nGEIgASgFEh8KF3JfY19kX3Nf", - "dV9tX21fb19uX2RfbV9nGEMgASgFEiEKGXBfcl9vX2pfZV9jX3RfaV9sX2Vf", - "ZF9tX2cYRCABKAUSJwofcl9jX2RfcF9yX29fal9lX2NfdF9pX2xfZV9kX21f", - "ZxhFIAEoBRITCgtnX2Vfbl9kX21fZxhGIAEoBRIVCg1kX21fZ19wX2xfdV9z", - "GEcgASgFEhcKD2ZfaV9uX2FfbF9kX21fZxhIIAEoBRIfChdmX2lfbl9hX2xf", - "ZF9tX2dfcF9sX3VfcxhJIAEoBRITCgt3X2VfZV9yX2NfZBhKIAEoBRITCgtm", - "X2VfZV9yX2NfZBhLIAEoBRITCgtzX2VfZV9yX2NfZBhMIAEoBRITCgthX2Vf", - "ZV9yX2NfZBhNIAEoBRITCgtsX2VfZV9yX2NfZBhOIAEoBRITCgtkX2VfZV9y", - "X2NfZBhPIAEoBRIZChFnX2Vfbl9kX21fZ19yX2NfZBhQIAEoBRIbChNkX21f", - "Z19wX2xfdV9zX3JfY19kGFEgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Attribute), global::Nova.Client.Attribute.Parser, new[]{ "Id", "GroupId", "Break", "Lvl", "Atk", "Hp", "Def", "CritRate", "NormalCritRate", "SkillCritRate", "UltraCritRate", "MarkCritRate", "SummonCritRate", "ProjectileCritRate", "OtherCritRate", "CritResistance", "CritPower", "NormalCritPower", "SkillCritPower", "UltraCritPower", "MarkCritPower", "SummonCritPower", "ProjectileCritPower", "OtherCritPower", "HitRate", "Evd", "DefPierce", "DefIgnore", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEI", "FEI", "SEI", "AEI", "LEI", "DEI", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "ToughnessDamageAdjust", "Toughness", "Suppress", "NORMALDMG", "SKILLDMG", "ULTRADMG", "OTHERDMG", "RCDNORMALDMG", "RCDSKILLDMG", "RCDULTRADMG", "RCDOTHERDMG", "MARKDMG", "RCDMARKDMG", "SUMMONDMG", "RCDSUMMONDMG", "PROJECTILEDMG", "RCDPROJECTILEDMG", "GENDMG", "DMGPLUS", "FINALDMG", "FINALDMGPLUS", "WEERCD", "FEERCD", "SEERCD", "AEERCD", "LEERCD", "DEERCD", "GENDMGRCD", "DMGPLUSRCD" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Attribute : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Attribute()); - 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.AttributeReflection.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 Attribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attribute(Attribute other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - break_ = other.break_; - lvl_ = other.lvl_; - atk_ = other.atk_; - hp_ = other.hp_; - def_ = other.def_; - critRate_ = other.critRate_; - normalCritRate_ = other.normalCritRate_; - skillCritRate_ = other.skillCritRate_; - ultraCritRate_ = other.ultraCritRate_; - markCritRate_ = other.markCritRate_; - summonCritRate_ = other.summonCritRate_; - projectileCritRate_ = other.projectileCritRate_; - otherCritRate_ = other.otherCritRate_; - critResistance_ = other.critResistance_; - critPower_ = other.critPower_; - normalCritPower_ = other.normalCritPower_; - skillCritPower_ = other.skillCritPower_; - ultraCritPower_ = other.ultraCritPower_; - markCritPower_ = other.markCritPower_; - summonCritPower_ = other.summonCritPower_; - projectileCritPower_ = other.projectileCritPower_; - otherCritPower_ = other.otherCritPower_; - hitRate_ = other.hitRate_; - evd_ = other.evd_; - defPierce_ = other.defPierce_; - defIgnore_ = other.defIgnore_; - wEP_ = other.wEP_; - fEP_ = other.fEP_; - sEP_ = other.sEP_; - aEP_ = other.aEP_; - lEP_ = other.lEP_; - dEP_ = other.dEP_; - wEI_ = other.wEI_; - fEI_ = other.fEI_; - sEI_ = other.sEI_; - aEI_ = other.aEI_; - lEI_ = other.lEI_; - dEI_ = other.dEI_; - wEE_ = other.wEE_; - fEE_ = other.fEE_; - sEE_ = other.sEE_; - aEE_ = other.aEE_; - lEE_ = other.lEE_; - dEE_ = other.dEE_; - wER_ = other.wER_; - fER_ = other.fER_; - sER_ = other.sER_; - aER_ = other.aER_; - lER_ = other.lER_; - dER_ = other.dER_; - toughnessDamageAdjust_ = other.toughnessDamageAdjust_; - toughness_ = other.toughness_; - suppress_ = other.suppress_; - nORMALDMG_ = other.nORMALDMG_; - sKILLDMG_ = other.sKILLDMG_; - uLTRADMG_ = other.uLTRADMG_; - oTHERDMG_ = other.oTHERDMG_; - rCDNORMALDMG_ = other.rCDNORMALDMG_; - rCDSKILLDMG_ = other.rCDSKILLDMG_; - rCDULTRADMG_ = other.rCDULTRADMG_; - rCDOTHERDMG_ = other.rCDOTHERDMG_; - mARKDMG_ = other.mARKDMG_; - rCDMARKDMG_ = other.rCDMARKDMG_; - sUMMONDMG_ = other.sUMMONDMG_; - rCDSUMMONDMG_ = other.rCDSUMMONDMG_; - pROJECTILEDMG_ = other.pROJECTILEDMG_; - rCDPROJECTILEDMG_ = other.rCDPROJECTILEDMG_; - gENDMG_ = other.gENDMG_; - dMGPLUS_ = other.dMGPLUS_; - fINALDMG_ = other.fINALDMG_; - fINALDMGPLUS_ = other.fINALDMGPLUS_; - wEERCD_ = other.wEERCD_; - fEERCD_ = other.fEERCD_; - sEERCD_ = other.sEERCD_; - aEERCD_ = other.aEERCD_; - lEERCD_ = other.lEERCD_; - dEERCD_ = other.dEERCD_; - gENDMGRCD_ = other.gENDMGRCD_; - dMGPLUSRCD_ = other.dMGPLUSRCD_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attribute Clone() { - return new Attribute(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "group_id" field. - 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; - } - } - - /// Field number for the "break" field. - public const int BreakFieldNumber = 3; - private int break_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Break { - get { return break_; } - set { - break_ = value; - } - } - - /// Field number for the "lvl" field. - public const int LvlFieldNumber = 4; - private int lvl_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Lvl { - get { return lvl_; } - set { - lvl_ = value; - } - } - - /// Field number for the "atk" field. - public const int AtkFieldNumber = 5; - private int atk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Atk { - get { return atk_; } - set { - atk_ = value; - } - } - - /// Field number for the "hp" field. - public const int HpFieldNumber = 6; - private int hp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Hp { - get { return hp_; } - set { - hp_ = value; - } - } - - /// Field number for the "def" field. - public const int DefFieldNumber = 7; - private int def_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Def { - get { return def_; } - set { - def_ = value; - } - } - - /// Field number for the "crit_rate" field. - public const int CritRateFieldNumber = 8; - private int critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// Field number for the "normal_crit_rate" field. - public const int NormalCritRateFieldNumber = 9; - private int normalCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalCritRate { - get { return normalCritRate_; } - set { - normalCritRate_ = value; - } - } - - /// Field number for the "skill_crit_rate" field. - public const int SkillCritRateFieldNumber = 10; - private int skillCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCritRate { - get { return skillCritRate_; } - set { - skillCritRate_ = value; - } - } - - /// Field number for the "ultra_crit_rate" field. - public const int UltraCritRateFieldNumber = 11; - private int ultraCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraCritRate { - get { return ultraCritRate_; } - set { - ultraCritRate_ = value; - } - } - - /// Field number for the "mark_crit_rate" field. - public const int MarkCritRateFieldNumber = 12; - private int markCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkCritRate { - get { return markCritRate_; } - set { - markCritRate_ = value; - } - } - - /// Field number for the "summon_crit_rate" field. - public const int SummonCritRateFieldNumber = 13; - private int summonCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonCritRate { - get { return summonCritRate_; } - set { - summonCritRate_ = value; - } - } - - /// Field number for the "projectile_crit_rate" field. - public const int ProjectileCritRateFieldNumber = 14; - private int projectileCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileCritRate { - get { return projectileCritRate_; } - set { - projectileCritRate_ = value; - } - } - - /// Field number for the "other_crit_rate" field. - public const int OtherCritRateFieldNumber = 15; - private int otherCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherCritRate { - get { return otherCritRate_; } - set { - otherCritRate_ = value; - } - } - - /// Field number for the "crit_resistance" field. - public const int CritResistanceFieldNumber = 16; - private int critResistance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritResistance { - get { return critResistance_; } - set { - critResistance_ = value; - } - } - - /// Field number for the "crit_power" field. - public const int CritPowerFieldNumber = 17; - private int critPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritPower { - get { return critPower_; } - set { - critPower_ = value; - } - } - - /// Field number for the "normal_crit_power" field. - public const int NormalCritPowerFieldNumber = 18; - private int normalCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalCritPower { - get { return normalCritPower_; } - set { - normalCritPower_ = value; - } - } - - /// Field number for the "skill_crit_power" field. - public const int SkillCritPowerFieldNumber = 19; - private int skillCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCritPower { - get { return skillCritPower_; } - set { - skillCritPower_ = value; - } - } - - /// Field number for the "ultra_crit_power" field. - public const int UltraCritPowerFieldNumber = 20; - private int ultraCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraCritPower { - get { return ultraCritPower_; } - set { - ultraCritPower_ = value; - } - } - - /// Field number for the "mark_crit_power" field. - public const int MarkCritPowerFieldNumber = 21; - private int markCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkCritPower { - get { return markCritPower_; } - set { - markCritPower_ = value; - } - } - - /// Field number for the "summon_crit_power" field. - public const int SummonCritPowerFieldNumber = 22; - private int summonCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonCritPower { - get { return summonCritPower_; } - set { - summonCritPower_ = value; - } - } - - /// Field number for the "projectile_crit_power" field. - public const int ProjectileCritPowerFieldNumber = 23; - private int projectileCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileCritPower { - get { return projectileCritPower_; } - set { - projectileCritPower_ = value; - } - } - - /// Field number for the "other_crit_power" field. - public const int OtherCritPowerFieldNumber = 24; - private int otherCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherCritPower { - get { return otherCritPower_; } - set { - otherCritPower_ = value; - } - } - - /// Field number for the "hit_rate" field. - public const int HitRateFieldNumber = 25; - private int hitRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HitRate { - get { return hitRate_; } - set { - hitRate_ = value; - } - } - - /// Field number for the "evd" field. - public const int EvdFieldNumber = 26; - private int evd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Evd { - get { return evd_; } - set { - evd_ = value; - } - } - - /// Field number for the "def_pierce" field. - public const int DefPierceFieldNumber = 27; - private int defPierce_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefPierce { - get { return defPierce_; } - set { - defPierce_ = value; - } - } - - /// Field number for the "def_ignore" field. - public const int DefIgnoreFieldNumber = 28; - private int defIgnore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefIgnore { - get { return defIgnore_; } - set { - defIgnore_ = value; - } - } - - /// Field number for the "w_e_p" field. - public const int WEPFieldNumber = 29; - private int wEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEP { - get { return wEP_; } - set { - wEP_ = value; - } - } - - /// Field number for the "f_e_p" field. - public const int FEPFieldNumber = 30; - private int fEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEP { - get { return fEP_; } - set { - fEP_ = value; - } - } - - /// Field number for the "s_e_p" field. - public const int SEPFieldNumber = 31; - private int sEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEP { - get { return sEP_; } - set { - sEP_ = value; - } - } - - /// Field number for the "a_e_p" field. - public const int AEPFieldNumber = 32; - private int aEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEP { - get { return aEP_; } - set { - aEP_ = value; - } - } - - /// Field number for the "l_e_p" field. - public const int LEPFieldNumber = 33; - private int lEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEP { - get { return lEP_; } - set { - lEP_ = value; - } - } - - /// Field number for the "d_e_p" field. - public const int DEPFieldNumber = 34; - private int dEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEP { - get { return dEP_; } - set { - dEP_ = value; - } - } - - /// Field number for the "w_e_i" field. - public const int WEIFieldNumber = 35; - private int wEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEI { - get { return wEI_; } - set { - wEI_ = value; - } - } - - /// Field number for the "f_e_i" field. - public const int FEIFieldNumber = 36; - private int fEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEI { - get { return fEI_; } - set { - fEI_ = value; - } - } - - /// Field number for the "s_e_i" field. - public const int SEIFieldNumber = 37; - private int sEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEI { - get { return sEI_; } - set { - sEI_ = value; - } - } - - /// Field number for the "a_e_i" field. - public const int AEIFieldNumber = 38; - private int aEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEI { - get { return aEI_; } - set { - aEI_ = value; - } - } - - /// Field number for the "l_e_i" field. - public const int LEIFieldNumber = 39; - private int lEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEI { - get { return lEI_; } - set { - lEI_ = value; - } - } - - /// Field number for the "d_e_i" field. - public const int DEIFieldNumber = 40; - private int dEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEI { - get { return dEI_; } - set { - dEI_ = value; - } - } - - /// Field number for the "w_e_e" field. - public const int WEEFieldNumber = 41; - private int wEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEE { - get { return wEE_; } - set { - wEE_ = value; - } - } - - /// Field number for the "f_e_e" field. - public const int FEEFieldNumber = 42; - private int fEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEE { - get { return fEE_; } - set { - fEE_ = value; - } - } - - /// Field number for the "s_e_e" field. - public const int SEEFieldNumber = 43; - private int sEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEE { - get { return sEE_; } - set { - sEE_ = value; - } - } - - /// Field number for the "a_e_e" field. - public const int AEEFieldNumber = 44; - private int aEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEE { - get { return aEE_; } - set { - aEE_ = value; - } - } - - /// Field number for the "l_e_e" field. - public const int LEEFieldNumber = 45; - private int lEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEE { - get { return lEE_; } - set { - lEE_ = value; - } - } - - /// Field number for the "d_e_e" field. - public const int DEEFieldNumber = 46; - private int dEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEE { - get { return dEE_; } - set { - dEE_ = value; - } - } - - /// Field number for the "w_e_r" field. - public const int WERFieldNumber = 47; - private int wER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WER { - get { return wER_; } - set { - wER_ = value; - } - } - - /// Field number for the "f_e_r" field. - public const int FERFieldNumber = 48; - private int fER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FER { - get { return fER_; } - set { - fER_ = value; - } - } - - /// Field number for the "s_e_r" field. - public const int SERFieldNumber = 49; - private int sER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SER { - get { return sER_; } - set { - sER_ = value; - } - } - - /// Field number for the "a_e_r" field. - public const int AERFieldNumber = 50; - private int aER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AER { - get { return aER_; } - set { - aER_ = value; - } - } - - /// Field number for the "l_e_r" field. - public const int LERFieldNumber = 51; - private int lER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LER { - get { return lER_; } - set { - lER_ = value; - } - } - - /// Field number for the "d_e_r" field. - public const int DERFieldNumber = 52; - private int dER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DER { - get { return dER_; } - set { - dER_ = value; - } - } - - /// Field number for the "toughness_damage_adjust" field. - public const int ToughnessDamageAdjustFieldNumber = 53; - private int toughnessDamageAdjust_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToughnessDamageAdjust { - get { return toughnessDamageAdjust_; } - set { - toughnessDamageAdjust_ = value; - } - } - - /// Field number for the "toughness" field. - public const int ToughnessFieldNumber = 54; - private int toughness_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Toughness { - get { return toughness_; } - set { - toughness_ = value; - } - } - - /// Field number for the "suppress" field. - public const int SuppressFieldNumber = 55; - private int suppress_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Suppress { - get { return suppress_; } - set { - suppress_ = value; - } - } - - /// Field number for the "n_o_r_m_a_l_d_m_g" field. - public const int NORMALDMGFieldNumber = 56; - private int nORMALDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NORMALDMG { - get { return nORMALDMG_; } - set { - nORMALDMG_ = value; - } - } - - /// Field number for the "s_k_i_l_l_d_m_g" field. - public const int SKILLDMGFieldNumber = 57; - private int sKILLDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SKILLDMG { - get { return sKILLDMG_; } - set { - sKILLDMG_ = value; - } - } - - /// Field number for the "u_l_t_r_a_d_m_g" field. - public const int ULTRADMGFieldNumber = 58; - private int uLTRADMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ULTRADMG { - get { return uLTRADMG_; } - set { - uLTRADMG_ = value; - } - } - - /// Field number for the "o_t_h_e_r_d_m_g" field. - public const int OTHERDMGFieldNumber = 59; - private int oTHERDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OTHERDMG { - get { return oTHERDMG_; } - set { - oTHERDMG_ = value; - } - } - - /// Field number for the "r_c_d_n_o_r_m_a_l_d_m_g" field. - public const int RCDNORMALDMGFieldNumber = 60; - private int rCDNORMALDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDNORMALDMG { - get { return rCDNORMALDMG_; } - set { - rCDNORMALDMG_ = value; - } - } - - /// Field number for the "RCDSKILLDMG" field. - public const int RCDSKILLDMGFieldNumber = 61; - private int rCDSKILLDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDSKILLDMG { - get { return rCDSKILLDMG_; } - set { - rCDSKILLDMG_ = value; - } - } - - /// Field number for the "RCDULTRADMG" field. - public const int RCDULTRADMGFieldNumber = 62; - private int rCDULTRADMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDULTRADMG { - get { return rCDULTRADMG_; } - set { - rCDULTRADMG_ = value; - } - } - - /// Field number for the "RCDOTHERDMG" field. - public const int RCDOTHERDMGFieldNumber = 63; - private int rCDOTHERDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDOTHERDMG { - get { return rCDOTHERDMG_; } - set { - rCDOTHERDMG_ = value; - } - } - - /// Field number for the "m_a_r_k_d_m_g" field. - public const int MARKDMGFieldNumber = 64; - private int mARKDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MARKDMG { - get { return mARKDMG_; } - set { - mARKDMG_ = value; - } - } - - /// Field number for the "r_c_d_m_a_r_k_d_m_g" field. - public const int RCDMARKDMGFieldNumber = 65; - private int rCDMARKDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDMARKDMG { - get { return rCDMARKDMG_; } - set { - rCDMARKDMG_ = value; - } - } - - /// Field number for the "s_u_m_m_o_n_d_m_g" field. - public const int SUMMONDMGFieldNumber = 66; - private int sUMMONDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SUMMONDMG { - get { return sUMMONDMG_; } - set { - sUMMONDMG_ = value; - } - } - - /// Field number for the "r_c_d_s_u_m_m_o_n_d_m_g" field. - public const int RCDSUMMONDMGFieldNumber = 67; - private int rCDSUMMONDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDSUMMONDMG { - get { return rCDSUMMONDMG_; } - set { - rCDSUMMONDMG_ = value; - } - } - - /// Field number for the "p_r_o_j_e_c_t_i_l_e_d_m_g" field. - public const int PROJECTILEDMGFieldNumber = 68; - private int pROJECTILEDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PROJECTILEDMG { - get { return pROJECTILEDMG_; } - set { - pROJECTILEDMG_ = value; - } - } - - /// Field number for the "r_c_d_p_r_o_j_e_c_t_i_l_e_d_m_g" field. - public const int RCDPROJECTILEDMGFieldNumber = 69; - private int rCDPROJECTILEDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDPROJECTILEDMG { - get { return rCDPROJECTILEDMG_; } - set { - rCDPROJECTILEDMG_ = value; - } - } - - /// Field number for the "g_e_n_d_m_g" field. - public const int GENDMGFieldNumber = 70; - private int gENDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GENDMG { - get { return gENDMG_; } - set { - gENDMG_ = value; - } - } - - /// Field number for the "d_m_g_p_l_u_s" field. - public const int DMGPLUSFieldNumber = 71; - private int dMGPLUS_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DMGPLUS { - get { return dMGPLUS_; } - set { - dMGPLUS_ = value; - } - } - - /// Field number for the "f_i_n_a_l_d_m_g" field. - public const int FINALDMGFieldNumber = 72; - private int fINALDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FINALDMG { - get { return fINALDMG_; } - set { - fINALDMG_ = value; - } - } - - /// Field number for the "f_i_n_a_l_d_m_g_p_l_u_s" field. - public const int FINALDMGPLUSFieldNumber = 73; - private int fINALDMGPLUS_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FINALDMGPLUS { - get { return fINALDMGPLUS_; } - set { - fINALDMGPLUS_ = value; - } - } - - /// Field number for the "w_e_e_r_c_d" field. - public const int WEERCDFieldNumber = 74; - private int wEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEERCD { - get { return wEERCD_; } - set { - wEERCD_ = value; - } - } - - /// Field number for the "f_e_e_r_c_d" field. - public const int FEERCDFieldNumber = 75; - private int fEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEERCD { - get { return fEERCD_; } - set { - fEERCD_ = value; - } - } - - /// Field number for the "s_e_e_r_c_d" field. - public const int SEERCDFieldNumber = 76; - private int sEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEERCD { - get { return sEERCD_; } - set { - sEERCD_ = value; - } - } - - /// Field number for the "a_e_e_r_c_d" field. - public const int AEERCDFieldNumber = 77; - private int aEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEERCD { - get { return aEERCD_; } - set { - aEERCD_ = value; - } - } - - /// Field number for the "l_e_e_r_c_d" field. - public const int LEERCDFieldNumber = 78; - private int lEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEERCD { - get { return lEERCD_; } - set { - lEERCD_ = value; - } - } - - /// Field number for the "d_e_e_r_c_d" field. - public const int DEERCDFieldNumber = 79; - private int dEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEERCD { - get { return dEERCD_; } - set { - dEERCD_ = value; - } - } - - /// Field number for the "g_e_n_d_m_g_r_c_d" field. - public const int GENDMGRCDFieldNumber = 80; - private int gENDMGRCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GENDMGRCD { - get { return gENDMGRCD_; } - set { - gENDMGRCD_ = value; - } - } - - /// Field number for the "d_m_g_p_l_u_s_r_c_d" field. - public const int DMGPLUSRCDFieldNumber = 81; - private int dMGPLUSRCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DMGPLUSRCD { - get { return dMGPLUSRCD_; } - set { - dMGPLUSRCD_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Attribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Attribute 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 (Break != other.Break) return false; - if (Lvl != other.Lvl) return false; - if (Atk != other.Atk) return false; - if (Hp != other.Hp) return false; - if (Def != other.Def) return false; - if (CritRate != other.CritRate) return false; - if (NormalCritRate != other.NormalCritRate) return false; - if (SkillCritRate != other.SkillCritRate) return false; - if (UltraCritRate != other.UltraCritRate) return false; - if (MarkCritRate != other.MarkCritRate) return false; - if (SummonCritRate != other.SummonCritRate) return false; - if (ProjectileCritRate != other.ProjectileCritRate) return false; - if (OtherCritRate != other.OtherCritRate) return false; - if (CritResistance != other.CritResistance) return false; - if (CritPower != other.CritPower) return false; - if (NormalCritPower != other.NormalCritPower) return false; - if (SkillCritPower != other.SkillCritPower) return false; - if (UltraCritPower != other.UltraCritPower) return false; - if (MarkCritPower != other.MarkCritPower) return false; - if (SummonCritPower != other.SummonCritPower) return false; - if (ProjectileCritPower != other.ProjectileCritPower) return false; - if (OtherCritPower != other.OtherCritPower) return false; - if (HitRate != other.HitRate) return false; - if (Evd != other.Evd) return false; - if (DefPierce != other.DefPierce) return false; - if (DefIgnore != other.DefIgnore) return false; - if (WEP != other.WEP) return false; - if (FEP != other.FEP) return false; - if (SEP != other.SEP) return false; - if (AEP != other.AEP) return false; - if (LEP != other.LEP) return false; - if (DEP != other.DEP) return false; - if (WEI != other.WEI) return false; - if (FEI != other.FEI) return false; - if (SEI != other.SEI) return false; - if (AEI != other.AEI) return false; - if (LEI != other.LEI) return false; - if (DEI != other.DEI) return false; - if (WEE != other.WEE) return false; - if (FEE != other.FEE) return false; - if (SEE != other.SEE) return false; - if (AEE != other.AEE) return false; - if (LEE != other.LEE) return false; - if (DEE != other.DEE) return false; - if (WER != other.WER) return false; - if (FER != other.FER) return false; - if (SER != other.SER) return false; - if (AER != other.AER) return false; - if (LER != other.LER) return false; - if (DER != other.DER) return false; - if (ToughnessDamageAdjust != other.ToughnessDamageAdjust) return false; - if (Toughness != other.Toughness) return false; - if (Suppress != other.Suppress) return false; - if (NORMALDMG != other.NORMALDMG) return false; - if (SKILLDMG != other.SKILLDMG) return false; - if (ULTRADMG != other.ULTRADMG) return false; - if (OTHERDMG != other.OTHERDMG) return false; - if (RCDNORMALDMG != other.RCDNORMALDMG) return false; - if (RCDSKILLDMG != other.RCDSKILLDMG) return false; - if (RCDULTRADMG != other.RCDULTRADMG) return false; - if (RCDOTHERDMG != other.RCDOTHERDMG) return false; - if (MARKDMG != other.MARKDMG) return false; - if (RCDMARKDMG != other.RCDMARKDMG) return false; - if (SUMMONDMG != other.SUMMONDMG) return false; - if (RCDSUMMONDMG != other.RCDSUMMONDMG) return false; - if (PROJECTILEDMG != other.PROJECTILEDMG) return false; - if (RCDPROJECTILEDMG != other.RCDPROJECTILEDMG) return false; - if (GENDMG != other.GENDMG) return false; - if (DMGPLUS != other.DMGPLUS) return false; - if (FINALDMG != other.FINALDMG) return false; - if (FINALDMGPLUS != other.FINALDMGPLUS) return false; - if (WEERCD != other.WEERCD) return false; - if (FEERCD != other.FEERCD) return false; - if (SEERCD != other.SEERCD) return false; - if (AEERCD != other.AEERCD) return false; - if (LEERCD != other.LEERCD) return false; - if (DEERCD != other.DEERCD) return false; - if (GENDMGRCD != other.GENDMGRCD) return false; - if (DMGPLUSRCD != other.DMGPLUSRCD) 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.Length != 0) hash ^= Id.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (Break != 0) hash ^= Break.GetHashCode(); - if (Lvl != 0) hash ^= Lvl.GetHashCode(); - if (Atk != 0) hash ^= Atk.GetHashCode(); - if (Hp != 0) hash ^= Hp.GetHashCode(); - if (Def != 0) hash ^= Def.GetHashCode(); - if (CritRate != 0) hash ^= CritRate.GetHashCode(); - if (NormalCritRate != 0) hash ^= NormalCritRate.GetHashCode(); - if (SkillCritRate != 0) hash ^= SkillCritRate.GetHashCode(); - if (UltraCritRate != 0) hash ^= UltraCritRate.GetHashCode(); - if (MarkCritRate != 0) hash ^= MarkCritRate.GetHashCode(); - if (SummonCritRate != 0) hash ^= SummonCritRate.GetHashCode(); - if (ProjectileCritRate != 0) hash ^= ProjectileCritRate.GetHashCode(); - if (OtherCritRate != 0) hash ^= OtherCritRate.GetHashCode(); - if (CritResistance != 0) hash ^= CritResistance.GetHashCode(); - if (CritPower != 0) hash ^= CritPower.GetHashCode(); - if (NormalCritPower != 0) hash ^= NormalCritPower.GetHashCode(); - if (SkillCritPower != 0) hash ^= SkillCritPower.GetHashCode(); - if (UltraCritPower != 0) hash ^= UltraCritPower.GetHashCode(); - if (MarkCritPower != 0) hash ^= MarkCritPower.GetHashCode(); - if (SummonCritPower != 0) hash ^= SummonCritPower.GetHashCode(); - if (ProjectileCritPower != 0) hash ^= ProjectileCritPower.GetHashCode(); - if (OtherCritPower != 0) hash ^= OtherCritPower.GetHashCode(); - if (HitRate != 0) hash ^= HitRate.GetHashCode(); - if (Evd != 0) hash ^= Evd.GetHashCode(); - if (DefPierce != 0) hash ^= DefPierce.GetHashCode(); - if (DefIgnore != 0) hash ^= DefIgnore.GetHashCode(); - if (WEP != 0) hash ^= WEP.GetHashCode(); - if (FEP != 0) hash ^= FEP.GetHashCode(); - if (SEP != 0) hash ^= SEP.GetHashCode(); - if (AEP != 0) hash ^= AEP.GetHashCode(); - if (LEP != 0) hash ^= LEP.GetHashCode(); - if (DEP != 0) hash ^= DEP.GetHashCode(); - if (WEI != 0) hash ^= WEI.GetHashCode(); - if (FEI != 0) hash ^= FEI.GetHashCode(); - if (SEI != 0) hash ^= SEI.GetHashCode(); - if (AEI != 0) hash ^= AEI.GetHashCode(); - if (LEI != 0) hash ^= LEI.GetHashCode(); - if (DEI != 0) hash ^= DEI.GetHashCode(); - if (WEE != 0) hash ^= WEE.GetHashCode(); - if (FEE != 0) hash ^= FEE.GetHashCode(); - if (SEE != 0) hash ^= SEE.GetHashCode(); - if (AEE != 0) hash ^= AEE.GetHashCode(); - if (LEE != 0) hash ^= LEE.GetHashCode(); - if (DEE != 0) hash ^= DEE.GetHashCode(); - if (WER != 0) hash ^= WER.GetHashCode(); - if (FER != 0) hash ^= FER.GetHashCode(); - if (SER != 0) hash ^= SER.GetHashCode(); - if (AER != 0) hash ^= AER.GetHashCode(); - if (LER != 0) hash ^= LER.GetHashCode(); - if (DER != 0) hash ^= DER.GetHashCode(); - if (ToughnessDamageAdjust != 0) hash ^= ToughnessDamageAdjust.GetHashCode(); - if (Toughness != 0) hash ^= Toughness.GetHashCode(); - if (Suppress != 0) hash ^= Suppress.GetHashCode(); - if (NORMALDMG != 0) hash ^= NORMALDMG.GetHashCode(); - if (SKILLDMG != 0) hash ^= SKILLDMG.GetHashCode(); - if (ULTRADMG != 0) hash ^= ULTRADMG.GetHashCode(); - if (OTHERDMG != 0) hash ^= OTHERDMG.GetHashCode(); - if (RCDNORMALDMG != 0) hash ^= RCDNORMALDMG.GetHashCode(); - if (RCDSKILLDMG != 0) hash ^= RCDSKILLDMG.GetHashCode(); - if (RCDULTRADMG != 0) hash ^= RCDULTRADMG.GetHashCode(); - if (RCDOTHERDMG != 0) hash ^= RCDOTHERDMG.GetHashCode(); - if (MARKDMG != 0) hash ^= MARKDMG.GetHashCode(); - if (RCDMARKDMG != 0) hash ^= RCDMARKDMG.GetHashCode(); - if (SUMMONDMG != 0) hash ^= SUMMONDMG.GetHashCode(); - if (RCDSUMMONDMG != 0) hash ^= RCDSUMMONDMG.GetHashCode(); - if (PROJECTILEDMG != 0) hash ^= PROJECTILEDMG.GetHashCode(); - if (RCDPROJECTILEDMG != 0) hash ^= RCDPROJECTILEDMG.GetHashCode(); - if (GENDMG != 0) hash ^= GENDMG.GetHashCode(); - if (DMGPLUS != 0) hash ^= DMGPLUS.GetHashCode(); - if (FINALDMG != 0) hash ^= FINALDMG.GetHashCode(); - if (FINALDMGPLUS != 0) hash ^= FINALDMGPLUS.GetHashCode(); - if (WEERCD != 0) hash ^= WEERCD.GetHashCode(); - if (FEERCD != 0) hash ^= FEERCD.GetHashCode(); - if (SEERCD != 0) hash ^= SEERCD.GetHashCode(); - if (AEERCD != 0) hash ^= AEERCD.GetHashCode(); - if (LEERCD != 0) hash ^= LEERCD.GetHashCode(); - if (DEERCD != 0) hash ^= DEERCD.GetHashCode(); - if (GENDMGRCD != 0) hash ^= GENDMGRCD.GetHashCode(); - if (DMGPLUSRCD != 0) hash ^= DMGPLUSRCD.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - if (Break != 0) { - output.WriteRawTag(24); - output.WriteInt32(Break); - } - if (Lvl != 0) { - output.WriteRawTag(32); - output.WriteInt32(Lvl); - } - if (Atk != 0) { - output.WriteRawTag(40); - output.WriteInt32(Atk); - } - if (Hp != 0) { - output.WriteRawTag(48); - output.WriteInt32(Hp); - } - if (Def != 0) { - output.WriteRawTag(56); - output.WriteInt32(Def); - } - if (CritRate != 0) { - output.WriteRawTag(64); - output.WriteInt32(CritRate); - } - if (NormalCritRate != 0) { - output.WriteRawTag(72); - output.WriteInt32(NormalCritRate); - } - if (SkillCritRate != 0) { - output.WriteRawTag(80); - output.WriteInt32(SkillCritRate); - } - if (UltraCritRate != 0) { - output.WriteRawTag(88); - output.WriteInt32(UltraCritRate); - } - if (MarkCritRate != 0) { - output.WriteRawTag(96); - output.WriteInt32(MarkCritRate); - } - if (SummonCritRate != 0) { - output.WriteRawTag(104); - output.WriteInt32(SummonCritRate); - } - if (ProjectileCritRate != 0) { - output.WriteRawTag(112); - output.WriteInt32(ProjectileCritRate); - } - if (OtherCritRate != 0) { - output.WriteRawTag(120); - output.WriteInt32(OtherCritRate); - } - if (CritResistance != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(CritResistance); - } - if (CritPower != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(CritPower); - } - if (NormalCritPower != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NormalCritPower); - } - if (SkillCritPower != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(SkillCritPower); - } - if (UltraCritPower != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(UltraCritPower); - } - if (MarkCritPower != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(MarkCritPower); - } - if (SummonCritPower != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SummonCritPower); - } - if (ProjectileCritPower != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ProjectileCritPower); - } - if (OtherCritPower != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(OtherCritPower); - } - if (HitRate != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(HitRate); - } - if (Evd != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(Evd); - } - if (DefPierce != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(DefPierce); - } - if (DefIgnore != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(DEP); - } - if (WEI != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(WEI); - } - if (FEI != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(FEI); - } - if (SEI != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(SEI); - } - if (AEI != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(AEI); - } - if (LEI != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(LEI); - } - if (DEI != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(DEI); - } - if (WEE != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(DER); - } - if (ToughnessDamageAdjust != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(ToughnessDamageAdjust); - } - if (Toughness != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(Toughness); - } - if (Suppress != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(Suppress); - } - if (NORMALDMG != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(NORMALDMG); - } - if (SKILLDMG != 0) { - output.WriteRawTag(200, 3); - output.WriteInt32(SKILLDMG); - } - if (ULTRADMG != 0) { - output.WriteRawTag(208, 3); - output.WriteInt32(ULTRADMG); - } - if (OTHERDMG != 0) { - output.WriteRawTag(216, 3); - output.WriteInt32(OTHERDMG); - } - if (RCDNORMALDMG != 0) { - output.WriteRawTag(224, 3); - output.WriteInt32(RCDNORMALDMG); - } - if (RCDSKILLDMG != 0) { - output.WriteRawTag(232, 3); - output.WriteInt32(RCDSKILLDMG); - } - if (RCDULTRADMG != 0) { - output.WriteRawTag(240, 3); - output.WriteInt32(RCDULTRADMG); - } - if (RCDOTHERDMG != 0) { - output.WriteRawTag(248, 3); - output.WriteInt32(RCDOTHERDMG); - } - if (MARKDMG != 0) { - output.WriteRawTag(128, 4); - output.WriteInt32(MARKDMG); - } - if (RCDMARKDMG != 0) { - output.WriteRawTag(136, 4); - output.WriteInt32(RCDMARKDMG); - } - if (SUMMONDMG != 0) { - output.WriteRawTag(144, 4); - output.WriteInt32(SUMMONDMG); - } - if (RCDSUMMONDMG != 0) { - output.WriteRawTag(152, 4); - output.WriteInt32(RCDSUMMONDMG); - } - if (PROJECTILEDMG != 0) { - output.WriteRawTag(160, 4); - output.WriteInt32(PROJECTILEDMG); - } - if (RCDPROJECTILEDMG != 0) { - output.WriteRawTag(168, 4); - output.WriteInt32(RCDPROJECTILEDMG); - } - if (GENDMG != 0) { - output.WriteRawTag(176, 4); - output.WriteInt32(GENDMG); - } - if (DMGPLUS != 0) { - output.WriteRawTag(184, 4); - output.WriteInt32(DMGPLUS); - } - if (FINALDMG != 0) { - output.WriteRawTag(192, 4); - output.WriteInt32(FINALDMG); - } - if (FINALDMGPLUS != 0) { - output.WriteRawTag(200, 4); - output.WriteInt32(FINALDMGPLUS); - } - if (WEERCD != 0) { - output.WriteRawTag(208, 4); - output.WriteInt32(WEERCD); - } - if (FEERCD != 0) { - output.WriteRawTag(216, 4); - output.WriteInt32(FEERCD); - } - if (SEERCD != 0) { - output.WriteRawTag(224, 4); - output.WriteInt32(SEERCD); - } - if (AEERCD != 0) { - output.WriteRawTag(232, 4); - output.WriteInt32(AEERCD); - } - if (LEERCD != 0) { - output.WriteRawTag(240, 4); - output.WriteInt32(LEERCD); - } - if (DEERCD != 0) { - output.WriteRawTag(248, 4); - output.WriteInt32(DEERCD); - } - if (GENDMGRCD != 0) { - output.WriteRawTag(128, 5); - output.WriteInt32(GENDMGRCD); - } - if (DMGPLUSRCD != 0) { - output.WriteRawTag(136, 5); - output.WriteInt32(DMGPLUSRCD); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - if (Break != 0) { - output.WriteRawTag(24); - output.WriteInt32(Break); - } - if (Lvl != 0) { - output.WriteRawTag(32); - output.WriteInt32(Lvl); - } - if (Atk != 0) { - output.WriteRawTag(40); - output.WriteInt32(Atk); - } - if (Hp != 0) { - output.WriteRawTag(48); - output.WriteInt32(Hp); - } - if (Def != 0) { - output.WriteRawTag(56); - output.WriteInt32(Def); - } - if (CritRate != 0) { - output.WriteRawTag(64); - output.WriteInt32(CritRate); - } - if (NormalCritRate != 0) { - output.WriteRawTag(72); - output.WriteInt32(NormalCritRate); - } - if (SkillCritRate != 0) { - output.WriteRawTag(80); - output.WriteInt32(SkillCritRate); - } - if (UltraCritRate != 0) { - output.WriteRawTag(88); - output.WriteInt32(UltraCritRate); - } - if (MarkCritRate != 0) { - output.WriteRawTag(96); - output.WriteInt32(MarkCritRate); - } - if (SummonCritRate != 0) { - output.WriteRawTag(104); - output.WriteInt32(SummonCritRate); - } - if (ProjectileCritRate != 0) { - output.WriteRawTag(112); - output.WriteInt32(ProjectileCritRate); - } - if (OtherCritRate != 0) { - output.WriteRawTag(120); - output.WriteInt32(OtherCritRate); - } - if (CritResistance != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(CritResistance); - } - if (CritPower != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(CritPower); - } - if (NormalCritPower != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NormalCritPower); - } - if (SkillCritPower != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(SkillCritPower); - } - if (UltraCritPower != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(UltraCritPower); - } - if (MarkCritPower != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(MarkCritPower); - } - if (SummonCritPower != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SummonCritPower); - } - if (ProjectileCritPower != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ProjectileCritPower); - } - if (OtherCritPower != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(OtherCritPower); - } - if (HitRate != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(HitRate); - } - if (Evd != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(Evd); - } - if (DefPierce != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(DefPierce); - } - if (DefIgnore != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(DEP); - } - if (WEI != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(WEI); - } - if (FEI != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(FEI); - } - if (SEI != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(SEI); - } - if (AEI != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(AEI); - } - if (LEI != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(LEI); - } - if (DEI != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(DEI); - } - if (WEE != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(DER); - } - if (ToughnessDamageAdjust != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(ToughnessDamageAdjust); - } - if (Toughness != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(Toughness); - } - if (Suppress != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(Suppress); - } - if (NORMALDMG != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(NORMALDMG); - } - if (SKILLDMG != 0) { - output.WriteRawTag(200, 3); - output.WriteInt32(SKILLDMG); - } - if (ULTRADMG != 0) { - output.WriteRawTag(208, 3); - output.WriteInt32(ULTRADMG); - } - if (OTHERDMG != 0) { - output.WriteRawTag(216, 3); - output.WriteInt32(OTHERDMG); - } - if (RCDNORMALDMG != 0) { - output.WriteRawTag(224, 3); - output.WriteInt32(RCDNORMALDMG); - } - if (RCDSKILLDMG != 0) { - output.WriteRawTag(232, 3); - output.WriteInt32(RCDSKILLDMG); - } - if (RCDULTRADMG != 0) { - output.WriteRawTag(240, 3); - output.WriteInt32(RCDULTRADMG); - } - if (RCDOTHERDMG != 0) { - output.WriteRawTag(248, 3); - output.WriteInt32(RCDOTHERDMG); - } - if (MARKDMG != 0) { - output.WriteRawTag(128, 4); - output.WriteInt32(MARKDMG); - } - if (RCDMARKDMG != 0) { - output.WriteRawTag(136, 4); - output.WriteInt32(RCDMARKDMG); - } - if (SUMMONDMG != 0) { - output.WriteRawTag(144, 4); - output.WriteInt32(SUMMONDMG); - } - if (RCDSUMMONDMG != 0) { - output.WriteRawTag(152, 4); - output.WriteInt32(RCDSUMMONDMG); - } - if (PROJECTILEDMG != 0) { - output.WriteRawTag(160, 4); - output.WriteInt32(PROJECTILEDMG); - } - if (RCDPROJECTILEDMG != 0) { - output.WriteRawTag(168, 4); - output.WriteInt32(RCDPROJECTILEDMG); - } - if (GENDMG != 0) { - output.WriteRawTag(176, 4); - output.WriteInt32(GENDMG); - } - if (DMGPLUS != 0) { - output.WriteRawTag(184, 4); - output.WriteInt32(DMGPLUS); - } - if (FINALDMG != 0) { - output.WriteRawTag(192, 4); - output.WriteInt32(FINALDMG); - } - if (FINALDMGPLUS != 0) { - output.WriteRawTag(200, 4); - output.WriteInt32(FINALDMGPLUS); - } - if (WEERCD != 0) { - output.WriteRawTag(208, 4); - output.WriteInt32(WEERCD); - } - if (FEERCD != 0) { - output.WriteRawTag(216, 4); - output.WriteInt32(FEERCD); - } - if (SEERCD != 0) { - output.WriteRawTag(224, 4); - output.WriteInt32(SEERCD); - } - if (AEERCD != 0) { - output.WriteRawTag(232, 4); - output.WriteInt32(AEERCD); - } - if (LEERCD != 0) { - output.WriteRawTag(240, 4); - output.WriteInt32(LEERCD); - } - if (DEERCD != 0) { - output.WriteRawTag(248, 4); - output.WriteInt32(DEERCD); - } - if (GENDMGRCD != 0) { - output.WriteRawTag(128, 5); - output.WriteInt32(GENDMGRCD); - } - if (DMGPLUSRCD != 0) { - output.WriteRawTag(136, 5); - output.WriteInt32(DMGPLUSRCD); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (Break != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); - } - if (Lvl != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lvl); - } - if (Atk != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Atk); - } - if (Hp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hp); - } - if (Def != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Def); - } - if (CritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritRate); - } - if (NormalCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalCritRate); - } - if (SkillCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillCritRate); - } - if (UltraCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UltraCritRate); - } - if (MarkCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MarkCritRate); - } - if (SummonCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SummonCritRate); - } - if (ProjectileCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritRate); - } - if (OtherCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OtherCritRate); - } - if (CritResistance != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritResistance); - } - if (CritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritPower); - } - if (NormalCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalCritPower); - } - if (SkillCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillCritPower); - } - if (UltraCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraCritPower); - } - if (MarkCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkCritPower); - } - if (SummonCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonCritPower); - } - if (ProjectileCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritPower); - } - if (OtherCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherCritPower); - } - if (HitRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HitRate); - } - if (Evd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Evd); - } - if (DefPierce != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefPierce); - } - if (DefIgnore != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefIgnore); - } - if (WEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); - } - if (FEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); - } - if (SEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); - } - if (AEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); - } - if (LEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); - } - if (DEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); - } - if (WEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEI); - } - if (FEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEI); - } - if (SEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEI); - } - if (AEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEI); - } - if (LEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEI); - } - if (DEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEI); - } - if (WEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); - } - if (FEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); - } - if (SEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); - } - if (AEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); - } - if (LEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); - } - if (DEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); - } - if (WER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); - } - if (FER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); - } - if (SER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); - } - if (AER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); - } - if (LER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); - } - if (DER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); - } - if (ToughnessDamageAdjust != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessDamageAdjust); - } - if (Toughness != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Toughness); - } - if (Suppress != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Suppress); - } - if (NORMALDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NORMALDMG); - } - if (SKILLDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SKILLDMG); - } - if (ULTRADMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ULTRADMG); - } - if (OTHERDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OTHERDMG); - } - if (RCDNORMALDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDNORMALDMG); - } - if (RCDSKILLDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDSKILLDMG); - } - if (RCDULTRADMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDULTRADMG); - } - if (RCDOTHERDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDOTHERDMG); - } - if (MARKDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MARKDMG); - } - if (RCDMARKDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDMARKDMG); - } - if (SUMMONDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SUMMONDMG); - } - if (RCDSUMMONDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDSUMMONDMG); - } - if (PROJECTILEDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PROJECTILEDMG); - } - if (RCDPROJECTILEDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDPROJECTILEDMG); - } - if (GENDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GENDMG); - } - if (DMGPLUS != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DMGPLUS); - } - if (FINALDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FINALDMG); - } - if (FINALDMGPLUS != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FINALDMGPLUS); - } - if (WEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEERCD); - } - if (FEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEERCD); - } - if (SEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEERCD); - } - if (AEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEERCD); - } - if (LEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEERCD); - } - if (DEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEERCD); - } - if (GENDMGRCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GENDMGRCD); - } - if (DMGPLUSRCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DMGPLUSRCD); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Attribute other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Break != 0) { - Break = other.Break; - } - if (other.Lvl != 0) { - Lvl = other.Lvl; - } - if (other.Atk != 0) { - Atk = other.Atk; - } - if (other.Hp != 0) { - Hp = other.Hp; - } - if (other.Def != 0) { - Def = other.Def; - } - if (other.CritRate != 0) { - CritRate = other.CritRate; - } - if (other.NormalCritRate != 0) { - NormalCritRate = other.NormalCritRate; - } - if (other.SkillCritRate != 0) { - SkillCritRate = other.SkillCritRate; - } - if (other.UltraCritRate != 0) { - UltraCritRate = other.UltraCritRate; - } - if (other.MarkCritRate != 0) { - MarkCritRate = other.MarkCritRate; - } - if (other.SummonCritRate != 0) { - SummonCritRate = other.SummonCritRate; - } - if (other.ProjectileCritRate != 0) { - ProjectileCritRate = other.ProjectileCritRate; - } - if (other.OtherCritRate != 0) { - OtherCritRate = other.OtherCritRate; - } - if (other.CritResistance != 0) { - CritResistance = other.CritResistance; - } - if (other.CritPower != 0) { - CritPower = other.CritPower; - } - if (other.NormalCritPower != 0) { - NormalCritPower = other.NormalCritPower; - } - if (other.SkillCritPower != 0) { - SkillCritPower = other.SkillCritPower; - } - if (other.UltraCritPower != 0) { - UltraCritPower = other.UltraCritPower; - } - if (other.MarkCritPower != 0) { - MarkCritPower = other.MarkCritPower; - } - if (other.SummonCritPower != 0) { - SummonCritPower = other.SummonCritPower; - } - if (other.ProjectileCritPower != 0) { - ProjectileCritPower = other.ProjectileCritPower; - } - if (other.OtherCritPower != 0) { - OtherCritPower = other.OtherCritPower; - } - if (other.HitRate != 0) { - HitRate = other.HitRate; - } - if (other.Evd != 0) { - Evd = other.Evd; - } - if (other.DefPierce != 0) { - DefPierce = other.DefPierce; - } - if (other.DefIgnore != 0) { - DefIgnore = other.DefIgnore; - } - if (other.WEP != 0) { - WEP = other.WEP; - } - if (other.FEP != 0) { - FEP = other.FEP; - } - if (other.SEP != 0) { - SEP = other.SEP; - } - if (other.AEP != 0) { - AEP = other.AEP; - } - if (other.LEP != 0) { - LEP = other.LEP; - } - if (other.DEP != 0) { - DEP = other.DEP; - } - if (other.WEI != 0) { - WEI = other.WEI; - } - if (other.FEI != 0) { - FEI = other.FEI; - } - if (other.SEI != 0) { - SEI = other.SEI; - } - if (other.AEI != 0) { - AEI = other.AEI; - } - if (other.LEI != 0) { - LEI = other.LEI; - } - if (other.DEI != 0) { - DEI = other.DEI; - } - if (other.WEE != 0) { - WEE = other.WEE; - } - if (other.FEE != 0) { - FEE = other.FEE; - } - if (other.SEE != 0) { - SEE = other.SEE; - } - if (other.AEE != 0) { - AEE = other.AEE; - } - if (other.LEE != 0) { - LEE = other.LEE; - } - if (other.DEE != 0) { - DEE = other.DEE; - } - if (other.WER != 0) { - WER = other.WER; - } - if (other.FER != 0) { - FER = other.FER; - } - if (other.SER != 0) { - SER = other.SER; - } - if (other.AER != 0) { - AER = other.AER; - } - if (other.LER != 0) { - LER = other.LER; - } - if (other.DER != 0) { - DER = other.DER; - } - if (other.ToughnessDamageAdjust != 0) { - ToughnessDamageAdjust = other.ToughnessDamageAdjust; - } - if (other.Toughness != 0) { - Toughness = other.Toughness; - } - if (other.Suppress != 0) { - Suppress = other.Suppress; - } - if (other.NORMALDMG != 0) { - NORMALDMG = other.NORMALDMG; - } - if (other.SKILLDMG != 0) { - SKILLDMG = other.SKILLDMG; - } - if (other.ULTRADMG != 0) { - ULTRADMG = other.ULTRADMG; - } - if (other.OTHERDMG != 0) { - OTHERDMG = other.OTHERDMG; - } - if (other.RCDNORMALDMG != 0) { - RCDNORMALDMG = other.RCDNORMALDMG; - } - if (other.RCDSKILLDMG != 0) { - RCDSKILLDMG = other.RCDSKILLDMG; - } - if (other.RCDULTRADMG != 0) { - RCDULTRADMG = other.RCDULTRADMG; - } - if (other.RCDOTHERDMG != 0) { - RCDOTHERDMG = other.RCDOTHERDMG; - } - if (other.MARKDMG != 0) { - MARKDMG = other.MARKDMG; - } - if (other.RCDMARKDMG != 0) { - RCDMARKDMG = other.RCDMARKDMG; - } - if (other.SUMMONDMG != 0) { - SUMMONDMG = other.SUMMONDMG; - } - if (other.RCDSUMMONDMG != 0) { - RCDSUMMONDMG = other.RCDSUMMONDMG; - } - if (other.PROJECTILEDMG != 0) { - PROJECTILEDMG = other.PROJECTILEDMG; - } - if (other.RCDPROJECTILEDMG != 0) { - RCDPROJECTILEDMG = other.RCDPROJECTILEDMG; - } - if (other.GENDMG != 0) { - GENDMG = other.GENDMG; - } - if (other.DMGPLUS != 0) { - DMGPLUS = other.DMGPLUS; - } - if (other.FINALDMG != 0) { - FINALDMG = other.FINALDMG; - } - if (other.FINALDMGPLUS != 0) { - FINALDMGPLUS = other.FINALDMGPLUS; - } - if (other.WEERCD != 0) { - WEERCD = other.WEERCD; - } - if (other.FEERCD != 0) { - FEERCD = other.FEERCD; - } - if (other.SEERCD != 0) { - SEERCD = other.SEERCD; - } - if (other.AEERCD != 0) { - AEERCD = other.AEERCD; - } - if (other.LEERCD != 0) { - LEERCD = other.LEERCD; - } - if (other.DEERCD != 0) { - DEERCD = other.DEERCD; - } - if (other.GENDMGRCD != 0) { - GENDMGRCD = other.GENDMGRCD; - } - if (other.DMGPLUSRCD != 0) { - DMGPLUSRCD = other.DMGPLUSRCD; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 16: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - Break = input.ReadInt32(); - break; - } - case 32: { - Lvl = input.ReadInt32(); - break; - } - case 40: { - Atk = input.ReadInt32(); - break; - } - case 48: { - Hp = input.ReadInt32(); - break; - } - case 56: { - Def = input.ReadInt32(); - break; - } - case 64: { - CritRate = input.ReadInt32(); - break; - } - case 72: { - NormalCritRate = input.ReadInt32(); - break; - } - case 80: { - SkillCritRate = input.ReadInt32(); - break; - } - case 88: { - UltraCritRate = input.ReadInt32(); - break; - } - case 96: { - MarkCritRate = input.ReadInt32(); - break; - } - case 104: { - SummonCritRate = input.ReadInt32(); - break; - } - case 112: { - ProjectileCritRate = input.ReadInt32(); - break; - } - case 120: { - OtherCritRate = input.ReadInt32(); - break; - } - case 128: { - CritResistance = input.ReadInt32(); - break; - } - case 136: { - CritPower = input.ReadInt32(); - break; - } - case 144: { - NormalCritPower = input.ReadInt32(); - break; - } - case 152: { - SkillCritPower = input.ReadInt32(); - break; - } - case 160: { - UltraCritPower = input.ReadInt32(); - break; - } - case 168: { - MarkCritPower = input.ReadInt32(); - break; - } - case 176: { - SummonCritPower = input.ReadInt32(); - break; - } - case 184: { - ProjectileCritPower = input.ReadInt32(); - break; - } - case 192: { - OtherCritPower = input.ReadInt32(); - break; - } - case 200: { - HitRate = input.ReadInt32(); - break; - } - case 208: { - Evd = input.ReadInt32(); - break; - } - case 216: { - DefPierce = input.ReadInt32(); - break; - } - case 224: { - DefIgnore = input.ReadInt32(); - break; - } - case 232: { - WEP = input.ReadInt32(); - break; - } - case 240: { - FEP = input.ReadInt32(); - break; - } - case 248: { - SEP = input.ReadInt32(); - break; - } - case 256: { - AEP = input.ReadInt32(); - break; - } - case 264: { - LEP = input.ReadInt32(); - break; - } - case 272: { - DEP = input.ReadInt32(); - break; - } - case 280: { - WEI = input.ReadInt32(); - break; - } - case 288: { - FEI = input.ReadInt32(); - break; - } - case 296: { - SEI = input.ReadInt32(); - break; - } - case 304: { - AEI = input.ReadInt32(); - break; - } - case 312: { - LEI = input.ReadInt32(); - break; - } - case 320: { - DEI = input.ReadInt32(); - break; - } - case 328: { - WEE = input.ReadInt32(); - break; - } - case 336: { - FEE = input.ReadInt32(); - break; - } - case 344: { - SEE = input.ReadInt32(); - break; - } - case 352: { - AEE = input.ReadInt32(); - break; - } - case 360: { - LEE = input.ReadInt32(); - break; - } - case 368: { - DEE = input.ReadInt32(); - break; - } - case 376: { - WER = input.ReadInt32(); - break; - } - case 384: { - FER = input.ReadInt32(); - break; - } - case 392: { - SER = input.ReadInt32(); - break; - } - case 400: { - AER = input.ReadInt32(); - break; - } - case 408: { - LER = input.ReadInt32(); - break; - } - case 416: { - DER = input.ReadInt32(); - break; - } - case 424: { - ToughnessDamageAdjust = input.ReadInt32(); - break; - } - case 432: { - Toughness = input.ReadInt32(); - break; - } - case 440: { - Suppress = input.ReadInt32(); - break; - } - case 448: { - NORMALDMG = input.ReadInt32(); - break; - } - case 456: { - SKILLDMG = input.ReadInt32(); - break; - } - case 464: { - ULTRADMG = input.ReadInt32(); - break; - } - case 472: { - OTHERDMG = input.ReadInt32(); - break; - } - case 480: { - RCDNORMALDMG = input.ReadInt32(); - break; - } - case 488: { - RCDSKILLDMG = input.ReadInt32(); - break; - } - case 496: { - RCDULTRADMG = input.ReadInt32(); - break; - } - case 504: { - RCDOTHERDMG = input.ReadInt32(); - break; - } - case 512: { - MARKDMG = input.ReadInt32(); - break; - } - case 520: { - RCDMARKDMG = input.ReadInt32(); - break; - } - case 528: { - SUMMONDMG = input.ReadInt32(); - break; - } - case 536: { - RCDSUMMONDMG = input.ReadInt32(); - break; - } - case 544: { - PROJECTILEDMG = input.ReadInt32(); - break; - } - case 552: { - RCDPROJECTILEDMG = input.ReadInt32(); - break; - } - case 560: { - GENDMG = input.ReadInt32(); - break; - } - case 568: { - DMGPLUS = input.ReadInt32(); - break; - } - case 576: { - FINALDMG = input.ReadInt32(); - break; - } - case 584: { - FINALDMGPLUS = input.ReadInt32(); - break; - } - case 592: { - WEERCD = input.ReadInt32(); - break; - } - case 600: { - FEERCD = input.ReadInt32(); - break; - } - case 608: { - SEERCD = input.ReadInt32(); - break; - } - case 616: { - AEERCD = input.ReadInt32(); - break; - } - case 624: { - LEERCD = input.ReadInt32(); - break; - } - case 632: { - DEERCD = input.ReadInt32(); - break; - } - case 640: { - GENDMGRCD = input.ReadInt32(); - break; - } - case 648: { - DMGPLUSRCD = 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 10: { - Id = input.ReadString(); - break; - } - case 16: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - Break = input.ReadInt32(); - break; - } - case 32: { - Lvl = input.ReadInt32(); - break; - } - case 40: { - Atk = input.ReadInt32(); - break; - } - case 48: { - Hp = input.ReadInt32(); - break; - } - case 56: { - Def = input.ReadInt32(); - break; - } - case 64: { - CritRate = input.ReadInt32(); - break; - } - case 72: { - NormalCritRate = input.ReadInt32(); - break; - } - case 80: { - SkillCritRate = input.ReadInt32(); - break; - } - case 88: { - UltraCritRate = input.ReadInt32(); - break; - } - case 96: { - MarkCritRate = input.ReadInt32(); - break; - } - case 104: { - SummonCritRate = input.ReadInt32(); - break; - } - case 112: { - ProjectileCritRate = input.ReadInt32(); - break; - } - case 120: { - OtherCritRate = input.ReadInt32(); - break; - } - case 128: { - CritResistance = input.ReadInt32(); - break; - } - case 136: { - CritPower = input.ReadInt32(); - break; - } - case 144: { - NormalCritPower = input.ReadInt32(); - break; - } - case 152: { - SkillCritPower = input.ReadInt32(); - break; - } - case 160: { - UltraCritPower = input.ReadInt32(); - break; - } - case 168: { - MarkCritPower = input.ReadInt32(); - break; - } - case 176: { - SummonCritPower = input.ReadInt32(); - break; - } - case 184: { - ProjectileCritPower = input.ReadInt32(); - break; - } - case 192: { - OtherCritPower = input.ReadInt32(); - break; - } - case 200: { - HitRate = input.ReadInt32(); - break; - } - case 208: { - Evd = input.ReadInt32(); - break; - } - case 216: { - DefPierce = input.ReadInt32(); - break; - } - case 224: { - DefIgnore = input.ReadInt32(); - break; - } - case 232: { - WEP = input.ReadInt32(); - break; - } - case 240: { - FEP = input.ReadInt32(); - break; - } - case 248: { - SEP = input.ReadInt32(); - break; - } - case 256: { - AEP = input.ReadInt32(); - break; - } - case 264: { - LEP = input.ReadInt32(); - break; - } - case 272: { - DEP = input.ReadInt32(); - break; - } - case 280: { - WEI = input.ReadInt32(); - break; - } - case 288: { - FEI = input.ReadInt32(); - break; - } - case 296: { - SEI = input.ReadInt32(); - break; - } - case 304: { - AEI = input.ReadInt32(); - break; - } - case 312: { - LEI = input.ReadInt32(); - break; - } - case 320: { - DEI = input.ReadInt32(); - break; - } - case 328: { - WEE = input.ReadInt32(); - break; - } - case 336: { - FEE = input.ReadInt32(); - break; - } - case 344: { - SEE = input.ReadInt32(); - break; - } - case 352: { - AEE = input.ReadInt32(); - break; - } - case 360: { - LEE = input.ReadInt32(); - break; - } - case 368: { - DEE = input.ReadInt32(); - break; - } - case 376: { - WER = input.ReadInt32(); - break; - } - case 384: { - FER = input.ReadInt32(); - break; - } - case 392: { - SER = input.ReadInt32(); - break; - } - case 400: { - AER = input.ReadInt32(); - break; - } - case 408: { - LER = input.ReadInt32(); - break; - } - case 416: { - DER = input.ReadInt32(); - break; - } - case 424: { - ToughnessDamageAdjust = input.ReadInt32(); - break; - } - case 432: { - Toughness = input.ReadInt32(); - break; - } - case 440: { - Suppress = input.ReadInt32(); - break; - } - case 448: { - NORMALDMG = input.ReadInt32(); - break; - } - case 456: { - SKILLDMG = input.ReadInt32(); - break; - } - case 464: { - ULTRADMG = input.ReadInt32(); - break; - } - case 472: { - OTHERDMG = input.ReadInt32(); - break; - } - case 480: { - RCDNORMALDMG = input.ReadInt32(); - break; - } - case 488: { - RCDSKILLDMG = input.ReadInt32(); - break; - } - case 496: { - RCDULTRADMG = input.ReadInt32(); - break; - } - case 504: { - RCDOTHERDMG = input.ReadInt32(); - break; - } - case 512: { - MARKDMG = input.ReadInt32(); - break; - } - case 520: { - RCDMARKDMG = input.ReadInt32(); - break; - } - case 528: { - SUMMONDMG = input.ReadInt32(); - break; - } - case 536: { - RCDSUMMONDMG = input.ReadInt32(); - break; - } - case 544: { - PROJECTILEDMG = input.ReadInt32(); - break; - } - case 552: { - RCDPROJECTILEDMG = input.ReadInt32(); - break; - } - case 560: { - GENDMG = input.ReadInt32(); - break; - } - case 568: { - DMGPLUS = input.ReadInt32(); - break; - } - case 576: { - FINALDMG = input.ReadInt32(); - break; - } - case 584: { - FINALDMGPLUS = input.ReadInt32(); - break; - } - case 592: { - WEERCD = input.ReadInt32(); - break; - } - case 600: { - FEERCD = input.ReadInt32(); - break; - } - case 608: { - SEERCD = input.ReadInt32(); - break; - } - case 616: { - AEERCD = input.ReadInt32(); - break; - } - case 624: { - LEERCD = input.ReadInt32(); - break; - } - case 632: { - DEERCD = input.ReadInt32(); - break; - } - case 640: { - GENDMGRCD = input.ReadInt32(); - break; - } - case 648: { - DMGPLUSRCD = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AttributeLimit.cs b/Novaria.Common/Protos/AttributeLimit.cs deleted file mode 100644 index c8e1957..0000000 --- a/Novaria.Common/Protos/AttributeLimit.cs +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AttributeLimit.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 AttributeLimit.proto - public static partial class AttributeLimitReflection { - - #region Descriptor - /// File descriptor for AttributeLimit.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AttributeLimitReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRBdHRyaWJ1dGVMaW1pdC5wcm90byJOCg5BdHRyaWJ1dGVMaW1pdBIKCgJp", - "ZBgBIAEoBRINCgVsb3dlchgCIAEoBRINCgV1cHBlchgDIAEoBRISCgppc19s", - "aW1pdGVkGAQgASgIQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AttributeLimit), global::Nova.Client.AttributeLimit.Parser, new[]{ "Id", "Lower", "Upper", "IsLimited" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AttributeLimit : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AttributeLimit()); - 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.AttributeLimitReflection.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 AttributeLimit() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AttributeLimit(AttributeLimit other) : this() { - id_ = other.id_; - lower_ = other.lower_; - upper_ = other.upper_; - isLimited_ = other.isLimited_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AttributeLimit Clone() { - return new AttributeLimit(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 "lower" field. - public const int LowerFieldNumber = 2; - private int lower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Lower { - get { return lower_; } - set { - lower_ = value; - } - } - - /// Field number for the "upper" field. - public const int UpperFieldNumber = 3; - private int upper_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Upper { - get { return upper_; } - set { - upper_ = value; - } - } - - /// Field number for the "is_limited" field. - public const int IsLimitedFieldNumber = 4; - private bool isLimited_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsLimited { - get { return isLimited_; } - set { - isLimited_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AttributeLimit); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AttributeLimit other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Lower != other.Lower) return false; - if (Upper != other.Upper) return false; - if (IsLimited != other.IsLimited) 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 (Lower != 0) hash ^= Lower.GetHashCode(); - if (Upper != 0) hash ^= Upper.GetHashCode(); - if (IsLimited != false) hash ^= IsLimited.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 (Lower != 0) { - output.WriteRawTag(16); - output.WriteInt32(Lower); - } - if (Upper != 0) { - output.WriteRawTag(24); - output.WriteInt32(Upper); - } - if (IsLimited != false) { - output.WriteRawTag(32); - output.WriteBool(IsLimited); - } - 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 (Lower != 0) { - output.WriteRawTag(16); - output.WriteInt32(Lower); - } - if (Upper != 0) { - output.WriteRawTag(24); - output.WriteInt32(Upper); - } - if (IsLimited != false) { - output.WriteRawTag(32); - output.WriteBool(IsLimited); - } - 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 (Lower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lower); - } - if (Upper != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Upper); - } - if (IsLimited != 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(AttributeLimit other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Lower != 0) { - Lower = other.Lower; - } - if (other.Upper != 0) { - Upper = other.Upper; - } - if (other.IsLimited != false) { - IsLimited = other.IsLimited; - } - _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: { - Lower = input.ReadInt32(); - break; - } - case 24: { - Upper = input.ReadInt32(); - break; - } - case 32: { - IsLimited = 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 16: { - Lower = input.ReadInt32(); - break; - } - case 24: { - Upper = input.ReadInt32(); - break; - } - case 32: { - IsLimited = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/BattlePass.cs b/Novaria.Common/Protos/BattlePass.cs deleted file mode 100644 index a8f148e..0000000 --- a/Novaria.Common/Protos/BattlePass.cs +++ /dev/null @@ -1,974 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BattlePass.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 BattlePass.proto - public static partial class BattlePassReflection { - - #region Descriptor - /// File descriptor for BattlePass.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static BattlePassReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBCYXR0bGVQYXNzLnByb3RvIvwDCgpCYXR0bGVQYXNzEgsKA2lfZBgBIAEo", - "BRIMCgRuYW1lGAIgASgJEhIKCnN0YXJ0X3RpbWUYAyABKAkSEAoIZW5kX3Rp", - "bWUYBCABKAkSGQoRbHV4dXJ5X3Byb2R1Y3RfaWQYBSABKAkSFAoMbHV4dXJ5", - "X3ByaWNlGAYgASgFEhoKEmx1eHVyeV9ib251c19sZXZlbBgHIAEoBRISCgps", - "dXh1cnlfdGlkGAggASgFEhIKCmx1eHVyeV9xdHkYCSABKAUSGgoScHJlbWl1", - "bV9wcm9kdWN0X2lkGAogASgJEhUKDXByZW1pdW1fcHJpY2UYCyABKAUSEwoL", - "cHJlbWl1bV90aWQYDCABKAUSEwoLcHJlbWl1bV9xdHkYDSABKAUSIAoYY29t", - "cGxlbWVudGFyeV9wcm9kdWN0X2lkGA4gASgJEhsKE2NvbXBsZW1lbnRhcnlf", - "cHJpY2UYDyABKAUSGQoRY29tcGxlbWVudGFyeV90aWQYECABKAUSGQoRY29t", - "cGxlbWVudGFyeV9xdHkYESABKAUSDQoFY292ZXIYEiABKAkSGgoScHJlbWl1", - "bV9zaG93X2l0ZW1zGBMgAygFEhkKEWx1eHVyeV9zaG93X2l0ZW1zGBQgAygF", - "EiAKGG91dGZpdF9wYWNrYWdlX3Nob3dfaXRlbRgVIAEoBUIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePass), global::Nova.Client.BattlePass.Parser, new[]{ "ID", "Name", "StartTime", "EndTime", "LuxuryProductId", "LuxuryPrice", "LuxuryBonusLevel", "LuxuryTid", "LuxuryQty", "PremiumProductId", "PremiumPrice", "PremiumTid", "PremiumQty", "ComplementaryProductId", "ComplementaryPrice", "ComplementaryTid", "ComplementaryQty", "Cover", "PremiumShowItems", "LuxuryShowItems", "OutfitPackageShowItem" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class BattlePass : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePass()); - 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.BattlePassReflection.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 BattlePass() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePass(BattlePass other) : this() { - iD_ = other.iD_; - name_ = other.name_; - startTime_ = other.startTime_; - endTime_ = other.endTime_; - luxuryProductId_ = other.luxuryProductId_; - luxuryPrice_ = other.luxuryPrice_; - luxuryBonusLevel_ = other.luxuryBonusLevel_; - luxuryTid_ = other.luxuryTid_; - luxuryQty_ = other.luxuryQty_; - premiumProductId_ = other.premiumProductId_; - premiumPrice_ = other.premiumPrice_; - premiumTid_ = other.premiumTid_; - premiumQty_ = other.premiumQty_; - complementaryProductId_ = other.complementaryProductId_; - complementaryPrice_ = other.complementaryPrice_; - complementaryTid_ = other.complementaryTid_; - complementaryQty_ = other.complementaryQty_; - cover_ = other.cover_; - premiumShowItems_ = other.premiumShowItems_.Clone(); - luxuryShowItems_ = other.luxuryShowItems_.Clone(); - outfitPackageShowItem_ = other.outfitPackageShowItem_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePass Clone() { - return new BattlePass(this); - } - - /// Field number for the "i_d" 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 "name" field. - 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"); - } - } - - /// Field number for the "start_time" field. - public const int StartTimeFieldNumber = 3; - private string startTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StartTime { - get { return startTime_; } - set { - startTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "end_time" field. - public const int EndTimeFieldNumber = 4; - private string endTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndTime { - get { return endTime_; } - set { - endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "luxury_product_id" field. - public const int LuxuryProductIdFieldNumber = 5; - private string luxuryProductId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LuxuryProductId { - get { return luxuryProductId_; } - set { - luxuryProductId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "luxury_price" field. - public const int LuxuryPriceFieldNumber = 6; - private int luxuryPrice_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LuxuryPrice { - get { return luxuryPrice_; } - set { - luxuryPrice_ = value; - } - } - - /// Field number for the "luxury_bonus_level" field. - public const int LuxuryBonusLevelFieldNumber = 7; - private int luxuryBonusLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LuxuryBonusLevel { - get { return luxuryBonusLevel_; } - set { - luxuryBonusLevel_ = value; - } - } - - /// Field number for the "luxury_tid" field. - public const int LuxuryTidFieldNumber = 8; - private int luxuryTid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LuxuryTid { - get { return luxuryTid_; } - set { - luxuryTid_ = value; - } - } - - /// Field number for the "luxury_qty" field. - public const int LuxuryQtyFieldNumber = 9; - private int luxuryQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LuxuryQty { - get { return luxuryQty_; } - set { - luxuryQty_ = value; - } - } - - /// Field number for the "premium_product_id" field. - public const int PremiumProductIdFieldNumber = 10; - private string premiumProductId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PremiumProductId { - get { return premiumProductId_; } - set { - premiumProductId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "premium_price" field. - public const int PremiumPriceFieldNumber = 11; - private int premiumPrice_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PremiumPrice { - get { return premiumPrice_; } - set { - premiumPrice_ = value; - } - } - - /// Field number for the "premium_tid" field. - public const int PremiumTidFieldNumber = 12; - private int premiumTid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PremiumTid { - get { return premiumTid_; } - set { - premiumTid_ = value; - } - } - - /// Field number for the "premium_qty" field. - public const int PremiumQtyFieldNumber = 13; - private int premiumQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PremiumQty { - get { return premiumQty_; } - set { - premiumQty_ = value; - } - } - - /// Field number for the "complementary_product_id" field. - public const int ComplementaryProductIdFieldNumber = 14; - private string complementaryProductId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ComplementaryProductId { - get { return complementaryProductId_; } - set { - complementaryProductId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "complementary_price" field. - public const int ComplementaryPriceFieldNumber = 15; - private int complementaryPrice_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ComplementaryPrice { - get { return complementaryPrice_; } - set { - complementaryPrice_ = value; - } - } - - /// Field number for the "complementary_tid" field. - public const int ComplementaryTidFieldNumber = 16; - private int complementaryTid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ComplementaryTid { - get { return complementaryTid_; } - set { - complementaryTid_ = value; - } - } - - /// Field number for the "complementary_qty" field. - public const int ComplementaryQtyFieldNumber = 17; - private int complementaryQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ComplementaryQty { - get { return complementaryQty_; } - set { - complementaryQty_ = value; - } - } - - /// Field number for the "cover" field. - public const int CoverFieldNumber = 18; - private string cover_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Cover { - get { return cover_; } - set { - cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "premium_show_items" field. - public const int PremiumShowItemsFieldNumber = 19; - private static readonly pb::FieldCodec _repeated_premiumShowItems_codec - = pb::FieldCodec.ForInt32(154); - private readonly pbc::RepeatedField premiumShowItems_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PremiumShowItems { - get { return premiumShowItems_; } - } - - /// Field number for the "luxury_show_items" field. - public const int LuxuryShowItemsFieldNumber = 20; - private static readonly pb::FieldCodec _repeated_luxuryShowItems_codec - = pb::FieldCodec.ForInt32(162); - private readonly pbc::RepeatedField luxuryShowItems_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LuxuryShowItems { - get { return luxuryShowItems_; } - } - - /// Field number for the "outfit_package_show_item" field. - public const int OutfitPackageShowItemFieldNumber = 21; - private int outfitPackageShowItem_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OutfitPackageShowItem { - get { return outfitPackageShowItem_; } - set { - outfitPackageShowItem_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as BattlePass); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BattlePass 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 (StartTime != other.StartTime) return false; - if (EndTime != other.EndTime) return false; - if (LuxuryProductId != other.LuxuryProductId) return false; - if (LuxuryPrice != other.LuxuryPrice) return false; - if (LuxuryBonusLevel != other.LuxuryBonusLevel) return false; - if (LuxuryTid != other.LuxuryTid) return false; - if (LuxuryQty != other.LuxuryQty) return false; - if (PremiumProductId != other.PremiumProductId) return false; - if (PremiumPrice != other.PremiumPrice) return false; - if (PremiumTid != other.PremiumTid) return false; - if (PremiumQty != other.PremiumQty) return false; - if (ComplementaryProductId != other.ComplementaryProductId) return false; - if (ComplementaryPrice != other.ComplementaryPrice) return false; - if (ComplementaryTid != other.ComplementaryTid) return false; - if (ComplementaryQty != other.ComplementaryQty) return false; - if (Cover != other.Cover) return false; - if(!premiumShowItems_.Equals(other.premiumShowItems_)) return false; - if(!luxuryShowItems_.Equals(other.luxuryShowItems_)) return false; - if (OutfitPackageShowItem != other.OutfitPackageShowItem) 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 (StartTime.Length != 0) hash ^= StartTime.GetHashCode(); - if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); - if (LuxuryProductId.Length != 0) hash ^= LuxuryProductId.GetHashCode(); - if (LuxuryPrice != 0) hash ^= LuxuryPrice.GetHashCode(); - if (LuxuryBonusLevel != 0) hash ^= LuxuryBonusLevel.GetHashCode(); - if (LuxuryTid != 0) hash ^= LuxuryTid.GetHashCode(); - if (LuxuryQty != 0) hash ^= LuxuryQty.GetHashCode(); - if (PremiumProductId.Length != 0) hash ^= PremiumProductId.GetHashCode(); - if (PremiumPrice != 0) hash ^= PremiumPrice.GetHashCode(); - if (PremiumTid != 0) hash ^= PremiumTid.GetHashCode(); - if (PremiumQty != 0) hash ^= PremiumQty.GetHashCode(); - if (ComplementaryProductId.Length != 0) hash ^= ComplementaryProductId.GetHashCode(); - if (ComplementaryPrice != 0) hash ^= ComplementaryPrice.GetHashCode(); - if (ComplementaryTid != 0) hash ^= ComplementaryTid.GetHashCode(); - if (ComplementaryQty != 0) hash ^= ComplementaryQty.GetHashCode(); - if (Cover.Length != 0) hash ^= Cover.GetHashCode(); - hash ^= premiumShowItems_.GetHashCode(); - hash ^= luxuryShowItems_.GetHashCode(); - if (OutfitPackageShowItem != 0) hash ^= OutfitPackageShowItem.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 (StartTime.Length != 0) { - output.WriteRawTag(26); - output.WriteString(StartTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(34); - output.WriteString(EndTime); - } - if (LuxuryProductId.Length != 0) { - output.WriteRawTag(42); - output.WriteString(LuxuryProductId); - } - if (LuxuryPrice != 0) { - output.WriteRawTag(48); - output.WriteInt32(LuxuryPrice); - } - if (LuxuryBonusLevel != 0) { - output.WriteRawTag(56); - output.WriteInt32(LuxuryBonusLevel); - } - if (LuxuryTid != 0) { - output.WriteRawTag(64); - output.WriteInt32(LuxuryTid); - } - if (LuxuryQty != 0) { - output.WriteRawTag(72); - output.WriteInt32(LuxuryQty); - } - if (PremiumProductId.Length != 0) { - output.WriteRawTag(82); - output.WriteString(PremiumProductId); - } - if (PremiumPrice != 0) { - output.WriteRawTag(88); - output.WriteInt32(PremiumPrice); - } - if (PremiumTid != 0) { - output.WriteRawTag(96); - output.WriteInt32(PremiumTid); - } - if (PremiumQty != 0) { - output.WriteRawTag(104); - output.WriteInt32(PremiumQty); - } - if (ComplementaryProductId.Length != 0) { - output.WriteRawTag(114); - output.WriteString(ComplementaryProductId); - } - if (ComplementaryPrice != 0) { - output.WriteRawTag(120); - output.WriteInt32(ComplementaryPrice); - } - if (ComplementaryTid != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ComplementaryTid); - } - if (ComplementaryQty != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ComplementaryQty); - } - if (Cover.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Cover); - } - premiumShowItems_.WriteTo(output, _repeated_premiumShowItems_codec); - luxuryShowItems_.WriteTo(output, _repeated_luxuryShowItems_codec); - if (OutfitPackageShowItem != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(OutfitPackageShowItem); - } - 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 (StartTime.Length != 0) { - output.WriteRawTag(26); - output.WriteString(StartTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(34); - output.WriteString(EndTime); - } - if (LuxuryProductId.Length != 0) { - output.WriteRawTag(42); - output.WriteString(LuxuryProductId); - } - if (LuxuryPrice != 0) { - output.WriteRawTag(48); - output.WriteInt32(LuxuryPrice); - } - if (LuxuryBonusLevel != 0) { - output.WriteRawTag(56); - output.WriteInt32(LuxuryBonusLevel); - } - if (LuxuryTid != 0) { - output.WriteRawTag(64); - output.WriteInt32(LuxuryTid); - } - if (LuxuryQty != 0) { - output.WriteRawTag(72); - output.WriteInt32(LuxuryQty); - } - if (PremiumProductId.Length != 0) { - output.WriteRawTag(82); - output.WriteString(PremiumProductId); - } - if (PremiumPrice != 0) { - output.WriteRawTag(88); - output.WriteInt32(PremiumPrice); - } - if (PremiumTid != 0) { - output.WriteRawTag(96); - output.WriteInt32(PremiumTid); - } - if (PremiumQty != 0) { - output.WriteRawTag(104); - output.WriteInt32(PremiumQty); - } - if (ComplementaryProductId.Length != 0) { - output.WriteRawTag(114); - output.WriteString(ComplementaryProductId); - } - if (ComplementaryPrice != 0) { - output.WriteRawTag(120); - output.WriteInt32(ComplementaryPrice); - } - if (ComplementaryTid != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ComplementaryTid); - } - if (ComplementaryQty != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ComplementaryQty); - } - if (Cover.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Cover); - } - premiumShowItems_.WriteTo(ref output, _repeated_premiumShowItems_codec); - luxuryShowItems_.WriteTo(ref output, _repeated_luxuryShowItems_codec); - if (OutfitPackageShowItem != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(OutfitPackageShowItem); - } - 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 (StartTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StartTime); - } - if (EndTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); - } - if (LuxuryProductId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LuxuryProductId); - } - if (LuxuryPrice != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryPrice); - } - if (LuxuryBonusLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryBonusLevel); - } - if (LuxuryTid != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryTid); - } - if (LuxuryQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryQty); - } - if (PremiumProductId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PremiumProductId); - } - if (PremiumPrice != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PremiumPrice); - } - if (PremiumTid != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PremiumTid); - } - if (PremiumQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PremiumQty); - } - if (ComplementaryProductId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ComplementaryProductId); - } - if (ComplementaryPrice != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ComplementaryPrice); - } - if (ComplementaryTid != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ComplementaryTid); - } - if (ComplementaryQty != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ComplementaryQty); - } - if (Cover.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Cover); - } - size += premiumShowItems_.CalculateSize(_repeated_premiumShowItems_codec); - size += luxuryShowItems_.CalculateSize(_repeated_luxuryShowItems_codec); - if (OutfitPackageShowItem != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OutfitPackageShowItem); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BattlePass other) { - if (other == null) { - return; - } - if (other.ID != 0) { - ID = other.ID; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.StartTime.Length != 0) { - StartTime = other.StartTime; - } - if (other.EndTime.Length != 0) { - EndTime = other.EndTime; - } - if (other.LuxuryProductId.Length != 0) { - LuxuryProductId = other.LuxuryProductId; - } - if (other.LuxuryPrice != 0) { - LuxuryPrice = other.LuxuryPrice; - } - if (other.LuxuryBonusLevel != 0) { - LuxuryBonusLevel = other.LuxuryBonusLevel; - } - if (other.LuxuryTid != 0) { - LuxuryTid = other.LuxuryTid; - } - if (other.LuxuryQty != 0) { - LuxuryQty = other.LuxuryQty; - } - if (other.PremiumProductId.Length != 0) { - PremiumProductId = other.PremiumProductId; - } - if (other.PremiumPrice != 0) { - PremiumPrice = other.PremiumPrice; - } - if (other.PremiumTid != 0) { - PremiumTid = other.PremiumTid; - } - if (other.PremiumQty != 0) { - PremiumQty = other.PremiumQty; - } - if (other.ComplementaryProductId.Length != 0) { - ComplementaryProductId = other.ComplementaryProductId; - } - if (other.ComplementaryPrice != 0) { - ComplementaryPrice = other.ComplementaryPrice; - } - if (other.ComplementaryTid != 0) { - ComplementaryTid = other.ComplementaryTid; - } - if (other.ComplementaryQty != 0) { - ComplementaryQty = other.ComplementaryQty; - } - if (other.Cover.Length != 0) { - Cover = other.Cover; - } - premiumShowItems_.Add(other.premiumShowItems_); - luxuryShowItems_.Add(other.luxuryShowItems_); - if (other.OutfitPackageShowItem != 0) { - OutfitPackageShowItem = other.OutfitPackageShowItem; - } - _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 26: { - StartTime = input.ReadString(); - break; - } - case 34: { - EndTime = input.ReadString(); - break; - } - case 42: { - LuxuryProductId = input.ReadString(); - break; - } - case 48: { - LuxuryPrice = input.ReadInt32(); - break; - } - case 56: { - LuxuryBonusLevel = input.ReadInt32(); - break; - } - case 64: { - LuxuryTid = input.ReadInt32(); - break; - } - case 72: { - LuxuryQty = input.ReadInt32(); - break; - } - case 82: { - PremiumProductId = input.ReadString(); - break; - } - case 88: { - PremiumPrice = input.ReadInt32(); - break; - } - case 96: { - PremiumTid = input.ReadInt32(); - break; - } - case 104: { - PremiumQty = input.ReadInt32(); - break; - } - case 114: { - ComplementaryProductId = input.ReadString(); - break; - } - case 120: { - ComplementaryPrice = input.ReadInt32(); - break; - } - case 128: { - ComplementaryTid = input.ReadInt32(); - break; - } - case 136: { - ComplementaryQty = input.ReadInt32(); - break; - } - case 146: { - Cover = input.ReadString(); - break; - } - case 154: - case 152: { - premiumShowItems_.AddEntriesFrom(input, _repeated_premiumShowItems_codec); - break; - } - case 162: - case 160: { - luxuryShowItems_.AddEntriesFrom(input, _repeated_luxuryShowItems_codec); - break; - } - case 168: { - OutfitPackageShowItem = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - StartTime = input.ReadString(); - break; - } - case 34: { - EndTime = input.ReadString(); - break; - } - case 42: { - LuxuryProductId = input.ReadString(); - break; - } - case 48: { - LuxuryPrice = input.ReadInt32(); - break; - } - case 56: { - LuxuryBonusLevel = input.ReadInt32(); - break; - } - case 64: { - LuxuryTid = input.ReadInt32(); - break; - } - case 72: { - LuxuryQty = input.ReadInt32(); - break; - } - case 82: { - PremiumProductId = input.ReadString(); - break; - } - case 88: { - PremiumPrice = input.ReadInt32(); - break; - } - case 96: { - PremiumTid = input.ReadInt32(); - break; - } - case 104: { - PremiumQty = input.ReadInt32(); - break; - } - case 114: { - ComplementaryProductId = input.ReadString(); - break; - } - case 120: { - ComplementaryPrice = input.ReadInt32(); - break; - } - case 128: { - ComplementaryTid = input.ReadInt32(); - break; - } - case 136: { - ComplementaryQty = input.ReadInt32(); - break; - } - case 146: { - Cover = input.ReadString(); - break; - } - case 154: - case 152: { - premiumShowItems_.AddEntriesFrom(ref input, _repeated_premiumShowItems_codec); - break; - } - case 162: - case 160: { - luxuryShowItems_.AddEntriesFrom(ref input, _repeated_luxuryShowItems_codec); - break; - } - case 168: { - OutfitPackageShowItem = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/BattlePassInfo.cs b/Novaria.Common/Protos/BattlePassInfo.cs new file mode 100644 index 0000000..a6d8358 --- /dev/null +++ b/Novaria.Common/Protos/BattlePassInfo.cs @@ -0,0 +1,672 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: battle_pass_info.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 Proto { + + /// Holder for reflection information generated from battle_pass_info.proto + public static partial class BattlePassInfoReflection { + + #region Descriptor + /// File descriptor for battle_pass_info.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static BattlePassInfoReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZiYXR0bGVfcGFzc19pbmZvLnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "IokCCg5CYXR0bGVQYXNzSW5mbxIKCgJJZBgBIAEoDRIMCgRNb2RlGAIgASgN", + "Eg8KB1ZlcnNpb24YAyABKA0SEAoIRGVhZGxpbmUYBCABKAMSDQoFTGV2ZWwY", + "BSABKA0SCwoDRXhwGAYgASgNEhMKC0V4cFRoaXNXZWVrGAcgASgNEhMKC0Jh", + "c2ljUmV3YXJkGAggASgMEhUKDVByZW1pdW1SZXdhcmQYCSABKAwSIgoLRGFp", + "bHlRdWVzdHMYCiABKAsyDS5wcm90by5RdWVzdHMSIwoMV2Vla2x5UXVlc3Rz", + "GAsgASgLMg0ucHJvdG8uUXVlc3RzEhQKC05leHRQYWNrYWdlGP8PIAEoDFAA", + "YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassInfo), global::Proto.BattlePassInfo.Parser, new[]{ "Id", "Mode", "Version", "Deadline", "Level", "Exp", "ExpThisWeek", "BasicReward", "PremiumReward", "DailyQuests", "WeeklyQuests", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassInfo()); + 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::Proto.BattlePassInfoReflection.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 BattlePassInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassInfo(BattlePassInfo other) : this() { + id_ = other.id_; + mode_ = other.mode_; + version_ = other.version_; + deadline_ = other.deadline_; + level_ = other.level_; + exp_ = other.exp_; + expThisWeek_ = other.expThisWeek_; + basicReward_ = other.basicReward_; + premiumReward_ = other.premiumReward_; + dailyQuests_ = other.dailyQuests_ != null ? other.dailyQuests_.Clone() : null; + weeklyQuests_ = other.weeklyQuests_ != null ? other.weeklyQuests_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassInfo Clone() { + return new BattlePassInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Mode" field. + public const int ModeFieldNumber = 2; + private uint mode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Mode { + get { return mode_; } + set { + mode_ = value; + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 3; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "Deadline" field. + public const int DeadlineFieldNumber = 4; + private long deadline_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Deadline { + get { return deadline_; } + set { + deadline_ = value; + } + } + + /// Field number for the "Level" field. + public const int LevelFieldNumber = 5; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 6; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "ExpThisWeek" field. + public const int ExpThisWeekFieldNumber = 7; + private uint expThisWeek_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ExpThisWeek { + get { return expThisWeek_; } + set { + expThisWeek_ = value; + } + } + + /// Field number for the "BasicReward" field. + public const int BasicRewardFieldNumber = 8; + private pb::ByteString basicReward_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString BasicReward { + get { return basicReward_; } + set { + basicReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PremiumReward" field. + public const int PremiumRewardFieldNumber = 9; + private pb::ByteString premiumReward_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString PremiumReward { + get { return premiumReward_; } + set { + premiumReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "DailyQuests" field. + public const int DailyQuestsFieldNumber = 10; + private global::Proto.Quests dailyQuests_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Quests DailyQuests { + get { return dailyQuests_; } + set { + dailyQuests_ = value; + } + } + + /// Field number for the "WeeklyQuests" field. + public const int WeeklyQuestsFieldNumber = 11; + private global::Proto.Quests weeklyQuests_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Quests WeeklyQuests { + get { return weeklyQuests_; } + set { + weeklyQuests_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BattlePassInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Mode != other.Mode) return false; + if (Version != other.Version) return false; + if (Deadline != other.Deadline) return false; + if (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if (ExpThisWeek != other.ExpThisWeek) return false; + if (BasicReward != other.BasicReward) return false; + if (PremiumReward != other.PremiumReward) return false; + if (!object.Equals(DailyQuests, other.DailyQuests)) return false; + if (!object.Equals(WeeklyQuests, other.WeeklyQuests)) return false; + if (NextPackage != other.NextPackage) 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 (Mode != 0) hash ^= Mode.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (Deadline != 0L) hash ^= Deadline.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (ExpThisWeek != 0) hash ^= ExpThisWeek.GetHashCode(); + if (BasicReward.Length != 0) hash ^= BasicReward.GetHashCode(); + if (PremiumReward.Length != 0) hash ^= PremiumReward.GetHashCode(); + if (dailyQuests_ != null) hash ^= DailyQuests.GetHashCode(); + if (weeklyQuests_ != null) hash ^= WeeklyQuests.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Mode != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Mode); + } + if (Version != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Version); + } + if (Deadline != 0L) { + output.WriteRawTag(32); + output.WriteInt64(Deadline); + } + if (Level != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Exp); + } + if (ExpThisWeek != 0) { + output.WriteRawTag(56); + output.WriteUInt32(ExpThisWeek); + } + if (BasicReward.Length != 0) { + output.WriteRawTag(66); + output.WriteBytes(BasicReward); + } + if (PremiumReward.Length != 0) { + output.WriteRawTag(74); + output.WriteBytes(PremiumReward); + } + if (dailyQuests_ != null) { + output.WriteRawTag(82); + output.WriteMessage(DailyQuests); + } + if (weeklyQuests_ != null) { + output.WriteRawTag(90); + output.WriteMessage(WeeklyQuests); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Mode != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Mode); + } + if (Version != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Version); + } + if (Deadline != 0L) { + output.WriteRawTag(32); + output.WriteInt64(Deadline); + } + if (Level != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Exp); + } + if (ExpThisWeek != 0) { + output.WriteRawTag(56); + output.WriteUInt32(ExpThisWeek); + } + if (BasicReward.Length != 0) { + output.WriteRawTag(66); + output.WriteBytes(BasicReward); + } + if (PremiumReward.Length != 0) { + output.WriteRawTag(74); + output.WriteBytes(PremiumReward); + } + if (dailyQuests_ != null) { + output.WriteRawTag(82); + output.WriteMessage(DailyQuests); + } + if (weeklyQuests_ != null) { + output.WriteRawTag(90); + output.WriteMessage(WeeklyQuests); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Mode != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mode); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (Deadline != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Deadline); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (ExpThisWeek != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpThisWeek); + } + if (BasicReward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(BasicReward); + } + if (PremiumReward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(PremiumReward); + } + if (dailyQuests_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DailyQuests); + } + if (weeklyQuests_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(WeeklyQuests); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Mode != 0) { + Mode = other.Mode; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.Deadline != 0L) { + Deadline = other.Deadline; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.ExpThisWeek != 0) { + ExpThisWeek = other.ExpThisWeek; + } + if (other.BasicReward.Length != 0) { + BasicReward = other.BasicReward; + } + if (other.PremiumReward.Length != 0) { + PremiumReward = other.PremiumReward; + } + if (other.dailyQuests_ != null) { + if (dailyQuests_ == null) { + DailyQuests = new global::Proto.Quests(); + } + DailyQuests.MergeFrom(other.DailyQuests); + } + if (other.weeklyQuests_ != null) { + if (weeklyQuests_ == null) { + WeeklyQuests = new global::Proto.Quests(); + } + WeeklyQuests.MergeFrom(other.WeeklyQuests); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Mode = input.ReadUInt32(); + break; + } + case 24: { + Version = input.ReadUInt32(); + break; + } + case 32: { + Deadline = input.ReadInt64(); + break; + } + case 40: { + Level = input.ReadUInt32(); + break; + } + case 48: { + Exp = input.ReadUInt32(); + break; + } + case 56: { + ExpThisWeek = input.ReadUInt32(); + break; + } + case 66: { + BasicReward = input.ReadBytes(); + break; + } + case 74: { + PremiumReward = input.ReadBytes(); + break; + } + case 82: { + if (dailyQuests_ == null) { + DailyQuests = new global::Proto.Quests(); + } + input.ReadMessage(DailyQuests); + break; + } + case 90: { + if (weeklyQuests_ == null) { + WeeklyQuests = new global::Proto.Quests(); + } + input.ReadMessage(WeeklyQuests); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Mode = input.ReadUInt32(); + break; + } + case 24: { + Version = input.ReadUInt32(); + break; + } + case 32: { + Deadline = input.ReadInt64(); + break; + } + case 40: { + Level = input.ReadUInt32(); + break; + } + case 48: { + Exp = input.ReadUInt32(); + break; + } + case 56: { + ExpThisWeek = input.ReadUInt32(); + break; + } + case 66: { + BasicReward = input.ReadBytes(); + break; + } + case 74: { + PremiumReward = input.ReadBytes(); + break; + } + case 82: { + if (dailyQuests_ == null) { + DailyQuests = new global::Proto.Quests(); + } + input.ReadMessage(DailyQuests); + break; + } + case 90: { + if (weeklyQuests_ == null) { + WeeklyQuests = new global::Proto.Quests(); + } + input.ReadMessage(WeeklyQuests); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireSurvivorLevel.cs b/Novaria.Common/Protos/BattlePassLevelBuy.cs similarity index 62% rename from Novaria.Common/Protos/VampireSurvivorLevel.cs rename to Novaria.Common/Protos/BattlePassLevelBuy.cs index c0b92b7..d865b24 100644 --- a/Novaria.Common/Protos/VampireSurvivorLevel.cs +++ b/Novaria.Common/Protos/BattlePassLevelBuy.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireSurvivorLevel.proto +// source: battle_pass_level_buy.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from VampireSurvivorLevel.proto - public static partial class VampireSurvivorLevelReflection { + /// Holder for reflection information generated from battle_pass_level_buy.proto + public static partial class BattlePassLevelBuyReflection { #region Descriptor - /// File descriptor for VampireSurvivorLevel.proto + /// File descriptor for battle_pass_level_buy.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static VampireSurvivorLevelReflection() { + static BattlePassLevelBuyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChpWYW1waXJlU3Vydml2b3JMZXZlbC5wcm90byJFChRWYW1waXJlU3Vydml2", - "b3JMZXZlbBIRCglncm91cF9pX2QYASABKAUSDQoFbGV2ZWwYAiABKAUSCwoD", - "ZXhwGAMgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "ChtiYXR0bGVfcGFzc19sZXZlbF9idXkucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iYAoWQmF0dGxlUGFzc0xldmVsQnV5UmVzcBIhCgZDaGFuZ2UYASAB", + "KAsyES5wcm90by5DaGFuZ2VJbmZvEg0KBUxldmVsGAIgASgNEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireSurvivorLevel), global::Nova.Client.VampireSurvivorLevel.Parser, new[]{ "GroupID", "Level", "Exp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassLevelBuyResp), global::Proto.BattlePassLevelBuyResp.Parser, new[]{ "Change", "Level", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireSurvivorLevel : pb::IMessage + public sealed partial class BattlePassLevelBuyResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireSurvivorLevel()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassLevelBuyResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.VampireSurvivorLevelReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.BattlePassLevelBuyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivorLevel() { + public BattlePassLevelBuyResp() { OnConstruction(); } @@ -71,73 +72,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivorLevel(VampireSurvivorLevel other) : this() { - groupID_ = other.groupID_; + public BattlePassLevelBuyResp(BattlePassLevelBuyResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; level_ = other.level_; - exp_ = other.exp_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivorLevel Clone() { - return new VampireSurvivorLevel(this); + public BattlePassLevelBuyResp Clone() { + return new BattlePassLevelBuyResp(this); } - /// Field number for the "group_i_d" field. - public const int GroupIDFieldNumber = 1; - private int groupID_; + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupID { - get { return groupID_; } + public global::Proto.ChangeInfo Change { + get { return change_; } set { - groupID_ = value; + change_ = value; } } - /// Field number for the "level" field. + /// Field number for the "Level" field. public const int LevelFieldNumber = 2; - private int level_; + private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { + public uint Level { get { return level_; } set { level_ = value; } } - /// Field number for the "exp" field. - public const int ExpFieldNumber = 3; - private int exp_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - exp_ = value; + nextPackage_ = 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 VampireSurvivorLevel); + return Equals(other as BattlePassLevelBuyResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireSurvivorLevel other) { + public bool Equals(BattlePassLevelBuyResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (GroupID != other.GroupID) return false; + if (!object.Equals(Change, other.Change)) return false; if (Level != other.Level) return false; - if (Exp != other.Exp) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (GroupID != 0) hash ^= GroupID.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); - if (Exp != 0) hash ^= Exp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (GroupID != 0) { - output.WriteRawTag(8); - output.WriteInt32(GroupID); + if (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); } if (Level != 0) { output.WriteRawTag(16); - output.WriteInt32(Level); + output.WriteUInt32(Level); } - if (Exp != 0) { - output.WriteRawTag(24); - output.WriteInt32(Exp); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (GroupID != 0) { - output.WriteRawTag(8); - output.WriteInt32(GroupID); + if (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); } if (Level != 0) { output.WriteRawTag(16); - output.WriteInt32(Level); + output.WriteUInt32(Level); } - if (Exp != 0) { - output.WriteRawTag(24); - output.WriteInt32(Exp); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (GroupID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupID); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireSurvivorLevel other) { + public void MergeFrom(BattlePassLevelBuyResp other) { if (other == null) { return; } - if (other.GroupID != 0) { - GroupID = other.GroupID; + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); } if (other.Level != 0) { Level = other.Level; } - if (other.Exp != 0) { - Exp = other.Exp; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -259,16 +263,19 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - GroupID = input.ReadInt32(); + case 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } case 16: { - Level = input.ReadInt32(); + Level = input.ReadUInt32(); break; } - case 24: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -290,16 +297,19 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - GroupID = input.ReadInt32(); + case 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } case 16: { - Level = input.ReadInt32(); + Level = input.ReadUInt32(); break; } - case 24: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/BattlePassOrder.cs b/Novaria.Common/Protos/BattlePassOrder.cs new file mode 100644 index 0000000..f125d6b --- /dev/null +++ b/Novaria.Common/Protos/BattlePassOrder.cs @@ -0,0 +1,316 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: battle_pass_order.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 Proto { + + /// Holder for reflection information generated from battle_pass_order.proto + public static partial class BattlePassOrderReflection { + + #region Descriptor + /// File descriptor for battle_pass_order.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static BattlePassOrderReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdiYXR0bGVfcGFzc19vcmRlci5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byJJChJCYXR0bGVQYXNzT3JkZXJSZXESDAoETW9kZRgBIAEoDRIPCgdWZXJz", + "aW9uGAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassOrderReq), global::Proto.BattlePassOrderReq.Parser, new[]{ "Mode", "Version", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassOrderReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassOrderReq()); + 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::Proto.BattlePassOrderReflection.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 BattlePassOrderReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassOrderReq(BattlePassOrderReq other) : this() { + mode_ = other.mode_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassOrderReq Clone() { + return new BattlePassOrderReq(this); + } + + /// Field number for the "Mode" field. + public const int ModeFieldNumber = 1; + private uint mode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Mode { + get { return mode_; } + set { + mode_ = value; + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BattlePassOrderReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassOrderReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Mode != other.Mode) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) 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 (Mode != 0) hash ^= Mode.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Mode != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Mode); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Mode != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Mode); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Mode != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mode); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassOrderReq other) { + if (other == null) { + return; + } + if (other.Mode != 0) { + Mode = other.Mode; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Mode = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Mode = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentGroupExp.cs b/Novaria.Common/Protos/BattlePassOrderCollect.cs similarity index 56% rename from Novaria.Common/Protos/EquipmentGroupExp.cs rename to Novaria.Common/Protos/BattlePassOrderCollect.cs index c72100f..e909fb0 100644 --- a/Novaria.Common/Protos/EquipmentGroupExp.cs +++ b/Novaria.Common/Protos/BattlePassOrderCollect.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EquipmentGroupExp.proto +// source: battle_pass_order_collect.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,30 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from EquipmentGroupExp.proto - public static partial class EquipmentGroupExpReflection { + /// Holder for reflection information generated from battle_pass_order_collect.proto + public static partial class BattlePassOrderCollectReflection { #region Descriptor - /// File descriptor for EquipmentGroupExp.proto + /// File descriptor for battle_pass_order_collect.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static EquipmentGroupExpReflection() { + static BattlePassOrderCollectReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChdFcXVpcG1lbnRHcm91cEV4cC5wcm90byJlChFFcXVpcG1lbnRHcm91cEV4", - "cBIKCgJpZBgBIAEoBRIQCghncm91cF9pZBgCIAEoBRINCgVsZXZlbBgDIAEo", - "BRIQCghuZWVkX2V4cBgEIAEoBRIRCgl0b3RhbF9leHAYBSABKAVCDqoCC05v", - "dmEuQ2xpZW50YgZwcm90bzM=")); + "Ch9iYXR0bGVfcGFzc19vcmRlcl9jb2xsZWN0LnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvIokBChpCYXR0bGVQYXNzT3JkZXJDb2xsZWN0UmVzcBInCgtD", + "b2xsZWN0UmVzcBgBIAEoCzISLnByb3RvLkNvbGxlY3RSZXNwEgwKBE1vZGUY", + "AiABKA0SDQoFTGV2ZWwYAyABKA0SDwoHVmVyc2lvbhgEIAEoDRIUCgtOZXh0", + "UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentGroupExp), global::Nova.Client.EquipmentGroupExp.Parser, new[]{ "Id", "GroupId", "Level", "NeedExp", "TotalExp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassOrderCollectResp), global::Proto.BattlePassOrderCollectResp.Parser, new[]{ "CollectResp", "Mode", "Level", "Version", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +40,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EquipmentGroupExp : pb::IMessage + public sealed partial class BattlePassOrderCollectResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentGroupExp()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassOrderCollectResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.EquipmentGroupExpReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.BattlePassOrderCollectReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +65,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentGroupExp() { + public BattlePassOrderCollectResp() { OnConstruction(); } @@ -72,101 +73,101 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentGroupExp(EquipmentGroupExp other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; + public BattlePassOrderCollectResp(BattlePassOrderCollectResp other) : this() { + collectResp_ = other.collectResp_ != null ? other.collectResp_.Clone() : null; + mode_ = other.mode_; level_ = other.level_; - needExp_ = other.needExp_; - totalExp_ = other.totalExp_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentGroupExp Clone() { - return new EquipmentGroupExp(this); + public BattlePassOrderCollectResp Clone() { + return new BattlePassOrderCollectResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "CollectResp" field. + public const int CollectRespFieldNumber = 1; + private global::Proto.CollectResp collectResp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public global::Proto.CollectResp CollectResp { + get { return collectResp_; } set { - id_ = value; + collectResp_ = value; } } - /// Field number for the "group_id" field. - public const int GroupIdFieldNumber = 2; - private int groupId_; + /// Field number for the "Mode" field. + public const int ModeFieldNumber = 2; + private uint mode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } + public uint Mode { + get { return mode_; } set { - groupId_ = value; + mode_ = value; } } - /// Field number for the "level" field. + /// Field number for the "Level" field. public const int LevelFieldNumber = 3; - private int level_; + private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { + public uint Level { get { return level_; } set { level_ = value; } } - /// Field number for the "need_exp" field. - public const int NeedExpFieldNumber = 4; - private int needExp_; + /// Field number for the "Version" field. + public const int VersionFieldNumber = 4; + private uint version_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedExp { - get { return needExp_; } + public uint Version { + get { return version_; } set { - needExp_ = value; + version_ = value; } } - /// Field number for the "total_exp" field. - public const int TotalExpFieldNumber = 5; - private int totalExp_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TotalExp { - get { return totalExp_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - totalExp_ = value; + nextPackage_ = 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 EquipmentGroupExp); + return Equals(other as BattlePassOrderCollectResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EquipmentGroupExp other) { + public bool Equals(BattlePassOrderCollectResp 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 (!object.Equals(CollectResp, other.CollectResp)) return false; + if (Mode != other.Mode) return false; if (Level != other.Level) return false; - if (NeedExp != other.NeedExp) return false; - if (TotalExp != other.TotalExp) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -174,11 +175,11 @@ namespace Nova.Client { [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 (collectResp_ != null) hash ^= CollectResp.GetHashCode(); + if (Mode != 0) hash ^= Mode.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); - if (NeedExp != 0) hash ^= NeedExp.GetHashCode(); - if (TotalExp != 0) hash ^= TotalExp.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -197,25 +198,25 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + if (collectResp_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CollectResp); } - if (GroupId != 0) { + if (Mode != 0) { output.WriteRawTag(16); - output.WriteInt32(GroupId); + output.WriteUInt32(Mode); } if (Level != 0) { output.WriteRawTag(24); - output.WriteInt32(Level); + output.WriteUInt32(Level); } - if (NeedExp != 0) { + if (Version != 0) { output.WriteRawTag(32); - output.WriteInt32(NeedExp); + output.WriteUInt32(Version); } - if (TotalExp != 0) { - output.WriteRawTag(40); - output.WriteInt32(TotalExp); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -227,25 +228,25 @@ namespace Nova.Client { [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 (collectResp_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CollectResp); } - if (GroupId != 0) { + if (Mode != 0) { output.WriteRawTag(16); - output.WriteInt32(GroupId); + output.WriteUInt32(Mode); } if (Level != 0) { output.WriteRawTag(24); - output.WriteInt32(Level); + output.WriteUInt32(Level); } - if (NeedExp != 0) { + if (Version != 0) { output.WriteRawTag(32); - output.WriteInt32(NeedExp); + output.WriteUInt32(Version); } - if (TotalExp != 0) { - output.WriteRawTag(40); - output.WriteInt32(TotalExp); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -257,20 +258,20 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (collectResp_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CollectResp); } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + if (Mode != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mode); } if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } - if (NeedExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp); + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); } - if (TotalExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalExp); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -280,24 +281,27 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EquipmentGroupExp other) { + public void MergeFrom(BattlePassOrderCollectResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.collectResp_ != null) { + if (collectResp_ == null) { + CollectResp = new global::Proto.CollectResp(); + } + CollectResp.MergeFrom(other.CollectResp); } - if (other.GroupId != 0) { - GroupId = other.GroupId; + if (other.Mode != 0) { + Mode = other.Mode; } if (other.Level != 0) { Level = other.Level; } - if (other.NeedExp != 0) { - NeedExp = other.NeedExp; + if (other.Version != 0) { + Version = other.Version; } - if (other.TotalExp != 0) { - TotalExp = other.TotalExp; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -318,24 +322,27 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + if (collectResp_ == null) { + CollectResp = new global::Proto.CollectResp(); + } + input.ReadMessage(CollectResp); break; } case 16: { - GroupId = input.ReadInt32(); + Mode = input.ReadUInt32(); break; } case 24: { - Level = input.ReadInt32(); + Level = input.ReadUInt32(); break; } case 32: { - NeedExp = input.ReadInt32(); + Version = input.ReadUInt32(); break; } - case 40: { - TotalExp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -357,24 +364,27 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + if (collectResp_ == null) { + CollectResp = new global::Proto.CollectResp(); + } + input.ReadMessage(CollectResp); break; } case 16: { - GroupId = input.ReadInt32(); + Mode = input.ReadUInt32(); break; } case 24: { - Level = input.ReadInt32(); + Level = input.ReadUInt32(); break; } case 32: { - NeedExp = input.ReadInt32(); + Version = input.ReadUInt32(); break; } - case 40: { - TotalExp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/CharacterUpgrade.cs b/Novaria.Common/Protos/BattlePassQuestRewardReceive.cs similarity index 63% rename from Novaria.Common/Protos/CharacterUpgrade.cs rename to Novaria.Common/Protos/BattlePassQuestRewardReceive.cs index e70d90a..b24d6c5 100644 --- a/Novaria.Common/Protos/CharacterUpgrade.cs +++ b/Novaria.Common/Protos/BattlePassQuestRewardReceive.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterUpgrade.proto +// source: battle_pass_quest_reward_receive.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from CharacterUpgrade.proto - public static partial class CharacterUpgradeReflection { + /// Holder for reflection information generated from battle_pass_quest_reward_receive.proto + public static partial class BattlePassQuestRewardReceiveReflection { #region Descriptor - /// File descriptor for CharacterUpgrade.proto + /// File descriptor for battle_pass_quest_reward_receive.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static CharacterUpgradeReflection() { + static BattlePassQuestRewardReceiveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChZDaGFyYWN0ZXJVcGdyYWRlLnByb3RvIkoKEENoYXJhY3RlclVwZ3JhZGUS", - "CgoCaWQYASABKAUSDgoGcmFyaXR5GAIgASgFEg0KBWxldmVsGAMgASgFEgsK", - "A2V4cBgEIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "CiZiYXR0bGVfcGFzc19xdWVzdF9yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJv", + "dG8aDHB1YmxpYy5wcm90byJiChlCYXR0bGVQYXNzUXVlc3RSZXdhcmRSZXNw", + "Eg0KBUxldmVsGAEgASgNEgsKA0V4cBgCIAEoDRITCgtFeHBUaGlzV2VlaxgD", + "IAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterUpgrade), global::Nova.Client.CharacterUpgrade.Parser, new[]{ "Id", "Rarity", "Level", "Exp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassQuestRewardResp), global::Proto.BattlePassQuestRewardResp.Parser, new[]{ "Level", "Exp", "ExpThisWeek", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterUpgrade : pb::IMessage + public sealed partial class BattlePassQuestRewardResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterUpgrade()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassQuestRewardResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.CharacterUpgradeReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.BattlePassQuestRewardReceiveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterUpgrade() { + public BattlePassQuestRewardResp() { OnConstruction(); } @@ -71,87 +72,87 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterUpgrade(CharacterUpgrade other) : this() { - id_ = other.id_; - rarity_ = other.rarity_; + public BattlePassQuestRewardResp(BattlePassQuestRewardResp other) : this() { level_ = other.level_; exp_ = other.exp_; + expThisWeek_ = other.expThisWeek_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterUpgrade Clone() { - return new CharacterUpgrade(this); + public BattlePassQuestRewardResp Clone() { + return new BattlePassQuestRewardResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Level" field. + public const int LevelFieldNumber = 1; + private uint level_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } - set { - id_ = value; - } - } - - /// Field number for the "rarity" field. - public const int RarityFieldNumber = 2; - private int rarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } - set { - rarity_ = value; - } - } - - /// Field number for the "level" field. - public const int LevelFieldNumber = 3; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { + public uint Level { get { return level_; } set { level_ = value; } } - /// Field number for the "exp" field. - public const int ExpFieldNumber = 4; - private int exp_; + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 2; + private uint exp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { + public uint Exp { get { return exp_; } set { exp_ = value; } } + /// Field number for the "ExpThisWeek" field. + public const int ExpThisWeekFieldNumber = 3; + private uint expThisWeek_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterUpgrade); + public uint ExpThisWeek { + get { return expThisWeek_; } + set { + expThisWeek_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterUpgrade other) { + public override bool Equals(object other) { + return Equals(other as BattlePassQuestRewardResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassQuestRewardResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Rarity != other.Rarity) return false; if (Level != other.Level) return false; if (Exp != other.Exp) return false; + if (ExpThisWeek != other.ExpThisWeek) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -159,10 +160,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Rarity != 0) hash ^= Rarity.GetHashCode(); if (Level != 0) hash ^= Level.GetHashCode(); if (Exp != 0) hash ^= Exp.GetHashCode(); + if (ExpThisWeek != 0) hash ^= ExpThisWeek.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -181,21 +182,21 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Rarity != 0) { - output.WriteRawTag(16); - output.WriteInt32(Rarity); - } if (Level != 0) { - output.WriteRawTag(24); - output.WriteInt32(Level); + output.WriteRawTag(8); + output.WriteUInt32(Level); } if (Exp != 0) { - output.WriteRawTag(32); - output.WriteInt32(Exp); + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (ExpThisWeek != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ExpThisWeek); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -207,21 +208,21 @@ namespace Nova.Client { [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 (Rarity != 0) { - output.WriteRawTag(16); - output.WriteInt32(Rarity); - } if (Level != 0) { - output.WriteRawTag(24); - output.WriteInt32(Level); + output.WriteRawTag(8); + output.WriteUInt32(Level); } if (Exp != 0) { - output.WriteRawTag(32); - output.WriteInt32(Exp); + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (ExpThisWeek != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ExpThisWeek); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -233,17 +234,17 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); - } if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); } if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (ExpThisWeek != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExpThisWeek); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -253,22 +254,22 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterUpgrade other) { + public void MergeFrom(BattlePassQuestRewardResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Rarity != 0) { - Rarity = other.Rarity; - } if (other.Level != 0) { Level = other.Level; } if (other.Exp != 0) { Exp = other.Exp; } + if (other.ExpThisWeek != 0) { + ExpThisWeek = other.ExpThisWeek; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,19 +290,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Level = input.ReadUInt32(); break; } case 16: { - Rarity = input.ReadInt32(); + Exp = input.ReadUInt32(); break; } case 24: { - Level = input.ReadInt32(); + ExpThisWeek = input.ReadUInt32(); break; } - case 32: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,19 +325,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Level = input.ReadUInt32(); break; } case 16: { - Rarity = input.ReadInt32(); + Exp = input.ReadUInt32(); break; } case 24: { - Level = input.ReadInt32(); + ExpThisWeek = input.ReadUInt32(); break; } - case 32: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/BattlePassReward.cs b/Novaria.Common/Protos/BattlePassReward.cs deleted file mode 100644 index fbc6104..0000000 --- a/Novaria.Common/Protos/BattlePassReward.cs +++ /dev/null @@ -1,540 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BattlePassReward.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 BattlePassReward.proto - public static partial class BattlePassRewardReflection { - - #region Descriptor - /// File descriptor for BattlePassReward.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static BattlePassRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZCYXR0bGVQYXNzUmV3YXJkLnByb3RvIpEBChBCYXR0bGVQYXNzUmV3YXJk", - "EgsKA2lfZBgBIAEoBRINCgVsZXZlbBgCIAEoBRIMCgR0aWQxGAMgASgFEgwK", - "BHF0eTEYBCABKAUSDAoEdGlkMhgFIAEoBRIMCgRxdHkyGAYgASgFEgwKBHRp", - "ZDMYByABKAUSDAoEcXR5MxgIIAEoBRINCgVmb2N1cxgJIAEoCEIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePassReward), global::Nova.Client.BattlePassReward.Parser, new[]{ "ID", "Level", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Focus" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class BattlePassReward : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassReward()); - 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.BattlePassRewardReflection.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 BattlePassReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassReward(BattlePassReward other) : this() { - iD_ = other.iD_; - level_ = other.level_; - tid1_ = other.tid1_; - qty1_ = other.qty1_; - tid2_ = other.tid2_; - qty2_ = other.qty2_; - tid3_ = other.tid3_; - qty3_ = other.qty3_; - focus_ = other.focus_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassReward Clone() { - return new BattlePassReward(this); - } - - /// Field number for the "i_d" 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 "level" field. - public const int LevelFieldNumber = 2; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "tid1" field. - public const int Tid1FieldNumber = 3; - private int tid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid1 { - get { return tid1_; } - set { - tid1_ = value; - } - } - - /// Field number for the "qty1" field. - public const int Qty1FieldNumber = 4; - private int qty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty1 { - get { return qty1_; } - set { - qty1_ = value; - } - } - - /// Field number for the "tid2" field. - public const int Tid2FieldNumber = 5; - private int tid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid2 { - get { return tid2_; } - set { - tid2_ = value; - } - } - - /// Field number for the "qty2" field. - public const int Qty2FieldNumber = 6; - private int qty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty2 { - get { return qty2_; } - set { - qty2_ = value; - } - } - - /// Field number for the "tid3" field. - public const int Tid3FieldNumber = 7; - private int tid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid3 { - get { return tid3_; } - set { - tid3_ = value; - } - } - - /// Field number for the "qty3" field. - public const int Qty3FieldNumber = 8; - private int qty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty3 { - get { return qty3_; } - set { - qty3_ = value; - } - } - - /// Field number for the "focus" field. - public const int FocusFieldNumber = 9; - private bool focus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Focus { - get { return focus_; } - set { - focus_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as BattlePassReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BattlePassReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ID != other.ID) return false; - if (Level != other.Level) return false; - if (Tid1 != other.Tid1) return false; - if (Qty1 != other.Qty1) return false; - if (Tid2 != other.Tid2) return false; - if (Qty2 != other.Qty2) return false; - if (Tid3 != other.Tid3) return false; - if (Qty3 != other.Qty3) return false; - if (Focus != other.Focus) 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 (Level != 0) hash ^= Level.GetHashCode(); - if (Tid1 != 0) hash ^= Tid1.GetHashCode(); - if (Qty1 != 0) hash ^= Qty1.GetHashCode(); - if (Tid2 != 0) hash ^= Tid2.GetHashCode(); - if (Qty2 != 0) hash ^= Qty2.GetHashCode(); - if (Tid3 != 0) hash ^= Tid3.GetHashCode(); - if (Qty3 != 0) hash ^= Qty3.GetHashCode(); - if (Focus != false) hash ^= Focus.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 (Level != 0) { - output.WriteRawTag(16); - output.WriteInt32(Level); - } - if (Tid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Qty3); - } - if (Focus != false) { - output.WriteRawTag(72); - output.WriteBool(Focus); - } - 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 (Level != 0) { - output.WriteRawTag(16); - output.WriteInt32(Level); - } - if (Tid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Qty3); - } - if (Focus != false) { - output.WriteRawTag(72); - output.WriteBool(Focus); - } - 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 (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Tid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); - } - if (Qty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); - } - if (Tid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); - } - if (Qty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); - } - if (Tid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); - } - if (Qty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); - } - if (Focus != 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(BattlePassReward other) { - if (other == null) { - return; - } - if (other.ID != 0) { - ID = other.ID; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Tid1 != 0) { - Tid1 = other.Tid1; - } - if (other.Qty1 != 0) { - Qty1 = other.Qty1; - } - if (other.Tid2 != 0) { - Tid2 = other.Tid2; - } - if (other.Qty2 != 0) { - Qty2 = other.Qty2; - } - if (other.Tid3 != 0) { - Tid3 = other.Tid3; - } - if (other.Qty3 != 0) { - Qty3 = other.Qty3; - } - if (other.Focus != false) { - Focus = other.Focus; - } - _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: { - Level = input.ReadInt32(); - break; - } - case 24: { - Tid1 = input.ReadInt32(); - break; - } - case 32: { - Qty1 = input.ReadInt32(); - break; - } - case 40: { - Tid2 = input.ReadInt32(); - break; - } - case 48: { - Qty2 = input.ReadInt32(); - break; - } - case 56: { - Tid3 = input.ReadInt32(); - break; - } - case 64: { - Qty3 = input.ReadInt32(); - break; - } - case 72: { - Focus = 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 16: { - Level = input.ReadInt32(); - break; - } - case 24: { - Tid1 = input.ReadInt32(); - break; - } - case 32: { - Qty1 = input.ReadInt32(); - break; - } - case 40: { - Tid2 = input.ReadInt32(); - break; - } - case 48: { - Qty2 = input.ReadInt32(); - break; - } - case 56: { - Tid3 = input.ReadInt32(); - break; - } - case 64: { - Qty3 = input.ReadInt32(); - break; - } - case 72: { - Focus = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/BattlePassRewardReceive.cs b/Novaria.Common/Protos/BattlePassRewardReceive.cs new file mode 100644 index 0000000..15c4685 --- /dev/null +++ b/Novaria.Common/Protos/BattlePassRewardReceive.cs @@ -0,0 +1,791 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: battle_pass_reward_receive.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 Proto { + + /// Holder for reflection information generated from battle_pass_reward_receive.proto + public static partial class BattlePassRewardReceiveReflection { + + #region Descriptor + /// File descriptor for battle_pass_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static BattlePassRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBiYXR0bGVfcGFzc19yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJvdG8aDHB1", + "YmxpYy5wcm90byKKAQoaQmF0dGxlUGFzc1Jld2FyZFJlY2VpdmVSZXESDwoH", + "VmVyc2lvbhgEIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwSGQoDQWxsGAEg", + "ASgLMgoucHJvdG8uTmlsSAASDwoFQmFzaWMYAiABKA1IABIRCgdQcmVtaXVt", + "GAMgASgNSABCBgoETW9kZSKCAQobQmF0dGxlUGFzc1Jld2FyZFJlY2VpdmVS", + "ZXNwEhMKC0Jhc2ljUmV3YXJkGAEgASgMEhUKDVByZW1pdW1SZXdhcmQYAiAB", + "KAwSIQoGQ2hhbmdlGAMgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0", + "UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassRewardReceiveReq), global::Proto.BattlePassRewardReceiveReq.Parser, new[]{ "Version", "NextPackage", "All", "Basic", "Premium" }, new[]{ "Mode" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassRewardReceiveResp), global::Proto.BattlePassRewardReceiveResp.Parser, new[]{ "BasicReward", "PremiumReward", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassRewardReceiveReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassRewardReceiveReq()); + 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::Proto.BattlePassRewardReceiveReflection.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 BattlePassRewardReceiveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassRewardReceiveReq(BattlePassRewardReceiveReq other) : this() { + version_ = other.version_; + nextPackage_ = other.nextPackage_; + switch (other.ModeCase) { + case ModeOneofCase.All: + All = other.All.Clone(); + break; + case ModeOneofCase.Basic: + Basic = other.Basic; + break; + case ModeOneofCase.Premium: + Premium = other.Premium; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassRewardReceiveReq Clone() { + return new BattlePassRewardReceiveReq(this); + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 4; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "All" field. + public const int AllFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Nil All { + get { return modeCase_ == ModeOneofCase.All ? (global::Proto.Nil) mode_ : null; } + set { + mode_ = value; + modeCase_ = value == null ? ModeOneofCase.None : ModeOneofCase.All; + } + } + + /// Field number for the "Basic" field. + public const int BasicFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Basic { + get { return HasBasic ? (uint) mode_ : 0; } + set { + mode_ = value; + modeCase_ = ModeOneofCase.Basic; + } + } + /// Gets whether the "Basic" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBasic { + get { return modeCase_ == ModeOneofCase.Basic; } + } + /// Clears the value of the oneof if it's currently set to "Basic" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBasic() { + if (HasBasic) { + ClearMode(); + } + } + + /// Field number for the "Premium" field. + public const int PremiumFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Premium { + get { return HasPremium ? (uint) mode_ : 0; } + set { + mode_ = value; + modeCase_ = ModeOneofCase.Premium; + } + } + /// Gets whether the "Premium" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPremium { + get { return modeCase_ == ModeOneofCase.Premium; } + } + /// Clears the value of the oneof if it's currently set to "Premium" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPremium() { + if (HasPremium) { + ClearMode(); + } + } + + private object mode_; + /// Enum of possible cases for the "Mode" oneof. + public enum ModeOneofCase { + None = 0, + All = 1, + Basic = 2, + Premium = 3, + } + private ModeOneofCase modeCase_ = ModeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModeOneofCase ModeCase { + get { return modeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMode() { + modeCase_ = ModeOneofCase.None; + mode_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BattlePassRewardReceiveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassRewardReceiveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(All, other.All)) return false; + if (Basic != other.Basic) return false; + if (Premium != other.Premium) return false; + if (ModeCase != other.ModeCase) 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 (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (modeCase_ == ModeOneofCase.All) hash ^= All.GetHashCode(); + if (HasBasic) hash ^= Basic.GetHashCode(); + if (HasPremium) hash ^= Premium.GetHashCode(); + hash ^= (int) modeCase_; + 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 (modeCase_ == ModeOneofCase.All) { + output.WriteRawTag(10); + output.WriteMessage(All); + } + if (HasBasic) { + output.WriteRawTag(16); + output.WriteUInt32(Basic); + } + if (HasPremium) { + output.WriteRawTag(24); + output.WriteUInt32(Premium); + } + if (Version != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (modeCase_ == ModeOneofCase.All) { + output.WriteRawTag(10); + output.WriteMessage(All); + } + if (HasBasic) { + output.WriteRawTag(16); + output.WriteUInt32(Basic); + } + if (HasPremium) { + output.WriteRawTag(24); + output.WriteUInt32(Premium); + } + if (Version != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (modeCase_ == ModeOneofCase.All) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(All); + } + if (HasBasic) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Basic); + } + if (HasPremium) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Premium); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassRewardReceiveReq other) { + if (other == null) { + return; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ModeCase) { + case ModeOneofCase.All: + if (All == null) { + All = new global::Proto.Nil(); + } + All.MergeFrom(other.All); + break; + case ModeOneofCase.Basic: + Basic = other.Basic; + break; + case ModeOneofCase.Premium: + Premium = other.Premium; + break; + } + + _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 10: { + global::Proto.Nil subBuilder = new global::Proto.Nil(); + if (modeCase_ == ModeOneofCase.All) { + subBuilder.MergeFrom(All); + } + input.ReadMessage(subBuilder); + All = subBuilder; + break; + } + case 16: { + Basic = input.ReadUInt32(); + break; + } + case 24: { + Premium = input.ReadUInt32(); + break; + } + case 32: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.Nil subBuilder = new global::Proto.Nil(); + if (modeCase_ == ModeOneofCase.All) { + subBuilder.MergeFrom(All); + } + input.ReadMessage(subBuilder); + All = subBuilder; + break; + } + case 16: { + Basic = input.ReadUInt32(); + break; + } + case 24: { + Premium = input.ReadUInt32(); + break; + } + case 32: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassRewardReceiveResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassRewardReceiveResp()); + 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::Proto.BattlePassRewardReceiveReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassRewardReceiveResp(BattlePassRewardReceiveResp other) : this() { + basicReward_ = other.basicReward_; + premiumReward_ = other.premiumReward_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassRewardReceiveResp Clone() { + return new BattlePassRewardReceiveResp(this); + } + + /// Field number for the "BasicReward" field. + public const int BasicRewardFieldNumber = 1; + private pb::ByteString basicReward_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString BasicReward { + get { return basicReward_; } + set { + basicReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PremiumReward" field. + public const int PremiumRewardFieldNumber = 2; + private pb::ByteString premiumReward_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString PremiumReward { + get { return premiumReward_; } + set { + premiumReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BattlePassRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BasicReward != other.BasicReward) return false; + if (PremiumReward != other.PremiumReward) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (BasicReward.Length != 0) hash ^= BasicReward.GetHashCode(); + if (PremiumReward.Length != 0) hash ^= PremiumReward.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (BasicReward.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(BasicReward); + } + if (PremiumReward.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(PremiumReward); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BasicReward.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(BasicReward); + } + if (PremiumReward.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(PremiumReward); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BasicReward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(BasicReward); + } + if (PremiumReward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(PremiumReward); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassRewardReceiveResp other) { + if (other == null) { + return; + } + if (other.BasicReward.Length != 0) { + BasicReward = other.BasicReward; + } + if (other.PremiumReward.Length != 0) { + PremiumReward = other.PremiumReward; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + BasicReward = input.ReadBytes(); + break; + } + case 18: { + PremiumReward = input.ReadBytes(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + BasicReward = input.ReadBytes(); + break; + } + case 18: { + PremiumReward = input.ReadBytes(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/BattleThreshold.cs b/Novaria.Common/Protos/BattleThreshold.cs deleted file mode 100644 index d241564..0000000 --- a/Novaria.Common/Protos/BattleThreshold.cs +++ /dev/null @@ -1,954 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BattleThreshold.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 BattleThreshold.proto - public static partial class BattleThresholdReflection { - - #region Descriptor - /// File descriptor for BattleThreshold.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static BattleThresholdReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVCYXR0bGVUaHJlc2hvbGQucHJvdG8i6AMKD0JhdHRsZVRocmVzaG9sZBIS", - "CgptaXNzaW9uX2lkGAEgASgFEg8KB3ZlcnNpb24YAiABKAUSFAoMZnJvbV9z", - "cmNfYXRrGAMgASgFEiEKGWZyb21fcGVya19pbnRlbnNpdHlfcmF0aW8YBCAB", - "KAUSGwoTZnJvbV9zbG90X2RtZ19yYXRpbxgFIAEoBRIQCghmcm9tX2VfZRgG", - "IAEoBRIaChJmcm9tX2dlbl9kbWdfcmF0aW8YByABKAUSFQoNZnJvbV9kbWdf", - "cGx1cxgIIAEoBRIXCg9mcm9tX2NyaXRfcmF0aW8YCSABKAUSHAoUZnJvbV9m", - "aW5hbF9kbWdfcmF0aW8YCiABKAUSGwoTZnJvbV9maW5hbF9kbWdfcGx1cxgL", - "IAEoBRITCgt0b19lcl9hbWVuZBgMIAEoBRIUCgx0b19kZWZfYW1lbmQYDSAB", - "KAUSHQoVdG9fcmNkX3Nsb3RfZG1nX3JhdGlvGA4gASgFEhQKDHRvX2VfZV9y", - "X2NfZBgPIAEoBRIcChR0b19nZW5fZG1nX3JjZF9yYXRpbxgQIAEoBRIXCg90", - "b19kbWdfcGx1c19yY2QYESABKAUSCwoDZG1nGBIgASgFEhEKCWNyaXRfcmF0", - "ZRgTIAEoBRIKCgJocBgUIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattleThreshold), global::Nova.Client.BattleThreshold.Parser, new[]{ "MissionId", "Version", "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class BattleThreshold : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattleThreshold()); - 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.BattleThresholdReflection.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 BattleThreshold() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattleThreshold(BattleThreshold other) : this() { - missionId_ = other.missionId_; - version_ = other.version_; - fromSrcAtk_ = other.fromSrcAtk_; - fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; - fromSlotDmgRatio_ = other.fromSlotDmgRatio_; - fromEE_ = other.fromEE_; - fromGenDmgRatio_ = other.fromGenDmgRatio_; - fromDmgPlus_ = other.fromDmgPlus_; - fromCritRatio_ = other.fromCritRatio_; - fromFinalDmgRatio_ = other.fromFinalDmgRatio_; - fromFinalDmgPlus_ = other.fromFinalDmgPlus_; - toErAmend_ = other.toErAmend_; - toDefAmend_ = other.toDefAmend_; - toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; - toEERCD_ = other.toEERCD_; - toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; - toDmgPlusRcd_ = other.toDmgPlusRcd_; - dmg_ = other.dmg_; - critRate_ = other.critRate_; - hp_ = other.hp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattleThreshold Clone() { - return new BattleThreshold(this); - } - - /// Field number for the "mission_id" field. - public const int MissionIdFieldNumber = 1; - private int missionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MissionId { - get { return missionId_; } - set { - missionId_ = value; - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 2; - private int version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Version { - get { return version_; } - set { - version_ = value; - } - } - - /// Field number for the "from_src_atk" field. - public const int FromSrcAtkFieldNumber = 3; - private int fromSrcAtk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromSrcAtk { - get { return fromSrcAtk_; } - set { - fromSrcAtk_ = value; - } - } - - /// Field number for the "from_perk_intensity_ratio" field. - public const int FromPerkIntensityRatioFieldNumber = 4; - private int fromPerkIntensityRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromPerkIntensityRatio { - get { return fromPerkIntensityRatio_; } - set { - fromPerkIntensityRatio_ = value; - } - } - - /// Field number for the "from_slot_dmg_ratio" field. - public const int FromSlotDmgRatioFieldNumber = 5; - private int fromSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromSlotDmgRatio { - get { return fromSlotDmgRatio_; } - set { - fromSlotDmgRatio_ = value; - } - } - - /// Field number for the "from_e_e" field. - public const int FromEEFieldNumber = 6; - private int fromEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromEE { - get { return fromEE_; } - set { - fromEE_ = value; - } - } - - /// Field number for the "from_gen_dmg_ratio" field. - public const int FromGenDmgRatioFieldNumber = 7; - private int fromGenDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromGenDmgRatio { - get { return fromGenDmgRatio_; } - set { - fromGenDmgRatio_ = value; - } - } - - /// Field number for the "from_dmg_plus" field. - public const int FromDmgPlusFieldNumber = 8; - private int fromDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromDmgPlus { - get { return fromDmgPlus_; } - set { - fromDmgPlus_ = value; - } - } - - /// Field number for the "from_crit_ratio" field. - public const int FromCritRatioFieldNumber = 9; - private int fromCritRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromCritRatio { - get { return fromCritRatio_; } - set { - fromCritRatio_ = value; - } - } - - /// Field number for the "from_final_dmg_ratio" field. - public const int FromFinalDmgRatioFieldNumber = 10; - private int fromFinalDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromFinalDmgRatio { - get { return fromFinalDmgRatio_; } - set { - fromFinalDmgRatio_ = value; - } - } - - /// Field number for the "from_final_dmg_plus" field. - public const int FromFinalDmgPlusFieldNumber = 11; - private int fromFinalDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromFinalDmgPlus { - get { return fromFinalDmgPlus_; } - set { - fromFinalDmgPlus_ = value; - } - } - - /// Field number for the "to_er_amend" field. - public const int ToErAmendFieldNumber = 12; - private int toErAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToErAmend { - get { return toErAmend_; } - set { - toErAmend_ = value; - } - } - - /// Field number for the "to_def_amend" field. - public const int ToDefAmendFieldNumber = 13; - private int toDefAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToDefAmend { - get { return toDefAmend_; } - set { - toDefAmend_ = value; - } - } - - /// Field number for the "to_rcd_slot_dmg_ratio" field. - public const int ToRcdSlotDmgRatioFieldNumber = 14; - private int toRcdSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToRcdSlotDmgRatio { - get { return toRcdSlotDmgRatio_; } - set { - toRcdSlotDmgRatio_ = value; - } - } - - /// Field number for the "to_e_e_r_c_d" field. - public const int ToEERCDFieldNumber = 15; - private int toEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToEERCD { - get { return toEERCD_; } - set { - toEERCD_ = value; - } - } - - /// Field number for the "to_gen_dmg_rcd_ratio" field. - public const int ToGenDmgRcdRatioFieldNumber = 16; - private int toGenDmgRcdRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToGenDmgRcdRatio { - get { return toGenDmgRcdRatio_; } - set { - toGenDmgRcdRatio_ = value; - } - } - - /// Field number for the "to_dmg_plus_rcd" field. - public const int ToDmgPlusRcdFieldNumber = 17; - private int toDmgPlusRcd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToDmgPlusRcd { - get { return toDmgPlusRcd_; } - set { - toDmgPlusRcd_ = value; - } - } - - /// Field number for the "dmg" field. - public const int DmgFieldNumber = 18; - private int dmg_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Dmg { - get { return dmg_; } - set { - dmg_ = value; - } - } - - /// Field number for the "crit_rate" field. - public const int CritRateFieldNumber = 19; - private int critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// Field number for the "hp" field. - public const int HpFieldNumber = 20; - private int hp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Hp { - get { return hp_; } - set { - hp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as BattleThreshold); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BattleThreshold other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MissionId != other.MissionId) return false; - if (Version != other.Version) return false; - if (FromSrcAtk != other.FromSrcAtk) return false; - if (FromPerkIntensityRatio != other.FromPerkIntensityRatio) return false; - if (FromSlotDmgRatio != other.FromSlotDmgRatio) return false; - if (FromEE != other.FromEE) return false; - if (FromGenDmgRatio != other.FromGenDmgRatio) return false; - if (FromDmgPlus != other.FromDmgPlus) return false; - if (FromCritRatio != other.FromCritRatio) return false; - if (FromFinalDmgRatio != other.FromFinalDmgRatio) return false; - if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; - if (ToErAmend != other.ToErAmend) return false; - if (ToDefAmend != other.ToDefAmend) return false; - if (ToRcdSlotDmgRatio != other.ToRcdSlotDmgRatio) return false; - if (ToEERCD != other.ToEERCD) return false; - if (ToGenDmgRcdRatio != other.ToGenDmgRcdRatio) return false; - if (ToDmgPlusRcd != other.ToDmgPlusRcd) return false; - if (Dmg != other.Dmg) return false; - if (CritRate != other.CritRate) return false; - if (Hp != other.Hp) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); - if (Version != 0) hash ^= Version.GetHashCode(); - if (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); - if (FromPerkIntensityRatio != 0) hash ^= FromPerkIntensityRatio.GetHashCode(); - if (FromSlotDmgRatio != 0) hash ^= FromSlotDmgRatio.GetHashCode(); - if (FromEE != 0) hash ^= FromEE.GetHashCode(); - if (FromGenDmgRatio != 0) hash ^= FromGenDmgRatio.GetHashCode(); - if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); - if (FromCritRatio != 0) hash ^= FromCritRatio.GetHashCode(); - if (FromFinalDmgRatio != 0) hash ^= FromFinalDmgRatio.GetHashCode(); - if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); - if (ToErAmend != 0) hash ^= ToErAmend.GetHashCode(); - if (ToDefAmend != 0) hash ^= ToDefAmend.GetHashCode(); - if (ToRcdSlotDmgRatio != 0) hash ^= ToRcdSlotDmgRatio.GetHashCode(); - if (ToEERCD != 0) hash ^= ToEERCD.GetHashCode(); - if (ToGenDmgRcdRatio != 0) hash ^= ToGenDmgRcdRatio.GetHashCode(); - if (ToDmgPlusRcd != 0) hash ^= ToDmgPlusRcd.GetHashCode(); - if (Dmg != 0) hash ^= Dmg.GetHashCode(); - if (CritRate != 0) hash ^= CritRate.GetHashCode(); - if (Hp != 0) hash ^= Hp.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 (MissionId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MissionId); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteInt32(Version); - } - if (FromSrcAtk != 0) { - output.WriteRawTag(24); - output.WriteInt32(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - output.WriteRawTag(32); - output.WriteInt32(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - output.WriteRawTag(40); - output.WriteInt32(FromSlotDmgRatio); - } - if (FromEE != 0) { - output.WriteRawTag(48); - output.WriteInt32(FromEE); - } - if (FromGenDmgRatio != 0) { - output.WriteRawTag(56); - output.WriteInt32(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - output.WriteRawTag(64); - output.WriteInt32(FromDmgPlus); - } - if (FromCritRatio != 0) { - output.WriteRawTag(72); - output.WriteInt32(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - output.WriteRawTag(88); - output.WriteInt32(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - output.WriteRawTag(96); - output.WriteInt32(ToErAmend); - } - if (ToDefAmend != 0) { - output.WriteRawTag(104); - output.WriteInt32(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - output.WriteRawTag(120); - output.WriteInt32(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ToDmgPlusRcd); - } - if (Dmg != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Dmg); - } - if (CritRate != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(CritRate); - } - if (Hp != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Hp); - } - 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 (MissionId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MissionId); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteInt32(Version); - } - if (FromSrcAtk != 0) { - output.WriteRawTag(24); - output.WriteInt32(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - output.WriteRawTag(32); - output.WriteInt32(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - output.WriteRawTag(40); - output.WriteInt32(FromSlotDmgRatio); - } - if (FromEE != 0) { - output.WriteRawTag(48); - output.WriteInt32(FromEE); - } - if (FromGenDmgRatio != 0) { - output.WriteRawTag(56); - output.WriteInt32(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - output.WriteRawTag(64); - output.WriteInt32(FromDmgPlus); - } - if (FromCritRatio != 0) { - output.WriteRawTag(72); - output.WriteInt32(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - output.WriteRawTag(88); - output.WriteInt32(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - output.WriteRawTag(96); - output.WriteInt32(ToErAmend); - } - if (ToDefAmend != 0) { - output.WriteRawTag(104); - output.WriteInt32(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - output.WriteRawTag(120); - output.WriteInt32(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ToDmgPlusRcd); - } - if (Dmg != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Dmg); - } - if (CritRate != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(CritRate); - } - if (Hp != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Hp); - } - 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 (MissionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); - } - if (Version != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); - } - if (FromSrcAtk != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSlotDmgRatio); - } - if (FromEE != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromEE); - } - if (FromGenDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); - } - if (FromCritRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToErAmend); - } - if (ToDefAmend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToDmgPlusRcd); - } - if (Dmg != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); - } - if (CritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritRate); - } - if (Hp != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BattleThreshold other) { - if (other == null) { - return; - } - if (other.MissionId != 0) { - MissionId = other.MissionId; - } - if (other.Version != 0) { - Version = other.Version; - } - if (other.FromSrcAtk != 0) { - FromSrcAtk = other.FromSrcAtk; - } - if (other.FromPerkIntensityRatio != 0) { - FromPerkIntensityRatio = other.FromPerkIntensityRatio; - } - if (other.FromSlotDmgRatio != 0) { - FromSlotDmgRatio = other.FromSlotDmgRatio; - } - if (other.FromEE != 0) { - FromEE = other.FromEE; - } - if (other.FromGenDmgRatio != 0) { - FromGenDmgRatio = other.FromGenDmgRatio; - } - if (other.FromDmgPlus != 0) { - FromDmgPlus = other.FromDmgPlus; - } - if (other.FromCritRatio != 0) { - FromCritRatio = other.FromCritRatio; - } - if (other.FromFinalDmgRatio != 0) { - FromFinalDmgRatio = other.FromFinalDmgRatio; - } - if (other.FromFinalDmgPlus != 0) { - FromFinalDmgPlus = other.FromFinalDmgPlus; - } - if (other.ToErAmend != 0) { - ToErAmend = other.ToErAmend; - } - if (other.ToDefAmend != 0) { - ToDefAmend = other.ToDefAmend; - } - if (other.ToRcdSlotDmgRatio != 0) { - ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; - } - if (other.ToEERCD != 0) { - ToEERCD = other.ToEERCD; - } - if (other.ToGenDmgRcdRatio != 0) { - ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; - } - if (other.ToDmgPlusRcd != 0) { - ToDmgPlusRcd = other.ToDmgPlusRcd; - } - if (other.Dmg != 0) { - Dmg = other.Dmg; - } - if (other.CritRate != 0) { - CritRate = other.CritRate; - } - if (other.Hp != 0) { - Hp = other.Hp; - } - _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: { - MissionId = input.ReadInt32(); - break; - } - case 16: { - Version = input.ReadInt32(); - break; - } - case 24: { - FromSrcAtk = input.ReadInt32(); - break; - } - case 32: { - FromPerkIntensityRatio = input.ReadInt32(); - break; - } - case 40: { - FromSlotDmgRatio = input.ReadInt32(); - break; - } - case 48: { - FromEE = input.ReadInt32(); - break; - } - case 56: { - FromGenDmgRatio = input.ReadInt32(); - break; - } - case 64: { - FromDmgPlus = input.ReadInt32(); - break; - } - case 72: { - FromCritRatio = input.ReadInt32(); - break; - } - case 80: { - FromFinalDmgRatio = input.ReadInt32(); - break; - } - case 88: { - FromFinalDmgPlus = input.ReadInt32(); - break; - } - case 96: { - ToErAmend = input.ReadInt32(); - break; - } - case 104: { - ToDefAmend = input.ReadInt32(); - break; - } - case 112: { - ToRcdSlotDmgRatio = input.ReadInt32(); - break; - } - case 120: { - ToEERCD = input.ReadInt32(); - break; - } - case 128: { - ToGenDmgRcdRatio = input.ReadInt32(); - break; - } - case 136: { - ToDmgPlusRcd = input.ReadInt32(); - break; - } - case 144: { - Dmg = input.ReadInt32(); - break; - } - case 152: { - CritRate = input.ReadInt32(); - break; - } - case 160: { - Hp = 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: { - MissionId = input.ReadInt32(); - break; - } - case 16: { - Version = input.ReadInt32(); - break; - } - case 24: { - FromSrcAtk = input.ReadInt32(); - break; - } - case 32: { - FromPerkIntensityRatio = input.ReadInt32(); - break; - } - case 40: { - FromSlotDmgRatio = input.ReadInt32(); - break; - } - case 48: { - FromEE = input.ReadInt32(); - break; - } - case 56: { - FromGenDmgRatio = input.ReadInt32(); - break; - } - case 64: { - FromDmgPlus = input.ReadInt32(); - break; - } - case 72: { - FromCritRatio = input.ReadInt32(); - break; - } - case 80: { - FromFinalDmgRatio = input.ReadInt32(); - break; - } - case 88: { - FromFinalDmgPlus = input.ReadInt32(); - break; - } - case 96: { - ToErAmend = input.ReadInt32(); - break; - } - case 104: { - ToDefAmend = input.ReadInt32(); - break; - } - case 112: { - ToRcdSlotDmgRatio = input.ReadInt32(); - break; - } - case 120: { - ToEERCD = input.ReadInt32(); - break; - } - case 128: { - ToGenDmgRcdRatio = input.ReadInt32(); - break; - } - case 136: { - ToDmgPlusRcd = input.ReadInt32(); - break; - } - case 144: { - Dmg = input.ReadInt32(); - break; - } - case 152: { - CritRate = input.ReadInt32(); - break; - } - case 160: { - Hp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/BoardNPC.cs b/Novaria.Common/Protos/BoardNPC.cs deleted file mode 100644 index 4e3f6d5..0000000 --- a/Novaria.Common/Protos/BoardNPC.cs +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BoardNPC.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 BoardNPC.proto - public static partial class BoardNPCReflection { - - #region Descriptor - /// File descriptor for BoardNPC.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static BoardNPCReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5Cb2FyZE5QQy5wcm90byJMCghCb2FyZE5QQxIKCgJpZBgBIAEoBRIMCgRu", - "YW1lGAIgASgJEg0KBWFsaWFzGAMgASgJEhcKD2RlZmF1bHRfc2tpbl9pZBgE", - "IAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BoardNPC), global::Nova.Client.BoardNPC.Parser, new[]{ "Id", "Name", "Alias", "DefaultSkinId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class BoardNPC : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BoardNPC()); - 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.BoardNPCReflection.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 BoardNPC() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BoardNPC(BoardNPC other) : this() { - id_ = other.id_; - name_ = other.name_; - alias_ = other.alias_; - defaultSkinId_ = other.defaultSkinId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BoardNPC Clone() { - return new BoardNPC(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 "name" field. - 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"); - } - } - - /// Field number for the "alias" field. - public const int AliasFieldNumber = 3; - private string alias_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Alias { - get { return alias_; } - set { - alias_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "default_skin_id" field. - public const int DefaultSkinIdFieldNumber = 4; - private int defaultSkinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefaultSkinId { - get { return defaultSkinId_; } - set { - defaultSkinId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as BoardNPC); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BoardNPC 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 (Alias != other.Alias) return false; - if (DefaultSkinId != other.DefaultSkinId) 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 (Alias.Length != 0) hash ^= Alias.GetHashCode(); - if (DefaultSkinId != 0) hash ^= DefaultSkinId.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 (Alias.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Alias); - } - if (DefaultSkinId != 0) { - output.WriteRawTag(32); - output.WriteInt32(DefaultSkinId); - } - 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 (Alias.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Alias); - } - if (DefaultSkinId != 0) { - output.WriteRawTag(32); - output.WriteInt32(DefaultSkinId); - } - 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 (Alias.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Alias); - } - if (DefaultSkinId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultSkinId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BoardNPC other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Alias.Length != 0) { - Alias = other.Alias; - } - if (other.DefaultSkinId != 0) { - DefaultSkinId = other.DefaultSkinId; - } - _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 26: { - Alias = input.ReadString(); - break; - } - case 32: { - DefaultSkinId = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Alias = input.ReadString(); - break; - } - case 32: { - DefaultSkinId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Buff.cs b/Novaria.Common/Protos/Buff.cs deleted file mode 100644 index 5a65fb0..0000000 --- a/Novaria.Common/Protos/Buff.cs +++ /dev/null @@ -1,868 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Buff.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 Buff.proto - public static partial class BuffReflection { - - #region Descriptor - /// File descriptor for Buff.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static BuffReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpCdWZmLnByb3RvIu4CCgRCdWZmEgoKAmlkGAEgASgFEgwKBG5hbWUYAiAB", - "KAkSFwoPbGV2ZWxfdHlwZV9kYXRhGAMgASgFEhIKCmxldmVsX2RhdGEYBCAB", - "KAUSFwoPbWFpbl9vcl9zdXBwb3J0GAUgASgFEhAKCGdyb3VwX2lkGAYgASgF", - "EhMKC3JlZHVjZV90aW1lGAcgASgFEhEKCWJ1ZmZfdGFnMRgIIAEoBRIRCgli", - "dWZmX3RhZzIYCSABKAUSEQoJYnVmZl90YWczGAogASgFEhEKCWJ1ZmZfdGFn", - "NBgLIAEoBRIRCglidWZmX3RhZzUYDCABKAUSEwoLYmluZF9lZmZlY3QYDSAB", - "KAkSDAoEaWNvbhgOIAEoCRIPCgdpc19zaG93GA8gASgIEhkKEXRvcG9mX2hl", - "YWRfZWZmZWN0GBAgASgJEh0KFWJ1ZmZfbnVtX2VmZmVjdF9sZXZlbBgRIAMo", - "BRISCgpub3RfcmVtb3ZlGBIgASgIQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Buff), global::Nova.Client.Buff.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "GroupId", "ReduceTime", "BuffTag1", "BuffTag2", "BuffTag3", "BuffTag4", "BuffTag5", "BindEffect", "Icon", "IsShow", "TopofHeadEffect", "BuffNumEffectLevel", "NotRemove" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Buff : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Buff()); - 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.BuffReflection.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 Buff() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Buff(Buff other) : this() { - id_ = other.id_; - name_ = other.name_; - levelTypeData_ = other.levelTypeData_; - levelData_ = other.levelData_; - mainOrSupport_ = other.mainOrSupport_; - groupId_ = other.groupId_; - reduceTime_ = other.reduceTime_; - buffTag1_ = other.buffTag1_; - buffTag2_ = other.buffTag2_; - buffTag3_ = other.buffTag3_; - buffTag4_ = other.buffTag4_; - buffTag5_ = other.buffTag5_; - bindEffect_ = other.bindEffect_; - icon_ = other.icon_; - isShow_ = other.isShow_; - topofHeadEffect_ = other.topofHeadEffect_; - buffNumEffectLevel_ = other.buffNumEffectLevel_.Clone(); - notRemove_ = other.notRemove_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Buff Clone() { - return new Buff(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 "name" field. - 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"); - } - } - - /// Field number for the "level_type_data" field. - public const int LevelTypeDataFieldNumber = 3; - private int levelTypeData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTypeData { - get { return levelTypeData_; } - set { - levelTypeData_ = value; - } - } - - /// Field number for the "level_data" field. - public const int LevelDataFieldNumber = 4; - private int levelData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelData { - get { return levelData_; } - set { - levelData_ = value; - } - } - - /// Field number for the "main_or_support" field. - public const int MainOrSupportFieldNumber = 5; - private int mainOrSupport_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainOrSupport { - get { return mainOrSupport_; } - set { - mainOrSupport_ = value; - } - } - - /// Field number for the "group_id" field. - public const int GroupIdFieldNumber = 6; - private int groupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } - set { - groupId_ = value; - } - } - - /// Field number for the "reduce_time" field. - public const int ReduceTimeFieldNumber = 7; - private int reduceTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ReduceTime { - get { return reduceTime_; } - set { - reduceTime_ = value; - } - } - - /// Field number for the "buff_tag1" field. - public const int BuffTag1FieldNumber = 8; - private int buffTag1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffTag1 { - get { return buffTag1_; } - set { - buffTag1_ = value; - } - } - - /// Field number for the "buff_tag2" field. - public const int BuffTag2FieldNumber = 9; - private int buffTag2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffTag2 { - get { return buffTag2_; } - set { - buffTag2_ = value; - } - } - - /// Field number for the "buff_tag3" field. - public const int BuffTag3FieldNumber = 10; - private int buffTag3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffTag3 { - get { return buffTag3_; } - set { - buffTag3_ = value; - } - } - - /// Field number for the "buff_tag4" field. - public const int BuffTag4FieldNumber = 11; - private int buffTag4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffTag4 { - get { return buffTag4_; } - set { - buffTag4_ = value; - } - } - - /// Field number for the "buff_tag5" field. - public const int BuffTag5FieldNumber = 12; - private int buffTag5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffTag5 { - get { return buffTag5_; } - set { - buffTag5_ = value; - } - } - - /// Field number for the "bind_effect" field. - public const int BindEffectFieldNumber = 13; - private string bindEffect_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BindEffect { - get { return bindEffect_; } - set { - bindEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 14; - 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 "is_show" field. - public const int IsShowFieldNumber = 15; - private bool isShow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsShow { - get { return isShow_; } - set { - isShow_ = value; - } - } - - /// Field number for the "topof_head_effect" field. - public const int TopofHeadEffectFieldNumber = 16; - private string topofHeadEffect_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TopofHeadEffect { - get { return topofHeadEffect_; } - set { - topofHeadEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "buff_num_effect_level" field. - public const int BuffNumEffectLevelFieldNumber = 17; - private static readonly pb::FieldCodec _repeated_buffNumEffectLevel_codec - = pb::FieldCodec.ForInt32(138); - private readonly pbc::RepeatedField buffNumEffectLevel_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BuffNumEffectLevel { - get { return buffNumEffectLevel_; } - } - - /// Field number for the "not_remove" field. - public const int NotRemoveFieldNumber = 18; - private bool notRemove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool NotRemove { - get { return notRemove_; } - set { - notRemove_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Buff); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Buff 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 (LevelTypeData != other.LevelTypeData) return false; - if (LevelData != other.LevelData) return false; - if (MainOrSupport != other.MainOrSupport) return false; - if (GroupId != other.GroupId) return false; - if (ReduceTime != other.ReduceTime) return false; - if (BuffTag1 != other.BuffTag1) return false; - if (BuffTag2 != other.BuffTag2) return false; - if (BuffTag3 != other.BuffTag3) return false; - if (BuffTag4 != other.BuffTag4) return false; - if (BuffTag5 != other.BuffTag5) return false; - if (BindEffect != other.BindEffect) return false; - if (Icon != other.Icon) return false; - if (IsShow != other.IsShow) return false; - if (TopofHeadEffect != other.TopofHeadEffect) return false; - if(!buffNumEffectLevel_.Equals(other.buffNumEffectLevel_)) return false; - if (NotRemove != other.NotRemove) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); - if (LevelData != 0) hash ^= LevelData.GetHashCode(); - if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (ReduceTime != 0) hash ^= ReduceTime.GetHashCode(); - if (BuffTag1 != 0) hash ^= BuffTag1.GetHashCode(); - if (BuffTag2 != 0) hash ^= BuffTag2.GetHashCode(); - if (BuffTag3 != 0) hash ^= BuffTag3.GetHashCode(); - if (BuffTag4 != 0) hash ^= BuffTag4.GetHashCode(); - if (BuffTag5 != 0) hash ^= BuffTag5.GetHashCode(); - if (BindEffect.Length != 0) hash ^= BindEffect.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (IsShow != false) hash ^= IsShow.GetHashCode(); - if (TopofHeadEffect.Length != 0) hash ^= TopofHeadEffect.GetHashCode(); - hash ^= buffNumEffectLevel_.GetHashCode(); - if (NotRemove != false) hash ^= NotRemove.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 (LevelTypeData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainOrSupport); - } - if (GroupId != 0) { - output.WriteRawTag(48); - output.WriteInt32(GroupId); - } - if (ReduceTime != 0) { - output.WriteRawTag(56); - output.WriteInt32(ReduceTime); - } - if (BuffTag1 != 0) { - output.WriteRawTag(64); - output.WriteInt32(BuffTag1); - } - if (BuffTag2 != 0) { - output.WriteRawTag(72); - output.WriteInt32(BuffTag2); - } - if (BuffTag3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(BuffTag3); - } - if (BuffTag4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(BuffTag4); - } - if (BuffTag5 != 0) { - output.WriteRawTag(96); - output.WriteInt32(BuffTag5); - } - if (BindEffect.Length != 0) { - output.WriteRawTag(106); - output.WriteString(BindEffect); - } - if (Icon.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Icon); - } - if (IsShow != false) { - output.WriteRawTag(120); - output.WriteBool(IsShow); - } - if (TopofHeadEffect.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(TopofHeadEffect); - } - buffNumEffectLevel_.WriteTo(output, _repeated_buffNumEffectLevel_codec); - if (NotRemove != false) { - output.WriteRawTag(144, 1); - output.WriteBool(NotRemove); - } - 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 (LevelTypeData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainOrSupport); - } - if (GroupId != 0) { - output.WriteRawTag(48); - output.WriteInt32(GroupId); - } - if (ReduceTime != 0) { - output.WriteRawTag(56); - output.WriteInt32(ReduceTime); - } - if (BuffTag1 != 0) { - output.WriteRawTag(64); - output.WriteInt32(BuffTag1); - } - if (BuffTag2 != 0) { - output.WriteRawTag(72); - output.WriteInt32(BuffTag2); - } - if (BuffTag3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(BuffTag3); - } - if (BuffTag4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(BuffTag4); - } - if (BuffTag5 != 0) { - output.WriteRawTag(96); - output.WriteInt32(BuffTag5); - } - if (BindEffect.Length != 0) { - output.WriteRawTag(106); - output.WriteString(BindEffect); - } - if (Icon.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Icon); - } - if (IsShow != false) { - output.WriteRawTag(120); - output.WriteBool(IsShow); - } - if (TopofHeadEffect.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(TopofHeadEffect); - } - buffNumEffectLevel_.WriteTo(ref output, _repeated_buffNumEffectLevel_codec); - if (NotRemove != false) { - output.WriteRawTag(144, 1); - output.WriteBool(NotRemove); - } - 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 (LevelTypeData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); - } - if (LevelData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); - } - if (MainOrSupport != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (ReduceTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReduceTime); - } - if (BuffTag1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag1); - } - if (BuffTag2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag2); - } - if (BuffTag3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag3); - } - if (BuffTag4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag4); - } - if (BuffTag5 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag5); - } - if (BindEffect.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BindEffect); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (IsShow != false) { - size += 1 + 1; - } - if (TopofHeadEffect.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TopofHeadEffect); - } - size += buffNumEffectLevel_.CalculateSize(_repeated_buffNumEffectLevel_codec); - if (NotRemove != false) { - size += 2 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Buff other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.LevelTypeData != 0) { - LevelTypeData = other.LevelTypeData; - } - if (other.LevelData != 0) { - LevelData = other.LevelData; - } - if (other.MainOrSupport != 0) { - MainOrSupport = other.MainOrSupport; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.ReduceTime != 0) { - ReduceTime = other.ReduceTime; - } - if (other.BuffTag1 != 0) { - BuffTag1 = other.BuffTag1; - } - if (other.BuffTag2 != 0) { - BuffTag2 = other.BuffTag2; - } - if (other.BuffTag3 != 0) { - BuffTag3 = other.BuffTag3; - } - if (other.BuffTag4 != 0) { - BuffTag4 = other.BuffTag4; - } - if (other.BuffTag5 != 0) { - BuffTag5 = other.BuffTag5; - } - if (other.BindEffect.Length != 0) { - BindEffect = other.BindEffect; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.IsShow != false) { - IsShow = other.IsShow; - } - if (other.TopofHeadEffect.Length != 0) { - TopofHeadEffect = other.TopofHeadEffect; - } - buffNumEffectLevel_.Add(other.buffNumEffectLevel_); - if (other.NotRemove != false) { - NotRemove = other.NotRemove; - } - _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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 32: { - LevelData = input.ReadInt32(); - break; - } - case 40: { - MainOrSupport = input.ReadInt32(); - break; - } - case 48: { - GroupId = input.ReadInt32(); - break; - } - case 56: { - ReduceTime = input.ReadInt32(); - break; - } - case 64: { - BuffTag1 = input.ReadInt32(); - break; - } - case 72: { - BuffTag2 = input.ReadInt32(); - break; - } - case 80: { - BuffTag3 = input.ReadInt32(); - break; - } - case 88: { - BuffTag4 = input.ReadInt32(); - break; - } - case 96: { - BuffTag5 = input.ReadInt32(); - break; - } - case 106: { - BindEffect = input.ReadString(); - break; - } - case 114: { - Icon = input.ReadString(); - break; - } - case 120: { - IsShow = input.ReadBool(); - break; - } - case 130: { - TopofHeadEffect = input.ReadString(); - break; - } - case 138: - case 136: { - buffNumEffectLevel_.AddEntriesFrom(input, _repeated_buffNumEffectLevel_codec); - break; - } - case 144: { - NotRemove = 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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 32: { - LevelData = input.ReadInt32(); - break; - } - case 40: { - MainOrSupport = input.ReadInt32(); - break; - } - case 48: { - GroupId = input.ReadInt32(); - break; - } - case 56: { - ReduceTime = input.ReadInt32(); - break; - } - case 64: { - BuffTag1 = input.ReadInt32(); - break; - } - case 72: { - BuffTag2 = input.ReadInt32(); - break; - } - case 80: { - BuffTag3 = input.ReadInt32(); - break; - } - case 88: { - BuffTag4 = input.ReadInt32(); - break; - } - case 96: { - BuffTag5 = input.ReadInt32(); - break; - } - case 106: { - BindEffect = input.ReadString(); - break; - } - case 114: { - Icon = input.ReadString(); - break; - } - case 120: { - IsShow = input.ReadBool(); - break; - } - case 130: { - TopofHeadEffect = input.ReadString(); - break; - } - case 138: - case 136: { - buffNumEffectLevel_.AddEntriesFrom(ref input, _repeated_buffNumEffectLevel_codec); - break; - } - case 144: { - NotRemove = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/BuffValue.cs b/Novaria.Common/Protos/BuffValue.cs deleted file mode 100644 index f348908..0000000 --- a/Novaria.Common/Protos/BuffValue.cs +++ /dev/null @@ -1,719 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BuffValue.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 BuffValue.proto - public static partial class BuffValueReflection { - - #region Descriptor - /// File descriptor for BuffValue.proto - 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 - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuffValue()); - 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.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); - } - - /// 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 "name" field. - 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"); - } - } - - /// Field number for the "sort" field. - 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; - } - } - - /// Field number for the "buff_effects" field. - public const int BuffEffectsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_buffEffects_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField buffEffects_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BuffEffects { - get { return buffEffects_; } - } - - /// Field number for the "time" field. - 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; - } - } - - /// Field number for the "laminated_num" field. - 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; - } - } - - /// Field number for the "num" field. - 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; - } - } - - /// Field number for the "time_superposition" field. - 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; - } - } - - /// Field number for the "timing" field. - 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; - } - } - - /// Field number for the "replace_type" field. - 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; - } - } - - /// Field number for the "attack_clear" field. - 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; - } - } - - /// Field number for the "hit_clear" field. - 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; - } - } - - /// Field number for the "is_inherit" field. - 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; - } - } - - /// Field number for the "is_exit_delete" field. - 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 diff --git a/Novaria.Common/Protos/Chapter.cs b/Novaria.Common/Protos/Chapter.cs deleted file mode 100644 index 903dcb0..0000000 --- a/Novaria.Common/Protos/Chapter.cs +++ /dev/null @@ -1,532 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Chapter.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 Chapter.proto - public static partial class ChapterReflection { - - #region Descriptor - /// File descriptor for Chapter.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ChapterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1DaGFwdGVyLnByb3RvIrkBCgdDaGFwdGVyEgoKAmlkGAEgASgFEgwKBG5h", - "bWUYAiABKAkSDAoEZGVzYxgDIAEoCRIUCgxjaGFwdGVyX3R5cGUYBCABKAUS", - "EwoLd29ybGRfY2xhc3MYBSABKAUSFgoOcHJldl9tYWlubGluZXMYBiADKAUS", - "GAoQY29tcGxldGVfcmV3YXJkcxgHIAEoCRITCgtjaGFwdGVyX2ltZxgIIAEo", - "CRIUCgxjaGFwdGVyX2ljb24YCSABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chapter), global::Nova.Client.Chapter.Parser, new[]{ "Id", "Name", "Desc", "ChapterType", "WorldClass", "PrevMainlines", "CompleteRewards", "ChapterImg", "ChapterIcon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Chapter : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Chapter()); - 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.ChapterReflection.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 Chapter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Chapter(Chapter other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - chapterType_ = other.chapterType_; - worldClass_ = other.worldClass_; - prevMainlines_ = other.prevMainlines_.Clone(); - completeRewards_ = other.completeRewards_; - chapterImg_ = other.chapterImg_; - chapterIcon_ = other.chapterIcon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Chapter Clone() { - return new Chapter(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "chapter_type" field. - public const int ChapterTypeFieldNumber = 4; - private int chapterType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ChapterType { - get { return chapterType_; } - set { - chapterType_ = value; - } - } - - /// Field number for the "world_class" field. - public const int WorldClassFieldNumber = 5; - private int worldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClass { - get { return worldClass_; } - set { - worldClass_ = value; - } - } - - /// Field number for the "prev_mainlines" field. - public const int PrevMainlinesFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_prevMainlines_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField prevMainlines_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PrevMainlines { - get { return prevMainlines_; } - } - - /// Field number for the "complete_rewards" field. - public const int CompleteRewardsFieldNumber = 7; - private string completeRewards_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteRewards { - get { return completeRewards_; } - set { - completeRewards_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "chapter_img" field. - public const int ChapterImgFieldNumber = 8; - private string chapterImg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ChapterImg { - get { return chapterImg_; } - set { - chapterImg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "chapter_icon" field. - public const int ChapterIconFieldNumber = 9; - private string chapterIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ChapterIcon { - get { return chapterIcon_; } - set { - chapterIcon_ = 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 Chapter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Chapter 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 (Desc != other.Desc) return false; - if (ChapterType != other.ChapterType) return false; - if (WorldClass != other.WorldClass) return false; - if(!prevMainlines_.Equals(other.prevMainlines_)) return false; - if (CompleteRewards != other.CompleteRewards) return false; - if (ChapterImg != other.ChapterImg) return false; - if (ChapterIcon != other.ChapterIcon) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (ChapterType != 0) hash ^= ChapterType.GetHashCode(); - if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); - hash ^= prevMainlines_.GetHashCode(); - if (CompleteRewards.Length != 0) hash ^= CompleteRewards.GetHashCode(); - if (ChapterImg.Length != 0) hash ^= ChapterImg.GetHashCode(); - if (ChapterIcon.Length != 0) hash ^= ChapterIcon.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (ChapterType != 0) { - output.WriteRawTag(32); - output.WriteInt32(ChapterType); - } - if (WorldClass != 0) { - output.WriteRawTag(40); - output.WriteInt32(WorldClass); - } - prevMainlines_.WriteTo(output, _repeated_prevMainlines_codec); - if (CompleteRewards.Length != 0) { - output.WriteRawTag(58); - output.WriteString(CompleteRewards); - } - if (ChapterImg.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ChapterImg); - } - if (ChapterIcon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ChapterIcon); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (ChapterType != 0) { - output.WriteRawTag(32); - output.WriteInt32(ChapterType); - } - if (WorldClass != 0) { - output.WriteRawTag(40); - output.WriteInt32(WorldClass); - } - prevMainlines_.WriteTo(ref output, _repeated_prevMainlines_codec); - if (CompleteRewards.Length != 0) { - output.WriteRawTag(58); - output.WriteString(CompleteRewards); - } - if (ChapterImg.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ChapterImg); - } - if (ChapterIcon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ChapterIcon); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (ChapterType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChapterType); - } - if (WorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); - } - size += prevMainlines_.CalculateSize(_repeated_prevMainlines_codec); - if (CompleteRewards.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteRewards); - } - if (ChapterImg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterImg); - } - if (ChapterIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterIcon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Chapter other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.ChapterType != 0) { - ChapterType = other.ChapterType; - } - if (other.WorldClass != 0) { - WorldClass = other.WorldClass; - } - prevMainlines_.Add(other.prevMainlines_); - if (other.CompleteRewards.Length != 0) { - CompleteRewards = other.CompleteRewards; - } - if (other.ChapterImg.Length != 0) { - ChapterImg = other.ChapterImg; - } - if (other.ChapterIcon.Length != 0) { - ChapterIcon = other.ChapterIcon; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - ChapterType = input.ReadInt32(); - break; - } - case 40: { - WorldClass = input.ReadInt32(); - break; - } - case 50: - case 48: { - prevMainlines_.AddEntriesFrom(input, _repeated_prevMainlines_codec); - break; - } - case 58: { - CompleteRewards = input.ReadString(); - break; - } - case 66: { - ChapterImg = input.ReadString(); - break; - } - case 74: { - ChapterIcon = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - ChapterType = input.ReadInt32(); - break; - } - case 40: { - WorldClass = input.ReadInt32(); - break; - } - case 50: - case 48: { - prevMainlines_.AddEntriesFrom(ref input, _repeated_prevMainlines_codec); - break; - } - case 58: { - CompleteRewards = input.ReadString(); - break; - } - case 66: { - ChapterImg = input.ReadString(); - break; - } - case 74: { - ChapterIcon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharAdvance.cs b/Novaria.Common/Protos/CharAdvance.cs new file mode 100644 index 0000000..58756fd --- /dev/null +++ b/Novaria.Common/Protos/CharAdvance.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_advance.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 Proto { + + /// Holder for reflection information generated from char_advance.proto + public static partial class CharAdvanceReflection { + + #region Descriptor + /// File descriptor for char_advance.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharAdvanceReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJjaGFyX2FkdmFuY2UucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG9QAGIG", + "cHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharAdvanceRewardReceive.cs b/Novaria.Common/Protos/CharAdvanceRewardReceive.cs new file mode 100644 index 0000000..9af132c --- /dev/null +++ b/Novaria.Common/Protos/CharAdvanceRewardReceive.cs @@ -0,0 +1,601 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_advance_reward_receive.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 Proto { + + /// Holder for reflection information generated from char_advance_reward_receive.proto + public static partial class CharAdvanceRewardReceiveReflection { + + #region Descriptor + /// File descriptor for char_advance_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharAdvanceRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFjaGFyX2FkdmFuY2VfcmV3YXJkX3JlY2VpdmUucHJvdG8SBXByb3RvGgxw", + "dWJsaWMucHJvdG8iVAobQ2hhckFkdmFuY2VSZXdhcmRSZWNlaXZlUmVxEg4K", + "BkNoYXJJZBgBIAEoDRIPCgdBZHZhbmNlGAIgASgNEhQKC05leHRQYWNrYWdl", + "GP8PIAEoDCJlChxDaGFyQWR2YW5jZVJld2FyZFJlY2VpdmVSZXNwEgwKBEZs", + "YWcYASABKAwSIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAdvanceRewardReceiveReq), global::Proto.CharAdvanceRewardReceiveReq.Parser, new[]{ "CharId", "Advance", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAdvanceRewardReceiveResp), global::Proto.CharAdvanceRewardReceiveResp.Parser, new[]{ "Flag", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAdvanceRewardReceiveReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAdvanceRewardReceiveReq()); + 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::Proto.CharAdvanceRewardReceiveReflection.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 CharAdvanceRewardReceiveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardReceiveReq(CharAdvanceRewardReceiveReq other) : this() { + charId_ = other.charId_; + advance_ = other.advance_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardReceiveReq Clone() { + return new CharAdvanceRewardReceiveReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Advance" field. + public const int AdvanceFieldNumber = 2; + private uint advance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Advance { + get { return advance_; } + set { + advance_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAdvanceRewardReceiveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAdvanceRewardReceiveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (Advance != other.Advance) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Advance != 0) hash ^= Advance.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Advance != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Advance); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Advance != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Advance); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (Advance != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Advance); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAdvanceRewardReceiveReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Advance != 0) { + Advance = other.Advance; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + Advance = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + Advance = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAdvanceRewardReceiveResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAdvanceRewardReceiveResp()); + 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::Proto.CharAdvanceRewardReceiveReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardReceiveResp(CharAdvanceRewardReceiveResp other) : this() { + flag_ = other.flag_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardReceiveResp Clone() { + return new CharAdvanceRewardReceiveResp(this); + } + + /// Field number for the "Flag" field. + public const int FlagFieldNumber = 1; + private pb::ByteString flag_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Flag { + get { return flag_; } + set { + flag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAdvanceRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAdvanceRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Flag != other.Flag) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (Flag.Length != 0) hash ^= Flag.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Flag.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Flag); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Flag.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Flag); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Flag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Flag); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAdvanceRewardReceiveResp other) { + if (other == null) { + return; + } + if (other.Flag.Length != 0) { + Flag = other.Flag; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Flag = input.ReadBytes(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Flag = input.ReadBytes(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharAffinityGiftSend.cs b/Novaria.Common/Protos/CharAffinityGiftSend.cs new file mode 100644 index 0000000..a534d49 --- /dev/null +++ b/Novaria.Common/Protos/CharAffinityGiftSend.cs @@ -0,0 +1,637 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_affinity_gift_send.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 Proto { + + /// Holder for reflection information generated from char_affinity_gift_send.proto + public static partial class CharAffinityGiftSendReflection { + + #region Descriptor + /// File descriptor for char_affinity_gift_send.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharAffinityGiftSendReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1jaGFyX2FmZmluaXR5X2dpZnRfc2VuZC5wcm90bxIFcHJvdG8aDHB1Ymxp", + "Yy5wcm90byJeChdDaGFyQWZmaW5pdHlHaWZ0U2VuZFJlcRIOCgZDaGFySWQY", + "ASABKA0SHQoFSXRlbXMYAiADKAsyDi5wcm90by5JdGVtVHBsEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCKLAQoYQ2hhckFmZmluaXR5R2lmdFNlbmRSZXNwEiEK", + "BEluZm8YASABKAsyEy5wcm90by5BZmZpbml0eUluZm8SIQoGQ2hhbmdlGAIg", + "ASgLMhEucHJvdG8uQ2hhbmdlSW5mbxITCgtTZW5kR2lmdENudBgDIAEoDRIU", + "CgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAffinityGiftSendReq), global::Proto.CharAffinityGiftSendReq.Parser, new[]{ "CharId", "Items", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAffinityGiftSendResp), global::Proto.CharAffinityGiftSendResp.Parser, new[]{ "Info", "Change", "SendGiftCnt", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinityGiftSendReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinityGiftSendReq()); + 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::Proto.CharAffinityGiftSendReflection.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 CharAffinityGiftSendReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityGiftSendReq(CharAffinityGiftSendReq other) : this() { + charId_ = other.charId_; + items_ = other.items_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityGiftSendReq Clone() { + return new CharAffinityGiftSendReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAffinityGiftSendReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinityGiftSendReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if(!items_.Equals(other.items_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + hash ^= items_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + items_.WriteTo(output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + items_.WriteTo(ref output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + size += items_.CalculateSize(_repeated_items_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinityGiftSendReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + items_.Add(other.items_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinityGiftSendResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinityGiftSendResp()); + 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::Proto.CharAffinityGiftSendReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityGiftSendResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityGiftSendResp(CharAffinityGiftSendResp other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + sendGiftCnt_ = other.sendGiftCnt_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityGiftSendResp Clone() { + return new CharAffinityGiftSendResp(this); + } + + /// Field number for the "Info" field. + public const int InfoFieldNumber = 1; + private global::Proto.AffinityInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AffinityInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "SendGiftCnt" field. + public const int SendGiftCntFieldNumber = 3; + private uint sendGiftCnt_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SendGiftCnt { + get { return sendGiftCnt_; } + set { + sendGiftCnt_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAffinityGiftSendResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinityGiftSendResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (SendGiftCnt != other.SendGiftCnt) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (SendGiftCnt != 0) hash ^= SendGiftCnt.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (SendGiftCnt != 0) { + output.WriteRawTag(24); + output.WriteUInt32(SendGiftCnt); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (SendGiftCnt != 0) { + output.WriteRawTag(24); + output.WriteUInt32(SendGiftCnt); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (SendGiftCnt != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SendGiftCnt); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinityGiftSendResp other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.SendGiftCnt != 0) { + SendGiftCnt = other.SendGiftCnt; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + SendGiftCnt = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + SendGiftCnt = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharAffinityQusetRewardReceive.cs b/Novaria.Common/Protos/CharAffinityQusetRewardReceive.cs new file mode 100644 index 0000000..fb7ff9c --- /dev/null +++ b/Novaria.Common/Protos/CharAffinityQusetRewardReceive.cs @@ -0,0 +1,611 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_affinity_quset_reward_receive.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 Proto { + + /// Holder for reflection information generated from char_affinity_quset_reward_receive.proto + public static partial class CharAffinityQusetRewardReceiveReflection { + + #region Descriptor + /// File descriptor for char_affinity_quset_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharAffinityQusetRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihjaGFyX2FmZmluaXR5X3F1c2V0X3Jld2FyZF9yZWNlaXZlLnByb3RvEgVw", + "cm90bxoMcHVibGljLnByb3RvIloKIUNoYXJBZmZpbml0eVF1ZXN0UmV3YXJk", + "UmVjZWl2ZVJlcRIOCgZDaGFySWQYASABKA0SDwoHUXVlc3RJZBgCIAEoDRIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwigAEKIkNoYXJBZmZpbml0eVF1ZXN0UmV3", + "YXJkUmVjZWl2ZVJlc3ASIQoESW5mbxgBIAEoCzITLnByb3RvLkFmZmluaXR5", + "SW5mbxIhCgZDaGFuZ2UYAiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAffinityQuestRewardReceiveReq), global::Proto.CharAffinityQuestRewardReceiveReq.Parser, new[]{ "CharId", "QuestId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAffinityQuestRewardReceiveResp), global::Proto.CharAffinityQuestRewardReceiveResp.Parser, new[]{ "Info", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinityQuestRewardReceiveReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinityQuestRewardReceiveReq()); + 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::Proto.CharAffinityQusetRewardReceiveReflection.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 CharAffinityQuestRewardReceiveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityQuestRewardReceiveReq(CharAffinityQuestRewardReceiveReq other) : this() { + charId_ = other.charId_; + questId_ = other.questId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityQuestRewardReceiveReq Clone() { + return new CharAffinityQuestRewardReceiveReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "QuestId" field. + public const int QuestIdFieldNumber = 2; + private uint questId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint QuestId { + get { return questId_; } + set { + questId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAffinityQuestRewardReceiveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinityQuestRewardReceiveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (QuestId != other.QuestId) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (QuestId != 0) hash ^= QuestId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (QuestId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(QuestId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (QuestId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(QuestId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (QuestId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(QuestId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinityQuestRewardReceiveReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.QuestId != 0) { + QuestId = other.QuestId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + QuestId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + QuestId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinityQuestRewardReceiveResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinityQuestRewardReceiveResp()); + 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::Proto.CharAffinityQusetRewardReceiveReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityQuestRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityQuestRewardReceiveResp(CharAffinityQuestRewardReceiveResp other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityQuestRewardReceiveResp Clone() { + return new CharAffinityQuestRewardReceiveResp(this); + } + + /// Field number for the "Info" field. + public const int InfoFieldNumber = 1; + private global::Proto.AffinityInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AffinityInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAffinityQuestRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinityQuestRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinityQuestRewardReceiveResp other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharDatingEventRewardReceive.cs b/Novaria.Common/Protos/CharDatingEventRewardReceive.cs new file mode 100644 index 0000000..fb50156 --- /dev/null +++ b/Novaria.Common/Protos/CharDatingEventRewardReceive.cs @@ -0,0 +1,317 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_dating_event_reward_receive.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 Proto { + + /// Holder for reflection information generated from char_dating_event_reward_receive.proto + public static partial class CharDatingEventRewardReceiveReflection { + + #region Descriptor + /// File descriptor for char_dating_event_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharDatingEventRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZjaGFyX2RhdGluZ19ldmVudF9yZXdhcmRfcmVjZWl2ZS5wcm90bxIFcHJv", + "dG8aDHB1YmxpYy5wcm90byJYCh9DaGFyRGF0aW5nRXZlbnRSZXdhcmRSZWNl", + "aXZlUmVxEg4KBkNoYXJJZBgBIAEoDRIPCgdFdmVudElkGAIgASgNEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharDatingEventRewardReceiveReq), global::Proto.CharDatingEventRewardReceiveReq.Parser, new[]{ "CharId", "EventId", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharDatingEventRewardReceiveReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharDatingEventRewardReceiveReq()); + 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::Proto.CharDatingEventRewardReceiveReflection.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 CharDatingEventRewardReceiveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingEventRewardReceiveReq(CharDatingEventRewardReceiveReq other) : this() { + charId_ = other.charId_; + eventId_ = other.eventId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingEventRewardReceiveReq Clone() { + return new CharDatingEventRewardReceiveReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "EventId" field. + public const int EventIdFieldNumber = 2; + private uint eventId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EventId { + get { return eventId_; } + set { + eventId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharDatingEventRewardReceiveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharDatingEventRewardReceiveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (EventId != other.EventId) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (EventId != 0) hash ^= EventId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (EventId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(EventId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (EventId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(EventId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (EventId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharDatingEventRewardReceiveReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.EventId != 0) { + EventId = other.EventId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + EventId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + EventId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharDatingGiftSend.cs b/Novaria.Common/Protos/CharDatingGiftSend.cs new file mode 100644 index 0000000..bbadf04 --- /dev/null +++ b/Novaria.Common/Protos/CharDatingGiftSend.cs @@ -0,0 +1,626 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_dating_gift_send.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 Proto { + + /// Holder for reflection information generated from char_dating_gift_send.proto + public static partial class CharDatingGiftSendReflection { + + #region Descriptor + /// File descriptor for char_dating_gift_send.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharDatingGiftSendReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtjaGFyX2RhdGluZ19naWZ0X3NlbmQucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iXAoVQ2hhckRhdGluZ0dpZnRTZW5kUmVxEg4KBkNoYXJJZBgBIAEo", + "DRIdCgVJdGVtcxgCIAMoCzIOLnByb3RvLkl0ZW1UcGwSFAoLTmV4dFBhY2th", + "Z2UY/w8gASgMIpIBChZDaGFyRGF0aW5nR2lmdFNlbmRSZXNwEiEKBEluZm8Y", + "ASABKAsyEy5wcm90by5BZmZpbml0eUluZm8SIQoGQ2hhbmdlGAIgASgLMhEu", + "cHJvdG8uQ2hhbmdlSW5mbxIcCgRTaG93GAMgAygLMg4ucHJvdG8uSXRlbVRw", + "bBIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharDatingGiftSendReq), global::Proto.CharDatingGiftSendReq.Parser, new[]{ "CharId", "Items", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharDatingGiftSendResp), global::Proto.CharDatingGiftSendResp.Parser, new[]{ "Info", "Change", "Show", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharDatingGiftSendReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharDatingGiftSendReq()); + 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::Proto.CharDatingGiftSendReflection.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 CharDatingGiftSendReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingGiftSendReq(CharDatingGiftSendReq other) : this() { + charId_ = other.charId_; + items_ = other.items_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingGiftSendReq Clone() { + return new CharDatingGiftSendReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharDatingGiftSendReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharDatingGiftSendReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if(!items_.Equals(other.items_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + hash ^= items_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + items_.WriteTo(output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + items_.WriteTo(ref output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + size += items_.CalculateSize(_repeated_items_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharDatingGiftSendReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + items_.Add(other.items_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharDatingGiftSendResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharDatingGiftSendResp()); + 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::Proto.CharDatingGiftSendReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingGiftSendResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingGiftSendResp(CharDatingGiftSendResp other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + show_ = other.show_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingGiftSendResp Clone() { + return new CharDatingGiftSendResp(this); + } + + /// Field number for the "Info" field. + public const int InfoFieldNumber = 1; + private global::Proto.AffinityInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AffinityInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "Show" field. + public const int ShowFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_show_codec + = pb::FieldCodec.ForMessage(26, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField show_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Show { + get { return show_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharDatingGiftSendResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharDatingGiftSendResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (!object.Equals(Change, other.Change)) return false; + if(!show_.Equals(other.show_)) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + hash ^= show_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + show_.WriteTo(output, _repeated_show_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + show_.WriteTo(ref output, _repeated_show_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + size += show_.CalculateSize(_repeated_show_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharDatingGiftSendResp other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + show_.Add(other.show_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 26: { + show_.AddEntriesFrom(input, _repeated_show_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 26: { + show_.AddEntriesFrom(ref input, _repeated_show_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharDatingLandmarkSelect.cs b/Novaria.Common/Protos/CharDatingLandmarkSelect.cs new file mode 100644 index 0000000..a984511 --- /dev/null +++ b/Novaria.Common/Protos/CharDatingLandmarkSelect.cs @@ -0,0 +1,639 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_dating_landmark_select.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 Proto { + + /// Holder for reflection information generated from char_dating_landmark_select.proto + public static partial class CharDatingLandmarkSelectReflection { + + #region Descriptor + /// File descriptor for char_dating_landmark_select.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharDatingLandmarkSelectReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFjaGFyX2RhdGluZ19sYW5kbWFya19zZWxlY3QucHJvdG8SBXByb3RvGgxw", + "dWJsaWMucHJvdG8iVwobQ2hhckRhdGluZ0xhbmRtYXJrU2VsZWN0UmVxEg4K", + "BkNoYXJJZBgBIAEoDRISCgpMYW5kbWFya0lkGAIgASgNEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDCKMAQocQ2hhckRhdGluZ0xhbmRtYXJrU2VsZWN0UmVzcBIQ", + "CghFdmVudElkcxgBIAMoDRIhCgRJbmZvGAIgASgLMhMucHJvdG8uQWZmaW5p", + "dHlJbmZvEiEKBkNoYW5nZRgDIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharDatingLandmarkSelectReq), global::Proto.CharDatingLandmarkSelectReq.Parser, new[]{ "CharId", "LandmarkId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharDatingLandmarkSelectResp), global::Proto.CharDatingLandmarkSelectResp.Parser, new[]{ "EventIds", "Info", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharDatingLandmarkSelectReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharDatingLandmarkSelectReq()); + 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::Proto.CharDatingLandmarkSelectReflection.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 CharDatingLandmarkSelectReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingLandmarkSelectReq(CharDatingLandmarkSelectReq other) : this() { + charId_ = other.charId_; + landmarkId_ = other.landmarkId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingLandmarkSelectReq Clone() { + return new CharDatingLandmarkSelectReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "LandmarkId" field. + public const int LandmarkIdFieldNumber = 2; + private uint landmarkId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LandmarkId { + get { return landmarkId_; } + set { + landmarkId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharDatingLandmarkSelectReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharDatingLandmarkSelectReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (LandmarkId != other.LandmarkId) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (LandmarkId != 0) hash ^= LandmarkId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (LandmarkId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LandmarkId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (LandmarkId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LandmarkId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (LandmarkId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LandmarkId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharDatingLandmarkSelectReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.LandmarkId != 0) { + LandmarkId = other.LandmarkId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + LandmarkId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + LandmarkId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharDatingLandmarkSelectResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharDatingLandmarkSelectResp()); + 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::Proto.CharDatingLandmarkSelectReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingLandmarkSelectResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingLandmarkSelectResp(CharDatingLandmarkSelectResp other) : this() { + eventIds_ = other.eventIds_.Clone(); + info_ = other.info_ != null ? other.info_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharDatingLandmarkSelectResp Clone() { + return new CharDatingLandmarkSelectResp(this); + } + + /// Field number for the "EventIds" field. + public const int EventIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_eventIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField eventIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EventIds { + get { return eventIds_; } + } + + /// Field number for the "Info" field. + public const int InfoFieldNumber = 2; + private global::Proto.AffinityInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AffinityInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharDatingLandmarkSelectResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharDatingLandmarkSelectResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!eventIds_.Equals(other.eventIds_)) return false; + if (!object.Equals(Info, other.Info)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= eventIds_.GetHashCode(); + if (info_ != null) hash ^= Info.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + eventIds_.WriteTo(output, _repeated_eventIds_codec); + if (info_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + eventIds_.WriteTo(ref output, _repeated_eventIds_codec); + if (info_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += eventIds_.CalculateSize(_repeated_eventIds_codec); + if (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharDatingLandmarkSelectResp other) { + if (other == null) { + return; + } + eventIds_.Add(other.eventIds_); + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + eventIds_.AddEntriesFrom(input, _repeated_eventIds_codec); + break; + } + case 18: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + eventIds_.AddEntriesFrom(ref input, _repeated_eventIds_codec); + break; + } + case 18: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharEquipmentChange.cs b/Novaria.Common/Protos/CharEquipmentChange.cs new file mode 100644 index 0000000..0037b05 --- /dev/null +++ b/Novaria.Common/Protos/CharEquipmentChange.cs @@ -0,0 +1,581 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_equipment_change.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 Proto { + + /// Holder for reflection information generated from char_equipment_change.proto + public static partial class CharEquipmentChangeReflection { + + #region Descriptor + /// File descriptor for char_equipment_change.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharEquipmentChangeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtjaGFyX2VxdWlwbWVudF9jaGFuZ2UucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iWAoWQ2hhckVxdWlwbWVudENoYW5nZVJlcRIKCgJJZBgBIAEoBBIO", + "CgZDaGFySWQYAiABKA0SDAoEVHlwZRgDIAEoDRIUCgtOZXh0UGFja2FnZRj/", + "DyABKAwiSwoXQ2hhckVxdWlwbWVudENoYW5nZVJlc3ASGgoFQ2hhcnMYASAD", + "KAsyCy5wcm90by5DaGFyEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90", + "bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharEquipmentChangeReq), global::Proto.CharEquipmentChangeReq.Parser, new[]{ "Id", "CharId", "Type", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharEquipmentChangeResp), global::Proto.CharEquipmentChangeResp.Parser, new[]{ "Chars", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharEquipmentChangeReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharEquipmentChangeReq()); + 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::Proto.CharEquipmentChangeReflection.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 CharEquipmentChangeReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharEquipmentChangeReq(CharEquipmentChangeReq other) : this() { + id_ = other.id_; + charId_ = other.charId_; + type_ = other.type_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharEquipmentChangeReq Clone() { + return new CharEquipmentChangeReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 2; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 3; + private uint type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharEquipmentChangeReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharEquipmentChangeReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (Type != other.Type) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (CharId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(CharId); + } + if (Type != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (CharId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(CharId); + } + if (Type != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharEquipmentChangeReq other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + CharId = input.ReadUInt32(); + break; + } + case 24: { + Type = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + CharId = input.ReadUInt32(); + break; + } + case 24: { + Type = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharEquipmentChangeResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharEquipmentChangeResp()); + 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::Proto.CharEquipmentChangeReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharEquipmentChangeResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharEquipmentChangeResp(CharEquipmentChangeResp other) : this() { + chars_ = other.chars_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharEquipmentChangeResp Clone() { + return new CharEquipmentChangeResp(this); + } + + /// Field number for the "Chars" field. + public const int CharsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_chars_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Char.Parser); + private readonly pbc::RepeatedField chars_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Chars { + get { return chars_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharEquipmentChangeResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharEquipmentChangeResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!chars_.Equals(other.chars_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= chars_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + chars_.WriteTo(output, _repeated_chars_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + chars_.WriteTo(ref output, _repeated_chars_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += chars_.CalculateSize(_repeated_chars_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharEquipmentChangeResp other) { + if (other == null) { + return; + } + chars_.Add(other.chars_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharGrade.cs b/Novaria.Common/Protos/CharGrade.cs deleted file mode 100644 index e2d7975..0000000 --- a/Novaria.Common/Protos/CharGrade.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharGrade.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 CharGrade.proto - public static partial class CharGradeReflection { - - #region Descriptor - /// File descriptor for CharGrade.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharGradeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9DaGFyR3JhZGUucHJvdG8ihwEKCUNoYXJHcmFkZRINCgVncmFkZRgBIAEo", - "BRIVCg1mcmFnbWVudHNfcXR5GAIgASgFEhsKE2dlbmVyYWxfZnJhZ21lbnRf", - "aWQYAyABKAUSGgoSc3Vic3RpdHV0ZV9pdGVtX2lkGAQgASgFEhsKE3N1YnN0", - "aXR1dGVfaXRlbV9xdHkYBSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharGrade), global::Nova.Client.CharGrade.Parser, new[]{ "Grade", "FragmentsQty", "GeneralFragmentId", "SubstituteItemId", "SubstituteItemQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharGrade : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharGrade()); - 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.CharGradeReflection.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 CharGrade() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharGrade(CharGrade other) : this() { - grade_ = other.grade_; - fragmentsQty_ = other.fragmentsQty_; - generalFragmentId_ = other.generalFragmentId_; - substituteItemId_ = other.substituteItemId_; - substituteItemQty_ = other.substituteItemQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharGrade Clone() { - return new CharGrade(this); - } - - /// Field number for the "grade" field. - public const int GradeFieldNumber = 1; - private int grade_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Grade { - get { return grade_; } - set { - grade_ = value; - } - } - - /// Field number for the "fragments_qty" field. - public const int FragmentsQtyFieldNumber = 2; - private int fragmentsQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FragmentsQty { - get { return fragmentsQty_; } - set { - fragmentsQty_ = value; - } - } - - /// Field number for the "general_fragment_id" field. - public const int GeneralFragmentIdFieldNumber = 3; - private int generalFragmentId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GeneralFragmentId { - get { return generalFragmentId_; } - set { - generalFragmentId_ = value; - } - } - - /// Field number for the "substitute_item_id" field. - public const int SubstituteItemIdFieldNumber = 4; - private int substituteItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SubstituteItemId { - get { return substituteItemId_; } - set { - substituteItemId_ = value; - } - } - - /// Field number for the "substitute_item_qty" field. - public const int SubstituteItemQtyFieldNumber = 5; - private int substituteItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SubstituteItemQty { - get { return substituteItemQty_; } - set { - substituteItemQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharGrade); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharGrade other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Grade != other.Grade) return false; - if (FragmentsQty != other.FragmentsQty) return false; - if (GeneralFragmentId != other.GeneralFragmentId) return false; - if (SubstituteItemId != other.SubstituteItemId) return false; - if (SubstituteItemQty != other.SubstituteItemQty) 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 (Grade != 0) hash ^= Grade.GetHashCode(); - if (FragmentsQty != 0) hash ^= FragmentsQty.GetHashCode(); - if (GeneralFragmentId != 0) hash ^= GeneralFragmentId.GetHashCode(); - if (SubstituteItemId != 0) hash ^= SubstituteItemId.GetHashCode(); - if (SubstituteItemQty != 0) hash ^= SubstituteItemQty.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 (Grade != 0) { - output.WriteRawTag(8); - output.WriteInt32(Grade); - } - if (FragmentsQty != 0) { - output.WriteRawTag(16); - output.WriteInt32(FragmentsQty); - } - if (GeneralFragmentId != 0) { - output.WriteRawTag(24); - output.WriteInt32(GeneralFragmentId); - } - if (SubstituteItemId != 0) { - output.WriteRawTag(32); - output.WriteInt32(SubstituteItemId); - } - if (SubstituteItemQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(SubstituteItemQty); - } - 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 (Grade != 0) { - output.WriteRawTag(8); - output.WriteInt32(Grade); - } - if (FragmentsQty != 0) { - output.WriteRawTag(16); - output.WriteInt32(FragmentsQty); - } - if (GeneralFragmentId != 0) { - output.WriteRawTag(24); - output.WriteInt32(GeneralFragmentId); - } - if (SubstituteItemId != 0) { - output.WriteRawTag(32); - output.WriteInt32(SubstituteItemId); - } - if (SubstituteItemQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(SubstituteItemQty); - } - 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 (Grade != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Grade); - } - if (FragmentsQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FragmentsQty); - } - if (GeneralFragmentId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GeneralFragmentId); - } - if (SubstituteItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubstituteItemId); - } - if (SubstituteItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubstituteItemQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharGrade other) { - if (other == null) { - return; - } - if (other.Grade != 0) { - Grade = other.Grade; - } - if (other.FragmentsQty != 0) { - FragmentsQty = other.FragmentsQty; - } - if (other.GeneralFragmentId != 0) { - GeneralFragmentId = other.GeneralFragmentId; - } - if (other.SubstituteItemId != 0) { - SubstituteItemId = other.SubstituteItemId; - } - if (other.SubstituteItemQty != 0) { - SubstituteItemQty = other.SubstituteItemQty; - } - _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: { - Grade = input.ReadInt32(); - break; - } - case 16: { - FragmentsQty = input.ReadInt32(); - break; - } - case 24: { - GeneralFragmentId = input.ReadInt32(); - break; - } - case 32: { - SubstituteItemId = input.ReadInt32(); - break; - } - case 40: { - SubstituteItemQty = 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: { - Grade = input.ReadInt32(); - break; - } - case 16: { - FragmentsQty = input.ReadInt32(); - break; - } - case 24: { - GeneralFragmentId = input.ReadInt32(); - break; - } - case 32: { - SubstituteItemId = input.ReadInt32(); - break; - } - case 40: { - SubstituteItemQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharPotential.cs b/Novaria.Common/Protos/CharPotential.cs deleted file mode 100644 index 62c842d..0000000 --- a/Novaria.Common/Protos/CharPotential.cs +++ /dev/null @@ -1,385 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharPotential.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 CharPotential.proto - public static partial class CharPotentialReflection { - - #region Descriptor - /// File descriptor for CharPotential.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharPotentialReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNDaGFyUG90ZW50aWFsLnByb3RvItEBCg1DaGFyUG90ZW50aWFsEgoKAmlk", - "GAEgASgFEiUKHW1hc3Rlcl9zcGVjaWZpY19wb3RlbnRpYWxfaWRzGAIgAygF", - "EiUKHWFzc2lzdF9zcGVjaWZpY19wb3RlbnRpYWxfaWRzGAMgAygFEhwKFGNv", - "bW1vbl9wb3RlbnRpYWxfaWRzGAQgAygFEiMKG21hc3Rlcl9ub3JtYWxfcG90", - "ZW50aWFsX2lkcxgFIAMoBRIjChthc3Npc3Rfbm9ybWFsX3BvdGVudGlhbF9p", - "ZHMYBiADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharPotential), global::Nova.Client.CharPotential.Parser, new[]{ "Id", "MasterSpecificPotentialIds", "AssistSpecificPotentialIds", "CommonPotentialIds", "MasterNormalPotentialIds", "AssistNormalPotentialIds" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharPotential : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharPotential()); - 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.CharPotentialReflection.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 CharPotential() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharPotential(CharPotential other) : this() { - id_ = other.id_; - masterSpecificPotentialIds_ = other.masterSpecificPotentialIds_.Clone(); - assistSpecificPotentialIds_ = other.assistSpecificPotentialIds_.Clone(); - commonPotentialIds_ = other.commonPotentialIds_.Clone(); - masterNormalPotentialIds_ = other.masterNormalPotentialIds_.Clone(); - assistNormalPotentialIds_ = other.assistNormalPotentialIds_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharPotential Clone() { - return new CharPotential(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 "master_specific_potential_ids" field. - public const int MasterSpecificPotentialIdsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_masterSpecificPotentialIds_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField masterSpecificPotentialIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField MasterSpecificPotentialIds { - get { return masterSpecificPotentialIds_; } - } - - /// Field number for the "assist_specific_potential_ids" field. - public const int AssistSpecificPotentialIdsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_assistSpecificPotentialIds_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField assistSpecificPotentialIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AssistSpecificPotentialIds { - get { return assistSpecificPotentialIds_; } - } - - /// Field number for the "common_potential_ids" field. - public const int CommonPotentialIdsFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_commonPotentialIds_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField commonPotentialIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CommonPotentialIds { - get { return commonPotentialIds_; } - } - - /// Field number for the "master_normal_potential_ids" field. - public const int MasterNormalPotentialIdsFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_masterNormalPotentialIds_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField masterNormalPotentialIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField MasterNormalPotentialIds { - get { return masterNormalPotentialIds_; } - } - - /// Field number for the "assist_normal_potential_ids" field. - public const int AssistNormalPotentialIdsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_assistNormalPotentialIds_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField assistNormalPotentialIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AssistNormalPotentialIds { - get { return assistNormalPotentialIds_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharPotential); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharPotential other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if(!masterSpecificPotentialIds_.Equals(other.masterSpecificPotentialIds_)) return false; - if(!assistSpecificPotentialIds_.Equals(other.assistSpecificPotentialIds_)) return false; - if(!commonPotentialIds_.Equals(other.commonPotentialIds_)) return false; - if(!masterNormalPotentialIds_.Equals(other.masterNormalPotentialIds_)) return false; - if(!assistNormalPotentialIds_.Equals(other.assistNormalPotentialIds_)) 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(); - hash ^= masterSpecificPotentialIds_.GetHashCode(); - hash ^= assistSpecificPotentialIds_.GetHashCode(); - hash ^= commonPotentialIds_.GetHashCode(); - hash ^= masterNormalPotentialIds_.GetHashCode(); - hash ^= assistNormalPotentialIds_.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); - } - masterSpecificPotentialIds_.WriteTo(output, _repeated_masterSpecificPotentialIds_codec); - assistSpecificPotentialIds_.WriteTo(output, _repeated_assistSpecificPotentialIds_codec); - commonPotentialIds_.WriteTo(output, _repeated_commonPotentialIds_codec); - masterNormalPotentialIds_.WriteTo(output, _repeated_masterNormalPotentialIds_codec); - assistNormalPotentialIds_.WriteTo(output, _repeated_assistNormalPotentialIds_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); - } - masterSpecificPotentialIds_.WriteTo(ref output, _repeated_masterSpecificPotentialIds_codec); - assistSpecificPotentialIds_.WriteTo(ref output, _repeated_assistSpecificPotentialIds_codec); - commonPotentialIds_.WriteTo(ref output, _repeated_commonPotentialIds_codec); - masterNormalPotentialIds_.WriteTo(ref output, _repeated_masterNormalPotentialIds_codec); - assistNormalPotentialIds_.WriteTo(ref output, _repeated_assistNormalPotentialIds_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); - } - size += masterSpecificPotentialIds_.CalculateSize(_repeated_masterSpecificPotentialIds_codec); - size += assistSpecificPotentialIds_.CalculateSize(_repeated_assistSpecificPotentialIds_codec); - size += commonPotentialIds_.CalculateSize(_repeated_commonPotentialIds_codec); - size += masterNormalPotentialIds_.CalculateSize(_repeated_masterNormalPotentialIds_codec); - size += assistNormalPotentialIds_.CalculateSize(_repeated_assistNormalPotentialIds_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharPotential other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - masterSpecificPotentialIds_.Add(other.masterSpecificPotentialIds_); - assistSpecificPotentialIds_.Add(other.assistSpecificPotentialIds_); - commonPotentialIds_.Add(other.commonPotentialIds_); - masterNormalPotentialIds_.Add(other.masterNormalPotentialIds_); - assistNormalPotentialIds_.Add(other.assistNormalPotentialIds_); - _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: - case 16: { - masterSpecificPotentialIds_.AddEntriesFrom(input, _repeated_masterSpecificPotentialIds_codec); - break; - } - case 26: - case 24: { - assistSpecificPotentialIds_.AddEntriesFrom(input, _repeated_assistSpecificPotentialIds_codec); - break; - } - case 34: - case 32: { - commonPotentialIds_.AddEntriesFrom(input, _repeated_commonPotentialIds_codec); - break; - } - case 42: - case 40: { - masterNormalPotentialIds_.AddEntriesFrom(input, _repeated_masterNormalPotentialIds_codec); - break; - } - case 50: - case 48: { - assistNormalPotentialIds_.AddEntriesFrom(input, _repeated_assistNormalPotentialIds_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 18: - case 16: { - masterSpecificPotentialIds_.AddEntriesFrom(ref input, _repeated_masterSpecificPotentialIds_codec); - break; - } - case 26: - case 24: { - assistSpecificPotentialIds_.AddEntriesFrom(ref input, _repeated_assistSpecificPotentialIds_codec); - break; - } - case 34: - case 32: { - commonPotentialIds_.AddEntriesFrom(ref input, _repeated_commonPotentialIds_codec); - break; - } - case 42: - case 40: { - masterNormalPotentialIds_.AddEntriesFrom(ref input, _repeated_masterNormalPotentialIds_codec); - break; - } - case 50: - case 48: { - assistNormalPotentialIds_.AddEntriesFrom(ref input, _repeated_assistNormalPotentialIds_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharRaritySequence.cs b/Novaria.Common/Protos/CharRaritySequence.cs deleted file mode 100644 index 707a781..0000000 --- a/Novaria.Common/Protos/CharRaritySequence.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharRaritySequence.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 CharRaritySequence.proto - public static partial class CharRaritySequenceReflection { - - #region Descriptor - /// File descriptor for CharRaritySequence.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharRaritySequenceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhDaGFyUmFyaXR5U2VxdWVuY2UucHJvdG8icQoSQ2hhclJhcml0eVNlcXVl", - "bmNlEgoKAmlkGAEgASgFEg0KBWdyYWRlGAIgASgFEhMKC2FkdmFuY2VfbHZs", - "GAMgASgFEhAKCGx2X2xpbWl0GAQgASgFEhkKEXdvcmxkX2NsYXNzX2xpbWl0", - "GAUgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharRaritySequence), global::Nova.Client.CharRaritySequence.Parser, new[]{ "Id", "Grade", "AdvanceLvl", "LvLimit", "WorldClassLimit" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharRaritySequence : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharRaritySequence()); - 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.CharRaritySequenceReflection.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 CharRaritySequence() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharRaritySequence(CharRaritySequence other) : this() { - id_ = other.id_; - grade_ = other.grade_; - advanceLvl_ = other.advanceLvl_; - lvLimit_ = other.lvLimit_; - worldClassLimit_ = other.worldClassLimit_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharRaritySequence Clone() { - return new CharRaritySequence(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 "grade" field. - public const int GradeFieldNumber = 2; - private int grade_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Grade { - get { return grade_; } - set { - grade_ = value; - } - } - - /// Field number for the "advance_lvl" field. - public const int AdvanceLvlFieldNumber = 3; - private int advanceLvl_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdvanceLvl { - get { return advanceLvl_; } - set { - advanceLvl_ = value; - } - } - - /// Field number for the "lv_limit" field. - public const int LvLimitFieldNumber = 4; - private int lvLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LvLimit { - get { return lvLimit_; } - set { - lvLimit_ = value; - } - } - - /// Field number for the "world_class_limit" field. - public const int WorldClassLimitFieldNumber = 5; - private int worldClassLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClassLimit { - get { return worldClassLimit_; } - set { - worldClassLimit_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharRaritySequence); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharRaritySequence other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Grade != other.Grade) return false; - if (AdvanceLvl != other.AdvanceLvl) return false; - if (LvLimit != other.LvLimit) return false; - if (WorldClassLimit != other.WorldClassLimit) 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 (Grade != 0) hash ^= Grade.GetHashCode(); - if (AdvanceLvl != 0) hash ^= AdvanceLvl.GetHashCode(); - if (LvLimit != 0) hash ^= LvLimit.GetHashCode(); - if (WorldClassLimit != 0) hash ^= WorldClassLimit.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 (Grade != 0) { - output.WriteRawTag(16); - output.WriteInt32(Grade); - } - if (AdvanceLvl != 0) { - output.WriteRawTag(24); - output.WriteInt32(AdvanceLvl); - } - if (LvLimit != 0) { - output.WriteRawTag(32); - output.WriteInt32(LvLimit); - } - if (WorldClassLimit != 0) { - output.WriteRawTag(40); - output.WriteInt32(WorldClassLimit); - } - 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 (Grade != 0) { - output.WriteRawTag(16); - output.WriteInt32(Grade); - } - if (AdvanceLvl != 0) { - output.WriteRawTag(24); - output.WriteInt32(AdvanceLvl); - } - if (LvLimit != 0) { - output.WriteRawTag(32); - output.WriteInt32(LvLimit); - } - if (WorldClassLimit != 0) { - output.WriteRawTag(40); - output.WriteInt32(WorldClassLimit); - } - 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 (Grade != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Grade); - } - if (AdvanceLvl != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceLvl); - } - if (LvLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LvLimit); - } - if (WorldClassLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClassLimit); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharRaritySequence other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Grade != 0) { - Grade = other.Grade; - } - if (other.AdvanceLvl != 0) { - AdvanceLvl = other.AdvanceLvl; - } - if (other.LvLimit != 0) { - LvLimit = other.LvLimit; - } - if (other.WorldClassLimit != 0) { - WorldClassLimit = other.WorldClassLimit; - } - _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: { - Grade = input.ReadInt32(); - break; - } - case 24: { - AdvanceLvl = input.ReadInt32(); - break; - } - case 32: { - LvLimit = input.ReadInt32(); - break; - } - case 40: { - WorldClassLimit = 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: { - Grade = input.ReadInt32(); - break; - } - case 24: { - AdvanceLvl = input.ReadInt32(); - break; - } - case 32: { - LvLimit = input.ReadInt32(); - break; - } - case 40: { - WorldClassLimit = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharRecruitment.cs b/Novaria.Common/Protos/CharRecruitment.cs new file mode 100644 index 0000000..08fb2e2 --- /dev/null +++ b/Novaria.Common/Protos/CharRecruitment.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_recruitment.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 Proto { + + /// Holder for reflection information generated from char_recruitment.proto + public static partial class CharRecruitmentReflection { + + #region Descriptor + /// File descriptor for char_recruitment.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharRecruitmentReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZjaGFyX3JlY3J1aXRtZW50LnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "UABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharSkillUpgrade.cs b/Novaria.Common/Protos/CharSkillUpgrade.cs new file mode 100644 index 0000000..ecba5d7 --- /dev/null +++ b/Novaria.Common/Protos/CharSkillUpgrade.cs @@ -0,0 +1,316 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_skill_upgrade.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 Proto { + + /// Holder for reflection information generated from char_skill_upgrade.proto + public static partial class CharSkillUpgradeReflection { + + #region Descriptor + /// File descriptor for char_skill_upgrade.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharSkillUpgradeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhjaGFyX3NraWxsX3VwZ3JhZGUucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG8iSgoTQ2hhclNraWxsVXBncmFkZVJlcRIOCgZDaGFySWQYASABKA0SDQoF", + "SW5kZXgYAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharSkillUpgradeReq), global::Proto.CharSkillUpgradeReq.Parser, new[]{ "CharId", "Index", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharSkillUpgradeReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharSkillUpgradeReq()); + 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::Proto.CharSkillUpgradeReflection.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 CharSkillUpgradeReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharSkillUpgradeReq(CharSkillUpgradeReq other) : this() { + charId_ = other.charId_; + index_ = other.index_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharSkillUpgradeReq Clone() { + return new CharSkillUpgradeReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Index" field. + public const int IndexFieldNumber = 2; + private uint index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return index_; } + set { + index_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharSkillUpgradeReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharSkillUpgradeReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (Index != other.Index) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Index != 0) hash ^= Index.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Index != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Index); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Index != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Index); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharSkillUpgradeReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + Index = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + Index = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBuildRank.cs b/Novaria.Common/Protos/CharSkinSet.cs similarity index 63% rename from Novaria.Common/Protos/StarTowerBuildRank.cs rename to Novaria.Common/Protos/CharSkinSet.cs index 775ed91..8df0f9b 100644 --- a/Novaria.Common/Protos/StarTowerBuildRank.cs +++ b/Novaria.Common/Protos/CharSkinSet.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBuildRank.proto +// source: char_skin_set.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from StarTowerBuildRank.proto - public static partial class StarTowerBuildRankReflection { + /// Holder for reflection information generated from char_skin_set.proto + public static partial class CharSkinSetReflection { #region Descriptor - /// File descriptor for StarTowerBuildRank.proto + /// File descriptor for char_skin_set.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerBuildRankReflection() { + static CharSkinSetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChhTdGFyVG93ZXJCdWlsZFJhbmsucHJvdG8iQwoSU3RhclRvd2VyQnVpbGRS", - "YW5rEgoKAmlkGAEgASgFEhEKCW1pbl9ncmFkZRgCIAEoBRIOCgZyYXJpdHkY", - "AyABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChNjaGFyX3NraW5fc2V0LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIkYK", + "DkNoYXJTa2luU2V0UmVxEg4KBkNoYXJJZBgBIAEoDRIOCgZTa2luSWQYAiAB", + "KA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBuildRank), global::Nova.Client.StarTowerBuildRank.Parser, new[]{ "Id", "MinGrade", "Rarity" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharSkinSetReq), global::Proto.CharSkinSetReq.Parser, new[]{ "CharId", "SkinId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBuildRank : pb::IMessage + public sealed partial class CharSkinSetReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerBuildRank()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharSkinSetReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.StarTowerBuildRankReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.CharSkinSetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBuildRank() { + public CharSkinSetReq() { OnConstruction(); } @@ -71,73 +71,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBuildRank(StarTowerBuildRank other) : this() { - id_ = other.id_; - minGrade_ = other.minGrade_; - rarity_ = other.rarity_; + public CharSkinSetReq(CharSkinSetReq other) : this() { + charId_ = other.charId_; + skinId_ = other.skinId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBuildRank Clone() { - return new StarTowerBuildRank(this); + public CharSkinSetReq Clone() { + return new CharSkinSetReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint CharId { + get { return charId_; } set { - id_ = value; + charId_ = value; } } - /// Field number for the "min_grade" field. - public const int MinGradeFieldNumber = 2; - private int minGrade_; + /// Field number for the "SkinId" field. + public const int SkinIdFieldNumber = 2; + private uint skinId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MinGrade { - get { return minGrade_; } + public uint SkinId { + get { return skinId_; } set { - minGrade_ = value; + skinId_ = value; } } - /// Field number for the "rarity" field. - public const int RarityFieldNumber = 3; - private int rarity_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - rarity_ = value; + nextPackage_ = 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 StarTowerBuildRank); + return Equals(other as CharSkinSetReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBuildRank other) { + public bool Equals(CharSkinSetReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (MinGrade != other.MinGrade) return false; - if (Rarity != other.Rarity) return false; + if (CharId != other.CharId) return false; + if (SkinId != other.SkinId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (MinGrade != 0) hash ^= MinGrade.GetHashCode(); - if (Rarity != 0) hash ^= Rarity.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (SkinId != 0) hash ^= SkinId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (CharId != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(CharId); } - if (MinGrade != 0) { + if (SkinId != 0) { output.WriteRawTag(16); - output.WriteInt32(MinGrade); + output.WriteUInt32(SkinId); } - if (Rarity != 0) { - output.WriteRawTag(24); - output.WriteInt32(Rarity); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (CharId != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(CharId); } - if (MinGrade != 0) { + if (SkinId != 0) { output.WriteRawTag(16); - output.WriteInt32(MinGrade); + output.WriteUInt32(SkinId); } - if (Rarity != 0) { - output.WriteRawTag(24); - output.WriteInt32(Rarity); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); } - if (MinGrade != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinGrade); + if (SkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkinId); } - if (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerBuildRank other) { + public void MergeFrom(CharSkinSetReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.CharId != 0) { + CharId = other.CharId; } - if (other.MinGrade != 0) { - MinGrade = other.MinGrade; + if (other.SkinId != 0) { + SkinId = other.SkinId; } - if (other.Rarity != 0) { - Rarity = other.Rarity; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + CharId = input.ReadUInt32(); break; } case 16: { - MinGrade = input.ReadInt32(); + SkinId = input.ReadUInt32(); break; } - case 24: { - Rarity = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + CharId = input.ReadUInt32(); break; } case 16: { - MinGrade = input.ReadInt32(); + SkinId = input.ReadUInt32(); break; } - case 24: { - Rarity = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/CharUpgrade.cs b/Novaria.Common/Protos/CharUpgrade.cs new file mode 100644 index 0000000..4163023 --- /dev/null +++ b/Novaria.Common/Protos/CharUpgrade.cs @@ -0,0 +1,627 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: char_upgrade.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 Proto { + + /// Holder for reflection information generated from char_upgrade.proto + public static partial class CharUpgradeReflection { + + #region Descriptor + /// File descriptor for char_upgrade.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CharUpgradeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJjaGFyX3VwZ3JhZGUucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iVQoO", + "Q2hhclVwZ3JhZGVSZXESDgoGQ2hhcklkGAEgASgNEh0KBUl0ZW1zGAIgAygL", + "Mg4ucHJvdG8uSXRlbVRwbBIUCgtOZXh0UGFja2FnZRj/DyABKAwiZgoPQ2hh", + "clVwZ3JhZGVSZXNwEg0KBUxldmVsGAEgASgNEgsKA0V4cBgCIAEoDRIhCgZD", + "aGFuZ2UYAyABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNrYWdl", + "GP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharUpgradeReq), global::Proto.CharUpgradeReq.Parser, new[]{ "CharId", "Items", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharUpgradeResp), global::Proto.CharUpgradeResp.Parser, new[]{ "Level", "Exp", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharUpgradeReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharUpgradeReq()); + 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::Proto.CharUpgradeReflection.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 CharUpgradeReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharUpgradeReq(CharUpgradeReq other) : this() { + charId_ = other.charId_; + items_ = other.items_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharUpgradeReq Clone() { + return new CharUpgradeReq(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharUpgradeReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharUpgradeReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if(!items_.Equals(other.items_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + hash ^= items_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + items_.WriteTo(output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + items_.WriteTo(ref output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + size += items_.CalculateSize(_repeated_items_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharUpgradeReq other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + items_.Add(other.items_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharUpgradeResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharUpgradeResp()); + 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::Proto.CharUpgradeReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharUpgradeResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharUpgradeResp(CharUpgradeResp other) : this() { + level_ = other.level_; + exp_ = other.exp_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharUpgradeResp Clone() { + return new CharUpgradeResp(this); + } + + /// Field number for the "Level" field. + public const int LevelFieldNumber = 1; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharUpgradeResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharUpgradeResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharUpgradeResp other) { + if (other == null) { + return; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/Character.cs b/Novaria.Common/Protos/Character.cs deleted file mode 100644 index fa4fd38..0000000 --- a/Novaria.Common/Protos/Character.cs +++ /dev/null @@ -1,2597 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Character.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 Character.proto - public static partial class CharacterReflection { - - #region Descriptor - /// File descriptor for Character.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9DaGFyYWN0ZXIucHJvdG8igAwKCUNoYXJhY3RlchIKCgJpZBgBIAEoBRIM", - "CgRuYW1lGAIgASgJEg8KB3Zpc2libGUYAyABKAgSEQoJYXZhaWxhYmxlGAQg", - "ASgIEg0KBWdyYWRlGAUgASgFEhcKD2RlZmF1bHRfc2tpbl9pZBgGIAEoBRIX", - "Cg9hZHZhbmNlX3NraW5faWQYByABKAUSFQoNYWR2YW5jZV9ncm91cBgIIAEo", - "BRIhChlhZHZhbmNlX3NraW5fdW5sb2NrX2xldmVsGAkgASgFEg8KB2ZhY3Rp", - "b24YCiABKAUSDgoGd2VpZ2h0GAsgASgFEg0KBWVfZV90GAwgASgFEg0KBWNs", - "YXNzGA0gASgFEh0KFWNoYXJhY3Rlcl9hdHRhY2tfdHlwZRgOIAEoBRIaChJz", - "ZWFyY2hfdGFyZ2V0X3R5cGUYDyABKAUSDwoHYXRrX3NwZBgQIAEoBRIQCght", - "b3ZfdHlwZRgRIAEoBRIQCgh3YWxrX3NwZBgSIAEoBRIPCgdydW5fc3BkGBMg", - "ASgFEhIKCnNwX3J1bl9zcGQYFCABKAUSEQoJdHJhbnNfc3BkGBUgASgFEhwK", - "FHdhbGtfdG9fcnVuX2R1cmF0aW9uGBYgASgFEigKIGRvZGdlX3RvX3J1bl9h", - "Y2NlbGVyYXRpb25fb3Jfbm90GBcgASgIEg8KB21vdl9hY2MYGCABKAUSDwoH", - "cm90X3NwZBgZIAEoBRIPCgdyb3RfYWNjGBogASgFEhIKCnZpc2lvbl9kZWcY", - "GyABKAUSEgoKdmlzaW9uX3JuZxgcIAEoBRIZChF2aXNpb25fYXR0YWNrX3Ju", - "ZxgdIAEoBRIQCghoZWFyX3JuZxgeIAEoBRIXCg9oZWFyX2F0dGFja19ybmcY", - "HyABKAUSFQoNcmFpc2VfZ3VuX3JuZxggIAEoBRITCgtidWxsZXRfdHlwZRgh", - "IAEoBRIMCgRhbW1vGCIgASgFEg4KBmFfaV9pZBgjIAEoBRIVCg1ub3JtYWxf", - "YXRrX2lkGCQgASgFEhAKCGRvZGdlX2lkGCUgASgFEhAKCHNraWxsX2lkGCYg", - "ASgFEhgKEHNwZWNpYWxfc2tpbGxfaWQYJyABKAUSEwoLdWx0aW1hdGVfaWQY", - "KCABKAUSFQoNYXNzaXN0X2FfaV9pZBgpIAEoBRIcChRhc3Npc3Rfbm9ybWFs", - "X2F0a19pZBgqIAEoBRIXCg9hc3Npc3RfZG9kZ2VfaWQYKyABKAUSFwoPYXNz", - "aXN0X3NraWxsX2lkGCwgASgFEh8KF2Fzc2lzdF9zcGVjaWFsX3NraWxsX2lk", - "GC0gASgFEhoKEmFzc2lzdF91bHRpbWF0ZV9pZBguIAEoBRIXCg90YWxlbnRf", - "c2tpbGxfaWQYLyABKAUSIgoaYXNzaXN0X3NraWxsX29uX3N0YWdlX3R5cGUY", - "MCABKAUSGgoSYXNzaXN0X3NraWxsX2FuZ2xlGDEgASgFEhsKE2Fzc2lzdF9z", - "a2lsbF9yYWRpdXMYMiABKAUSKQohYXNzaXN0X3NraWxsX29uX3N0YWdlX29y", - "aWVudGF0aW9uGDMgASgFEiUKHWFzc2lzdF91bHRpbWF0ZV9vbl9zdGFnZV90", - "eXBlGDQgASgFEh0KFWFzc2lzdF91bHRpbWF0ZV9hbmdsZRg1IAEoBRIeChZh", - "c3Npc3RfdWx0aW1hdGVfcmFkaXVzGDYgASgFEiwKJGFzc2lzdF91bHRpbWF0", - "ZV9vbl9zdGFnZV9vcmllbnRhdGlvbhg3IAEoBRISCgpzd2l0Y2hfY19kGDgg", - "ASgFEhkKEWVuZXJneV9jb252X3JhdGlvGDkgASgFEhkKEWVuZXJneV9lZmZp", - "Y2llbmN5GDogASgFEhQKDGZyYWdtZW50c19pZBg7IAEoBRIVCg10cmFuc2Zv", - "cm1fcXR5GDwgASgFEhcKD3JlY3J1aXRtZW50X3F0eRg9IAEoBRIUCgxhdHRy", - "aWJ1dGVfaWQYPiABKAkSGQoRcHJlc2VudHNfdHJhaXRfaWQYPyABKAUSHAoU", - "c2tpbGxzX3VwZ3JhZGVfZ3JvdXAYQCADKAVCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Character), global::Nova.Client.Character.Parser, new[]{ "Id", "Name", "Visible", "Available", "Grade", "DefaultSkinId", "AdvanceSkinId", "AdvanceGroup", "AdvanceSkinUnlockLevel", "Faction", "Weight", "EET", "Class", "CharacterAttackType", "SearchTargetType", "AtkSpd", "MovType", "WalkSpd", "RunSpd", "SpRunSpd", "TransSpd", "WalkToRunDuration", "DodgeToRunAccelerationOrNot", "MovAcc", "RotSpd", "RotAcc", "VisionDeg", "VisionRng", "VisionAttackRng", "HearRng", "HearAttackRng", "RaiseGunRng", "BulletType", "Ammo", "AIId", "NormalAtkId", "DodgeId", "SkillId", "SpecialSkillId", "UltimateId", "AssistAIId", "AssistNormalAtkId", "AssistDodgeId", "AssistSkillId", "AssistSpecialSkillId", "AssistUltimateId", "TalentSkillId", "AssistSkillOnStageType", "AssistSkillAngle", "AssistSkillRadius", "AssistSkillOnStageOrientation", "AssistUltimateOnStageType", "AssistUltimateAngle", "AssistUltimateRadius", "AssistUltimateOnStageOrientation", "SwitchCD", "EnergyConvRatio", "EnergyEfficiency", "FragmentsId", "TransformQty", "RecruitmentQty", "AttributeId", "PresentsTraitId", "SkillsUpgradeGroup" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Character : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Character()); - 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.CharacterReflection.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 Character() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Character(Character other) : this() { - id_ = other.id_; - name_ = other.name_; - visible_ = other.visible_; - available_ = other.available_; - grade_ = other.grade_; - defaultSkinId_ = other.defaultSkinId_; - advanceSkinId_ = other.advanceSkinId_; - advanceGroup_ = other.advanceGroup_; - advanceSkinUnlockLevel_ = other.advanceSkinUnlockLevel_; - faction_ = other.faction_; - weight_ = other.weight_; - eET_ = other.eET_; - class_ = other.class_; - characterAttackType_ = other.characterAttackType_; - searchTargetType_ = other.searchTargetType_; - atkSpd_ = other.atkSpd_; - movType_ = other.movType_; - walkSpd_ = other.walkSpd_; - runSpd_ = other.runSpd_; - spRunSpd_ = other.spRunSpd_; - transSpd_ = other.transSpd_; - walkToRunDuration_ = other.walkToRunDuration_; - dodgeToRunAccelerationOrNot_ = other.dodgeToRunAccelerationOrNot_; - movAcc_ = other.movAcc_; - rotSpd_ = other.rotSpd_; - rotAcc_ = other.rotAcc_; - visionDeg_ = other.visionDeg_; - visionRng_ = other.visionRng_; - visionAttackRng_ = other.visionAttackRng_; - hearRng_ = other.hearRng_; - hearAttackRng_ = other.hearAttackRng_; - raiseGunRng_ = other.raiseGunRng_; - bulletType_ = other.bulletType_; - ammo_ = other.ammo_; - aIId_ = other.aIId_; - normalAtkId_ = other.normalAtkId_; - dodgeId_ = other.dodgeId_; - skillId_ = other.skillId_; - specialSkillId_ = other.specialSkillId_; - ultimateId_ = other.ultimateId_; - assistAIId_ = other.assistAIId_; - assistNormalAtkId_ = other.assistNormalAtkId_; - assistDodgeId_ = other.assistDodgeId_; - assistSkillId_ = other.assistSkillId_; - assistSpecialSkillId_ = other.assistSpecialSkillId_; - assistUltimateId_ = other.assistUltimateId_; - talentSkillId_ = other.talentSkillId_; - assistSkillOnStageType_ = other.assistSkillOnStageType_; - assistSkillAngle_ = other.assistSkillAngle_; - assistSkillRadius_ = other.assistSkillRadius_; - assistSkillOnStageOrientation_ = other.assistSkillOnStageOrientation_; - assistUltimateOnStageType_ = other.assistUltimateOnStageType_; - assistUltimateAngle_ = other.assistUltimateAngle_; - assistUltimateRadius_ = other.assistUltimateRadius_; - assistUltimateOnStageOrientation_ = other.assistUltimateOnStageOrientation_; - switchCD_ = other.switchCD_; - energyConvRatio_ = other.energyConvRatio_; - energyEfficiency_ = other.energyEfficiency_; - fragmentsId_ = other.fragmentsId_; - transformQty_ = other.transformQty_; - recruitmentQty_ = other.recruitmentQty_; - attributeId_ = other.attributeId_; - presentsTraitId_ = other.presentsTraitId_; - skillsUpgradeGroup_ = other.skillsUpgradeGroup_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Character Clone() { - return new Character(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 "name" field. - 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"); - } - } - - /// Field number for the "visible" field. - public const int VisibleFieldNumber = 3; - private bool visible_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Visible { - get { return visible_; } - set { - visible_ = value; - } - } - - /// Field number for the "available" field. - public const int AvailableFieldNumber = 4; - private bool available_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Available { - get { return available_; } - set { - available_ = value; - } - } - - /// Field number for the "grade" field. - public const int GradeFieldNumber = 5; - private int grade_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Grade { - get { return grade_; } - set { - grade_ = value; - } - } - - /// Field number for the "default_skin_id" field. - public const int DefaultSkinIdFieldNumber = 6; - private int defaultSkinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefaultSkinId { - get { return defaultSkinId_; } - set { - defaultSkinId_ = value; - } - } - - /// Field number for the "advance_skin_id" field. - public const int AdvanceSkinIdFieldNumber = 7; - private int advanceSkinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdvanceSkinId { - get { return advanceSkinId_; } - set { - advanceSkinId_ = value; - } - } - - /// Field number for the "advance_group" field. - public const int AdvanceGroupFieldNumber = 8; - private int advanceGroup_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdvanceGroup { - get { return advanceGroup_; } - set { - advanceGroup_ = value; - } - } - - /// Field number for the "advance_skin_unlock_level" field. - public const int AdvanceSkinUnlockLevelFieldNumber = 9; - private int advanceSkinUnlockLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdvanceSkinUnlockLevel { - get { return advanceSkinUnlockLevel_; } - set { - advanceSkinUnlockLevel_ = value; - } - } - - /// Field number for the "faction" field. - public const int FactionFieldNumber = 10; - private int faction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Faction { - get { return faction_; } - set { - faction_ = value; - } - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 11; - private int weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "e_e_t" field. - public const int EETFieldNumber = 12; - private int eET_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EET { - get { return eET_; } - set { - eET_ = value; - } - } - - /// Field number for the "class" field. - public const int ClassFieldNumber = 13; - private int class_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Class { - get { return class_; } - set { - class_ = value; - } - } - - /// Field number for the "character_attack_type" field. - public const int CharacterAttackTypeFieldNumber = 14; - private int characterAttackType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterAttackType { - get { return characterAttackType_; } - set { - characterAttackType_ = value; - } - } - - /// Field number for the "search_target_type" field. - public const int SearchTargetTypeFieldNumber = 15; - private int searchTargetType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SearchTargetType { - get { return searchTargetType_; } - set { - searchTargetType_ = value; - } - } - - /// Field number for the "atk_spd" field. - public const int AtkSpdFieldNumber = 16; - private int atkSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AtkSpd { - get { return atkSpd_; } - set { - atkSpd_ = value; - } - } - - /// Field number for the "mov_type" field. - public const int MovTypeFieldNumber = 17; - private int movType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovType { - get { return movType_; } - set { - movType_ = value; - } - } - - /// Field number for the "walk_spd" field. - public const int WalkSpdFieldNumber = 18; - private int walkSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WalkSpd { - get { return walkSpd_; } - set { - walkSpd_ = value; - } - } - - /// Field number for the "run_spd" field. - public const int RunSpdFieldNumber = 19; - private int runSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RunSpd { - get { return runSpd_; } - set { - runSpd_ = value; - } - } - - /// Field number for the "sp_run_spd" field. - public const int SpRunSpdFieldNumber = 20; - private int spRunSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SpRunSpd { - get { return spRunSpd_; } - set { - spRunSpd_ = value; - } - } - - /// Field number for the "trans_spd" field. - public const int TransSpdFieldNumber = 21; - private int transSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TransSpd { - get { return transSpd_; } - set { - transSpd_ = value; - } - } - - /// Field number for the "walk_to_run_duration" field. - public const int WalkToRunDurationFieldNumber = 22; - private int walkToRunDuration_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WalkToRunDuration { - get { return walkToRunDuration_; } - set { - walkToRunDuration_ = value; - } - } - - /// Field number for the "dodge_to_run_acceleration_or_not" field. - public const int DodgeToRunAccelerationOrNotFieldNumber = 23; - private bool dodgeToRunAccelerationOrNot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool DodgeToRunAccelerationOrNot { - get { return dodgeToRunAccelerationOrNot_; } - set { - dodgeToRunAccelerationOrNot_ = value; - } - } - - /// Field number for the "mov_acc" field. - public const int MovAccFieldNumber = 24; - private int movAcc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovAcc { - get { return movAcc_; } - set { - movAcc_ = value; - } - } - - /// Field number for the "rot_spd" field. - public const int RotSpdFieldNumber = 25; - private int rotSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RotSpd { - get { return rotSpd_; } - set { - rotSpd_ = value; - } - } - - /// Field number for the "rot_acc" field. - public const int RotAccFieldNumber = 26; - private int rotAcc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RotAcc { - get { return rotAcc_; } - set { - rotAcc_ = value; - } - } - - /// Field number for the "vision_deg" field. - public const int VisionDegFieldNumber = 27; - private int visionDeg_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionDeg { - get { return visionDeg_; } - set { - visionDeg_ = value; - } - } - - /// Field number for the "vision_rng" field. - public const int VisionRngFieldNumber = 28; - private int visionRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionRng { - get { return visionRng_; } - set { - visionRng_ = value; - } - } - - /// Field number for the "vision_attack_rng" field. - public const int VisionAttackRngFieldNumber = 29; - private int visionAttackRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionAttackRng { - get { return visionAttackRng_; } - set { - visionAttackRng_ = value; - } - } - - /// Field number for the "hear_rng" field. - public const int HearRngFieldNumber = 30; - private int hearRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HearRng { - get { return hearRng_; } - set { - hearRng_ = value; - } - } - - /// Field number for the "hear_attack_rng" field. - public const int HearAttackRngFieldNumber = 31; - private int hearAttackRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HearAttackRng { - get { return hearAttackRng_; } - set { - hearAttackRng_ = value; - } - } - - /// Field number for the "raise_gun_rng" field. - public const int RaiseGunRngFieldNumber = 32; - private int raiseGunRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RaiseGunRng { - get { return raiseGunRng_; } - set { - raiseGunRng_ = value; - } - } - - /// Field number for the "bullet_type" field. - public const int BulletTypeFieldNumber = 33; - private int bulletType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BulletType { - get { return bulletType_; } - set { - bulletType_ = value; - } - } - - /// Field number for the "ammo" field. - public const int AmmoFieldNumber = 34; - private int ammo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Ammo { - get { return ammo_; } - set { - ammo_ = value; - } - } - - /// Field number for the "a_i_id" field. - public const int AIIdFieldNumber = 35; - private int aIId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AIId { - get { return aIId_; } - set { - aIId_ = value; - } - } - - /// Field number for the "normal_atk_id" field. - public const int NormalAtkIdFieldNumber = 36; - private int normalAtkId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalAtkId { - get { return normalAtkId_; } - set { - normalAtkId_ = value; - } - } - - /// Field number for the "dodge_id" field. - public const int DodgeIdFieldNumber = 37; - private int dodgeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DodgeId { - get { return dodgeId_; } - set { - dodgeId_ = value; - } - } - - /// Field number for the "skill_id" field. - public const int SkillIdFieldNumber = 38; - private int skillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillId { - get { return skillId_; } - set { - skillId_ = value; - } - } - - /// Field number for the "special_skill_id" field. - public const int SpecialSkillIdFieldNumber = 39; - private int specialSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SpecialSkillId { - get { return specialSkillId_; } - set { - specialSkillId_ = value; - } - } - - /// Field number for the "ultimate_id" field. - public const int UltimateIdFieldNumber = 40; - private int ultimateId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltimateId { - get { return ultimateId_; } - set { - ultimateId_ = value; - } - } - - /// Field number for the "assist_a_i_id" field. - public const int AssistAIIdFieldNumber = 41; - private int assistAIId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistAIId { - get { return assistAIId_; } - set { - assistAIId_ = value; - } - } - - /// Field number for the "assist_normal_atk_id" field. - public const int AssistNormalAtkIdFieldNumber = 42; - private int assistNormalAtkId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistNormalAtkId { - get { return assistNormalAtkId_; } - set { - assistNormalAtkId_ = value; - } - } - - /// Field number for the "assist_dodge_id" field. - public const int AssistDodgeIdFieldNumber = 43; - private int assistDodgeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistDodgeId { - get { return assistDodgeId_; } - set { - assistDodgeId_ = value; - } - } - - /// Field number for the "assist_skill_id" field. - public const int AssistSkillIdFieldNumber = 44; - private int assistSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistSkillId { - get { return assistSkillId_; } - set { - assistSkillId_ = value; - } - } - - /// Field number for the "assist_special_skill_id" field. - public const int AssistSpecialSkillIdFieldNumber = 45; - private int assistSpecialSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistSpecialSkillId { - get { return assistSpecialSkillId_; } - set { - assistSpecialSkillId_ = value; - } - } - - /// Field number for the "assist_ultimate_id" field. - public const int AssistUltimateIdFieldNumber = 46; - private int assistUltimateId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistUltimateId { - get { return assistUltimateId_; } - set { - assistUltimateId_ = value; - } - } - - /// Field number for the "talent_skill_id" field. - public const int TalentSkillIdFieldNumber = 47; - private int talentSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TalentSkillId { - get { return talentSkillId_; } - set { - talentSkillId_ = value; - } - } - - /// Field number for the "assist_skill_on_stage_type" field. - public const int AssistSkillOnStageTypeFieldNumber = 48; - private int assistSkillOnStageType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistSkillOnStageType { - get { return assistSkillOnStageType_; } - set { - assistSkillOnStageType_ = value; - } - } - - /// Field number for the "assist_skill_angle" field. - public const int AssistSkillAngleFieldNumber = 49; - private int assistSkillAngle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistSkillAngle { - get { return assistSkillAngle_; } - set { - assistSkillAngle_ = value; - } - } - - /// Field number for the "assist_skill_radius" field. - public const int AssistSkillRadiusFieldNumber = 50; - private int assistSkillRadius_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistSkillRadius { - get { return assistSkillRadius_; } - set { - assistSkillRadius_ = value; - } - } - - /// Field number for the "assist_skill_on_stage_orientation" field. - public const int AssistSkillOnStageOrientationFieldNumber = 51; - private int assistSkillOnStageOrientation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistSkillOnStageOrientation { - get { return assistSkillOnStageOrientation_; } - set { - assistSkillOnStageOrientation_ = value; - } - } - - /// Field number for the "assist_ultimate_on_stage_type" field. - public const int AssistUltimateOnStageTypeFieldNumber = 52; - private int assistUltimateOnStageType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistUltimateOnStageType { - get { return assistUltimateOnStageType_; } - set { - assistUltimateOnStageType_ = value; - } - } - - /// Field number for the "assist_ultimate_angle" field. - public const int AssistUltimateAngleFieldNumber = 53; - private int assistUltimateAngle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistUltimateAngle { - get { return assistUltimateAngle_; } - set { - assistUltimateAngle_ = value; - } - } - - /// Field number for the "assist_ultimate_radius" field. - public const int AssistUltimateRadiusFieldNumber = 54; - private int assistUltimateRadius_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistUltimateRadius { - get { return assistUltimateRadius_; } - set { - assistUltimateRadius_ = value; - } - } - - /// Field number for the "assist_ultimate_on_stage_orientation" field. - public const int AssistUltimateOnStageOrientationFieldNumber = 55; - private int assistUltimateOnStageOrientation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AssistUltimateOnStageOrientation { - get { return assistUltimateOnStageOrientation_; } - set { - assistUltimateOnStageOrientation_ = value; - } - } - - /// Field number for the "switch_c_d" field. - public const int SwitchCDFieldNumber = 56; - private int switchCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SwitchCD { - get { return switchCD_; } - set { - switchCD_ = value; - } - } - - /// Field number for the "energy_conv_ratio" field. - public const int EnergyConvRatioFieldNumber = 57; - private int energyConvRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyConvRatio { - get { return energyConvRatio_; } - set { - energyConvRatio_ = value; - } - } - - /// Field number for the "energy_efficiency" field. - public const int EnergyEfficiencyFieldNumber = 58; - private int energyEfficiency_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyEfficiency { - get { return energyEfficiency_; } - set { - energyEfficiency_ = value; - } - } - - /// Field number for the "fragments_id" field. - public const int FragmentsIdFieldNumber = 59; - private int fragmentsId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FragmentsId { - get { return fragmentsId_; } - set { - fragmentsId_ = value; - } - } - - /// Field number for the "transform_qty" field. - public const int TransformQtyFieldNumber = 60; - private int transformQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TransformQty { - get { return transformQty_; } - set { - transformQty_ = value; - } - } - - /// Field number for the "recruitment_qty" field. - public const int RecruitmentQtyFieldNumber = 61; - private int recruitmentQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecruitmentQty { - get { return recruitmentQty_; } - set { - recruitmentQty_ = value; - } - } - - /// Field number for the "attribute_id" field. - public const int AttributeIdFieldNumber = 62; - private string attributeId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttributeId { - get { return attributeId_; } - set { - attributeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "presents_trait_id" field. - public const int PresentsTraitIdFieldNumber = 63; - private int presentsTraitId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresentsTraitId { - get { return presentsTraitId_; } - set { - presentsTraitId_ = value; - } - } - - /// Field number for the "skills_upgrade_group" field. - public const int SkillsUpgradeGroupFieldNumber = 64; - private static readonly pb::FieldCodec _repeated_skillsUpgradeGroup_codec - = pb::FieldCodec.ForInt32(514); - private readonly pbc::RepeatedField skillsUpgradeGroup_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SkillsUpgradeGroup { - get { return skillsUpgradeGroup_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Character); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Character other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Name != other.Name) return false; - if (Visible != other.Visible) return false; - if (Available != other.Available) return false; - if (Grade != other.Grade) return false; - if (DefaultSkinId != other.DefaultSkinId) return false; - if (AdvanceSkinId != other.AdvanceSkinId) return false; - if (AdvanceGroup != other.AdvanceGroup) return false; - if (AdvanceSkinUnlockLevel != other.AdvanceSkinUnlockLevel) return false; - if (Faction != other.Faction) return false; - if (Weight != other.Weight) return false; - if (EET != other.EET) return false; - if (Class != other.Class) return false; - if (CharacterAttackType != other.CharacterAttackType) return false; - if (SearchTargetType != other.SearchTargetType) return false; - if (AtkSpd != other.AtkSpd) return false; - if (MovType != other.MovType) return false; - if (WalkSpd != other.WalkSpd) return false; - if (RunSpd != other.RunSpd) return false; - if (SpRunSpd != other.SpRunSpd) return false; - if (TransSpd != other.TransSpd) return false; - if (WalkToRunDuration != other.WalkToRunDuration) return false; - if (DodgeToRunAccelerationOrNot != other.DodgeToRunAccelerationOrNot) return false; - if (MovAcc != other.MovAcc) return false; - if (RotSpd != other.RotSpd) return false; - if (RotAcc != other.RotAcc) return false; - if (VisionDeg != other.VisionDeg) return false; - if (VisionRng != other.VisionRng) return false; - if (VisionAttackRng != other.VisionAttackRng) return false; - if (HearRng != other.HearRng) return false; - if (HearAttackRng != other.HearAttackRng) return false; - if (RaiseGunRng != other.RaiseGunRng) return false; - if (BulletType != other.BulletType) return false; - if (Ammo != other.Ammo) return false; - if (AIId != other.AIId) return false; - if (NormalAtkId != other.NormalAtkId) return false; - if (DodgeId != other.DodgeId) return false; - if (SkillId != other.SkillId) return false; - if (SpecialSkillId != other.SpecialSkillId) return false; - if (UltimateId != other.UltimateId) return false; - if (AssistAIId != other.AssistAIId) return false; - if (AssistNormalAtkId != other.AssistNormalAtkId) return false; - if (AssistDodgeId != other.AssistDodgeId) return false; - if (AssistSkillId != other.AssistSkillId) return false; - if (AssistSpecialSkillId != other.AssistSpecialSkillId) return false; - if (AssistUltimateId != other.AssistUltimateId) return false; - if (TalentSkillId != other.TalentSkillId) return false; - if (AssistSkillOnStageType != other.AssistSkillOnStageType) return false; - if (AssistSkillAngle != other.AssistSkillAngle) return false; - if (AssistSkillRadius != other.AssistSkillRadius) return false; - if (AssistSkillOnStageOrientation != other.AssistSkillOnStageOrientation) return false; - if (AssistUltimateOnStageType != other.AssistUltimateOnStageType) return false; - if (AssistUltimateAngle != other.AssistUltimateAngle) return false; - if (AssistUltimateRadius != other.AssistUltimateRadius) return false; - if (AssistUltimateOnStageOrientation != other.AssistUltimateOnStageOrientation) return false; - if (SwitchCD != other.SwitchCD) return false; - if (EnergyConvRatio != other.EnergyConvRatio) return false; - if (EnergyEfficiency != other.EnergyEfficiency) return false; - if (FragmentsId != other.FragmentsId) return false; - if (TransformQty != other.TransformQty) return false; - if (RecruitmentQty != other.RecruitmentQty) return false; - if (AttributeId != other.AttributeId) return false; - if (PresentsTraitId != other.PresentsTraitId) return false; - if(!skillsUpgradeGroup_.Equals(other.skillsUpgradeGroup_)) 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 (Visible != false) hash ^= Visible.GetHashCode(); - if (Available != false) hash ^= Available.GetHashCode(); - if (Grade != 0) hash ^= Grade.GetHashCode(); - if (DefaultSkinId != 0) hash ^= DefaultSkinId.GetHashCode(); - if (AdvanceSkinId != 0) hash ^= AdvanceSkinId.GetHashCode(); - if (AdvanceGroup != 0) hash ^= AdvanceGroup.GetHashCode(); - if (AdvanceSkinUnlockLevel != 0) hash ^= AdvanceSkinUnlockLevel.GetHashCode(); - if (Faction != 0) hash ^= Faction.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); - if (EET != 0) hash ^= EET.GetHashCode(); - if (Class != 0) hash ^= Class.GetHashCode(); - if (CharacterAttackType != 0) hash ^= CharacterAttackType.GetHashCode(); - if (SearchTargetType != 0) hash ^= SearchTargetType.GetHashCode(); - if (AtkSpd != 0) hash ^= AtkSpd.GetHashCode(); - if (MovType != 0) hash ^= MovType.GetHashCode(); - if (WalkSpd != 0) hash ^= WalkSpd.GetHashCode(); - if (RunSpd != 0) hash ^= RunSpd.GetHashCode(); - if (SpRunSpd != 0) hash ^= SpRunSpd.GetHashCode(); - if (TransSpd != 0) hash ^= TransSpd.GetHashCode(); - if (WalkToRunDuration != 0) hash ^= WalkToRunDuration.GetHashCode(); - if (DodgeToRunAccelerationOrNot != false) hash ^= DodgeToRunAccelerationOrNot.GetHashCode(); - if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); - if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); - if (RotAcc != 0) hash ^= RotAcc.GetHashCode(); - if (VisionDeg != 0) hash ^= VisionDeg.GetHashCode(); - if (VisionRng != 0) hash ^= VisionRng.GetHashCode(); - if (VisionAttackRng != 0) hash ^= VisionAttackRng.GetHashCode(); - if (HearRng != 0) hash ^= HearRng.GetHashCode(); - if (HearAttackRng != 0) hash ^= HearAttackRng.GetHashCode(); - if (RaiseGunRng != 0) hash ^= RaiseGunRng.GetHashCode(); - if (BulletType != 0) hash ^= BulletType.GetHashCode(); - if (Ammo != 0) hash ^= Ammo.GetHashCode(); - if (AIId != 0) hash ^= AIId.GetHashCode(); - if (NormalAtkId != 0) hash ^= NormalAtkId.GetHashCode(); - if (DodgeId != 0) hash ^= DodgeId.GetHashCode(); - if (SkillId != 0) hash ^= SkillId.GetHashCode(); - if (SpecialSkillId != 0) hash ^= SpecialSkillId.GetHashCode(); - if (UltimateId != 0) hash ^= UltimateId.GetHashCode(); - if (AssistAIId != 0) hash ^= AssistAIId.GetHashCode(); - if (AssistNormalAtkId != 0) hash ^= AssistNormalAtkId.GetHashCode(); - if (AssistDodgeId != 0) hash ^= AssistDodgeId.GetHashCode(); - if (AssistSkillId != 0) hash ^= AssistSkillId.GetHashCode(); - if (AssistSpecialSkillId != 0) hash ^= AssistSpecialSkillId.GetHashCode(); - if (AssistUltimateId != 0) hash ^= AssistUltimateId.GetHashCode(); - if (TalentSkillId != 0) hash ^= TalentSkillId.GetHashCode(); - if (AssistSkillOnStageType != 0) hash ^= AssistSkillOnStageType.GetHashCode(); - if (AssistSkillAngle != 0) hash ^= AssistSkillAngle.GetHashCode(); - if (AssistSkillRadius != 0) hash ^= AssistSkillRadius.GetHashCode(); - if (AssistSkillOnStageOrientation != 0) hash ^= AssistSkillOnStageOrientation.GetHashCode(); - if (AssistUltimateOnStageType != 0) hash ^= AssistUltimateOnStageType.GetHashCode(); - if (AssistUltimateAngle != 0) hash ^= AssistUltimateAngle.GetHashCode(); - if (AssistUltimateRadius != 0) hash ^= AssistUltimateRadius.GetHashCode(); - if (AssistUltimateOnStageOrientation != 0) hash ^= AssistUltimateOnStageOrientation.GetHashCode(); - if (SwitchCD != 0) hash ^= SwitchCD.GetHashCode(); - if (EnergyConvRatio != 0) hash ^= EnergyConvRatio.GetHashCode(); - if (EnergyEfficiency != 0) hash ^= EnergyEfficiency.GetHashCode(); - if (FragmentsId != 0) hash ^= FragmentsId.GetHashCode(); - if (TransformQty != 0) hash ^= TransformQty.GetHashCode(); - if (RecruitmentQty != 0) hash ^= RecruitmentQty.GetHashCode(); - if (AttributeId.Length != 0) hash ^= AttributeId.GetHashCode(); - if (PresentsTraitId != 0) hash ^= PresentsTraitId.GetHashCode(); - hash ^= skillsUpgradeGroup_.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 (Visible != false) { - output.WriteRawTag(24); - output.WriteBool(Visible); - } - if (Available != false) { - output.WriteRawTag(32); - output.WriteBool(Available); - } - if (Grade != 0) { - output.WriteRawTag(40); - output.WriteInt32(Grade); - } - if (DefaultSkinId != 0) { - output.WriteRawTag(48); - output.WriteInt32(DefaultSkinId); - } - if (AdvanceSkinId != 0) { - output.WriteRawTag(56); - output.WriteInt32(AdvanceSkinId); - } - if (AdvanceGroup != 0) { - output.WriteRawTag(64); - output.WriteInt32(AdvanceGroup); - } - if (AdvanceSkinUnlockLevel != 0) { - output.WriteRawTag(72); - output.WriteInt32(AdvanceSkinUnlockLevel); - } - if (Faction != 0) { - output.WriteRawTag(80); - output.WriteInt32(Faction); - } - if (Weight != 0) { - output.WriteRawTag(88); - output.WriteInt32(Weight); - } - if (EET != 0) { - output.WriteRawTag(96); - output.WriteInt32(EET); - } - if (Class != 0) { - output.WriteRawTag(104); - output.WriteInt32(Class); - } - if (CharacterAttackType != 0) { - output.WriteRawTag(112); - output.WriteInt32(CharacterAttackType); - } - if (SearchTargetType != 0) { - output.WriteRawTag(120); - output.WriteInt32(SearchTargetType); - } - if (AtkSpd != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AtkSpd); - } - if (MovType != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(MovType); - } - if (WalkSpd != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(WalkSpd); - } - if (RunSpd != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(RunSpd); - } - if (SpRunSpd != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(SpRunSpd); - } - if (TransSpd != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(TransSpd); - } - if (WalkToRunDuration != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(WalkToRunDuration); - } - if (DodgeToRunAccelerationOrNot != false) { - output.WriteRawTag(184, 1); - output.WriteBool(DodgeToRunAccelerationOrNot); - } - if (MovAcc != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(MovAcc); - } - if (RotSpd != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(RotSpd); - } - if (RotAcc != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(RotAcc); - } - if (VisionDeg != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(VisionDeg); - } - if (VisionRng != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(VisionRng); - } - if (VisionAttackRng != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(VisionAttackRng); - } - if (HearRng != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(HearRng); - } - if (HearAttackRng != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(HearAttackRng); - } - if (RaiseGunRng != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(RaiseGunRng); - } - if (BulletType != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(BulletType); - } - if (Ammo != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(Ammo); - } - if (AIId != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(AIId); - } - if (NormalAtkId != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(NormalAtkId); - } - if (DodgeId != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(DodgeId); - } - if (SkillId != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(SkillId); - } - if (SpecialSkillId != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(SpecialSkillId); - } - if (UltimateId != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(UltimateId); - } - if (AssistAIId != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(AssistAIId); - } - if (AssistNormalAtkId != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(AssistNormalAtkId); - } - if (AssistDodgeId != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(AssistDodgeId); - } - if (AssistSkillId != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(AssistSkillId); - } - if (AssistSpecialSkillId != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(AssistSpecialSkillId); - } - if (AssistUltimateId != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(AssistUltimateId); - } - if (TalentSkillId != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(TalentSkillId); - } - if (AssistSkillOnStageType != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(AssistSkillOnStageType); - } - if (AssistSkillAngle != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(AssistSkillAngle); - } - if (AssistSkillRadius != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(AssistSkillRadius); - } - if (AssistSkillOnStageOrientation != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(AssistSkillOnStageOrientation); - } - if (AssistUltimateOnStageType != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(AssistUltimateOnStageType); - } - if (AssistUltimateAngle != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(AssistUltimateAngle); - } - if (AssistUltimateRadius != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(AssistUltimateRadius); - } - if (AssistUltimateOnStageOrientation != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(AssistUltimateOnStageOrientation); - } - if (SwitchCD != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(SwitchCD); - } - if (EnergyConvRatio != 0) { - output.WriteRawTag(200, 3); - output.WriteInt32(EnergyConvRatio); - } - if (EnergyEfficiency != 0) { - output.WriteRawTag(208, 3); - output.WriteInt32(EnergyEfficiency); - } - if (FragmentsId != 0) { - output.WriteRawTag(216, 3); - output.WriteInt32(FragmentsId); - } - if (TransformQty != 0) { - output.WriteRawTag(224, 3); - output.WriteInt32(TransformQty); - } - if (RecruitmentQty != 0) { - output.WriteRawTag(232, 3); - output.WriteInt32(RecruitmentQty); - } - if (AttributeId.Length != 0) { - output.WriteRawTag(242, 3); - output.WriteString(AttributeId); - } - if (PresentsTraitId != 0) { - output.WriteRawTag(248, 3); - output.WriteInt32(PresentsTraitId); - } - skillsUpgradeGroup_.WriteTo(output, _repeated_skillsUpgradeGroup_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Visible != false) { - output.WriteRawTag(24); - output.WriteBool(Visible); - } - if (Available != false) { - output.WriteRawTag(32); - output.WriteBool(Available); - } - if (Grade != 0) { - output.WriteRawTag(40); - output.WriteInt32(Grade); - } - if (DefaultSkinId != 0) { - output.WriteRawTag(48); - output.WriteInt32(DefaultSkinId); - } - if (AdvanceSkinId != 0) { - output.WriteRawTag(56); - output.WriteInt32(AdvanceSkinId); - } - if (AdvanceGroup != 0) { - output.WriteRawTag(64); - output.WriteInt32(AdvanceGroup); - } - if (AdvanceSkinUnlockLevel != 0) { - output.WriteRawTag(72); - output.WriteInt32(AdvanceSkinUnlockLevel); - } - if (Faction != 0) { - output.WriteRawTag(80); - output.WriteInt32(Faction); - } - if (Weight != 0) { - output.WriteRawTag(88); - output.WriteInt32(Weight); - } - if (EET != 0) { - output.WriteRawTag(96); - output.WriteInt32(EET); - } - if (Class != 0) { - output.WriteRawTag(104); - output.WriteInt32(Class); - } - if (CharacterAttackType != 0) { - output.WriteRawTag(112); - output.WriteInt32(CharacterAttackType); - } - if (SearchTargetType != 0) { - output.WriteRawTag(120); - output.WriteInt32(SearchTargetType); - } - if (AtkSpd != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AtkSpd); - } - if (MovType != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(MovType); - } - if (WalkSpd != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(WalkSpd); - } - if (RunSpd != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(RunSpd); - } - if (SpRunSpd != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(SpRunSpd); - } - if (TransSpd != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(TransSpd); - } - if (WalkToRunDuration != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(WalkToRunDuration); - } - if (DodgeToRunAccelerationOrNot != false) { - output.WriteRawTag(184, 1); - output.WriteBool(DodgeToRunAccelerationOrNot); - } - if (MovAcc != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(MovAcc); - } - if (RotSpd != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(RotSpd); - } - if (RotAcc != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(RotAcc); - } - if (VisionDeg != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(VisionDeg); - } - if (VisionRng != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(VisionRng); - } - if (VisionAttackRng != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(VisionAttackRng); - } - if (HearRng != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(HearRng); - } - if (HearAttackRng != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(HearAttackRng); - } - if (RaiseGunRng != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(RaiseGunRng); - } - if (BulletType != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(BulletType); - } - if (Ammo != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(Ammo); - } - if (AIId != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(AIId); - } - if (NormalAtkId != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(NormalAtkId); - } - if (DodgeId != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(DodgeId); - } - if (SkillId != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(SkillId); - } - if (SpecialSkillId != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(SpecialSkillId); - } - if (UltimateId != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(UltimateId); - } - if (AssistAIId != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(AssistAIId); - } - if (AssistNormalAtkId != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(AssistNormalAtkId); - } - if (AssistDodgeId != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(AssistDodgeId); - } - if (AssistSkillId != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(AssistSkillId); - } - if (AssistSpecialSkillId != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(AssistSpecialSkillId); - } - if (AssistUltimateId != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(AssistUltimateId); - } - if (TalentSkillId != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(TalentSkillId); - } - if (AssistSkillOnStageType != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(AssistSkillOnStageType); - } - if (AssistSkillAngle != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(AssistSkillAngle); - } - if (AssistSkillRadius != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(AssistSkillRadius); - } - if (AssistSkillOnStageOrientation != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(AssistSkillOnStageOrientation); - } - if (AssistUltimateOnStageType != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(AssistUltimateOnStageType); - } - if (AssistUltimateAngle != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(AssistUltimateAngle); - } - if (AssistUltimateRadius != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(AssistUltimateRadius); - } - if (AssistUltimateOnStageOrientation != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(AssistUltimateOnStageOrientation); - } - if (SwitchCD != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(SwitchCD); - } - if (EnergyConvRatio != 0) { - output.WriteRawTag(200, 3); - output.WriteInt32(EnergyConvRatio); - } - if (EnergyEfficiency != 0) { - output.WriteRawTag(208, 3); - output.WriteInt32(EnergyEfficiency); - } - if (FragmentsId != 0) { - output.WriteRawTag(216, 3); - output.WriteInt32(FragmentsId); - } - if (TransformQty != 0) { - output.WriteRawTag(224, 3); - output.WriteInt32(TransformQty); - } - if (RecruitmentQty != 0) { - output.WriteRawTag(232, 3); - output.WriteInt32(RecruitmentQty); - } - if (AttributeId.Length != 0) { - output.WriteRawTag(242, 3); - output.WriteString(AttributeId); - } - if (PresentsTraitId != 0) { - output.WriteRawTag(248, 3); - output.WriteInt32(PresentsTraitId); - } - skillsUpgradeGroup_.WriteTo(ref output, _repeated_skillsUpgradeGroup_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Visible != false) { - size += 1 + 1; - } - if (Available != false) { - size += 1 + 1; - } - if (Grade != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Grade); - } - if (DefaultSkinId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultSkinId); - } - if (AdvanceSkinId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceSkinId); - } - if (AdvanceGroup != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceGroup); - } - if (AdvanceSkinUnlockLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceSkinUnlockLevel); - } - if (Faction != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Faction); - } - if (Weight != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); - } - if (EET != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); - } - if (Class != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Class); - } - if (CharacterAttackType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterAttackType); - } - if (SearchTargetType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SearchTargetType); - } - if (AtkSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AtkSpd); - } - if (MovType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MovType); - } - if (WalkSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WalkSpd); - } - if (RunSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RunSpd); - } - if (SpRunSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SpRunSpd); - } - if (TransSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TransSpd); - } - if (WalkToRunDuration != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WalkToRunDuration); - } - if (DodgeToRunAccelerationOrNot != false) { - size += 2 + 1; - } - if (MovAcc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); - } - if (RotSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); - } - if (RotAcc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotAcc); - } - if (VisionDeg != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionDeg); - } - if (VisionRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionRng); - } - if (VisionAttackRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionAttackRng); - } - if (HearRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HearRng); - } - if (HearAttackRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HearAttackRng); - } - if (RaiseGunRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RaiseGunRng); - } - if (BulletType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(BulletType); - } - if (Ammo != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Ammo); - } - if (AIId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AIId); - } - if (NormalAtkId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalAtkId); - } - if (DodgeId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DodgeId); - } - if (SkillId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillId); - } - if (SpecialSkillId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SpecialSkillId); - } - if (UltimateId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltimateId); - } - if (AssistAIId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistAIId); - } - if (AssistNormalAtkId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistNormalAtkId); - } - if (AssistDodgeId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistDodgeId); - } - if (AssistSkillId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillId); - } - if (AssistSpecialSkillId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSpecialSkillId); - } - if (AssistUltimateId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateId); - } - if (TalentSkillId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TalentSkillId); - } - if (AssistSkillOnStageType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillOnStageType); - } - if (AssistSkillAngle != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillAngle); - } - if (AssistSkillRadius != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillRadius); - } - if (AssistSkillOnStageOrientation != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillOnStageOrientation); - } - if (AssistUltimateOnStageType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateOnStageType); - } - if (AssistUltimateAngle != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateAngle); - } - if (AssistUltimateRadius != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateRadius); - } - if (AssistUltimateOnStageOrientation != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateOnStageOrientation); - } - if (SwitchCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SwitchCD); - } - if (EnergyConvRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyConvRatio); - } - if (EnergyEfficiency != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyEfficiency); - } - if (FragmentsId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FragmentsId); - } - if (TransformQty != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TransformQty); - } - if (RecruitmentQty != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RecruitmentQty); - } - if (AttributeId.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AttributeId); - } - if (PresentsTraitId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PresentsTraitId); - } - size += skillsUpgradeGroup_.CalculateSize(_repeated_skillsUpgradeGroup_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Character other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Visible != false) { - Visible = other.Visible; - } - if (other.Available != false) { - Available = other.Available; - } - if (other.Grade != 0) { - Grade = other.Grade; - } - if (other.DefaultSkinId != 0) { - DefaultSkinId = other.DefaultSkinId; - } - if (other.AdvanceSkinId != 0) { - AdvanceSkinId = other.AdvanceSkinId; - } - if (other.AdvanceGroup != 0) { - AdvanceGroup = other.AdvanceGroup; - } - if (other.AdvanceSkinUnlockLevel != 0) { - AdvanceSkinUnlockLevel = other.AdvanceSkinUnlockLevel; - } - if (other.Faction != 0) { - Faction = other.Faction; - } - if (other.Weight != 0) { - Weight = other.Weight; - } - if (other.EET != 0) { - EET = other.EET; - } - if (other.Class != 0) { - Class = other.Class; - } - if (other.CharacterAttackType != 0) { - CharacterAttackType = other.CharacterAttackType; - } - if (other.SearchTargetType != 0) { - SearchTargetType = other.SearchTargetType; - } - if (other.AtkSpd != 0) { - AtkSpd = other.AtkSpd; - } - if (other.MovType != 0) { - MovType = other.MovType; - } - if (other.WalkSpd != 0) { - WalkSpd = other.WalkSpd; - } - if (other.RunSpd != 0) { - RunSpd = other.RunSpd; - } - if (other.SpRunSpd != 0) { - SpRunSpd = other.SpRunSpd; - } - if (other.TransSpd != 0) { - TransSpd = other.TransSpd; - } - if (other.WalkToRunDuration != 0) { - WalkToRunDuration = other.WalkToRunDuration; - } - if (other.DodgeToRunAccelerationOrNot != false) { - DodgeToRunAccelerationOrNot = other.DodgeToRunAccelerationOrNot; - } - if (other.MovAcc != 0) { - MovAcc = other.MovAcc; - } - if (other.RotSpd != 0) { - RotSpd = other.RotSpd; - } - if (other.RotAcc != 0) { - RotAcc = other.RotAcc; - } - if (other.VisionDeg != 0) { - VisionDeg = other.VisionDeg; - } - if (other.VisionRng != 0) { - VisionRng = other.VisionRng; - } - if (other.VisionAttackRng != 0) { - VisionAttackRng = other.VisionAttackRng; - } - if (other.HearRng != 0) { - HearRng = other.HearRng; - } - if (other.HearAttackRng != 0) { - HearAttackRng = other.HearAttackRng; - } - if (other.RaiseGunRng != 0) { - RaiseGunRng = other.RaiseGunRng; - } - if (other.BulletType != 0) { - BulletType = other.BulletType; - } - if (other.Ammo != 0) { - Ammo = other.Ammo; - } - if (other.AIId != 0) { - AIId = other.AIId; - } - if (other.NormalAtkId != 0) { - NormalAtkId = other.NormalAtkId; - } - if (other.DodgeId != 0) { - DodgeId = other.DodgeId; - } - if (other.SkillId != 0) { - SkillId = other.SkillId; - } - if (other.SpecialSkillId != 0) { - SpecialSkillId = other.SpecialSkillId; - } - if (other.UltimateId != 0) { - UltimateId = other.UltimateId; - } - if (other.AssistAIId != 0) { - AssistAIId = other.AssistAIId; - } - if (other.AssistNormalAtkId != 0) { - AssistNormalAtkId = other.AssistNormalAtkId; - } - if (other.AssistDodgeId != 0) { - AssistDodgeId = other.AssistDodgeId; - } - if (other.AssistSkillId != 0) { - AssistSkillId = other.AssistSkillId; - } - if (other.AssistSpecialSkillId != 0) { - AssistSpecialSkillId = other.AssistSpecialSkillId; - } - if (other.AssistUltimateId != 0) { - AssistUltimateId = other.AssistUltimateId; - } - if (other.TalentSkillId != 0) { - TalentSkillId = other.TalentSkillId; - } - if (other.AssistSkillOnStageType != 0) { - AssistSkillOnStageType = other.AssistSkillOnStageType; - } - if (other.AssistSkillAngle != 0) { - AssistSkillAngle = other.AssistSkillAngle; - } - if (other.AssistSkillRadius != 0) { - AssistSkillRadius = other.AssistSkillRadius; - } - if (other.AssistSkillOnStageOrientation != 0) { - AssistSkillOnStageOrientation = other.AssistSkillOnStageOrientation; - } - if (other.AssistUltimateOnStageType != 0) { - AssistUltimateOnStageType = other.AssistUltimateOnStageType; - } - if (other.AssistUltimateAngle != 0) { - AssistUltimateAngle = other.AssistUltimateAngle; - } - if (other.AssistUltimateRadius != 0) { - AssistUltimateRadius = other.AssistUltimateRadius; - } - if (other.AssistUltimateOnStageOrientation != 0) { - AssistUltimateOnStageOrientation = other.AssistUltimateOnStageOrientation; - } - if (other.SwitchCD != 0) { - SwitchCD = other.SwitchCD; - } - if (other.EnergyConvRatio != 0) { - EnergyConvRatio = other.EnergyConvRatio; - } - if (other.EnergyEfficiency != 0) { - EnergyEfficiency = other.EnergyEfficiency; - } - if (other.FragmentsId != 0) { - FragmentsId = other.FragmentsId; - } - if (other.TransformQty != 0) { - TransformQty = other.TransformQty; - } - if (other.RecruitmentQty != 0) { - RecruitmentQty = other.RecruitmentQty; - } - if (other.AttributeId.Length != 0) { - AttributeId = other.AttributeId; - } - if (other.PresentsTraitId != 0) { - PresentsTraitId = other.PresentsTraitId; - } - skillsUpgradeGroup_.Add(other.skillsUpgradeGroup_); - _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: { - Visible = input.ReadBool(); - break; - } - case 32: { - Available = input.ReadBool(); - break; - } - case 40: { - Grade = input.ReadInt32(); - break; - } - case 48: { - DefaultSkinId = input.ReadInt32(); - break; - } - case 56: { - AdvanceSkinId = input.ReadInt32(); - break; - } - case 64: { - AdvanceGroup = input.ReadInt32(); - break; - } - case 72: { - AdvanceSkinUnlockLevel = input.ReadInt32(); - break; - } - case 80: { - Faction = input.ReadInt32(); - break; - } - case 88: { - Weight = input.ReadInt32(); - break; - } - case 96: { - EET = input.ReadInt32(); - break; - } - case 104: { - Class = input.ReadInt32(); - break; - } - case 112: { - CharacterAttackType = input.ReadInt32(); - break; - } - case 120: { - SearchTargetType = input.ReadInt32(); - break; - } - case 128: { - AtkSpd = input.ReadInt32(); - break; - } - case 136: { - MovType = input.ReadInt32(); - break; - } - case 144: { - WalkSpd = input.ReadInt32(); - break; - } - case 152: { - RunSpd = input.ReadInt32(); - break; - } - case 160: { - SpRunSpd = input.ReadInt32(); - break; - } - case 168: { - TransSpd = input.ReadInt32(); - break; - } - case 176: { - WalkToRunDuration = input.ReadInt32(); - break; - } - case 184: { - DodgeToRunAccelerationOrNot = input.ReadBool(); - break; - } - case 192: { - MovAcc = input.ReadInt32(); - break; - } - case 200: { - RotSpd = input.ReadInt32(); - break; - } - case 208: { - RotAcc = input.ReadInt32(); - break; - } - case 216: { - VisionDeg = input.ReadInt32(); - break; - } - case 224: { - VisionRng = input.ReadInt32(); - break; - } - case 232: { - VisionAttackRng = input.ReadInt32(); - break; - } - case 240: { - HearRng = input.ReadInt32(); - break; - } - case 248: { - HearAttackRng = input.ReadInt32(); - break; - } - case 256: { - RaiseGunRng = input.ReadInt32(); - break; - } - case 264: { - BulletType = input.ReadInt32(); - break; - } - case 272: { - Ammo = input.ReadInt32(); - break; - } - case 280: { - AIId = input.ReadInt32(); - break; - } - case 288: { - NormalAtkId = input.ReadInt32(); - break; - } - case 296: { - DodgeId = input.ReadInt32(); - break; - } - case 304: { - SkillId = input.ReadInt32(); - break; - } - case 312: { - SpecialSkillId = input.ReadInt32(); - break; - } - case 320: { - UltimateId = input.ReadInt32(); - break; - } - case 328: { - AssistAIId = input.ReadInt32(); - break; - } - case 336: { - AssistNormalAtkId = input.ReadInt32(); - break; - } - case 344: { - AssistDodgeId = input.ReadInt32(); - break; - } - case 352: { - AssistSkillId = input.ReadInt32(); - break; - } - case 360: { - AssistSpecialSkillId = input.ReadInt32(); - break; - } - case 368: { - AssistUltimateId = input.ReadInt32(); - break; - } - case 376: { - TalentSkillId = input.ReadInt32(); - break; - } - case 384: { - AssistSkillOnStageType = input.ReadInt32(); - break; - } - case 392: { - AssistSkillAngle = input.ReadInt32(); - break; - } - case 400: { - AssistSkillRadius = input.ReadInt32(); - break; - } - case 408: { - AssistSkillOnStageOrientation = input.ReadInt32(); - break; - } - case 416: { - AssistUltimateOnStageType = input.ReadInt32(); - break; - } - case 424: { - AssistUltimateAngle = input.ReadInt32(); - break; - } - case 432: { - AssistUltimateRadius = input.ReadInt32(); - break; - } - case 440: { - AssistUltimateOnStageOrientation = input.ReadInt32(); - break; - } - case 448: { - SwitchCD = input.ReadInt32(); - break; - } - case 456: { - EnergyConvRatio = input.ReadInt32(); - break; - } - case 464: { - EnergyEfficiency = input.ReadInt32(); - break; - } - case 472: { - FragmentsId = input.ReadInt32(); - break; - } - case 480: { - TransformQty = input.ReadInt32(); - break; - } - case 488: { - RecruitmentQty = input.ReadInt32(); - break; - } - case 498: { - AttributeId = input.ReadString(); - break; - } - case 504: { - PresentsTraitId = input.ReadInt32(); - break; - } - case 514: - case 512: { - skillsUpgradeGroup_.AddEntriesFrom(input, _repeated_skillsUpgradeGroup_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 18: { - Name = input.ReadString(); - break; - } - case 24: { - Visible = input.ReadBool(); - break; - } - case 32: { - Available = input.ReadBool(); - break; - } - case 40: { - Grade = input.ReadInt32(); - break; - } - case 48: { - DefaultSkinId = input.ReadInt32(); - break; - } - case 56: { - AdvanceSkinId = input.ReadInt32(); - break; - } - case 64: { - AdvanceGroup = input.ReadInt32(); - break; - } - case 72: { - AdvanceSkinUnlockLevel = input.ReadInt32(); - break; - } - case 80: { - Faction = input.ReadInt32(); - break; - } - case 88: { - Weight = input.ReadInt32(); - break; - } - case 96: { - EET = input.ReadInt32(); - break; - } - case 104: { - Class = input.ReadInt32(); - break; - } - case 112: { - CharacterAttackType = input.ReadInt32(); - break; - } - case 120: { - SearchTargetType = input.ReadInt32(); - break; - } - case 128: { - AtkSpd = input.ReadInt32(); - break; - } - case 136: { - MovType = input.ReadInt32(); - break; - } - case 144: { - WalkSpd = input.ReadInt32(); - break; - } - case 152: { - RunSpd = input.ReadInt32(); - break; - } - case 160: { - SpRunSpd = input.ReadInt32(); - break; - } - case 168: { - TransSpd = input.ReadInt32(); - break; - } - case 176: { - WalkToRunDuration = input.ReadInt32(); - break; - } - case 184: { - DodgeToRunAccelerationOrNot = input.ReadBool(); - break; - } - case 192: { - MovAcc = input.ReadInt32(); - break; - } - case 200: { - RotSpd = input.ReadInt32(); - break; - } - case 208: { - RotAcc = input.ReadInt32(); - break; - } - case 216: { - VisionDeg = input.ReadInt32(); - break; - } - case 224: { - VisionRng = input.ReadInt32(); - break; - } - case 232: { - VisionAttackRng = input.ReadInt32(); - break; - } - case 240: { - HearRng = input.ReadInt32(); - break; - } - case 248: { - HearAttackRng = input.ReadInt32(); - break; - } - case 256: { - RaiseGunRng = input.ReadInt32(); - break; - } - case 264: { - BulletType = input.ReadInt32(); - break; - } - case 272: { - Ammo = input.ReadInt32(); - break; - } - case 280: { - AIId = input.ReadInt32(); - break; - } - case 288: { - NormalAtkId = input.ReadInt32(); - break; - } - case 296: { - DodgeId = input.ReadInt32(); - break; - } - case 304: { - SkillId = input.ReadInt32(); - break; - } - case 312: { - SpecialSkillId = input.ReadInt32(); - break; - } - case 320: { - UltimateId = input.ReadInt32(); - break; - } - case 328: { - AssistAIId = input.ReadInt32(); - break; - } - case 336: { - AssistNormalAtkId = input.ReadInt32(); - break; - } - case 344: { - AssistDodgeId = input.ReadInt32(); - break; - } - case 352: { - AssistSkillId = input.ReadInt32(); - break; - } - case 360: { - AssistSpecialSkillId = input.ReadInt32(); - break; - } - case 368: { - AssistUltimateId = input.ReadInt32(); - break; - } - case 376: { - TalentSkillId = input.ReadInt32(); - break; - } - case 384: { - AssistSkillOnStageType = input.ReadInt32(); - break; - } - case 392: { - AssistSkillAngle = input.ReadInt32(); - break; - } - case 400: { - AssistSkillRadius = input.ReadInt32(); - break; - } - case 408: { - AssistSkillOnStageOrientation = input.ReadInt32(); - break; - } - case 416: { - AssistUltimateOnStageType = input.ReadInt32(); - break; - } - case 424: { - AssistUltimateAngle = input.ReadInt32(); - break; - } - case 432: { - AssistUltimateRadius = input.ReadInt32(); - break; - } - case 440: { - AssistUltimateOnStageOrientation = input.ReadInt32(); - break; - } - case 448: { - SwitchCD = input.ReadInt32(); - break; - } - case 456: { - EnergyConvRatio = input.ReadInt32(); - break; - } - case 464: { - EnergyEfficiency = input.ReadInt32(); - break; - } - case 472: { - FragmentsId = input.ReadInt32(); - break; - } - case 480: { - TransformQty = input.ReadInt32(); - break; - } - case 488: { - RecruitmentQty = input.ReadInt32(); - break; - } - case 498: { - AttributeId = input.ReadString(); - break; - } - case 504: { - PresentsTraitId = input.ReadInt32(); - break; - } - case 514: - case 512: { - skillsUpgradeGroup_.AddEntriesFrom(ref input, _repeated_skillsUpgradeGroup_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterAdvance.cs b/Novaria.Common/Protos/CharacterAdvance.cs deleted file mode 100644 index 9357a68..0000000 --- a/Novaria.Common/Protos/CharacterAdvance.cs +++ /dev/null @@ -1,1103 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterAdvance.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 CharacterAdvance.proto - public static partial class CharacterAdvanceReflection { - - #region Descriptor - /// File descriptor for CharacterAdvance.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterAdvanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZDaGFyYWN0ZXJBZHZhbmNlLnByb3RvIuoDChBDaGFyYWN0ZXJBZHZhbmNl", - "EgoKAmlkGAEgASgFEg0KBWdyb3VwGAIgASgFEhMKC2FkdmFuY2VfbHZsGAMg", - "ASgFEgwKBHRpZDEYBCABKAUSDAoEcXR5MRgFIAEoBRIMCgR0aWQyGAYgASgF", - "EgwKBHF0eTIYByABKAUSDAoEdGlkMxgIIAEoBRIMCgRxdHkzGAkgASgFEgwK", - "BHRpZDQYCiABKAUSDAoEcXR5NBgLIAEoBRIQCghnb2xkX3F0eRgMIAEoBRIS", - "Cgphd2FyZF90aWQxGA0gASgFEhIKCmF3YXJkX3F0eTEYDiABKAUSEgoKYXdh", - "cmRfdGlkMhgPIAEoBRISCgphd2FyZF9xdHkyGBAgASgFEhIKCmF3YXJkX3Rp", - "ZDMYESABKAUSEgoKYXdhcmRfcXR5MxgSIAEoBRIbChNhZHZhbmNlX2Rlc2Nf", - "ZnJvbnQxGBMgASgJEhsKE2FkdmFuY2VfZGVzY19hZnRlcjEYFCABKAkSGwoT", - "YWR2YW5jZV9kZXNjX2Zyb250MhgVIAEoCRIbChNhZHZhbmNlX2Rlc2NfYWZ0", - "ZXIyGBYgASgJEhsKE2FkdmFuY2VfZGVzY19mcm9udDMYFyABKAkSGwoTYWR2", - "YW5jZV9kZXNjX2FmdGVyMxgYIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterAdvance), global::Nova.Client.CharacterAdvance.Parser, new[]{ "Id", "Group", "AdvanceLvl", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Tid4", "Qty4", "GoldQty", "AwardTid1", "AwardQty1", "AwardTid2", "AwardQty2", "AwardTid3", "AwardQty3", "AdvanceDescFront1", "AdvanceDescAfter1", "AdvanceDescFront2", "AdvanceDescAfter2", "AdvanceDescFront3", "AdvanceDescAfter3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterAdvance : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterAdvance()); - 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.CharacterAdvanceReflection.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 CharacterAdvance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterAdvance(CharacterAdvance other) : this() { - id_ = other.id_; - group_ = other.group_; - advanceLvl_ = other.advanceLvl_; - tid1_ = other.tid1_; - qty1_ = other.qty1_; - tid2_ = other.tid2_; - qty2_ = other.qty2_; - tid3_ = other.tid3_; - qty3_ = other.qty3_; - tid4_ = other.tid4_; - qty4_ = other.qty4_; - goldQty_ = other.goldQty_; - awardTid1_ = other.awardTid1_; - awardQty1_ = other.awardQty1_; - awardTid2_ = other.awardTid2_; - awardQty2_ = other.awardQty2_; - awardTid3_ = other.awardTid3_; - awardQty3_ = other.awardQty3_; - advanceDescFront1_ = other.advanceDescFront1_; - advanceDescAfter1_ = other.advanceDescAfter1_; - advanceDescFront2_ = other.advanceDescFront2_; - advanceDescAfter2_ = other.advanceDescAfter2_; - advanceDescFront3_ = other.advanceDescFront3_; - advanceDescAfter3_ = other.advanceDescAfter3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterAdvance Clone() { - return new CharacterAdvance(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 "group" field. - public const int GroupFieldNumber = 2; - private int group_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } - set { - group_ = value; - } - } - - /// Field number for the "advance_lvl" field. - public const int AdvanceLvlFieldNumber = 3; - private int advanceLvl_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdvanceLvl { - get { return advanceLvl_; } - set { - advanceLvl_ = value; - } - } - - /// Field number for the "tid1" field. - public const int Tid1FieldNumber = 4; - private int tid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid1 { - get { return tid1_; } - set { - tid1_ = value; - } - } - - /// Field number for the "qty1" field. - public const int Qty1FieldNumber = 5; - private int qty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty1 { - get { return qty1_; } - set { - qty1_ = value; - } - } - - /// Field number for the "tid2" field. - public const int Tid2FieldNumber = 6; - private int tid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid2 { - get { return tid2_; } - set { - tid2_ = value; - } - } - - /// Field number for the "qty2" field. - public const int Qty2FieldNumber = 7; - private int qty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty2 { - get { return qty2_; } - set { - qty2_ = value; - } - } - - /// Field number for the "tid3" field. - public const int Tid3FieldNumber = 8; - private int tid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid3 { - get { return tid3_; } - set { - tid3_ = value; - } - } - - /// Field number for the "qty3" field. - public const int Qty3FieldNumber = 9; - private int qty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty3 { - get { return qty3_; } - set { - qty3_ = value; - } - } - - /// Field number for the "tid4" field. - public const int Tid4FieldNumber = 10; - private int tid4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid4 { - get { return tid4_; } - set { - tid4_ = value; - } - } - - /// Field number for the "qty4" field. - public const int Qty4FieldNumber = 11; - private int qty4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty4 { - get { return qty4_; } - set { - qty4_ = value; - } - } - - /// Field number for the "gold_qty" field. - public const int GoldQtyFieldNumber = 12; - private int goldQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GoldQty { - get { return goldQty_; } - set { - goldQty_ = value; - } - } - - /// Field number for the "award_tid1" field. - public const int AwardTid1FieldNumber = 13; - private int awardTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardTid1 { - get { return awardTid1_; } - set { - awardTid1_ = value; - } - } - - /// Field number for the "award_qty1" field. - public const int AwardQty1FieldNumber = 14; - private int awardQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardQty1 { - get { return awardQty1_; } - set { - awardQty1_ = value; - } - } - - /// Field number for the "award_tid2" field. - public const int AwardTid2FieldNumber = 15; - private int awardTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardTid2 { - get { return awardTid2_; } - set { - awardTid2_ = value; - } - } - - /// Field number for the "award_qty2" field. - public const int AwardQty2FieldNumber = 16; - private int awardQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardQty2 { - get { return awardQty2_; } - set { - awardQty2_ = value; - } - } - - /// Field number for the "award_tid3" field. - public const int AwardTid3FieldNumber = 17; - private int awardTid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardTid3 { - get { return awardTid3_; } - set { - awardTid3_ = value; - } - } - - /// Field number for the "award_qty3" field. - public const int AwardQty3FieldNumber = 18; - private int awardQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardQty3 { - get { return awardQty3_; } - set { - awardQty3_ = value; - } - } - - /// Field number for the "advance_desc_front1" field. - public const int AdvanceDescFront1FieldNumber = 19; - private string advanceDescFront1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AdvanceDescFront1 { - get { return advanceDescFront1_; } - set { - advanceDescFront1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "advance_desc_after1" field. - public const int AdvanceDescAfter1FieldNumber = 20; - private string advanceDescAfter1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AdvanceDescAfter1 { - get { return advanceDescAfter1_; } - set { - advanceDescAfter1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "advance_desc_front2" field. - public const int AdvanceDescFront2FieldNumber = 21; - private string advanceDescFront2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AdvanceDescFront2 { - get { return advanceDescFront2_; } - set { - advanceDescFront2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "advance_desc_after2" field. - public const int AdvanceDescAfter2FieldNumber = 22; - private string advanceDescAfter2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AdvanceDescAfter2 { - get { return advanceDescAfter2_; } - set { - advanceDescAfter2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "advance_desc_front3" field. - public const int AdvanceDescFront3FieldNumber = 23; - private string advanceDescFront3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AdvanceDescFront3 { - get { return advanceDescFront3_; } - set { - advanceDescFront3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "advance_desc_after3" field. - public const int AdvanceDescAfter3FieldNumber = 24; - private string advanceDescAfter3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AdvanceDescAfter3 { - get { return advanceDescAfter3_; } - set { - advanceDescAfter3_ = 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 CharacterAdvance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterAdvance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Group != other.Group) return false; - if (AdvanceLvl != other.AdvanceLvl) return false; - if (Tid1 != other.Tid1) return false; - if (Qty1 != other.Qty1) return false; - if (Tid2 != other.Tid2) return false; - if (Qty2 != other.Qty2) return false; - if (Tid3 != other.Tid3) return false; - if (Qty3 != other.Qty3) return false; - if (Tid4 != other.Tid4) return false; - if (Qty4 != other.Qty4) return false; - if (GoldQty != other.GoldQty) return false; - if (AwardTid1 != other.AwardTid1) return false; - if (AwardQty1 != other.AwardQty1) return false; - if (AwardTid2 != other.AwardTid2) return false; - if (AwardQty2 != other.AwardQty2) return false; - if (AwardTid3 != other.AwardTid3) return false; - if (AwardQty3 != other.AwardQty3) return false; - if (AdvanceDescFront1 != other.AdvanceDescFront1) return false; - if (AdvanceDescAfter1 != other.AdvanceDescAfter1) return false; - if (AdvanceDescFront2 != other.AdvanceDescFront2) return false; - if (AdvanceDescAfter2 != other.AdvanceDescAfter2) return false; - if (AdvanceDescFront3 != other.AdvanceDescFront3) return false; - if (AdvanceDescAfter3 != other.AdvanceDescAfter3) 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 (Group != 0) hash ^= Group.GetHashCode(); - if (AdvanceLvl != 0) hash ^= AdvanceLvl.GetHashCode(); - if (Tid1 != 0) hash ^= Tid1.GetHashCode(); - if (Qty1 != 0) hash ^= Qty1.GetHashCode(); - if (Tid2 != 0) hash ^= Tid2.GetHashCode(); - if (Qty2 != 0) hash ^= Qty2.GetHashCode(); - if (Tid3 != 0) hash ^= Tid3.GetHashCode(); - if (Qty3 != 0) hash ^= Qty3.GetHashCode(); - if (Tid4 != 0) hash ^= Tid4.GetHashCode(); - if (Qty4 != 0) hash ^= Qty4.GetHashCode(); - if (GoldQty != 0) hash ^= GoldQty.GetHashCode(); - if (AwardTid1 != 0) hash ^= AwardTid1.GetHashCode(); - if (AwardQty1 != 0) hash ^= AwardQty1.GetHashCode(); - if (AwardTid2 != 0) hash ^= AwardTid2.GetHashCode(); - if (AwardQty2 != 0) hash ^= AwardQty2.GetHashCode(); - if (AwardTid3 != 0) hash ^= AwardTid3.GetHashCode(); - if (AwardQty3 != 0) hash ^= AwardQty3.GetHashCode(); - if (AdvanceDescFront1.Length != 0) hash ^= AdvanceDescFront1.GetHashCode(); - if (AdvanceDescAfter1.Length != 0) hash ^= AdvanceDescAfter1.GetHashCode(); - if (AdvanceDescFront2.Length != 0) hash ^= AdvanceDescFront2.GetHashCode(); - if (AdvanceDescAfter2.Length != 0) hash ^= AdvanceDescAfter2.GetHashCode(); - if (AdvanceDescFront3.Length != 0) hash ^= AdvanceDescFront3.GetHashCode(); - if (AdvanceDescAfter3.Length != 0) hash ^= AdvanceDescAfter3.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 (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (AdvanceLvl != 0) { - output.WriteRawTag(24); - output.WriteInt32(AdvanceLvl); - } - if (Tid1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Qty3); - } - if (Tid4 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Tid4); - } - if (Qty4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Qty4); - } - if (GoldQty != 0) { - output.WriteRawTag(96); - output.WriteInt32(GoldQty); - } - if (AwardTid1 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardTid1); - } - if (AwardQty1 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardQty1); - } - if (AwardTid2 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AwardTid2); - } - if (AwardQty2 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AwardQty2); - } - if (AwardTid3 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AwardTid3); - } - if (AwardQty3 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(AwardQty3); - } - if (AdvanceDescFront1.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(AdvanceDescFront1); - } - if (AdvanceDescAfter1.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(AdvanceDescAfter1); - } - if (AdvanceDescFront2.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(AdvanceDescFront2); - } - if (AdvanceDescAfter2.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(AdvanceDescAfter2); - } - if (AdvanceDescFront3.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(AdvanceDescFront3); - } - if (AdvanceDescAfter3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(AdvanceDescAfter3); - } - 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 (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (AdvanceLvl != 0) { - output.WriteRawTag(24); - output.WriteInt32(AdvanceLvl); - } - if (Tid1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Qty3); - } - if (Tid4 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Tid4); - } - if (Qty4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Qty4); - } - if (GoldQty != 0) { - output.WriteRawTag(96); - output.WriteInt32(GoldQty); - } - if (AwardTid1 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardTid1); - } - if (AwardQty1 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardQty1); - } - if (AwardTid2 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AwardTid2); - } - if (AwardQty2 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AwardQty2); - } - if (AwardTid3 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AwardTid3); - } - if (AwardQty3 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(AwardQty3); - } - if (AdvanceDescFront1.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(AdvanceDescFront1); - } - if (AdvanceDescAfter1.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(AdvanceDescAfter1); - } - if (AdvanceDescFront2.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(AdvanceDescFront2); - } - if (AdvanceDescAfter2.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(AdvanceDescAfter2); - } - if (AdvanceDescFront3.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(AdvanceDescFront3); - } - if (AdvanceDescAfter3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(AdvanceDescAfter3); - } - 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 (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); - } - if (AdvanceLvl != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceLvl); - } - if (Tid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); - } - if (Qty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); - } - if (Tid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); - } - if (Qty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); - } - if (Tid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); - } - if (Qty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); - } - if (Tid4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid4); - } - if (Qty4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty4); - } - if (GoldQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GoldQty); - } - if (AwardTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardTid1); - } - if (AwardQty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardQty1); - } - if (AwardTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardTid2); - } - if (AwardQty2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardQty2); - } - if (AwardTid3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardTid3); - } - if (AwardQty3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardQty3); - } - if (AdvanceDescFront1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront1); - } - if (AdvanceDescAfter1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter1); - } - if (AdvanceDescFront2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront2); - } - if (AdvanceDescAfter2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter2); - } - if (AdvanceDescFront3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront3); - } - if (AdvanceDescAfter3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterAdvance other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Group != 0) { - Group = other.Group; - } - if (other.AdvanceLvl != 0) { - AdvanceLvl = other.AdvanceLvl; - } - if (other.Tid1 != 0) { - Tid1 = other.Tid1; - } - if (other.Qty1 != 0) { - Qty1 = other.Qty1; - } - if (other.Tid2 != 0) { - Tid2 = other.Tid2; - } - if (other.Qty2 != 0) { - Qty2 = other.Qty2; - } - if (other.Tid3 != 0) { - Tid3 = other.Tid3; - } - if (other.Qty3 != 0) { - Qty3 = other.Qty3; - } - if (other.Tid4 != 0) { - Tid4 = other.Tid4; - } - if (other.Qty4 != 0) { - Qty4 = other.Qty4; - } - if (other.GoldQty != 0) { - GoldQty = other.GoldQty; - } - if (other.AwardTid1 != 0) { - AwardTid1 = other.AwardTid1; - } - if (other.AwardQty1 != 0) { - AwardQty1 = other.AwardQty1; - } - if (other.AwardTid2 != 0) { - AwardTid2 = other.AwardTid2; - } - if (other.AwardQty2 != 0) { - AwardQty2 = other.AwardQty2; - } - if (other.AwardTid3 != 0) { - AwardTid3 = other.AwardTid3; - } - if (other.AwardQty3 != 0) { - AwardQty3 = other.AwardQty3; - } - if (other.AdvanceDescFront1.Length != 0) { - AdvanceDescFront1 = other.AdvanceDescFront1; - } - if (other.AdvanceDescAfter1.Length != 0) { - AdvanceDescAfter1 = other.AdvanceDescAfter1; - } - if (other.AdvanceDescFront2.Length != 0) { - AdvanceDescFront2 = other.AdvanceDescFront2; - } - if (other.AdvanceDescAfter2.Length != 0) { - AdvanceDescAfter2 = other.AdvanceDescAfter2; - } - if (other.AdvanceDescFront3.Length != 0) { - AdvanceDescFront3 = other.AdvanceDescFront3; - } - if (other.AdvanceDescAfter3.Length != 0) { - AdvanceDescAfter3 = other.AdvanceDescAfter3; - } - _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: { - Group = input.ReadInt32(); - break; - } - case 24: { - AdvanceLvl = input.ReadInt32(); - break; - } - case 32: { - Tid1 = input.ReadInt32(); - break; - } - case 40: { - Qty1 = input.ReadInt32(); - break; - } - case 48: { - Tid2 = input.ReadInt32(); - break; - } - case 56: { - Qty2 = input.ReadInt32(); - break; - } - case 64: { - Tid3 = input.ReadInt32(); - break; - } - case 72: { - Qty3 = input.ReadInt32(); - break; - } - case 80: { - Tid4 = input.ReadInt32(); - break; - } - case 88: { - Qty4 = input.ReadInt32(); - break; - } - case 96: { - GoldQty = input.ReadInt32(); - break; - } - case 104: { - AwardTid1 = input.ReadInt32(); - break; - } - case 112: { - AwardQty1 = input.ReadInt32(); - break; - } - case 120: { - AwardTid2 = input.ReadInt32(); - break; - } - case 128: { - AwardQty2 = input.ReadInt32(); - break; - } - case 136: { - AwardTid3 = input.ReadInt32(); - break; - } - case 144: { - AwardQty3 = input.ReadInt32(); - break; - } - case 154: { - AdvanceDescFront1 = input.ReadString(); - break; - } - case 162: { - AdvanceDescAfter1 = input.ReadString(); - break; - } - case 170: { - AdvanceDescFront2 = input.ReadString(); - break; - } - case 178: { - AdvanceDescAfter2 = input.ReadString(); - break; - } - case 186: { - AdvanceDescFront3 = input.ReadString(); - break; - } - case 194: { - AdvanceDescAfter3 = 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: { - Group = input.ReadInt32(); - break; - } - case 24: { - AdvanceLvl = input.ReadInt32(); - break; - } - case 32: { - Tid1 = input.ReadInt32(); - break; - } - case 40: { - Qty1 = input.ReadInt32(); - break; - } - case 48: { - Tid2 = input.ReadInt32(); - break; - } - case 56: { - Qty2 = input.ReadInt32(); - break; - } - case 64: { - Tid3 = input.ReadInt32(); - break; - } - case 72: { - Qty3 = input.ReadInt32(); - break; - } - case 80: { - Tid4 = input.ReadInt32(); - break; - } - case 88: { - Qty4 = input.ReadInt32(); - break; - } - case 96: { - GoldQty = input.ReadInt32(); - break; - } - case 104: { - AwardTid1 = input.ReadInt32(); - break; - } - case 112: { - AwardQty1 = input.ReadInt32(); - break; - } - case 120: { - AwardTid2 = input.ReadInt32(); - break; - } - case 128: { - AwardQty2 = input.ReadInt32(); - break; - } - case 136: { - AwardTid3 = input.ReadInt32(); - break; - } - case 144: { - AwardQty3 = input.ReadInt32(); - break; - } - case 154: { - AdvanceDescFront1 = input.ReadString(); - break; - } - case 162: { - AdvanceDescAfter1 = input.ReadString(); - break; - } - case 170: { - AdvanceDescFront2 = input.ReadString(); - break; - } - case 178: { - AdvanceDescAfter2 = input.ReadString(); - break; - } - case 186: { - AdvanceDescFront3 = input.ReadString(); - break; - } - case 194: { - AdvanceDescAfter3 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterArchive.cs b/Novaria.Common/Protos/CharacterArchive.cs deleted file mode 100644 index 54d97dc..0000000 --- a/Novaria.Common/Protos/CharacterArchive.cs +++ /dev/null @@ -1,429 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterArchive.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 CharacterArchive.proto - public static partial class CharacterArchiveReflection { - - #region Descriptor - /// File descriptor for CharacterArchive.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterArchiveReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZDaGFyYWN0ZXJBcmNoaXZlLnByb3RvIocBChBDaGFyYWN0ZXJBcmNoaXZl", - "EgoKAmlkGAEgASgFEhEKCWFyY2hfdHlwZRgCIAEoBRIUCgxjaGFyYWN0ZXJf", - "aWQYAyABKAUSHQoVdW5sb2NrX2FmZmluaXR5X2xldmVsGAQgASgFEhEKCXJl", - "Y29yZF9pZBgFIAEoBRIMCgRzb3J0GAYgASgFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchive), global::Nova.Client.CharacterArchive.Parser, new[]{ "Id", "ArchType", "CharacterId", "UnlockAffinityLevel", "RecordId", "Sort" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterArchive : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterArchive()); - 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.CharacterArchiveReflection.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 CharacterArchive() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchive(CharacterArchive other) : this() { - id_ = other.id_; - archType_ = other.archType_; - characterId_ = other.characterId_; - unlockAffinityLevel_ = other.unlockAffinityLevel_; - recordId_ = other.recordId_; - sort_ = other.sort_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchive Clone() { - return new CharacterArchive(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 "arch_type" field. - public const int ArchTypeFieldNumber = 2; - private int archType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ArchType { - get { return archType_; } - set { - archType_ = value; - } - } - - /// Field number for the "character_id" field. - public const int CharacterIdFieldNumber = 3; - private int characterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterId { - get { return characterId_; } - set { - characterId_ = value; - } - } - - /// Field number for the "unlock_affinity_level" field. - public const int UnlockAffinityLevelFieldNumber = 4; - private int unlockAffinityLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockAffinityLevel { - get { return unlockAffinityLevel_; } - set { - unlockAffinityLevel_ = value; - } - } - - /// Field number for the "record_id" field. - public const int RecordIdFieldNumber = 5; - private int recordId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecordId { - get { return recordId_; } - set { - recordId_ = value; - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 6; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterArchive); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterArchive other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ArchType != other.ArchType) return false; - if (CharacterId != other.CharacterId) return false; - if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false; - if (RecordId != other.RecordId) return false; - if (Sort != other.Sort) 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 (ArchType != 0) hash ^= ArchType.GetHashCode(); - if (CharacterId != 0) hash ^= CharacterId.GetHashCode(); - if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode(); - if (RecordId != 0) hash ^= RecordId.GetHashCode(); - if (Sort != 0) hash ^= Sort.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 (ArchType != 0) { - output.WriteRawTag(16); - output.WriteInt32(ArchType); - } - if (CharacterId != 0) { - output.WriteRawTag(24); - output.WriteInt32(CharacterId); - } - if (UnlockAffinityLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockAffinityLevel); - } - if (RecordId != 0) { - output.WriteRawTag(40); - output.WriteInt32(RecordId); - } - if (Sort != 0) { - output.WriteRawTag(48); - output.WriteInt32(Sort); - } - 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 (ArchType != 0) { - output.WriteRawTag(16); - output.WriteInt32(ArchType); - } - if (CharacterId != 0) { - output.WriteRawTag(24); - output.WriteInt32(CharacterId); - } - if (UnlockAffinityLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockAffinityLevel); - } - if (RecordId != 0) { - output.WriteRawTag(40); - output.WriteInt32(RecordId); - } - if (Sort != 0) { - output.WriteRawTag(48); - output.WriteInt32(Sort); - } - 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 (ArchType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ArchType); - } - if (CharacterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); - } - if (UnlockAffinityLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel); - } - if (RecordId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecordId); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterArchive other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ArchType != 0) { - ArchType = other.ArchType; - } - if (other.CharacterId != 0) { - CharacterId = other.CharacterId; - } - if (other.UnlockAffinityLevel != 0) { - UnlockAffinityLevel = other.UnlockAffinityLevel; - } - if (other.RecordId != 0) { - RecordId = other.RecordId; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - _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: { - ArchType = input.ReadInt32(); - break; - } - case 24: { - CharacterId = input.ReadInt32(); - break; - } - case 32: { - UnlockAffinityLevel = input.ReadInt32(); - break; - } - case 40: { - RecordId = input.ReadInt32(); - break; - } - case 48: { - Sort = 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: { - ArchType = input.ReadInt32(); - break; - } - case 24: { - CharacterId = input.ReadInt32(); - break; - } - case 32: { - UnlockAffinityLevel = input.ReadInt32(); - break; - } - case 40: { - RecordId = input.ReadInt32(); - break; - } - case 48: { - Sort = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterArchiveBaseInfo.cs b/Novaria.Common/Protos/CharacterArchiveBaseInfo.cs deleted file mode 100644 index fad895e..0000000 --- a/Novaria.Common/Protos/CharacterArchiveBaseInfo.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterArchiveBaseInfo.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 CharacterArchiveBaseInfo.proto - public static partial class CharacterArchiveBaseInfoReflection { - - #region Descriptor - /// File descriptor for CharacterArchiveBaseInfo.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterArchiveBaseInfoReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5DaGFyYWN0ZXJBcmNoaXZlQmFzZUluZm8ucHJvdG8iagoYQ2hhcmFjdGVy", - "QXJjaGl2ZUJhc2VJbmZvEgoKAmlkGAEgASgFEhQKDGNoYXJhY3Rlcl9pZBgC", - "IAEoBRINCgV0aXRsZRgDIAEoCRIPCgdjb250ZW50GAQgASgJEgwKBHNvcnQY", - "BSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchiveBaseInfo), global::Nova.Client.CharacterArchiveBaseInfo.Parser, new[]{ "Id", "CharacterId", "Title", "Content", "Sort" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterArchiveBaseInfo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterArchiveBaseInfo()); - 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.CharacterArchiveBaseInfoReflection.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 CharacterArchiveBaseInfo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveBaseInfo(CharacterArchiveBaseInfo other) : this() { - id_ = other.id_; - characterId_ = other.characterId_; - title_ = other.title_; - content_ = other.content_; - sort_ = other.sort_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveBaseInfo Clone() { - return new CharacterArchiveBaseInfo(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 "character_id" field. - public const int CharacterIdFieldNumber = 2; - private int characterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterId { - get { return characterId_; } - set { - characterId_ = value; - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 4; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 5; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterArchiveBaseInfo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterArchiveBaseInfo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharacterId != other.CharacterId) return false; - if (Title != other.Title) return false; - if (Content != other.Content) return false; - if (Sort != other.Sort) 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 (CharacterId != 0) hash ^= CharacterId.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - if (Sort != 0) hash ^= Sort.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 (CharacterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharacterId); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Content.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Content); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - 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 (CharacterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharacterId); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Content.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Content); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - 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 (CharacterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterArchiveBaseInfo other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharacterId != 0) { - CharacterId = other.CharacterId; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Content.Length != 0) { - Content = other.Content; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - _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: { - CharacterId = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 34: { - Content = input.ReadString(); - break; - } - case 40: { - Sort = 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: { - CharacterId = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 34: { - Content = input.ReadString(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterArchiveVoice.cs b/Novaria.Common/Protos/CharacterArchiveVoice.cs deleted file mode 100644 index e47e3b5..0000000 --- a/Novaria.Common/Protos/CharacterArchiveVoice.cs +++ /dev/null @@ -1,504 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterArchiveVoice.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 CharacterArchiveVoice.proto - public static partial class CharacterArchiveVoiceReflection { - - #region Descriptor - /// File descriptor for CharacterArchiveVoice.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterArchiveVoiceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtDaGFyYWN0ZXJBcmNoaXZlVm9pY2UucHJvdG8iswEKFUNoYXJhY3RlckFy", - "Y2hpdmVWb2ljZRIKCgJpZBgBIAEoBRIUCgxjaGFyYWN0ZXJfaWQYAiABKAUS", - "HQoVdW5sb2NrX2FmZmluaXR5X2xldmVsGAMgASgFEhMKC3VubG9ja19wbG90", - "GAQgASgFEg0KBXRpdGxlGAUgASgJEg4KBnNvdXJjZRgGIAEoCRIXCg9hcmNo", - "X3ZvaWNlX3R5cGUYByABKAUSDAoEc29ydBgIIAEoBUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchiveVoice), global::Nova.Client.CharacterArchiveVoice.Parser, new[]{ "Id", "CharacterId", "UnlockAffinityLevel", "UnlockPlot", "Title", "Source", "ArchVoiceType", "Sort" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterArchiveVoice : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterArchiveVoice()); - 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.CharacterArchiveVoiceReflection.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 CharacterArchiveVoice() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveVoice(CharacterArchiveVoice other) : this() { - id_ = other.id_; - characterId_ = other.characterId_; - unlockAffinityLevel_ = other.unlockAffinityLevel_; - unlockPlot_ = other.unlockPlot_; - title_ = other.title_; - source_ = other.source_; - archVoiceType_ = other.archVoiceType_; - sort_ = other.sort_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveVoice Clone() { - return new CharacterArchiveVoice(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 "character_id" field. - public const int CharacterIdFieldNumber = 2; - private int characterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterId { - get { return characterId_; } - set { - characterId_ = value; - } - } - - /// Field number for the "unlock_affinity_level" field. - public const int UnlockAffinityLevelFieldNumber = 3; - private int unlockAffinityLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockAffinityLevel { - get { return unlockAffinityLevel_; } - set { - unlockAffinityLevel_ = value; - } - } - - /// Field number for the "unlock_plot" field. - public const int UnlockPlotFieldNumber = 4; - private int unlockPlot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockPlot { - get { return unlockPlot_; } - set { - unlockPlot_ = value; - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 5; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "source" field. - public const int SourceFieldNumber = 6; - private string source_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Source { - get { return source_; } - set { - source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "arch_voice_type" field. - public const int ArchVoiceTypeFieldNumber = 7; - private int archVoiceType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ArchVoiceType { - get { return archVoiceType_; } - set { - archVoiceType_ = value; - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 8; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterArchiveVoice); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterArchiveVoice other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharacterId != other.CharacterId) return false; - if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false; - if (UnlockPlot != other.UnlockPlot) return false; - if (Title != other.Title) return false; - if (Source != other.Source) return false; - if (ArchVoiceType != other.ArchVoiceType) return false; - if (Sort != other.Sort) 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 (CharacterId != 0) hash ^= CharacterId.GetHashCode(); - if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode(); - if (UnlockPlot != 0) hash ^= UnlockPlot.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Source.Length != 0) hash ^= Source.GetHashCode(); - if (ArchVoiceType != 0) hash ^= ArchVoiceType.GetHashCode(); - if (Sort != 0) hash ^= Sort.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 (CharacterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharacterId); - } - if (UnlockAffinityLevel != 0) { - output.WriteRawTag(24); - output.WriteInt32(UnlockAffinityLevel); - } - if (UnlockPlot != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockPlot); - } - if (Title.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Title); - } - if (Source.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Source); - } - if (ArchVoiceType != 0) { - output.WriteRawTag(56); - output.WriteInt32(ArchVoiceType); - } - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - 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 (CharacterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharacterId); - } - if (UnlockAffinityLevel != 0) { - output.WriteRawTag(24); - output.WriteInt32(UnlockAffinityLevel); - } - if (UnlockPlot != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockPlot); - } - if (Title.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Title); - } - if (Source.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Source); - } - if (ArchVoiceType != 0) { - output.WriteRawTag(56); - output.WriteInt32(ArchVoiceType); - } - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - 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 (CharacterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); - } - if (UnlockAffinityLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel); - } - if (UnlockPlot != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockPlot); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Source.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); - } - if (ArchVoiceType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ArchVoiceType); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterArchiveVoice other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharacterId != 0) { - CharacterId = other.CharacterId; - } - if (other.UnlockAffinityLevel != 0) { - UnlockAffinityLevel = other.UnlockAffinityLevel; - } - if (other.UnlockPlot != 0) { - UnlockPlot = other.UnlockPlot; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Source.Length != 0) { - Source = other.Source; - } - if (other.ArchVoiceType != 0) { - ArchVoiceType = other.ArchVoiceType; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - _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: { - CharacterId = input.ReadInt32(); - break; - } - case 24: { - UnlockAffinityLevel = input.ReadInt32(); - break; - } - case 32: { - UnlockPlot = input.ReadInt32(); - break; - } - case 42: { - Title = input.ReadString(); - break; - } - case 50: { - Source = input.ReadString(); - break; - } - case 56: { - ArchVoiceType = input.ReadInt32(); - break; - } - case 64: { - Sort = 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: { - CharacterId = input.ReadInt32(); - break; - } - case 24: { - UnlockAffinityLevel = input.ReadInt32(); - break; - } - case 32: { - UnlockPlot = input.ReadInt32(); - break; - } - case 42: { - Title = input.ReadString(); - break; - } - case 50: { - Source = input.ReadString(); - break; - } - case 56: { - ArchVoiceType = input.ReadInt32(); - break; - } - case 64: { - Sort = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterCG.cs b/Novaria.Common/Protos/CharacterCG.cs deleted file mode 100644 index d27eb79..0000000 --- a/Novaria.Common/Protos/CharacterCG.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterCG.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 CharacterCG.proto - public static partial class CharacterCGReflection { - - #region Descriptor - /// File descriptor for CharacterCG.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterCGReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFDaGFyYWN0ZXJDRy5wcm90byJ0CgtDaGFyYWN0ZXJDRxIKCgJpZBgBIAEo", - "BRIcChRmdWxsX3NjcmVlbl9wb3J0cmFpdBgCIAEoCRIYChBmdWxsX3NjcmVl", - "bl9sMl9kGAMgASgJEhMKC3VubG9ja19wbG90GAQgASgFEgwKBG5hbWUYBSAB", - "KAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterCG), global::Nova.Client.CharacterCG.Parser, new[]{ "Id", "FullScreenPortrait", "FullScreenL2D", "UnlockPlot", "Name" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterCG : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterCG()); - 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.CharacterCGReflection.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 CharacterCG() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterCG(CharacterCG other) : this() { - id_ = other.id_; - fullScreenPortrait_ = other.fullScreenPortrait_; - fullScreenL2D_ = other.fullScreenL2D_; - unlockPlot_ = other.unlockPlot_; - name_ = other.name_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterCG Clone() { - return new CharacterCG(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 "full_screen_portrait" field. - public const int FullScreenPortraitFieldNumber = 2; - private string fullScreenPortrait_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FullScreenPortrait { - get { return fullScreenPortrait_; } - set { - fullScreenPortrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "full_screen_l2_d" field. - public const int FullScreenL2DFieldNumber = 3; - private string fullScreenL2D_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FullScreenL2D { - get { return fullScreenL2D_; } - set { - fullScreenL2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "unlock_plot" field. - public const int UnlockPlotFieldNumber = 4; - private int unlockPlot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockPlot { - get { return unlockPlot_; } - set { - unlockPlot_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 5; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterCG); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterCG other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (FullScreenPortrait != other.FullScreenPortrait) return false; - if (FullScreenL2D != other.FullScreenL2D) return false; - if (UnlockPlot != other.UnlockPlot) return false; - if (Name != other.Name) 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 (FullScreenPortrait.Length != 0) hash ^= FullScreenPortrait.GetHashCode(); - if (FullScreenL2D.Length != 0) hash ^= FullScreenL2D.GetHashCode(); - if (UnlockPlot != 0) hash ^= UnlockPlot.GetHashCode(); - if (Name.Length != 0) hash ^= Name.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 (FullScreenPortrait.Length != 0) { - output.WriteRawTag(18); - output.WriteString(FullScreenPortrait); - } - if (FullScreenL2D.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FullScreenL2D); - } - if (UnlockPlot != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockPlot); - } - if (Name.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Name); - } - 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 (FullScreenPortrait.Length != 0) { - output.WriteRawTag(18); - output.WriteString(FullScreenPortrait); - } - if (FullScreenL2D.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FullScreenL2D); - } - if (UnlockPlot != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockPlot); - } - if (Name.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Name); - } - 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 (FullScreenPortrait.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FullScreenPortrait); - } - if (FullScreenL2D.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FullScreenL2D); - } - if (UnlockPlot != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockPlot); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterCG other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.FullScreenPortrait.Length != 0) { - FullScreenPortrait = other.FullScreenPortrait; - } - if (other.FullScreenL2D.Length != 0) { - FullScreenL2D = other.FullScreenL2D; - } - if (other.UnlockPlot != 0) { - UnlockPlot = other.UnlockPlot; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - _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: { - FullScreenPortrait = input.ReadString(); - break; - } - case 26: { - FullScreenL2D = input.ReadString(); - break; - } - case 32: { - UnlockPlot = input.ReadInt32(); - break; - } - case 42: { - Name = 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 18: { - FullScreenPortrait = input.ReadString(); - break; - } - case 26: { - FullScreenL2D = input.ReadString(); - break; - } - case 32: { - UnlockPlot = input.ReadInt32(); - break; - } - case 42: { - Name = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterDes.cs b/Novaria.Common/Protos/CharacterDes.cs deleted file mode 100644 index d67cc87..0000000 --- a/Novaria.Common/Protos/CharacterDes.cs +++ /dev/null @@ -1,588 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterDes.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 CharacterDes.proto - public static partial class CharacterDesReflection { - - #region Descriptor - /// File descriptor for CharacterDes.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterDesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJDaGFyYWN0ZXJEZXMucHJvdG8iywEKDENoYXJhY3RlckRlcxIKCgJpZBgB", - "IAEoBRINCgVhbGlhcxgCIAEoCRINCgVjbl9jdhgDIAEoCRINCgVqcF9jdhgE", - "IAEoCRISCgpjaGFyX2NvbG9yGAUgASgJEhgKEGNoYXJfc2tpbGxfY29sb3IY", - "BiABKAkSEAoIY2hhcl9kZXMYByABKAkSCwoDdGFnGAggAygFEg0KBWZvcmNl", - "GAkgASgFEhMKC3ByZWZlcl90YWdzGAogAygFEhEKCWhhdGVfdGFncxgLIAMo", - "BUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterDes), global::Nova.Client.CharacterDes.Parser, new[]{ "Id", "Alias", "CnCv", "JpCv", "CharColor", "CharSkillColor", "CharDes", "Tag", "Force", "PreferTags", "HateTags" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterDes : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterDes()); - 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.CharacterDesReflection.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 CharacterDes() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterDes(CharacterDes other) : this() { - id_ = other.id_; - alias_ = other.alias_; - cnCv_ = other.cnCv_; - jpCv_ = other.jpCv_; - charColor_ = other.charColor_; - charSkillColor_ = other.charSkillColor_; - charDes_ = other.charDes_; - tag_ = other.tag_.Clone(); - force_ = other.force_; - preferTags_ = other.preferTags_.Clone(); - hateTags_ = other.hateTags_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterDes Clone() { - return new CharacterDes(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 "alias" field. - public const int AliasFieldNumber = 2; - private string alias_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Alias { - get { return alias_; } - set { - alias_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cn_cv" field. - public const int CnCvFieldNumber = 3; - private string cnCv_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CnCv { - get { return cnCv_; } - set { - cnCv_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "jp_cv" field. - public const int JpCvFieldNumber = 4; - private string jpCv_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string JpCv { - get { return jpCv_; } - set { - jpCv_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "char_color" field. - public const int CharColorFieldNumber = 5; - private string charColor_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CharColor { - get { return charColor_; } - set { - charColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "char_skill_color" field. - public const int CharSkillColorFieldNumber = 6; - private string charSkillColor_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CharSkillColor { - get { return charSkillColor_; } - set { - charSkillColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "char_des" field. - public const int CharDesFieldNumber = 7; - private string charDes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CharDes { - get { return charDes_; } - set { - charDes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag" field. - public const int TagFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_tag_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField tag_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Tag { - get { return tag_; } - } - - /// Field number for the "force" field. - public const int ForceFieldNumber = 9; - private int force_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Force { - get { return force_; } - set { - force_ = value; - } - } - - /// Field number for the "prefer_tags" field. - public const int PreferTagsFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_preferTags_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField preferTags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PreferTags { - get { return preferTags_; } - } - - /// Field number for the "hate_tags" field. - public const int HateTagsFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_hateTags_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField hateTags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField HateTags { - get { return hateTags_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterDes); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterDes other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Alias != other.Alias) return false; - if (CnCv != other.CnCv) return false; - if (JpCv != other.JpCv) return false; - if (CharColor != other.CharColor) return false; - if (CharSkillColor != other.CharSkillColor) return false; - if (CharDes != other.CharDes) return false; - if(!tag_.Equals(other.tag_)) return false; - if (Force != other.Force) return false; - if(!preferTags_.Equals(other.preferTags_)) return false; - if(!hateTags_.Equals(other.hateTags_)) 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 (Alias.Length != 0) hash ^= Alias.GetHashCode(); - if (CnCv.Length != 0) hash ^= CnCv.GetHashCode(); - if (JpCv.Length != 0) hash ^= JpCv.GetHashCode(); - if (CharColor.Length != 0) hash ^= CharColor.GetHashCode(); - if (CharSkillColor.Length != 0) hash ^= CharSkillColor.GetHashCode(); - if (CharDes.Length != 0) hash ^= CharDes.GetHashCode(); - hash ^= tag_.GetHashCode(); - if (Force != 0) hash ^= Force.GetHashCode(); - hash ^= preferTags_.GetHashCode(); - hash ^= hateTags_.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 (Alias.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Alias); - } - if (CnCv.Length != 0) { - output.WriteRawTag(26); - output.WriteString(CnCv); - } - if (JpCv.Length != 0) { - output.WriteRawTag(34); - output.WriteString(JpCv); - } - if (CharColor.Length != 0) { - output.WriteRawTag(42); - output.WriteString(CharColor); - } - if (CharSkillColor.Length != 0) { - output.WriteRawTag(50); - output.WriteString(CharSkillColor); - } - if (CharDes.Length != 0) { - output.WriteRawTag(58); - output.WriteString(CharDes); - } - tag_.WriteTo(output, _repeated_tag_codec); - if (Force != 0) { - output.WriteRawTag(72); - output.WriteInt32(Force); - } - preferTags_.WriteTo(output, _repeated_preferTags_codec); - hateTags_.WriteTo(output, _repeated_hateTags_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 (Alias.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Alias); - } - if (CnCv.Length != 0) { - output.WriteRawTag(26); - output.WriteString(CnCv); - } - if (JpCv.Length != 0) { - output.WriteRawTag(34); - output.WriteString(JpCv); - } - if (CharColor.Length != 0) { - output.WriteRawTag(42); - output.WriteString(CharColor); - } - if (CharSkillColor.Length != 0) { - output.WriteRawTag(50); - output.WriteString(CharSkillColor); - } - if (CharDes.Length != 0) { - output.WriteRawTag(58); - output.WriteString(CharDes); - } - tag_.WriteTo(ref output, _repeated_tag_codec); - if (Force != 0) { - output.WriteRawTag(72); - output.WriteInt32(Force); - } - preferTags_.WriteTo(ref output, _repeated_preferTags_codec); - hateTags_.WriteTo(ref output, _repeated_hateTags_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 (Alias.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Alias); - } - if (CnCv.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CnCv); - } - if (JpCv.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(JpCv); - } - if (CharColor.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CharColor); - } - if (CharSkillColor.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CharSkillColor); - } - if (CharDes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CharDes); - } - size += tag_.CalculateSize(_repeated_tag_codec); - if (Force != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Force); - } - size += preferTags_.CalculateSize(_repeated_preferTags_codec); - size += hateTags_.CalculateSize(_repeated_hateTags_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterDes other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Alias.Length != 0) { - Alias = other.Alias; - } - if (other.CnCv.Length != 0) { - CnCv = other.CnCv; - } - if (other.JpCv.Length != 0) { - JpCv = other.JpCv; - } - if (other.CharColor.Length != 0) { - CharColor = other.CharColor; - } - if (other.CharSkillColor.Length != 0) { - CharSkillColor = other.CharSkillColor; - } - if (other.CharDes.Length != 0) { - CharDes = other.CharDes; - } - tag_.Add(other.tag_); - if (other.Force != 0) { - Force = other.Force; - } - preferTags_.Add(other.preferTags_); - hateTags_.Add(other.hateTags_); - _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: { - Alias = input.ReadString(); - break; - } - case 26: { - CnCv = input.ReadString(); - break; - } - case 34: { - JpCv = input.ReadString(); - break; - } - case 42: { - CharColor = input.ReadString(); - break; - } - case 50: { - CharSkillColor = input.ReadString(); - break; - } - case 58: { - CharDes = input.ReadString(); - break; - } - case 66: - case 64: { - tag_.AddEntriesFrom(input, _repeated_tag_codec); - break; - } - case 72: { - Force = input.ReadInt32(); - break; - } - case 82: - case 80: { - preferTags_.AddEntriesFrom(input, _repeated_preferTags_codec); - break; - } - case 90: - case 88: { - hateTags_.AddEntriesFrom(input, _repeated_hateTags_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 18: { - Alias = input.ReadString(); - break; - } - case 26: { - CnCv = input.ReadString(); - break; - } - case 34: { - JpCv = input.ReadString(); - break; - } - case 42: { - CharColor = input.ReadString(); - break; - } - case 50: { - CharSkillColor = input.ReadString(); - break; - } - case 58: { - CharDes = input.ReadString(); - break; - } - case 66: - case 64: { - tag_.AddEntriesFrom(ref input, _repeated_tag_codec); - break; - } - case 72: { - Force = input.ReadInt32(); - break; - } - case 82: - case 80: { - preferTags_.AddEntriesFrom(ref input, _repeated_preferTags_codec); - break; - } - case 90: - case 88: { - hateTags_.AddEntriesFrom(ref input, _repeated_hateTags_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterSkillUpgrade.cs b/Novaria.Common/Protos/CharacterSkillUpgrade.cs deleted file mode 100644 index d203b30..0000000 --- a/Novaria.Common/Protos/CharacterSkillUpgrade.cs +++ /dev/null @@ -1,652 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterSkillUpgrade.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 CharacterSkillUpgrade.proto - public static partial class CharacterSkillUpgradeReflection { - - #region Descriptor - /// File descriptor for CharacterSkillUpgrade.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterSkillUpgradeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtDaGFyYWN0ZXJTa2lsbFVwZ3JhZGUucHJvdG8iyQEKFUNoYXJhY3RlclNr", - "aWxsVXBncmFkZRIKCgJpZBgBIAEoBRINCgVncm91cBgCIAEoBRITCgthZHZh", - "bmNlX251bRgDIAEoBRIMCgR0aWQxGAQgASgFEgwKBHF0eTEYBSABKAUSDAoE", - "dGlkMhgGIAEoBRIMCgRxdHkyGAcgASgFEgwKBHRpZDMYCCABKAUSDAoEcXR5", - "MxgJIAEoBRIMCgR0aWQ0GAogASgFEgwKBHF0eTQYCyABKAUSEAoIZ29sZF9x", - "dHkYDCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkillUpgrade), global::Nova.Client.CharacterSkillUpgrade.Parser, new[]{ "Id", "Group", "AdvanceNum", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Tid4", "Qty4", "GoldQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterSkillUpgrade : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterSkillUpgrade()); - 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.CharacterSkillUpgradeReflection.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 CharacterSkillUpgrade() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkillUpgrade(CharacterSkillUpgrade other) : this() { - id_ = other.id_; - group_ = other.group_; - advanceNum_ = other.advanceNum_; - tid1_ = other.tid1_; - qty1_ = other.qty1_; - tid2_ = other.tid2_; - qty2_ = other.qty2_; - tid3_ = other.tid3_; - qty3_ = other.qty3_; - tid4_ = other.tid4_; - qty4_ = other.qty4_; - goldQty_ = other.goldQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkillUpgrade Clone() { - return new CharacterSkillUpgrade(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 "group" field. - public const int GroupFieldNumber = 2; - private int group_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } - set { - group_ = value; - } - } - - /// Field number for the "advance_num" field. - public const int AdvanceNumFieldNumber = 3; - private int advanceNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdvanceNum { - get { return advanceNum_; } - set { - advanceNum_ = value; - } - } - - /// Field number for the "tid1" field. - public const int Tid1FieldNumber = 4; - private int tid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid1 { - get { return tid1_; } - set { - tid1_ = value; - } - } - - /// Field number for the "qty1" field. - public const int Qty1FieldNumber = 5; - private int qty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty1 { - get { return qty1_; } - set { - qty1_ = value; - } - } - - /// Field number for the "tid2" field. - public const int Tid2FieldNumber = 6; - private int tid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid2 { - get { return tid2_; } - set { - tid2_ = value; - } - } - - /// Field number for the "qty2" field. - public const int Qty2FieldNumber = 7; - private int qty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty2 { - get { return qty2_; } - set { - qty2_ = value; - } - } - - /// Field number for the "tid3" field. - public const int Tid3FieldNumber = 8; - private int tid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid3 { - get { return tid3_; } - set { - tid3_ = value; - } - } - - /// Field number for the "qty3" field. - public const int Qty3FieldNumber = 9; - private int qty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty3 { - get { return qty3_; } - set { - qty3_ = value; - } - } - - /// Field number for the "tid4" field. - public const int Tid4FieldNumber = 10; - private int tid4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid4 { - get { return tid4_; } - set { - tid4_ = value; - } - } - - /// Field number for the "qty4" field. - public const int Qty4FieldNumber = 11; - private int qty4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty4 { - get { return qty4_; } - set { - qty4_ = value; - } - } - - /// Field number for the "gold_qty" field. - public const int GoldQtyFieldNumber = 12; - private int goldQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GoldQty { - get { return goldQty_; } - set { - goldQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterSkillUpgrade); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterSkillUpgrade other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Group != other.Group) return false; - if (AdvanceNum != other.AdvanceNum) return false; - if (Tid1 != other.Tid1) return false; - if (Qty1 != other.Qty1) return false; - if (Tid2 != other.Tid2) return false; - if (Qty2 != other.Qty2) return false; - if (Tid3 != other.Tid3) return false; - if (Qty3 != other.Qty3) return false; - if (Tid4 != other.Tid4) return false; - if (Qty4 != other.Qty4) return false; - if (GoldQty != other.GoldQty) 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 (Group != 0) hash ^= Group.GetHashCode(); - if (AdvanceNum != 0) hash ^= AdvanceNum.GetHashCode(); - if (Tid1 != 0) hash ^= Tid1.GetHashCode(); - if (Qty1 != 0) hash ^= Qty1.GetHashCode(); - if (Tid2 != 0) hash ^= Tid2.GetHashCode(); - if (Qty2 != 0) hash ^= Qty2.GetHashCode(); - if (Tid3 != 0) hash ^= Tid3.GetHashCode(); - if (Qty3 != 0) hash ^= Qty3.GetHashCode(); - if (Tid4 != 0) hash ^= Tid4.GetHashCode(); - if (Qty4 != 0) hash ^= Qty4.GetHashCode(); - if (GoldQty != 0) hash ^= GoldQty.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 (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (AdvanceNum != 0) { - output.WriteRawTag(24); - output.WriteInt32(AdvanceNum); - } - if (Tid1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Qty3); - } - if (Tid4 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Tid4); - } - if (Qty4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Qty4); - } - if (GoldQty != 0) { - output.WriteRawTag(96); - output.WriteInt32(GoldQty); - } - 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 (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (AdvanceNum != 0) { - output.WriteRawTag(24); - output.WriteInt32(AdvanceNum); - } - if (Tid1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Qty3); - } - if (Tid4 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Tid4); - } - if (Qty4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Qty4); - } - if (GoldQty != 0) { - output.WriteRawTag(96); - output.WriteInt32(GoldQty); - } - 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 (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); - } - if (AdvanceNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceNum); - } - if (Tid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); - } - if (Qty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); - } - if (Tid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); - } - if (Qty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); - } - if (Tid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); - } - if (Qty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); - } - if (Tid4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid4); - } - if (Qty4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty4); - } - if (GoldQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GoldQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterSkillUpgrade other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Group != 0) { - Group = other.Group; - } - if (other.AdvanceNum != 0) { - AdvanceNum = other.AdvanceNum; - } - if (other.Tid1 != 0) { - Tid1 = other.Tid1; - } - if (other.Qty1 != 0) { - Qty1 = other.Qty1; - } - if (other.Tid2 != 0) { - Tid2 = other.Tid2; - } - if (other.Qty2 != 0) { - Qty2 = other.Qty2; - } - if (other.Tid3 != 0) { - Tid3 = other.Tid3; - } - if (other.Qty3 != 0) { - Qty3 = other.Qty3; - } - if (other.Tid4 != 0) { - Tid4 = other.Tid4; - } - if (other.Qty4 != 0) { - Qty4 = other.Qty4; - } - if (other.GoldQty != 0) { - GoldQty = other.GoldQty; - } - _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: { - Group = input.ReadInt32(); - break; - } - case 24: { - AdvanceNum = input.ReadInt32(); - break; - } - case 32: { - Tid1 = input.ReadInt32(); - break; - } - case 40: { - Qty1 = input.ReadInt32(); - break; - } - case 48: { - Tid2 = input.ReadInt32(); - break; - } - case 56: { - Qty2 = input.ReadInt32(); - break; - } - case 64: { - Tid3 = input.ReadInt32(); - break; - } - case 72: { - Qty3 = input.ReadInt32(); - break; - } - case 80: { - Tid4 = input.ReadInt32(); - break; - } - case 88: { - Qty4 = input.ReadInt32(); - break; - } - case 96: { - GoldQty = 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: { - Group = input.ReadInt32(); - break; - } - case 24: { - AdvanceNum = input.ReadInt32(); - break; - } - case 32: { - Tid1 = input.ReadInt32(); - break; - } - case 40: { - Qty1 = input.ReadInt32(); - break; - } - case 48: { - Tid2 = input.ReadInt32(); - break; - } - case 56: { - Qty2 = input.ReadInt32(); - break; - } - case 64: { - Tid3 = input.ReadInt32(); - break; - } - case 72: { - Qty3 = input.ReadInt32(); - break; - } - case 80: { - Tid4 = input.ReadInt32(); - break; - } - case 88: { - Qty4 = input.ReadInt32(); - break; - } - case 96: { - GoldQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterSkin.cs b/Novaria.Common/Protos/CharacterSkin.cs deleted file mode 100644 index 9a4de8a..0000000 --- a/Novaria.Common/Protos/CharacterSkin.cs +++ /dev/null @@ -1,1290 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterSkin.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 CharacterSkin.proto - public static partial class CharacterSkinReflection { - - #region Descriptor - /// File descriptor for CharacterSkin.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterSkinReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNDaGFyYWN0ZXJTa2luLnByb3RvItwECg1DaGFyYWN0ZXJTa2luEgoKAmlk", - "GAEgASgFEgwKBG5hbWUYAiABKAkSDAoEZGVzYxgDIAEoCRIPCgdpc19zaG93", - "GAQgASgIEg8KB2NoYXJfaWQYBSABKAUSDAoEdHlwZRgGIAEoBRITCgtzb3Vy", - "Y2VfZGVzYxgHIAEoBRIRCgl0cmFuc2Zvcm0YCCABKAkSGgoSd2Fsa19hbmlt", - "YXRpb25fc3BkGAkgASgFEhkKEXJ1bl9hbmltYXRpb25fc3BkGAogASgFEhwK", - "FHNwX3J1bl9hbmltYXRpb25fc3BkGAsgASgFEhMKC21vZGVsX3NjYWxlGAwg", - "ASgFEhYKDmNvbGxpZGVyX3NjYWxlGA0gASgFEhgKEG1vZGVsX3Nob3dfc2Nh", - "bGUYDiABKAUSFwoPbW9kZWxfZW5kX3NjYWxlGA8gASgFEhsKE2ZvcmJpZGRl", - "bl9iZWhpdF9yb3QYECABKAgSDAoEaWNvbhgRIAEoCRIQCghwb3J0cmFpdBgS", - "IAEoCRIKCgJiZxgTIAEoCRIOCgZvZmZzZXQYFCABKAkSDAoEbDJfZBgVIAEo", - "CRIVCg1jaGFyYWN0ZXJfY19nGBYgASgFEg0KBW1vZGVsGBcgASgJEhIKCm1v", - "ZGVsX3Nob3cYGCABKAkSEQoJbW9kZWxfZW5kGBkgASgJEhIKCmdhY2hhX2wy", - "X2QYGiABKAkSEgoKc2tpbl90aGVtZRgbIAEoBRIaChJlZmZlY3Rfc2NhbGVf", - "dmFsdWUYHCABKAUSHgoWdGFnX2VmZmVjdF9zY2FsZV92YWx1ZRgdIAEoBUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkin), global::Nova.Client.CharacterSkin.Parser, new[]{ "Id", "Name", "Desc", "IsShow", "CharId", "Type", "SourceDesc", "Transform", "WalkAnimationSpd", "RunAnimationSpd", "SpRunAnimationSpd", "ModelScale", "ColliderScale", "ModelShowScale", "ModelEndScale", "ForbiddenBehitRot", "Icon", "Portrait", "Bg", "Offset", "L2D", "CharacterCG", "Model", "ModelShow", "ModelEnd", "GachaL2D", "SkinTheme", "EffectScaleValue", "TagEffectScaleValue" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterSkin : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterSkin()); - 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.CharacterSkinReflection.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 CharacterSkin() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkin(CharacterSkin other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - isShow_ = other.isShow_; - charId_ = other.charId_; - type_ = other.type_; - sourceDesc_ = other.sourceDesc_; - transform_ = other.transform_; - walkAnimationSpd_ = other.walkAnimationSpd_; - runAnimationSpd_ = other.runAnimationSpd_; - spRunAnimationSpd_ = other.spRunAnimationSpd_; - modelScale_ = other.modelScale_; - colliderScale_ = other.colliderScale_; - modelShowScale_ = other.modelShowScale_; - modelEndScale_ = other.modelEndScale_; - forbiddenBehitRot_ = other.forbiddenBehitRot_; - icon_ = other.icon_; - portrait_ = other.portrait_; - bg_ = other.bg_; - offset_ = other.offset_; - l2D_ = other.l2D_; - characterCG_ = other.characterCG_; - model_ = other.model_; - modelShow_ = other.modelShow_; - modelEnd_ = other.modelEnd_; - gachaL2D_ = other.gachaL2D_; - skinTheme_ = other.skinTheme_; - effectScaleValue_ = other.effectScaleValue_; - tagEffectScaleValue_ = other.tagEffectScaleValue_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkin Clone() { - return new CharacterSkin(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "is_show" field. - public const int IsShowFieldNumber = 4; - private bool isShow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsShow { - get { return isShow_; } - set { - isShow_ = value; - } - } - - /// Field number for the "char_id" field. - public const int CharIdFieldNumber = 5; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 6; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "source_desc" field. - public const int SourceDescFieldNumber = 7; - private int sourceDesc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SourceDesc { - get { return sourceDesc_; } - set { - sourceDesc_ = value; - } - } - - /// Field number for the "transform" field. - public const int TransformFieldNumber = 8; - private string transform_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Transform { - get { return transform_; } - set { - transform_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "walk_animation_spd" field. - public const int WalkAnimationSpdFieldNumber = 9; - private int walkAnimationSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WalkAnimationSpd { - get { return walkAnimationSpd_; } - set { - walkAnimationSpd_ = value; - } - } - - /// Field number for the "run_animation_spd" field. - public const int RunAnimationSpdFieldNumber = 10; - private int runAnimationSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RunAnimationSpd { - get { return runAnimationSpd_; } - set { - runAnimationSpd_ = value; - } - } - - /// Field number for the "sp_run_animation_spd" field. - public const int SpRunAnimationSpdFieldNumber = 11; - private int spRunAnimationSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SpRunAnimationSpd { - get { return spRunAnimationSpd_; } - set { - spRunAnimationSpd_ = value; - } - } - - /// Field number for the "model_scale" field. - public const int ModelScaleFieldNumber = 12; - private int modelScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ModelScale { - get { return modelScale_; } - set { - modelScale_ = value; - } - } - - /// Field number for the "collider_scale" field. - public const int ColliderScaleFieldNumber = 13; - private int colliderScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ColliderScale { - get { return colliderScale_; } - set { - colliderScale_ = value; - } - } - - /// Field number for the "model_show_scale" field. - public const int ModelShowScaleFieldNumber = 14; - private int modelShowScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ModelShowScale { - get { return modelShowScale_; } - set { - modelShowScale_ = value; - } - } - - /// Field number for the "model_end_scale" field. - public const int ModelEndScaleFieldNumber = 15; - private int modelEndScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ModelEndScale { - get { return modelEndScale_; } - set { - modelEndScale_ = value; - } - } - - /// Field number for the "forbidden_behit_rot" field. - public const int ForbiddenBehitRotFieldNumber = 16; - private bool forbiddenBehitRot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ForbiddenBehitRot { - get { return forbiddenBehitRot_; } - set { - forbiddenBehitRot_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 17; - 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 "portrait" field. - public const int PortraitFieldNumber = 18; - private string portrait_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Portrait { - get { return portrait_; } - set { - portrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bg" field. - public const int BgFieldNumber = 19; - private string bg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bg { - get { return bg_; } - set { - bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "offset" field. - public const int OffsetFieldNumber = 20; - private string offset_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Offset { - get { return offset_; } - set { - offset_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "l2_d" field. - public const int L2DFieldNumber = 21; - private string l2D_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string L2D { - get { return l2D_; } - set { - l2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "character_c_g" field. - public const int CharacterCGFieldNumber = 22; - private int characterCG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterCG { - get { return characterCG_; } - set { - characterCG_ = value; - } - } - - /// Field number for the "model" field. - public const int ModelFieldNumber = 23; - private string model_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Model { - get { return model_; } - set { - model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "model_show" field. - public const int ModelShowFieldNumber = 24; - private string modelShow_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ModelShow { - get { return modelShow_; } - set { - modelShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "model_end" field. - public const int ModelEndFieldNumber = 25; - private string modelEnd_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ModelEnd { - get { return modelEnd_; } - set { - modelEnd_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "gacha_l2_d" field. - public const int GachaL2DFieldNumber = 26; - private string gachaL2D_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string GachaL2D { - get { return gachaL2D_; } - set { - gachaL2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "skin_theme" field. - public const int SkinThemeFieldNumber = 27; - private int skinTheme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkinTheme { - get { return skinTheme_; } - set { - skinTheme_ = value; - } - } - - /// Field number for the "effect_scale_value" field. - public const int EffectScaleValueFieldNumber = 28; - private int effectScaleValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectScaleValue { - get { return effectScaleValue_; } - set { - effectScaleValue_ = value; - } - } - - /// Field number for the "tag_effect_scale_value" field. - public const int TagEffectScaleValueFieldNumber = 29; - private int tagEffectScaleValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TagEffectScaleValue { - get { return tagEffectScaleValue_; } - set { - tagEffectScaleValue_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterSkin); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterSkin 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 (Desc != other.Desc) return false; - if (IsShow != other.IsShow) return false; - if (CharId != other.CharId) return false; - if (Type != other.Type) return false; - if (SourceDesc != other.SourceDesc) return false; - if (Transform != other.Transform) return false; - if (WalkAnimationSpd != other.WalkAnimationSpd) return false; - if (RunAnimationSpd != other.RunAnimationSpd) return false; - if (SpRunAnimationSpd != other.SpRunAnimationSpd) return false; - if (ModelScale != other.ModelScale) return false; - if (ColliderScale != other.ColliderScale) return false; - if (ModelShowScale != other.ModelShowScale) return false; - if (ModelEndScale != other.ModelEndScale) return false; - if (ForbiddenBehitRot != other.ForbiddenBehitRot) return false; - if (Icon != other.Icon) return false; - if (Portrait != other.Portrait) return false; - if (Bg != other.Bg) return false; - if (Offset != other.Offset) return false; - if (L2D != other.L2D) return false; - if (CharacterCG != other.CharacterCG) return false; - if (Model != other.Model) return false; - if (ModelShow != other.ModelShow) return false; - if (ModelEnd != other.ModelEnd) return false; - if (GachaL2D != other.GachaL2D) return false; - if (SkinTheme != other.SkinTheme) return false; - if (EffectScaleValue != other.EffectScaleValue) return false; - if (TagEffectScaleValue != other.TagEffectScaleValue) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (IsShow != false) hash ^= IsShow.GetHashCode(); - if (CharId != 0) hash ^= CharId.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (SourceDesc != 0) hash ^= SourceDesc.GetHashCode(); - if (Transform.Length != 0) hash ^= Transform.GetHashCode(); - if (WalkAnimationSpd != 0) hash ^= WalkAnimationSpd.GetHashCode(); - if (RunAnimationSpd != 0) hash ^= RunAnimationSpd.GetHashCode(); - if (SpRunAnimationSpd != 0) hash ^= SpRunAnimationSpd.GetHashCode(); - if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); - if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode(); - if (ModelShowScale != 0) hash ^= ModelShowScale.GetHashCode(); - if (ModelEndScale != 0) hash ^= ModelEndScale.GetHashCode(); - if (ForbiddenBehitRot != false) hash ^= ForbiddenBehitRot.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Portrait.Length != 0) hash ^= Portrait.GetHashCode(); - if (Bg.Length != 0) hash ^= Bg.GetHashCode(); - if (Offset.Length != 0) hash ^= Offset.GetHashCode(); - if (L2D.Length != 0) hash ^= L2D.GetHashCode(); - if (CharacterCG != 0) hash ^= CharacterCG.GetHashCode(); - if (Model.Length != 0) hash ^= Model.GetHashCode(); - if (ModelShow.Length != 0) hash ^= ModelShow.GetHashCode(); - if (ModelEnd.Length != 0) hash ^= ModelEnd.GetHashCode(); - if (GachaL2D.Length != 0) hash ^= GachaL2D.GetHashCode(); - if (SkinTheme != 0) hash ^= SkinTheme.GetHashCode(); - if (EffectScaleValue != 0) hash ^= EffectScaleValue.GetHashCode(); - if (TagEffectScaleValue != 0) hash ^= TagEffectScaleValue.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (IsShow != false) { - output.WriteRawTag(32); - output.WriteBool(IsShow); - } - if (CharId != 0) { - output.WriteRawTag(40); - output.WriteInt32(CharId); - } - if (Type != 0) { - output.WriteRawTag(48); - output.WriteInt32(Type); - } - if (SourceDesc != 0) { - output.WriteRawTag(56); - output.WriteInt32(SourceDesc); - } - if (Transform.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Transform); - } - if (WalkAnimationSpd != 0) { - output.WriteRawTag(72); - output.WriteInt32(WalkAnimationSpd); - } - if (RunAnimationSpd != 0) { - output.WriteRawTag(80); - output.WriteInt32(RunAnimationSpd); - } - if (SpRunAnimationSpd != 0) { - output.WriteRawTag(88); - output.WriteInt32(SpRunAnimationSpd); - } - if (ModelScale != 0) { - output.WriteRawTag(96); - output.WriteInt32(ModelScale); - } - if (ColliderScale != 0) { - output.WriteRawTag(104); - output.WriteInt32(ColliderScale); - } - if (ModelShowScale != 0) { - output.WriteRawTag(112); - output.WriteInt32(ModelShowScale); - } - if (ModelEndScale != 0) { - output.WriteRawTag(120); - output.WriteInt32(ModelEndScale); - } - if (ForbiddenBehitRot != false) { - output.WriteRawTag(128, 1); - output.WriteBool(ForbiddenBehitRot); - } - if (Icon.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Icon); - } - if (Portrait.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Portrait); - } - if (Bg.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Bg); - } - if (Offset.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Offset); - } - if (L2D.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(L2D); - } - if (CharacterCG != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(CharacterCG); - } - if (Model.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Model); - } - if (ModelShow.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(ModelShow); - } - if (ModelEnd.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(ModelEnd); - } - if (GachaL2D.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(GachaL2D); - } - if (SkinTheme != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(SkinTheme); - } - if (EffectScaleValue != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(EffectScaleValue); - } - if (TagEffectScaleValue != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(TagEffectScaleValue); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (IsShow != false) { - output.WriteRawTag(32); - output.WriteBool(IsShow); - } - if (CharId != 0) { - output.WriteRawTag(40); - output.WriteInt32(CharId); - } - if (Type != 0) { - output.WriteRawTag(48); - output.WriteInt32(Type); - } - if (SourceDesc != 0) { - output.WriteRawTag(56); - output.WriteInt32(SourceDesc); - } - if (Transform.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Transform); - } - if (WalkAnimationSpd != 0) { - output.WriteRawTag(72); - output.WriteInt32(WalkAnimationSpd); - } - if (RunAnimationSpd != 0) { - output.WriteRawTag(80); - output.WriteInt32(RunAnimationSpd); - } - if (SpRunAnimationSpd != 0) { - output.WriteRawTag(88); - output.WriteInt32(SpRunAnimationSpd); - } - if (ModelScale != 0) { - output.WriteRawTag(96); - output.WriteInt32(ModelScale); - } - if (ColliderScale != 0) { - output.WriteRawTag(104); - output.WriteInt32(ColliderScale); - } - if (ModelShowScale != 0) { - output.WriteRawTag(112); - output.WriteInt32(ModelShowScale); - } - if (ModelEndScale != 0) { - output.WriteRawTag(120); - output.WriteInt32(ModelEndScale); - } - if (ForbiddenBehitRot != false) { - output.WriteRawTag(128, 1); - output.WriteBool(ForbiddenBehitRot); - } - if (Icon.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Icon); - } - if (Portrait.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Portrait); - } - if (Bg.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Bg); - } - if (Offset.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Offset); - } - if (L2D.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(L2D); - } - if (CharacterCG != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(CharacterCG); - } - if (Model.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Model); - } - if (ModelShow.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(ModelShow); - } - if (ModelEnd.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(ModelEnd); - } - if (GachaL2D.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(GachaL2D); - } - if (SkinTheme != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(SkinTheme); - } - if (EffectScaleValue != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(EffectScaleValue); - } - if (TagEffectScaleValue != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(TagEffectScaleValue); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (IsShow != false) { - size += 1 + 1; - } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (SourceDesc != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceDesc); - } - if (Transform.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Transform); - } - if (WalkAnimationSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkAnimationSpd); - } - if (RunAnimationSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunAnimationSpd); - } - if (SpRunAnimationSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpRunAnimationSpd); - } - if (ModelScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); - } - if (ColliderScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale); - } - if (ModelShowScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelShowScale); - } - if (ModelEndScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelEndScale); - } - if (ForbiddenBehitRot != false) { - size += 2 + 1; - } - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Portrait.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Portrait); - } - if (Bg.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Bg); - } - if (Offset.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Offset); - } - if (L2D.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(L2D); - } - if (CharacterCG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CharacterCG); - } - if (Model.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Model); - } - if (ModelShow.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ModelShow); - } - if (ModelEnd.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ModelEnd); - } - if (GachaL2D.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(GachaL2D); - } - if (SkinTheme != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinTheme); - } - if (EffectScaleValue != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectScaleValue); - } - if (TagEffectScaleValue != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TagEffectScaleValue); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterSkin other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.IsShow != false) { - IsShow = other.IsShow; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.SourceDesc != 0) { - SourceDesc = other.SourceDesc; - } - if (other.Transform.Length != 0) { - Transform = other.Transform; - } - if (other.WalkAnimationSpd != 0) { - WalkAnimationSpd = other.WalkAnimationSpd; - } - if (other.RunAnimationSpd != 0) { - RunAnimationSpd = other.RunAnimationSpd; - } - if (other.SpRunAnimationSpd != 0) { - SpRunAnimationSpd = other.SpRunAnimationSpd; - } - if (other.ModelScale != 0) { - ModelScale = other.ModelScale; - } - if (other.ColliderScale != 0) { - ColliderScale = other.ColliderScale; - } - if (other.ModelShowScale != 0) { - ModelShowScale = other.ModelShowScale; - } - if (other.ModelEndScale != 0) { - ModelEndScale = other.ModelEndScale; - } - if (other.ForbiddenBehitRot != false) { - ForbiddenBehitRot = other.ForbiddenBehitRot; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Portrait.Length != 0) { - Portrait = other.Portrait; - } - if (other.Bg.Length != 0) { - Bg = other.Bg; - } - if (other.Offset.Length != 0) { - Offset = other.Offset; - } - if (other.L2D.Length != 0) { - L2D = other.L2D; - } - if (other.CharacterCG != 0) { - CharacterCG = other.CharacterCG; - } - if (other.Model.Length != 0) { - Model = other.Model; - } - if (other.ModelShow.Length != 0) { - ModelShow = other.ModelShow; - } - if (other.ModelEnd.Length != 0) { - ModelEnd = other.ModelEnd; - } - if (other.GachaL2D.Length != 0) { - GachaL2D = other.GachaL2D; - } - if (other.SkinTheme != 0) { - SkinTheme = other.SkinTheme; - } - if (other.EffectScaleValue != 0) { - EffectScaleValue = other.EffectScaleValue; - } - if (other.TagEffectScaleValue != 0) { - TagEffectScaleValue = other.TagEffectScaleValue; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - IsShow = input.ReadBool(); - break; - } - case 40: { - CharId = input.ReadInt32(); - break; - } - case 48: { - Type = input.ReadInt32(); - break; - } - case 56: { - SourceDesc = input.ReadInt32(); - break; - } - case 66: { - Transform = input.ReadString(); - break; - } - case 72: { - WalkAnimationSpd = input.ReadInt32(); - break; - } - case 80: { - RunAnimationSpd = input.ReadInt32(); - break; - } - case 88: { - SpRunAnimationSpd = input.ReadInt32(); - break; - } - case 96: { - ModelScale = input.ReadInt32(); - break; - } - case 104: { - ColliderScale = input.ReadInt32(); - break; - } - case 112: { - ModelShowScale = input.ReadInt32(); - break; - } - case 120: { - ModelEndScale = input.ReadInt32(); - break; - } - case 128: { - ForbiddenBehitRot = input.ReadBool(); - break; - } - case 138: { - Icon = input.ReadString(); - break; - } - case 146: { - Portrait = input.ReadString(); - break; - } - case 154: { - Bg = input.ReadString(); - break; - } - case 162: { - Offset = input.ReadString(); - break; - } - case 170: { - L2D = input.ReadString(); - break; - } - case 176: { - CharacterCG = input.ReadInt32(); - break; - } - case 186: { - Model = input.ReadString(); - break; - } - case 194: { - ModelShow = input.ReadString(); - break; - } - case 202: { - ModelEnd = input.ReadString(); - break; - } - case 210: { - GachaL2D = input.ReadString(); - break; - } - case 216: { - SkinTheme = input.ReadInt32(); - break; - } - case 224: { - EffectScaleValue = input.ReadInt32(); - break; - } - case 232: { - TagEffectScaleValue = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - IsShow = input.ReadBool(); - break; - } - case 40: { - CharId = input.ReadInt32(); - break; - } - case 48: { - Type = input.ReadInt32(); - break; - } - case 56: { - SourceDesc = input.ReadInt32(); - break; - } - case 66: { - Transform = input.ReadString(); - break; - } - case 72: { - WalkAnimationSpd = input.ReadInt32(); - break; - } - case 80: { - RunAnimationSpd = input.ReadInt32(); - break; - } - case 88: { - SpRunAnimationSpd = input.ReadInt32(); - break; - } - case 96: { - ModelScale = input.ReadInt32(); - break; - } - case 104: { - ColliderScale = input.ReadInt32(); - break; - } - case 112: { - ModelShowScale = input.ReadInt32(); - break; - } - case 120: { - ModelEndScale = input.ReadInt32(); - break; - } - case 128: { - ForbiddenBehitRot = input.ReadBool(); - break; - } - case 138: { - Icon = input.ReadString(); - break; - } - case 146: { - Portrait = input.ReadString(); - break; - } - case 154: { - Bg = input.ReadString(); - break; - } - case 162: { - Offset = input.ReadString(); - break; - } - case 170: { - L2D = input.ReadString(); - break; - } - case 176: { - CharacterCG = input.ReadInt32(); - break; - } - case 186: { - Model = input.ReadString(); - break; - } - case 194: { - ModelShow = input.ReadString(); - break; - } - case 202: { - ModelEnd = input.ReadString(); - break; - } - case 210: { - GachaL2D = input.ReadString(); - break; - } - case 216: { - SkinTheme = input.ReadInt32(); - break; - } - case 224: { - EffectScaleValue = input.ReadInt32(); - break; - } - case 232: { - TagEffectScaleValue = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterSkinPanelFace.cs b/Novaria.Common/Protos/CharacterSkinPanelFace.cs deleted file mode 100644 index 00a01e8..0000000 --- a/Novaria.Common/Protos/CharacterSkinPanelFace.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterSkinPanelFace.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 CharacterSkinPanelFace.proto - public static partial class CharacterSkinPanelFaceReflection { - - #region Descriptor - /// File descriptor for CharacterSkinPanelFace.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterSkinPanelFaceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxDaGFyYWN0ZXJTa2luUGFuZWxGYWNlLnByb3RvInMKFkNoYXJhY3RlclNr", - "aW5QYW5lbEZhY2USCgoCaWQYASABKAUSEQoJbWFpbl92aWV3GAIgASgJEhEK", - "CWNoYXJfaW5mbxgDIAEoCRISCgpiYXR0ZWxfd2luGAQgASgJEhMKC2JhdHRs", - "ZV9sb3NlGAUgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkinPanelFace), global::Nova.Client.CharacterSkinPanelFace.Parser, new[]{ "Id", "MainView", "CharInfo", "BattelWin", "BattleLose" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterSkinPanelFace : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterSkinPanelFace()); - 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.CharacterSkinPanelFaceReflection.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 CharacterSkinPanelFace() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkinPanelFace(CharacterSkinPanelFace other) : this() { - id_ = other.id_; - mainView_ = other.mainView_; - charInfo_ = other.charInfo_; - battelWin_ = other.battelWin_; - battleLose_ = other.battleLose_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkinPanelFace Clone() { - return new CharacterSkinPanelFace(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 "main_view" field. - public const int MainViewFieldNumber = 2; - private string mainView_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MainView { - get { return mainView_; } - set { - mainView_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "char_info" field. - public const int CharInfoFieldNumber = 3; - private string charInfo_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CharInfo { - get { return charInfo_; } - set { - charInfo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "battel_win" field. - public const int BattelWinFieldNumber = 4; - private string battelWin_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BattelWin { - get { return battelWin_; } - set { - battelWin_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "battle_lose" field. - public const int BattleLoseFieldNumber = 5; - private string battleLose_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BattleLose { - get { return battleLose_; } - set { - battleLose_ = 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 CharacterSkinPanelFace); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterSkinPanelFace other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (MainView != other.MainView) return false; - if (CharInfo != other.CharInfo) return false; - if (BattelWin != other.BattelWin) return false; - if (BattleLose != other.BattleLose) 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 (MainView.Length != 0) hash ^= MainView.GetHashCode(); - if (CharInfo.Length != 0) hash ^= CharInfo.GetHashCode(); - if (BattelWin.Length != 0) hash ^= BattelWin.GetHashCode(); - if (BattleLose.Length != 0) hash ^= BattleLose.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 (MainView.Length != 0) { - output.WriteRawTag(18); - output.WriteString(MainView); - } - if (CharInfo.Length != 0) { - output.WriteRawTag(26); - output.WriteString(CharInfo); - } - if (BattelWin.Length != 0) { - output.WriteRawTag(34); - output.WriteString(BattelWin); - } - if (BattleLose.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BattleLose); - } - 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 (MainView.Length != 0) { - output.WriteRawTag(18); - output.WriteString(MainView); - } - if (CharInfo.Length != 0) { - output.WriteRawTag(26); - output.WriteString(CharInfo); - } - if (BattelWin.Length != 0) { - output.WriteRawTag(34); - output.WriteString(BattelWin); - } - if (BattleLose.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BattleLose); - } - 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 (MainView.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MainView); - } - if (CharInfo.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CharInfo); - } - if (BattelWin.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BattelWin); - } - if (BattleLose.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleLose); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterSkinPanelFace other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MainView.Length != 0) { - MainView = other.MainView; - } - if (other.CharInfo.Length != 0) { - CharInfo = other.CharInfo; - } - if (other.BattelWin.Length != 0) { - BattelWin = other.BattelWin; - } - if (other.BattleLose.Length != 0) { - BattleLose = other.BattleLose; - } - _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: { - MainView = input.ReadString(); - break; - } - case 26: { - CharInfo = input.ReadString(); - break; - } - case 34: { - BattelWin = input.ReadString(); - break; - } - case 42: { - BattleLose = 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 18: { - MainView = input.ReadString(); - break; - } - case 26: { - CharInfo = input.ReadString(); - break; - } - case 34: { - BattelWin = input.ReadString(); - break; - } - case 42: { - BattleLose = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterTag.cs b/Novaria.Common/Protos/CharacterTag.cs deleted file mode 100644 index 2f0392c..0000000 --- a/Novaria.Common/Protos/CharacterTag.cs +++ /dev/null @@ -1,316 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterTag.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 CharacterTag.proto - public static partial class CharacterTagReflection { - - #region Descriptor - /// File descriptor for CharacterTag.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterTagReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJDaGFyYWN0ZXJUYWcucHJvdG8iOwoMQ2hhcmFjdGVyVGFnEgoKAmlkGAEg", - "ASgFEg0KBXRpdGxlGAIgASgJEhAKCHRhZ190eXBlGAMgASgFQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterTag), global::Nova.Client.CharacterTag.Parser, new[]{ "Id", "Title", "TagType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterTag : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterTag()); - 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.CharacterTagReflection.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 CharacterTag() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterTag(CharacterTag other) : this() { - id_ = other.id_; - title_ = other.title_; - tagType_ = other.tagType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterTag Clone() { - return new CharacterTag(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag_type" field. - public const int TagTypeFieldNumber = 3; - private int tagType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TagType { - get { return tagType_; } - set { - tagType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterTag); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterTag other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (TagType != other.TagType) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (TagType != 0) hash ^= TagType.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (TagType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TagType); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (TagType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TagType); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (TagType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TagType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterTag other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.TagType != 0) { - TagType = other.TagType; - } - _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: { - Title = input.ReadString(); - break; - } - case 24: { - TagType = 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 18: { - Title = input.ReadString(); - break; - } - case 24: { - TagType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterVoiceControl.cs b/Novaria.Common/Protos/CharacterVoiceControl.cs deleted file mode 100644 index 486dd82..0000000 --- a/Novaria.Common/Protos/CharacterVoiceControl.cs +++ /dev/null @@ -1,532 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterVoiceControl.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 CharacterVoiceControl.proto - public static partial class CharacterVoiceControlReflection { - - #region Descriptor - /// File descriptor for CharacterVoiceControl.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CharacterVoiceControlReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtDaGFyYWN0ZXJWb2ljZUNvbnRyb2wucHJvdG8iuwEKFUNoYXJhY3RlclZv", - "aWNlQ29udHJvbBIKCgJpZBgBIAEoCRITCgtwcm9iYWJpbGl0eRgCIAEoBRIQ", - "CghyZXNfdHlwZRgDIAEoBRITCgtjb21iYXRfb25seRgEIAEoCBIZChF3b3Js", - "ZF9sZXZlbF90eXBlcxgFIAMoBRIOCgZidWJibGUYBiABKAgSCgoCY2QYByAB", - "KAISEQoJdm9fcGxheWVyGAggASgFEhAKCHByaW9yaXR5GAkgASgFQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterVoiceControl), global::Nova.Client.CharacterVoiceControl.Parser, new[]{ "Id", "Probability", "ResType", "CombatOnly", "WorldLevelTypes", "Bubble", "Cd", "VoPlayer", "Priority" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterVoiceControl : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterVoiceControl()); - 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.CharacterVoiceControlReflection.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 CharacterVoiceControl() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterVoiceControl(CharacterVoiceControl other) : this() { - id_ = other.id_; - probability_ = other.probability_; - resType_ = other.resType_; - combatOnly_ = other.combatOnly_; - worldLevelTypes_ = other.worldLevelTypes_.Clone(); - bubble_ = other.bubble_; - cd_ = other.cd_; - voPlayer_ = other.voPlayer_; - priority_ = other.priority_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterVoiceControl Clone() { - return new CharacterVoiceControl(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "probability" field. - public const int ProbabilityFieldNumber = 2; - private int probability_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Probability { - get { return probability_; } - set { - probability_ = value; - } - } - - /// Field number for the "res_type" field. - public const int ResTypeFieldNumber = 3; - private int resType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ResType { - get { return resType_; } - set { - resType_ = value; - } - } - - /// Field number for the "combat_only" field. - public const int CombatOnlyFieldNumber = 4; - private bool combatOnly_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool CombatOnly { - get { return combatOnly_; } - set { - combatOnly_ = value; - } - } - - /// Field number for the "world_level_types" field. - public const int WorldLevelTypesFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_worldLevelTypes_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField worldLevelTypes_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField WorldLevelTypes { - get { return worldLevelTypes_; } - } - - /// Field number for the "bubble" field. - public const int BubbleFieldNumber = 6; - private bool bubble_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Bubble { - get { return bubble_; } - set { - bubble_ = value; - } - } - - /// Field number for the "cd" field. - public const int CdFieldNumber = 7; - private float cd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Cd { - get { return cd_; } - set { - cd_ = value; - } - } - - /// Field number for the "vo_player" field. - public const int VoPlayerFieldNumber = 8; - private int voPlayer_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VoPlayer { - get { return voPlayer_; } - set { - voPlayer_ = value; - } - } - - /// Field number for the "priority" field. - public const int PriorityFieldNumber = 9; - private int priority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Priority { - get { return priority_; } - set { - priority_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CharacterVoiceControl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterVoiceControl other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Probability != other.Probability) return false; - if (ResType != other.ResType) return false; - if (CombatOnly != other.CombatOnly) return false; - if(!worldLevelTypes_.Equals(other.worldLevelTypes_)) return false; - if (Bubble != other.Bubble) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Cd, other.Cd)) return false; - if (VoPlayer != other.VoPlayer) return false; - if (Priority != other.Priority) 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.Length != 0) hash ^= Id.GetHashCode(); - if (Probability != 0) hash ^= Probability.GetHashCode(); - if (ResType != 0) hash ^= ResType.GetHashCode(); - if (CombatOnly != false) hash ^= CombatOnly.GetHashCode(); - hash ^= worldLevelTypes_.GetHashCode(); - if (Bubble != false) hash ^= Bubble.GetHashCode(); - if (Cd != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Cd); - if (VoPlayer != 0) hash ^= VoPlayer.GetHashCode(); - if (Priority != 0) hash ^= Priority.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Probability != 0) { - output.WriteRawTag(16); - output.WriteInt32(Probability); - } - if (ResType != 0) { - output.WriteRawTag(24); - output.WriteInt32(ResType); - } - if (CombatOnly != false) { - output.WriteRawTag(32); - output.WriteBool(CombatOnly); - } - worldLevelTypes_.WriteTo(output, _repeated_worldLevelTypes_codec); - if (Bubble != false) { - output.WriteRawTag(48); - output.WriteBool(Bubble); - } - if (Cd != 0F) { - output.WriteRawTag(61); - output.WriteFloat(Cd); - } - if (VoPlayer != 0) { - output.WriteRawTag(64); - output.WriteInt32(VoPlayer); - } - if (Priority != 0) { - output.WriteRawTag(72); - output.WriteInt32(Priority); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Probability != 0) { - output.WriteRawTag(16); - output.WriteInt32(Probability); - } - if (ResType != 0) { - output.WriteRawTag(24); - output.WriteInt32(ResType); - } - if (CombatOnly != false) { - output.WriteRawTag(32); - output.WriteBool(CombatOnly); - } - worldLevelTypes_.WriteTo(ref output, _repeated_worldLevelTypes_codec); - if (Bubble != false) { - output.WriteRawTag(48); - output.WriteBool(Bubble); - } - if (Cd != 0F) { - output.WriteRawTag(61); - output.WriteFloat(Cd); - } - if (VoPlayer != 0) { - output.WriteRawTag(64); - output.WriteInt32(VoPlayer); - } - if (Priority != 0) { - output.WriteRawTag(72); - output.WriteInt32(Priority); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (Probability != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Probability); - } - if (ResType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResType); - } - if (CombatOnly != false) { - size += 1 + 1; - } - size += worldLevelTypes_.CalculateSize(_repeated_worldLevelTypes_codec); - if (Bubble != false) { - size += 1 + 1; - } - if (Cd != 0F) { - size += 1 + 4; - } - if (VoPlayer != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(VoPlayer); - } - if (Priority != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterVoiceControl other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.Probability != 0) { - Probability = other.Probability; - } - if (other.ResType != 0) { - ResType = other.ResType; - } - if (other.CombatOnly != false) { - CombatOnly = other.CombatOnly; - } - worldLevelTypes_.Add(other.worldLevelTypes_); - if (other.Bubble != false) { - Bubble = other.Bubble; - } - if (other.Cd != 0F) { - Cd = other.Cd; - } - if (other.VoPlayer != 0) { - VoPlayer = other.VoPlayer; - } - if (other.Priority != 0) { - Priority = other.Priority; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 16: { - Probability = input.ReadInt32(); - break; - } - case 24: { - ResType = input.ReadInt32(); - break; - } - case 32: { - CombatOnly = input.ReadBool(); - break; - } - case 42: - case 40: { - worldLevelTypes_.AddEntriesFrom(input, _repeated_worldLevelTypes_codec); - break; - } - case 48: { - Bubble = input.ReadBool(); - break; - } - case 61: { - Cd = input.ReadFloat(); - break; - } - case 64: { - VoPlayer = input.ReadInt32(); - break; - } - case 72: { - Priority = 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 10: { - Id = input.ReadString(); - break; - } - case 16: { - Probability = input.ReadInt32(); - break; - } - case 24: { - ResType = input.ReadInt32(); - break; - } - case 32: { - CombatOnly = input.ReadBool(); - break; - } - case 42: - case 40: { - worldLevelTypes_.AddEntriesFrom(ref input, _repeated_worldLevelTypes_codec); - break; - } - case 48: { - Bubble = input.ReadBool(); - break; - } - case 61: { - Cd = input.ReadFloat(); - break; - } - case 64: { - VoPlayer = input.ReadInt32(); - break; - } - case 72: { - Priority = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Chat.cs b/Novaria.Common/Protos/Chat.cs deleted file mode 100644 index cacbcef..0000000 --- a/Novaria.Common/Protos/Chat.cs +++ /dev/null @@ -1,803 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Chat.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 Chat.proto - public static partial class ChatReflection { - - #region Descriptor - /// File descriptor for Chat.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ChatReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpDaGF0LnByb3RvIssCCgRDaGF0EgoKAmlkGAEgASgFEhcKD2FkZHJlc3Nf", - "Ym9va19pZBgCIAEoBRIQCghhX3ZfZ19pZBgDIAEoCRIWCg5hX3ZfZ19ncm91", - "cF9pZBgEIAEoCRITCgtwcmVfY2hhdF9pZBgFIAEoBRIQCghwcmlvcml0eRgG", - "IAEoBRIUCgx0cmlnZ2VyX3R5cGUYByABKAUSEwoLYXV0b19wb3BfdXAYCCAB", - "KAgSFAoMdHJpZ2dlcl9jb25kGAkgASgFEhoKEnRyaWdnZXJfY29uZF9wYXJh", - "bRgKIAEoCRIPCgdyZXdhcmQxGAsgASgFEhMKC3Jld2FyZF9xdHkxGAwgASgF", - "Eg8KB3Jld2FyZDIYDSABKAUSEwoLcmV3YXJkX3F0eTIYDiABKAUSDwoHcmV3", - "YXJkMxgPIAEoBRITCgtyZXdhcmRfcXR5MxgQIAEoBUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chat), global::Nova.Client.Chat.Parser, new[]{ "Id", "AddressBookId", "AVGId", "AVGGroupId", "PreChatId", "Priority", "TriggerType", "AutoPopUp", "TriggerCond", "TriggerCondParam", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Chat : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Chat()); - 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.ChatReflection.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 Chat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Chat(Chat other) : this() { - id_ = other.id_; - addressBookId_ = other.addressBookId_; - aVGId_ = other.aVGId_; - aVGGroupId_ = other.aVGGroupId_; - preChatId_ = other.preChatId_; - priority_ = other.priority_; - triggerType_ = other.triggerType_; - autoPopUp_ = other.autoPopUp_; - triggerCond_ = other.triggerCond_; - triggerCondParam_ = other.triggerCondParam_; - reward1_ = other.reward1_; - rewardQty1_ = other.rewardQty1_; - reward2_ = other.reward2_; - rewardQty2_ = other.rewardQty2_; - reward3_ = other.reward3_; - rewardQty3_ = other.rewardQty3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Chat Clone() { - return new Chat(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 "address_book_id" field. - public const int AddressBookIdFieldNumber = 2; - private int addressBookId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AddressBookId { - get { return addressBookId_; } - set { - addressBookId_ = value; - } - } - - /// Field number for the "a_v_g_id" field. - public const int AVGIdFieldNumber = 3; - private string aVGId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AVGId { - get { return aVGId_; } - set { - aVGId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "a_v_g_group_id" field. - public const int AVGGroupIdFieldNumber = 4; - private string aVGGroupId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AVGGroupId { - get { return aVGGroupId_; } - set { - aVGGroupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "pre_chat_id" field. - public const int PreChatIdFieldNumber = 5; - private int preChatId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreChatId { - get { return preChatId_; } - set { - preChatId_ = value; - } - } - - /// Field number for the "priority" field. - public const int PriorityFieldNumber = 6; - private int priority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Priority { - get { return priority_; } - set { - priority_ = value; - } - } - - /// Field number for the "trigger_type" field. - public const int TriggerTypeFieldNumber = 7; - private int triggerType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerType { - get { return triggerType_; } - set { - triggerType_ = value; - } - } - - /// Field number for the "auto_pop_up" field. - public const int AutoPopUpFieldNumber = 8; - private bool autoPopUp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AutoPopUp { - get { return autoPopUp_; } - set { - autoPopUp_ = value; - } - } - - /// Field number for the "trigger_cond" field. - public const int TriggerCondFieldNumber = 9; - private int triggerCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerCond { - get { return triggerCond_; } - set { - triggerCond_ = value; - } - } - - /// Field number for the "trigger_cond_param" field. - public const int TriggerCondParamFieldNumber = 10; - private string triggerCondParam_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerCondParam { - get { return triggerCondParam_; } - set { - triggerCondParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "reward1" field. - public const int Reward1FieldNumber = 11; - private int reward1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward1 { - get { return reward1_; } - set { - reward1_ = value; - } - } - - /// Field number for the "reward_qty1" field. - public const int RewardQty1FieldNumber = 12; - private int rewardQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty1 { - get { return rewardQty1_; } - set { - rewardQty1_ = value; - } - } - - /// Field number for the "reward2" field. - public const int Reward2FieldNumber = 13; - private int reward2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward2 { - get { return reward2_; } - set { - reward2_ = value; - } - } - - /// Field number for the "reward_qty2" field. - public const int RewardQty2FieldNumber = 14; - private int rewardQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty2 { - get { return rewardQty2_; } - set { - rewardQty2_ = value; - } - } - - /// Field number for the "reward3" field. - public const int Reward3FieldNumber = 15; - private int reward3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward3 { - get { return reward3_; } - set { - reward3_ = value; - } - } - - /// Field number for the "reward_qty3" field. - public const int RewardQty3FieldNumber = 16; - private int rewardQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty3 { - get { return rewardQty3_; } - set { - rewardQty3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Chat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Chat other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (AddressBookId != other.AddressBookId) return false; - if (AVGId != other.AVGId) return false; - if (AVGGroupId != other.AVGGroupId) return false; - if (PreChatId != other.PreChatId) return false; - if (Priority != other.Priority) return false; - if (TriggerType != other.TriggerType) return false; - if (AutoPopUp != other.AutoPopUp) return false; - if (TriggerCond != other.TriggerCond) return false; - if (TriggerCondParam != other.TriggerCondParam) return false; - if (Reward1 != other.Reward1) return false; - if (RewardQty1 != other.RewardQty1) return false; - if (Reward2 != other.Reward2) return false; - if (RewardQty2 != other.RewardQty2) return false; - if (Reward3 != other.Reward3) return false; - if (RewardQty3 != other.RewardQty3) 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 (AddressBookId != 0) hash ^= AddressBookId.GetHashCode(); - if (AVGId.Length != 0) hash ^= AVGId.GetHashCode(); - if (AVGGroupId.Length != 0) hash ^= AVGGroupId.GetHashCode(); - if (PreChatId != 0) hash ^= PreChatId.GetHashCode(); - if (Priority != 0) hash ^= Priority.GetHashCode(); - if (TriggerType != 0) hash ^= TriggerType.GetHashCode(); - if (AutoPopUp != false) hash ^= AutoPopUp.GetHashCode(); - if (TriggerCond != 0) hash ^= TriggerCond.GetHashCode(); - if (TriggerCondParam.Length != 0) hash ^= TriggerCondParam.GetHashCode(); - if (Reward1 != 0) hash ^= Reward1.GetHashCode(); - if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); - if (Reward2 != 0) hash ^= Reward2.GetHashCode(); - if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); - if (Reward3 != 0) hash ^= Reward3.GetHashCode(); - if (RewardQty3 != 0) hash ^= RewardQty3.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 (AddressBookId != 0) { - output.WriteRawTag(16); - output.WriteInt32(AddressBookId); - } - if (AVGId.Length != 0) { - output.WriteRawTag(26); - output.WriteString(AVGId); - } - if (AVGGroupId.Length != 0) { - output.WriteRawTag(34); - output.WriteString(AVGGroupId); - } - if (PreChatId != 0) { - output.WriteRawTag(40); - output.WriteInt32(PreChatId); - } - if (Priority != 0) { - output.WriteRawTag(48); - output.WriteInt32(Priority); - } - if (TriggerType != 0) { - output.WriteRawTag(56); - output.WriteInt32(TriggerType); - } - if (AutoPopUp != false) { - output.WriteRawTag(64); - output.WriteBool(AutoPopUp); - } - if (TriggerCond != 0) { - output.WriteRawTag(72); - output.WriteInt32(TriggerCond); - } - if (TriggerCondParam.Length != 0) { - output.WriteRawTag(82); - output.WriteString(TriggerCondParam); - } - if (Reward1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(96); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(112); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(RewardQty3); - } - 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 (AddressBookId != 0) { - output.WriteRawTag(16); - output.WriteInt32(AddressBookId); - } - if (AVGId.Length != 0) { - output.WriteRawTag(26); - output.WriteString(AVGId); - } - if (AVGGroupId.Length != 0) { - output.WriteRawTag(34); - output.WriteString(AVGGroupId); - } - if (PreChatId != 0) { - output.WriteRawTag(40); - output.WriteInt32(PreChatId); - } - if (Priority != 0) { - output.WriteRawTag(48); - output.WriteInt32(Priority); - } - if (TriggerType != 0) { - output.WriteRawTag(56); - output.WriteInt32(TriggerType); - } - if (AutoPopUp != false) { - output.WriteRawTag(64); - output.WriteBool(AutoPopUp); - } - if (TriggerCond != 0) { - output.WriteRawTag(72); - output.WriteInt32(TriggerCond); - } - if (TriggerCondParam.Length != 0) { - output.WriteRawTag(82); - output.WriteString(TriggerCondParam); - } - if (Reward1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(96); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(112); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(RewardQty3); - } - 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 (AddressBookId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AddressBookId); - } - if (AVGId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGId); - } - if (AVGGroupId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGGroupId); - } - if (PreChatId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreChatId); - } - if (Priority != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); - } - if (TriggerType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerType); - } - if (AutoPopUp != false) { - size += 1 + 1; - } - if (TriggerCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCond); - } - if (TriggerCondParam.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerCondParam); - } - if (Reward1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); - } - if (RewardQty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); - } - if (Reward2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); - } - if (RewardQty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); - } - if (Reward3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); - } - if (RewardQty3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Chat other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.AddressBookId != 0) { - AddressBookId = other.AddressBookId; - } - if (other.AVGId.Length != 0) { - AVGId = other.AVGId; - } - if (other.AVGGroupId.Length != 0) { - AVGGroupId = other.AVGGroupId; - } - if (other.PreChatId != 0) { - PreChatId = other.PreChatId; - } - if (other.Priority != 0) { - Priority = other.Priority; - } - if (other.TriggerType != 0) { - TriggerType = other.TriggerType; - } - if (other.AutoPopUp != false) { - AutoPopUp = other.AutoPopUp; - } - if (other.TriggerCond != 0) { - TriggerCond = other.TriggerCond; - } - if (other.TriggerCondParam.Length != 0) { - TriggerCondParam = other.TriggerCondParam; - } - if (other.Reward1 != 0) { - Reward1 = other.Reward1; - } - if (other.RewardQty1 != 0) { - RewardQty1 = other.RewardQty1; - } - if (other.Reward2 != 0) { - Reward2 = other.Reward2; - } - if (other.RewardQty2 != 0) { - RewardQty2 = other.RewardQty2; - } - if (other.Reward3 != 0) { - Reward3 = other.Reward3; - } - if (other.RewardQty3 != 0) { - RewardQty3 = other.RewardQty3; - } - _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: { - AddressBookId = input.ReadInt32(); - break; - } - case 26: { - AVGId = input.ReadString(); - break; - } - case 34: { - AVGGroupId = input.ReadString(); - break; - } - case 40: { - PreChatId = input.ReadInt32(); - break; - } - case 48: { - Priority = input.ReadInt32(); - break; - } - case 56: { - TriggerType = input.ReadInt32(); - break; - } - case 64: { - AutoPopUp = input.ReadBool(); - break; - } - case 72: { - TriggerCond = input.ReadInt32(); - break; - } - case 82: { - TriggerCondParam = input.ReadString(); - break; - } - case 88: { - Reward1 = input.ReadInt32(); - break; - } - case 96: { - RewardQty1 = input.ReadInt32(); - break; - } - case 104: { - Reward2 = input.ReadInt32(); - break; - } - case 112: { - RewardQty2 = input.ReadInt32(); - break; - } - case 120: { - Reward3 = input.ReadInt32(); - break; - } - case 128: { - RewardQty3 = 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: { - AddressBookId = input.ReadInt32(); - break; - } - case 26: { - AVGId = input.ReadString(); - break; - } - case 34: { - AVGGroupId = input.ReadString(); - break; - } - case 40: { - PreChatId = input.ReadInt32(); - break; - } - case 48: { - Priority = input.ReadInt32(); - break; - } - case 56: { - TriggerType = input.ReadInt32(); - break; - } - case 64: { - AutoPopUp = input.ReadBool(); - break; - } - case 72: { - TriggerCond = input.ReadInt32(); - break; - } - case 82: { - TriggerCondParam = input.ReadString(); - break; - } - case 88: { - Reward1 = input.ReadInt32(); - break; - } - case 96: { - RewardQty1 = input.ReadInt32(); - break; - } - case 104: { - Reward2 = input.ReadInt32(); - break; - } - case 112: { - RewardQty2 = input.ReadInt32(); - break; - } - case 120: { - Reward3 = input.ReadInt32(); - break; - } - case 128: { - RewardQty3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Chest.cs b/Novaria.Common/Protos/Chest.cs deleted file mode 100644 index 9180869..0000000 --- a/Novaria.Common/Protos/Chest.cs +++ /dev/null @@ -1,802 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Chest.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 Chest.proto - public static partial class ChestReflection { - - #region Descriptor - /// File descriptor for Chest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ChestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtDaGVzdC5wcm90byKZAgoFQ2hlc3QSCgoCaWQYASABKAUSDQoFZ3JvdXAY", - "AiABKAUSDQoFbGFiZWwYAyABKAUSEQoJbG93X2Zsb29yGAQgASgFEhIKCmhp", - "Z2hfZmxvb3IYBSABKAUSGAoQdG50ZXJhY3Rpb25fdHlwZRgGIAEoBRIRCglh", - "dXRvX29wZW4YByABKAUSEgoKbW9kZWxfcGF0aBgIIAEoCRINCgVpdGVtMRgJ", - "IAEoBRIPCgdudW1iZXIxGAogASgFEg0KBWl0ZW0yGAsgASgFEg8KB251bWJl", - "cjIYDCABKAUSDQoFaXRlbTMYDSABKAUSDwoHbnVtYmVyMxgOIAEoBRINCgVp", - "dGVtNBgPIAEoBRIPCgdudW1iZXI0GBAgASgFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chest), global::Nova.Client.Chest.Parser, new[]{ "Id", "Group", "Label", "LowFloor", "HighFloor", "TnteractionType", "AutoOpen", "ModelPath", "Item1", "Number1", "Item2", "Number2", "Item3", "Number3", "Item4", "Number4" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Chest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Chest()); - 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.ChestReflection.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 Chest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Chest(Chest other) : this() { - id_ = other.id_; - group_ = other.group_; - label_ = other.label_; - lowFloor_ = other.lowFloor_; - highFloor_ = other.highFloor_; - tnteractionType_ = other.tnteractionType_; - autoOpen_ = other.autoOpen_; - modelPath_ = other.modelPath_; - item1_ = other.item1_; - number1_ = other.number1_; - item2_ = other.item2_; - number2_ = other.number2_; - item3_ = other.item3_; - number3_ = other.number3_; - item4_ = other.item4_; - number4_ = other.number4_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Chest Clone() { - return new Chest(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 "group" field. - public const int GroupFieldNumber = 2; - private int group_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } - set { - group_ = value; - } - } - - /// Field number for the "label" field. - public const int LabelFieldNumber = 3; - private int label_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Label { - get { return label_; } - set { - label_ = value; - } - } - - /// Field number for the "low_floor" field. - public const int LowFloorFieldNumber = 4; - private int lowFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LowFloor { - get { return lowFloor_; } - set { - lowFloor_ = value; - } - } - - /// Field number for the "high_floor" field. - public const int HighFloorFieldNumber = 5; - private int highFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HighFloor { - get { return highFloor_; } - set { - highFloor_ = value; - } - } - - /// Field number for the "tnteraction_type" field. - public const int TnteractionTypeFieldNumber = 6; - private int tnteractionType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TnteractionType { - get { return tnteractionType_; } - set { - tnteractionType_ = value; - } - } - - /// Field number for the "auto_open" field. - public const int AutoOpenFieldNumber = 7; - private int autoOpen_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AutoOpen { - get { return autoOpen_; } - set { - autoOpen_ = value; - } - } - - /// Field number for the "model_path" field. - public const int ModelPathFieldNumber = 8; - private string modelPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ModelPath { - get { return modelPath_; } - set { - modelPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "item1" field. - public const int Item1FieldNumber = 9; - private int item1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Item1 { - get { return item1_; } - set { - item1_ = value; - } - } - - /// Field number for the "number1" field. - public const int Number1FieldNumber = 10; - private int number1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number1 { - get { return number1_; } - set { - number1_ = value; - } - } - - /// Field number for the "item2" field. - public const int Item2FieldNumber = 11; - private int item2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Item2 { - get { return item2_; } - set { - item2_ = value; - } - } - - /// Field number for the "number2" field. - public const int Number2FieldNumber = 12; - private int number2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number2 { - get { return number2_; } - set { - number2_ = value; - } - } - - /// Field number for the "item3" field. - public const int Item3FieldNumber = 13; - private int item3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Item3 { - get { return item3_; } - set { - item3_ = value; - } - } - - /// Field number for the "number3" field. - public const int Number3FieldNumber = 14; - private int number3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number3 { - get { return number3_; } - set { - number3_ = value; - } - } - - /// Field number for the "item4" field. - public const int Item4FieldNumber = 15; - private int item4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Item4 { - get { return item4_; } - set { - item4_ = value; - } - } - - /// Field number for the "number4" field. - public const int Number4FieldNumber = 16; - private int number4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number4 { - get { return number4_; } - set { - number4_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Chest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Chest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Group != other.Group) return false; - if (Label != other.Label) return false; - if (LowFloor != other.LowFloor) return false; - if (HighFloor != other.HighFloor) return false; - if (TnteractionType != other.TnteractionType) return false; - if (AutoOpen != other.AutoOpen) return false; - if (ModelPath != other.ModelPath) return false; - if (Item1 != other.Item1) return false; - if (Number1 != other.Number1) return false; - if (Item2 != other.Item2) return false; - if (Number2 != other.Number2) return false; - if (Item3 != other.Item3) return false; - if (Number3 != other.Number3) return false; - if (Item4 != other.Item4) return false; - if (Number4 != other.Number4) 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 (Group != 0) hash ^= Group.GetHashCode(); - if (Label != 0) hash ^= Label.GetHashCode(); - if (LowFloor != 0) hash ^= LowFloor.GetHashCode(); - if (HighFloor != 0) hash ^= HighFloor.GetHashCode(); - if (TnteractionType != 0) hash ^= TnteractionType.GetHashCode(); - if (AutoOpen != 0) hash ^= AutoOpen.GetHashCode(); - if (ModelPath.Length != 0) hash ^= ModelPath.GetHashCode(); - if (Item1 != 0) hash ^= Item1.GetHashCode(); - if (Number1 != 0) hash ^= Number1.GetHashCode(); - if (Item2 != 0) hash ^= Item2.GetHashCode(); - if (Number2 != 0) hash ^= Number2.GetHashCode(); - if (Item3 != 0) hash ^= Item3.GetHashCode(); - if (Number3 != 0) hash ^= Number3.GetHashCode(); - if (Item4 != 0) hash ^= Item4.GetHashCode(); - if (Number4 != 0) hash ^= Number4.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 (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (Label != 0) { - output.WriteRawTag(24); - output.WriteInt32(Label); - } - if (LowFloor != 0) { - output.WriteRawTag(32); - output.WriteInt32(LowFloor); - } - if (HighFloor != 0) { - output.WriteRawTag(40); - output.WriteInt32(HighFloor); - } - if (TnteractionType != 0) { - output.WriteRawTag(48); - output.WriteInt32(TnteractionType); - } - if (AutoOpen != 0) { - output.WriteRawTag(56); - output.WriteInt32(AutoOpen); - } - if (ModelPath.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ModelPath); - } - if (Item1 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Item1); - } - if (Number1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Number1); - } - if (Item2 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Item2); - } - if (Number2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(Number2); - } - if (Item3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Item3); - } - if (Number3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(Number3); - } - if (Item4 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Item4); - } - if (Number4 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Number4); - } - 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 (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (Label != 0) { - output.WriteRawTag(24); - output.WriteInt32(Label); - } - if (LowFloor != 0) { - output.WriteRawTag(32); - output.WriteInt32(LowFloor); - } - if (HighFloor != 0) { - output.WriteRawTag(40); - output.WriteInt32(HighFloor); - } - if (TnteractionType != 0) { - output.WriteRawTag(48); - output.WriteInt32(TnteractionType); - } - if (AutoOpen != 0) { - output.WriteRawTag(56); - output.WriteInt32(AutoOpen); - } - if (ModelPath.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ModelPath); - } - if (Item1 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Item1); - } - if (Number1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Number1); - } - if (Item2 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Item2); - } - if (Number2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(Number2); - } - if (Item3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Item3); - } - if (Number3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(Number3); - } - if (Item4 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Item4); - } - if (Number4 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(Number4); - } - 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 (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); - } - if (Label != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Label); - } - if (LowFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LowFloor); - } - if (HighFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HighFloor); - } - if (TnteractionType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TnteractionType); - } - if (AutoOpen != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AutoOpen); - } - if (ModelPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelPath); - } - if (Item1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item1); - } - if (Number1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1); - } - if (Item2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item2); - } - if (Number2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2); - } - if (Item3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item3); - } - if (Number3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number3); - } - if (Item4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item4); - } - if (Number4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Number4); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Chest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Group != 0) { - Group = other.Group; - } - if (other.Label != 0) { - Label = other.Label; - } - if (other.LowFloor != 0) { - LowFloor = other.LowFloor; - } - if (other.HighFloor != 0) { - HighFloor = other.HighFloor; - } - if (other.TnteractionType != 0) { - TnteractionType = other.TnteractionType; - } - if (other.AutoOpen != 0) { - AutoOpen = other.AutoOpen; - } - if (other.ModelPath.Length != 0) { - ModelPath = other.ModelPath; - } - if (other.Item1 != 0) { - Item1 = other.Item1; - } - if (other.Number1 != 0) { - Number1 = other.Number1; - } - if (other.Item2 != 0) { - Item2 = other.Item2; - } - if (other.Number2 != 0) { - Number2 = other.Number2; - } - if (other.Item3 != 0) { - Item3 = other.Item3; - } - if (other.Number3 != 0) { - Number3 = other.Number3; - } - if (other.Item4 != 0) { - Item4 = other.Item4; - } - if (other.Number4 != 0) { - Number4 = other.Number4; - } - _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: { - Group = input.ReadInt32(); - break; - } - case 24: { - Label = input.ReadInt32(); - break; - } - case 32: { - LowFloor = input.ReadInt32(); - break; - } - case 40: { - HighFloor = input.ReadInt32(); - break; - } - case 48: { - TnteractionType = input.ReadInt32(); - break; - } - case 56: { - AutoOpen = input.ReadInt32(); - break; - } - case 66: { - ModelPath = input.ReadString(); - break; - } - case 72: { - Item1 = input.ReadInt32(); - break; - } - case 80: { - Number1 = input.ReadInt32(); - break; - } - case 88: { - Item2 = input.ReadInt32(); - break; - } - case 96: { - Number2 = input.ReadInt32(); - break; - } - case 104: { - Item3 = input.ReadInt32(); - break; - } - case 112: { - Number3 = input.ReadInt32(); - break; - } - case 120: { - Item4 = input.ReadInt32(); - break; - } - case 128: { - Number4 = 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: { - Group = input.ReadInt32(); - break; - } - case 24: { - Label = input.ReadInt32(); - break; - } - case 32: { - LowFloor = input.ReadInt32(); - break; - } - case 40: { - HighFloor = input.ReadInt32(); - break; - } - case 48: { - TnteractionType = input.ReadInt32(); - break; - } - case 56: { - AutoOpen = input.ReadInt32(); - break; - } - case 66: { - ModelPath = input.ReadString(); - break; - } - case 72: { - Item1 = input.ReadInt32(); - break; - } - case 80: { - Number1 = input.ReadInt32(); - break; - } - case 88: { - Item2 = input.ReadInt32(); - break; - } - case 96: { - Number2 = input.ReadInt32(); - break; - } - case 104: { - Item3 = input.ReadInt32(); - break; - } - case 112: { - Number3 = input.ReadInt32(); - break; - } - case 120: { - Item4 = input.ReadInt32(); - break; - } - case 128: { - Number4 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ClientDiff.cs b/Novaria.Common/Protos/ClientDiff.cs deleted file mode 100644 index 2b099c4..0000000 --- a/Novaria.Common/Protos/ClientDiff.cs +++ /dev/null @@ -1,230 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ClientDiff.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 Pb { - - /// Holder for reflection information generated from ClientDiff.proto - public static partial class ClientDiffReflection { - - #region Descriptor - /// File descriptor for ClientDiff.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ClientDiffReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBDbGllbnREaWZmLnByb3RvGg5GaWxlRGlmZi5wcm90byIlCgpDbGllbnRE", - "aWZmEhcKBGRpZmYYASADKAsyCS5GaWxlRGlmZkIFqgICUGJiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Pb.FileDiffReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Pb.ClientDiff), global::Pb.ClientDiff.Parser, new[]{ "Diff" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ClientDiff : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientDiff()); - 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::Pb.ClientDiffReflection.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 ClientDiff() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClientDiff(ClientDiff other) : this() { - diff_ = other.diff_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClientDiff Clone() { - return new ClientDiff(this); - } - - /// Field number for the "diff" field. - public const int DiffFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_diff_codec - = pb::FieldCodec.ForMessage(10, global::Pb.FileDiff.Parser); - private readonly pbc::RepeatedField diff_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Diff { - get { return diff_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ClientDiff); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ClientDiff other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!diff_.Equals(other.diff_)) 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; - hash ^= diff_.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 - diff_.WriteTo(output, _repeated_diff_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) { - diff_.WriteTo(ref output, _repeated_diff_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; - size += diff_.CalculateSize(_repeated_diff_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ClientDiff other) { - if (other == null) { - return; - } - diff_.Add(other.diff_); - _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 10: { - diff_.AddEntriesFrom(input, _repeated_diff_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 10: { - diff_.AddEntriesFrom(ref input, _repeated_diff_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ClientEventReport.cs b/Novaria.Common/Protos/ClientEventReport.cs new file mode 100644 index 0000000..38a87a5 --- /dev/null +++ b/Novaria.Common/Protos/ClientEventReport.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: client_event_report.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 Proto { + + /// Holder for reflection information generated from client_event_report.proto + public static partial class ClientEventReportReflection { + + #region Descriptor + /// File descriptor for client_event_report.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClientEventReportReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChljbGllbnRfZXZlbnRfcmVwb3J0LnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharItemExp.cs b/Novaria.Common/Protos/DailyEquipmentApply.cs similarity index 65% rename from Novaria.Common/Protos/CharItemExp.cs rename to Novaria.Common/Protos/DailyEquipmentApply.cs index 21918fd..1d8fe0b 100644 --- a/Novaria.Common/Protos/CharItemExp.cs +++ b/Novaria.Common/Protos/DailyEquipmentApply.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharItemExp.proto +// source: daily_equipment_apply.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from CharItemExp.proto - public static partial class CharItemExpReflection { + /// Holder for reflection information generated from daily_equipment_apply.proto + public static partial class DailyEquipmentApplyReflection { #region Descriptor - /// File descriptor for CharItemExp.proto + /// File descriptor for daily_equipment_apply.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static CharItemExpReflection() { + static DailyEquipmentApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChFDaGFySXRlbUV4cC5wcm90byI9CgtDaGFySXRlbUV4cBIKCgJpZBgBIAEo", - "BRIPCgdpdGVtX2lkGAIgASgFEhEKCWV4cF92YWx1ZRgDIAEoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); + "ChtkYWlseV9lcXVpcG1lbnRfYXBwbHkucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iSwoWRGFpbHlFcXVpcG1lbnRBcHBseVJlcRIKCgJJZBgBIAEoDRIP", + "CgdCdWlsZElkGAIgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90", + "bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharItemExp), global::Nova.Client.CharItemExp.Parser, new[]{ "Id", "ItemId", "ExpValue" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyEquipmentApplyReq), global::Proto.DailyEquipmentApplyReq.Parser, new[]{ "Id", "BuildId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharItemExp : pb::IMessage + public sealed partial class DailyEquipmentApplyReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharItemExp()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyEquipmentApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.CharItemExpReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.DailyEquipmentApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharItemExp() { + public DailyEquipmentApplyReq() { OnConstruction(); } @@ -71,64 +72,64 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharItemExp(CharItemExp other) : this() { + public DailyEquipmentApplyReq(DailyEquipmentApplyReq other) : this() { id_ = other.id_; - itemId_ = other.itemId_; - expValue_ = other.expValue_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharItemExp Clone() { - return new CharItemExp(this); + public DailyEquipmentApplyReq Clone() { + return new DailyEquipmentApplyReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 2; - private int itemId_; + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 2; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } + public ulong BuildId { + get { return buildId_; } set { - itemId_ = value; + buildId_ = value; } } - /// Field number for the "exp_value" field. - public const int ExpValueFieldNumber = 3; - private int expValue_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExpValue { - get { return expValue_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - expValue_ = value; + nextPackage_ = 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 CharItemExp); + return Equals(other as DailyEquipmentApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharItemExp other) { + public bool Equals(DailyEquipmentApplyReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -136,8 +137,8 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (ItemId != other.ItemId) return false; - if (ExpValue != other.ExpValue) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -146,8 +147,8 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ExpValue != 0) hash ^= ExpValue.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -168,15 +169,15 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (ItemId != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(ItemId); + output.WriteUInt64(BuildId); } - if (ExpValue != 0) { - output.WriteRawTag(24); - output.WriteInt32(ExpValue); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -190,15 +191,15 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (ItemId != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(ItemId); + output.WriteUInt64(BuildId); } - if (ExpValue != 0) { - output.WriteRawTag(24); - output.WriteInt32(ExpValue); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -211,13 +212,13 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (ExpValue != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpValue); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharItemExp other) { + public void MergeFrom(DailyEquipmentApplyReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.ItemId != 0) { - ItemId = other.ItemId; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.ExpValue != 0) { - ExpValue = other.ExpValue; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +261,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - ItemId = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - ExpValue = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +292,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - ItemId = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - ExpValue = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DailyEquipmentSettle.cs b/Novaria.Common/Protos/DailyEquipmentSettle.cs new file mode 100644 index 0000000..f93c0ef --- /dev/null +++ b/Novaria.Common/Protos/DailyEquipmentSettle.cs @@ -0,0 +1,701 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: daily_equipment_settle.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 Proto { + + /// Holder for reflection information generated from daily_equipment_settle.proto + public static partial class DailyEquipmentSettleReflection { + + #region Descriptor + /// File descriptor for daily_equipment_settle.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DailyEquipmentSettleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChxkYWlseV9lcXVpcG1lbnRfc2V0dGxlLnByb3RvEgVwcm90bxoMcHVibGlj", + "LnByb3RvIlwKF0RhaWx5RXF1aXBtZW50U2V0dGxlUmVxEgwKBFN0YXIYASAB", + "KA0SHQoGRXZlbnRzGA8gASgLMg0ucHJvdG8uRXZlbnRzEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDCKsAQoYRGFpbHlFcXVpcG1lbnRTZXR0bGVSZXNwEhkKBFN0", + "YXIYASADKAsyCy5wcm90by5JdGVtEhoKBUZpcnN0GAIgAygLMgsucHJvdG8u", + "SXRlbRILCgNFeHAYAyABKA0SEwoLRG91YmxlQ291bnQYBCABKA0SIQoGQ2hh", + "bmdlGAUgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0UGFja2FnZRj/", + "DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyEquipmentSettleReq), global::Proto.DailyEquipmentSettleReq.Parser, new[]{ "Star", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyEquipmentSettleResp), global::Proto.DailyEquipmentSettleResp.Parser, new[]{ "Star", "First", "Exp", "DoubleCount", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyEquipmentSettleReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyEquipmentSettleReq()); + 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::Proto.DailyEquipmentSettleReflection.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 DailyEquipmentSettleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSettleReq(DailyEquipmentSettleReq other) : this() { + star_ = other.star_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSettleReq Clone() { + return new DailyEquipmentSettleReq(this); + } + + /// Field number for the "Star" field. + public const int StarFieldNumber = 1; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// Field number for the "Events" field. + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyEquipmentSettleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyEquipmentSettleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Star != other.Star) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyEquipmentSettleReq other) { + if (other == null) { + return; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Star = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Star = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyEquipmentSettleResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyEquipmentSettleResp()); + 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::Proto.DailyEquipmentSettleReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSettleResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSettleResp(DailyEquipmentSettleResp other) : this() { + star_ = other.star_.Clone(); + first_ = other.first_.Clone(); + exp_ = other.exp_; + doubleCount_ = other.doubleCount_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSettleResp Clone() { + return new DailyEquipmentSettleResp(this); + } + + /// Field number for the "Star" field. + public const int StarFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_star_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Item.Parser); + private readonly pbc::RepeatedField star_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Star { + get { return star_; } + } + + /// Field number for the "First" field. + public const int FirstFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_first_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Item.Parser); + private readonly pbc::RepeatedField first_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField First { + get { return first_; } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 3; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "DoubleCount" field. + public const int DoubleCountFieldNumber = 4; + private uint doubleCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DoubleCount { + get { return doubleCount_; } + set { + doubleCount_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 5; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyEquipmentSettleResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyEquipmentSettleResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!star_.Equals(other.star_)) return false; + if(!first_.Equals(other.first_)) return false; + if (Exp != other.Exp) return false; + if (DoubleCount != other.DoubleCount) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= star_.GetHashCode(); + hash ^= first_.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (DoubleCount != 0) hash ^= DoubleCount.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + star_.WriteTo(output, _repeated_star_codec); + first_.WriteTo(output, _repeated_first_codec); + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (DoubleCount != 0) { + output.WriteRawTag(32); + output.WriteUInt32(DoubleCount); + } + if (change_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + star_.WriteTo(ref output, _repeated_star_codec); + first_.WriteTo(ref output, _repeated_first_codec); + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (DoubleCount != 0) { + output.WriteRawTag(32); + output.WriteUInt32(DoubleCount); + } + if (change_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += star_.CalculateSize(_repeated_star_codec); + size += first_.CalculateSize(_repeated_first_codec); + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (DoubleCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DoubleCount); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyEquipmentSettleResp other) { + if (other == null) { + return; + } + star_.Add(other.star_); + first_.Add(other.first_); + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.DoubleCount != 0) { + DoubleCount = other.DoubleCount; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + star_.AddEntriesFrom(input, _repeated_star_codec); + break; + } + case 18: { + first_.AddEntriesFrom(input, _repeated_first_codec); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 32: { + DoubleCount = input.ReadUInt32(); + break; + } + case 42: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + star_.AddEntriesFrom(ref input, _repeated_star_codec); + break; + } + case 18: { + first_.AddEntriesFrom(ref input, _repeated_first_codec); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 32: { + DoubleCount = input.ReadUInt32(); + break; + } + case 42: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyEquipmentSweep.cs b/Novaria.Common/Protos/DailyEquipmentSweep.cs new file mode 100644 index 0000000..001216e --- /dev/null +++ b/Novaria.Common/Protos/DailyEquipmentSweep.cs @@ -0,0 +1,976 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: daily_equipment_sweep.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 Proto { + + /// Holder for reflection information generated from daily_equipment_sweep.proto + public static partial class DailyEquipmentSweepReflection { + + #region Descriptor + /// File descriptor for daily_equipment_sweep.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DailyEquipmentSweepReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtkYWlseV9lcXVpcG1lbnRfc3dlZXAucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8ieQoWRGFpbHlFcXVpcG1lbnRTd2VlcFJlcRIKCgJJZBgBIAEoDRIN", + "CgVUaW1lcxgCIAEoDRIPCgdCdWlsZElkGAMgASgEEh0KBkV2ZW50cxgPIAEo", + "CzINLnByb3RvLkV2ZW50cxIUCgtOZXh0UGFja2FnZRj/DyABKAwiVgoURGFp", + "bHlFcXVpcG1lbnRSZXdhcmQSGwoGUmV3YXJkGAEgAygLMgsucHJvdG8uSXRl", + "bRILCgNFeHAYAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIpUBChdEYWls", + "eUVxdWlwbWVudFN3ZWVwUmVzcBIsCgdSZXdhcmRzGAEgAygLMhsucHJvdG8u", + "RGFpbHlFcXVpcG1lbnRSZXdhcmQSIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8u", + "Q2hhbmdlSW5mbxITCgtEb3VibGVDb3VudBgDIAEoDRIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyEquipmentSweepReq), global::Proto.DailyEquipmentSweepReq.Parser, new[]{ "Id", "Times", "BuildId", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyEquipmentReward), global::Proto.DailyEquipmentReward.Parser, new[]{ "Reward", "Exp", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyEquipmentSweepResp), global::Proto.DailyEquipmentSweepResp.Parser, new[]{ "Rewards", "Change", "DoubleCount", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyEquipmentSweepReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyEquipmentSweepReq()); + 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::Proto.DailyEquipmentSweepReflection.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 DailyEquipmentSweepReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSweepReq(DailyEquipmentSweepReq other) : this() { + id_ = other.id_; + times_ = other.times_; + buildId_ = other.buildId_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSweepReq Clone() { + return new DailyEquipmentSweepReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Times" field. + public const int TimesFieldNumber = 2; + private uint times_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Times { + get { return times_; } + set { + times_ = value; + } + } + + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 3; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// Field number for the "Events" field. + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyEquipmentSweepReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyEquipmentSweepReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Times != other.Times) return false; + if (BuildId != other.BuildId) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (Times != 0) hash ^= Times.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Times != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Times); + } + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Times != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Times); + } + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Times != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Times); + } + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyEquipmentSweepReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Times != 0) { + Times = other.Times; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Times = input.ReadUInt32(); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Times = input.ReadUInt32(); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyEquipmentReward : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyEquipmentReward()); + 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::Proto.DailyEquipmentSweepReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentReward(DailyEquipmentReward other) : this() { + reward_ = other.reward_.Clone(); + exp_ = other.exp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentReward Clone() { + return new DailyEquipmentReward(this); + } + + /// Field number for the "Reward" field. + public const int RewardFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_reward_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Item.Parser); + private readonly pbc::RepeatedField reward_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Reward { + get { return reward_; } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyEquipmentReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyEquipmentReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!reward_.Equals(other.reward_)) return false; + if (Exp != other.Exp) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= reward_.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + reward_.WriteTo(output, _repeated_reward_codec); + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + reward_.WriteTo(ref output, _repeated_reward_codec); + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += reward_.CalculateSize(_repeated_reward_codec); + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyEquipmentReward other) { + if (other == null) { + return; + } + reward_.Add(other.reward_); + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + reward_.AddEntriesFrom(input, _repeated_reward_codec); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + reward_.AddEntriesFrom(ref input, _repeated_reward_codec); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyEquipmentSweepResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyEquipmentSweepResp()); + 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::Proto.DailyEquipmentSweepReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSweepResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSweepResp(DailyEquipmentSweepResp other) : this() { + rewards_ = other.rewards_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + doubleCount_ = other.doubleCount_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyEquipmentSweepResp Clone() { + return new DailyEquipmentSweepResp(this); + } + + /// Field number for the "Rewards" field. + public const int RewardsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_rewards_codec + = pb::FieldCodec.ForMessage(10, global::Proto.DailyEquipmentReward.Parser); + private readonly pbc::RepeatedField rewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Rewards { + get { return rewards_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "DoubleCount" field. + public const int DoubleCountFieldNumber = 3; + private uint doubleCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DoubleCount { + get { return doubleCount_; } + set { + doubleCount_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyEquipmentSweepResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyEquipmentSweepResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!rewards_.Equals(other.rewards_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (DoubleCount != other.DoubleCount) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= rewards_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (DoubleCount != 0) hash ^= DoubleCount.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + rewards_.WriteTo(output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (DoubleCount != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DoubleCount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (DoubleCount != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DoubleCount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (DoubleCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DoubleCount); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyEquipmentSweepResp other) { + if (other == null) { + return; + } + rewards_.Add(other.rewards_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.DoubleCount != 0) { + DoubleCount = other.DoubleCount; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + DoubleCount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + DoubleCount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyInstance.cs b/Novaria.Common/Protos/DailyInstance.cs deleted file mode 100644 index fbfdf66..0000000 --- a/Novaria.Common/Protos/DailyInstance.cs +++ /dev/null @@ -1,945 +0,0 @@ -// -// 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 diff --git a/Novaria.Common/Protos/StarTowerEventOptionAction.cs b/Novaria.Common/Protos/DailyInstanceApply.cs similarity index 61% rename from Novaria.Common/Protos/StarTowerEventOptionAction.cs rename to Novaria.Common/Protos/DailyInstanceApply.cs index b7e6e53..b0b1ada 100644 --- a/Novaria.Common/Protos/StarTowerEventOptionAction.cs +++ b/Novaria.Common/Protos/DailyInstanceApply.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerEventOptionAction.proto +// source: daily_instance_apply.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from StarTowerEventOptionAction.proto - public static partial class StarTowerEventOptionActionReflection { + /// Holder for reflection information generated from daily_instance_apply.proto + public static partial class DailyInstanceApplyReflection { #region Descriptor - /// File descriptor for StarTowerEventOptionAction.proto + /// File descriptor for daily_instance_apply.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerEventOptionActionReflection() { + static DailyInstanceApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CiBTdGFyVG93ZXJFdmVudE9wdGlvbkFjdGlvbi5wcm90byJYChpTdGFyVG93", - "ZXJFdmVudE9wdGlvbkFjdGlvbhIKCgJpZBgBIAEoBRIRCglvcHRpb25faWQY", - "AiABKAUSDAoEZGVzYxgDIAEoCRINCgVncm91cBgEIAEoBUIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); + "ChpkYWlseV9pbnN0YW5jZV9hcHBseS5wcm90bxIFcHJvdG8aDHB1YmxpYy5w", + "cm90byJeChVEYWlseUluc3RhbmNlQXBwbHlSZXESCgoCSWQYASABKA0SEgoK", + "UmV3YXJkVHlwZRgCIAEoDRIPCgdCdWlsZElkGA8gASgEEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEventOptionAction), global::Nova.Client.StarTowerEventOptionAction.Parser, new[]{ "Id", "OptionId", "Desc", "Group" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstanceApplyReq), global::Proto.DailyInstanceApplyReq.Parser, new[]{ "Id", "RewardType", "BuildId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerEventOptionAction : pb::IMessage + public sealed partial class DailyInstanceApplyReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerEventOptionAction()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.StarTowerEventOptionActionReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.DailyInstanceApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEventOptionAction() { + public DailyInstanceApplyReq() { OnConstruction(); } @@ -72,77 +72,77 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEventOptionAction(StarTowerEventOptionAction other) : this() { + public DailyInstanceApplyReq(DailyInstanceApplyReq other) : this() { id_ = other.id_; - optionId_ = other.optionId_; - desc_ = other.desc_; - group_ = other.group_; + rewardType_ = other.rewardType_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEventOptionAction Clone() { - return new StarTowerEventOptionAction(this); + public DailyInstanceApplyReq Clone() { + return new DailyInstanceApplyReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// Field number for the "option_id" field. - public const int OptionIdFieldNumber = 2; - private int optionId_; + /// Field number for the "RewardType" field. + public const int RewardTypeFieldNumber = 2; + private uint rewardType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OptionId { - get { return optionId_; } + public uint RewardType { + get { return rewardType_; } set { - optionId_ = value; + rewardType_ = value; } } - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - private string desc_ = ""; + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 15; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc { - get { return desc_; } + public ulong BuildId { + get { return buildId_; } set { - desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + buildId_ = value; } } - /// Field number for the "group" field. - public const int GroupFieldNumber = 4; - private int group_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - group_ = value; + nextPackage_ = 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 StarTowerEventOptionAction); + return Equals(other as DailyInstanceApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerEventOptionAction other) { + public bool Equals(DailyInstanceApplyReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -150,9 +150,9 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (OptionId != other.OptionId) return false; - if (Desc != other.Desc) return false; - if (Group != other.Group) return false; + if (RewardType != other.RewardType) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -161,9 +161,9 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); - if (OptionId != 0) hash ^= OptionId.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Group != 0) hash ^= Group.GetHashCode(); + if (RewardType != 0) hash ^= RewardType.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -184,19 +184,19 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (OptionId != 0) { + if (RewardType != 0) { output.WriteRawTag(16); - output.WriteInt32(OptionId); + output.WriteUInt32(RewardType); } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); + if (BuildId != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(BuildId); } - if (Group != 0) { - output.WriteRawTag(32); - output.WriteInt32(Group); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -210,19 +210,19 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (OptionId != 0) { + if (RewardType != 0) { output.WriteRawTag(16); - output.WriteInt32(OptionId); + output.WriteUInt32(RewardType); } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); + if (BuildId != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(BuildId); } - if (Group != 0) { - output.WriteRawTag(32); - output.WriteInt32(Group); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -235,16 +235,16 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (OptionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionId); + if (RewardType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardType); } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -254,21 +254,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerEventOptionAction other) { + public void MergeFrom(DailyInstanceApplyReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.OptionId != 0) { - OptionId = other.OptionId; + if (other.RewardType != 0) { + RewardType = other.RewardType; } - if (other.Desc.Length != 0) { - Desc = other.Desc; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.Group != 0) { - Group = other.Group; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -290,19 +290,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - OptionId = input.ReadInt32(); + RewardType = input.ReadUInt32(); break; } - case 26: { - Desc = input.ReadString(); + case 120: { + BuildId = input.ReadUInt64(); break; } - case 32: { - Group = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -325,19 +325,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - OptionId = input.ReadInt32(); + RewardType = input.ReadUInt32(); break; } - case 26: { - Desc = input.ReadString(); + case 120: { + BuildId = input.ReadUInt64(); break; } - case 32: { - Group = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DailyInstanceFloor.cs b/Novaria.Common/Protos/DailyInstanceFloor.cs deleted file mode 100644 index 72d398a..0000000 --- a/Novaria.Common/Protos/DailyInstanceFloor.cs +++ /dev/null @@ -1,842 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DailyInstanceFloor.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 DailyInstanceFloor.proto - public static partial class DailyInstanceFloorReflection { - - #region Descriptor - /// File descriptor for DailyInstanceFloor.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DailyInstanceFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhEYWlseUluc3RhbmNlRmxvb3IucHJvdG8iqwMKEkRhaWx5SW5zdGFuY2VG", - "bG9vchIKCgJpZBgBIAEoBRISCgpzY2VuZV9uYW1lGAIgASgJEhoKEmNvbmZp", - "Z19wcmVmYWJfbmFtZRgDIAEoCRINCgV0aGVtZRgEIAEoBRINCgViX2dfbRgF", - "IAEoCRIbChNsZWF2ZV90cmlnZ2VyX2V2ZW50GAYgASgJEhIKCm1vbnN0ZXJf", - "aWQYByABKAUSGgoSb25lX3N0YXJfY29uZGl0aW9uGAggASgFEhoKEnR3b19z", - "dGFyX2NvbmRpdGlvbhgJIAEoBRIcChR0aHJlZV9zdGFyX2NvbmRpdGlvbhgK", - "IAEoBRIYChBsZXZlbF90b3RhbF90aW1lGAsgASgFEhsKE3RpbWVfZW5kX3Nl", - "dHRsZW1lbnQYDCABKAgSGwoTc3Rhcl9jb25kaXRpb25fdHlwZRgNIAEoBRIS", - "Cgptb25zdGVyX2x2GA4gASgFEhwKFGRyb3BfZW50aXR5X2dyb3VwX2lkGA8g", - "ASgFEhgKEGRyb3BfZW50aXR5X3JhdGUYECABKAUSFAoMZHJvcF9tYXhfbnVt", - "GBEgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceFloor), global::Nova.Client.DailyInstanceFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "LevelTotalTime", "TimeEndSettlement", "StarConditionType", "MonsterLv", "DropEntityGroupId", "DropEntityRate", "DropMaxNum" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DailyInstanceFloor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceFloor()); - 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.DailyInstanceFloorReflection.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 DailyInstanceFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyInstanceFloor(DailyInstanceFloor other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - monsterId_ = other.monsterId_; - oneStarCondition_ = other.oneStarCondition_; - twoStarCondition_ = other.twoStarCondition_; - threeStarCondition_ = other.threeStarCondition_; - levelTotalTime_ = other.levelTotalTime_; - timeEndSettlement_ = other.timeEndSettlement_; - starConditionType_ = other.starConditionType_; - monsterLv_ = other.monsterLv_; - dropEntityGroupId_ = other.dropEntityGroupId_; - dropEntityRate_ = other.dropEntityRate_; - dropMaxNum_ = other.dropMaxNum_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyInstanceFloor Clone() { - return new DailyInstanceFloor(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 "scene_name" field. - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "config_prefab_name" field. - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "theme" field. - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// Field number for the "b_g_m" field. - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "leave_trigger_event" field. - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "monster_id" field. - public const int MonsterIdFieldNumber = 7; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// Field number for the "one_star_condition" field. - public const int OneStarConditionFieldNumber = 8; - private int oneStarCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OneStarCondition { - get { return oneStarCondition_; } - set { - oneStarCondition_ = value; - } - } - - /// Field number for the "two_star_condition" field. - public const int TwoStarConditionFieldNumber = 9; - private int twoStarCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TwoStarCondition { - get { return twoStarCondition_; } - set { - twoStarCondition_ = value; - } - } - - /// Field number for the "three_star_condition" field. - public const int ThreeStarConditionFieldNumber = 10; - private int threeStarCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ThreeStarCondition { - get { return threeStarCondition_; } - set { - threeStarCondition_ = value; - } - } - - /// Field number for the "level_total_time" field. - public const int LevelTotalTimeFieldNumber = 11; - private int levelTotalTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTotalTime { - get { return levelTotalTime_; } - set { - levelTotalTime_ = value; - } - } - - /// Field number for the "time_end_settlement" field. - public const int TimeEndSettlementFieldNumber = 12; - private bool timeEndSettlement_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool TimeEndSettlement { - get { return timeEndSettlement_; } - set { - timeEndSettlement_ = value; - } - } - - /// Field number for the "star_condition_type" field. - public const int StarConditionTypeFieldNumber = 13; - private int starConditionType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StarConditionType { - get { return starConditionType_; } - set { - starConditionType_ = value; - } - } - - /// Field number for the "monster_lv" field. - public const int MonsterLvFieldNumber = 14; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - /// Field number for the "drop_entity_group_id" field. - public const int DropEntityGroupIdFieldNumber = 15; - private int dropEntityGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropEntityGroupId { - get { return dropEntityGroupId_; } - set { - dropEntityGroupId_ = value; - } - } - - /// Field number for the "drop_entity_rate" field. - public const int DropEntityRateFieldNumber = 16; - private int dropEntityRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropEntityRate { - get { return dropEntityRate_; } - set { - dropEntityRate_ = value; - } - } - - /// Field number for the "drop_max_num" field. - public const int DropMaxNumFieldNumber = 17; - private int dropMaxNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropMaxNum { - get { return dropMaxNum_; } - set { - dropMaxNum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DailyInstanceFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DailyInstanceFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; - if (MonsterId != other.MonsterId) return false; - if (OneStarCondition != other.OneStarCondition) return false; - if (TwoStarCondition != other.TwoStarCondition) return false; - if (ThreeStarCondition != other.ThreeStarCondition) return false; - if (LevelTotalTime != other.LevelTotalTime) return false; - if (TimeEndSettlement != other.TimeEndSettlement) return false; - if (StarConditionType != other.StarConditionType) return false; - if (MonsterLv != other.MonsterLv) return false; - if (DropEntityGroupId != other.DropEntityGroupId) return false; - if (DropEntityRate != other.DropEntityRate) return false; - if (DropMaxNum != other.DropMaxNum) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (OneStarCondition != 0) hash ^= OneStarCondition.GetHashCode(); - if (TwoStarCondition != 0) hash ^= TwoStarCondition.GetHashCode(); - if (ThreeStarCondition != 0) hash ^= ThreeStarCondition.GetHashCode(); - if (LevelTotalTime != 0) hash ^= LevelTotalTime.GetHashCode(); - if (TimeEndSettlement != false) hash ^= TimeEndSettlement.GetHashCode(); - if (StarConditionType != 0) hash ^= StarConditionType.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); - if (DropEntityGroupId != 0) hash ^= DropEntityGroupId.GetHashCode(); - if (DropEntityRate != 0) hash ^= DropEntityRate.GetHashCode(); - if (DropMaxNum != 0) hash ^= DropMaxNum.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterId != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterId); - } - if (OneStarCondition != 0) { - output.WriteRawTag(64); - output.WriteInt32(OneStarCondition); - } - if (TwoStarCondition != 0) { - output.WriteRawTag(72); - output.WriteInt32(TwoStarCondition); - } - if (ThreeStarCondition != 0) { - output.WriteRawTag(80); - output.WriteInt32(ThreeStarCondition); - } - if (LevelTotalTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(LevelTotalTime); - } - if (TimeEndSettlement != false) { - output.WriteRawTag(96); - output.WriteBool(TimeEndSettlement); - } - if (StarConditionType != 0) { - output.WriteRawTag(104); - output.WriteInt32(StarConditionType); - } - if (MonsterLv != 0) { - output.WriteRawTag(112); - output.WriteInt32(MonsterLv); - } - if (DropEntityGroupId != 0) { - output.WriteRawTag(120); - output.WriteInt32(DropEntityGroupId); - } - if (DropEntityRate != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(DropEntityRate); - } - if (DropMaxNum != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(DropMaxNum); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterId != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterId); - } - if (OneStarCondition != 0) { - output.WriteRawTag(64); - output.WriteInt32(OneStarCondition); - } - if (TwoStarCondition != 0) { - output.WriteRawTag(72); - output.WriteInt32(TwoStarCondition); - } - if (ThreeStarCondition != 0) { - output.WriteRawTag(80); - output.WriteInt32(ThreeStarCondition); - } - if (LevelTotalTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(LevelTotalTime); - } - if (TimeEndSettlement != false) { - output.WriteRawTag(96); - output.WriteBool(TimeEndSettlement); - } - if (StarConditionType != 0) { - output.WriteRawTag(104); - output.WriteInt32(StarConditionType); - } - if (MonsterLv != 0) { - output.WriteRawTag(112); - output.WriteInt32(MonsterLv); - } - if (DropEntityGroupId != 0) { - output.WriteRawTag(120); - output.WriteInt32(DropEntityGroupId); - } - if (DropEntityRate != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(DropEntityRate); - } - if (DropMaxNum != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(DropMaxNum); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (OneStarCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneStarCondition); - } - if (TwoStarCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TwoStarCondition); - } - if (ThreeStarCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThreeStarCondition); - } - if (LevelTotalTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTotalTime); - } - if (TimeEndSettlement != false) { - size += 1 + 1; - } - if (StarConditionType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarConditionType); - } - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (DropEntityGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropEntityGroupId); - } - if (DropEntityRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropEntityRate); - } - if (DropMaxNum != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropMaxNum); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DailyInstanceFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.OneStarCondition != 0) { - OneStarCondition = other.OneStarCondition; - } - if (other.TwoStarCondition != 0) { - TwoStarCondition = other.TwoStarCondition; - } - if (other.ThreeStarCondition != 0) { - ThreeStarCondition = other.ThreeStarCondition; - } - if (other.LevelTotalTime != 0) { - LevelTotalTime = other.LevelTotalTime; - } - if (other.TimeEndSettlement != false) { - TimeEndSettlement = other.TimeEndSettlement; - } - if (other.StarConditionType != 0) { - StarConditionType = other.StarConditionType; - } - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - if (other.DropEntityGroupId != 0) { - DropEntityGroupId = other.DropEntityGroupId; - } - if (other.DropEntityRate != 0) { - DropEntityRate = other.DropEntityRate; - } - if (other.DropMaxNum != 0) { - DropMaxNum = other.DropMaxNum; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterId = input.ReadInt32(); - break; - } - case 64: { - OneStarCondition = input.ReadInt32(); - break; - } - case 72: { - TwoStarCondition = input.ReadInt32(); - break; - } - case 80: { - ThreeStarCondition = input.ReadInt32(); - break; - } - case 88: { - LevelTotalTime = input.ReadInt32(); - break; - } - case 96: { - TimeEndSettlement = input.ReadBool(); - break; - } - case 104: { - StarConditionType = input.ReadInt32(); - break; - } - case 112: { - MonsterLv = input.ReadInt32(); - break; - } - case 120: { - DropEntityGroupId = input.ReadInt32(); - break; - } - case 128: { - DropEntityRate = input.ReadInt32(); - break; - } - case 136: { - DropMaxNum = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterId = input.ReadInt32(); - break; - } - case 64: { - OneStarCondition = input.ReadInt32(); - break; - } - case 72: { - TwoStarCondition = input.ReadInt32(); - break; - } - case 80: { - ThreeStarCondition = input.ReadInt32(); - break; - } - case 88: { - LevelTotalTime = input.ReadInt32(); - break; - } - case 96: { - TimeEndSettlement = input.ReadBool(); - break; - } - case 104: { - StarConditionType = input.ReadInt32(); - break; - } - case 112: { - MonsterLv = input.ReadInt32(); - break; - } - case 120: { - DropEntityGroupId = input.ReadInt32(); - break; - } - case 128: { - DropEntityRate = input.ReadInt32(); - break; - } - case 136: { - DropMaxNum = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyInstanceRaid.cs b/Novaria.Common/Protos/DailyInstanceRaid.cs new file mode 100644 index 0000000..aee5971 --- /dev/null +++ b/Novaria.Common/Protos/DailyInstanceRaid.cs @@ -0,0 +1,938 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: daily_instance_raid.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 Proto { + + /// Holder for reflection information generated from daily_instance_raid.proto + public static partial class DailyInstanceRaidReflection { + + #region Descriptor + /// File descriptor for daily_instance_raid.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DailyInstanceRaidReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlkYWlseV9pbnN0YW5jZV9yYWlkLnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvInoKFERhaWx5SW5zdGFuY2VSYWlkUmVxEgoKAklkGAEgASgNEhIKClJl", + "d2FyZFR5cGUYAiABKA0SDQoFVGltZXMYBCABKA0SHQoGRXZlbnRzGA8gASgL", + "Mg0ucHJvdG8uRXZlbnRzEhQKC05leHRQYWNrYWdlGP8PIAEoDCJVChNEYWls", + "eUluc3RhbmNlUmV3YXJkEhsKBlNlbGVjdBgBIAMoCzILLnByb3RvLkl0ZW0S", + "CwoDRXhwGA8gASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJ9ChVEYWlseUlu", + "c3RhbmNlUmFpZFJlc3ASKwoHUmV3YXJkcxgBIAMoCzIaLnByb3RvLkRhaWx5", + "SW5zdGFuY2VSZXdhcmQSIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdl", + "SW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstanceRaidReq), global::Proto.DailyInstanceRaidReq.Parser, new[]{ "Id", "RewardType", "Times", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstanceReward), global::Proto.DailyInstanceReward.Parser, new[]{ "Select", "Exp", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstanceRaidResp), global::Proto.DailyInstanceRaidResp.Parser, new[]{ "Rewards", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceRaidReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceRaidReq()); + 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::Proto.DailyInstanceRaidReflection.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 DailyInstanceRaidReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRaidReq(DailyInstanceRaidReq other) : this() { + id_ = other.id_; + rewardType_ = other.rewardType_; + times_ = other.times_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRaidReq Clone() { + return new DailyInstanceRaidReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "RewardType" field. + public const int RewardTypeFieldNumber = 2; + private uint rewardType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RewardType { + get { return rewardType_; } + set { + rewardType_ = value; + } + } + + /// Field number for the "Times" field. + public const int TimesFieldNumber = 4; + private uint times_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Times { + get { return times_; } + set { + times_ = value; + } + } + + /// Field number for the "Events" field. + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyInstanceRaidReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceRaidReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RewardType != other.RewardType) return false; + if (Times != other.Times) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (RewardType != 0) hash ^= RewardType.GetHashCode(); + if (Times != 0) hash ^= Times.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (RewardType != 0) { + output.WriteRawTag(16); + output.WriteUInt32(RewardType); + } + if (Times != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Times); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (RewardType != 0) { + output.WriteRawTag(16); + output.WriteUInt32(RewardType); + } + if (Times != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Times); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (RewardType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardType); + } + if (Times != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Times); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceRaidReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RewardType != 0) { + RewardType = other.RewardType; + } + if (other.Times != 0) { + Times = other.Times; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + RewardType = input.ReadUInt32(); + break; + } + case 32: { + Times = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + RewardType = input.ReadUInt32(); + break; + } + case 32: { + Times = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceReward : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceReward()); + 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::Proto.DailyInstanceRaidReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceReward(DailyInstanceReward other) : this() { + select_ = other.select_.Clone(); + exp_ = other.exp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceReward Clone() { + return new DailyInstanceReward(this); + } + + /// Field number for the "Select" field. + public const int SelectFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_select_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Item.Parser); + private readonly pbc::RepeatedField select_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Select { + get { return select_; } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 15; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyInstanceReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!select_.Equals(other.select_)) return false; + if (Exp != other.Exp) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= select_.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + select_.WriteTo(output, _repeated_select_codec); + if (Exp != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Exp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + select_.WriteTo(ref output, _repeated_select_codec); + if (Exp != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Exp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += select_.CalculateSize(_repeated_select_codec); + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceReward other) { + if (other == null) { + return; + } + select_.Add(other.select_); + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + select_.AddEntriesFrom(input, _repeated_select_codec); + break; + } + case 120: { + Exp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + select_.AddEntriesFrom(ref input, _repeated_select_codec); + break; + } + case 120: { + Exp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceRaidResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceRaidResp()); + 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::Proto.DailyInstanceRaidReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRaidResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRaidResp(DailyInstanceRaidResp other) : this() { + rewards_ = other.rewards_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRaidResp Clone() { + return new DailyInstanceRaidResp(this); + } + + /// Field number for the "Rewards" field. + public const int RewardsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_rewards_codec + = pb::FieldCodec.ForMessage(10, global::Proto.DailyInstanceReward.Parser); + private readonly pbc::RepeatedField rewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Rewards { + get { return rewards_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyInstanceRaidResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceRaidResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!rewards_.Equals(other.rewards_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= rewards_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + rewards_.WriteTo(output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceRaidResp other) { + if (other == null) { + return; + } + rewards_.Add(other.rewards_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyInstanceRewardGroup.cs b/Novaria.Common/Protos/DailyInstanceRewardGroup.cs deleted file mode 100644 index ffd892c..0000000 --- a/Novaria.Common/Protos/DailyInstanceRewardGroup.cs +++ /dev/null @@ -1,504 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DailyInstanceRewardGroup.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 DailyInstanceRewardGroup.proto - public static partial class DailyInstanceRewardGroupReflection { - - #region Descriptor - /// File descriptor for DailyInstanceRewardGroup.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DailyInstanceRewardGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5EYWlseUluc3RhbmNlUmV3YXJkR3JvdXAucHJvdG8ivgEKGERhaWx5SW5z", - "dGFuY2VSZXdhcmRHcm91cBIKCgJpZBgBIAEoBRIQCghncm91cF9pZBgCIAEo", - "BRIZChFkYWlseV9yZXdhcmRfdHlwZRgDIAEoBRITCgtyZXdhcmRfbmFtZRgE", - "IAEoCRISCgpyZXdhcmRfZGVzGAUgASgJEhMKC3Jld2FyZF9pY29uGAYgASgJ", - "Eg8KB2Ryb3BfaWQYByABKAUSGgoSYmFzZV9hd2FyZF9wcmV2aWV3GAggASgJ", - "Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceRewardGroup), global::Nova.Client.DailyInstanceRewardGroup.Parser, new[]{ "Id", "GroupId", "DailyRewardType", "RewardName", "RewardDes", "RewardIcon", "DropId", "BaseAwardPreview" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DailyInstanceRewardGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceRewardGroup()); - 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.DailyInstanceRewardGroupReflection.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 DailyInstanceRewardGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyInstanceRewardGroup(DailyInstanceRewardGroup other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - dailyRewardType_ = other.dailyRewardType_; - rewardName_ = other.rewardName_; - rewardDes_ = other.rewardDes_; - rewardIcon_ = other.rewardIcon_; - dropId_ = other.dropId_; - baseAwardPreview_ = other.baseAwardPreview_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyInstanceRewardGroup Clone() { - return new DailyInstanceRewardGroup(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 "group_id" field. - 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; - } - } - - /// Field number for the "daily_reward_type" field. - public const int DailyRewardTypeFieldNumber = 3; - private int dailyRewardType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DailyRewardType { - get { return dailyRewardType_; } - set { - dailyRewardType_ = value; - } - } - - /// Field number for the "reward_name" field. - public const int RewardNameFieldNumber = 4; - private string rewardName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardName { - get { return rewardName_; } - set { - rewardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "reward_des" field. - public const int RewardDesFieldNumber = 5; - private string rewardDes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardDes { - get { return rewardDes_; } - set { - rewardDes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "reward_icon" field. - public const int RewardIconFieldNumber = 6; - private string rewardIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardIcon { - get { return rewardIcon_; } - set { - rewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "drop_id" field. - public const int DropIdFieldNumber = 7; - private int dropId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropId { - get { return dropId_; } - set { - dropId_ = value; - } - } - - /// Field number for the "base_award_preview" field. - public const int BaseAwardPreviewFieldNumber = 8; - private string baseAwardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BaseAwardPreview { - get { return baseAwardPreview_; } - set { - baseAwardPreview_ = 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 DailyInstanceRewardGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DailyInstanceRewardGroup 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 (DailyRewardType != other.DailyRewardType) return false; - if (RewardName != other.RewardName) return false; - if (RewardDes != other.RewardDes) return false; - if (RewardIcon != other.RewardIcon) return false; - if (DropId != other.DropId) return false; - if (BaseAwardPreview != other.BaseAwardPreview) 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 (DailyRewardType != 0) hash ^= DailyRewardType.GetHashCode(); - if (RewardName.Length != 0) hash ^= RewardName.GetHashCode(); - if (RewardDes.Length != 0) hash ^= RewardDes.GetHashCode(); - if (RewardIcon.Length != 0) hash ^= RewardIcon.GetHashCode(); - if (DropId != 0) hash ^= DropId.GetHashCode(); - if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.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 (DailyRewardType != 0) { - output.WriteRawTag(24); - output.WriteInt32(DailyRewardType); - } - if (RewardName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(RewardName); - } - if (RewardDes.Length != 0) { - output.WriteRawTag(42); - output.WriteString(RewardDes); - } - if (RewardIcon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(RewardIcon); - } - if (DropId != 0) { - output.WriteRawTag(56); - output.WriteInt32(DropId); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(66); - output.WriteString(BaseAwardPreview); - } - 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 (DailyRewardType != 0) { - output.WriteRawTag(24); - output.WriteInt32(DailyRewardType); - } - if (RewardName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(RewardName); - } - if (RewardDes.Length != 0) { - output.WriteRawTag(42); - output.WriteString(RewardDes); - } - if (RewardIcon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(RewardIcon); - } - if (DropId != 0) { - output.WriteRawTag(56); - output.WriteInt32(DropId); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(66); - output.WriteString(BaseAwardPreview); - } - 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 (DailyRewardType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DailyRewardType); - } - if (RewardName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardName); - } - if (RewardDes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDes); - } - if (RewardIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardIcon); - } - if (DropId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); - } - if (BaseAwardPreview.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DailyInstanceRewardGroup other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.DailyRewardType != 0) { - DailyRewardType = other.DailyRewardType; - } - if (other.RewardName.Length != 0) { - RewardName = other.RewardName; - } - if (other.RewardDes.Length != 0) { - RewardDes = other.RewardDes; - } - if (other.RewardIcon.Length != 0) { - RewardIcon = other.RewardIcon; - } - if (other.DropId != 0) { - DropId = other.DropId; - } - if (other.BaseAwardPreview.Length != 0) { - BaseAwardPreview = other.BaseAwardPreview; - } - _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: { - DailyRewardType = input.ReadInt32(); - break; - } - case 34: { - RewardName = input.ReadString(); - break; - } - case 42: { - RewardDes = input.ReadString(); - break; - } - case 50: { - RewardIcon = input.ReadString(); - break; - } - case 56: { - DropId = input.ReadInt32(); - break; - } - case 66: { - BaseAwardPreview = 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: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - DailyRewardType = input.ReadInt32(); - break; - } - case 34: { - RewardName = input.ReadString(); - break; - } - case 42: { - RewardDes = input.ReadString(); - break; - } - case 50: { - RewardIcon = input.ReadString(); - break; - } - case 56: { - DropId = input.ReadInt32(); - break; - } - case 66: { - BaseAwardPreview = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyInstanceSettle.cs b/Novaria.Common/Protos/DailyInstanceSettle.cs new file mode 100644 index 0000000..6362f60 --- /dev/null +++ b/Novaria.Common/Protos/DailyInstanceSettle.cs @@ -0,0 +1,663 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: daily_instance_settle.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 Proto { + + /// Holder for reflection information generated from daily_instance_settle.proto + public static partial class DailyInstanceSettleReflection { + + #region Descriptor + /// File descriptor for daily_instance_settle.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DailyInstanceSettleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtkYWlseV9pbnN0YW5jZV9zZXR0bGUucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iWwoWRGFpbHlJbnN0YW5jZVNldHRsZVJlcRIMCgRTdGFyGAEgASgN", + "Eh0KBkV2ZW50cxgPIAEoCzINLnByb3RvLkV2ZW50cxIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAwimAEKF0RhaWx5SW5zdGFuY2VTZXR0bGVSZXNwEhsKBlNlbGVj", + "dBgBIAMoCzILLnByb3RvLkl0ZW0SGgoFRmlyc3QYAiADKAsyCy5wcm90by5J", + "dGVtEgsKA0V4cBgDIAEoDRIhCgZDaGFuZ2UYDyABKAsyES5wcm90by5DaGFu", + "Z2VJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstanceSettleReq), global::Proto.DailyInstanceSettleReq.Parser, new[]{ "Star", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstanceSettleResp), global::Proto.DailyInstanceSettleResp.Parser, new[]{ "Select", "First", "Exp", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceSettleReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceSettleReq()); + 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::Proto.DailyInstanceSettleReflection.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 DailyInstanceSettleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceSettleReq(DailyInstanceSettleReq other) : this() { + star_ = other.star_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceSettleReq Clone() { + return new DailyInstanceSettleReq(this); + } + + /// Field number for the "Star" field. + public const int StarFieldNumber = 1; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// Field number for the "Events" field. + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyInstanceSettleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceSettleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Star != other.Star) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceSettleReq other) { + if (other == null) { + return; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Star = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Star = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceSettleResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceSettleResp()); + 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::Proto.DailyInstanceSettleReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceSettleResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceSettleResp(DailyInstanceSettleResp other) : this() { + select_ = other.select_.Clone(); + first_ = other.first_.Clone(); + exp_ = other.exp_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceSettleResp Clone() { + return new DailyInstanceSettleResp(this); + } + + /// Field number for the "Select" field. + public const int SelectFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_select_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Item.Parser); + private readonly pbc::RepeatedField select_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Select { + get { return select_; } + } + + /// Field number for the "First" field. + public const int FirstFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_first_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Item.Parser); + private readonly pbc::RepeatedField first_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField First { + get { return first_; } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 3; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 15; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DailyInstanceSettleResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceSettleResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!select_.Equals(other.select_)) return false; + if(!first_.Equals(other.first_)) return false; + if (Exp != other.Exp) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= select_.GetHashCode(); + hash ^= first_.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + select_.WriteTo(output, _repeated_select_codec); + first_.WriteTo(output, _repeated_first_codec); + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + select_.WriteTo(ref output, _repeated_select_codec); + first_.WriteTo(ref output, _repeated_first_codec); + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += select_.CalculateSize(_repeated_select_codec); + size += first_.CalculateSize(_repeated_first_codec); + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceSettleResp other) { + if (other == null) { + return; + } + select_.Add(other.select_); + first_.Add(other.first_); + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + select_.AddEntriesFrom(input, _repeated_select_codec); + break; + } + case 18: { + first_.AddEntriesFrom(input, _repeated_first_codec); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + select_.AddEntriesFrom(ref input, _repeated_select_codec); + break; + } + case 18: { + first_.AddEntriesFrom(ref input, _repeated_first_codec); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyInstanceType.cs b/Novaria.Common/Protos/DailyInstanceType.cs deleted file mode 100644 index 71883be..0000000 --- a/Novaria.Common/Protos/DailyInstanceType.cs +++ /dev/null @@ -1,494 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DailyInstanceType.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 DailyInstanceType.proto - public static partial class DailyInstanceTypeReflection { - - #region Descriptor - /// File descriptor for DailyInstanceType.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DailyInstanceTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdEYWlseUluc3RhbmNlVHlwZS5wcm90byKgAQoRRGFpbHlJbnN0YW5jZVR5", - "cGUSCgoCaWQYASABKAUSDAoEbmFtZRgCIAEoCRIUCgxtYWluX2xpbmVfaWQY", - "AyABKAUSGQoRd29ybGRfY2xhc3NfbGV2ZWwYBCABKAUSDwoHZXBpc29kZRgF", - "IAEoCRINCgVpbWFnZRgGIAEoCRIMCgRzb3J0GAcgASgFEhIKCmhvd19yZXdh", - "cmQYCCADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceType), global::Nova.Client.DailyInstanceType.Parser, new[]{ "Id", "Name", "MainLineId", "WorldClassLevel", "Episode", "Image", "Sort", "HowReward" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DailyInstanceType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyInstanceType()); - 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.DailyInstanceTypeReflection.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 DailyInstanceType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyInstanceType(DailyInstanceType other) : this() { - id_ = other.id_; - name_ = other.name_; - mainLineId_ = other.mainLineId_; - worldClassLevel_ = other.worldClassLevel_; - episode_ = other.episode_; - image_ = other.image_; - sort_ = other.sort_; - howReward_ = other.howReward_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyInstanceType Clone() { - return new DailyInstanceType(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 "name" field. - 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"); - } - } - - /// Field number for the "main_line_id" field. - public const int MainLineIdFieldNumber = 3; - private int mainLineId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainLineId { - get { return mainLineId_; } - set { - mainLineId_ = value; - } - } - - /// Field number for the "world_class_level" field. - public const int WorldClassLevelFieldNumber = 4; - private int worldClassLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClassLevel { - get { return worldClassLevel_; } - set { - worldClassLevel_ = value; - } - } - - /// Field number for the "episode" field. - public const int EpisodeFieldNumber = 5; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "image" field. - 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"); - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 7; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "how_reward" field. - public const int HowRewardFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_howReward_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField howReward_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField HowReward { - get { return howReward_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DailyInstanceType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DailyInstanceType 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 (MainLineId != other.MainLineId) return false; - if (WorldClassLevel != other.WorldClassLevel) return false; - if (Episode != other.Episode) return false; - if (Image != other.Image) return false; - if (Sort != other.Sort) return false; - if(!howReward_.Equals(other.howReward_)) 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 (MainLineId != 0) hash ^= MainLineId.GetHashCode(); - if (WorldClassLevel != 0) hash ^= WorldClassLevel.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Image.Length != 0) hash ^= Image.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - hash ^= howReward_.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 (MainLineId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MainLineId); - } - if (WorldClassLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(WorldClassLevel); - } - if (Episode.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Image); - } - if (Sort != 0) { - output.WriteRawTag(56); - output.WriteInt32(Sort); - } - howReward_.WriteTo(output, _repeated_howReward_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (MainLineId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MainLineId); - } - if (WorldClassLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(WorldClassLevel); - } - if (Episode.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Image); - } - if (Sort != 0) { - output.WriteRawTag(56); - output.WriteInt32(Sort); - } - howReward_.WriteTo(ref output, _repeated_howReward_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (MainLineId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainLineId); - } - if (WorldClassLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClassLevel); - } - if (Episode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Image.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - size += howReward_.CalculateSize(_repeated_howReward_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DailyInstanceType other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.MainLineId != 0) { - MainLineId = other.MainLineId; - } - if (other.WorldClassLevel != 0) { - WorldClassLevel = other.WorldClassLevel; - } - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Image.Length != 0) { - Image = other.Image; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - howReward_.Add(other.howReward_); - _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: { - MainLineId = input.ReadInt32(); - break; - } - case 32: { - WorldClassLevel = input.ReadInt32(); - break; - } - case 42: { - Episode = input.ReadString(); - break; - } - case 50: { - Image = input.ReadString(); - break; - } - case 56: { - Sort = input.ReadInt32(); - break; - } - case 66: - case 64: { - howReward_.AddEntriesFrom(input, _repeated_howReward_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 18: { - Name = input.ReadString(); - break; - } - case 24: { - MainLineId = input.ReadInt32(); - break; - } - case 32: { - WorldClassLevel = input.ReadInt32(); - break; - } - case 42: { - Episode = input.ReadString(); - break; - } - case 50: { - Image = input.ReadString(); - break; - } - case 56: { - Sort = input.ReadInt32(); - break; - } - case 66: - case 64: { - howReward_.AddEntriesFrom(ref input, _repeated_howReward_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyQuest.cs b/Novaria.Common/Protos/DailyQuest.cs deleted file mode 100644 index 3a9fae7..0000000 --- a/Novaria.Common/Protos/DailyQuest.cs +++ /dev/null @@ -1,748 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DailyQuest.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 DailyQuest.proto - public static partial class DailyQuestReflection { - - #region Descriptor - /// File descriptor for DailyQuest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DailyQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBEYWlseVF1ZXN0LnByb3RvIsUCCgpEYWlseVF1ZXN0EgoKAmlkGAEgASgF", - "Eg0KBXRpdGxlGAIgASgJEgwKBGRlc2MYAyABKAkSDwoHanVtcF90bxgEIAEo", - "BRINCgVvcmRlchgFIAEoBRIOCgZhY3RpdmUYBiABKAUSDQoFYXBlYXIYByAB", - "KAgSFgoOYWNjZXB0X3BhcmFtczIYCCABKAkSFQoNY29tcGxldGVfY29uZBgJ", - "IAEoBRIcChRjb21wbGV0ZV9jb25kX3BhcmFtcxgKIAEoCRIcChRjb21wbGV0", - "ZV9jb25kX2NsaWVudBgLIAEoBRIfChdjbGllbnRfY29tcGxldGVfcGFyYW1z", - "MRgMIAMoBRIfChdjbGllbnRfY29tcGxldGVfcGFyYW1zMhgNIAMoBRIQCghp", - "dGVtX3RpZBgOIAEoBRIQCghpdGVtX3F0eRgPIAEoBUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuest), global::Nova.Client.DailyQuest.Parser, new[]{ "Id", "Title", "Desc", "JumpTo", "Order", "Active", "Apear", "AcceptParams2", "CompleteCond", "CompleteCondParams", "CompleteCondClient", "ClientCompleteParams1", "ClientCompleteParams2", "ItemTid", "ItemQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DailyQuest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyQuest()); - 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.DailyQuestReflection.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 DailyQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyQuest(DailyQuest other) : this() { - id_ = other.id_; - title_ = other.title_; - desc_ = other.desc_; - jumpTo_ = other.jumpTo_; - order_ = other.order_; - active_ = other.active_; - apear_ = other.apear_; - acceptParams2_ = other.acceptParams2_; - completeCond_ = other.completeCond_; - completeCondParams_ = other.completeCondParams_; - completeCondClient_ = other.completeCondClient_; - clientCompleteParams1_ = other.clientCompleteParams1_.Clone(); - clientCompleteParams2_ = other.clientCompleteParams2_.Clone(); - itemTid_ = other.itemTid_; - itemQty_ = other.itemQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyQuest Clone() { - return new DailyQuest(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "jump_to" field. - public const int JumpToFieldNumber = 4; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// Field number for the "order" field. - public const int OrderFieldNumber = 5; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// Field number for the "active" field. - public const int ActiveFieldNumber = 6; - private int active_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Active { - get { return active_; } - set { - active_ = value; - } - } - - /// Field number for the "apear" field. - public const int ApearFieldNumber = 7; - private bool apear_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Apear { - get { return apear_; } - set { - apear_ = value; - } - } - - /// Field number for the "accept_params2" field. - public const int AcceptParams2FieldNumber = 8; - private string acceptParams2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AcceptParams2 { - get { return acceptParams2_; } - set { - acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "complete_cond" field. - public const int CompleteCondFieldNumber = 9; - private int completeCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCond { - get { return completeCond_; } - set { - completeCond_ = value; - } - } - - /// Field number for the "complete_cond_params" field. - public const int CompleteCondParamsFieldNumber = 10; - private string completeCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteCondParams { - get { return completeCondParams_; } - set { - completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "complete_cond_client" field. - public const int CompleteCondClientFieldNumber = 11; - private int completeCondClient_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCondClient { - get { return completeCondClient_; } - set { - completeCondClient_ = value; - } - } - - /// Field number for the "client_complete_params1" field. - public const int ClientCompleteParams1FieldNumber = 12; - private static readonly pb::FieldCodec _repeated_clientCompleteParams1_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField clientCompleteParams1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ClientCompleteParams1 { - get { return clientCompleteParams1_; } - } - - /// Field number for the "client_complete_params2" field. - public const int ClientCompleteParams2FieldNumber = 13; - private static readonly pb::FieldCodec _repeated_clientCompleteParams2_codec - = pb::FieldCodec.ForInt32(106); - private readonly pbc::RepeatedField clientCompleteParams2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ClientCompleteParams2 { - get { return clientCompleteParams2_; } - } - - /// Field number for the "item_tid" field. - public const int ItemTidFieldNumber = 14; - private int itemTid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemTid { - get { return itemTid_; } - set { - itemTid_ = value; - } - } - - /// Field number for the "item_qty" field. - public const int ItemQtyFieldNumber = 15; - private int itemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty { - get { return itemQty_; } - set { - itemQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DailyQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DailyQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (JumpTo != other.JumpTo) return false; - if (Order != other.Order) return false; - if (Active != other.Active) return false; - if (Apear != other.Apear) return false; - if (AcceptParams2 != other.AcceptParams2) return false; - if (CompleteCond != other.CompleteCond) return false; - if (CompleteCondParams != other.CompleteCondParams) return false; - if (CompleteCondClient != other.CompleteCondClient) return false; - if(!clientCompleteParams1_.Equals(other.clientCompleteParams1_)) return false; - if(!clientCompleteParams2_.Equals(other.clientCompleteParams2_)) return false; - if (ItemTid != other.ItemTid) return false; - if (ItemQty != other.ItemQty) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Order != 0) hash ^= Order.GetHashCode(); - if (Active != 0) hash ^= Active.GetHashCode(); - if (Apear != false) hash ^= Apear.GetHashCode(); - if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode(); - if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); - if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); - if (CompleteCondClient != 0) hash ^= CompleteCondClient.GetHashCode(); - hash ^= clientCompleteParams1_.GetHashCode(); - hash ^= clientCompleteParams2_.GetHashCode(); - if (ItemTid != 0) hash ^= ItemTid.GetHashCode(); - if (ItemQty != 0) hash ^= ItemQty.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(40); - output.WriteInt32(Order); - } - if (Active != 0) { - output.WriteRawTag(48); - output.WriteInt32(Active); - } - if (Apear != false) { - output.WriteRawTag(56); - output.WriteBool(Apear); - } - if (AcceptParams2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(AcceptParams2); - } - if (CompleteCond != 0) { - output.WriteRawTag(72); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CompleteCondParams); - } - if (CompleteCondClient != 0) { - output.WriteRawTag(88); - output.WriteInt32(CompleteCondClient); - } - clientCompleteParams1_.WriteTo(output, _repeated_clientCompleteParams1_codec); - clientCompleteParams2_.WriteTo(output, _repeated_clientCompleteParams2_codec); - if (ItemTid != 0) { - output.WriteRawTag(112); - output.WriteInt32(ItemTid); - } - if (ItemQty != 0) { - output.WriteRawTag(120); - output.WriteInt32(ItemQty); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(40); - output.WriteInt32(Order); - } - if (Active != 0) { - output.WriteRawTag(48); - output.WriteInt32(Active); - } - if (Apear != false) { - output.WriteRawTag(56); - output.WriteBool(Apear); - } - if (AcceptParams2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(AcceptParams2); - } - if (CompleteCond != 0) { - output.WriteRawTag(72); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CompleteCondParams); - } - if (CompleteCondClient != 0) { - output.WriteRawTag(88); - output.WriteInt32(CompleteCondClient); - } - clientCompleteParams1_.WriteTo(ref output, _repeated_clientCompleteParams1_codec); - clientCompleteParams2_.WriteTo(ref output, _repeated_clientCompleteParams2_codec); - if (ItemTid != 0) { - output.WriteRawTag(112); - output.WriteInt32(ItemTid); - } - if (ItemQty != 0) { - output.WriteRawTag(120); - output.WriteInt32(ItemQty); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (Active != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active); - } - if (Apear != false) { - size += 1 + 1; - } - if (AcceptParams2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2); - } - if (CompleteCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); - } - if (CompleteCondClient != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCondClient); - } - size += clientCompleteParams1_.CalculateSize(_repeated_clientCompleteParams1_codec); - size += clientCompleteParams2_.CalculateSize(_repeated_clientCompleteParams2_codec); - if (ItemTid != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid); - } - if (ItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DailyQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.Active != 0) { - Active = other.Active; - } - if (other.Apear != false) { - Apear = other.Apear; - } - if (other.AcceptParams2.Length != 0) { - AcceptParams2 = other.AcceptParams2; - } - if (other.CompleteCond != 0) { - CompleteCond = other.CompleteCond; - } - if (other.CompleteCondParams.Length != 0) { - CompleteCondParams = other.CompleteCondParams; - } - if (other.CompleteCondClient != 0) { - CompleteCondClient = other.CompleteCondClient; - } - clientCompleteParams1_.Add(other.clientCompleteParams1_); - clientCompleteParams2_.Add(other.clientCompleteParams2_); - if (other.ItemTid != 0) { - ItemTid = other.ItemTid; - } - if (other.ItemQty != 0) { - ItemQty = other.ItemQty; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Order = input.ReadInt32(); - break; - } - case 48: { - Active = input.ReadInt32(); - break; - } - case 56: { - Apear = input.ReadBool(); - break; - } - case 66: { - AcceptParams2 = input.ReadString(); - break; - } - case 72: { - CompleteCond = input.ReadInt32(); - break; - } - case 82: { - CompleteCondParams = input.ReadString(); - break; - } - case 88: { - CompleteCondClient = input.ReadInt32(); - break; - } - case 98: - case 96: { - clientCompleteParams1_.AddEntriesFrom(input, _repeated_clientCompleteParams1_codec); - break; - } - case 106: - case 104: { - clientCompleteParams2_.AddEntriesFrom(input, _repeated_clientCompleteParams2_codec); - break; - } - case 112: { - ItemTid = input.ReadInt32(); - break; - } - case 120: { - ItemQty = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Order = input.ReadInt32(); - break; - } - case 48: { - Active = input.ReadInt32(); - break; - } - case 56: { - Apear = input.ReadBool(); - break; - } - case 66: { - AcceptParams2 = input.ReadString(); - break; - } - case 72: { - CompleteCond = input.ReadInt32(); - break; - } - case 82: { - CompleteCondParams = input.ReadString(); - break; - } - case 88: { - CompleteCondClient = input.ReadInt32(); - break; - } - case 98: - case 96: { - clientCompleteParams1_.AddEntriesFrom(ref input, _repeated_clientCompleteParams1_codec); - break; - } - case 106: - case 104: { - clientCompleteParams2_.AddEntriesFrom(ref input, _repeated_clientCompleteParams2_codec); - break; - } - case 112: { - ItemTid = input.ReadInt32(); - break; - } - case 120: { - ItemQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyQuestActive.cs b/Novaria.Common/Protos/DailyQuestActive.cs deleted file mode 100644 index 895ff2c..0000000 --- a/Novaria.Common/Protos/DailyQuestActive.cs +++ /dev/null @@ -1,428 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DailyQuestActive.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 DailyQuestActive.proto - public static partial class DailyQuestActiveReflection { - - #region Descriptor - /// File descriptor for DailyQuestActive.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DailyQuestActiveReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZEYWlseVF1ZXN0QWN0aXZlLnByb3RvInYKEERhaWx5UXVlc3RBY3RpdmUS", - "CgoCaWQYASABKAUSDgoGYWN0aXZlGAIgASgFEhEKCWl0ZW1fdGlkMRgDIAEo", - "BRIPCgdudW1iZXIxGAQgASgFEhEKCWl0ZW1fdGlkMhgFIAEoBRIPCgdudW1i", - "ZXIyGAYgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuestActive), global::Nova.Client.DailyQuestActive.Parser, new[]{ "Id", "Active", "ItemTid1", "Number1", "ItemTid2", "Number2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DailyQuestActive : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyQuestActive()); - 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.DailyQuestActiveReflection.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 DailyQuestActive() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyQuestActive(DailyQuestActive other) : this() { - id_ = other.id_; - active_ = other.active_; - itemTid1_ = other.itemTid1_; - number1_ = other.number1_; - itemTid2_ = other.itemTid2_; - number2_ = other.number2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyQuestActive Clone() { - return new DailyQuestActive(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 "active" field. - public const int ActiveFieldNumber = 2; - private int active_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Active { - get { return active_; } - set { - active_ = value; - } - } - - /// Field number for the "item_tid1" field. - public const int ItemTid1FieldNumber = 3; - private int itemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemTid1 { - get { return itemTid1_; } - set { - itemTid1_ = value; - } - } - - /// Field number for the "number1" field. - public const int Number1FieldNumber = 4; - private int number1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number1 { - get { return number1_; } - set { - number1_ = value; - } - } - - /// Field number for the "item_tid2" field. - public const int ItemTid2FieldNumber = 5; - private int itemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemTid2 { - get { return itemTid2_; } - set { - itemTid2_ = value; - } - } - - /// Field number for the "number2" field. - public const int Number2FieldNumber = 6; - private int number2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number2 { - get { return number2_; } - set { - number2_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DailyQuestActive); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DailyQuestActive other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Active != other.Active) return false; - if (ItemTid1 != other.ItemTid1) return false; - if (Number1 != other.Number1) return false; - if (ItemTid2 != other.ItemTid2) return false; - if (Number2 != other.Number2) 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 (Active != 0) hash ^= Active.GetHashCode(); - if (ItemTid1 != 0) hash ^= ItemTid1.GetHashCode(); - if (Number1 != 0) hash ^= Number1.GetHashCode(); - if (ItemTid2 != 0) hash ^= ItemTid2.GetHashCode(); - if (Number2 != 0) hash ^= Number2.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 (Active != 0) { - output.WriteRawTag(16); - output.WriteInt32(Active); - } - if (ItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(ItemTid1); - } - if (Number1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Number1); - } - if (ItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemTid2); - } - if (Number2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Number2); - } - 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 (Active != 0) { - output.WriteRawTag(16); - output.WriteInt32(Active); - } - if (ItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(ItemTid1); - } - if (Number1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Number1); - } - if (ItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemTid2); - } - if (Number2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Number2); - } - 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 (Active != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active); - } - if (ItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid1); - } - if (Number1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1); - } - if (ItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid2); - } - if (Number2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DailyQuestActive other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Active != 0) { - Active = other.Active; - } - if (other.ItemTid1 != 0) { - ItemTid1 = other.ItemTid1; - } - if (other.Number1 != 0) { - Number1 = other.Number1; - } - if (other.ItemTid2 != 0) { - ItemTid2 = other.ItemTid2; - } - if (other.Number2 != 0) { - Number2 = other.Number2; - } - _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: { - Active = input.ReadInt32(); - break; - } - case 24: { - ItemTid1 = input.ReadInt32(); - break; - } - case 32: { - Number1 = input.ReadInt32(); - break; - } - case 40: { - ItemTid2 = input.ReadInt32(); - break; - } - case 48: { - Number2 = 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: { - Active = input.ReadInt32(); - break; - } - case 24: { - ItemTid1 = input.ReadInt32(); - break; - } - case 32: { - Number1 = input.ReadInt32(); - break; - } - case 40: { - ItemTid2 = input.ReadInt32(); - break; - } - case 48: { - Number2 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyQuestAward.cs b/Novaria.Common/Protos/DailyQuestAward.cs deleted file mode 100644 index c7b9036..0000000 --- a/Novaria.Common/Protos/DailyQuestAward.cs +++ /dev/null @@ -1,503 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DailyQuestAward.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 DailyQuestAward.proto - public static partial class DailyQuestAwardReflection { - - #region Descriptor - /// File descriptor for DailyQuestAward.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DailyQuestAwardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVEYWlseVF1ZXN0QXdhcmQucHJvdG8imgEKD0RhaWx5UXVlc3RBd2FyZBIK", - "CgJpZBgBIAEoBRINCgV0aXRsZRgCIAEoCRISCgpuZWVkX3BvaW50GAMgASgF", - "EhAKCG51bV9zaG93GAQgASgFEhEKCWl0ZW1fdGlkMRgFIAEoBRIPCgdudW1i", - "ZXIxGAYgASgFEhEKCWl0ZW1fdGlkMhgHIAEoBRIPCgdudW1iZXIyGAggASgF", - "Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuestAward), global::Nova.Client.DailyQuestAward.Parser, new[]{ "Id", "Title", "NeedPoint", "NumShow", "ItemTid1", "Number1", "ItemTid2", "Number2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DailyQuestAward : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyQuestAward()); - 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.DailyQuestAwardReflection.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 DailyQuestAward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyQuestAward(DailyQuestAward other) : this() { - id_ = other.id_; - title_ = other.title_; - needPoint_ = other.needPoint_; - numShow_ = other.numShow_; - itemTid1_ = other.itemTid1_; - number1_ = other.number1_; - itemTid2_ = other.itemTid2_; - number2_ = other.number2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DailyQuestAward Clone() { - return new DailyQuestAward(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "need_point" field. - public const int NeedPointFieldNumber = 3; - private int needPoint_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedPoint { - get { return needPoint_; } - set { - needPoint_ = value; - } - } - - /// Field number for the "num_show" field. - public const int NumShowFieldNumber = 4; - private int numShow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NumShow { - get { return numShow_; } - set { - numShow_ = value; - } - } - - /// Field number for the "item_tid1" field. - public const int ItemTid1FieldNumber = 5; - private int itemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemTid1 { - get { return itemTid1_; } - set { - itemTid1_ = value; - } - } - - /// Field number for the "number1" field. - public const int Number1FieldNumber = 6; - private int number1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number1 { - get { return number1_; } - set { - number1_ = value; - } - } - - /// Field number for the "item_tid2" field. - public const int ItemTid2FieldNumber = 7; - private int itemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemTid2 { - get { return itemTid2_; } - set { - itemTid2_ = value; - } - } - - /// Field number for the "number2" field. - public const int Number2FieldNumber = 8; - private int number2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Number2 { - get { return number2_; } - set { - number2_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DailyQuestAward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DailyQuestAward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (NeedPoint != other.NeedPoint) return false; - if (NumShow != other.NumShow) return false; - if (ItemTid1 != other.ItemTid1) return false; - if (Number1 != other.Number1) return false; - if (ItemTid2 != other.ItemTid2) return false; - if (Number2 != other.Number2) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (NeedPoint != 0) hash ^= NeedPoint.GetHashCode(); - if (NumShow != 0) hash ^= NumShow.GetHashCode(); - if (ItemTid1 != 0) hash ^= ItemTid1.GetHashCode(); - if (Number1 != 0) hash ^= Number1.GetHashCode(); - if (ItemTid2 != 0) hash ^= ItemTid2.GetHashCode(); - if (Number2 != 0) hash ^= Number2.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (NeedPoint != 0) { - output.WriteRawTag(24); - output.WriteInt32(NeedPoint); - } - if (NumShow != 0) { - output.WriteRawTag(32); - output.WriteInt32(NumShow); - } - if (ItemTid1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemTid1); - } - if (Number1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Number1); - } - if (ItemTid2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemTid2); - } - if (Number2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Number2); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (NeedPoint != 0) { - output.WriteRawTag(24); - output.WriteInt32(NeedPoint); - } - if (NumShow != 0) { - output.WriteRawTag(32); - output.WriteInt32(NumShow); - } - if (ItemTid1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemTid1); - } - if (Number1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Number1); - } - if (ItemTid2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemTid2); - } - if (Number2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Number2); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (NeedPoint != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedPoint); - } - if (NumShow != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumShow); - } - if (ItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid1); - } - if (Number1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1); - } - if (ItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid2); - } - if (Number2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DailyQuestAward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.NeedPoint != 0) { - NeedPoint = other.NeedPoint; - } - if (other.NumShow != 0) { - NumShow = other.NumShow; - } - if (other.ItemTid1 != 0) { - ItemTid1 = other.ItemTid1; - } - if (other.Number1 != 0) { - Number1 = other.Number1; - } - if (other.ItemTid2 != 0) { - ItemTid2 = other.ItemTid2; - } - if (other.Number2 != 0) { - Number2 = other.Number2; - } - _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: { - Title = input.ReadString(); - break; - } - case 24: { - NeedPoint = input.ReadInt32(); - break; - } - case 32: { - NumShow = input.ReadInt32(); - break; - } - case 40: { - ItemTid1 = input.ReadInt32(); - break; - } - case 48: { - Number1 = input.ReadInt32(); - break; - } - case 56: { - ItemTid2 = input.ReadInt32(); - break; - } - case 64: { - Number2 = 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 18: { - Title = input.ReadString(); - break; - } - case 24: { - NeedPoint = input.ReadInt32(); - break; - } - case 32: { - NumShow = input.ReadInt32(); - break; - } - case 40: { - ItemTid1 = input.ReadInt32(); - break; - } - case 48: { - Number1 = input.ReadInt32(); - break; - } - case 56: { - ItemTid2 = input.ReadInt32(); - break; - } - case 64: { - Number2 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DailyShopRewardReceive.cs b/Novaria.Common/Protos/DailyShopRewardReceive.cs new file mode 100644 index 0000000..f2ae195 --- /dev/null +++ b/Novaria.Common/Protos/DailyShopRewardReceive.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: daily_shop_reward_receive.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 Proto { + + /// Holder for reflection information generated from daily_shop_reward_receive.proto + public static partial class DailyShopRewardReceiveReflection { + + #region Descriptor + /// File descriptor for daily_shop_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DailyShopRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch9kYWlseV9zaG9wX3Jld2FyZF9yZWNlaXZlLnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/DatingCharResponse.cs b/Novaria.Common/Protos/DatingCharResponse.cs deleted file mode 100644 index 914d331..0000000 --- a/Novaria.Common/Protos/DatingCharResponse.cs +++ /dev/null @@ -1,466 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DatingCharResponse.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 DatingCharResponse.proto - public static partial class DatingCharResponseReflection { - - #region Descriptor - /// File descriptor for DatingCharResponse.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DatingCharResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhEYXRpbmdDaGFyUmVzcG9uc2UucHJvdG8ihwEKEkRhdGluZ0NoYXJSZXNw", - "b25zZRIKCgJpZBgBIAEoBRIPCgdjaGFyX2lkGAIgASgFEgwKBHR5cGUYAyAB", - "KAkSEQoJdm9pY2Vfa2V5GAQgASgJEg4KBmFjdGlvbhgFIAEoCRINCgV3b3Jk", - "cxgGIAEoCRIUCgxidWJibGVfZW1vamkYByABKAlCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingCharResponse), global::Nova.Client.DatingCharResponse.Parser, new[]{ "Id", "CharId", "Type", "VoiceKey", "Action", "Words", "BubbleEmoji" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DatingCharResponse : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DatingCharResponse()); - 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.DatingCharResponseReflection.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 DatingCharResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DatingCharResponse(DatingCharResponse other) : this() { - id_ = other.id_; - charId_ = other.charId_; - type_ = other.type_; - voiceKey_ = other.voiceKey_; - action_ = other.action_; - words_ = other.words_; - bubbleEmoji_ = other.bubbleEmoji_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DatingCharResponse Clone() { - return new DatingCharResponse(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 "char_id" field. - public const int CharIdFieldNumber = 2; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private string type_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Type { - get { return type_; } - set { - type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "voice_key" field. - public const int VoiceKeyFieldNumber = 4; - private string voiceKey_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string VoiceKey { - get { return voiceKey_; } - set { - voiceKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "action" field. - public const int ActionFieldNumber = 5; - private string action_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Action { - get { return action_; } - set { - action_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "words" field. - public const int WordsFieldNumber = 6; - private string words_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Words { - get { return words_; } - set { - words_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bubble_emoji" field. - public const int BubbleEmojiFieldNumber = 7; - private string bubbleEmoji_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BubbleEmoji { - get { return bubbleEmoji_; } - set { - bubbleEmoji_ = 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 DatingCharResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DatingCharResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharId != other.CharId) return false; - if (Type != other.Type) return false; - if (VoiceKey != other.VoiceKey) return false; - if (Action != other.Action) return false; - if (Words != other.Words) return false; - if (BubbleEmoji != other.BubbleEmoji) 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 (CharId != 0) hash ^= CharId.GetHashCode(); - if (Type.Length != 0) hash ^= Type.GetHashCode(); - if (VoiceKey.Length != 0) hash ^= VoiceKey.GetHashCode(); - if (Action.Length != 0) hash ^= Action.GetHashCode(); - if (Words.Length != 0) hash ^= Words.GetHashCode(); - if (BubbleEmoji.Length != 0) hash ^= BubbleEmoji.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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (Type.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Type); - } - if (VoiceKey.Length != 0) { - output.WriteRawTag(34); - output.WriteString(VoiceKey); - } - if (Action.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Action); - } - if (Words.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Words); - } - if (BubbleEmoji.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BubbleEmoji); - } - 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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (Type.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Type); - } - if (VoiceKey.Length != 0) { - output.WriteRawTag(34); - output.WriteString(VoiceKey); - } - if (Action.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Action); - } - if (Words.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Words); - } - if (BubbleEmoji.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BubbleEmoji); - } - 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 (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (Type.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); - } - if (VoiceKey.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(VoiceKey); - } - if (Action.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Action); - } - if (Words.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Words); - } - if (BubbleEmoji.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BubbleEmoji); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DatingCharResponse other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.Type.Length != 0) { - Type = other.Type; - } - if (other.VoiceKey.Length != 0) { - VoiceKey = other.VoiceKey; - } - if (other.Action.Length != 0) { - Action = other.Action; - } - if (other.Words.Length != 0) { - Words = other.Words; - } - if (other.BubbleEmoji.Length != 0) { - BubbleEmoji = other.BubbleEmoji; - } - _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: { - CharId = input.ReadInt32(); - break; - } - case 26: { - Type = input.ReadString(); - break; - } - case 34: { - VoiceKey = input.ReadString(); - break; - } - case 42: { - Action = input.ReadString(); - break; - } - case 50: { - Words = input.ReadString(); - break; - } - case 58: { - BubbleEmoji = 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: { - CharId = input.ReadInt32(); - break; - } - case 26: { - Type = input.ReadString(); - break; - } - case 34: { - VoiceKey = input.ReadString(); - break; - } - case 42: { - Action = input.ReadString(); - break; - } - case 50: { - Words = input.ReadString(); - break; - } - case 58: { - BubbleEmoji = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DatingEvent.cs b/Novaria.Common/Protos/DatingEvent.cs deleted file mode 100644 index ed29124..0000000 --- a/Novaria.Common/Protos/DatingEvent.cs +++ /dev/null @@ -1,709 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DatingEvent.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 DatingEvent.proto - public static partial class DatingEventReflection { - - #region Descriptor - /// File descriptor for DatingEvent.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DatingEventReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFEYXRpbmdFdmVudC5wcm90byKDAgoLRGF0aW5nRXZlbnQSCgoCaWQYASAB", - "KAUSGQoRZGF0aW5nX2V2ZW50X3R5cGUYAiABKAUSGwoTZGF0aW5nX2V2ZW50", - "X3BhcmFtcxgDIAMoBRIRCgltdXRleF90YWcYBCABKAUSEAoIc29ydF90YWcY", - "BSABKAUSEAoIYWZmaW5pdHkYBiABKAUSDgoGcmV3YXJkGAcgAygFEg0KBWRl", - "c2MxGAggASgJEg0KBWRlc2MyGAkgASgJEg0KBWRlc2MzGAogASgJEhAKCHJl", - "c3BvbnNlGAsgASgJEgwKBG5hbWUYDCABKAkSDAoEY2x1ZRgNIAEoCRIOCgZt", - "ZW1vcnkYDiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingEvent), global::Nova.Client.DatingEvent.Parser, new[]{ "Id", "DatingEventType", "DatingEventParams", "MutexTag", "SortTag", "Affinity", "Reward", "Desc1", "Desc2", "Desc3", "Response", "Name", "Clue", "Memory" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DatingEvent : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DatingEvent()); - 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.DatingEventReflection.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 DatingEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DatingEvent(DatingEvent other) : this() { - id_ = other.id_; - datingEventType_ = other.datingEventType_; - datingEventParams_ = other.datingEventParams_.Clone(); - mutexTag_ = other.mutexTag_; - sortTag_ = other.sortTag_; - affinity_ = other.affinity_; - reward_ = other.reward_.Clone(); - desc1_ = other.desc1_; - desc2_ = other.desc2_; - desc3_ = other.desc3_; - response_ = other.response_; - name_ = other.name_; - clue_ = other.clue_; - memory_ = other.memory_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DatingEvent Clone() { - return new DatingEvent(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 "dating_event_type" field. - public const int DatingEventTypeFieldNumber = 2; - private int datingEventType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DatingEventType { - get { return datingEventType_; } - set { - datingEventType_ = value; - } - } - - /// Field number for the "dating_event_params" field. - public const int DatingEventParamsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_datingEventParams_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField datingEventParams_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField DatingEventParams { - get { return datingEventParams_; } - } - - /// Field number for the "mutex_tag" field. - public const int MutexTagFieldNumber = 4; - private int mutexTag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MutexTag { - get { return mutexTag_; } - set { - mutexTag_ = value; - } - } - - /// Field number for the "sort_tag" field. - public const int SortTagFieldNumber = 5; - private int sortTag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortTag { - get { return sortTag_; } - set { - sortTag_ = value; - } - } - - /// Field number for the "affinity" field. - public const int AffinityFieldNumber = 6; - private int affinity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affinity { - get { return affinity_; } - set { - affinity_ = value; - } - } - - /// Field number for the "reward" field. - public const int RewardFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_reward_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField reward_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Reward { - get { return reward_; } - } - - /// Field number for the "desc1" field. - public const int Desc1FieldNumber = 8; - private string desc1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc1 { - get { return desc1_; } - set { - desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc2" field. - public const int Desc2FieldNumber = 9; - private string desc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc2 { - get { return desc2_; } - set { - desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc3" field. - public const int Desc3FieldNumber = 10; - private string desc3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc3 { - get { return desc3_; } - set { - desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "response" field. - public const int ResponseFieldNumber = 11; - private string response_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Response { - get { return response_; } - set { - response_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 12; - 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 "clue" field. - public const int ClueFieldNumber = 13; - private string clue_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Clue { - get { return clue_; } - set { - clue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "memory" field. - public const int MemoryFieldNumber = 14; - private string memory_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Memory { - get { return memory_; } - set { - memory_ = 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 DatingEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DatingEvent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (DatingEventType != other.DatingEventType) return false; - if(!datingEventParams_.Equals(other.datingEventParams_)) return false; - if (MutexTag != other.MutexTag) return false; - if (SortTag != other.SortTag) return false; - if (Affinity != other.Affinity) return false; - if(!reward_.Equals(other.reward_)) return false; - if (Desc1 != other.Desc1) return false; - if (Desc2 != other.Desc2) return false; - if (Desc3 != other.Desc3) return false; - if (Response != other.Response) return false; - if (Name != other.Name) return false; - if (Clue != other.Clue) return false; - if (Memory != other.Memory) 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 (DatingEventType != 0) hash ^= DatingEventType.GetHashCode(); - hash ^= datingEventParams_.GetHashCode(); - if (MutexTag != 0) hash ^= MutexTag.GetHashCode(); - if (SortTag != 0) hash ^= SortTag.GetHashCode(); - if (Affinity != 0) hash ^= Affinity.GetHashCode(); - hash ^= reward_.GetHashCode(); - if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); - if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); - if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); - if (Response.Length != 0) hash ^= Response.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Clue.Length != 0) hash ^= Clue.GetHashCode(); - if (Memory.Length != 0) hash ^= Memory.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 (DatingEventType != 0) { - output.WriteRawTag(16); - output.WriteInt32(DatingEventType); - } - datingEventParams_.WriteTo(output, _repeated_datingEventParams_codec); - if (MutexTag != 0) { - output.WriteRawTag(32); - output.WriteInt32(MutexTag); - } - if (SortTag != 0) { - output.WriteRawTag(40); - output.WriteInt32(SortTag); - } - if (Affinity != 0) { - output.WriteRawTag(48); - output.WriteInt32(Affinity); - } - reward_.WriteTo(output, _repeated_reward_codec); - if (Desc1.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Desc1); - } - if (Desc2.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc2); - } - if (Desc3.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Desc3); - } - if (Response.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Response); - } - if (Name.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Name); - } - if (Clue.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Clue); - } - if (Memory.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Memory); - } - 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 (DatingEventType != 0) { - output.WriteRawTag(16); - output.WriteInt32(DatingEventType); - } - datingEventParams_.WriteTo(ref output, _repeated_datingEventParams_codec); - if (MutexTag != 0) { - output.WriteRawTag(32); - output.WriteInt32(MutexTag); - } - if (SortTag != 0) { - output.WriteRawTag(40); - output.WriteInt32(SortTag); - } - if (Affinity != 0) { - output.WriteRawTag(48); - output.WriteInt32(Affinity); - } - reward_.WriteTo(ref output, _repeated_reward_codec); - if (Desc1.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Desc1); - } - if (Desc2.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc2); - } - if (Desc3.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Desc3); - } - if (Response.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Response); - } - if (Name.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Name); - } - if (Clue.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Clue); - } - if (Memory.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Memory); - } - 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 (DatingEventType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DatingEventType); - } - size += datingEventParams_.CalculateSize(_repeated_datingEventParams_codec); - if (MutexTag != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MutexTag); - } - if (SortTag != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortTag); - } - if (Affinity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affinity); - } - size += reward_.CalculateSize(_repeated_reward_codec); - if (Desc1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); - } - if (Desc2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); - } - if (Desc3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); - } - if (Response.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Response); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Clue.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Clue); - } - if (Memory.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Memory); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DatingEvent other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.DatingEventType != 0) { - DatingEventType = other.DatingEventType; - } - datingEventParams_.Add(other.datingEventParams_); - if (other.MutexTag != 0) { - MutexTag = other.MutexTag; - } - if (other.SortTag != 0) { - SortTag = other.SortTag; - } - if (other.Affinity != 0) { - Affinity = other.Affinity; - } - reward_.Add(other.reward_); - if (other.Desc1.Length != 0) { - Desc1 = other.Desc1; - } - if (other.Desc2.Length != 0) { - Desc2 = other.Desc2; - } - if (other.Desc3.Length != 0) { - Desc3 = other.Desc3; - } - if (other.Response.Length != 0) { - Response = other.Response; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Clue.Length != 0) { - Clue = other.Clue; - } - if (other.Memory.Length != 0) { - Memory = other.Memory; - } - _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: { - DatingEventType = input.ReadInt32(); - break; - } - case 26: - case 24: { - datingEventParams_.AddEntriesFrom(input, _repeated_datingEventParams_codec); - break; - } - case 32: { - MutexTag = input.ReadInt32(); - break; - } - case 40: { - SortTag = input.ReadInt32(); - break; - } - case 48: { - Affinity = input.ReadInt32(); - break; - } - case 58: - case 56: { - reward_.AddEntriesFrom(input, _repeated_reward_codec); - break; - } - case 66: { - Desc1 = input.ReadString(); - break; - } - case 74: { - Desc2 = input.ReadString(); - break; - } - case 82: { - Desc3 = input.ReadString(); - break; - } - case 90: { - Response = input.ReadString(); - break; - } - case 98: { - Name = input.ReadString(); - break; - } - case 106: { - Clue = input.ReadString(); - break; - } - case 114: { - Memory = 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: { - DatingEventType = input.ReadInt32(); - break; - } - case 26: - case 24: { - datingEventParams_.AddEntriesFrom(ref input, _repeated_datingEventParams_codec); - break; - } - case 32: { - MutexTag = input.ReadInt32(); - break; - } - case 40: { - SortTag = input.ReadInt32(); - break; - } - case 48: { - Affinity = input.ReadInt32(); - break; - } - case 58: - case 56: { - reward_.AddEntriesFrom(ref input, _repeated_reward_codec); - break; - } - case 66: { - Desc1 = input.ReadString(); - break; - } - case 74: { - Desc2 = input.ReadString(); - break; - } - case 82: { - Desc3 = input.ReadString(); - break; - } - case 90: { - Response = input.ReadString(); - break; - } - case 98: { - Name = input.ReadString(); - break; - } - case 106: { - Clue = input.ReadString(); - break; - } - case 114: { - Memory = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DatingLandmark.cs b/Novaria.Common/Protos/DatingLandmark.cs deleted file mode 100644 index 1cbfad0..0000000 --- a/Novaria.Common/Protos/DatingLandmark.cs +++ /dev/null @@ -1,390 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DatingLandmark.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 DatingLandmark.proto - public static partial class DatingLandmarkReflection { - - #region Descriptor - /// File descriptor for DatingLandmark.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DatingLandmarkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChREYXRpbmdMYW5kbWFyay5wcm90byJSCg5EYXRpbmdMYW5kbWFyaxIKCgJp", - "ZBgBIAEoBRIMCgRuYW1lGAIgASgJEgwKBGRlc2MYAyABKAkSDAoEaWNvbhgE", - "IAEoCRIKCgJiZxgFIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingLandmark), global::Nova.Client.DatingLandmark.Parser, new[]{ "Id", "Name", "Desc", "Icon", "Bg" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DatingLandmark : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DatingLandmark()); - 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.DatingLandmarkReflection.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 DatingLandmark() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DatingLandmark(DatingLandmark other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - icon_ = other.icon_; - bg_ = other.bg_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DatingLandmark Clone() { - return new DatingLandmark(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "icon" field. - public const int IconFieldNumber = 4; - 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 "bg" field. - public const int BgFieldNumber = 5; - private string bg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bg { - get { return bg_; } - set { - bg_ = 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 DatingLandmark); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DatingLandmark 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 (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (Bg != other.Bg) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Bg.Length != 0) hash ^= Bg.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (Bg.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Bg); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (Bg.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Bg); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Bg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DatingLandmark other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - 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.Bg.Length != 0) { - Bg = other.Bg; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - Bg = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - Bg = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DestroyObject.cs b/Novaria.Common/Protos/DestroyObject.cs deleted file mode 100644 index 63ba8a9..0000000 --- a/Novaria.Common/Protos/DestroyObject.cs +++ /dev/null @@ -1,428 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DestroyObject.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 DestroyObject.proto - public static partial class DestroyObjectReflection { - - #region Descriptor - /// File descriptor for DestroyObject.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DestroyObjectReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNEZXN0cm95T2JqZWN0LnByb3RvIm4KDURlc3Ryb3lPYmplY3QSCgoCaWQY", - "ASABKAUSDAoEbmFtZRgCIAEoCRIKCgJsdhgDIAEoBRIUCgxhdHRyaWJ1dGVf", - "aWQYBCABKAkSEAoIdGVtcGxldGUYBSABKAUSDwoHZmFjdGlvbhgGIAEoBUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DestroyObject), global::Nova.Client.DestroyObject.Parser, new[]{ "Id", "Name", "Lv", "AttributeId", "Templete", "Faction" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DestroyObject : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyObject()); - 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.DestroyObjectReflection.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 DestroyObject() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DestroyObject(DestroyObject other) : this() { - id_ = other.id_; - name_ = other.name_; - lv_ = other.lv_; - attributeId_ = other.attributeId_; - templete_ = other.templete_; - faction_ = other.faction_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DestroyObject Clone() { - return new DestroyObject(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 "name" field. - 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"); - } - } - - /// Field number for the "lv" field. - public const int LvFieldNumber = 3; - private int lv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Lv { - get { return lv_; } - set { - lv_ = value; - } - } - - /// Field number for the "attribute_id" field. - public const int AttributeIdFieldNumber = 4; - private string attributeId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttributeId { - get { return attributeId_; } - set { - attributeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "templete" field. - public const int TempleteFieldNumber = 5; - private int templete_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Templete { - get { return templete_; } - set { - templete_ = value; - } - } - - /// Field number for the "faction" field. - public const int FactionFieldNumber = 6; - private int faction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Faction { - get { return faction_; } - set { - faction_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DestroyObject); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DestroyObject 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 (Lv != other.Lv) return false; - if (AttributeId != other.AttributeId) return false; - if (Templete != other.Templete) return false; - if (Faction != other.Faction) 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 (Lv != 0) hash ^= Lv.GetHashCode(); - if (AttributeId.Length != 0) hash ^= AttributeId.GetHashCode(); - if (Templete != 0) hash ^= Templete.GetHashCode(); - if (Faction != 0) hash ^= Faction.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 (Lv != 0) { - output.WriteRawTag(24); - output.WriteInt32(Lv); - } - if (AttributeId.Length != 0) { - output.WriteRawTag(34); - output.WriteString(AttributeId); - } - if (Templete != 0) { - output.WriteRawTag(40); - output.WriteInt32(Templete); - } - if (Faction != 0) { - output.WriteRawTag(48); - output.WriteInt32(Faction); - } - 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 (Lv != 0) { - output.WriteRawTag(24); - output.WriteInt32(Lv); - } - if (AttributeId.Length != 0) { - output.WriteRawTag(34); - output.WriteString(AttributeId); - } - if (Templete != 0) { - output.WriteRawTag(40); - output.WriteInt32(Templete); - } - if (Faction != 0) { - output.WriteRawTag(48); - output.WriteInt32(Faction); - } - 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 (Lv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lv); - } - if (AttributeId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeId); - } - if (Templete != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Templete); - } - if (Faction != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Faction); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DestroyObject other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Lv != 0) { - Lv = other.Lv; - } - if (other.AttributeId.Length != 0) { - AttributeId = other.AttributeId; - } - if (other.Templete != 0) { - Templete = other.Templete; - } - if (other.Faction != 0) { - Faction = other.Faction; - } - _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: { - Lv = input.ReadInt32(); - break; - } - case 34: { - AttributeId = input.ReadString(); - break; - } - case 40: { - Templete = input.ReadInt32(); - break; - } - case 48: { - Faction = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - Lv = input.ReadInt32(); - break; - } - case 34: { - AttributeId = input.ReadString(); - break; - } - case 40: { - Templete = input.ReadInt32(); - break; - } - case 48: { - Faction = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DictionaryDiagram.cs b/Novaria.Common/Protos/DictionaryDiagram.cs deleted file mode 100644 index 3b62e4d..0000000 --- a/Novaria.Common/Protos/DictionaryDiagram.cs +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DictionaryDiagram.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 DictionaryDiagram.proto - public static partial class DictionaryDiagramReflection { - - #region Descriptor - /// File descriptor for DictionaryDiagram.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DictionaryDiagramReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdEaWN0aW9uYXJ5RGlhZ3JhbS5wcm90byJKChFEaWN0aW9uYXJ5RGlhZ3Jh", - "bRIKCgJpZBgBIAEoBRINCgV0aXRsZRgCIAEoCRIMCgRkZXNjGAMgASgJEgwK", - "BGljb24YBCABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryDiagram), global::Nova.Client.DictionaryDiagram.Parser, new[]{ "Id", "Title", "Desc", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DictionaryDiagram : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DictionaryDiagram()); - 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.DictionaryDiagramReflection.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 DictionaryDiagram() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryDiagram(DictionaryDiagram other) : this() { - id_ = other.id_; - title_ = other.title_; - desc_ = other.desc_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryDiagram Clone() { - return new DictionaryDiagram(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "icon" field. - public const int IconFieldNumber = 4; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DictionaryDiagram); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DictionaryDiagram other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DictionaryDiagram other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Icon = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DictionaryEntry.cs b/Novaria.Common/Protos/DictionaryEntry.cs deleted file mode 100644 index 3f9e686..0000000 --- a/Novaria.Common/Protos/DictionaryEntry.cs +++ /dev/null @@ -1,531 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DictionaryEntry.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 DictionaryEntry.proto - public static partial class DictionaryEntryReflection { - - #region Descriptor - /// File descriptor for DictionaryEntry.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DictionaryEntryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVEaWN0aW9uYXJ5RW50cnkucHJvdG8imQEKD0RpY3Rpb25hcnlFbnRyeRIK", - "CgJpZBgBIAEoBRINCgVpbmRleBgCIAEoBRINCgV0aXRsZRgDIAEoCRILCgN0", - "YWIYBCABKAUSDwoHaXRlbV9pZBgFIAEoBRILCgNxdHkYBiABKAUSFAoMZGlh", - "Z3JhbV9saXN0GAcgAygFEgwKBHNvcnQYCCABKAUSDQoFcG9wdXAYCSABKAhC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryEntry), global::Nova.Client.DictionaryEntry.Parser, new[]{ "Id", "Index", "Title", "Tab", "ItemId", "Qty", "DiagramList", "Sort", "Popup" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DictionaryEntry : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DictionaryEntry()); - 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.DictionaryEntryReflection.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 DictionaryEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryEntry(DictionaryEntry other) : this() { - id_ = other.id_; - index_ = other.index_; - title_ = other.title_; - tab_ = other.tab_; - itemId_ = other.itemId_; - qty_ = other.qty_; - diagramList_ = other.diagramList_.Clone(); - sort_ = other.sort_; - popup_ = other.popup_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryEntry Clone() { - return new DictionaryEntry(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 "index" field. - public const int IndexFieldNumber = 2; - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { return index_; } - set { - index_ = value; - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tab" field. - public const int TabFieldNumber = 4; - private int tab_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tab { - get { return tab_; } - set { - tab_ = value; - } - } - - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 5; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// Field number for the "qty" field. - public const int QtyFieldNumber = 6; - private int qty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty { - get { return qty_; } - set { - qty_ = value; - } - } - - /// Field number for the "diagram_list" field. - public const int DiagramListFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_diagramList_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField diagramList_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField DiagramList { - get { return diagramList_; } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 8; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "popup" field. - public const int PopupFieldNumber = 9; - private bool popup_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Popup { - get { return popup_; } - set { - popup_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DictionaryEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DictionaryEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Index != other.Index) return false; - if (Title != other.Title) return false; - if (Tab != other.Tab) return false; - if (ItemId != other.ItemId) return false; - if (Qty != other.Qty) return false; - if(!diagramList_.Equals(other.diagramList_)) return false; - if (Sort != other.Sort) return false; - if (Popup != other.Popup) 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 (Index != 0) hash ^= Index.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Tab != 0) hash ^= Tab.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (Qty != 0) hash ^= Qty.GetHashCode(); - hash ^= diagramList_.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (Popup != false) hash ^= Popup.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 (Index != 0) { - output.WriteRawTag(16); - output.WriteInt32(Index); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Tab != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tab); - } - if (ItemId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemId); - } - if (Qty != 0) { - output.WriteRawTag(48); - output.WriteInt32(Qty); - } - diagramList_.WriteTo(output, _repeated_diagramList_codec); - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - if (Popup != false) { - output.WriteRawTag(72); - output.WriteBool(Popup); - } - 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 (Index != 0) { - output.WriteRawTag(16); - output.WriteInt32(Index); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Tab != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tab); - } - if (ItemId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemId); - } - if (Qty != 0) { - output.WriteRawTag(48); - output.WriteInt32(Qty); - } - diagramList_.WriteTo(ref output, _repeated_diagramList_codec); - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - if (Popup != false) { - output.WriteRawTag(72); - output.WriteBool(Popup); - } - 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 (Index != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Tab != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tab); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (Qty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); - } - size += diagramList_.CalculateSize(_repeated_diagramList_codec); - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Popup != 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(DictionaryEntry other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Index != 0) { - Index = other.Index; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Tab != 0) { - Tab = other.Tab; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.Qty != 0) { - Qty = other.Qty; - } - diagramList_.Add(other.diagramList_); - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Popup != false) { - Popup = other.Popup; - } - _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: { - Index = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 32: { - Tab = input.ReadInt32(); - break; - } - case 40: { - ItemId = input.ReadInt32(); - break; - } - case 48: { - Qty = input.ReadInt32(); - break; - } - case 58: - case 56: { - diagramList_.AddEntriesFrom(input, _repeated_diagramList_codec); - break; - } - case 64: { - Sort = input.ReadInt32(); - break; - } - case 72: { - Popup = 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 16: { - Index = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 32: { - Tab = input.ReadInt32(); - break; - } - case 40: { - ItemId = input.ReadInt32(); - break; - } - case 48: { - Qty = input.ReadInt32(); - break; - } - case 58: - case 56: { - diagramList_.AddEntriesFrom(ref input, _repeated_diagramList_codec); - break; - } - case 64: { - Sort = input.ReadInt32(); - break; - } - case 72: { - Popup = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelLevel.cs b/Novaria.Common/Protos/DictionaryRewardReceive.cs similarity index 63% rename from Novaria.Common/Protos/TravelerDuelLevel.cs rename to Novaria.Common/Protos/DictionaryRewardReceive.cs index 2c21eaa..0bd7201 100644 --- a/Novaria.Common/Protos/TravelerDuelLevel.cs +++ b/Novaria.Common/Protos/DictionaryRewardReceive.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelLevel.proto +// source: dictionary_reward_receive.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from TravelerDuelLevel.proto - public static partial class TravelerDuelLevelReflection { + /// Holder for reflection information generated from dictionary_reward_receive.proto + public static partial class DictionaryRewardReceiveReflection { #region Descriptor - /// File descriptor for TravelerDuelLevel.proto + /// File descriptor for dictionary_reward_receive.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static TravelerDuelLevelReflection() { + static DictionaryRewardReceiveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChdUcmF2ZWxlckR1ZWxMZXZlbC5wcm90byJRChFUcmF2ZWxlckR1ZWxMZXZl", - "bBIKCgJpZBgBIAEoBRIUCgxsZXZlbF91cF9leHAYAiABKAUSGgoSY29pbl9h", - "ZGRpdGlvbl9wcm9iGAMgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "Ch9kaWN0aW9uYXJ5X3Jld2FyZF9yZWNlaXZlLnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvIkMKDURpY3RSZXdhcmRSZXESDQoFVGFiSWQYASABKA0SDQoF", + "SW5kZXgYAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelLevel), global::Nova.Client.TravelerDuelLevel.Parser, new[]{ "Id", "LevelUpExp", "CoinAdditionProb" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DictRewardReq), global::Proto.DictRewardReq.Parser, new[]{ "TabId", "Index", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelLevel : pb::IMessage + public sealed partial class DictRewardReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TravelerDuelLevel()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DictRewardReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.TravelerDuelLevelReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.DictionaryRewardReceiveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelLevel() { + public DictRewardReq() { OnConstruction(); } @@ -71,73 +71,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelLevel(TravelerDuelLevel other) : this() { - id_ = other.id_; - levelUpExp_ = other.levelUpExp_; - coinAdditionProb_ = other.coinAdditionProb_; + public DictRewardReq(DictRewardReq other) : this() { + tabId_ = other.tabId_; + index_ = other.index_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelLevel Clone() { - return new TravelerDuelLevel(this); + public DictRewardReq Clone() { + return new DictRewardReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "TabId" field. + public const int TabIdFieldNumber = 1; + private uint tabId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint TabId { + get { return tabId_; } set { - id_ = value; + tabId_ = value; } } - /// Field number for the "level_up_exp" field. - public const int LevelUpExpFieldNumber = 2; - private int levelUpExp_; + /// Field number for the "Index" field. + public const int IndexFieldNumber = 2; + private uint index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelUpExp { - get { return levelUpExp_; } + public uint Index { + get { return index_; } set { - levelUpExp_ = value; + index_ = value; } } - /// Field number for the "coin_addition_prob" field. - public const int CoinAdditionProbFieldNumber = 3; - private int coinAdditionProb_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CoinAdditionProb { - get { return coinAdditionProb_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - coinAdditionProb_ = value; + nextPackage_ = 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 TravelerDuelLevel); + return Equals(other as DictRewardReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelLevel other) { + public bool Equals(DictRewardReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (LevelUpExp != other.LevelUpExp) return false; - if (CoinAdditionProb != other.CoinAdditionProb) return false; + if (TabId != other.TabId) return false; + if (Index != other.Index) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (LevelUpExp != 0) hash ^= LevelUpExp.GetHashCode(); - if (CoinAdditionProb != 0) hash ^= CoinAdditionProb.GetHashCode(); + if (TabId != 0) hash ^= TabId.GetHashCode(); + if (Index != 0) hash ^= Index.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (TabId != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(TabId); } - if (LevelUpExp != 0) { + if (Index != 0) { output.WriteRawTag(16); - output.WriteInt32(LevelUpExp); + output.WriteUInt32(Index); } - if (CoinAdditionProb != 0) { - output.WriteRawTag(24); - output.WriteInt32(CoinAdditionProb); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (TabId != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(TabId); } - if (LevelUpExp != 0) { + if (Index != 0) { output.WriteRawTag(16); - output.WriteInt32(LevelUpExp); + output.WriteUInt32(Index); } - if (CoinAdditionProb != 0) { - output.WriteRawTag(24); - output.WriteInt32(CoinAdditionProb); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (TabId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TabId); } - if (LevelUpExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelUpExp); + if (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); } - if (CoinAdditionProb != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CoinAdditionProb); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelLevel other) { + public void MergeFrom(DictRewardReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.TabId != 0) { + TabId = other.TabId; } - if (other.LevelUpExp != 0) { - LevelUpExp = other.LevelUpExp; + if (other.Index != 0) { + Index = other.Index; } - if (other.CoinAdditionProb != 0) { - CoinAdditionProb = other.CoinAdditionProb; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + TabId = input.ReadUInt32(); break; } case 16: { - LevelUpExp = input.ReadInt32(); + Index = input.ReadUInt32(); break; } - case 24: { - CoinAdditionProb = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + TabId = input.ReadUInt32(); break; } case 16: { - LevelUpExp = input.ReadInt32(); + Index = input.ReadUInt32(); break; } - case 24: { - CoinAdditionProb = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DictionaryTab.cs b/Novaria.Common/Protos/DictionaryTab.cs deleted file mode 100644 index a3571a6..0000000 --- a/Novaria.Common/Protos/DictionaryTab.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DictionaryTab.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 DictionaryTab.proto - public static partial class DictionaryTabReflection { - - #region Descriptor - /// File descriptor for DictionaryTab.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DictionaryTabReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNEaWN0aW9uYXJ5VGFiLnByb3RvImMKDURpY3Rpb25hcnlUYWISDgoGdGFi", - "X2lkGAEgASgFEgwKBGljb24YAiABKAkSDQoFaWNvbjIYAyABKAkSDQoFdGl0", - "bGUYBCABKAkSFgoOaGlkZV9pbl9iYXR0bGUYBSABKAhCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryTab), global::Nova.Client.DictionaryTab.Parser, new[]{ "TabId", "Icon", "Icon2", "Title", "HideInBattle" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DictionaryTab : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DictionaryTab()); - 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.DictionaryTabReflection.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 DictionaryTab() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryTab(DictionaryTab other) : this() { - tabId_ = other.tabId_; - icon_ = other.icon_; - icon2_ = other.icon2_; - title_ = other.title_; - hideInBattle_ = other.hideInBattle_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryTab Clone() { - return new DictionaryTab(this); - } - - /// Field number for the "tab_id" field. - public const int TabIdFieldNumber = 1; - private int tabId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TabId { - get { return tabId_; } - set { - tabId_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 2; - 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 "icon2" field. - public const int Icon2FieldNumber = 3; - private string icon2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon2 { - get { return icon2_; } - set { - icon2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 4; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "hide_in_battle" field. - public const int HideInBattleFieldNumber = 5; - private bool hideInBattle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HideInBattle { - get { return hideInBattle_; } - set { - hideInBattle_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DictionaryTab); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DictionaryTab other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (TabId != other.TabId) return false; - if (Icon != other.Icon) return false; - if (Icon2 != other.Icon2) return false; - if (Title != other.Title) return false; - if (HideInBattle != other.HideInBattle) 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 (TabId != 0) hash ^= TabId.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Icon2.Length != 0) hash ^= Icon2.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (HideInBattle != false) hash ^= HideInBattle.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 (TabId != 0) { - output.WriteRawTag(8); - output.WriteInt32(TabId); - } - if (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - if (Icon2.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon2); - } - if (Title.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title); - } - if (HideInBattle != false) { - output.WriteRawTag(40); - output.WriteBool(HideInBattle); - } - 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 (TabId != 0) { - output.WriteRawTag(8); - output.WriteInt32(TabId); - } - if (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - if (Icon2.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon2); - } - if (Title.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title); - } - if (HideInBattle != false) { - output.WriteRawTag(40); - output.WriteBool(HideInBattle); - } - 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 (TabId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TabId); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Icon2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon2); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (HideInBattle != 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(DictionaryTab other) { - if (other == null) { - return; - } - if (other.TabId != 0) { - TabId = other.TabId; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Icon2.Length != 0) { - Icon2 = other.Icon2; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.HideInBattle != false) { - HideInBattle = other.HideInBattle; - } - _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: { - TabId = input.ReadInt32(); - break; - } - case 18: { - Icon = input.ReadString(); - break; - } - case 26: { - Icon2 = input.ReadString(); - break; - } - case 34: { - Title = input.ReadString(); - break; - } - case 40: { - HideInBattle = 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: { - TabId = input.ReadInt32(); - break; - } - case 18: { - Icon = input.ReadString(); - break; - } - case 26: { - Icon2 = input.ReadString(); - break; - } - case 34: { - Title = input.ReadString(); - break; - } - case 40: { - HideInBattle = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Disc.cs b/Novaria.Common/Protos/Disc.cs deleted file mode 100644 index 208f08f..0000000 --- a/Novaria.Common/Protos/Disc.cs +++ /dev/null @@ -1,1328 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Disc.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 Disc.proto - public static partial class DiscReflection { - - #region Descriptor - /// File descriptor for Disc.proto - 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 - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Disc()); - 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.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); - } - - /// 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 "e_e_t" field. - 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; - } - } - - /// Field number for the "tags" field. - public const int TagsFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_tags_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Tags { - get { return tags_; } - } - - /// Field number for the "visible" field. - 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; - } - } - - /// Field number for the "available" field. - 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; - } - } - - /// Field number for the "image" field. - 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"); - } - } - - /// Field number for the "note" field. - public const int NoteFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_note_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField note_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Note { - get { return note_; } - } - - /// Field number for the "disc_bg" field. - 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"); - } - } - - /// Field number for the "card" field. - 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"); - } - } - - /// Field number for the "gacha_bg" field. - 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"); - } - } - - /// Field number for the "strengthen_group_id" field. - 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; - } - } - - /// Field number for the "attr_base_group_id" field. - 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; - } - } - - /// Field number for the "promote_group_id" field. - 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; - } - } - - /// Field number for the "transform_item_id" field. - 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; - } - } - - /// Field number for the "max_star_transform_item" field. - public const int MaxStarTransformItemFieldNumber = 15; - private static readonly pb::FieldCodec _repeated_maxStarTransformItem_codec - = pb::FieldCodec.ForInt32(122); - private readonly pbc::RepeatedField maxStarTransformItem_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField MaxStarTransformItem { - get { return maxStarTransformItem_; } - } - - /// Field number for the "passive_skill_group_id" field. - 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; - } - } - - /// Field number for the "common_skill_id1" field. - 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; - } - } - - /// Field number for the "common_skill_id2" field. - 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; - } - } - - /// Field number for the "read_reward" field. - public const int ReadRewardFieldNumber = 19; - private static readonly pb::FieldCodec _repeated_readReward_codec - = pb::FieldCodec.ForInt32(154); - private readonly pbc::RepeatedField readReward_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ReadReward { - get { return readReward_; } - } - - /// Field number for the "vo_file" field. - 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"); - } - } - - /// Field number for the "vo_begin1" field. - 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; - } - } - - /// Field number for the "vo_loop1" field. - 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; - } - } - - /// Field number for the "vo_name1" field. - 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"); - } - } - - /// Field number for the "vo_begin2" field. - 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; - } - } - - /// Field number for the "vo_loop2" field. - 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; - } - } - - /// Field number for the "vo_name2" field. - 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"); - } - } - - /// Field number for the "vo_story" field. - 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"); - } - } - - /// Field number for the "story_name" field. - 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"); - } - } - - /// Field number for the "story_desc" field. - 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"); - } - } - - /// Field number for the "char_id" field. - 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; - } - } - - /// Field number for the "skill_script" field. - 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 diff --git a/Novaria.Common/Protos/DiscCommonSkill.cs b/Novaria.Common/Protos/DiscCommonSkill.cs deleted file mode 100644 index f968eec..0000000 --- a/Novaria.Common/Protos/DiscCommonSkill.cs +++ /dev/null @@ -1,919 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscCommonSkill.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 DiscCommonSkill.proto - public static partial class DiscCommonSkillReflection { - - #region Descriptor - /// File descriptor for DiscCommonSkill.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DiscCommonSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVEaXNjQ29tbW9uU2tpbGwucHJvdG8iyQMKD0Rpc2NDb21tb25Ta2lsbBIK", - "CgJpZBgBIAEoBRIYChBhY3RpdmVfbm90ZV90eXBlGAIgAygFEhcKD2FjdGl2", - "ZV9ub3RlX251bRgDIAMoBRISCgplZmZlY3RfaWQxGAQgAygFEhIKCmVmZmVj", - "dF9pZDIYBSADKAUSEgoKZWZmZWN0X2lkMxgGIAMoBRISCgplZmZlY3RfaWQ0", - "GAcgAygFEhIKCmVmZmVjdF9pZDUYCCADKAUSEgoKZWZmZWN0X2lkNhgJIAMo", - "BRISCgplZmZlY3RfaWQ3GAogAygFEhIKCmVmZmVjdF9pZDgYCyADKAUSEgoK", - "ZWZmZWN0X2lkORgMIAMoBRITCgtlZmZlY3RfaWQxMBgNIAMoBRITCgtsYXll", - "cl9zY29yZRgOIAMoBRIMCgRuYW1lGA8gASgJEgwKBGljb24YECABKAkSDwoH", - "aWNvbl9iZxgRIAEoCRIMCgRkZXNjGBIgASgJEg4KBnBhcmFtMRgTIAMoCRIO", - "CgZwYXJhbTIYFCADKAkSDgoGcGFyYW0zGBUgAygJEg4KBnBhcmFtNBgWIAMo", - "CRIOCgZwYXJhbTUYFyADKAkSDgoGcGFyYW02GBggAygJQg6qAgtOb3ZhLkNs", - "aWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscCommonSkill), global::Nova.Client.DiscCommonSkill.Parser, new[]{ "Id", "ActiveNoteType", "ActiveNoteNum", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "EffectId5", "EffectId6", "EffectId7", "EffectId8", "EffectId9", "EffectId10", "LayerScore", "Name", "Icon", "IconBg", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscCommonSkill : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscCommonSkill()); - 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.DiscCommonSkillReflection.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 DiscCommonSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscCommonSkill(DiscCommonSkill other) : this() { - id_ = other.id_; - activeNoteType_ = other.activeNoteType_.Clone(); - activeNoteNum_ = other.activeNoteNum_.Clone(); - effectId1_ = other.effectId1_.Clone(); - effectId2_ = other.effectId2_.Clone(); - effectId3_ = other.effectId3_.Clone(); - effectId4_ = other.effectId4_.Clone(); - effectId5_ = other.effectId5_.Clone(); - effectId6_ = other.effectId6_.Clone(); - effectId7_ = other.effectId7_.Clone(); - effectId8_ = other.effectId8_.Clone(); - effectId9_ = other.effectId9_.Clone(); - effectId10_ = other.effectId10_.Clone(); - layerScore_ = other.layerScore_.Clone(); - name_ = other.name_; - icon_ = other.icon_; - iconBg_ = other.iconBg_; - desc_ = other.desc_; - param1_ = other.param1_.Clone(); - param2_ = other.param2_.Clone(); - param3_ = other.param3_.Clone(); - param4_ = other.param4_.Clone(); - param5_ = other.param5_.Clone(); - param6_ = other.param6_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscCommonSkill Clone() { - return new DiscCommonSkill(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 "active_note_type" field. - public const int ActiveNoteTypeFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_activeNoteType_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField activeNoteType_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActiveNoteType { - get { return activeNoteType_; } - } - - /// Field number for the "active_note_num" field. - public const int ActiveNoteNumFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_activeNoteNum_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField activeNoteNum_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActiveNoteNum { - get { return activeNoteNum_; } - } - - /// Field number for the "effect_id1" field. - public const int EffectId1FieldNumber = 4; - private static readonly pb::FieldCodec _repeated_effectId1_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField effectId1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId1 { - get { return effectId1_; } - } - - /// Field number for the "effect_id2" field. - public const int EffectId2FieldNumber = 5; - private static readonly pb::FieldCodec _repeated_effectId2_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField effectId2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId2 { - get { return effectId2_; } - } - - /// Field number for the "effect_id3" field. - public const int EffectId3FieldNumber = 6; - private static readonly pb::FieldCodec _repeated_effectId3_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField effectId3_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId3 { - get { return effectId3_; } - } - - /// Field number for the "effect_id4" field. - public const int EffectId4FieldNumber = 7; - private static readonly pb::FieldCodec _repeated_effectId4_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField effectId4_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId4 { - get { return effectId4_; } - } - - /// Field number for the "effect_id5" field. - public const int EffectId5FieldNumber = 8; - private static readonly pb::FieldCodec _repeated_effectId5_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField effectId5_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId5 { - get { return effectId5_; } - } - - /// Field number for the "effect_id6" field. - public const int EffectId6FieldNumber = 9; - private static readonly pb::FieldCodec _repeated_effectId6_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField effectId6_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId6 { - get { return effectId6_; } - } - - /// Field number for the "effect_id7" field. - public const int EffectId7FieldNumber = 10; - private static readonly pb::FieldCodec _repeated_effectId7_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField effectId7_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId7 { - get { return effectId7_; } - } - - /// Field number for the "effect_id8" field. - public const int EffectId8FieldNumber = 11; - private static readonly pb::FieldCodec _repeated_effectId8_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField effectId8_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId8 { - get { return effectId8_; } - } - - /// Field number for the "effect_id9" field. - public const int EffectId9FieldNumber = 12; - private static readonly pb::FieldCodec _repeated_effectId9_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField effectId9_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId9 { - get { return effectId9_; } - } - - /// Field number for the "effect_id10" field. - public const int EffectId10FieldNumber = 13; - private static readonly pb::FieldCodec _repeated_effectId10_codec - = pb::FieldCodec.ForInt32(106); - private readonly pbc::RepeatedField effectId10_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId10 { - get { return effectId10_; } - } - - /// Field number for the "layer_score" field. - public const int LayerScoreFieldNumber = 14; - private static readonly pb::FieldCodec _repeated_layerScore_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField layerScore_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LayerScore { - get { return layerScore_; } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 15; - 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 "icon" field. - public const int IconFieldNumber = 16; - 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 "icon_bg" field. - public const int IconBgFieldNumber = 17; - private string iconBg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IconBg { - get { return iconBg_; } - set { - iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 18; - 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 "param1" field. - public const int Param1FieldNumber = 19; - private static readonly pb::FieldCodec _repeated_param1_codec - = pb::FieldCodec.ForString(154); - private readonly pbc::RepeatedField param1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param1 { - get { return param1_; } - } - - /// Field number for the "param2" field. - public const int Param2FieldNumber = 20; - private static readonly pb::FieldCodec _repeated_param2_codec - = pb::FieldCodec.ForString(162); - private readonly pbc::RepeatedField param2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param2 { - get { return param2_; } - } - - /// Field number for the "param3" field. - public const int Param3FieldNumber = 21; - private static readonly pb::FieldCodec _repeated_param3_codec - = pb::FieldCodec.ForString(170); - private readonly pbc::RepeatedField param3_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param3 { - get { return param3_; } - } - - /// Field number for the "param4" field. - public const int Param4FieldNumber = 22; - private static readonly pb::FieldCodec _repeated_param4_codec - = pb::FieldCodec.ForString(178); - private readonly pbc::RepeatedField param4_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param4 { - get { return param4_; } - } - - /// Field number for the "param5" field. - public const int Param5FieldNumber = 23; - private static readonly pb::FieldCodec _repeated_param5_codec - = pb::FieldCodec.ForString(186); - private readonly pbc::RepeatedField param5_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param5 { - get { return param5_; } - } - - /// Field number for the "param6" field. - public const int Param6FieldNumber = 24; - private static readonly pb::FieldCodec _repeated_param6_codec - = pb::FieldCodec.ForString(194); - private readonly pbc::RepeatedField param6_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param6 { - get { return param6_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DiscCommonSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscCommonSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if(!activeNoteType_.Equals(other.activeNoteType_)) return false; - if(!activeNoteNum_.Equals(other.activeNoteNum_)) return false; - if(!effectId1_.Equals(other.effectId1_)) return false; - if(!effectId2_.Equals(other.effectId2_)) return false; - if(!effectId3_.Equals(other.effectId3_)) return false; - if(!effectId4_.Equals(other.effectId4_)) return false; - if(!effectId5_.Equals(other.effectId5_)) return false; - if(!effectId6_.Equals(other.effectId6_)) return false; - if(!effectId7_.Equals(other.effectId7_)) return false; - if(!effectId8_.Equals(other.effectId8_)) return false; - if(!effectId9_.Equals(other.effectId9_)) return false; - if(!effectId10_.Equals(other.effectId10_)) return false; - if(!layerScore_.Equals(other.layerScore_)) return false; - if (Name != other.Name) return false; - if (Icon != other.Icon) return false; - if (IconBg != other.IconBg) return false; - if (Desc != other.Desc) return false; - if(!param1_.Equals(other.param1_)) return false; - if(!param2_.Equals(other.param2_)) return false; - if(!param3_.Equals(other.param3_)) return false; - if(!param4_.Equals(other.param4_)) return false; - if(!param5_.Equals(other.param5_)) return false; - if(!param6_.Equals(other.param6_)) 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(); - hash ^= activeNoteType_.GetHashCode(); - hash ^= activeNoteNum_.GetHashCode(); - hash ^= effectId1_.GetHashCode(); - hash ^= effectId2_.GetHashCode(); - hash ^= effectId3_.GetHashCode(); - hash ^= effectId4_.GetHashCode(); - hash ^= effectId5_.GetHashCode(); - hash ^= effectId6_.GetHashCode(); - hash ^= effectId7_.GetHashCode(); - hash ^= effectId8_.GetHashCode(); - hash ^= effectId9_.GetHashCode(); - hash ^= effectId10_.GetHashCode(); - hash ^= layerScore_.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - hash ^= param1_.GetHashCode(); - hash ^= param2_.GetHashCode(); - hash ^= param3_.GetHashCode(); - hash ^= param4_.GetHashCode(); - hash ^= param5_.GetHashCode(); - hash ^= param6_.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); - } - activeNoteType_.WriteTo(output, _repeated_activeNoteType_codec); - activeNoteNum_.WriteTo(output, _repeated_activeNoteNum_codec); - effectId1_.WriteTo(output, _repeated_effectId1_codec); - effectId2_.WriteTo(output, _repeated_effectId2_codec); - effectId3_.WriteTo(output, _repeated_effectId3_codec); - effectId4_.WriteTo(output, _repeated_effectId4_codec); - effectId5_.WriteTo(output, _repeated_effectId5_codec); - effectId6_.WriteTo(output, _repeated_effectId6_codec); - effectId7_.WriteTo(output, _repeated_effectId7_codec); - effectId8_.WriteTo(output, _repeated_effectId8_codec); - effectId9_.WriteTo(output, _repeated_effectId9_codec); - effectId10_.WriteTo(output, _repeated_effectId10_codec); - layerScore_.WriteTo(output, _repeated_layerScore_codec); - if (Name.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Icon); - } - if (IconBg.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(IconBg); - } - if (Desc.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Desc); - } - param1_.WriteTo(output, _repeated_param1_codec); - param2_.WriteTo(output, _repeated_param2_codec); - param3_.WriteTo(output, _repeated_param3_codec); - param4_.WriteTo(output, _repeated_param4_codec); - param5_.WriteTo(output, _repeated_param5_codec); - param6_.WriteTo(output, _repeated_param6_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); - } - activeNoteType_.WriteTo(ref output, _repeated_activeNoteType_codec); - activeNoteNum_.WriteTo(ref output, _repeated_activeNoteNum_codec); - effectId1_.WriteTo(ref output, _repeated_effectId1_codec); - effectId2_.WriteTo(ref output, _repeated_effectId2_codec); - effectId3_.WriteTo(ref output, _repeated_effectId3_codec); - effectId4_.WriteTo(ref output, _repeated_effectId4_codec); - effectId5_.WriteTo(ref output, _repeated_effectId5_codec); - effectId6_.WriteTo(ref output, _repeated_effectId6_codec); - effectId7_.WriteTo(ref output, _repeated_effectId7_codec); - effectId8_.WriteTo(ref output, _repeated_effectId8_codec); - effectId9_.WriteTo(ref output, _repeated_effectId9_codec); - effectId10_.WriteTo(ref output, _repeated_effectId10_codec); - layerScore_.WriteTo(ref output, _repeated_layerScore_codec); - if (Name.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Icon); - } - if (IconBg.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(IconBg); - } - if (Desc.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Desc); - } - param1_.WriteTo(ref output, _repeated_param1_codec); - param2_.WriteTo(ref output, _repeated_param2_codec); - param3_.WriteTo(ref output, _repeated_param3_codec); - param4_.WriteTo(ref output, _repeated_param4_codec); - param5_.WriteTo(ref output, _repeated_param5_codec); - param6_.WriteTo(ref output, _repeated_param6_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); - } - size += activeNoteType_.CalculateSize(_repeated_activeNoteType_codec); - size += activeNoteNum_.CalculateSize(_repeated_activeNoteNum_codec); - size += effectId1_.CalculateSize(_repeated_effectId1_codec); - size += effectId2_.CalculateSize(_repeated_effectId2_codec); - size += effectId3_.CalculateSize(_repeated_effectId3_codec); - size += effectId4_.CalculateSize(_repeated_effectId4_codec); - size += effectId5_.CalculateSize(_repeated_effectId5_codec); - size += effectId6_.CalculateSize(_repeated_effectId6_codec); - size += effectId7_.CalculateSize(_repeated_effectId7_codec); - size += effectId8_.CalculateSize(_repeated_effectId8_codec); - size += effectId9_.CalculateSize(_repeated_effectId9_codec); - size += effectId10_.CalculateSize(_repeated_effectId10_codec); - size += layerScore_.CalculateSize(_repeated_layerScore_codec); - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (IconBg.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(IconBg); - } - if (Desc.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - size += param1_.CalculateSize(_repeated_param1_codec); - size += param2_.CalculateSize(_repeated_param2_codec); - size += param3_.CalculateSize(_repeated_param3_codec); - size += param4_.CalculateSize(_repeated_param4_codec); - size += param5_.CalculateSize(_repeated_param5_codec); - size += param6_.CalculateSize(_repeated_param6_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscCommonSkill other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - activeNoteType_.Add(other.activeNoteType_); - activeNoteNum_.Add(other.activeNoteNum_); - effectId1_.Add(other.effectId1_); - effectId2_.Add(other.effectId2_); - effectId3_.Add(other.effectId3_); - effectId4_.Add(other.effectId4_); - effectId5_.Add(other.effectId5_); - effectId6_.Add(other.effectId6_); - effectId7_.Add(other.effectId7_); - effectId8_.Add(other.effectId8_); - effectId9_.Add(other.effectId9_); - effectId10_.Add(other.effectId10_); - layerScore_.Add(other.layerScore_); - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.IconBg.Length != 0) { - IconBg = other.IconBg; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - param1_.Add(other.param1_); - param2_.Add(other.param2_); - param3_.Add(other.param3_); - param4_.Add(other.param4_); - param5_.Add(other.param5_); - param6_.Add(other.param6_); - _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: - case 16: { - activeNoteType_.AddEntriesFrom(input, _repeated_activeNoteType_codec); - break; - } - case 26: - case 24: { - activeNoteNum_.AddEntriesFrom(input, _repeated_activeNoteNum_codec); - break; - } - case 34: - case 32: { - effectId1_.AddEntriesFrom(input, _repeated_effectId1_codec); - break; - } - case 42: - case 40: { - effectId2_.AddEntriesFrom(input, _repeated_effectId2_codec); - break; - } - case 50: - case 48: { - effectId3_.AddEntriesFrom(input, _repeated_effectId3_codec); - break; - } - case 58: - case 56: { - effectId4_.AddEntriesFrom(input, _repeated_effectId4_codec); - break; - } - case 66: - case 64: { - effectId5_.AddEntriesFrom(input, _repeated_effectId5_codec); - break; - } - case 74: - case 72: { - effectId6_.AddEntriesFrom(input, _repeated_effectId6_codec); - break; - } - case 82: - case 80: { - effectId7_.AddEntriesFrom(input, _repeated_effectId7_codec); - break; - } - case 90: - case 88: { - effectId8_.AddEntriesFrom(input, _repeated_effectId8_codec); - break; - } - case 98: - case 96: { - effectId9_.AddEntriesFrom(input, _repeated_effectId9_codec); - break; - } - case 106: - case 104: { - effectId10_.AddEntriesFrom(input, _repeated_effectId10_codec); - break; - } - case 114: - case 112: { - layerScore_.AddEntriesFrom(input, _repeated_layerScore_codec); - break; - } - case 122: { - Name = input.ReadString(); - break; - } - case 130: { - Icon = input.ReadString(); - break; - } - case 138: { - IconBg = input.ReadString(); - break; - } - case 146: { - Desc = input.ReadString(); - break; - } - case 154: { - param1_.AddEntriesFrom(input, _repeated_param1_codec); - break; - } - case 162: { - param2_.AddEntriesFrom(input, _repeated_param2_codec); - break; - } - case 170: { - param3_.AddEntriesFrom(input, _repeated_param3_codec); - break; - } - case 178: { - param4_.AddEntriesFrom(input, _repeated_param4_codec); - break; - } - case 186: { - param5_.AddEntriesFrom(input, _repeated_param5_codec); - break; - } - case 194: { - param6_.AddEntriesFrom(input, _repeated_param6_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 18: - case 16: { - activeNoteType_.AddEntriesFrom(ref input, _repeated_activeNoteType_codec); - break; - } - case 26: - case 24: { - activeNoteNum_.AddEntriesFrom(ref input, _repeated_activeNoteNum_codec); - break; - } - case 34: - case 32: { - effectId1_.AddEntriesFrom(ref input, _repeated_effectId1_codec); - break; - } - case 42: - case 40: { - effectId2_.AddEntriesFrom(ref input, _repeated_effectId2_codec); - break; - } - case 50: - case 48: { - effectId3_.AddEntriesFrom(ref input, _repeated_effectId3_codec); - break; - } - case 58: - case 56: { - effectId4_.AddEntriesFrom(ref input, _repeated_effectId4_codec); - break; - } - case 66: - case 64: { - effectId5_.AddEntriesFrom(ref input, _repeated_effectId5_codec); - break; - } - case 74: - case 72: { - effectId6_.AddEntriesFrom(ref input, _repeated_effectId6_codec); - break; - } - case 82: - case 80: { - effectId7_.AddEntriesFrom(ref input, _repeated_effectId7_codec); - break; - } - case 90: - case 88: { - effectId8_.AddEntriesFrom(ref input, _repeated_effectId8_codec); - break; - } - case 98: - case 96: { - effectId9_.AddEntriesFrom(ref input, _repeated_effectId9_codec); - break; - } - case 106: - case 104: { - effectId10_.AddEntriesFrom(ref input, _repeated_effectId10_codec); - break; - } - case 114: - case 112: { - layerScore_.AddEntriesFrom(ref input, _repeated_layerScore_codec); - break; - } - case 122: { - Name = input.ReadString(); - break; - } - case 130: { - Icon = input.ReadString(); - break; - } - case 138: { - IconBg = input.ReadString(); - break; - } - case 146: { - Desc = input.ReadString(); - break; - } - case 154: { - param1_.AddEntriesFrom(ref input, _repeated_param1_codec); - break; - } - case 162: { - param2_.AddEntriesFrom(ref input, _repeated_param2_codec); - break; - } - case 170: { - param3_.AddEntriesFrom(ref input, _repeated_param3_codec); - break; - } - case 178: { - param4_.AddEntriesFrom(ref input, _repeated_param4_codec); - break; - } - case 186: { - param5_.AddEntriesFrom(ref input, _repeated_param5_codec); - break; - } - case 194: { - param6_.AddEntriesFrom(ref input, _repeated_param6_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DiscItemExp.cs b/Novaria.Common/Protos/DiscItemExp.cs deleted file mode 100644 index f9c0679..0000000 --- a/Novaria.Common/Protos/DiscItemExp.cs +++ /dev/null @@ -1,316 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscItemExp.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 DiscItemExp.proto - public static partial class DiscItemExpReflection { - - #region Descriptor - /// File descriptor for DiscItemExp.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DiscItemExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFEaXNjSXRlbUV4cC5wcm90byI3CgtEaXNjSXRlbUV4cBIKCgJpZBgBIAEo", - "BRIPCgdpdGVtX2lkGAIgASgFEgsKA2V4cBgDIAEoBUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscItemExp), global::Nova.Client.DiscItemExp.Parser, new[]{ "Id", "ItemId", "Exp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscItemExp : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscItemExp()); - 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.DiscItemExpReflection.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 DiscItemExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscItemExp(DiscItemExp other) : this() { - id_ = other.id_; - itemId_ = other.itemId_; - exp_ = other.exp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscItemExp Clone() { - return new DiscItemExp(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 "item_id" field. - public const int ItemIdFieldNumber = 2; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// Field number for the "exp" field. - public const int ExpFieldNumber = 3; - private int exp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } - set { - exp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DiscItemExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscItemExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ItemId != other.ItemId) return false; - if (Exp != other.Exp) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (Exp != 0) hash ^= Exp.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 (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - if (Exp != 0) { - output.WriteRawTag(24); - output.WriteInt32(Exp); - } - 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 (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - if (Exp != 0) { - output.WriteRawTag(24); - output.WriteInt32(Exp); - } - 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 (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscItemExp other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.Exp != 0) { - Exp = other.Exp; - } - _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: { - ItemId = input.ReadInt32(); - break; - } - case 24: { - Exp = 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: { - ItemId = input.ReadInt32(); - break; - } - case 24: { - Exp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DiscLimitBreak.cs b/Novaria.Common/Protos/DiscLimitBreak.cs new file mode 100644 index 0000000..3ea7834 --- /dev/null +++ b/Novaria.Common/Protos/DiscLimitBreak.cs @@ -0,0 +1,600 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: disc_limit_break.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 Proto { + + /// Holder for reflection information generated from disc_limit_break.proto + public static partial class DiscLimitBreakReflection { + + #region Descriptor + /// File descriptor for disc_limit_break.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DiscLimitBreakReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZkaXNjX2xpbWl0X2JyZWFrLnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "IkIKEURpc2NMaW1pdEJyZWFrUmVxEgoKAklkGAEgASgNEgsKA1F0eRgCIAEo", + "DRIUCgtOZXh0UGFja2FnZRj/DyABKAwiWwoSRGlzY0xpbWl0QnJlYWtSZXNw", + "EgwKBFN0YXIYASABKA0SIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdl", + "SW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscLimitBreakReq), global::Proto.DiscLimitBreakReq.Parser, new[]{ "Id", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscLimitBreakResp), global::Proto.DiscLimitBreakResp.Parser, new[]{ "Star", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscLimitBreakReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscLimitBreakReq()); + 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::Proto.DiscLimitBreakReflection.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 DiscLimitBreakReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscLimitBreakReq(DiscLimitBreakReq other) : this() { + id_ = other.id_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscLimitBreakReq Clone() { + return new DiscLimitBreakReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Qty" field. + public const int QtyFieldNumber = 2; + private uint qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DiscLimitBreakReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscLimitBreakReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscLimitBreakReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscLimitBreakResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscLimitBreakResp()); + 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::Proto.DiscLimitBreakReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscLimitBreakResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscLimitBreakResp(DiscLimitBreakResp other) : this() { + star_ = other.star_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscLimitBreakResp Clone() { + return new DiscLimitBreakResp(this); + } + + /// Field number for the "Star" field. + public const int StarFieldNumber = 1; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DiscLimitBreakResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscLimitBreakResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Star != other.Star) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscLimitBreakResp other) { + if (other == null) { + return; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Star = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Star = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/DiscPassiveSkill.cs b/Novaria.Common/Protos/DiscPassiveSkill.cs deleted file mode 100644 index a048736..0000000 --- a/Novaria.Common/Protos/DiscPassiveSkill.cs +++ /dev/null @@ -1,1272 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscPassiveSkill.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 DiscPassiveSkill.proto - public static partial class DiscPassiveSkillReflection { - - #region Descriptor - /// File descriptor for DiscPassiveSkill.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DiscPassiveSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZEaXNjUGFzc2l2ZVNraWxsLnByb3RvIqUEChBEaXNjUGFzc2l2ZVNraWxs", - "EgoKAmlkGAEgASgFEhAKCGdyb3VwX2lkGAIgASgFEg0KBWxldmVsGAMgASgF", - "Eg0KBWJyZWFrGAQgASgFEhEKCW1haW5fbm90ZRgFIAEoBRIVCg1hY3RpdmVf", - "cGFyYW0xGAYgASgJEhIKCmVmZmVjdF9pZDEYByADKAUSFQoNYWN0aXZlX3Bh", - "cmFtMhgIIAEoCRISCgplZmZlY3RfaWQyGAkgAygFEhUKDWFjdGl2ZV9wYXJh", - "bTMYCiABKAkSEgoKZWZmZWN0X2lkMxgLIAMoBRIVCg1hY3RpdmVfcGFyYW00", - "GAwgASgJEhIKCmVmZmVjdF9pZDQYDSADKAUSFQoNYWN0aXZlX3BhcmFtNRgO", - "IAEoCRISCgplZmZlY3RfaWQ1GA8gAygFEhMKC2xheWVyX3Njb3JlGBAgAygF", - "EgwKBG5hbWUYESABKAkSDAoEaWNvbhgSIAEoCRIPCgdpY29uX2JnGBMgASgJ", - "Eg0KBWRlc2MxGBQgASgJEg0KBWRlc2MyGBUgASgJEg0KBWRlc2MzGBYgASgJ", - "Eg0KBWRlc2M0GBcgASgJEg0KBWRlc2M1GBggASgJEg4KBnBhcmFtMRgZIAEo", - "CRIOCgZwYXJhbTIYGiABKAkSDgoGcGFyYW0zGBsgASgJEg4KBnBhcmFtNBgc", - "IAEoCRIOCgZwYXJhbTUYHSABKAkSDgoGcGFyYW02GB4gASgJQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPassiveSkill), global::Nova.Client.DiscPassiveSkill.Parser, new[]{ "Id", "GroupId", "Level", "Break", "MainNote", "ActiveParam1", "EffectId1", "ActiveParam2", "EffectId2", "ActiveParam3", "EffectId3", "ActiveParam4", "EffectId4", "ActiveParam5", "EffectId5", "LayerScore", "Name", "Icon", "IconBg", "Desc1", "Desc2", "Desc3", "Desc4", "Desc5", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscPassiveSkill : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscPassiveSkill()); - 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.DiscPassiveSkillReflection.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 DiscPassiveSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPassiveSkill(DiscPassiveSkill other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - level_ = other.level_; - break_ = other.break_; - mainNote_ = other.mainNote_; - activeParam1_ = other.activeParam1_; - effectId1_ = other.effectId1_.Clone(); - activeParam2_ = other.activeParam2_; - effectId2_ = other.effectId2_.Clone(); - activeParam3_ = other.activeParam3_; - effectId3_ = other.effectId3_.Clone(); - activeParam4_ = other.activeParam4_; - effectId4_ = other.effectId4_.Clone(); - activeParam5_ = other.activeParam5_; - effectId5_ = other.effectId5_.Clone(); - layerScore_ = other.layerScore_.Clone(); - name_ = other.name_; - icon_ = other.icon_; - iconBg_ = other.iconBg_; - desc1_ = other.desc1_; - desc2_ = other.desc2_; - desc3_ = other.desc3_; - desc4_ = other.desc4_; - desc5_ = other.desc5_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - param5_ = other.param5_; - param6_ = other.param6_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPassiveSkill Clone() { - return new DiscPassiveSkill(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 "group_id" field. - 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; - } - } - - /// Field number for the "level" field. - 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; - } - } - - /// Field number for the "break" field. - public const int BreakFieldNumber = 4; - private int break_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Break { - get { return break_; } - set { - break_ = value; - } - } - - /// Field number for the "main_note" field. - public const int MainNoteFieldNumber = 5; - private int mainNote_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainNote { - get { return mainNote_; } - set { - mainNote_ = value; - } - } - - /// Field number for the "active_param1" field. - public const int ActiveParam1FieldNumber = 6; - private string activeParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam1 { - get { return activeParam1_; } - set { - activeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_id1" field. - public const int EffectId1FieldNumber = 7; - private static readonly pb::FieldCodec _repeated_effectId1_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField effectId1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId1 { - get { return effectId1_; } - } - - /// Field number for the "active_param2" field. - public const int ActiveParam2FieldNumber = 8; - private string activeParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam2 { - get { return activeParam2_; } - set { - activeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_id2" field. - public const int EffectId2FieldNumber = 9; - private static readonly pb::FieldCodec _repeated_effectId2_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField effectId2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId2 { - get { return effectId2_; } - } - - /// Field number for the "active_param3" field. - public const int ActiveParam3FieldNumber = 10; - private string activeParam3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam3 { - get { return activeParam3_; } - set { - activeParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_id3" field. - public const int EffectId3FieldNumber = 11; - private static readonly pb::FieldCodec _repeated_effectId3_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField effectId3_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId3 { - get { return effectId3_; } - } - - /// Field number for the "active_param4" field. - public const int ActiveParam4FieldNumber = 12; - private string activeParam4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam4 { - get { return activeParam4_; } - set { - activeParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_id4" field. - public const int EffectId4FieldNumber = 13; - private static readonly pb::FieldCodec _repeated_effectId4_codec - = pb::FieldCodec.ForInt32(106); - private readonly pbc::RepeatedField effectId4_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId4 { - get { return effectId4_; } - } - - /// Field number for the "active_param5" field. - public const int ActiveParam5FieldNumber = 14; - private string activeParam5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam5 { - get { return activeParam5_; } - set { - activeParam5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_id5" field. - public const int EffectId5FieldNumber = 15; - private static readonly pb::FieldCodec _repeated_effectId5_codec - = pb::FieldCodec.ForInt32(122); - private readonly pbc::RepeatedField effectId5_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId5 { - get { return effectId5_; } - } - - /// Field number for the "layer_score" field. - public const int LayerScoreFieldNumber = 16; - private static readonly pb::FieldCodec _repeated_layerScore_codec - = pb::FieldCodec.ForInt32(130); - private readonly pbc::RepeatedField layerScore_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField LayerScore { - get { return layerScore_; } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 17; - 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 "icon" field. - public const int IconFieldNumber = 18; - 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 "icon_bg" field. - public const int IconBgFieldNumber = 19; - private string iconBg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IconBg { - get { return iconBg_; } - set { - iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc1" field. - public const int Desc1FieldNumber = 20; - private string desc1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc1 { - get { return desc1_; } - set { - desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc2" field. - public const int Desc2FieldNumber = 21; - private string desc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc2 { - get { return desc2_; } - set { - desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc3" field. - public const int Desc3FieldNumber = 22; - private string desc3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc3 { - get { return desc3_; } - set { - desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc4" field. - public const int Desc4FieldNumber = 23; - private string desc4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc4 { - get { return desc4_; } - set { - desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc5" field. - public const int Desc5FieldNumber = 24; - private string desc5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc5 { - get { return desc5_; } - set { - desc5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param1" field. - public const int Param1FieldNumber = 25; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param2" field. - public const int Param2FieldNumber = 26; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param3" field. - public const int Param3FieldNumber = 27; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param4" field. - public const int Param4FieldNumber = 28; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param5" field. - public const int Param5FieldNumber = 29; - private string param5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param5 { - get { return param5_; } - set { - param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param6" field. - public const int Param6FieldNumber = 30; - private string param6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param6 { - get { return param6_; } - set { - param6_ = 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 DiscPassiveSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscPassiveSkill 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 (Break != other.Break) return false; - if (MainNote != other.MainNote) return false; - if (ActiveParam1 != other.ActiveParam1) return false; - if(!effectId1_.Equals(other.effectId1_)) return false; - if (ActiveParam2 != other.ActiveParam2) return false; - if(!effectId2_.Equals(other.effectId2_)) return false; - if (ActiveParam3 != other.ActiveParam3) return false; - if(!effectId3_.Equals(other.effectId3_)) return false; - if (ActiveParam4 != other.ActiveParam4) return false; - if(!effectId4_.Equals(other.effectId4_)) return false; - if (ActiveParam5 != other.ActiveParam5) return false; - if(!effectId5_.Equals(other.effectId5_)) return false; - if(!layerScore_.Equals(other.layerScore_)) return false; - if (Name != other.Name) return false; - if (Icon != other.Icon) return false; - if (IconBg != other.IconBg) return false; - if (Desc1 != other.Desc1) return false; - if (Desc2 != other.Desc2) return false; - if (Desc3 != other.Desc3) return false; - if (Desc4 != other.Desc4) return false; - if (Desc5 != other.Desc5) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) return false; - if (Param5 != other.Param5) return false; - if (Param6 != other.Param6) 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 (Break != 0) hash ^= Break.GetHashCode(); - if (MainNote != 0) hash ^= MainNote.GetHashCode(); - if (ActiveParam1.Length != 0) hash ^= ActiveParam1.GetHashCode(); - hash ^= effectId1_.GetHashCode(); - if (ActiveParam2.Length != 0) hash ^= ActiveParam2.GetHashCode(); - hash ^= effectId2_.GetHashCode(); - if (ActiveParam3.Length != 0) hash ^= ActiveParam3.GetHashCode(); - hash ^= effectId3_.GetHashCode(); - if (ActiveParam4.Length != 0) hash ^= ActiveParam4.GetHashCode(); - hash ^= effectId4_.GetHashCode(); - if (ActiveParam5.Length != 0) hash ^= ActiveParam5.GetHashCode(); - hash ^= effectId5_.GetHashCode(); - hash ^= layerScore_.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); - if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); - if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); - if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); - if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); - if (Desc5.Length != 0) hash ^= Desc5.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.GetHashCode(); - if (Param5.Length != 0) hash ^= Param5.GetHashCode(); - if (Param6.Length != 0) hash ^= Param6.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 (Break != 0) { - output.WriteRawTag(32); - output.WriteInt32(Break); - } - if (MainNote != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainNote); - } - if (ActiveParam1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ActiveParam1); - } - effectId1_.WriteTo(output, _repeated_effectId1_codec); - if (ActiveParam2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ActiveParam2); - } - effectId2_.WriteTo(output, _repeated_effectId2_codec); - if (ActiveParam3.Length != 0) { - output.WriteRawTag(82); - output.WriteString(ActiveParam3); - } - effectId3_.WriteTo(output, _repeated_effectId3_codec); - if (ActiveParam4.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ActiveParam4); - } - effectId4_.WriteTo(output, _repeated_effectId4_codec); - if (ActiveParam5.Length != 0) { - output.WriteRawTag(114); - output.WriteString(ActiveParam5); - } - effectId5_.WriteTo(output, _repeated_effectId5_codec); - layerScore_.WriteTo(output, _repeated_layerScore_codec); - if (Name.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Icon); - } - if (IconBg.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(IconBg); - } - if (Desc1.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Desc1); - } - if (Desc2.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Desc2); - } - if (Desc3.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Desc3); - } - if (Desc4.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Desc4); - } - if (Desc5.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Desc5); - } - if (Param1.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(Param6); - } - 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 (Break != 0) { - output.WriteRawTag(32); - output.WriteInt32(Break); - } - if (MainNote != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainNote); - } - if (ActiveParam1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ActiveParam1); - } - effectId1_.WriteTo(ref output, _repeated_effectId1_codec); - if (ActiveParam2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ActiveParam2); - } - effectId2_.WriteTo(ref output, _repeated_effectId2_codec); - if (ActiveParam3.Length != 0) { - output.WriteRawTag(82); - output.WriteString(ActiveParam3); - } - effectId3_.WriteTo(ref output, _repeated_effectId3_codec); - if (ActiveParam4.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ActiveParam4); - } - effectId4_.WriteTo(ref output, _repeated_effectId4_codec); - if (ActiveParam5.Length != 0) { - output.WriteRawTag(114); - output.WriteString(ActiveParam5); - } - effectId5_.WriteTo(ref output, _repeated_effectId5_codec); - layerScore_.WriteTo(ref output, _repeated_layerScore_codec); - if (Name.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Icon); - } - if (IconBg.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(IconBg); - } - if (Desc1.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Desc1); - } - if (Desc2.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Desc2); - } - if (Desc3.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Desc3); - } - if (Desc4.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Desc4); - } - if (Desc5.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Desc5); - } - if (Param1.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(Param6); - } - 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 (Break != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); - } - if (MainNote != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainNote); - } - if (ActiveParam1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam1); - } - size += effectId1_.CalculateSize(_repeated_effectId1_codec); - if (ActiveParam2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam2); - } - size += effectId2_.CalculateSize(_repeated_effectId2_codec); - if (ActiveParam3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam3); - } - size += effectId3_.CalculateSize(_repeated_effectId3_codec); - if (ActiveParam4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam4); - } - size += effectId4_.CalculateSize(_repeated_effectId4_codec); - if (ActiveParam5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam5); - } - size += effectId5_.CalculateSize(_repeated_effectId5_codec); - size += layerScore_.CalculateSize(_repeated_layerScore_codec); - if (Name.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (IconBg.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(IconBg); - } - if (Desc1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc1); - } - if (Desc2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc2); - } - if (Desc3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc3); - } - if (Desc4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc4); - } - if (Desc5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc5); - } - if (Param1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (Param5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); - } - if (Param6.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscPassiveSkill 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.Break != 0) { - Break = other.Break; - } - if (other.MainNote != 0) { - MainNote = other.MainNote; - } - if (other.ActiveParam1.Length != 0) { - ActiveParam1 = other.ActiveParam1; - } - effectId1_.Add(other.effectId1_); - if (other.ActiveParam2.Length != 0) { - ActiveParam2 = other.ActiveParam2; - } - effectId2_.Add(other.effectId2_); - if (other.ActiveParam3.Length != 0) { - ActiveParam3 = other.ActiveParam3; - } - effectId3_.Add(other.effectId3_); - if (other.ActiveParam4.Length != 0) { - ActiveParam4 = other.ActiveParam4; - } - effectId4_.Add(other.effectId4_); - if (other.ActiveParam5.Length != 0) { - ActiveParam5 = other.ActiveParam5; - } - effectId5_.Add(other.effectId5_); - layerScore_.Add(other.layerScore_); - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.IconBg.Length != 0) { - IconBg = other.IconBg; - } - if (other.Desc1.Length != 0) { - Desc1 = other.Desc1; - } - if (other.Desc2.Length != 0) { - Desc2 = other.Desc2; - } - if (other.Desc3.Length != 0) { - Desc3 = other.Desc3; - } - if (other.Desc4.Length != 0) { - Desc4 = other.Desc4; - } - if (other.Desc5.Length != 0) { - Desc5 = other.Desc5; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - if (other.Param5.Length != 0) { - Param5 = other.Param5; - } - if (other.Param6.Length != 0) { - Param6 = other.Param6; - } - _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 32: { - Break = input.ReadInt32(); - break; - } - case 40: { - MainNote = input.ReadInt32(); - break; - } - case 50: { - ActiveParam1 = input.ReadString(); - break; - } - case 58: - case 56: { - effectId1_.AddEntriesFrom(input, _repeated_effectId1_codec); - break; - } - case 66: { - ActiveParam2 = input.ReadString(); - break; - } - case 74: - case 72: { - effectId2_.AddEntriesFrom(input, _repeated_effectId2_codec); - break; - } - case 82: { - ActiveParam3 = input.ReadString(); - break; - } - case 90: - case 88: { - effectId3_.AddEntriesFrom(input, _repeated_effectId3_codec); - break; - } - case 98: { - ActiveParam4 = input.ReadString(); - break; - } - case 106: - case 104: { - effectId4_.AddEntriesFrom(input, _repeated_effectId4_codec); - break; - } - case 114: { - ActiveParam5 = input.ReadString(); - break; - } - case 122: - case 120: { - effectId5_.AddEntriesFrom(input, _repeated_effectId5_codec); - break; - } - case 130: - case 128: { - layerScore_.AddEntriesFrom(input, _repeated_layerScore_codec); - break; - } - case 138: { - Name = input.ReadString(); - break; - } - case 146: { - Icon = input.ReadString(); - break; - } - case 154: { - IconBg = input.ReadString(); - break; - } - case 162: { - Desc1 = input.ReadString(); - break; - } - case 170: { - Desc2 = input.ReadString(); - break; - } - case 178: { - Desc3 = input.ReadString(); - break; - } - case 186: { - Desc4 = input.ReadString(); - break; - } - case 194: { - Desc5 = input.ReadString(); - break; - } - case 202: { - Param1 = input.ReadString(); - break; - } - case 210: { - Param2 = input.ReadString(); - break; - } - case 218: { - Param3 = input.ReadString(); - break; - } - case 226: { - Param4 = input.ReadString(); - break; - } - case 234: { - Param5 = input.ReadString(); - break; - } - case 242: { - Param6 = 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: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - Level = input.ReadInt32(); - break; - } - case 32: { - Break = input.ReadInt32(); - break; - } - case 40: { - MainNote = input.ReadInt32(); - break; - } - case 50: { - ActiveParam1 = input.ReadString(); - break; - } - case 58: - case 56: { - effectId1_.AddEntriesFrom(ref input, _repeated_effectId1_codec); - break; - } - case 66: { - ActiveParam2 = input.ReadString(); - break; - } - case 74: - case 72: { - effectId2_.AddEntriesFrom(ref input, _repeated_effectId2_codec); - break; - } - case 82: { - ActiveParam3 = input.ReadString(); - break; - } - case 90: - case 88: { - effectId3_.AddEntriesFrom(ref input, _repeated_effectId3_codec); - break; - } - case 98: { - ActiveParam4 = input.ReadString(); - break; - } - case 106: - case 104: { - effectId4_.AddEntriesFrom(ref input, _repeated_effectId4_codec); - break; - } - case 114: { - ActiveParam5 = input.ReadString(); - break; - } - case 122: - case 120: { - effectId5_.AddEntriesFrom(ref input, _repeated_effectId5_codec); - break; - } - case 130: - case 128: { - layerScore_.AddEntriesFrom(ref input, _repeated_layerScore_codec); - break; - } - case 138: { - Name = input.ReadString(); - break; - } - case 146: { - Icon = input.ReadString(); - break; - } - case 154: { - IconBg = input.ReadString(); - break; - } - case 162: { - Desc1 = input.ReadString(); - break; - } - case 170: { - Desc2 = input.ReadString(); - break; - } - case 178: { - Desc3 = input.ReadString(); - break; - } - case 186: { - Desc4 = input.ReadString(); - break; - } - case 194: { - Desc5 = input.ReadString(); - break; - } - case 202: { - Param1 = input.ReadString(); - break; - } - case 210: { - Param2 = input.ReadString(); - break; - } - case 218: { - Param3 = input.ReadString(); - break; - } - case 226: { - Param4 = input.ReadString(); - break; - } - case 234: { - Param5 = input.ReadString(); - break; - } - case 242: { - Param6 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DiscPromote.cs b/Novaria.Common/Protos/DiscPromote.cs index 0ca17aa..4c58cba 100644 --- a/Novaria.Common/Protos/DiscPromote.cs +++ b/Novaria.Common/Protos/DiscPromote.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscPromote.proto +// source: disc_promote.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,13 +9,13 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from DiscPromote.proto + /// Holder for reflection information generated from disc_promote.proto public static partial class DiscPromoteReflection { #region Descriptor - /// File descriptor for DiscPromote.proto + /// File descriptor for disc_promote.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -24,15 +24,16 @@ namespace Nova.Client { static DiscPromoteReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChFEaXNjUHJvbW90ZS5wcm90byKvAQoLRGlzY1Byb21vdGUSCgoCaWQYASAB", - "KAUSEAoIaXRlbV9pZDEYAiABKAUSDAoEbnVtMRgDIAEoBRIQCghpdGVtX2lk", - "MhgEIAEoBRIMCgRudW0yGAUgASgFEhAKCGl0ZW1faWQzGAYgASgFEgwKBG51", - "bTMYByABKAUSEAoIaXRlbV9pZDQYCCABKAUSDAoEbnVtNBgJIAEoBRIUCgxl", - "eHBlbnNlX2dvbGQYCiABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChJkaXNjX3Byb21vdGUucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iMgoO", + "RGlzY1Byb21vdGVSZXESCgoCSWQYASABKA0SFAoLTmV4dFBhY2thZ2UY/w8g", + "ASgMIlkKD0Rpc2NQcm9tb3RlUmVzcBINCgVQaGFzZRgBIAEoDRIhCgZDaGFu", + "Z2UYAiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPromote), global::Nova.Client.DiscPromote.Parser, new[]{ "Id", "ItemId1", "Num1", "ItemId2", "Num2", "ItemId3", "Num3", "ItemId4", "Num4", "ExpenseGold" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscPromoteReq), global::Proto.DiscPromoteReq.Parser, new[]{ "Id", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscPromoteResp), global::Proto.DiscPromoteResp.Parser, new[]{ "Phase", "Change", "NextPackage" }, null, null, null, null) })); } #endregion @@ -40,21 +41,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscPromote : pb::IMessage + public sealed partial class DiscPromoteReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscPromote()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscPromoteReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.DiscPromoteReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.DiscPromoteReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -65,7 +66,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPromote() { + public DiscPromoteReq() { OnConstruction(); } @@ -73,155 +74,51 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPromote(DiscPromote other) : this() { + public DiscPromoteReq(DiscPromoteReq other) : this() { id_ = other.id_; - itemId1_ = other.itemId1_; - num1_ = other.num1_; - itemId2_ = other.itemId2_; - num2_ = other.num2_; - itemId3_ = other.itemId3_; - num3_ = other.num3_; - itemId4_ = other.itemId4_; - num4_ = other.num4_; - expenseGold_ = other.expenseGold_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPromote Clone() { - return new DiscPromote(this); + public DiscPromoteReq Clone() { + return new DiscPromoteReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// Field number for the "item_id1" field. - public const int ItemId1FieldNumber = 2; - private int itemId1_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId1 { - get { return itemId1_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - itemId1_ = value; - } - } - - /// Field number for the "num1" field. - public const int Num1FieldNumber = 3; - private int num1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Num1 { - get { return num1_; } - set { - num1_ = value; - } - } - - /// Field number for the "item_id2" field. - public const int ItemId2FieldNumber = 4; - private int itemId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId2 { - get { return itemId2_; } - set { - itemId2_ = value; - } - } - - /// Field number for the "num2" field. - public const int Num2FieldNumber = 5; - private int num2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Num2 { - get { return num2_; } - set { - num2_ = value; - } - } - - /// Field number for the "item_id3" field. - public const int ItemId3FieldNumber = 6; - private int itemId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId3 { - get { return itemId3_; } - set { - itemId3_ = value; - } - } - - /// Field number for the "num3" field. - public const int Num3FieldNumber = 7; - private int num3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Num3 { - get { return num3_; } - set { - num3_ = value; - } - } - - /// Field number for the "item_id4" field. - public const int ItemId4FieldNumber = 8; - private int itemId4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId4 { - get { return itemId4_; } - set { - itemId4_ = value; - } - } - - /// Field number for the "num4" field. - public const int Num4FieldNumber = 9; - private int num4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Num4 { - get { return num4_; } - set { - num4_ = value; - } - } - - /// Field number for the "expense_gold" field. - public const int ExpenseGoldFieldNumber = 10; - private int expenseGold_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExpenseGold { - get { return expenseGold_; } - set { - expenseGold_ = value; + nextPackage_ = 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 DiscPromote); + return Equals(other as DiscPromoteReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscPromote other) { + public bool Equals(DiscPromoteReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -229,15 +126,7 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (ItemId1 != other.ItemId1) return false; - if (Num1 != other.Num1) return false; - if (ItemId2 != other.ItemId2) return false; - if (Num2 != other.Num2) return false; - if (ItemId3 != other.ItemId3) return false; - if (Num3 != other.Num3) return false; - if (ItemId4 != other.ItemId4) return false; - if (Num4 != other.Num4) return false; - if (ExpenseGold != other.ExpenseGold) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -246,15 +135,7 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); - if (ItemId1 != 0) hash ^= ItemId1.GetHashCode(); - if (Num1 != 0) hash ^= Num1.GetHashCode(); - if (ItemId2 != 0) hash ^= ItemId2.GetHashCode(); - if (Num2 != 0) hash ^= Num2.GetHashCode(); - if (ItemId3 != 0) hash ^= ItemId3.GetHashCode(); - if (Num3 != 0) hash ^= Num3.GetHashCode(); - if (ItemId4 != 0) hash ^= ItemId4.GetHashCode(); - if (Num4 != 0) hash ^= Num4.GetHashCode(); - if (ExpenseGold != 0) hash ^= ExpenseGold.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -275,43 +156,11 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (ItemId1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId1); - } - if (Num1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Num1); - } - if (ItemId2 != 0) { - output.WriteRawTag(32); - output.WriteInt32(ItemId2); - } - if (Num2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Num2); - } - if (ItemId3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(ItemId3); - } - if (Num3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Num3); - } - if (ItemId4 != 0) { - output.WriteRawTag(64); - output.WriteInt32(ItemId4); - } - if (Num4 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Num4); - } - if (ExpenseGold != 0) { - output.WriteRawTag(80); - output.WriteInt32(ExpenseGold); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -325,43 +174,11 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (ItemId1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId1); - } - if (Num1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Num1); - } - if (ItemId2 != 0) { - output.WriteRawTag(32); - output.WriteInt32(ItemId2); - } - if (Num2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Num2); - } - if (ItemId3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(ItemId3); - } - if (Num3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Num3); - } - if (ItemId4 != 0) { - output.WriteRawTag(64); - output.WriteInt32(ItemId4); - } - if (Num4 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Num4); - } - if (ExpenseGold != 0) { - output.WriteRawTag(80); - output.WriteInt32(ExpenseGold); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -374,34 +191,10 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (ItemId1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId1); - } - if (Num1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num1); - } - if (ItemId2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId2); - } - if (Num2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num2); - } - if (ItemId3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId3); - } - if (Num3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num3); - } - if (ItemId4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId4); - } - if (Num4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num4); - } - if (ExpenseGold != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpenseGold); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -411,39 +204,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscPromote other) { + public void MergeFrom(DiscPromoteReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.ItemId1 != 0) { - ItemId1 = other.ItemId1; - } - if (other.Num1 != 0) { - Num1 = other.Num1; - } - if (other.ItemId2 != 0) { - ItemId2 = other.ItemId2; - } - if (other.Num2 != 0) { - Num2 = other.Num2; - } - if (other.ItemId3 != 0) { - ItemId3 = other.ItemId3; - } - if (other.Num3 != 0) { - Num3 = other.Num3; - } - if (other.ItemId4 != 0) { - ItemId4 = other.ItemId4; - } - if (other.Num4 != 0) { - Num4 = other.Num4; - } - if (other.ExpenseGold != 0) { - ExpenseGold = other.ExpenseGold; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -465,43 +234,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } - case 16: { - ItemId1 = input.ReadInt32(); - break; - } - case 24: { - Num1 = input.ReadInt32(); - break; - } - case 32: { - ItemId2 = input.ReadInt32(); - break; - } - case 40: { - Num2 = input.ReadInt32(); - break; - } - case 48: { - ItemId3 = input.ReadInt32(); - break; - } - case 56: { - Num3 = input.ReadInt32(); - break; - } - case 64: { - ItemId4 = input.ReadInt32(); - break; - } - case 72: { - Num4 = input.ReadInt32(); - break; - } - case 80: { - ExpenseGold = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -524,43 +261,292 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } - case 16: { - ItemId1 = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } - case 24: { - Num1 = input.ReadInt32(); + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscPromoteResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscPromoteResp()); + 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::Proto.DiscPromoteReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromoteResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromoteResp(DiscPromoteResp other) : this() { + phase_ = other.phase_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromoteResp Clone() { + return new DiscPromoteResp(this); + } + + /// Field number for the "Phase" field. + public const int PhaseFieldNumber = 1; + private uint phase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Phase { + get { return phase_; } + set { + phase_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DiscPromoteResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscPromoteResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Phase != other.Phase) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (Phase != 0) hash ^= Phase.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Phase != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Phase); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Phase != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Phase); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Phase != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscPromoteResp other) { + if (other == null) { + return; + } + if (other.Phase != 0) { + Phase = other.Phase; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Phase = input.ReadUInt32(); break; } - case 32: { - ItemId2 = input.ReadInt32(); + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 40: { - Num2 = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } - case 48: { - ItemId3 = input.ReadInt32(); + } + } + #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: { + Phase = input.ReadUInt32(); break; } - case 56: { - Num3 = input.ReadInt32(); + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 64: { - ItemId4 = input.ReadInt32(); - break; - } - case 72: { - Num4 = input.ReadInt32(); - break; - } - case 80: { - ExpenseGold = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DiscPromoteLimit.cs b/Novaria.Common/Protos/DiscPromoteLimit.cs deleted file mode 100644 index 075545c..0000000 --- a/Novaria.Common/Protos/DiscPromoteLimit.cs +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscPromoteLimit.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 DiscPromoteLimit.proto - public static partial class DiscPromoteLimitReflection { - - #region Descriptor - /// File descriptor for DiscPromoteLimit.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DiscPromoteLimitReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZEaXNjUHJvbW90ZUxpbWl0LnByb3RvIlAKEERpc2NQcm9tb3RlTGltaXQS", - "CgoCaWQYASABKAUSDgoGcmFyaXR5GAIgASgFEg0KBXBoYXNlGAMgASgJEhEK", - "CW1heF9sZXZlbBgEIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPromoteLimit), global::Nova.Client.DiscPromoteLimit.Parser, new[]{ "Id", "Rarity", "Phase", "MaxLevel" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscPromoteLimit : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscPromoteLimit()); - 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.DiscPromoteLimitReflection.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 DiscPromoteLimit() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPromoteLimit(DiscPromoteLimit other) : this() { - id_ = other.id_; - rarity_ = other.rarity_; - phase_ = other.phase_; - maxLevel_ = other.maxLevel_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscPromoteLimit Clone() { - return new DiscPromoteLimit(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 "rarity" field. - public const int RarityFieldNumber = 2; - private int rarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } - set { - rarity_ = value; - } - } - - /// Field number for the "phase" field. - public const int PhaseFieldNumber = 3; - private string phase_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Phase { - get { return phase_; } - set { - phase_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "max_level" field. - public const int MaxLevelFieldNumber = 4; - private string maxLevel_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MaxLevel { - get { return maxLevel_; } - set { - maxLevel_ = 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 DiscPromoteLimit); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscPromoteLimit other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Rarity != other.Rarity) return false; - if (Phase != other.Phase) return false; - if (MaxLevel != other.MaxLevel) 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 (Rarity != 0) hash ^= Rarity.GetHashCode(); - if (Phase.Length != 0) hash ^= Phase.GetHashCode(); - if (MaxLevel.Length != 0) hash ^= MaxLevel.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 (Rarity != 0) { - output.WriteRawTag(16); - output.WriteInt32(Rarity); - } - if (Phase.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Phase); - } - if (MaxLevel.Length != 0) { - output.WriteRawTag(34); - output.WriteString(MaxLevel); - } - 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 (Rarity != 0) { - output.WriteRawTag(16); - output.WriteInt32(Rarity); - } - if (Phase.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Phase); - } - if (MaxLevel.Length != 0) { - output.WriteRawTag(34); - output.WriteString(MaxLevel); - } - 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 (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); - } - if (Phase.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Phase); - } - if (MaxLevel.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MaxLevel); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscPromoteLimit other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Rarity != 0) { - Rarity = other.Rarity; - } - if (other.Phase.Length != 0) { - Phase = other.Phase; - } - if (other.MaxLevel.Length != 0) { - MaxLevel = other.MaxLevel; - } - _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: { - Rarity = input.ReadInt32(); - break; - } - case 26: { - Phase = input.ReadString(); - break; - } - case 34: { - MaxLevel = 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: { - Rarity = input.ReadInt32(); - break; - } - case 26: { - Phase = input.ReadString(); - break; - } - case 34: { - MaxLevel = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ScriptParameterValue.cs b/Novaria.Common/Protos/DiscReadRewardReceive.cs similarity index 69% rename from Novaria.Common/Protos/ScriptParameterValue.cs rename to Novaria.Common/Protos/DiscReadRewardReceive.cs index eeb8619..9095f48 100644 --- a/Novaria.Common/Protos/ScriptParameterValue.cs +++ b/Novaria.Common/Protos/DiscReadRewardReceive.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ScriptParameterValue.proto +// source: disc_read_reward_receive.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from ScriptParameterValue.proto - public static partial class ScriptParameterValueReflection { + /// Holder for reflection information generated from disc_read_reward_receive.proto + public static partial class DiscReadRewardReceiveReflection { #region Descriptor - /// File descriptor for ScriptParameterValue.proto + /// File descriptor for disc_read_reward_receive.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static ScriptParameterValueReflection() { + static DiscReadRewardReceiveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChpTY3JpcHRQYXJhbWV0ZXJWYWx1ZS5wcm90byI3ChRTY3JpcHRQYXJhbWV0", - "ZXJWYWx1ZRIKCgJpZBgBIAEoBRITCgtjb21tb25fZGF0YRgCIAEoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); + "Ch5kaXNjX3JlYWRfcmV3YXJkX3JlY2VpdmUucHJvdG8SBXByb3RvGgxwdWJs", + "aWMucHJvdG8iPAoYRGlzY1JlYWRSZXdhcmRSZWNlaXZlUmVxEgoKAklkGAEg", + "ASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ScriptParameterValue), global::Nova.Client.ScriptParameterValue.Parser, new[]{ "Id", "CommonData" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscReadRewardReceiveReq), global::Proto.DiscReadRewardReceiveReq.Parser, new[]{ "Id", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ScriptParameterValue : pb::IMessage + public sealed partial class DiscReadRewardReceiveReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScriptParameterValue()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscReadRewardReceiveReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.ScriptParameterValueReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.DiscReadRewardReceiveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScriptParameterValue() { + public DiscReadRewardReceiveReq() { OnConstruction(); } @@ -71,51 +71,51 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScriptParameterValue(ScriptParameterValue other) : this() { + public DiscReadRewardReceiveReq(DiscReadRewardReceiveReq other) : this() { id_ = other.id_; - commonData_ = other.commonData_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScriptParameterValue Clone() { - return new ScriptParameterValue(this); + public DiscReadRewardReceiveReq Clone() { + return new DiscReadRewardReceiveReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// Field number for the "common_data" field. - public const int CommonDataFieldNumber = 2; - private int commonData_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CommonData { - get { return commonData_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - commonData_ = value; + nextPackage_ = 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 ScriptParameterValue); + return Equals(other as DiscReadRewardReceiveReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ScriptParameterValue other) { + public bool Equals(DiscReadRewardReceiveReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -123,7 +123,7 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (CommonData != other.CommonData) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -132,7 +132,7 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); - if (CommonData != 0) hash ^= CommonData.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -153,11 +153,11 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (CommonData != 0) { - output.WriteRawTag(16); - output.WriteInt32(CommonData); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -171,11 +171,11 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (CommonData != 0) { - output.WriteRawTag(16); - output.WriteInt32(CommonData); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -188,10 +188,10 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (CommonData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CommonData); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ScriptParameterValue other) { + public void MergeFrom(DiscReadRewardReceiveReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.CommonData != 0) { - CommonData = other.CommonData; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -231,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } - case 16: { - CommonData = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -258,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } - case 16: { - CommonData = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DiscStrengthen.cs b/Novaria.Common/Protos/DiscStrengthen.cs index 8f6ec84..c3e3016 100644 --- a/Novaria.Common/Protos/DiscStrengthen.cs +++ b/Novaria.Common/Protos/DiscStrengthen.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscStrengthen.proto +// source: disc_strengthen.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,13 +9,13 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from DiscStrengthen.proto + /// Holder for reflection information generated from disc_strengthen.proto public static partial class DiscStrengthenReflection { #region Descriptor - /// File descriptor for DiscStrengthen.proto + /// File descriptor for disc_strengthen.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -24,12 +24,17 @@ namespace Nova.Client { static DiscStrengthenReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChREaXNjU3RyZW5ndGhlbi5wcm90byIpCg5EaXNjU3RyZW5ndGhlbhIKCgJp", - "ZBgBIAEoBRILCgNleHAYAiABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChVkaXNjX3N0cmVuZ3RoZW4ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", + "VQoRRGlzY1N0cmVuZ3RoZW5SZXESCgoCSWQYASABKA0SHgoFSXRlbXMYAiAD", + "KAsyDy5wcm90by5JdGVtSW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAwiaQoS", + "RGlzY1N0cmVuZ3RoZW5SZXNwEg0KBUxldmVsGAEgASgNEgsKA0V4cBgCIAEo", + "DRIhCgZDaGFuZ2UYAyABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscStrengthen), global::Nova.Client.DiscStrengthen.Parser, new[]{ "Id", "Exp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscStrengthenReq), global::Proto.DiscStrengthenReq.Parser, new[]{ "Id", "Items", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscStrengthenResp), global::Proto.DiscStrengthenResp.Parser, new[]{ "Level", "Exp", "Change", "NextPackage" }, null, null, null, null) })); } #endregion @@ -37,21 +42,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscStrengthen : pb::IMessage + public sealed partial class DiscStrengthenReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscStrengthen()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscStrengthenReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.DiscStrengthenReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.DiscStrengthenReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -62,7 +67,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscStrengthen() { + public DiscStrengthenReq() { OnConstruction(); } @@ -70,51 +75,63 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscStrengthen(DiscStrengthen other) : this() { + public DiscStrengthenReq(DiscStrengthenReq other) : this() { id_ = other.id_; - exp_ = other.exp_; + items_ = other.items_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscStrengthen Clone() { - return new DiscStrengthen(this); + public DiscStrengthenReq Clone() { + return new DiscStrengthenReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// Field number for the "exp" field. - public const int ExpFieldNumber = 2; - private int exp_; + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemInfo.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - exp_ = value; + nextPackage_ = 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 DiscStrengthen); + return Equals(other as DiscStrengthenReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscStrengthen other) { + public bool Equals(DiscStrengthenReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -122,7 +139,8 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (Exp != other.Exp) return false; + if(!items_.Equals(other.items_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,7 +149,8 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); - if (Exp != 0) hash ^= Exp.GetHashCode(); + hash ^= items_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -152,11 +171,12 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (Exp != 0) { - output.WriteRawTag(16); - output.WriteInt32(Exp); + items_.WriteTo(output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -170,11 +190,12 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (Exp != 0) { - output.WriteRawTag(16); - output.WriteInt32(Exp); + items_.WriteTo(ref output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,10 +208,11 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + size += items_.CalculateSize(_repeated_items_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -200,15 +222,16 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscStrengthen other) { + public void MergeFrom(DiscStrengthenReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.Exp != 0) { - Exp = other.Exp; + items_.Add(other.items_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -230,11 +253,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } - case 16: { - Exp = input.ReadInt32(); + case 18: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -257,11 +284,333 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscStrengthenResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscStrengthenResp()); + 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::Proto.DiscStrengthenReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscStrengthenResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscStrengthenResp(DiscStrengthenResp other) : this() { + level_ = other.level_; + exp_ = other.exp_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscStrengthenResp Clone() { + return new DiscStrengthenResp(this); + } + + /// Field number for the "Level" field. + public const int LevelFieldNumber = 1; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DiscStrengthenResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscStrengthenResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscStrengthenResp other) { + if (other == null) { + return; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Level = input.ReadUInt32(); break; } case 16: { - Exp = input.ReadInt32(); + Exp = input.ReadUInt32(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DiscTag.cs b/Novaria.Common/Protos/DiscTag.cs deleted file mode 100644 index 4cff55c..0000000 --- a/Novaria.Common/Protos/DiscTag.cs +++ /dev/null @@ -1,278 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DiscTag.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 DiscTag.proto - public static partial class DiscTagReflection { - - #region Descriptor - /// File descriptor for DiscTag.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DiscTagReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1EaXNjVGFnLnByb3RvIiQKB0Rpc2NUYWcSCgoCaWQYASABKAUSDQoFdGl0", - "bGUYAiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscTag), global::Nova.Client.DiscTag.Parser, new[]{ "Id", "Title" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscTag : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DiscTag()); - 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.DiscTagReflection.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 DiscTag() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscTag(DiscTag other) : this() { - id_ = other.id_; - title_ = other.title_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscTag Clone() { - return new DiscTag(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = 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 DiscTag); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscTag other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) 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 (Title.Length != 0) hash ^= Title.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscTag other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - _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: { - Title = 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 18: { - Title = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Drop.cs b/Novaria.Common/Protos/Drop.cs deleted file mode 100644 index 9dfebf3..0000000 --- a/Novaria.Common/Protos/Drop.cs +++ /dev/null @@ -1,278 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Drop.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 Drop.proto - public static partial class DropReflection { - - #region Descriptor - /// File descriptor for Drop.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DropReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpEcm9wLnByb3RvIicKBERyb3ASDwoHZHJvcF9pZBgBIAEoBRIOCgZwa2df", - "aWQYAiABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Drop), global::Nova.Client.Drop.Parser, new[]{ "DropId", "PkgId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Drop : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Drop()); - 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.DropReflection.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 Drop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Drop(Drop other) : this() { - dropId_ = other.dropId_; - pkgId_ = other.pkgId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Drop Clone() { - return new Drop(this); - } - - /// Field number for the "drop_id" field. - public const int DropIdFieldNumber = 1; - private int dropId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropId { - get { return dropId_; } - set { - dropId_ = value; - } - } - - /// Field number for the "pkg_id" field. - public const int PkgIdFieldNumber = 2; - private int pkgId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PkgId { - get { return pkgId_; } - set { - pkgId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Drop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Drop other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DropId != other.DropId) return false; - if (PkgId != other.PkgId) 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 (DropId != 0) hash ^= DropId.GetHashCode(); - if (PkgId != 0) hash ^= PkgId.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 (DropId != 0) { - output.WriteRawTag(8); - output.WriteInt32(DropId); - } - if (PkgId != 0) { - output.WriteRawTag(16); - output.WriteInt32(PkgId); - } - 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 (DropId != 0) { - output.WriteRawTag(8); - output.WriteInt32(DropId); - } - if (PkgId != 0) { - output.WriteRawTag(16); - output.WriteInt32(PkgId); - } - 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 (DropId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); - } - if (PkgId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PkgId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Drop other) { - if (other == null) { - return; - } - if (other.DropId != 0) { - DropId = other.DropId; - } - if (other.PkgId != 0) { - PkgId = other.PkgId; - } - _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: { - DropId = input.ReadInt32(); - break; - } - case 16: { - PkgId = 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: { - DropId = input.ReadInt32(); - break; - } - case 16: { - PkgId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DropItemShow.cs b/Novaria.Common/Protos/DropItemShow.cs deleted file mode 100644 index 3d74f8e..0000000 --- a/Novaria.Common/Protos/DropItemShow.cs +++ /dev/null @@ -1,316 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DropItemShow.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 DropItemShow.proto - public static partial class DropItemShowReflection { - - #region Descriptor - /// File descriptor for DropItemShow.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DropItemShowReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJEcm9wSXRlbVNob3cucHJvdG8iQgoMRHJvcEl0ZW1TaG93Eg8KB2Ryb3Bf", - "aWQYASABKAUSDwoHaXRlbV9pZBgCIAEoBRIQCghpdGVtX3F0eRgDIAEoBUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropItemShow), global::Nova.Client.DropItemShow.Parser, new[]{ "DropId", "ItemId", "ItemQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DropItemShow : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DropItemShow()); - 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.DropItemShowReflection.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 DropItemShow() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropItemShow(DropItemShow other) : this() { - dropId_ = other.dropId_; - itemId_ = other.itemId_; - itemQty_ = other.itemQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropItemShow Clone() { - return new DropItemShow(this); - } - - /// Field number for the "drop_id" field. - public const int DropIdFieldNumber = 1; - private int dropId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropId { - get { return dropId_; } - set { - dropId_ = value; - } - } - - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 2; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// Field number for the "item_qty" field. - public const int ItemQtyFieldNumber = 3; - private int itemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty { - get { return itemQty_; } - set { - itemQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DropItemShow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DropItemShow other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DropId != other.DropId) return false; - if (ItemId != other.ItemId) return false; - if (ItemQty != other.ItemQty) 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 (DropId != 0) hash ^= DropId.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemQty != 0) hash ^= ItemQty.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 (DropId != 0) { - output.WriteRawTag(8); - output.WriteInt32(DropId); - } - if (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(24); - output.WriteInt32(ItemQty); - } - 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 (DropId != 0) { - output.WriteRawTag(8); - output.WriteInt32(DropId); - } - if (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(24); - output.WriteInt32(ItemQty); - } - 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 (DropId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DropItemShow other) { - if (other == null) { - return; - } - if (other.DropId != 0) { - DropId = other.DropId; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemQty != 0) { - ItemQty = other.ItemQty; - } - _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: { - DropId = input.ReadInt32(); - break; - } - case 16: { - ItemId = input.ReadInt32(); - break; - } - case 24: { - ItemQty = 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: { - DropId = input.ReadInt32(); - break; - } - case 16: { - ItemId = input.ReadInt32(); - break; - } - case 24: { - ItemQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DropPkg.cs b/Novaria.Common/Protos/DropPkg.cs deleted file mode 100644 index ab8a947..0000000 --- a/Novaria.Common/Protos/DropPkg.cs +++ /dev/null @@ -1,278 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DropPkg.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 DropPkg.proto - public static partial class DropPkgReflection { - - #region Descriptor - /// File descriptor for DropPkg.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DropPkgReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1Ecm9wUGtnLnByb3RvIioKB0Ryb3BQa2cSDgoGcGtnX2lkGAEgASgFEg8K", - "B2l0ZW1faWQYAiABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropPkg), global::Nova.Client.DropPkg.Parser, new[]{ "PkgId", "ItemId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DropPkg : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DropPkg()); - 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.DropPkgReflection.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 DropPkg() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropPkg(DropPkg other) : this() { - pkgId_ = other.pkgId_; - itemId_ = other.itemId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropPkg Clone() { - return new DropPkg(this); - } - - /// Field number for the "pkg_id" field. - public const int PkgIdFieldNumber = 1; - private int pkgId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PkgId { - get { return pkgId_; } - set { - pkgId_ = value; - } - } - - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 2; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DropPkg); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DropPkg other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PkgId != other.PkgId) return false; - if (ItemId != other.ItemId) 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 (PkgId != 0) hash ^= PkgId.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.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 (PkgId != 0) { - output.WriteRawTag(8); - output.WriteInt32(PkgId); - } - if (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - 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 (PkgId != 0) { - output.WriteRawTag(8); - output.WriteInt32(PkgId); - } - if (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - 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 (PkgId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PkgId); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DropPkg other) { - if (other == null) { - return; - } - if (other.PkgId != 0) { - PkgId = other.PkgId; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - _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: { - PkgId = input.ReadInt32(); - break; - } - case 16: { - ItemId = 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: { - PkgId = input.ReadInt32(); - break; - } - case 16: { - ItemId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Effect.cs b/Novaria.Common/Protos/Effect.cs deleted file mode 100644 index a6e7b1c..0000000 --- a/Novaria.Common/Protos/Effect.cs +++ /dev/null @@ -1,1856 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Effect.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 Effect.proto - public static partial class EffectReflection { - - #region Descriptor - /// File descriptor for Effect.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EffectReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxFZmZlY3QucHJvdG8i3ggKBkVmZmVjdBIKCgJpZBgBIAEoBRIMCgRuYW1l", - "GAIgASgJEhcKD2xldmVsX3R5cGVfZGF0YRgDIAEoBRISCgpsZXZlbF9kYXRh", - "GAQgASgFEhcKD21haW5fb3Jfc3VwcG9ydBgFIAEoBRIPCgd0cmlnZ2VyGAYg", - "ASgFEhYKDnRyaWdnZXJfdGFyZ2V0GAcgASgFEhoKEnRyaWdnZXJfY29uZGl0", - "aW9uMRgIIAEoBRIWCg50cmlnZ2VyX3BhcmFtMRgJIAEoCRIWCg50cmlnZ2Vy", - "X3BhcmFtMhgKIAEoCRIWCg50cmlnZ2VyX3BhcmFtMxgLIAEoCRIWCg50cmln", - "Z2VyX3BhcmFtNBgMIAEoCRIXCg90cmlnZ2VyX3RhcmdldDIYDSABKAUSGgoS", - "dHJpZ2dlcl9jb25kaXRpb24yGA4gASgFEhcKD3RyaWdnZXIyX3BhcmFtMRgP", - "IAEoCRIXCg90cmlnZ2VyMl9wYXJhbTIYECABKAkSFwoPdHJpZ2dlcjJfcGFy", - "YW0zGBEgASgJEhcKD3RyaWdnZXIyX3BhcmFtNBgSIAEoCRIaChJ0cmlnZ2Vy", - "X2xvZ2ljX3R5cGUYEyABKAUSGwoTdGFrZV9lZmZlY3RfdGFyZ2V0MRgUIAEo", - "BRIeChZ0YWtlX2VmZmVjdF9jb25kaXRpb24xGBUgASgFEhoKEnRha2VfZWZm", - "ZWN0X3BhcmFtMRgWIAEoCRIaChJ0YWtlX2VmZmVjdF9wYXJhbTIYFyABKAkS", - "GgoSdGFrZV9lZmZlY3RfcGFyYW0zGBggASgJEhoKEnRha2VfZWZmZWN0X3Bh", - "cmFtNBgZIAEoCRIbChN0YWtlX2VmZmVjdF90YXJnZXQyGBogASgFEh4KFnRh", - "a2VfZWZmZWN0X2NvbmRpdGlvbjIYGyABKAUSGwoTdGFrZV9lZmZlY3QyX3Bh", - "cmFtMRgcIAEoCRIbChN0YWtlX2VmZmVjdDJfcGFyYW0yGB0gASgJEhsKE3Rh", - "a2VfZWZmZWN0Ml9wYXJhbTMYHiABKAkSGwoTdGFrZV9lZmZlY3QyX3BhcmFt", - "NBgfIAEoCRIeChZ0YWtlX2VmZmVjdF9sb2dpY190eXBlGCAgASgFEg8KB3Rh", - "cmdldDEYISABKAUSGQoRdGFyZ2V0X2NvbmRpdGlvbjEYIiABKAUSFQoNdGFy", - "Z2V0X3BhcmFtMRgjIAEoCRIVCg10YXJnZXRfcGFyYW0yGCQgASgJEhUKDXRh", - "cmdldF9wYXJhbTMYJSABKAkSFQoNdGFyZ2V0X3BhcmFtNBgmIAEoCRIZChF0", - "YXJnZXRfY29uZGl0aW9uMhgnIAEoBRIWCg50YXJnZXQyX3BhcmFtMRgoIAEo", - "CRIWCg50YXJnZXQyX3BhcmFtMhgpIAEoCRIWCg50YXJnZXQyX3BhcmFtMxgq", - "IAEoCRIWCg50YXJnZXQyX3BhcmFtNBgrIAEoCRIZChFmaWx0ZXJfbG9naWNf", - "dHlwZRgsIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Effect), global::Nova.Client.Effect.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "Trigger", "TriggerTarget", "TriggerCondition1", "TriggerParam1", "TriggerParam2", "TriggerParam3", "TriggerParam4", "TriggerTarget2", "TriggerCondition2", "Trigger2Param1", "Trigger2Param2", "Trigger2Param3", "Trigger2Param4", "TriggerLogicType", "TakeEffectTarget1", "TakeEffectCondition1", "TakeEffectParam1", "TakeEffectParam2", "TakeEffectParam3", "TakeEffectParam4", "TakeEffectTarget2", "TakeEffectCondition2", "TakeEffect2Param1", "TakeEffect2Param2", "TakeEffect2Param3", "TakeEffect2Param4", "TakeEffectLogicType", "Target1", "TargetCondition1", "TargetParam1", "TargetParam2", "TargetParam3", "TargetParam4", "TargetCondition2", "Target2Param1", "Target2Param2", "Target2Param3", "Target2Param4", "FilterLogicType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Effect : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Effect()); - 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.EffectReflection.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 Effect() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Effect(Effect other) : this() { - id_ = other.id_; - name_ = other.name_; - levelTypeData_ = other.levelTypeData_; - levelData_ = other.levelData_; - mainOrSupport_ = other.mainOrSupport_; - trigger_ = other.trigger_; - triggerTarget_ = other.triggerTarget_; - triggerCondition1_ = other.triggerCondition1_; - triggerParam1_ = other.triggerParam1_; - triggerParam2_ = other.triggerParam2_; - triggerParam3_ = other.triggerParam3_; - triggerParam4_ = other.triggerParam4_; - triggerTarget2_ = other.triggerTarget2_; - triggerCondition2_ = other.triggerCondition2_; - trigger2Param1_ = other.trigger2Param1_; - trigger2Param2_ = other.trigger2Param2_; - trigger2Param3_ = other.trigger2Param3_; - trigger2Param4_ = other.trigger2Param4_; - triggerLogicType_ = other.triggerLogicType_; - takeEffectTarget1_ = other.takeEffectTarget1_; - takeEffectCondition1_ = other.takeEffectCondition1_; - takeEffectParam1_ = other.takeEffectParam1_; - takeEffectParam2_ = other.takeEffectParam2_; - takeEffectParam3_ = other.takeEffectParam3_; - takeEffectParam4_ = other.takeEffectParam4_; - takeEffectTarget2_ = other.takeEffectTarget2_; - takeEffectCondition2_ = other.takeEffectCondition2_; - takeEffect2Param1_ = other.takeEffect2Param1_; - takeEffect2Param2_ = other.takeEffect2Param2_; - takeEffect2Param3_ = other.takeEffect2Param3_; - takeEffect2Param4_ = other.takeEffect2Param4_; - takeEffectLogicType_ = other.takeEffectLogicType_; - target1_ = other.target1_; - targetCondition1_ = other.targetCondition1_; - targetParam1_ = other.targetParam1_; - targetParam2_ = other.targetParam2_; - targetParam3_ = other.targetParam3_; - targetParam4_ = other.targetParam4_; - targetCondition2_ = other.targetCondition2_; - target2Param1_ = other.target2Param1_; - target2Param2_ = other.target2Param2_; - target2Param3_ = other.target2Param3_; - target2Param4_ = other.target2Param4_; - filterLogicType_ = other.filterLogicType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Effect Clone() { - return new Effect(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 "name" field. - 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"); - } - } - - /// Field number for the "level_type_data" field. - public const int LevelTypeDataFieldNumber = 3; - private int levelTypeData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTypeData { - get { return levelTypeData_; } - set { - levelTypeData_ = value; - } - } - - /// Field number for the "level_data" field. - public const int LevelDataFieldNumber = 4; - private int levelData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelData { - get { return levelData_; } - set { - levelData_ = value; - } - } - - /// Field number for the "main_or_support" field. - public const int MainOrSupportFieldNumber = 5; - private int mainOrSupport_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainOrSupport { - get { return mainOrSupport_; } - set { - mainOrSupport_ = value; - } - } - - /// Field number for the "trigger" field. - public const int TriggerFieldNumber = 6; - private int trigger_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Trigger { - get { return trigger_; } - set { - trigger_ = value; - } - } - - /// Field number for the "trigger_target" field. - public const int TriggerTargetFieldNumber = 7; - private int triggerTarget_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerTarget { - get { return triggerTarget_; } - set { - triggerTarget_ = value; - } - } - - /// Field number for the "trigger_condition1" field. - public const int TriggerCondition1FieldNumber = 8; - private int triggerCondition1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerCondition1 { - get { return triggerCondition1_; } - set { - triggerCondition1_ = value; - } - } - - /// Field number for the "trigger_param1" field. - public const int TriggerParam1FieldNumber = 9; - private string triggerParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParam1 { - get { return triggerParam1_; } - set { - triggerParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger_param2" field. - public const int TriggerParam2FieldNumber = 10; - private string triggerParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParam2 { - get { return triggerParam2_; } - set { - triggerParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger_param3" field. - public const int TriggerParam3FieldNumber = 11; - private string triggerParam3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParam3 { - get { return triggerParam3_; } - set { - triggerParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger_param4" field. - public const int TriggerParam4FieldNumber = 12; - private string triggerParam4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParam4 { - get { return triggerParam4_; } - set { - triggerParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger_target2" field. - public const int TriggerTarget2FieldNumber = 13; - private int triggerTarget2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerTarget2 { - get { return triggerTarget2_; } - set { - triggerTarget2_ = value; - } - } - - /// Field number for the "trigger_condition2" field. - public const int TriggerCondition2FieldNumber = 14; - private int triggerCondition2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerCondition2 { - get { return triggerCondition2_; } - set { - triggerCondition2_ = value; - } - } - - /// Field number for the "trigger2_param1" field. - public const int Trigger2Param1FieldNumber = 15; - private string trigger2Param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Trigger2Param1 { - get { return trigger2Param1_; } - set { - trigger2Param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger2_param2" field. - public const int Trigger2Param2FieldNumber = 16; - private string trigger2Param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Trigger2Param2 { - get { return trigger2Param2_; } - set { - trigger2Param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger2_param3" field. - public const int Trigger2Param3FieldNumber = 17; - private string trigger2Param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Trigger2Param3 { - get { return trigger2Param3_; } - set { - trigger2Param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger2_param4" field. - public const int Trigger2Param4FieldNumber = 18; - private string trigger2Param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Trigger2Param4 { - get { return trigger2Param4_; } - set { - trigger2Param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trigger_logic_type" field. - public const int TriggerLogicTypeFieldNumber = 19; - private int triggerLogicType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerLogicType { - get { return triggerLogicType_; } - set { - triggerLogicType_ = value; - } - } - - /// Field number for the "take_effect_target1" field. - public const int TakeEffectTarget1FieldNumber = 20; - private int takeEffectTarget1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TakeEffectTarget1 { - get { return takeEffectTarget1_; } - set { - takeEffectTarget1_ = value; - } - } - - /// Field number for the "take_effect_condition1" field. - public const int TakeEffectCondition1FieldNumber = 21; - private int takeEffectCondition1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TakeEffectCondition1 { - get { return takeEffectCondition1_; } - set { - takeEffectCondition1_ = value; - } - } - - /// Field number for the "take_effect_param1" field. - public const int TakeEffectParam1FieldNumber = 22; - private string takeEffectParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffectParam1 { - get { return takeEffectParam1_; } - set { - takeEffectParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect_param2" field. - public const int TakeEffectParam2FieldNumber = 23; - private string takeEffectParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffectParam2 { - get { return takeEffectParam2_; } - set { - takeEffectParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect_param3" field. - public const int TakeEffectParam3FieldNumber = 24; - private string takeEffectParam3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffectParam3 { - get { return takeEffectParam3_; } - set { - takeEffectParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect_param4" field. - public const int TakeEffectParam4FieldNumber = 25; - private string takeEffectParam4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffectParam4 { - get { return takeEffectParam4_; } - set { - takeEffectParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect_target2" field. - public const int TakeEffectTarget2FieldNumber = 26; - private int takeEffectTarget2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TakeEffectTarget2 { - get { return takeEffectTarget2_; } - set { - takeEffectTarget2_ = value; - } - } - - /// Field number for the "take_effect_condition2" field. - public const int TakeEffectCondition2FieldNumber = 27; - private int takeEffectCondition2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TakeEffectCondition2 { - get { return takeEffectCondition2_; } - set { - takeEffectCondition2_ = value; - } - } - - /// Field number for the "take_effect2_param1" field. - public const int TakeEffect2Param1FieldNumber = 28; - private string takeEffect2Param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffect2Param1 { - get { return takeEffect2Param1_; } - set { - takeEffect2Param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect2_param2" field. - public const int TakeEffect2Param2FieldNumber = 29; - private string takeEffect2Param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffect2Param2 { - get { return takeEffect2Param2_; } - set { - takeEffect2Param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect2_param3" field. - public const int TakeEffect2Param3FieldNumber = 30; - private string takeEffect2Param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffect2Param3 { - get { return takeEffect2Param3_; } - set { - takeEffect2Param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect2_param4" field. - public const int TakeEffect2Param4FieldNumber = 31; - private string takeEffect2Param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TakeEffect2Param4 { - get { return takeEffect2Param4_; } - set { - takeEffect2Param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect_logic_type" field. - public const int TakeEffectLogicTypeFieldNumber = 32; - private int takeEffectLogicType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TakeEffectLogicType { - get { return takeEffectLogicType_; } - set { - takeEffectLogicType_ = value; - } - } - - /// Field number for the "target1" field. - public const int Target1FieldNumber = 33; - private int target1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Target1 { - get { return target1_; } - set { - target1_ = value; - } - } - - /// Field number for the "target_condition1" field. - public const int TargetCondition1FieldNumber = 34; - private int targetCondition1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TargetCondition1 { - get { return targetCondition1_; } - set { - targetCondition1_ = value; - } - } - - /// Field number for the "target_param1" field. - public const int TargetParam1FieldNumber = 35; - private string targetParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TargetParam1 { - get { return targetParam1_; } - set { - targetParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target_param2" field. - public const int TargetParam2FieldNumber = 36; - private string targetParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TargetParam2 { - get { return targetParam2_; } - set { - targetParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target_param3" field. - public const int TargetParam3FieldNumber = 37; - private string targetParam3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TargetParam3 { - get { return targetParam3_; } - set { - targetParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target_param4" field. - public const int TargetParam4FieldNumber = 38; - private string targetParam4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TargetParam4 { - get { return targetParam4_; } - set { - targetParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target_condition2" field. - public const int TargetCondition2FieldNumber = 39; - private int targetCondition2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TargetCondition2 { - get { return targetCondition2_; } - set { - targetCondition2_ = value; - } - } - - /// Field number for the "target2_param1" field. - public const int Target2Param1FieldNumber = 40; - private string target2Param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Target2Param1 { - get { return target2Param1_; } - set { - target2Param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target2_param2" field. - public const int Target2Param2FieldNumber = 41; - private string target2Param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Target2Param2 { - get { return target2Param2_; } - set { - target2Param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target2_param3" field. - public const int Target2Param3FieldNumber = 42; - private string target2Param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Target2Param3 { - get { return target2Param3_; } - set { - target2Param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "target2_param4" field. - public const int Target2Param4FieldNumber = 43; - private string target2Param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Target2Param4 { - get { return target2Param4_; } - set { - target2Param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "filter_logic_type" field. - public const int FilterLogicTypeFieldNumber = 44; - private int filterLogicType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FilterLogicType { - get { return filterLogicType_; } - set { - filterLogicType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Effect); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Effect other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Name != other.Name) return false; - if (LevelTypeData != other.LevelTypeData) return false; - if (LevelData != other.LevelData) return false; - if (MainOrSupport != other.MainOrSupport) return false; - if (Trigger != other.Trigger) return false; - if (TriggerTarget != other.TriggerTarget) return false; - if (TriggerCondition1 != other.TriggerCondition1) return false; - if (TriggerParam1 != other.TriggerParam1) return false; - if (TriggerParam2 != other.TriggerParam2) return false; - if (TriggerParam3 != other.TriggerParam3) return false; - if (TriggerParam4 != other.TriggerParam4) return false; - if (TriggerTarget2 != other.TriggerTarget2) return false; - if (TriggerCondition2 != other.TriggerCondition2) return false; - if (Trigger2Param1 != other.Trigger2Param1) return false; - if (Trigger2Param2 != other.Trigger2Param2) return false; - if (Trigger2Param3 != other.Trigger2Param3) return false; - if (Trigger2Param4 != other.Trigger2Param4) return false; - if (TriggerLogicType != other.TriggerLogicType) return false; - if (TakeEffectTarget1 != other.TakeEffectTarget1) return false; - if (TakeEffectCondition1 != other.TakeEffectCondition1) return false; - if (TakeEffectParam1 != other.TakeEffectParam1) return false; - if (TakeEffectParam2 != other.TakeEffectParam2) return false; - if (TakeEffectParam3 != other.TakeEffectParam3) return false; - if (TakeEffectParam4 != other.TakeEffectParam4) return false; - if (TakeEffectTarget2 != other.TakeEffectTarget2) return false; - if (TakeEffectCondition2 != other.TakeEffectCondition2) return false; - if (TakeEffect2Param1 != other.TakeEffect2Param1) return false; - if (TakeEffect2Param2 != other.TakeEffect2Param2) return false; - if (TakeEffect2Param3 != other.TakeEffect2Param3) return false; - if (TakeEffect2Param4 != other.TakeEffect2Param4) return false; - if (TakeEffectLogicType != other.TakeEffectLogicType) return false; - if (Target1 != other.Target1) return false; - if (TargetCondition1 != other.TargetCondition1) return false; - if (TargetParam1 != other.TargetParam1) return false; - if (TargetParam2 != other.TargetParam2) return false; - if (TargetParam3 != other.TargetParam3) return false; - if (TargetParam4 != other.TargetParam4) return false; - if (TargetCondition2 != other.TargetCondition2) return false; - if (Target2Param1 != other.Target2Param1) return false; - if (Target2Param2 != other.Target2Param2) return false; - if (Target2Param3 != other.Target2Param3) return false; - if (Target2Param4 != other.Target2Param4) return false; - if (FilterLogicType != other.FilterLogicType) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); - if (LevelData != 0) hash ^= LevelData.GetHashCode(); - if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); - if (Trigger != 0) hash ^= Trigger.GetHashCode(); - if (TriggerTarget != 0) hash ^= TriggerTarget.GetHashCode(); - if (TriggerCondition1 != 0) hash ^= TriggerCondition1.GetHashCode(); - if (TriggerParam1.Length != 0) hash ^= TriggerParam1.GetHashCode(); - if (TriggerParam2.Length != 0) hash ^= TriggerParam2.GetHashCode(); - if (TriggerParam3.Length != 0) hash ^= TriggerParam3.GetHashCode(); - if (TriggerParam4.Length != 0) hash ^= TriggerParam4.GetHashCode(); - if (TriggerTarget2 != 0) hash ^= TriggerTarget2.GetHashCode(); - if (TriggerCondition2 != 0) hash ^= TriggerCondition2.GetHashCode(); - if (Trigger2Param1.Length != 0) hash ^= Trigger2Param1.GetHashCode(); - if (Trigger2Param2.Length != 0) hash ^= Trigger2Param2.GetHashCode(); - if (Trigger2Param3.Length != 0) hash ^= Trigger2Param3.GetHashCode(); - if (Trigger2Param4.Length != 0) hash ^= Trigger2Param4.GetHashCode(); - if (TriggerLogicType != 0) hash ^= TriggerLogicType.GetHashCode(); - if (TakeEffectTarget1 != 0) hash ^= TakeEffectTarget1.GetHashCode(); - if (TakeEffectCondition1 != 0) hash ^= TakeEffectCondition1.GetHashCode(); - if (TakeEffectParam1.Length != 0) hash ^= TakeEffectParam1.GetHashCode(); - if (TakeEffectParam2.Length != 0) hash ^= TakeEffectParam2.GetHashCode(); - if (TakeEffectParam3.Length != 0) hash ^= TakeEffectParam3.GetHashCode(); - if (TakeEffectParam4.Length != 0) hash ^= TakeEffectParam4.GetHashCode(); - if (TakeEffectTarget2 != 0) hash ^= TakeEffectTarget2.GetHashCode(); - if (TakeEffectCondition2 != 0) hash ^= TakeEffectCondition2.GetHashCode(); - if (TakeEffect2Param1.Length != 0) hash ^= TakeEffect2Param1.GetHashCode(); - if (TakeEffect2Param2.Length != 0) hash ^= TakeEffect2Param2.GetHashCode(); - if (TakeEffect2Param3.Length != 0) hash ^= TakeEffect2Param3.GetHashCode(); - if (TakeEffect2Param4.Length != 0) hash ^= TakeEffect2Param4.GetHashCode(); - if (TakeEffectLogicType != 0) hash ^= TakeEffectLogicType.GetHashCode(); - if (Target1 != 0) hash ^= Target1.GetHashCode(); - if (TargetCondition1 != 0) hash ^= TargetCondition1.GetHashCode(); - if (TargetParam1.Length != 0) hash ^= TargetParam1.GetHashCode(); - if (TargetParam2.Length != 0) hash ^= TargetParam2.GetHashCode(); - if (TargetParam3.Length != 0) hash ^= TargetParam3.GetHashCode(); - if (TargetParam4.Length != 0) hash ^= TargetParam4.GetHashCode(); - if (TargetCondition2 != 0) hash ^= TargetCondition2.GetHashCode(); - if (Target2Param1.Length != 0) hash ^= Target2Param1.GetHashCode(); - if (Target2Param2.Length != 0) hash ^= Target2Param2.GetHashCode(); - if (Target2Param3.Length != 0) hash ^= Target2Param3.GetHashCode(); - if (Target2Param4.Length != 0) hash ^= Target2Param4.GetHashCode(); - if (FilterLogicType != 0) hash ^= FilterLogicType.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 (LevelTypeData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainOrSupport); - } - if (Trigger != 0) { - output.WriteRawTag(48); - output.WriteInt32(Trigger); - } - if (TriggerTarget != 0) { - output.WriteRawTag(56); - output.WriteInt32(TriggerTarget); - } - if (TriggerCondition1 != 0) { - output.WriteRawTag(64); - output.WriteInt32(TriggerCondition1); - } - if (TriggerParam1.Length != 0) { - output.WriteRawTag(74); - output.WriteString(TriggerParam1); - } - if (TriggerParam2.Length != 0) { - output.WriteRawTag(82); - output.WriteString(TriggerParam2); - } - if (TriggerParam3.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TriggerParam3); - } - if (TriggerParam4.Length != 0) { - output.WriteRawTag(98); - output.WriteString(TriggerParam4); - } - if (TriggerTarget2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(TriggerTarget2); - } - if (TriggerCondition2 != 0) { - output.WriteRawTag(112); - output.WriteInt32(TriggerCondition2); - } - if (Trigger2Param1.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Trigger2Param1); - } - if (Trigger2Param2.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Trigger2Param2); - } - if (Trigger2Param3.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Trigger2Param3); - } - if (Trigger2Param4.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Trigger2Param4); - } - if (TriggerLogicType != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(TriggerLogicType); - } - if (TakeEffectTarget1 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(TakeEffectTarget1); - } - if (TakeEffectCondition1 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(TakeEffectCondition1); - } - if (TakeEffectParam1.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(TakeEffectParam1); - } - if (TakeEffectParam2.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(TakeEffectParam2); - } - if (TakeEffectParam3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(TakeEffectParam3); - } - if (TakeEffectParam4.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(TakeEffectParam4); - } - if (TakeEffectTarget2 != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(TakeEffectTarget2); - } - if (TakeEffectCondition2 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(TakeEffectCondition2); - } - if (TakeEffect2Param1.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(TakeEffect2Param1); - } - if (TakeEffect2Param2.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(TakeEffect2Param2); - } - if (TakeEffect2Param3.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(TakeEffect2Param3); - } - if (TakeEffect2Param4.Length != 0) { - output.WriteRawTag(250, 1); - output.WriteString(TakeEffect2Param4); - } - if (TakeEffectLogicType != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(TakeEffectLogicType); - } - if (Target1 != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(Target1); - } - if (TargetCondition1 != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(TargetCondition1); - } - if (TargetParam1.Length != 0) { - output.WriteRawTag(154, 2); - output.WriteString(TargetParam1); - } - if (TargetParam2.Length != 0) { - output.WriteRawTag(162, 2); - output.WriteString(TargetParam2); - } - if (TargetParam3.Length != 0) { - output.WriteRawTag(170, 2); - output.WriteString(TargetParam3); - } - if (TargetParam4.Length != 0) { - output.WriteRawTag(178, 2); - output.WriteString(TargetParam4); - } - if (TargetCondition2 != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(TargetCondition2); - } - if (Target2Param1.Length != 0) { - output.WriteRawTag(194, 2); - output.WriteString(Target2Param1); - } - if (Target2Param2.Length != 0) { - output.WriteRawTag(202, 2); - output.WriteString(Target2Param2); - } - if (Target2Param3.Length != 0) { - output.WriteRawTag(210, 2); - output.WriteString(Target2Param3); - } - if (Target2Param4.Length != 0) { - output.WriteRawTag(218, 2); - output.WriteString(Target2Param4); - } - if (FilterLogicType != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(FilterLogicType); - } - 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 (LevelTypeData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainOrSupport); - } - if (Trigger != 0) { - output.WriteRawTag(48); - output.WriteInt32(Trigger); - } - if (TriggerTarget != 0) { - output.WriteRawTag(56); - output.WriteInt32(TriggerTarget); - } - if (TriggerCondition1 != 0) { - output.WriteRawTag(64); - output.WriteInt32(TriggerCondition1); - } - if (TriggerParam1.Length != 0) { - output.WriteRawTag(74); - output.WriteString(TriggerParam1); - } - if (TriggerParam2.Length != 0) { - output.WriteRawTag(82); - output.WriteString(TriggerParam2); - } - if (TriggerParam3.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TriggerParam3); - } - if (TriggerParam4.Length != 0) { - output.WriteRawTag(98); - output.WriteString(TriggerParam4); - } - if (TriggerTarget2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(TriggerTarget2); - } - if (TriggerCondition2 != 0) { - output.WriteRawTag(112); - output.WriteInt32(TriggerCondition2); - } - if (Trigger2Param1.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Trigger2Param1); - } - if (Trigger2Param2.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Trigger2Param2); - } - if (Trigger2Param3.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Trigger2Param3); - } - if (Trigger2Param4.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Trigger2Param4); - } - if (TriggerLogicType != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(TriggerLogicType); - } - if (TakeEffectTarget1 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(TakeEffectTarget1); - } - if (TakeEffectCondition1 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(TakeEffectCondition1); - } - if (TakeEffectParam1.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(TakeEffectParam1); - } - if (TakeEffectParam2.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(TakeEffectParam2); - } - if (TakeEffectParam3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(TakeEffectParam3); - } - if (TakeEffectParam4.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(TakeEffectParam4); - } - if (TakeEffectTarget2 != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(TakeEffectTarget2); - } - if (TakeEffectCondition2 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(TakeEffectCondition2); - } - if (TakeEffect2Param1.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(TakeEffect2Param1); - } - if (TakeEffect2Param2.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(TakeEffect2Param2); - } - if (TakeEffect2Param3.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(TakeEffect2Param3); - } - if (TakeEffect2Param4.Length != 0) { - output.WriteRawTag(250, 1); - output.WriteString(TakeEffect2Param4); - } - if (TakeEffectLogicType != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(TakeEffectLogicType); - } - if (Target1 != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(Target1); - } - if (TargetCondition1 != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(TargetCondition1); - } - if (TargetParam1.Length != 0) { - output.WriteRawTag(154, 2); - output.WriteString(TargetParam1); - } - if (TargetParam2.Length != 0) { - output.WriteRawTag(162, 2); - output.WriteString(TargetParam2); - } - if (TargetParam3.Length != 0) { - output.WriteRawTag(170, 2); - output.WriteString(TargetParam3); - } - if (TargetParam4.Length != 0) { - output.WriteRawTag(178, 2); - output.WriteString(TargetParam4); - } - if (TargetCondition2 != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(TargetCondition2); - } - if (Target2Param1.Length != 0) { - output.WriteRawTag(194, 2); - output.WriteString(Target2Param1); - } - if (Target2Param2.Length != 0) { - output.WriteRawTag(202, 2); - output.WriteString(Target2Param2); - } - if (Target2Param3.Length != 0) { - output.WriteRawTag(210, 2); - output.WriteString(Target2Param3); - } - if (Target2Param4.Length != 0) { - output.WriteRawTag(218, 2); - output.WriteString(Target2Param4); - } - if (FilterLogicType != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(FilterLogicType); - } - 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 (LevelTypeData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); - } - if (LevelData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); - } - if (MainOrSupport != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); - } - if (Trigger != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Trigger); - } - if (TriggerTarget != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerTarget); - } - if (TriggerCondition1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCondition1); - } - if (TriggerParam1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam1); - } - if (TriggerParam2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam2); - } - if (TriggerParam3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam3); - } - if (TriggerParam4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam4); - } - if (TriggerTarget2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerTarget2); - } - if (TriggerCondition2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCondition2); - } - if (Trigger2Param1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param1); - } - if (Trigger2Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param2); - } - if (Trigger2Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param3); - } - if (Trigger2Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param4); - } - if (TriggerLogicType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TriggerLogicType); - } - if (TakeEffectTarget1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectTarget1); - } - if (TakeEffectCondition1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectCondition1); - } - if (TakeEffectParam1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam1); - } - if (TakeEffectParam2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam2); - } - if (TakeEffectParam3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam3); - } - if (TakeEffectParam4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam4); - } - if (TakeEffectTarget2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectTarget2); - } - if (TakeEffectCondition2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectCondition2); - } - if (TakeEffect2Param1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param1); - } - if (TakeEffect2Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param2); - } - if (TakeEffect2Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param3); - } - if (TakeEffect2Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param4); - } - if (TakeEffectLogicType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectLogicType); - } - if (Target1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Target1); - } - if (TargetCondition1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TargetCondition1); - } - if (TargetParam1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam1); - } - if (TargetParam2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam2); - } - if (TargetParam3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam3); - } - if (TargetParam4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam4); - } - if (TargetCondition2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TargetCondition2); - } - if (Target2Param1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param1); - } - if (Target2Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param2); - } - if (Target2Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param3); - } - if (Target2Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param4); - } - if (FilterLogicType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FilterLogicType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Effect other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.LevelTypeData != 0) { - LevelTypeData = other.LevelTypeData; - } - if (other.LevelData != 0) { - LevelData = other.LevelData; - } - if (other.MainOrSupport != 0) { - MainOrSupport = other.MainOrSupport; - } - if (other.Trigger != 0) { - Trigger = other.Trigger; - } - if (other.TriggerTarget != 0) { - TriggerTarget = other.TriggerTarget; - } - if (other.TriggerCondition1 != 0) { - TriggerCondition1 = other.TriggerCondition1; - } - if (other.TriggerParam1.Length != 0) { - TriggerParam1 = other.TriggerParam1; - } - if (other.TriggerParam2.Length != 0) { - TriggerParam2 = other.TriggerParam2; - } - if (other.TriggerParam3.Length != 0) { - TriggerParam3 = other.TriggerParam3; - } - if (other.TriggerParam4.Length != 0) { - TriggerParam4 = other.TriggerParam4; - } - if (other.TriggerTarget2 != 0) { - TriggerTarget2 = other.TriggerTarget2; - } - if (other.TriggerCondition2 != 0) { - TriggerCondition2 = other.TriggerCondition2; - } - if (other.Trigger2Param1.Length != 0) { - Trigger2Param1 = other.Trigger2Param1; - } - if (other.Trigger2Param2.Length != 0) { - Trigger2Param2 = other.Trigger2Param2; - } - if (other.Trigger2Param3.Length != 0) { - Trigger2Param3 = other.Trigger2Param3; - } - if (other.Trigger2Param4.Length != 0) { - Trigger2Param4 = other.Trigger2Param4; - } - if (other.TriggerLogicType != 0) { - TriggerLogicType = other.TriggerLogicType; - } - if (other.TakeEffectTarget1 != 0) { - TakeEffectTarget1 = other.TakeEffectTarget1; - } - if (other.TakeEffectCondition1 != 0) { - TakeEffectCondition1 = other.TakeEffectCondition1; - } - if (other.TakeEffectParam1.Length != 0) { - TakeEffectParam1 = other.TakeEffectParam1; - } - if (other.TakeEffectParam2.Length != 0) { - TakeEffectParam2 = other.TakeEffectParam2; - } - if (other.TakeEffectParam3.Length != 0) { - TakeEffectParam3 = other.TakeEffectParam3; - } - if (other.TakeEffectParam4.Length != 0) { - TakeEffectParam4 = other.TakeEffectParam4; - } - if (other.TakeEffectTarget2 != 0) { - TakeEffectTarget2 = other.TakeEffectTarget2; - } - if (other.TakeEffectCondition2 != 0) { - TakeEffectCondition2 = other.TakeEffectCondition2; - } - if (other.TakeEffect2Param1.Length != 0) { - TakeEffect2Param1 = other.TakeEffect2Param1; - } - if (other.TakeEffect2Param2.Length != 0) { - TakeEffect2Param2 = other.TakeEffect2Param2; - } - if (other.TakeEffect2Param3.Length != 0) { - TakeEffect2Param3 = other.TakeEffect2Param3; - } - if (other.TakeEffect2Param4.Length != 0) { - TakeEffect2Param4 = other.TakeEffect2Param4; - } - if (other.TakeEffectLogicType != 0) { - TakeEffectLogicType = other.TakeEffectLogicType; - } - if (other.Target1 != 0) { - Target1 = other.Target1; - } - if (other.TargetCondition1 != 0) { - TargetCondition1 = other.TargetCondition1; - } - if (other.TargetParam1.Length != 0) { - TargetParam1 = other.TargetParam1; - } - if (other.TargetParam2.Length != 0) { - TargetParam2 = other.TargetParam2; - } - if (other.TargetParam3.Length != 0) { - TargetParam3 = other.TargetParam3; - } - if (other.TargetParam4.Length != 0) { - TargetParam4 = other.TargetParam4; - } - if (other.TargetCondition2 != 0) { - TargetCondition2 = other.TargetCondition2; - } - if (other.Target2Param1.Length != 0) { - Target2Param1 = other.Target2Param1; - } - if (other.Target2Param2.Length != 0) { - Target2Param2 = other.Target2Param2; - } - if (other.Target2Param3.Length != 0) { - Target2Param3 = other.Target2Param3; - } - if (other.Target2Param4.Length != 0) { - Target2Param4 = other.Target2Param4; - } - if (other.FilterLogicType != 0) { - FilterLogicType = other.FilterLogicType; - } - _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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 32: { - LevelData = input.ReadInt32(); - break; - } - case 40: { - MainOrSupport = input.ReadInt32(); - break; - } - case 48: { - Trigger = input.ReadInt32(); - break; - } - case 56: { - TriggerTarget = input.ReadInt32(); - break; - } - case 64: { - TriggerCondition1 = input.ReadInt32(); - break; - } - case 74: { - TriggerParam1 = input.ReadString(); - break; - } - case 82: { - TriggerParam2 = input.ReadString(); - break; - } - case 90: { - TriggerParam3 = input.ReadString(); - break; - } - case 98: { - TriggerParam4 = input.ReadString(); - break; - } - case 104: { - TriggerTarget2 = input.ReadInt32(); - break; - } - case 112: { - TriggerCondition2 = input.ReadInt32(); - break; - } - case 122: { - Trigger2Param1 = input.ReadString(); - break; - } - case 130: { - Trigger2Param2 = input.ReadString(); - break; - } - case 138: { - Trigger2Param3 = input.ReadString(); - break; - } - case 146: { - Trigger2Param4 = input.ReadString(); - break; - } - case 152: { - TriggerLogicType = input.ReadInt32(); - break; - } - case 160: { - TakeEffectTarget1 = input.ReadInt32(); - break; - } - case 168: { - TakeEffectCondition1 = input.ReadInt32(); - break; - } - case 178: { - TakeEffectParam1 = input.ReadString(); - break; - } - case 186: { - TakeEffectParam2 = input.ReadString(); - break; - } - case 194: { - TakeEffectParam3 = input.ReadString(); - break; - } - case 202: { - TakeEffectParam4 = input.ReadString(); - break; - } - case 208: { - TakeEffectTarget2 = input.ReadInt32(); - break; - } - case 216: { - TakeEffectCondition2 = input.ReadInt32(); - break; - } - case 226: { - TakeEffect2Param1 = input.ReadString(); - break; - } - case 234: { - TakeEffect2Param2 = input.ReadString(); - break; - } - case 242: { - TakeEffect2Param3 = input.ReadString(); - break; - } - case 250: { - TakeEffect2Param4 = input.ReadString(); - break; - } - case 256: { - TakeEffectLogicType = input.ReadInt32(); - break; - } - case 264: { - Target1 = input.ReadInt32(); - break; - } - case 272: { - TargetCondition1 = input.ReadInt32(); - break; - } - case 282: { - TargetParam1 = input.ReadString(); - break; - } - case 290: { - TargetParam2 = input.ReadString(); - break; - } - case 298: { - TargetParam3 = input.ReadString(); - break; - } - case 306: { - TargetParam4 = input.ReadString(); - break; - } - case 312: { - TargetCondition2 = input.ReadInt32(); - break; - } - case 322: { - Target2Param1 = input.ReadString(); - break; - } - case 330: { - Target2Param2 = input.ReadString(); - break; - } - case 338: { - Target2Param3 = input.ReadString(); - break; - } - case 346: { - Target2Param4 = input.ReadString(); - break; - } - case 352: { - FilterLogicType = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - LevelTypeData = input.ReadInt32(); - break; - } - case 32: { - LevelData = input.ReadInt32(); - break; - } - case 40: { - MainOrSupport = input.ReadInt32(); - break; - } - case 48: { - Trigger = input.ReadInt32(); - break; - } - case 56: { - TriggerTarget = input.ReadInt32(); - break; - } - case 64: { - TriggerCondition1 = input.ReadInt32(); - break; - } - case 74: { - TriggerParam1 = input.ReadString(); - break; - } - case 82: { - TriggerParam2 = input.ReadString(); - break; - } - case 90: { - TriggerParam3 = input.ReadString(); - break; - } - case 98: { - TriggerParam4 = input.ReadString(); - break; - } - case 104: { - TriggerTarget2 = input.ReadInt32(); - break; - } - case 112: { - TriggerCondition2 = input.ReadInt32(); - break; - } - case 122: { - Trigger2Param1 = input.ReadString(); - break; - } - case 130: { - Trigger2Param2 = input.ReadString(); - break; - } - case 138: { - Trigger2Param3 = input.ReadString(); - break; - } - case 146: { - Trigger2Param4 = input.ReadString(); - break; - } - case 152: { - TriggerLogicType = input.ReadInt32(); - break; - } - case 160: { - TakeEffectTarget1 = input.ReadInt32(); - break; - } - case 168: { - TakeEffectCondition1 = input.ReadInt32(); - break; - } - case 178: { - TakeEffectParam1 = input.ReadString(); - break; - } - case 186: { - TakeEffectParam2 = input.ReadString(); - break; - } - case 194: { - TakeEffectParam3 = input.ReadString(); - break; - } - case 202: { - TakeEffectParam4 = input.ReadString(); - break; - } - case 208: { - TakeEffectTarget2 = input.ReadInt32(); - break; - } - case 216: { - TakeEffectCondition2 = input.ReadInt32(); - break; - } - case 226: { - TakeEffect2Param1 = input.ReadString(); - break; - } - case 234: { - TakeEffect2Param2 = input.ReadString(); - break; - } - case 242: { - TakeEffect2Param3 = input.ReadString(); - break; - } - case 250: { - TakeEffect2Param4 = input.ReadString(); - break; - } - case 256: { - TakeEffectLogicType = input.ReadInt32(); - break; - } - case 264: { - Target1 = input.ReadInt32(); - break; - } - case 272: { - TargetCondition1 = input.ReadInt32(); - break; - } - case 282: { - TargetParam1 = input.ReadString(); - break; - } - case 290: { - TargetParam2 = input.ReadString(); - break; - } - case 298: { - TargetParam3 = input.ReadString(); - break; - } - case 306: { - TargetParam4 = input.ReadString(); - break; - } - case 312: { - TargetCondition2 = input.ReadInt32(); - break; - } - case 322: { - Target2Param1 = input.ReadString(); - break; - } - case 330: { - Target2Param2 = input.ReadString(); - break; - } - case 338: { - Target2Param3 = input.ReadString(); - break; - } - case 346: { - Target2Param4 = input.ReadString(); - break; - } - case 352: { - FilterLogicType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EffectDesc.cs b/Novaria.Common/Protos/EffectDesc.cs deleted file mode 100644 index f118e85..0000000 --- a/Novaria.Common/Protos/EffectDesc.cs +++ /dev/null @@ -1,578 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EffectDesc.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 EffectDesc.proto - public static partial class EffectDescReflection { - - #region Descriptor - /// File descriptor for EffectDesc.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EffectDescReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBFZmZlY3REZXNjLnByb3RvIrwBCgpFZmZlY3REZXNjEgoKAmlkGAEgASgF", - "EhAKCHR5cGVfaV9kGAIgASgFEhEKCXR5cGUyX2lfZBgDIAEoBRIMCgRkZXNj", - "GAQgASgJEhgKEHJhbmRvbV9hdHRyX2Rlc2MYBSABKAkSEQoJYXR0cmlidXRl", - "GAYgASgJEhAKCHdvcmRfaV9kGAcgASgFEhIKCmlzX3BlcmNlbnQYCCABKAgS", - "DAoEaWNvbhgJIAEoCRIOCgZmb3JtYXQYCiABKAVCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EffectDesc), global::Nova.Client.EffectDesc.Parser, new[]{ "Id", "TypeID", "Type2ID", "Desc", "RandomAttrDesc", "Attribute", "WordID", "IsPercent", "Icon", "Format" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EffectDesc : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EffectDesc()); - 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.EffectDescReflection.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 EffectDesc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EffectDesc(EffectDesc other) : this() { - id_ = other.id_; - typeID_ = other.typeID_; - type2ID_ = other.type2ID_; - desc_ = other.desc_; - randomAttrDesc_ = other.randomAttrDesc_; - attribute_ = other.attribute_; - wordID_ = other.wordID_; - isPercent_ = other.isPercent_; - icon_ = other.icon_; - format_ = other.format_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EffectDesc Clone() { - return new EffectDesc(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 "type_i_d" field. - public const int TypeIDFieldNumber = 2; - private int typeID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TypeID { - get { return typeID_; } - set { - typeID_ = value; - } - } - - /// Field number for the "type2_i_d" field. - public const int Type2IDFieldNumber = 3; - private int type2ID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type2ID { - get { return type2ID_; } - set { - type2ID_ = value; - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 4; - 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 "random_attr_desc" field. - public const int RandomAttrDescFieldNumber = 5; - private string randomAttrDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RandomAttrDesc { - get { return randomAttrDesc_; } - set { - randomAttrDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "attribute" field. - public const int AttributeFieldNumber = 6; - private string attribute_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Attribute { - get { return attribute_; } - set { - attribute_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "word_i_d" field. - public const int WordIDFieldNumber = 7; - private int wordID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WordID { - get { return wordID_; } - set { - wordID_ = value; - } - } - - /// Field number for the "is_percent" field. - public const int IsPercentFieldNumber = 8; - private bool isPercent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsPercent { - get { return isPercent_; } - set { - isPercent_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 9; - 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 "format" field. - public const int FormatFieldNumber = 10; - private int format_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Format { - get { return format_; } - set { - format_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EffectDesc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EffectDesc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (TypeID != other.TypeID) return false; - if (Type2ID != other.Type2ID) return false; - if (Desc != other.Desc) return false; - if (RandomAttrDesc != other.RandomAttrDesc) return false; - if (Attribute != other.Attribute) return false; - if (WordID != other.WordID) return false; - if (IsPercent != other.IsPercent) return false; - if (Icon != other.Icon) return false; - if (Format != other.Format) 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 (TypeID != 0) hash ^= TypeID.GetHashCode(); - if (Type2ID != 0) hash ^= Type2ID.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (RandomAttrDesc.Length != 0) hash ^= RandomAttrDesc.GetHashCode(); - if (Attribute.Length != 0) hash ^= Attribute.GetHashCode(); - if (WordID != 0) hash ^= WordID.GetHashCode(); - if (IsPercent != false) hash ^= IsPercent.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Format != 0) hash ^= Format.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 (TypeID != 0) { - output.WriteRawTag(16); - output.WriteInt32(TypeID); - } - if (Type2ID != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type2ID); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (RandomAttrDesc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(RandomAttrDesc); - } - if (Attribute.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Attribute); - } - if (WordID != 0) { - output.WriteRawTag(56); - output.WriteInt32(WordID); - } - if (IsPercent != false) { - output.WriteRawTag(64); - output.WriteBool(IsPercent); - } - if (Icon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Icon); - } - if (Format != 0) { - output.WriteRawTag(80); - output.WriteInt32(Format); - } - 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 (TypeID != 0) { - output.WriteRawTag(16); - output.WriteInt32(TypeID); - } - if (Type2ID != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type2ID); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (RandomAttrDesc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(RandomAttrDesc); - } - if (Attribute.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Attribute); - } - if (WordID != 0) { - output.WriteRawTag(56); - output.WriteInt32(WordID); - } - if (IsPercent != false) { - output.WriteRawTag(64); - output.WriteBool(IsPercent); - } - if (Icon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Icon); - } - if (Format != 0) { - output.WriteRawTag(80); - output.WriteInt32(Format); - } - 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 (TypeID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TypeID); - } - if (Type2ID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type2ID); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (RandomAttrDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RandomAttrDesc); - } - if (Attribute.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Attribute); - } - if (WordID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WordID); - } - if (IsPercent != false) { - size += 1 + 1; - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Format != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Format); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EffectDesc other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.TypeID != 0) { - TypeID = other.TypeID; - } - if (other.Type2ID != 0) { - Type2ID = other.Type2ID; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.RandomAttrDesc.Length != 0) { - RandomAttrDesc = other.RandomAttrDesc; - } - if (other.Attribute.Length != 0) { - Attribute = other.Attribute; - } - if (other.WordID != 0) { - WordID = other.WordID; - } - if (other.IsPercent != false) { - IsPercent = other.IsPercent; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Format != 0) { - Format = other.Format; - } - _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: { - TypeID = input.ReadInt32(); - break; - } - case 24: { - Type2ID = input.ReadInt32(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - RandomAttrDesc = input.ReadString(); - break; - } - case 50: { - Attribute = input.ReadString(); - break; - } - case 56: { - WordID = input.ReadInt32(); - break; - } - case 64: { - IsPercent = input.ReadBool(); - break; - } - case 74: { - Icon = input.ReadString(); - break; - } - case 80: { - Format = 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: { - TypeID = input.ReadInt32(); - break; - } - case 24: { - Type2ID = input.ReadInt32(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - RandomAttrDesc = input.ReadString(); - break; - } - case 50: { - Attribute = input.ReadString(); - break; - } - case 56: { - WordID = input.ReadInt32(); - break; - } - case 64: { - IsPercent = input.ReadBool(); - break; - } - case 74: { - Icon = input.ReadString(); - break; - } - case 80: { - Format = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EffectValue.cs b/Novaria.Common/Protos/EffectValue.cs deleted file mode 100644 index d7f21a7..0000000 --- a/Novaria.Common/Protos/EffectValue.cs +++ /dev/null @@ -1,842 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EffectValue.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 EffectValue.proto - public static partial class EffectValueReflection { - - #region Descriptor - /// File descriptor for EffectValue.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EffectValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFFZmZlY3RWYWx1ZS5wcm90byKhAwoLRWZmZWN0VmFsdWUSCgoCaWQYASAB", - "KAUSDAoEbmFtZRgCIAEoCRILCgN0YWcYAyABKAkSGQoRdGFrZV9lZmZlY3Rf", - "bGltaXQYBCABKAUSDgoGcmVtb3ZlGAUgASgIEgsKA2NfZBgGIAEoBRITCgtl", - "ZmZlY3RfcmF0ZRgHIAEoBRITCgtlZmZlY3RfdHlwZRgIIAEoBRIhChllZmZl", - "Y3RfdHlwZV9maXJzdF9zdWJ0eXBlGAkgASgFEiIKGmVmZmVjdF90eXBlX3Nl", - "Y29uZF9zdWJ0eXBlGAogASgFEhoKEmVmZmVjdF90eXBlX3BhcmFtMRgLIAEo", - "CRIaChJlZmZlY3RfdHlwZV9wYXJhbTIYDCABKAkSGgoSZWZmZWN0X3R5cGVf", - "cGFyYW0zGA0gASgJEhoKEmVmZmVjdF90eXBlX3BhcmFtNBgOIAEoCRIaChJl", - "ZmZlY3RfdHlwZV9wYXJhbTUYDyABKAkSGgoSZWZmZWN0X3R5cGVfcGFyYW02", - "GBAgASgJEhoKEmVmZmVjdF90eXBlX3BhcmFtNxgRIAEoCUIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EffectValue), global::Nova.Client.EffectValue.Parser, new[]{ "Id", "Name", "Tag", "TakeEffectLimit", "Remove", "CD", "EffectRate", "EffectType", "EffectTypeFirstSubtype", "EffectTypeSecondSubtype", "EffectTypeParam1", "EffectTypeParam2", "EffectTypeParam3", "EffectTypeParam4", "EffectTypeParam5", "EffectTypeParam6", "EffectTypeParam7" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EffectValue : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EffectValue()); - 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.EffectValueReflection.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 EffectValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EffectValue(EffectValue other) : this() { - id_ = other.id_; - name_ = other.name_; - tag_ = other.tag_; - takeEffectLimit_ = other.takeEffectLimit_; - remove_ = other.remove_; - cD_ = other.cD_; - effectRate_ = other.effectRate_; - effectType_ = other.effectType_; - effectTypeFirstSubtype_ = other.effectTypeFirstSubtype_; - effectTypeSecondSubtype_ = other.effectTypeSecondSubtype_; - effectTypeParam1_ = other.effectTypeParam1_; - effectTypeParam2_ = other.effectTypeParam2_; - effectTypeParam3_ = other.effectTypeParam3_; - effectTypeParam4_ = other.effectTypeParam4_; - effectTypeParam5_ = other.effectTypeParam5_; - effectTypeParam6_ = other.effectTypeParam6_; - effectTypeParam7_ = other.effectTypeParam7_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EffectValue Clone() { - return new EffectValue(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 "name" field. - 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"); - } - } - - /// Field number for the "tag" field. - public const int TagFieldNumber = 3; - private string tag_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag { - get { return tag_; } - set { - tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "take_effect_limit" field. - public const int TakeEffectLimitFieldNumber = 4; - private int takeEffectLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TakeEffectLimit { - get { return takeEffectLimit_; } - set { - takeEffectLimit_ = value; - } - } - - /// Field number for the "remove" field. - public const int RemoveFieldNumber = 5; - private bool remove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Remove { - get { return remove_; } - set { - remove_ = value; - } - } - - /// Field number for the "c_d" field. - public const int CDFieldNumber = 6; - private int cD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CD { - get { return cD_; } - set { - cD_ = value; - } - } - - /// Field number for the "effect_rate" field. - public const int EffectRateFieldNumber = 7; - private int effectRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectRate { - get { return effectRate_; } - set { - effectRate_ = value; - } - } - - /// Field number for the "effect_type" field. - public const int EffectTypeFieldNumber = 8; - private int effectType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectType { - get { return effectType_; } - set { - effectType_ = value; - } - } - - /// Field number for the "effect_type_first_subtype" field. - public const int EffectTypeFirstSubtypeFieldNumber = 9; - private int effectTypeFirstSubtype_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectTypeFirstSubtype { - get { return effectTypeFirstSubtype_; } - set { - effectTypeFirstSubtype_ = value; - } - } - - /// Field number for the "effect_type_second_subtype" field. - public const int EffectTypeSecondSubtypeFieldNumber = 10; - private int effectTypeSecondSubtype_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectTypeSecondSubtype { - get { return effectTypeSecondSubtype_; } - set { - effectTypeSecondSubtype_ = value; - } - } - - /// Field number for the "effect_type_param1" field. - public const int EffectTypeParam1FieldNumber = 11; - private string effectTypeParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam1 { - get { return effectTypeParam1_; } - set { - effectTypeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_type_param2" field. - public const int EffectTypeParam2FieldNumber = 12; - private string effectTypeParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam2 { - get { return effectTypeParam2_; } - set { - effectTypeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_type_param3" field. - public const int EffectTypeParam3FieldNumber = 13; - private string effectTypeParam3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam3 { - get { return effectTypeParam3_; } - set { - effectTypeParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_type_param4" field. - public const int EffectTypeParam4FieldNumber = 14; - private string effectTypeParam4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam4 { - get { return effectTypeParam4_; } - set { - effectTypeParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_type_param5" field. - public const int EffectTypeParam5FieldNumber = 15; - private string effectTypeParam5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam5 { - get { return effectTypeParam5_; } - set { - effectTypeParam5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_type_param6" field. - public const int EffectTypeParam6FieldNumber = 16; - private string effectTypeParam6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam6 { - get { return effectTypeParam6_; } - set { - effectTypeParam6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_type_param7" field. - public const int EffectTypeParam7FieldNumber = 17; - private string effectTypeParam7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EffectTypeParam7 { - get { return effectTypeParam7_; } - set { - effectTypeParam7_ = 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 EffectValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EffectValue 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 (Tag != other.Tag) return false; - if (TakeEffectLimit != other.TakeEffectLimit) return false; - if (Remove != other.Remove) return false; - if (CD != other.CD) return false; - if (EffectRate != other.EffectRate) return false; - if (EffectType != other.EffectType) return false; - if (EffectTypeFirstSubtype != other.EffectTypeFirstSubtype) return false; - if (EffectTypeSecondSubtype != other.EffectTypeSecondSubtype) return false; - if (EffectTypeParam1 != other.EffectTypeParam1) return false; - if (EffectTypeParam2 != other.EffectTypeParam2) return false; - if (EffectTypeParam3 != other.EffectTypeParam3) return false; - if (EffectTypeParam4 != other.EffectTypeParam4) return false; - if (EffectTypeParam5 != other.EffectTypeParam5) return false; - if (EffectTypeParam6 != other.EffectTypeParam6) return false; - if (EffectTypeParam7 != other.EffectTypeParam7) 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 (Tag.Length != 0) hash ^= Tag.GetHashCode(); - if (TakeEffectLimit != 0) hash ^= TakeEffectLimit.GetHashCode(); - if (Remove != false) hash ^= Remove.GetHashCode(); - if (CD != 0) hash ^= CD.GetHashCode(); - if (EffectRate != 0) hash ^= EffectRate.GetHashCode(); - if (EffectType != 0) hash ^= EffectType.GetHashCode(); - if (EffectTypeFirstSubtype != 0) hash ^= EffectTypeFirstSubtype.GetHashCode(); - if (EffectTypeSecondSubtype != 0) hash ^= EffectTypeSecondSubtype.GetHashCode(); - if (EffectTypeParam1.Length != 0) hash ^= EffectTypeParam1.GetHashCode(); - if (EffectTypeParam2.Length != 0) hash ^= EffectTypeParam2.GetHashCode(); - if (EffectTypeParam3.Length != 0) hash ^= EffectTypeParam3.GetHashCode(); - if (EffectTypeParam4.Length != 0) hash ^= EffectTypeParam4.GetHashCode(); - if (EffectTypeParam5.Length != 0) hash ^= EffectTypeParam5.GetHashCode(); - if (EffectTypeParam6.Length != 0) hash ^= EffectTypeParam6.GetHashCode(); - if (EffectTypeParam7.Length != 0) hash ^= EffectTypeParam7.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 (Tag.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Tag); - } - if (TakeEffectLimit != 0) { - output.WriteRawTag(32); - output.WriteInt32(TakeEffectLimit); - } - if (Remove != false) { - output.WriteRawTag(40); - output.WriteBool(Remove); - } - if (CD != 0) { - output.WriteRawTag(48); - output.WriteInt32(CD); - } - if (EffectRate != 0) { - output.WriteRawTag(56); - output.WriteInt32(EffectRate); - } - if (EffectType != 0) { - output.WriteRawTag(64); - output.WriteInt32(EffectType); - } - if (EffectTypeFirstSubtype != 0) { - output.WriteRawTag(72); - output.WriteInt32(EffectTypeFirstSubtype); - } - if (EffectTypeSecondSubtype != 0) { - output.WriteRawTag(80); - output.WriteInt32(EffectTypeSecondSubtype); - } - if (EffectTypeParam1.Length != 0) { - output.WriteRawTag(90); - output.WriteString(EffectTypeParam1); - } - if (EffectTypeParam2.Length != 0) { - output.WriteRawTag(98); - output.WriteString(EffectTypeParam2); - } - if (EffectTypeParam3.Length != 0) { - output.WriteRawTag(106); - output.WriteString(EffectTypeParam3); - } - if (EffectTypeParam4.Length != 0) { - output.WriteRawTag(114); - output.WriteString(EffectTypeParam4); - } - if (EffectTypeParam5.Length != 0) { - output.WriteRawTag(122); - output.WriteString(EffectTypeParam5); - } - if (EffectTypeParam6.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(EffectTypeParam6); - } - if (EffectTypeParam7.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(EffectTypeParam7); - } - 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 (Tag.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Tag); - } - if (TakeEffectLimit != 0) { - output.WriteRawTag(32); - output.WriteInt32(TakeEffectLimit); - } - if (Remove != false) { - output.WriteRawTag(40); - output.WriteBool(Remove); - } - if (CD != 0) { - output.WriteRawTag(48); - output.WriteInt32(CD); - } - if (EffectRate != 0) { - output.WriteRawTag(56); - output.WriteInt32(EffectRate); - } - if (EffectType != 0) { - output.WriteRawTag(64); - output.WriteInt32(EffectType); - } - if (EffectTypeFirstSubtype != 0) { - output.WriteRawTag(72); - output.WriteInt32(EffectTypeFirstSubtype); - } - if (EffectTypeSecondSubtype != 0) { - output.WriteRawTag(80); - output.WriteInt32(EffectTypeSecondSubtype); - } - if (EffectTypeParam1.Length != 0) { - output.WriteRawTag(90); - output.WriteString(EffectTypeParam1); - } - if (EffectTypeParam2.Length != 0) { - output.WriteRawTag(98); - output.WriteString(EffectTypeParam2); - } - if (EffectTypeParam3.Length != 0) { - output.WriteRawTag(106); - output.WriteString(EffectTypeParam3); - } - if (EffectTypeParam4.Length != 0) { - output.WriteRawTag(114); - output.WriteString(EffectTypeParam4); - } - if (EffectTypeParam5.Length != 0) { - output.WriteRawTag(122); - output.WriteString(EffectTypeParam5); - } - if (EffectTypeParam6.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(EffectTypeParam6); - } - if (EffectTypeParam7.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(EffectTypeParam7); - } - 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 (Tag.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); - } - if (TakeEffectLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectLimit); - } - if (Remove != false) { - size += 1 + 1; - } - if (CD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CD); - } - if (EffectRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectRate); - } - if (EffectType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectType); - } - if (EffectTypeFirstSubtype != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectTypeFirstSubtype); - } - if (EffectTypeSecondSubtype != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectTypeSecondSubtype); - } - if (EffectTypeParam1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam1); - } - if (EffectTypeParam2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam2); - } - if (EffectTypeParam3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam3); - } - if (EffectTypeParam4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam4); - } - if (EffectTypeParam5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam5); - } - if (EffectTypeParam6.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam6); - } - if (EffectTypeParam7.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam7); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EffectValue other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Tag.Length != 0) { - Tag = other.Tag; - } - if (other.TakeEffectLimit != 0) { - TakeEffectLimit = other.TakeEffectLimit; - } - if (other.Remove != false) { - Remove = other.Remove; - } - if (other.CD != 0) { - CD = other.CD; - } - if (other.EffectRate != 0) { - EffectRate = other.EffectRate; - } - if (other.EffectType != 0) { - EffectType = other.EffectType; - } - if (other.EffectTypeFirstSubtype != 0) { - EffectTypeFirstSubtype = other.EffectTypeFirstSubtype; - } - if (other.EffectTypeSecondSubtype != 0) { - EffectTypeSecondSubtype = other.EffectTypeSecondSubtype; - } - if (other.EffectTypeParam1.Length != 0) { - EffectTypeParam1 = other.EffectTypeParam1; - } - if (other.EffectTypeParam2.Length != 0) { - EffectTypeParam2 = other.EffectTypeParam2; - } - if (other.EffectTypeParam3.Length != 0) { - EffectTypeParam3 = other.EffectTypeParam3; - } - if (other.EffectTypeParam4.Length != 0) { - EffectTypeParam4 = other.EffectTypeParam4; - } - if (other.EffectTypeParam5.Length != 0) { - EffectTypeParam5 = other.EffectTypeParam5; - } - if (other.EffectTypeParam6.Length != 0) { - EffectTypeParam6 = other.EffectTypeParam6; - } - if (other.EffectTypeParam7.Length != 0) { - EffectTypeParam7 = other.EffectTypeParam7; - } - _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 26: { - Tag = input.ReadString(); - break; - } - case 32: { - TakeEffectLimit = input.ReadInt32(); - break; - } - case 40: { - Remove = input.ReadBool(); - break; - } - case 48: { - CD = input.ReadInt32(); - break; - } - case 56: { - EffectRate = input.ReadInt32(); - break; - } - case 64: { - EffectType = input.ReadInt32(); - break; - } - case 72: { - EffectTypeFirstSubtype = input.ReadInt32(); - break; - } - case 80: { - EffectTypeSecondSubtype = input.ReadInt32(); - break; - } - case 90: { - EffectTypeParam1 = input.ReadString(); - break; - } - case 98: { - EffectTypeParam2 = input.ReadString(); - break; - } - case 106: { - EffectTypeParam3 = input.ReadString(); - break; - } - case 114: { - EffectTypeParam4 = input.ReadString(); - break; - } - case 122: { - EffectTypeParam5 = input.ReadString(); - break; - } - case 130: { - EffectTypeParam6 = input.ReadString(); - break; - } - case 138: { - EffectTypeParam7 = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Tag = input.ReadString(); - break; - } - case 32: { - TakeEffectLimit = input.ReadInt32(); - break; - } - case 40: { - Remove = input.ReadBool(); - break; - } - case 48: { - CD = input.ReadInt32(); - break; - } - case 56: { - EffectRate = input.ReadInt32(); - break; - } - case 64: { - EffectType = input.ReadInt32(); - break; - } - case 72: { - EffectTypeFirstSubtype = input.ReadInt32(); - break; - } - case 80: { - EffectTypeSecondSubtype = input.ReadInt32(); - break; - } - case 90: { - EffectTypeParam1 = input.ReadString(); - break; - } - case 98: { - EffectTypeParam2 = input.ReadString(); - break; - } - case 106: { - EffectTypeParam3 = input.ReadString(); - break; - } - case 114: { - EffectTypeParam4 = input.ReadString(); - break; - } - case 122: { - EffectTypeParam5 = input.ReadString(); - break; - } - case 130: { - EffectTypeParam6 = input.ReadString(); - break; - } - case 138: { - EffectTypeParam7 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EndSceneType.cs b/Novaria.Common/Protos/EndSceneType.cs deleted file mode 100644 index f3d5030..0000000 --- a/Novaria.Common/Protos/EndSceneType.cs +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EndSceneType.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 EndSceneType.proto - public static partial class EndSceneTypeReflection { - - #region Descriptor - /// File descriptor for EndSceneType.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EndSceneTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJFbmRTY2VuZVR5cGUucHJvdG8iUAoMRW5kU2NlbmVUeXBlEgoKAmlkGAEg", - "ASgFEg0KBXRoZW1lGAIgASgFEhYKDmVuZF9zY2VuZV9uYW1lGAMgASgJEg0K", - "BWJfZ19tGAQgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EndSceneType), global::Nova.Client.EndSceneType.Parser, new[]{ "Id", "Theme", "EndSceneName", "BGM" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EndSceneType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EndSceneType()); - 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.EndSceneTypeReflection.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 EndSceneType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EndSceneType(EndSceneType other) : this() { - id_ = other.id_; - theme_ = other.theme_; - endSceneName_ = other.endSceneName_; - bGM_ = other.bGM_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EndSceneType Clone() { - return new EndSceneType(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 "theme" field. - public const int ThemeFieldNumber = 2; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// Field number for the "end_scene_name" field. - public const int EndSceneNameFieldNumber = 3; - private string endSceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndSceneName { - get { return endSceneName_; } - set { - endSceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "b_g_m" field. - public const int BGMFieldNumber = 4; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = 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 EndSceneType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EndSceneType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Theme != other.Theme) return false; - if (EndSceneName != other.EndSceneName) return false; - if (BGM != other.BGM) 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 (Theme != 0) hash ^= Theme.GetHashCode(); - if (EndSceneName.Length != 0) hash ^= EndSceneName.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.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 (Theme != 0) { - output.WriteRawTag(16); - output.WriteInt32(Theme); - } - if (EndSceneName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(EndSceneName); - } - if (BGM.Length != 0) { - output.WriteRawTag(34); - output.WriteString(BGM); - } - 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 (Theme != 0) { - output.WriteRawTag(16); - output.WriteInt32(Theme); - } - if (EndSceneName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(EndSceneName); - } - if (BGM.Length != 0) { - output.WriteRawTag(34); - output.WriteString(BGM); - } - 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 (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (EndSceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndSceneName); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EndSceneType other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.EndSceneName.Length != 0) { - EndSceneName = other.EndSceneName; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - _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: { - Theme = input.ReadInt32(); - break; - } - case 26: { - EndSceneName = input.ReadString(); - break; - } - case 34: { - BGM = 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: { - Theme = input.ReadInt32(); - break; - } - case 26: { - EndSceneName = input.ReadString(); - break; - } - case 34: { - BGM = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EnergyBuy.cs b/Novaria.Common/Protos/EnergyBuy.cs index 20c2098..6ff712c 100644 --- a/Novaria.Common/Protos/EnergyBuy.cs +++ b/Novaria.Common/Protos/EnergyBuy.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EnergyBuy.proto +// source: energy_buy.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,13 +9,13 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from EnergyBuy.proto + /// Holder for reflection information generated from energy_buy.proto public static partial class EnergyBuyReflection { #region Descriptor - /// File descriptor for EnergyBuy.proto + /// File descriptor for energy_buy.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -24,14 +24,14 @@ namespace Nova.Client { static EnergyBuyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg9FbmVyZ3lCdXkucHJvdG8iYgoJRW5lcmd5QnV5EgoKAmlkGAEgASgFEhgK", - "EGN1cnJlbmN5X2l0ZW1faWQYAiABKAUSGQoRY3VycmVuY3lfaXRlbV9xdHkY", - "AyABKAUSFAoMZW5lcmd5X3ZhbHVlGAQgASgFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); + "ChBlbmVyZ3lfYnV5LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIlcKDUVu", + "ZXJneUJ1eVJlc3ASDQoFQ291bnQYASABKA0SIQoGQ2hhbmdlGAIgASgLMhEu", + "cHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJv", + "dG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EnergyBuy), global::Nova.Client.EnergyBuy.Parser, new[]{ "Id", "CurrencyItemId", "CurrencyItemQty", "EnergyValue" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EnergyBuyResp), global::Proto.EnergyBuyResp.Parser, new[]{ "Count", "Change", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EnergyBuy : pb::IMessage + public sealed partial class EnergyBuyResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnergyBuy()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnergyBuyResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.EnergyBuyReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.EnergyBuyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnergyBuy() { + public EnergyBuyResp() { OnConstruction(); } @@ -72,87 +72,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnergyBuy(EnergyBuy other) : this() { - id_ = other.id_; - currencyItemId_ = other.currencyItemId_; - currencyItemQty_ = other.currencyItemQty_; - energyValue_ = other.energyValue_; + public EnergyBuyResp(EnergyBuyResp other) : this() { + count_ = other.count_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnergyBuy Clone() { - return new EnergyBuy(this); + public EnergyBuyResp Clone() { + return new EnergyBuyResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Count" field. + public const int CountFieldNumber = 1; + private uint count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint Count { + get { return count_; } set { - id_ = value; + count_ = value; } } - /// Field number for the "currency_item_id" field. - public const int CurrencyItemIdFieldNumber = 2; - private int currencyItemId_; + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyItemId { - get { return currencyItemId_; } + public global::Proto.ChangeInfo Change { + get { return change_; } set { - currencyItemId_ = value; + change_ = value; } } - /// Field number for the "currency_item_qty" field. - public const int CurrencyItemQtyFieldNumber = 3; - private int currencyItemQty_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyItemQty { - get { return currencyItemQty_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - currencyItemQty_ = value; - } - } - - /// Field number for the "energy_value" field. - public const int EnergyValueFieldNumber = 4; - private int energyValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyValue { - get { return energyValue_; } - set { - energyValue_ = value; + nextPackage_ = 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 EnergyBuy); + return Equals(other as EnergyBuyResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EnergyBuy other) { + public bool Equals(EnergyBuyResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (CurrencyItemId != other.CurrencyItemId) return false; - if (CurrencyItemQty != other.CurrencyItemQty) return false; - if (EnergyValue != other.EnergyValue) return false; + if (Count != other.Count) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -160,10 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (CurrencyItemId != 0) hash ^= CurrencyItemId.GetHashCode(); - if (CurrencyItemQty != 0) hash ^= CurrencyItemQty.GetHashCode(); - if (EnergyValue != 0) hash ^= EnergyValue.GetHashCode(); + if (Count != 0) hash ^= Count.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -182,21 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (Count != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Count); } - if (CurrencyItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CurrencyItemId); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); } - if (CurrencyItemQty != 0) { - output.WriteRawTag(24); - output.WriteInt32(CurrencyItemQty); - } - if (EnergyValue != 0) { - output.WriteRawTag(32); - output.WriteInt32(EnergyValue); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -208,21 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (Count != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Count); } - if (CurrencyItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CurrencyItemId); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); } - if (CurrencyItemQty != 0) { - output.WriteRawTag(24); - output.WriteInt32(CurrencyItemQty); - } - if (EnergyValue != 0) { - output.WriteRawTag(32); - output.WriteInt32(EnergyValue); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -234,17 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (Count != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count); } - if (CurrencyItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemId); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } - if (CurrencyItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemQty); - } - if (EnergyValue != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnergyValue); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -254,21 +228,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EnergyBuy other) { + public void MergeFrom(EnergyBuyResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.Count != 0) { + Count = other.Count; } - if (other.CurrencyItemId != 0) { - CurrencyItemId = other.CurrencyItemId; + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); } - if (other.CurrencyItemQty != 0) { - CurrencyItemQty = other.CurrencyItemQty; - } - if (other.EnergyValue != 0) { - EnergyValue = other.EnergyValue; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -290,19 +264,18 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Count = input.ReadUInt32(); break; } - case 16: { - CurrencyItemId = input.ReadInt32(); + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 24: { - CurrencyItemQty = input.ReadInt32(); - break; - } - case 32: { - EnergyValue = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -325,19 +298,18 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Count = input.ReadUInt32(); break; } - case 16: { - CurrencyItemId = input.ReadInt32(); + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 24: { - CurrencyItemQty = input.ReadInt32(); - break; - } - case 32: { - EnergyValue = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/Equipment.cs b/Novaria.Common/Protos/Equipment.cs deleted file mode 100644 index db457b9..0000000 --- a/Novaria.Common/Protos/Equipment.cs +++ /dev/null @@ -1,691 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Equipment.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 Equipment.proto - public static partial class EquipmentReflection { - - #region Descriptor - /// File descriptor for Equipment.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EquipmentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9FcXVpcG1lbnQucHJvdG8iqwIKCUVxdWlwbWVudBIKCgJpZBgBIAEoBRIM", - "CgRuYW1lGAIgASgJEhYKDmVxdWlwbWVudF90eXBlGAMgASgFEhUKDWF0dHJf", - "Z3JvdXBfaWQYBCABKAUSFAoMZXhwX2dyb3VwX2lkGAUgASgFEhEKCW1heF9s", - "ZXZlbBgGIAEoBRIZChFyYW5kb21fYXR0cl9jb3VudBgHIAEoBRIaChJhdHRy", - "MV91bmxvY2tfbGV2ZWwYCCABKAUSGgoSYXR0cjJfdW5sb2NrX2xldmVsGAkg", - "ASgFEhoKEmF0dHIzX3VubG9ja19sZXZlbBgKIAEoBRIaChJhdHRyNF91bmxv", - "Y2tfbGV2ZWwYCyABKAUSEwoLcHJvdmlkZV9leHAYDCABKAUSDAoEaWNvbhgN", - "IAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Equipment), global::Nova.Client.Equipment.Parser, new[]{ "Id", "Name", "EquipmentType", "AttrGroupId", "ExpGroupId", "MaxLevel", "RandomAttrCount", "Attr1UnlockLevel", "Attr2UnlockLevel", "Attr3UnlockLevel", "Attr4UnlockLevel", "ProvideExp", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Equipment : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Equipment()); - 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.EquipmentReflection.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 Equipment() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Equipment(Equipment other) : this() { - id_ = other.id_; - name_ = other.name_; - equipmentType_ = other.equipmentType_; - attrGroupId_ = other.attrGroupId_; - expGroupId_ = other.expGroupId_; - maxLevel_ = other.maxLevel_; - randomAttrCount_ = other.randomAttrCount_; - attr1UnlockLevel_ = other.attr1UnlockLevel_; - attr2UnlockLevel_ = other.attr2UnlockLevel_; - attr3UnlockLevel_ = other.attr3UnlockLevel_; - attr4UnlockLevel_ = other.attr4UnlockLevel_; - provideExp_ = other.provideExp_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Equipment Clone() { - return new Equipment(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 "name" field. - 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"); - } - } - - /// Field number for the "equipment_type" field. - public const int EquipmentTypeFieldNumber = 3; - private int equipmentType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EquipmentType { - get { return equipmentType_; } - set { - equipmentType_ = value; - } - } - - /// Field number for the "attr_group_id" field. - public const int AttrGroupIdFieldNumber = 4; - private int attrGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttrGroupId { - get { return attrGroupId_; } - set { - attrGroupId_ = value; - } - } - - /// Field number for the "exp_group_id" field. - public const int ExpGroupIdFieldNumber = 5; - private int expGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExpGroupId { - get { return expGroupId_; } - set { - expGroupId_ = value; - } - } - - /// Field number for the "max_level" field. - public const int MaxLevelFieldNumber = 6; - private int maxLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxLevel { - get { return maxLevel_; } - set { - maxLevel_ = value; - } - } - - /// Field number for the "random_attr_count" field. - public const int RandomAttrCountFieldNumber = 7; - private int randomAttrCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RandomAttrCount { - get { return randomAttrCount_; } - set { - randomAttrCount_ = value; - } - } - - /// Field number for the "attr1_unlock_level" field. - public const int Attr1UnlockLevelFieldNumber = 8; - private int attr1UnlockLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Attr1UnlockLevel { - get { return attr1UnlockLevel_; } - set { - attr1UnlockLevel_ = value; - } - } - - /// Field number for the "attr2_unlock_level" field. - public const int Attr2UnlockLevelFieldNumber = 9; - private int attr2UnlockLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Attr2UnlockLevel { - get { return attr2UnlockLevel_; } - set { - attr2UnlockLevel_ = value; - } - } - - /// Field number for the "attr3_unlock_level" field. - public const int Attr3UnlockLevelFieldNumber = 10; - private int attr3UnlockLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Attr3UnlockLevel { - get { return attr3UnlockLevel_; } - set { - attr3UnlockLevel_ = value; - } - } - - /// Field number for the "attr4_unlock_level" field. - public const int Attr4UnlockLevelFieldNumber = 11; - private int attr4UnlockLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Attr4UnlockLevel { - get { return attr4UnlockLevel_; } - set { - attr4UnlockLevel_ = value; - } - } - - /// Field number for the "provide_exp" field. - public const int ProvideExpFieldNumber = 12; - private int provideExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProvideExp { - get { return provideExp_; } - set { - provideExp_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 13; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Equipment); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Equipment 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 (EquipmentType != other.EquipmentType) return false; - if (AttrGroupId != other.AttrGroupId) return false; - if (ExpGroupId != other.ExpGroupId) return false; - if (MaxLevel != other.MaxLevel) return false; - if (RandomAttrCount != other.RandomAttrCount) return false; - if (Attr1UnlockLevel != other.Attr1UnlockLevel) return false; - if (Attr2UnlockLevel != other.Attr2UnlockLevel) return false; - if (Attr3UnlockLevel != other.Attr3UnlockLevel) return false; - if (Attr4UnlockLevel != other.Attr4UnlockLevel) return false; - if (ProvideExp != other.ProvideExp) return false; - if (Icon != other.Icon) 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 (EquipmentType != 0) hash ^= EquipmentType.GetHashCode(); - if (AttrGroupId != 0) hash ^= AttrGroupId.GetHashCode(); - if (ExpGroupId != 0) hash ^= ExpGroupId.GetHashCode(); - if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); - if (RandomAttrCount != 0) hash ^= RandomAttrCount.GetHashCode(); - if (Attr1UnlockLevel != 0) hash ^= Attr1UnlockLevel.GetHashCode(); - if (Attr2UnlockLevel != 0) hash ^= Attr2UnlockLevel.GetHashCode(); - if (Attr3UnlockLevel != 0) hash ^= Attr3UnlockLevel.GetHashCode(); - if (Attr4UnlockLevel != 0) hash ^= Attr4UnlockLevel.GetHashCode(); - if (ProvideExp != 0) hash ^= ProvideExp.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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 (EquipmentType != 0) { - output.WriteRawTag(24); - output.WriteInt32(EquipmentType); - } - if (AttrGroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(AttrGroupId); - } - if (ExpGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ExpGroupId); - } - if (MaxLevel != 0) { - output.WriteRawTag(48); - output.WriteInt32(MaxLevel); - } - if (RandomAttrCount != 0) { - output.WriteRawTag(56); - output.WriteInt32(RandomAttrCount); - } - if (Attr1UnlockLevel != 0) { - output.WriteRawTag(64); - output.WriteInt32(Attr1UnlockLevel); - } - if (Attr2UnlockLevel != 0) { - output.WriteRawTag(72); - output.WriteInt32(Attr2UnlockLevel); - } - if (Attr3UnlockLevel != 0) { - output.WriteRawTag(80); - output.WriteInt32(Attr3UnlockLevel); - } - if (Attr4UnlockLevel != 0) { - output.WriteRawTag(88); - output.WriteInt32(Attr4UnlockLevel); - } - if (ProvideExp != 0) { - output.WriteRawTag(96); - output.WriteInt32(ProvideExp); - } - if (Icon.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Icon); - } - 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 (EquipmentType != 0) { - output.WriteRawTag(24); - output.WriteInt32(EquipmentType); - } - if (AttrGroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(AttrGroupId); - } - if (ExpGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ExpGroupId); - } - if (MaxLevel != 0) { - output.WriteRawTag(48); - output.WriteInt32(MaxLevel); - } - if (RandomAttrCount != 0) { - output.WriteRawTag(56); - output.WriteInt32(RandomAttrCount); - } - if (Attr1UnlockLevel != 0) { - output.WriteRawTag(64); - output.WriteInt32(Attr1UnlockLevel); - } - if (Attr2UnlockLevel != 0) { - output.WriteRawTag(72); - output.WriteInt32(Attr2UnlockLevel); - } - if (Attr3UnlockLevel != 0) { - output.WriteRawTag(80); - output.WriteInt32(Attr3UnlockLevel); - } - if (Attr4UnlockLevel != 0) { - output.WriteRawTag(88); - output.WriteInt32(Attr4UnlockLevel); - } - if (ProvideExp != 0) { - output.WriteRawTag(96); - output.WriteInt32(ProvideExp); - } - if (Icon.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Icon); - } - 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 (EquipmentType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EquipmentType); - } - if (AttrGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrGroupId); - } - if (ExpGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpGroupId); - } - if (MaxLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); - } - if (RandomAttrCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RandomAttrCount); - } - if (Attr1UnlockLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr1UnlockLevel); - } - if (Attr2UnlockLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr2UnlockLevel); - } - if (Attr3UnlockLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr3UnlockLevel); - } - if (Attr4UnlockLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr4UnlockLevel); - } - if (ProvideExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProvideExp); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Equipment other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.EquipmentType != 0) { - EquipmentType = other.EquipmentType; - } - if (other.AttrGroupId != 0) { - AttrGroupId = other.AttrGroupId; - } - if (other.ExpGroupId != 0) { - ExpGroupId = other.ExpGroupId; - } - if (other.MaxLevel != 0) { - MaxLevel = other.MaxLevel; - } - if (other.RandomAttrCount != 0) { - RandomAttrCount = other.RandomAttrCount; - } - if (other.Attr1UnlockLevel != 0) { - Attr1UnlockLevel = other.Attr1UnlockLevel; - } - if (other.Attr2UnlockLevel != 0) { - Attr2UnlockLevel = other.Attr2UnlockLevel; - } - if (other.Attr3UnlockLevel != 0) { - Attr3UnlockLevel = other.Attr3UnlockLevel; - } - if (other.Attr4UnlockLevel != 0) { - Attr4UnlockLevel = other.Attr4UnlockLevel; - } - if (other.ProvideExp != 0) { - ProvideExp = other.ProvideExp; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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: { - EquipmentType = input.ReadInt32(); - break; - } - case 32: { - AttrGroupId = input.ReadInt32(); - break; - } - case 40: { - ExpGroupId = input.ReadInt32(); - break; - } - case 48: { - MaxLevel = input.ReadInt32(); - break; - } - case 56: { - RandomAttrCount = input.ReadInt32(); - break; - } - case 64: { - Attr1UnlockLevel = input.ReadInt32(); - break; - } - case 72: { - Attr2UnlockLevel = input.ReadInt32(); - break; - } - case 80: { - Attr3UnlockLevel = input.ReadInt32(); - break; - } - case 88: { - Attr4UnlockLevel = input.ReadInt32(); - break; - } - case 96: { - ProvideExp = input.ReadInt32(); - break; - } - case 106: { - Icon = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - EquipmentType = input.ReadInt32(); - break; - } - case 32: { - AttrGroupId = input.ReadInt32(); - break; - } - case 40: { - ExpGroupId = input.ReadInt32(); - break; - } - case 48: { - MaxLevel = input.ReadInt32(); - break; - } - case 56: { - RandomAttrCount = input.ReadInt32(); - break; - } - case 64: { - Attr1UnlockLevel = input.ReadInt32(); - break; - } - case 72: { - Attr2UnlockLevel = input.ReadInt32(); - break; - } - case 80: { - Attr3UnlockLevel = input.ReadInt32(); - break; - } - case 88: { - Attr4UnlockLevel = input.ReadInt32(); - break; - } - case 96: { - ProvideExp = input.ReadInt32(); - break; - } - case 106: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentDismantle.cs b/Novaria.Common/Protos/EquipmentDismantle.cs new file mode 100644 index 0000000..1a268f4 --- /dev/null +++ b/Novaria.Common/Protos/EquipmentDismantle.cs @@ -0,0 +1,270 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: equipment_dismantle.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 Proto { + + /// Holder for reflection information generated from equipment_dismantle.proto + public static partial class EquipmentDismantleReflection { + + #region Descriptor + /// File descriptor for equipment_dismantle.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EquipmentDismantleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChllcXVpcG1lbnRfZGlzbWFudGxlLnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvIjoKFUVxdWlwbWVudERpc21hbnRsZVJlcRILCgNJZHMYASADKAQSFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentDismantleReq), global::Proto.EquipmentDismantleReq.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentDismantleReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentDismantleReq()); + 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::Proto.EquipmentDismantleReflection.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 EquipmentDismantleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentDismantleReq(EquipmentDismantleReq other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentDismantleReq Clone() { + return new EquipmentDismantleReq(this); + } + + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EquipmentDismantleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentDismantleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentDismantleReq other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentInstance.cs b/Novaria.Common/Protos/EquipmentInstance.cs deleted file mode 100644 index d63f934..0000000 --- a/Novaria.Common/Protos/EquipmentInstance.cs +++ /dev/null @@ -1,917 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EquipmentInstance.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 EquipmentInstance.proto - public static partial class EquipmentInstanceReflection { - - #region Descriptor - /// File descriptor for EquipmentInstance.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EquipmentInstanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdFcXVpcG1lbnRJbnN0YW5jZS5wcm90byLSAwoRRXF1aXBtZW50SW5zdGFu", - "Y2USCgoCaWQYASABKAUSFgoOZXF1aXBtZW50X3R5cGUYAiABKAUSEgoKZGlm", - "ZmljdWx0eRgDIAEoBRIMCgRuYW1lGAQgASgJEgwKBGRlc2MYBSABKAkSFwoP", - "c3VnZ2VzdGVkX3Bvd2VyGAYgASgFEhQKDHByZV9sZXZlbF9pZBgHIAEoBRIW", - "Cg5wcmVfbGV2ZWxfc3RhchgIIAEoBRIYChBuZWVkX3dvcmxkX2NsYXNzGAkg", - "ASgFEhAKCGZsb29yX2lkGAogASgFEhUKDW9uZV9zdGFyX2Rlc2MYCyABKAkS", - "FQoNdHdvX3N0YXJfZGVzYxgMIAEoCRIXCg90aHJlZV9zdGFyX2Rlc2MYDSAB", - "KAkSHwoXb25lX3N0YXJfZW5lcmd5X2NvbnN1bWUYDiABKAUSHwoXdHdvX3N0", - "YXJfZW5lcmd5X2NvbnN1bWUYDyABKAUSIQoZdGhyZWVfc3Rhcl9lbmVyZ3lf", - "Y29uc3VtZRgQIAEoBRIaChJiYXNlX2F3YXJkX3ByZXZpZXcYESABKAkSIAoY", - "cHJldmlld19tb25zdGVyX2dyb3VwX2lkGBIgASgFEgwKBGljb24YEyABKAlC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentInstance), global::Nova.Client.EquipmentInstance.Parser, new[]{ "Id", "EquipmentType", "Difficulty", "Name", "Desc", "SuggestedPower", "PreLevelId", "PreLevelStar", "NeedWorldClass", "FloorId", "OneStarDesc", "TwoStarDesc", "ThreeStarDesc", "OneStarEnergyConsume", "TwoStarEnergyConsume", "ThreeStarEnergyConsume", "BaseAwardPreview", "PreviewMonsterGroupId", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EquipmentInstance : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentInstance()); - 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.EquipmentInstanceReflection.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 EquipmentInstance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentInstance(EquipmentInstance other) : this() { - id_ = other.id_; - equipmentType_ = other.equipmentType_; - 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_; - baseAwardPreview_ = other.baseAwardPreview_; - previewMonsterGroupId_ = other.previewMonsterGroupId_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentInstance Clone() { - return new EquipmentInstance(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 "equipment_type" field. - public const int EquipmentTypeFieldNumber = 2; - private int equipmentType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EquipmentType { - get { return equipmentType_; } - set { - equipmentType_ = 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 "base_award_preview" field. - public const int BaseAwardPreviewFieldNumber = 17; - private string baseAwardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BaseAwardPreview { - get { return baseAwardPreview_; } - set { - baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EquipmentInstance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EquipmentInstance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (EquipmentType != other.EquipmentType) 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 (BaseAwardPreview != other.BaseAwardPreview) return false; - if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; - if (Icon != other.Icon) 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 (EquipmentType != 0) hash ^= EquipmentType.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 (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode(); - if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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 (EquipmentType != 0) { - output.WriteRawTag(16); - output.WriteInt32(EquipmentType); - } - 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 (BaseAwardPreview.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(BaseAwardPreview); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Icon.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Icon); - } - 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 (EquipmentType != 0) { - output.WriteRawTag(16); - output.WriteInt32(EquipmentType); - } - 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 (BaseAwardPreview.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(BaseAwardPreview); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Icon.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Icon); - } - 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 (EquipmentType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EquipmentType); - } - 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 (BaseAwardPreview.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); - } - if (PreviewMonsterGroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); - } - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EquipmentInstance other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.EquipmentType != 0) { - EquipmentType = other.EquipmentType; - } - 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.BaseAwardPreview.Length != 0) { - BaseAwardPreview = other.BaseAwardPreview; - } - if (other.PreviewMonsterGroupId != 0) { - PreviewMonsterGroupId = other.PreviewMonsterGroupId; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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: { - EquipmentType = 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 138: { - BaseAwardPreview = input.ReadString(); - break; - } - case 144: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 154: { - Icon = 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: { - EquipmentType = 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 138: { - BaseAwardPreview = input.ReadString(); - break; - } - case 144: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 154: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentInstanceFloor.cs b/Novaria.Common/Protos/EquipmentInstanceFloor.cs deleted file mode 100644 index 3665c7c..0000000 --- a/Novaria.Common/Protos/EquipmentInstanceFloor.cs +++ /dev/null @@ -1,842 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EquipmentInstanceFloor.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 EquipmentInstanceFloor.proto - public static partial class EquipmentInstanceFloorReflection { - - #region Descriptor - /// File descriptor for EquipmentInstanceFloor.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EquipmentInstanceFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxFcXVpcG1lbnRJbnN0YW5jZUZsb29yLnByb3RvIq8DChZFcXVpcG1lbnRJ", - "bnN0YW5jZUZsb29yEgoKAmlkGAEgASgFEhIKCnNjZW5lX25hbWUYAiABKAkS", - "GgoSY29uZmlnX3ByZWZhYl9uYW1lGAMgASgJEg0KBXRoZW1lGAQgASgFEg0K", - "BWJfZ19tGAUgASgJEhsKE2xlYXZlX3RyaWdnZXJfZXZlbnQYBiABKAkSEgoK", - "bW9uc3Rlcl9pZBgHIAEoBRIaChJvbmVfc3Rhcl9jb25kaXRpb24YCCABKAUS", - "GgoSdHdvX3N0YXJfY29uZGl0aW9uGAkgASgFEhwKFHRocmVlX3N0YXJfY29u", - "ZGl0aW9uGAogASgFEhgKEGxldmVsX3RvdGFsX3RpbWUYCyABKAUSGwoTdGlt", - "ZV9lbmRfc2V0dGxlbWVudBgMIAEoCBIbChNzdGFyX2NvbmRpdGlvbl90eXBl", - "GA0gASgFEhIKCm1vbnN0ZXJfbHYYDiABKAUSHAoUZHJvcF9vYmplY3RfZ3Jv", - "dXBfaWQYDyABKAUSGAoQZHJvcF9vYmplY3RfcmF0ZRgQIAEoBRIUCgxkcm9w", - "X21heF9udW0YESABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentInstanceFloor), global::Nova.Client.EquipmentInstanceFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "LevelTotalTime", "TimeEndSettlement", "StarConditionType", "MonsterLv", "DropObjectGroupId", "DropObjectRate", "DropMaxNum" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EquipmentInstanceFloor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentInstanceFloor()); - 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.EquipmentInstanceFloorReflection.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 EquipmentInstanceFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentInstanceFloor(EquipmentInstanceFloor other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - monsterId_ = other.monsterId_; - oneStarCondition_ = other.oneStarCondition_; - twoStarCondition_ = other.twoStarCondition_; - threeStarCondition_ = other.threeStarCondition_; - levelTotalTime_ = other.levelTotalTime_; - timeEndSettlement_ = other.timeEndSettlement_; - starConditionType_ = other.starConditionType_; - monsterLv_ = other.monsterLv_; - dropObjectGroupId_ = other.dropObjectGroupId_; - dropObjectRate_ = other.dropObjectRate_; - dropMaxNum_ = other.dropMaxNum_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentInstanceFloor Clone() { - return new EquipmentInstanceFloor(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 "scene_name" field. - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "config_prefab_name" field. - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "theme" field. - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// Field number for the "b_g_m" field. - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "leave_trigger_event" field. - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "monster_id" field. - public const int MonsterIdFieldNumber = 7; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// Field number for the "one_star_condition" field. - public const int OneStarConditionFieldNumber = 8; - private int oneStarCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OneStarCondition { - get { return oneStarCondition_; } - set { - oneStarCondition_ = value; - } - } - - /// Field number for the "two_star_condition" field. - public const int TwoStarConditionFieldNumber = 9; - private int twoStarCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TwoStarCondition { - get { return twoStarCondition_; } - set { - twoStarCondition_ = value; - } - } - - /// Field number for the "three_star_condition" field. - public const int ThreeStarConditionFieldNumber = 10; - private int threeStarCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ThreeStarCondition { - get { return threeStarCondition_; } - set { - threeStarCondition_ = value; - } - } - - /// Field number for the "level_total_time" field. - public const int LevelTotalTimeFieldNumber = 11; - private int levelTotalTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTotalTime { - get { return levelTotalTime_; } - set { - levelTotalTime_ = value; - } - } - - /// Field number for the "time_end_settlement" field. - public const int TimeEndSettlementFieldNumber = 12; - private bool timeEndSettlement_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool TimeEndSettlement { - get { return timeEndSettlement_; } - set { - timeEndSettlement_ = value; - } - } - - /// Field number for the "star_condition_type" field. - public const int StarConditionTypeFieldNumber = 13; - private int starConditionType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StarConditionType { - get { return starConditionType_; } - set { - starConditionType_ = value; - } - } - - /// Field number for the "monster_lv" field. - public const int MonsterLvFieldNumber = 14; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - /// Field number for the "drop_object_group_id" field. - public const int DropObjectGroupIdFieldNumber = 15; - private int dropObjectGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropObjectGroupId { - get { return dropObjectGroupId_; } - set { - dropObjectGroupId_ = value; - } - } - - /// Field number for the "drop_object_rate" field. - public const int DropObjectRateFieldNumber = 16; - private int dropObjectRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropObjectRate { - get { return dropObjectRate_; } - set { - dropObjectRate_ = value; - } - } - - /// Field number for the "drop_max_num" field. - public const int DropMaxNumFieldNumber = 17; - private int dropMaxNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropMaxNum { - get { return dropMaxNum_; } - set { - dropMaxNum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EquipmentInstanceFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EquipmentInstanceFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; - if (MonsterId != other.MonsterId) return false; - if (OneStarCondition != other.OneStarCondition) return false; - if (TwoStarCondition != other.TwoStarCondition) return false; - if (ThreeStarCondition != other.ThreeStarCondition) return false; - if (LevelTotalTime != other.LevelTotalTime) return false; - if (TimeEndSettlement != other.TimeEndSettlement) return false; - if (StarConditionType != other.StarConditionType) return false; - if (MonsterLv != other.MonsterLv) return false; - if (DropObjectGroupId != other.DropObjectGroupId) return false; - if (DropObjectRate != other.DropObjectRate) return false; - if (DropMaxNum != other.DropMaxNum) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (OneStarCondition != 0) hash ^= OneStarCondition.GetHashCode(); - if (TwoStarCondition != 0) hash ^= TwoStarCondition.GetHashCode(); - if (ThreeStarCondition != 0) hash ^= ThreeStarCondition.GetHashCode(); - if (LevelTotalTime != 0) hash ^= LevelTotalTime.GetHashCode(); - if (TimeEndSettlement != false) hash ^= TimeEndSettlement.GetHashCode(); - if (StarConditionType != 0) hash ^= StarConditionType.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); - if (DropObjectGroupId != 0) hash ^= DropObjectGroupId.GetHashCode(); - if (DropObjectRate != 0) hash ^= DropObjectRate.GetHashCode(); - if (DropMaxNum != 0) hash ^= DropMaxNum.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterId != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterId); - } - if (OneStarCondition != 0) { - output.WriteRawTag(64); - output.WriteInt32(OneStarCondition); - } - if (TwoStarCondition != 0) { - output.WriteRawTag(72); - output.WriteInt32(TwoStarCondition); - } - if (ThreeStarCondition != 0) { - output.WriteRawTag(80); - output.WriteInt32(ThreeStarCondition); - } - if (LevelTotalTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(LevelTotalTime); - } - if (TimeEndSettlement != false) { - output.WriteRawTag(96); - output.WriteBool(TimeEndSettlement); - } - if (StarConditionType != 0) { - output.WriteRawTag(104); - output.WriteInt32(StarConditionType); - } - if (MonsterLv != 0) { - output.WriteRawTag(112); - output.WriteInt32(MonsterLv); - } - if (DropObjectGroupId != 0) { - output.WriteRawTag(120); - output.WriteInt32(DropObjectGroupId); - } - if (DropObjectRate != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(DropObjectRate); - } - if (DropMaxNum != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(DropMaxNum); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterId != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterId); - } - if (OneStarCondition != 0) { - output.WriteRawTag(64); - output.WriteInt32(OneStarCondition); - } - if (TwoStarCondition != 0) { - output.WriteRawTag(72); - output.WriteInt32(TwoStarCondition); - } - if (ThreeStarCondition != 0) { - output.WriteRawTag(80); - output.WriteInt32(ThreeStarCondition); - } - if (LevelTotalTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(LevelTotalTime); - } - if (TimeEndSettlement != false) { - output.WriteRawTag(96); - output.WriteBool(TimeEndSettlement); - } - if (StarConditionType != 0) { - output.WriteRawTag(104); - output.WriteInt32(StarConditionType); - } - if (MonsterLv != 0) { - output.WriteRawTag(112); - output.WriteInt32(MonsterLv); - } - if (DropObjectGroupId != 0) { - output.WriteRawTag(120); - output.WriteInt32(DropObjectGroupId); - } - if (DropObjectRate != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(DropObjectRate); - } - if (DropMaxNum != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(DropMaxNum); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (OneStarCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneStarCondition); - } - if (TwoStarCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TwoStarCondition); - } - if (ThreeStarCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThreeStarCondition); - } - if (LevelTotalTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTotalTime); - } - if (TimeEndSettlement != false) { - size += 1 + 1; - } - if (StarConditionType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarConditionType); - } - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (DropObjectGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectGroupId); - } - if (DropObjectRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropObjectRate); - } - if (DropMaxNum != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropMaxNum); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EquipmentInstanceFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.OneStarCondition != 0) { - OneStarCondition = other.OneStarCondition; - } - if (other.TwoStarCondition != 0) { - TwoStarCondition = other.TwoStarCondition; - } - if (other.ThreeStarCondition != 0) { - ThreeStarCondition = other.ThreeStarCondition; - } - if (other.LevelTotalTime != 0) { - LevelTotalTime = other.LevelTotalTime; - } - if (other.TimeEndSettlement != false) { - TimeEndSettlement = other.TimeEndSettlement; - } - if (other.StarConditionType != 0) { - StarConditionType = other.StarConditionType; - } - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - if (other.DropObjectGroupId != 0) { - DropObjectGroupId = other.DropObjectGroupId; - } - if (other.DropObjectRate != 0) { - DropObjectRate = other.DropObjectRate; - } - if (other.DropMaxNum != 0) { - DropMaxNum = other.DropMaxNum; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterId = input.ReadInt32(); - break; - } - case 64: { - OneStarCondition = input.ReadInt32(); - break; - } - case 72: { - TwoStarCondition = input.ReadInt32(); - break; - } - case 80: { - ThreeStarCondition = input.ReadInt32(); - break; - } - case 88: { - LevelTotalTime = input.ReadInt32(); - break; - } - case 96: { - TimeEndSettlement = input.ReadBool(); - break; - } - case 104: { - StarConditionType = input.ReadInt32(); - break; - } - case 112: { - MonsterLv = input.ReadInt32(); - break; - } - case 120: { - DropObjectGroupId = input.ReadInt32(); - break; - } - case 128: { - DropObjectRate = input.ReadInt32(); - break; - } - case 136: { - DropMaxNum = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterId = input.ReadInt32(); - break; - } - case 64: { - OneStarCondition = input.ReadInt32(); - break; - } - case 72: { - TwoStarCondition = input.ReadInt32(); - break; - } - case 80: { - ThreeStarCondition = input.ReadInt32(); - break; - } - case 88: { - LevelTotalTime = input.ReadInt32(); - break; - } - case 96: { - TimeEndSettlement = input.ReadBool(); - break; - } - case 104: { - StarConditionType = input.ReadInt32(); - break; - } - case 112: { - MonsterLv = input.ReadInt32(); - break; - } - case 120: { - DropObjectGroupId = input.ReadInt32(); - break; - } - case 128: { - DropObjectRate = input.ReadInt32(); - break; - } - case 136: { - DropMaxNum = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentInstanceType.cs b/Novaria.Common/Protos/EquipmentInstanceType.cs deleted file mode 100644 index 8fcbc97..0000000 --- a/Novaria.Common/Protos/EquipmentInstanceType.cs +++ /dev/null @@ -1,589 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EquipmentInstanceType.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 EquipmentInstanceType.proto - public static partial class EquipmentInstanceTypeReflection { - - #region Descriptor - /// File descriptor for EquipmentInstanceType.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EquipmentInstanceTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtFcXVpcG1lbnRJbnN0YW5jZVR5cGUucHJvdG8i3AEKFUVxdWlwbWVudElu", - "c3RhbmNlVHlwZRIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEhQKDG1haW5f", - "bGluZV9pZBgDIAEoBRIZChF3b3JsZF9jbGFzc19sZXZlbBgEIAEoBRIQCghv", - "cGVuX2RheRgFIAMoBRIVCg1vcGVuX2RheV9kZXNjGAYgASgJEg8KB2VwaXNv", - "ZGUYByABKAkSDQoFaW1hZ2UYCCABKAkSDAoEc29ydBgJIAEoBRISCgpob3df", - "cmV3YXJkGAogAygFEg0KBWVfZV90GAsgAygFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentInstanceType), global::Nova.Client.EquipmentInstanceType.Parser, new[]{ "Id", "Name", "MainLineId", "WorldClassLevel", "OpenDay", "OpenDayDesc", "Episode", "Image", "Sort", "HowReward", "EET" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EquipmentInstanceType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentInstanceType()); - 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.EquipmentInstanceTypeReflection.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 EquipmentInstanceType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentInstanceType(EquipmentInstanceType other) : this() { - id_ = other.id_; - name_ = other.name_; - mainLineId_ = other.mainLineId_; - worldClassLevel_ = other.worldClassLevel_; - openDay_ = other.openDay_.Clone(); - openDayDesc_ = other.openDayDesc_; - episode_ = other.episode_; - image_ = other.image_; - sort_ = other.sort_; - howReward_ = other.howReward_.Clone(); - eET_ = other.eET_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentInstanceType Clone() { - return new EquipmentInstanceType(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 "name" field. - 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"); - } - } - - /// Field number for the "main_line_id" field. - public const int MainLineIdFieldNumber = 3; - private int mainLineId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainLineId { - get { return mainLineId_; } - set { - mainLineId_ = value; - } - } - - /// Field number for the "world_class_level" field. - public const int WorldClassLevelFieldNumber = 4; - private int worldClassLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClassLevel { - get { return worldClassLevel_; } - set { - worldClassLevel_ = value; - } - } - - /// Field number for the "open_day" field. - public const int OpenDayFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_openDay_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField openDay_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField OpenDay { - get { return openDay_; } - } - - /// Field number for the "open_day_desc" field. - public const int OpenDayDescFieldNumber = 6; - private string openDayDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenDayDesc { - get { return openDayDesc_; } - set { - openDayDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "episode" field. - public const int EpisodeFieldNumber = 7; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "image" field. - public const int ImageFieldNumber = 8; - 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"); - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 9; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "how_reward" field. - public const int HowRewardFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_howReward_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField howReward_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField HowReward { - get { return howReward_; } - } - - /// Field number for the "e_e_t" field. - public const int EETFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_eET_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField eET_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EET { - get { return eET_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EquipmentInstanceType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EquipmentInstanceType 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 (MainLineId != other.MainLineId) return false; - if (WorldClassLevel != other.WorldClassLevel) return false; - if(!openDay_.Equals(other.openDay_)) return false; - if (OpenDayDesc != other.OpenDayDesc) return false; - if (Episode != other.Episode) return false; - if (Image != other.Image) return false; - if (Sort != other.Sort) return false; - if(!howReward_.Equals(other.howReward_)) return false; - if(!eET_.Equals(other.eET_)) 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 (MainLineId != 0) hash ^= MainLineId.GetHashCode(); - if (WorldClassLevel != 0) hash ^= WorldClassLevel.GetHashCode(); - hash ^= openDay_.GetHashCode(); - if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Image.Length != 0) hash ^= Image.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - hash ^= howReward_.GetHashCode(); - hash ^= eET_.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 (MainLineId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MainLineId); - } - if (WorldClassLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(WorldClassLevel); - } - openDay_.WriteTo(output, _repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OpenDayDesc); - } - if (Episode.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Image); - } - if (Sort != 0) { - output.WriteRawTag(72); - output.WriteInt32(Sort); - } - howReward_.WriteTo(output, _repeated_howReward_codec); - eET_.WriteTo(output, _repeated_eET_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (MainLineId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MainLineId); - } - if (WorldClassLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(WorldClassLevel); - } - openDay_.WriteTo(ref output, _repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OpenDayDesc); - } - if (Episode.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Image); - } - if (Sort != 0) { - output.WriteRawTag(72); - output.WriteInt32(Sort); - } - howReward_.WriteTo(ref output, _repeated_howReward_codec); - eET_.WriteTo(ref output, _repeated_eET_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (MainLineId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainLineId); - } - if (WorldClassLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClassLevel); - } - size += openDay_.CalculateSize(_repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc); - } - if (Episode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Image.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - size += howReward_.CalculateSize(_repeated_howReward_codec); - size += eET_.CalculateSize(_repeated_eET_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EquipmentInstanceType other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.MainLineId != 0) { - MainLineId = other.MainLineId; - } - if (other.WorldClassLevel != 0) { - WorldClassLevel = other.WorldClassLevel; - } - openDay_.Add(other.openDay_); - if (other.OpenDayDesc.Length != 0) { - OpenDayDesc = other.OpenDayDesc; - } - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Image.Length != 0) { - Image = other.Image; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - howReward_.Add(other.howReward_); - eET_.Add(other.eET_); - _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: { - MainLineId = input.ReadInt32(); - break; - } - case 32: { - WorldClassLevel = input.ReadInt32(); - break; - } - case 42: - case 40: { - openDay_.AddEntriesFrom(input, _repeated_openDay_codec); - break; - } - case 50: { - OpenDayDesc = input.ReadString(); - break; - } - case 58: { - Episode = input.ReadString(); - break; - } - case 66: { - Image = input.ReadString(); - break; - } - case 72: { - Sort = input.ReadInt32(); - break; - } - case 82: - case 80: { - howReward_.AddEntriesFrom(input, _repeated_howReward_codec); - break; - } - case 90: - case 88: { - eET_.AddEntriesFrom(input, _repeated_eET_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 18: { - Name = input.ReadString(); - break; - } - case 24: { - MainLineId = input.ReadInt32(); - break; - } - case 32: { - WorldClassLevel = input.ReadInt32(); - break; - } - case 42: - case 40: { - openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec); - break; - } - case 50: { - OpenDayDesc = input.ReadString(); - break; - } - case 58: { - Episode = input.ReadString(); - break; - } - case 66: { - Image = input.ReadString(); - break; - } - case 72: { - Sort = input.ReadInt32(); - break; - } - case 82: - case 80: { - howReward_.AddEntriesFrom(ref input, _repeated_howReward_codec); - break; - } - case 90: - case 88: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentItemExp.cs b/Novaria.Common/Protos/EquipmentLockUnlock.cs similarity index 65% rename from Novaria.Common/Protos/EquipmentItemExp.cs rename to Novaria.Common/Protos/EquipmentLockUnlock.cs index 5c54e76..3634cbd 100644 --- a/Novaria.Common/Protos/EquipmentItemExp.cs +++ b/Novaria.Common/Protos/EquipmentLockUnlock.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EquipmentItemExp.proto +// source: equipment_lock_unlock.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from EquipmentItemExp.proto - public static partial class EquipmentItemExpReflection { + /// Holder for reflection information generated from equipment_lock_unlock.proto + public static partial class EquipmentLockUnlockReflection { #region Descriptor - /// File descriptor for EquipmentItemExp.proto + /// File descriptor for equipment_lock_unlock.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static EquipmentItemExpReflection() { + static EquipmentLockUnlockReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChZFcXVpcG1lbnRJdGVtRXhwLnByb3RvIjwKEEVxdWlwbWVudEl0ZW1FeHAS", - "CgoCaWQYASABKAUSDwoHaXRlbV9pZBgCIAEoBRILCgNleHAYAyABKAVCDqoC", - "C05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChtlcXVpcG1lbnRfbG9ja191bmxvY2sucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iSAoWRXF1aXBtZW50TG9ja1VubG9ja1JlcRIKCgJJZBgBIAEoBBIM", + "CgRMb2NrGAIgASgIEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentItemExp), global::Nova.Client.EquipmentItemExp.Parser, new[]{ "Id", "ItemId", "Exp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentLockUnlockReq), global::Proto.EquipmentLockUnlockReq.Parser, new[]{ "Id", "Lock", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EquipmentItemExp : pb::IMessage + public sealed partial class EquipmentLockUnlockReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentItemExp()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentLockUnlockReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.EquipmentItemExpReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.EquipmentLockUnlockReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentItemExp() { + public EquipmentLockUnlockReq() { OnConstruction(); } @@ -71,64 +71,64 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentItemExp(EquipmentItemExp other) : this() { + public EquipmentLockUnlockReq(EquipmentLockUnlockReq other) : this() { id_ = other.id_; - itemId_ = other.itemId_; - exp_ = other.exp_; + lock_ = other.lock_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentItemExp Clone() { - return new EquipmentItemExp(this); + public EquipmentLockUnlockReq Clone() { + return new EquipmentLockUnlockReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private ulong id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public ulong Id { get { return id_; } set { id_ = value; } } - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 2; - private int itemId_; + /// Field number for the "Lock" field. + public const int LockFieldNumber = 2; + private bool lock_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } + public bool Lock { + get { return lock_; } set { - itemId_ = value; + lock_ = value; } } - /// Field number for the "exp" field. - public const int ExpFieldNumber = 3; - private int exp_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - exp_ = value; + nextPackage_ = 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 EquipmentItemExp); + return Equals(other as EquipmentLockUnlockReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EquipmentItemExp other) { + public bool Equals(EquipmentLockUnlockReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -136,8 +136,8 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (ItemId != other.ItemId) return false; - if (Exp != other.Exp) return false; + if (Lock != other.Lock) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (Exp != 0) hash ^= Exp.GetHashCode(); + if (Id != 0UL) hash ^= Id.GetHashCode(); + if (Lock != false) hash ^= Lock.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (Id != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(Id); } - if (ItemId != 0) { + if (Lock != false) { output.WriteRawTag(16); - output.WriteInt32(ItemId); + output.WriteBool(Lock); } - if (Exp != 0) { - output.WriteRawTag(24); - output.WriteInt32(Exp); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (Id != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(Id); } - if (ItemId != 0) { + if (Lock != false) { output.WriteRawTag(16); - output.WriteInt32(ItemId); + output.WriteBool(Lock); } - if (Exp != 0) { - output.WriteRawTag(24); - output.WriteInt32(Exp); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (Id != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + if (Lock != false) { + size += 1 + 1; } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EquipmentItemExp other) { + public void MergeFrom(EquipmentLockUnlockReq other) { if (other == null) { return; } - if (other.Id != 0) { + if (other.Id != 0UL) { Id = other.Id; } - if (other.ItemId != 0) { - ItemId = other.ItemId; + if (other.Lock != false) { + Lock = other.Lock; } - if (other.Exp != 0) { - Exp = other.Exp; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt64(); break; } case 16: { - ItemId = input.ReadInt32(); + Lock = input.ReadBool(); break; } - case 24: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt64(); break; } case 16: { - ItemId = input.ReadInt32(); + Lock = input.ReadBool(); break; } - case 24: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/EquipmentRandomAttribute.cs b/Novaria.Common/Protos/EquipmentRandomAttribute.cs deleted file mode 100644 index 2c5b296..0000000 --- a/Novaria.Common/Protos/EquipmentRandomAttribute.cs +++ /dev/null @@ -1,467 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EquipmentRandomAttribute.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 EquipmentRandomAttribute.proto - public static partial class EquipmentRandomAttributeReflection { - - #region Descriptor - /// File descriptor for EquipmentRandomAttribute.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EquipmentRandomAttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5FcXVpcG1lbnRSYW5kb21BdHRyaWJ1dGUucHJvdG8iwgEKGEVxdWlwbWVu", - "dFJhbmRvbUF0dHJpYnV0ZRIKCgJpZBgBIAEoBRIUCgxlbGVtZW50X3R5cGUY", - "AiABKAUSFwoPYXR0cl9ncm91cF90eXBlGAMgASgFEhUKDWF0dHJfdmFsdWVf", - "aWQYBCABKAUSEQoJYXR0cl90eXBlGAUgASgFEh8KF2F0dHJfdHlwZV9maXJz", - "dF9zdWJ0eXBlGAYgASgFEiAKGGF0dHJfdHlwZV9zZWNvbmRfc3VidHlwZRgH", - "IAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentRandomAttribute), global::Nova.Client.EquipmentRandomAttribute.Parser, new[]{ "Id", "ElementType", "AttrGroupType", "AttrValueId", "AttrType", "AttrTypeFirstSubtype", "AttrTypeSecondSubtype" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EquipmentRandomAttribute : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentRandomAttribute()); - 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.EquipmentRandomAttributeReflection.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 EquipmentRandomAttribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentRandomAttribute(EquipmentRandomAttribute other) : this() { - id_ = other.id_; - elementType_ = other.elementType_; - attrGroupType_ = other.attrGroupType_; - attrValueId_ = other.attrValueId_; - attrType_ = other.attrType_; - attrTypeFirstSubtype_ = other.attrTypeFirstSubtype_; - attrTypeSecondSubtype_ = other.attrTypeSecondSubtype_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EquipmentRandomAttribute Clone() { - return new EquipmentRandomAttribute(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 "element_type" field. - public const int ElementTypeFieldNumber = 2; - private int elementType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ElementType { - get { return elementType_; } - set { - elementType_ = value; - } - } - - /// Field number for the "attr_group_type" field. - public const int AttrGroupTypeFieldNumber = 3; - private int attrGroupType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttrGroupType { - get { return attrGroupType_; } - set { - attrGroupType_ = value; - } - } - - /// Field number for the "attr_value_id" field. - public const int AttrValueIdFieldNumber = 4; - private int attrValueId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttrValueId { - get { return attrValueId_; } - set { - attrValueId_ = value; - } - } - - /// Field number for the "attr_type" field. - public const int AttrTypeFieldNumber = 5; - private int attrType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttrType { - get { return attrType_; } - set { - attrType_ = value; - } - } - - /// Field number for the "attr_type_first_subtype" field. - public const int AttrTypeFirstSubtypeFieldNumber = 6; - private int attrTypeFirstSubtype_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttrTypeFirstSubtype { - get { return attrTypeFirstSubtype_; } - set { - attrTypeFirstSubtype_ = value; - } - } - - /// Field number for the "attr_type_second_subtype" field. - public const int AttrTypeSecondSubtypeFieldNumber = 7; - private int attrTypeSecondSubtype_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttrTypeSecondSubtype { - get { return attrTypeSecondSubtype_; } - set { - attrTypeSecondSubtype_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EquipmentRandomAttribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EquipmentRandomAttribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ElementType != other.ElementType) return false; - if (AttrGroupType != other.AttrGroupType) return false; - if (AttrValueId != other.AttrValueId) return false; - if (AttrType != other.AttrType) return false; - if (AttrTypeFirstSubtype != other.AttrTypeFirstSubtype) return false; - if (AttrTypeSecondSubtype != other.AttrTypeSecondSubtype) 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 (ElementType != 0) hash ^= ElementType.GetHashCode(); - if (AttrGroupType != 0) hash ^= AttrGroupType.GetHashCode(); - if (AttrValueId != 0) hash ^= AttrValueId.GetHashCode(); - if (AttrType != 0) hash ^= AttrType.GetHashCode(); - if (AttrTypeFirstSubtype != 0) hash ^= AttrTypeFirstSubtype.GetHashCode(); - if (AttrTypeSecondSubtype != 0) hash ^= AttrTypeSecondSubtype.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 (ElementType != 0) { - output.WriteRawTag(16); - output.WriteInt32(ElementType); - } - if (AttrGroupType != 0) { - output.WriteRawTag(24); - output.WriteInt32(AttrGroupType); - } - if (AttrValueId != 0) { - output.WriteRawTag(32); - output.WriteInt32(AttrValueId); - } - if (AttrType != 0) { - output.WriteRawTag(40); - output.WriteInt32(AttrType); - } - if (AttrTypeFirstSubtype != 0) { - output.WriteRawTag(48); - output.WriteInt32(AttrTypeFirstSubtype); - } - if (AttrTypeSecondSubtype != 0) { - output.WriteRawTag(56); - output.WriteInt32(AttrTypeSecondSubtype); - } - 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 (ElementType != 0) { - output.WriteRawTag(16); - output.WriteInt32(ElementType); - } - if (AttrGroupType != 0) { - output.WriteRawTag(24); - output.WriteInt32(AttrGroupType); - } - if (AttrValueId != 0) { - output.WriteRawTag(32); - output.WriteInt32(AttrValueId); - } - if (AttrType != 0) { - output.WriteRawTag(40); - output.WriteInt32(AttrType); - } - if (AttrTypeFirstSubtype != 0) { - output.WriteRawTag(48); - output.WriteInt32(AttrTypeFirstSubtype); - } - if (AttrTypeSecondSubtype != 0) { - output.WriteRawTag(56); - output.WriteInt32(AttrTypeSecondSubtype); - } - 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 (ElementType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElementType); - } - if (AttrGroupType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrGroupType); - } - if (AttrValueId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrValueId); - } - if (AttrType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrType); - } - if (AttrTypeFirstSubtype != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrTypeFirstSubtype); - } - if (AttrTypeSecondSubtype != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrTypeSecondSubtype); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EquipmentRandomAttribute other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ElementType != 0) { - ElementType = other.ElementType; - } - if (other.AttrGroupType != 0) { - AttrGroupType = other.AttrGroupType; - } - if (other.AttrValueId != 0) { - AttrValueId = other.AttrValueId; - } - if (other.AttrType != 0) { - AttrType = other.AttrType; - } - if (other.AttrTypeFirstSubtype != 0) { - AttrTypeFirstSubtype = other.AttrTypeFirstSubtype; - } - if (other.AttrTypeSecondSubtype != 0) { - AttrTypeSecondSubtype = other.AttrTypeSecondSubtype; - } - _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: { - ElementType = input.ReadInt32(); - break; - } - case 24: { - AttrGroupType = input.ReadInt32(); - break; - } - case 32: { - AttrValueId = input.ReadInt32(); - break; - } - case 40: { - AttrType = input.ReadInt32(); - break; - } - case 48: { - AttrTypeFirstSubtype = input.ReadInt32(); - break; - } - case 56: { - AttrTypeSecondSubtype = 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: { - ElementType = input.ReadInt32(); - break; - } - case 24: { - AttrGroupType = input.ReadInt32(); - break; - } - case 32: { - AttrValueId = input.ReadInt32(); - break; - } - case 40: { - AttrType = input.ReadInt32(); - break; - } - case 48: { - AttrTypeFirstSubtype = input.ReadInt32(); - break; - } - case 56: { - AttrTypeSecondSubtype = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/EquipmentUpgrade.cs b/Novaria.Common/Protos/EquipmentUpgrade.cs new file mode 100644 index 0000000..d8cb9f5 --- /dev/null +++ b/Novaria.Common/Protos/EquipmentUpgrade.cs @@ -0,0 +1,599 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: equipment_upgrade.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 Proto { + + /// Holder for reflection information generated from equipment_upgrade.proto + public static partial class EquipmentUpgradeReflection { + + #region Descriptor + /// File descriptor for equipment_upgrade.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static EquipmentUpgradeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdlcXVpcG1lbnRfdXBncmFkZS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byJXChNFcXVpcG1lbnRVcGdyYWRlUmVxEgoKAklkGAEgASgEEh4KBUl0ZW1z", + "GAIgAygLMg8ucHJvdG8uSXRlbUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "InMKFEVxdWlwbWVudFVwZ3JhZGVSZXNwEiIKBEluZm8YASABKAsyFC5wcm90", + "by5FcXVpcG1lbnRJbmZvEiEKBkNoYW5nZRgCIAEoCzIRLnByb3RvLkNoYW5n", + "ZUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentUpgradeReq), global::Proto.EquipmentUpgradeReq.Parser, new[]{ "Id", "Items", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentUpgradeResp), global::Proto.EquipmentUpgradeResp.Parser, new[]{ "Info", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentUpgradeReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentUpgradeReq()); + 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::Proto.EquipmentUpgradeReflection.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 EquipmentUpgradeReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentUpgradeReq(EquipmentUpgradeReq other) : this() { + id_ = other.id_; + items_ = other.items_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentUpgradeReq Clone() { + return new EquipmentUpgradeReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemInfo.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EquipmentUpgradeReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentUpgradeReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!items_.Equals(other.items_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + hash ^= items_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + items_.WriteTo(output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + items_.WriteTo(ref output, _repeated_items_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + size += items_.CalculateSize(_repeated_items_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentUpgradeReq other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + items_.Add(other.items_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentUpgradeResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EquipmentUpgradeResp()); + 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::Proto.EquipmentUpgradeReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentUpgradeResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentUpgradeResp(EquipmentUpgradeResp other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentUpgradeResp Clone() { + return new EquipmentUpgradeResp(this); + } + + /// Field number for the "Info" field. + public const int InfoFieldNumber = 1; + private global::Proto.EquipmentInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.EquipmentInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EquipmentUpgradeResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentUpgradeResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentUpgradeResp other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.EquipmentInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.EquipmentInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.EquipmentInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/EventResult.cs b/Novaria.Common/Protos/EventResult.cs deleted file mode 100644 index 9f2c62c..0000000 --- a/Novaria.Common/Protos/EventResult.cs +++ /dev/null @@ -1,439 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EventResult.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 EventResult.proto - public static partial class EventResultReflection { - - #region Descriptor - /// File descriptor for EventResult.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static EventResultReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFFdmVudFJlc3VsdC5wcm90byKIAQoLRXZlbnRSZXN1bHQSCgoCaWQYASAB", - "KAUSDwoHZWZmZWN0MRgCIAEoBRISCgpwYXJhbWV0ZXIxGAMgAygFEg8KB2Vm", - "ZmVjdDIYBCABKAUSEgoKcGFyYW1ldGVyMhgFIAMoBRIPCgdlZmZlY3QzGAYg", - "ASgFEhIKCnBhcmFtZXRlcjMYByADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EventResult), global::Nova.Client.EventResult.Parser, new[]{ "Id", "Effect1", "Parameter1", "Effect2", "Parameter2", "Effect3", "Parameter3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EventResult : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventResult()); - 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.EventResultReflection.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 EventResult() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventResult(EventResult other) : this() { - id_ = other.id_; - effect1_ = other.effect1_; - parameter1_ = other.parameter1_.Clone(); - effect2_ = other.effect2_; - parameter2_ = other.parameter2_.Clone(); - effect3_ = other.effect3_; - parameter3_ = other.parameter3_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventResult Clone() { - return new EventResult(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 "effect1" field. - public const int Effect1FieldNumber = 2; - private int effect1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Effect1 { - get { return effect1_; } - set { - effect1_ = value; - } - } - - /// Field number for the "parameter1" field. - public const int Parameter1FieldNumber = 3; - private static readonly pb::FieldCodec _repeated_parameter1_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField parameter1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Parameter1 { - get { return parameter1_; } - } - - /// Field number for the "effect2" field. - public const int Effect2FieldNumber = 4; - private int effect2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Effect2 { - get { return effect2_; } - set { - effect2_ = value; - } - } - - /// Field number for the "parameter2" field. - public const int Parameter2FieldNumber = 5; - private static readonly pb::FieldCodec _repeated_parameter2_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField parameter2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Parameter2 { - get { return parameter2_; } - } - - /// Field number for the "effect3" field. - public const int Effect3FieldNumber = 6; - private int effect3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Effect3 { - get { return effect3_; } - set { - effect3_ = value; - } - } - - /// Field number for the "parameter3" field. - public const int Parameter3FieldNumber = 7; - private static readonly pb::FieldCodec _repeated_parameter3_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField parameter3_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Parameter3 { - get { return parameter3_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as EventResult); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EventResult other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Effect1 != other.Effect1) return false; - if(!parameter1_.Equals(other.parameter1_)) return false; - if (Effect2 != other.Effect2) return false; - if(!parameter2_.Equals(other.parameter2_)) return false; - if (Effect3 != other.Effect3) return false; - if(!parameter3_.Equals(other.parameter3_)) 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 (Effect1 != 0) hash ^= Effect1.GetHashCode(); - hash ^= parameter1_.GetHashCode(); - if (Effect2 != 0) hash ^= Effect2.GetHashCode(); - hash ^= parameter2_.GetHashCode(); - if (Effect3 != 0) hash ^= Effect3.GetHashCode(); - hash ^= parameter3_.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 (Effect1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(Effect1); - } - parameter1_.WriteTo(output, _repeated_parameter1_codec); - if (Effect2 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Effect2); - } - parameter2_.WriteTo(output, _repeated_parameter2_codec); - if (Effect3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Effect3); - } - parameter3_.WriteTo(output, _repeated_parameter3_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 (Effect1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(Effect1); - } - parameter1_.WriteTo(ref output, _repeated_parameter1_codec); - if (Effect2 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Effect2); - } - parameter2_.WriteTo(ref output, _repeated_parameter2_codec); - if (Effect3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Effect3); - } - parameter3_.WriteTo(ref output, _repeated_parameter3_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 (Effect1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect1); - } - size += parameter1_.CalculateSize(_repeated_parameter1_codec); - if (Effect2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect2); - } - size += parameter2_.CalculateSize(_repeated_parameter2_codec); - if (Effect3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect3); - } - size += parameter3_.CalculateSize(_repeated_parameter3_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EventResult other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Effect1 != 0) { - Effect1 = other.Effect1; - } - parameter1_.Add(other.parameter1_); - if (other.Effect2 != 0) { - Effect2 = other.Effect2; - } - parameter2_.Add(other.parameter2_); - if (other.Effect3 != 0) { - Effect3 = other.Effect3; - } - parameter3_.Add(other.parameter3_); - _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: { - Effect1 = input.ReadInt32(); - break; - } - case 26: - case 24: { - parameter1_.AddEntriesFrom(input, _repeated_parameter1_codec); - break; - } - case 32: { - Effect2 = input.ReadInt32(); - break; - } - case 42: - case 40: { - parameter2_.AddEntriesFrom(input, _repeated_parameter2_codec); - break; - } - case 48: { - Effect3 = input.ReadInt32(); - break; - } - case 58: - case 56: { - parameter3_.AddEntriesFrom(input, _repeated_parameter3_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: { - Effect1 = input.ReadInt32(); - break; - } - case 26: - case 24: { - parameter1_.AddEntriesFrom(ref input, _repeated_parameter1_codec); - break; - } - case 32: { - Effect2 = input.ReadInt32(); - break; - } - case 42: - case 40: { - parameter2_.AddEntriesFrom(ref input, _repeated_parameter2_codec); - break; - } - case 48: { - Effect3 = input.ReadInt32(); - break; - } - case 58: - case 56: { - parameter3_.AddEntriesFrom(ref input, _repeated_parameter3_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/FateCard.cs b/Novaria.Common/Protos/FateCard.cs deleted file mode 100644 index 736bf48..0000000 --- a/Novaria.Common/Protos/FateCard.cs +++ /dev/null @@ -1,897 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FateCard.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 FateCard.proto - public static partial class FateCardReflection { - - #region Descriptor - /// File descriptor for FateCard.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FateCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5GYXRlQ2FyZC5wcm90byKQAwoIRmF0ZUNhcmQSCgoCaWQYASABKAUSDAoE", - "bmFtZRgCIAEoCRIMCgRkZXNjGAMgASgJEg0KBWRlc2MyGAQgASgJEhAKCGlz", - "X3Rvd2VyGAUgASgIEhIKCmlzX3ZhbXBpcmUYBiABKAgSGgoSaXNfdmFtcGly", - "ZV9zcGVjaWFsGAcgASgIEhUKDWFjdGl2ZV9udW1iZXIYCCABKAUSEAoIZHVy", - "YXRpb24YCSABKAUSGQoRYWN0aXZlX3Jvb21fdHlwZXMYCiADKAUSFQoNYWN0", - "aXZlX2FjdGlvbhgLIAEoBRITCgttZXRob2RfbW9kZRgMIAEoBRIVCg1jbGll", - "bnRfZWZmZWN0GA0gASgFEg0KBWNvdW50GA4gASgFEhIKCnRoZW1lX3R5cGUY", - "DyABKAUSEwoLdGhlbWVfdmFsdWUYECABKAUSGgoSdGhlbWVfdHJpZ2dlcl90", - "eXBlGBEgAygFEh0KFWVmZmVjdGl2ZV9pbW1lZGlhdGVseRgSIAEoCBIRCgly", - "ZW1vdmFibGUYEyABKAhCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FateCard), global::Nova.Client.FateCard.Parser, new[]{ "Id", "Name", "Desc", "Desc2", "IsTower", "IsVampire", "IsVampireSpecial", "ActiveNumber", "Duration", "ActiveRoomTypes", "ActiveAction", "MethodMode", "ClientEffect", "Count", "ThemeType", "ThemeValue", "ThemeTriggerType", "EffectiveImmediately", "Removable" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class FateCard : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FateCard()); - 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.FateCardReflection.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 FateCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FateCard(FateCard other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - desc2_ = other.desc2_; - isTower_ = other.isTower_; - isVampire_ = other.isVampire_; - isVampireSpecial_ = other.isVampireSpecial_; - activeNumber_ = other.activeNumber_; - duration_ = other.duration_; - activeRoomTypes_ = other.activeRoomTypes_.Clone(); - activeAction_ = other.activeAction_; - methodMode_ = other.methodMode_; - clientEffect_ = other.clientEffect_; - count_ = other.count_; - themeType_ = other.themeType_; - themeValue_ = other.themeValue_; - themeTriggerType_ = other.themeTriggerType_.Clone(); - effectiveImmediately_ = other.effectiveImmediately_; - removable_ = other.removable_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FateCard Clone() { - return new FateCard(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "desc2" field. - public const int Desc2FieldNumber = 4; - private string desc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc2 { - get { return desc2_; } - set { - desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "is_tower" field. - public const int IsTowerFieldNumber = 5; - private bool isTower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsTower { - get { return isTower_; } - set { - isTower_ = value; - } - } - - /// Field number for the "is_vampire" field. - public const int IsVampireFieldNumber = 6; - private bool isVampire_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsVampire { - get { return isVampire_; } - set { - isVampire_ = value; - } - } - - /// Field number for the "is_vampire_special" field. - public const int IsVampireSpecialFieldNumber = 7; - private bool isVampireSpecial_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsVampireSpecial { - get { return isVampireSpecial_; } - set { - isVampireSpecial_ = value; - } - } - - /// Field number for the "active_number" field. - public const int ActiveNumberFieldNumber = 8; - private int activeNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ActiveNumber { - get { return activeNumber_; } - set { - activeNumber_ = value; - } - } - - /// Field number for the "duration" field. - public const int DurationFieldNumber = 9; - private int duration_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Duration { - get { return duration_; } - set { - duration_ = value; - } - } - - /// Field number for the "active_room_types" field. - public const int ActiveRoomTypesFieldNumber = 10; - private static readonly pb::FieldCodec _repeated_activeRoomTypes_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField activeRoomTypes_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActiveRoomTypes { - get { return activeRoomTypes_; } - } - - /// Field number for the "active_action" field. - public const int ActiveActionFieldNumber = 11; - private int activeAction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ActiveAction { - get { return activeAction_; } - set { - activeAction_ = value; - } - } - - /// Field number for the "method_mode" field. - public const int MethodModeFieldNumber = 12; - private int methodMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MethodMode { - get { return methodMode_; } - set { - methodMode_ = value; - } - } - - /// Field number for the "client_effect" field. - public const int ClientEffectFieldNumber = 13; - private int clientEffect_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ClientEffect { - get { return clientEffect_; } - set { - clientEffect_ = value; - } - } - - /// Field number for the "count" field. - public const int CountFieldNumber = 14; - private int count_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Count { - get { return count_; } - set { - count_ = value; - } - } - - /// Field number for the "theme_type" field. - public const int ThemeTypeFieldNumber = 15; - private int themeType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ThemeType { - get { return themeType_; } - set { - themeType_ = value; - } - } - - /// Field number for the "theme_value" field. - public const int ThemeValueFieldNumber = 16; - private int themeValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ThemeValue { - get { return themeValue_; } - set { - themeValue_ = value; - } - } - - /// Field number for the "theme_trigger_type" field. - public const int ThemeTriggerTypeFieldNumber = 17; - private static readonly pb::FieldCodec _repeated_themeTriggerType_codec - = pb::FieldCodec.ForInt32(138); - private readonly pbc::RepeatedField themeTriggerType_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ThemeTriggerType { - get { return themeTriggerType_; } - } - - /// Field number for the "effective_immediately" field. - public const int EffectiveImmediatelyFieldNumber = 18; - private bool effectiveImmediately_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool EffectiveImmediately { - get { return effectiveImmediately_; } - set { - effectiveImmediately_ = value; - } - } - - /// Field number for the "removable" field. - public const int RemovableFieldNumber = 19; - private bool removable_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Removable { - get { return removable_; } - set { - removable_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FateCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FateCard 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 (Desc != other.Desc) return false; - if (Desc2 != other.Desc2) return false; - if (IsTower != other.IsTower) return false; - if (IsVampire != other.IsVampire) return false; - if (IsVampireSpecial != other.IsVampireSpecial) return false; - if (ActiveNumber != other.ActiveNumber) return false; - if (Duration != other.Duration) return false; - if(!activeRoomTypes_.Equals(other.activeRoomTypes_)) return false; - if (ActiveAction != other.ActiveAction) return false; - if (MethodMode != other.MethodMode) return false; - if (ClientEffect != other.ClientEffect) return false; - if (Count != other.Count) return false; - if (ThemeType != other.ThemeType) return false; - if (ThemeValue != other.ThemeValue) return false; - if(!themeTriggerType_.Equals(other.themeTriggerType_)) return false; - if (EffectiveImmediately != other.EffectiveImmediately) return false; - if (Removable != other.Removable) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); - if (IsTower != false) hash ^= IsTower.GetHashCode(); - if (IsVampire != false) hash ^= IsVampire.GetHashCode(); - if (IsVampireSpecial != false) hash ^= IsVampireSpecial.GetHashCode(); - if (ActiveNumber != 0) hash ^= ActiveNumber.GetHashCode(); - if (Duration != 0) hash ^= Duration.GetHashCode(); - hash ^= activeRoomTypes_.GetHashCode(); - if (ActiveAction != 0) hash ^= ActiveAction.GetHashCode(); - if (MethodMode != 0) hash ^= MethodMode.GetHashCode(); - if (ClientEffect != 0) hash ^= ClientEffect.GetHashCode(); - if (Count != 0) hash ^= Count.GetHashCode(); - if (ThemeType != 0) hash ^= ThemeType.GetHashCode(); - if (ThemeValue != 0) hash ^= ThemeValue.GetHashCode(); - hash ^= themeTriggerType_.GetHashCode(); - if (EffectiveImmediately != false) hash ^= EffectiveImmediately.GetHashCode(); - if (Removable != false) hash ^= Removable.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Desc2.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc2); - } - if (IsTower != false) { - output.WriteRawTag(40); - output.WriteBool(IsTower); - } - if (IsVampire != false) { - output.WriteRawTag(48); - output.WriteBool(IsVampire); - } - if (IsVampireSpecial != false) { - output.WriteRawTag(56); - output.WriteBool(IsVampireSpecial); - } - if (ActiveNumber != 0) { - output.WriteRawTag(64); - output.WriteInt32(ActiveNumber); - } - if (Duration != 0) { - output.WriteRawTag(72); - output.WriteInt32(Duration); - } - activeRoomTypes_.WriteTo(output, _repeated_activeRoomTypes_codec); - if (ActiveAction != 0) { - output.WriteRawTag(88); - output.WriteInt32(ActiveAction); - } - if (MethodMode != 0) { - output.WriteRawTag(96); - output.WriteInt32(MethodMode); - } - if (ClientEffect != 0) { - output.WriteRawTag(104); - output.WriteInt32(ClientEffect); - } - if (Count != 0) { - output.WriteRawTag(112); - output.WriteInt32(Count); - } - if (ThemeType != 0) { - output.WriteRawTag(120); - output.WriteInt32(ThemeType); - } - if (ThemeValue != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ThemeValue); - } - themeTriggerType_.WriteTo(output, _repeated_themeTriggerType_codec); - if (EffectiveImmediately != false) { - output.WriteRawTag(144, 1); - output.WriteBool(EffectiveImmediately); - } - if (Removable != false) { - output.WriteRawTag(152, 1); - output.WriteBool(Removable); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Desc2.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc2); - } - if (IsTower != false) { - output.WriteRawTag(40); - output.WriteBool(IsTower); - } - if (IsVampire != false) { - output.WriteRawTag(48); - output.WriteBool(IsVampire); - } - if (IsVampireSpecial != false) { - output.WriteRawTag(56); - output.WriteBool(IsVampireSpecial); - } - if (ActiveNumber != 0) { - output.WriteRawTag(64); - output.WriteInt32(ActiveNumber); - } - if (Duration != 0) { - output.WriteRawTag(72); - output.WriteInt32(Duration); - } - activeRoomTypes_.WriteTo(ref output, _repeated_activeRoomTypes_codec); - if (ActiveAction != 0) { - output.WriteRawTag(88); - output.WriteInt32(ActiveAction); - } - if (MethodMode != 0) { - output.WriteRawTag(96); - output.WriteInt32(MethodMode); - } - if (ClientEffect != 0) { - output.WriteRawTag(104); - output.WriteInt32(ClientEffect); - } - if (Count != 0) { - output.WriteRawTag(112); - output.WriteInt32(Count); - } - if (ThemeType != 0) { - output.WriteRawTag(120); - output.WriteInt32(ThemeType); - } - if (ThemeValue != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ThemeValue); - } - themeTriggerType_.WriteTo(ref output, _repeated_themeTriggerType_codec); - if (EffectiveImmediately != false) { - output.WriteRawTag(144, 1); - output.WriteBool(EffectiveImmediately); - } - if (Removable != false) { - output.WriteRawTag(152, 1); - output.WriteBool(Removable); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Desc2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); - } - if (IsTower != false) { - size += 1 + 1; - } - if (IsVampire != false) { - size += 1 + 1; - } - if (IsVampireSpecial != false) { - size += 1 + 1; - } - if (ActiveNumber != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActiveNumber); - } - if (Duration != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Duration); - } - size += activeRoomTypes_.CalculateSize(_repeated_activeRoomTypes_codec); - if (ActiveAction != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActiveAction); - } - if (MethodMode != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MethodMode); - } - if (ClientEffect != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientEffect); - } - if (Count != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count); - } - if (ThemeType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThemeType); - } - if (ThemeValue != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ThemeValue); - } - size += themeTriggerType_.CalculateSize(_repeated_themeTriggerType_codec); - if (EffectiveImmediately != false) { - size += 2 + 1; - } - if (Removable != false) { - size += 2 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FateCard other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Desc2.Length != 0) { - Desc2 = other.Desc2; - } - if (other.IsTower != false) { - IsTower = other.IsTower; - } - if (other.IsVampire != false) { - IsVampire = other.IsVampire; - } - if (other.IsVampireSpecial != false) { - IsVampireSpecial = other.IsVampireSpecial; - } - if (other.ActiveNumber != 0) { - ActiveNumber = other.ActiveNumber; - } - if (other.Duration != 0) { - Duration = other.Duration; - } - activeRoomTypes_.Add(other.activeRoomTypes_); - if (other.ActiveAction != 0) { - ActiveAction = other.ActiveAction; - } - if (other.MethodMode != 0) { - MethodMode = other.MethodMode; - } - if (other.ClientEffect != 0) { - ClientEffect = other.ClientEffect; - } - if (other.Count != 0) { - Count = other.Count; - } - if (other.ThemeType != 0) { - ThemeType = other.ThemeType; - } - if (other.ThemeValue != 0) { - ThemeValue = other.ThemeValue; - } - themeTriggerType_.Add(other.themeTriggerType_); - if (other.EffectiveImmediately != false) { - EffectiveImmediately = other.EffectiveImmediately; - } - if (other.Removable != false) { - Removable = other.Removable; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Desc2 = input.ReadString(); - break; - } - case 40: { - IsTower = input.ReadBool(); - break; - } - case 48: { - IsVampire = input.ReadBool(); - break; - } - case 56: { - IsVampireSpecial = input.ReadBool(); - break; - } - case 64: { - ActiveNumber = input.ReadInt32(); - break; - } - case 72: { - Duration = input.ReadInt32(); - break; - } - case 82: - case 80: { - activeRoomTypes_.AddEntriesFrom(input, _repeated_activeRoomTypes_codec); - break; - } - case 88: { - ActiveAction = input.ReadInt32(); - break; - } - case 96: { - MethodMode = input.ReadInt32(); - break; - } - case 104: { - ClientEffect = input.ReadInt32(); - break; - } - case 112: { - Count = input.ReadInt32(); - break; - } - case 120: { - ThemeType = input.ReadInt32(); - break; - } - case 128: { - ThemeValue = input.ReadInt32(); - break; - } - case 138: - case 136: { - themeTriggerType_.AddEntriesFrom(input, _repeated_themeTriggerType_codec); - break; - } - case 144: { - EffectiveImmediately = input.ReadBool(); - break; - } - case 152: { - Removable = 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 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Desc2 = input.ReadString(); - break; - } - case 40: { - IsTower = input.ReadBool(); - break; - } - case 48: { - IsVampire = input.ReadBool(); - break; - } - case 56: { - IsVampireSpecial = input.ReadBool(); - break; - } - case 64: { - ActiveNumber = input.ReadInt32(); - break; - } - case 72: { - Duration = input.ReadInt32(); - break; - } - case 82: - case 80: { - activeRoomTypes_.AddEntriesFrom(ref input, _repeated_activeRoomTypes_codec); - break; - } - case 88: { - ActiveAction = input.ReadInt32(); - break; - } - case 96: { - MethodMode = input.ReadInt32(); - break; - } - case 104: { - ClientEffect = input.ReadInt32(); - break; - } - case 112: { - Count = input.ReadInt32(); - break; - } - case 120: { - ThemeType = input.ReadInt32(); - break; - } - case 128: { - ThemeValue = input.ReadInt32(); - break; - } - case 138: - case 136: { - themeTriggerType_.AddEntriesFrom(ref input, _repeated_themeTriggerType_codec); - break; - } - case 144: { - EffectiveImmediately = input.ReadBool(); - break; - } - case 152: { - Removable = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/FloorBuff.cs b/Novaria.Common/Protos/FloorBuff.cs deleted file mode 100644 index f53e3fe..0000000 --- a/Novaria.Common/Protos/FloorBuff.cs +++ /dev/null @@ -1,355 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FloorBuff.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 FloorBuff.proto - public static partial class FloorBuffReflection { - - #region Descriptor - /// File descriptor for FloorBuff.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FloorBuffReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9GbG9vckJ1ZmYucHJvdG8iYAoJRmxvb3JCdWZmEgoKAmlkGAEgASgFEhAK", - "CGFkZF9jYW1wGAIgAygFEhEKCWFkZF9jbGFzcxgDIAMoBRIRCgllZmZlY3Rf", - "aWQYBCADKAUSDwoHYnVmZl9pZBgFIAMoBUIOqgILTm92YS5DbGllbnRiBnBy", - "b3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FloorBuff), global::Nova.Client.FloorBuff.Parser, new[]{ "Id", "AddCamp", "AddClass", "EffectId", "BuffId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class FloorBuff : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FloorBuff()); - 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.FloorBuffReflection.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 FloorBuff() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FloorBuff(FloorBuff other) : this() { - id_ = other.id_; - addCamp_ = other.addCamp_.Clone(); - addClass_ = other.addClass_.Clone(); - effectId_ = other.effectId_.Clone(); - buffId_ = other.buffId_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FloorBuff Clone() { - return new FloorBuff(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 "add_camp" field. - public const int AddCampFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_addCamp_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField addCamp_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AddCamp { - get { return addCamp_; } - } - - /// Field number for the "add_class" field. - public const int AddClassFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_addClass_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField addClass_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AddClass { - get { return addClass_; } - } - - /// Field number for the "effect_id" field. - public const int EffectIdFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_effectId_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField effectId_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EffectId { - get { return effectId_; } - } - - /// Field number for the "buff_id" field. - public const int BuffIdFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_buffId_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField buffId_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BuffId { - get { return buffId_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FloorBuff); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FloorBuff other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if(!addCamp_.Equals(other.addCamp_)) return false; - if(!addClass_.Equals(other.addClass_)) return false; - if(!effectId_.Equals(other.effectId_)) return false; - if(!buffId_.Equals(other.buffId_)) 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(); - hash ^= addCamp_.GetHashCode(); - hash ^= addClass_.GetHashCode(); - hash ^= effectId_.GetHashCode(); - hash ^= buffId_.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); - } - addCamp_.WriteTo(output, _repeated_addCamp_codec); - addClass_.WriteTo(output, _repeated_addClass_codec); - effectId_.WriteTo(output, _repeated_effectId_codec); - buffId_.WriteTo(output, _repeated_buffId_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); - } - addCamp_.WriteTo(ref output, _repeated_addCamp_codec); - addClass_.WriteTo(ref output, _repeated_addClass_codec); - effectId_.WriteTo(ref output, _repeated_effectId_codec); - buffId_.WriteTo(ref output, _repeated_buffId_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); - } - size += addCamp_.CalculateSize(_repeated_addCamp_codec); - size += addClass_.CalculateSize(_repeated_addClass_codec); - size += effectId_.CalculateSize(_repeated_effectId_codec); - size += buffId_.CalculateSize(_repeated_buffId_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FloorBuff other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - addCamp_.Add(other.addCamp_); - addClass_.Add(other.addClass_); - effectId_.Add(other.effectId_); - buffId_.Add(other.buffId_); - _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: - case 16: { - addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec); - break; - } - case 26: - case 24: { - addClass_.AddEntriesFrom(input, _repeated_addClass_codec); - break; - } - case 34: - case 32: { - effectId_.AddEntriesFrom(input, _repeated_effectId_codec); - break; - } - case 42: - case 40: { - buffId_.AddEntriesFrom(input, _repeated_buffId_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 18: - case 16: { - addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec); - break; - } - case 26: - case 24: { - addClass_.AddEntriesFrom(ref input, _repeated_addClass_codec); - break; - } - case 34: - case 32: { - effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); - break; - } - case 42: - case 40: { - buffId_.AddEntriesFrom(ref input, _repeated_buffId_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Force.cs b/Novaria.Common/Protos/Force.cs deleted file mode 100644 index 1779904..0000000 --- a/Novaria.Common/Protos/Force.cs +++ /dev/null @@ -1,381 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Force.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 Force.proto - public static partial class ForceReflection { - - #region Descriptor - /// File descriptor for Force.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ForceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtGb3JjZS5wcm90byJUCgVGb3JjZRIKCgJpZBgBIAEoBRINCgV0aXRsZRgC", - "IAEoCRINCgVpY29uMRgDIAEoCRINCgVpY29uMhgEIAEoCRISCgp0YWxlbnRf", - "cG9zGAUgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Force), global::Nova.Client.Force.Parser, new[]{ "Id", "Title", "Icon1", "Icon2", "TalentPos" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Force : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Force()); - 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.ForceReflection.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 Force() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Force(Force other) : this() { - id_ = other.id_; - title_ = other.title_; - icon1_ = other.icon1_; - icon2_ = other.icon2_; - talentPos_ = other.talentPos_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Force Clone() { - return new Force(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "icon1" field. - public const int Icon1FieldNumber = 3; - private string icon1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon1 { - get { return icon1_; } - set { - icon1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "icon2" field. - public const int Icon2FieldNumber = 4; - private string icon2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon2 { - get { return icon2_; } - set { - icon2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "talent_pos" field. - public const int TalentPosFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_talentPos_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField talentPos_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TalentPos { - get { return talentPos_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Force); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Force other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Icon1 != other.Icon1) return false; - if (Icon2 != other.Icon2) return false; - if(!talentPos_.Equals(other.talentPos_)) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Icon1.Length != 0) hash ^= Icon1.GetHashCode(); - if (Icon2.Length != 0) hash ^= Icon2.GetHashCode(); - hash ^= talentPos_.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Icon1.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon1); - } - if (Icon2.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon2); - } - talentPos_.WriteTo(output, _repeated_talentPos_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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Icon1.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon1); - } - if (Icon2.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon2); - } - talentPos_.WriteTo(ref output, _repeated_talentPos_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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Icon1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon1); - } - if (Icon2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon2); - } - size += talentPos_.CalculateSize(_repeated_talentPos_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Force other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Icon1.Length != 0) { - Icon1 = other.Icon1; - } - if (other.Icon2.Length != 0) { - Icon2 = other.Icon2; - } - talentPos_.Add(other.talentPos_); - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Icon1 = input.ReadString(); - break; - } - case 34: { - Icon2 = input.ReadString(); - break; - } - case 42: - case 40: { - talentPos_.AddEntriesFrom(input, _repeated_talentPos_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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Icon1 = input.ReadString(); - break; - } - case 34: { - Icon2 = input.ReadString(); - break; - } - case 42: - case 40: { - talentPos_.AddEntriesFrom(ref input, _repeated_talentPos_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/FragmentsConvert.cs b/Novaria.Common/Protos/FragmentsConvert.cs new file mode 100644 index 0000000..824ff35 --- /dev/null +++ b/Novaria.Common/Protos/FragmentsConvert.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: fragments_convert.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 Proto { + + /// Holder for reflection information generated from fragments_convert.proto + public static partial class FragmentsConvertReflection { + + #region Descriptor + /// File descriptor for fragments_convert.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FragmentsConvertReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdmcmFnbWVudHNfY29udmVydC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterGroup.cs b/Novaria.Common/Protos/FriendAdd.cs similarity index 68% rename from Novaria.Common/Protos/MonsterGroup.cs rename to Novaria.Common/Protos/FriendAdd.cs index bb80a5b..b643a93 100644 --- a/Novaria.Common/Protos/MonsterGroup.cs +++ b/Novaria.Common/Protos/FriendAdd.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterGroup.proto +// source: friend_add.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,27 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from MonsterGroup.proto - public static partial class MonsterGroupReflection { + /// Holder for reflection information generated from friend_add.proto + public static partial class FriendAddReflection { #region Descriptor - /// File descriptor for MonsterGroup.proto + /// File descriptor for friend_add.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static MonsterGroupReflection() { + static FriendAddReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChJNb25zdGVyR3JvdXAucHJvdG8iLAoMTW9uc3Rlckdyb3VwEgoKAmlkGAEg", - "ASgFEhAKCG1vbnN0ZXJzGAIgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "ChBmcmllbmRfYWRkLnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIjEKDEZy", + "aWVuZEFkZFJlcRILCgNVSWQYASABKAQSFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "UABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterGroup), global::Nova.Client.MonsterGroup.Parser, new[]{ "Id", "Monsters" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendAddReq), global::Proto.FriendAddReq.Parser, new[]{ "UId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -37,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterGroup : pb::IMessage + public sealed partial class FriendAddReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterGroup()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAddReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.MonsterGroupReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.FriendAddReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -62,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterGroup() { + public FriendAddReq() { OnConstruction(); } @@ -70,59 +71,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterGroup(MonsterGroup other) : this() { - id_ = other.id_; - monsters_ = other.monsters_; + public FriendAddReq(FriendAddReq other) : this() { + uId_ = other.uId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterGroup Clone() { - return new MonsterGroup(this); + public FriendAddReq Clone() { + return new FriendAddReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "UId" field. + public const int UIdFieldNumber = 1; + private ulong uId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public ulong UId { + get { return uId_; } set { - id_ = value; + uId_ = value; } } - /// Field number for the "monsters" field. - public const int MonstersFieldNumber = 2; - private string monsters_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Monsters { - get { return monsters_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - monsters_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 MonsterGroup); + return Equals(other as FriendAddReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterGroup other) { + public bool Equals(FriendAddReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Monsters != other.Monsters) return false; + if (UId != other.UId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -130,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Monsters.Length != 0) hash ^= Monsters.GetHashCode(); + if (UId != 0UL) hash ^= UId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -150,13 +151,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (UId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(UId); } - if (Monsters.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Monsters); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -168,13 +169,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (UId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(UId); } - if (Monsters.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Monsters); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -186,11 +187,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (UId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UId); } - if (Monsters.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Monsters); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -200,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterGroup other) { + public void MergeFrom(FriendAddReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.UId != 0UL) { + UId = other.UId; } - if (other.Monsters.Length != 0) { - Monsters = other.Monsters; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -230,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + UId = input.ReadUInt64(); break; } - case 18: { - Monsters = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -257,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + UId = input.ReadUInt64(); break; } - case 18: { - Monsters = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/FriendAddAgree.cs b/Novaria.Common/Protos/FriendAddAgree.cs new file mode 100644 index 0000000..a41e82d --- /dev/null +++ b/Novaria.Common/Protos/FriendAddAgree.cs @@ -0,0 +1,526 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_add_agree.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 Proto { + + /// Holder for reflection information generated from friend_add_agree.proto + public static partial class FriendAddAgreeReflection { + + #region Descriptor + /// File descriptor for friend_add_agree.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendAddAgreeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZmcmllbmRfYWRkX2FncmVlLnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "IjYKEUZyaWVuZEFkZEFncmVlUmVxEgsKA1VJZBgBIAEoBBIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwiSQoSRnJpZW5kQWRkQWdyZWVSZXNwEh0KBkZyaWVuZBgB", + "IAEoCzINLnByb3RvLkZyaWVuZBIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIG", + "cHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendAddAgreeReq), global::Proto.FriendAddAgreeReq.Parser, new[]{ "UId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendAddAgreeResp), global::Proto.FriendAddAgreeResp.Parser, new[]{ "Friend", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendAddAgreeReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAddAgreeReq()); + 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::Proto.FriendAddAgreeReflection.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 FriendAddAgreeReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendAddAgreeReq(FriendAddAgreeReq other) : this() { + uId_ = other.uId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendAddAgreeReq Clone() { + return new FriendAddAgreeReq(this); + } + + /// Field number for the "UId" field. + public const int UIdFieldNumber = 1; + private ulong uId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong UId { + get { return uId_; } + set { + uId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendAddAgreeReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendAddAgreeReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UId != other.UId) return false; + if (NextPackage != other.NextPackage) 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 (UId != 0UL) hash ^= UId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (UId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(UId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (UId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(UId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (UId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendAddAgreeReq other) { + if (other == null) { + return; + } + if (other.UId != 0UL) { + UId = other.UId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + UId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + UId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendAddAgreeResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAddAgreeResp()); + 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::Proto.FriendAddAgreeReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendAddAgreeResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendAddAgreeResp(FriendAddAgreeResp other) : this() { + friend_ = other.friend_ != null ? other.friend_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendAddAgreeResp Clone() { + return new FriendAddAgreeResp(this); + } + + /// Field number for the "Friend" field. + public const int FriendFieldNumber = 1; + private global::Proto.Friend friend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Friend Friend { + get { return friend_; } + set { + friend_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendAddAgreeResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendAddAgreeResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Friend, other.Friend)) return false; + if (NextPackage != other.NextPackage) 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 (friend_ != null) hash ^= Friend.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (friend_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Friend); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (friend_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Friend); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (friend_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Friend); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendAddAgreeResp other) { + if (other == null) { + return; + } + if (other.friend_ != null) { + if (friend_ == null) { + Friend = new global::Proto.Friend(); + } + Friend.MergeFrom(other.Friend); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (friend_ == null) { + Friend = new global::Proto.Friend(); + } + input.ReadMessage(Friend); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (friend_ == null) { + Friend = new global::Proto.Friend(); + } + input.ReadMessage(Friend); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterSkinTheme.cs b/Novaria.Common/Protos/FriendAllAgree.cs similarity index 57% rename from Novaria.Common/Protos/CharacterSkinTheme.cs rename to Novaria.Common/Protos/FriendAllAgree.cs index 0d9ffa8..880de45 100644 --- a/Novaria.Common/Protos/CharacterSkinTheme.cs +++ b/Novaria.Common/Protos/FriendAllAgree.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterSkinTheme.proto +// source: friend_all_agree.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from CharacterSkinTheme.proto - public static partial class CharacterSkinThemeReflection { + /// Holder for reflection information generated from friend_all_agree.proto + public static partial class FriendAllAgreeReflection { #region Descriptor - /// File descriptor for CharacterSkinTheme.proto + /// File descriptor for friend_all_agree.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static CharacterSkinThemeReflection() { + static FriendAllAgreeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChhDaGFyYWN0ZXJTa2luVGhlbWUucHJvdG8iSgoSQ2hhcmFjdGVyU2tpblRo", - "ZW1lEgoKAmlkGAEgASgFEgwKBG5hbWUYAiABKAkSDAoEZGVzYxgDIAEoCRIM", - "CgRpY29uGAQgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "ChZmcmllbmRfYWxsX2FncmVlLnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "InkKEkZyaWVuZEFsbEFncmVlUmVzcBINCgVMaW1pdBgBIAEoCBIeCgdGcmll", + "bmRzGAIgAygLMg0ucHJvdG8uRnJpZW5kEh4KB0ludml0ZXMYAyADKAsyDS5w", + "cm90by5GcmllbmQSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkinTheme), global::Nova.Client.CharacterSkinTheme.Parser, new[]{ "Id", "Name", "Desc", "Icon" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendAllAgreeResp), global::Proto.FriendAllAgreeResp.Parser, new[]{ "Limit", "Friends", "Invites", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterSkinTheme : pb::IMessage + public sealed partial class FriendAllAgreeResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharacterSkinTheme()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendAllAgreeResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.CharacterSkinThemeReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.FriendAllAgreeReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkinTheme() { + public FriendAllAgreeResp() { OnConstruction(); } @@ -71,87 +72,85 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkinTheme(CharacterSkinTheme other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - icon_ = other.icon_; + public FriendAllAgreeResp(FriendAllAgreeResp other) : this() { + limit_ = other.limit_; + friends_ = other.friends_.Clone(); + invites_ = other.invites_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterSkinTheme Clone() { - return new CharacterSkinTheme(this); + public FriendAllAgreeResp Clone() { + return new FriendAllAgreeResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Limit" field. + public const int LimitFieldNumber = 1; + private bool limit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public bool Limit { + get { return limit_; } set { - id_ = value; + limit_ = value; } } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; + /// Field number for the "Friends" field. + public const int FriendsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Friend.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public pbc::RepeatedField Friends { + get { return friends_; } } - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - private string desc_ = ""; + /// Field number for the "Invites" field. + public const int InvitesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_invites_codec + = pb::FieldCodec.ForMessage(26, global::Proto.Friend.Parser); + private readonly pbc::RepeatedField invites_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc { - get { return desc_; } - set { - desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public pbc::RepeatedField Invites { + get { return invites_; } } - /// Field number for the "icon" field. - public const int IconFieldNumber = 4; - private string icon_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon { - get { return icon_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 CharacterSkinTheme); + return Equals(other as FriendAllAgreeResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterSkinTheme other) { + public bool Equals(FriendAllAgreeResp 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 (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; + if (Limit != other.Limit) return false; + if(!friends_.Equals(other.friends_)) return false; + if(!invites_.Equals(other.invites_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -159,10 +158,10 @@ namespace Nova.Client { [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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Limit != false) hash ^= Limit.GetHashCode(); + hash ^= friends_.GetHashCode(); + hash ^= invites_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -181,21 +180,15 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (Limit != false) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteBool(Limit); } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); + friends_.WriteTo(output, _repeated_friends_codec); + invites_.WriteTo(output, _repeated_invites_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -207,21 +200,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (Limit != false) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteBool(Limit); } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); + friends_.WriteTo(ref output, _repeated_friends_codec); + invites_.WriteTo(ref output, _repeated_invites_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -233,17 +220,13 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (Limit != false) { + size += 1 + 1; } - 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); + size += friends_.CalculateSize(_repeated_friends_codec); + size += invites_.CalculateSize(_repeated_invites_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -253,21 +236,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterSkinTheme other) { + public void MergeFrom(FriendAllAgreeResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.Limit != false) { + Limit = other.Limit; } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; + friends_.Add(other.friends_); + invites_.Add(other.invites_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,19 +268,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Limit = input.ReadBool(); break; } case 18: { - Name = input.ReadString(); + friends_.AddEntriesFrom(input, _repeated_friends_codec); break; } case 26: { - Desc = input.ReadString(); + invites_.AddEntriesFrom(input, _repeated_invites_codec); break; } - case 34: { - Icon = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,19 +303,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Limit = input.ReadBool(); break; } case 18: { - Name = input.ReadString(); + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); break; } case 26: { - Desc = input.ReadString(); + invites_.AddEntriesFrom(ref input, _repeated_invites_codec); break; } - case 34: { - Icon = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/CharAffinityTemplate.cs b/Novaria.Common/Protos/FriendDelete.cs similarity index 67% rename from Novaria.Common/Protos/CharAffinityTemplate.cs rename to Novaria.Common/Protos/FriendDelete.cs index 57b098b..b43e14c 100644 --- a/Novaria.Common/Protos/CharAffinityTemplate.cs +++ b/Novaria.Common/Protos/FriendDelete.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharAffinityTemplate.proto +// source: friend_delete.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from CharAffinityTemplate.proto - public static partial class CharAffinityTemplateReflection { + /// Holder for reflection information generated from friend_delete.proto + public static partial class FriendDeleteReflection { #region Descriptor - /// File descriptor for CharAffinityTemplate.proto + /// File descriptor for friend_delete.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static CharAffinityTemplateReflection() { + static FriendDeleteReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChpDaGFyQWZmaW5pdHlUZW1wbGF0ZS5wcm90byI3ChRDaGFyQWZmaW5pdHlU", - "ZW1wbGF0ZRIKCgJpZBgBIAEoBRITCgt0ZW1wbGF0ZV9pZBgCIAEoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); + "ChNmcmllbmRfZGVsZXRlLnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIjQK", + "D0ZyaWVuZERlbGV0ZVJlcRILCgNVSWQYASABKAQSFAoLTmV4dFBhY2thZ2UY", + "/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharAffinityTemplate), global::Nova.Client.CharAffinityTemplate.Parser, new[]{ "Id", "TemplateId" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendDeleteReq), global::Proto.FriendDeleteReq.Parser, new[]{ "UId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharAffinityTemplate : pb::IMessage + public sealed partial class FriendDeleteReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinityTemplate()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendDeleteReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.CharAffinityTemplateReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.FriendDeleteReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharAffinityTemplate() { + public FriendDeleteReq() { OnConstruction(); } @@ -71,59 +71,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharAffinityTemplate(CharAffinityTemplate other) : this() { - id_ = other.id_; - templateId_ = other.templateId_; + public FriendDeleteReq(FriendDeleteReq other) : this() { + uId_ = other.uId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharAffinityTemplate Clone() { - return new CharAffinityTemplate(this); + public FriendDeleteReq Clone() { + return new FriendDeleteReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "UId" field. + public const int UIdFieldNumber = 1; + private ulong uId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public ulong UId { + get { return uId_; } set { - id_ = value; + uId_ = value; } } - /// Field number for the "template_id" field. - public const int TemplateIdFieldNumber = 2; - private int templateId_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TemplateId { - get { return templateId_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - templateId_ = value; + nextPackage_ = 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 CharAffinityTemplate); + return Equals(other as FriendDeleteReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharAffinityTemplate other) { + public bool Equals(FriendDeleteReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (TemplateId != other.TemplateId) return false; + if (UId != other.UId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); + if (UId != 0UL) hash ^= UId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -151,13 +151,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (UId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(UId); } - if (TemplateId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TemplateId); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -169,13 +169,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (UId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(UId); } - if (TemplateId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TemplateId); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,11 +187,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (UId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UId); } - if (TemplateId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharAffinityTemplate other) { + public void MergeFrom(FriendDeleteReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.UId != 0UL) { + UId = other.UId; } - if (other.TemplateId != 0) { - TemplateId = other.TemplateId; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -231,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + UId = input.ReadUInt64(); break; } - case 16: { - TemplateId = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -258,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + UId = input.ReadUInt64(); break; } - case 16: { - TemplateId = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/FriendInvitesDelete.cs b/Novaria.Common/Protos/FriendInvitesDelete.cs new file mode 100644 index 0000000..1ecd401 --- /dev/null +++ b/Novaria.Common/Protos/FriendInvitesDelete.cs @@ -0,0 +1,270 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_invites_delete.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 Proto { + + /// Holder for reflection information generated from friend_invites_delete.proto + public static partial class FriendInvitesDeleteReflection { + + #region Descriptor + /// File descriptor for friend_invites_delete.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendInvitesDeleteReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtmcmllbmRfaW52aXRlc19kZWxldGUucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iPAoWRnJpZW5kSW52aXRlc0RlbGV0ZVJlcRIMCgRVSWRzGAEgAygE", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendInvitesDeleteReq), global::Proto.FriendInvitesDeleteReq.Parser, new[]{ "UIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendInvitesDeleteReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendInvitesDeleteReq()); + 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::Proto.FriendInvitesDeleteReflection.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 FriendInvitesDeleteReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitesDeleteReq(FriendInvitesDeleteReq other) : this() { + uIds_ = other.uIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendInvitesDeleteReq Clone() { + return new FriendInvitesDeleteReq(this); + } + + /// Field number for the "UIds" field. + public const int UIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_uIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField uIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UIds { + get { return uIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendInvitesDeleteReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendInvitesDeleteReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!uIds_.Equals(other.uIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= uIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + uIds_.WriteTo(output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + uIds_.WriteTo(ref output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += uIds_.CalculateSize(_repeated_uIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendInvitesDeleteReq other) { + if (other == null) { + return; + } + uIds_.Add(other.uIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + uIds_.AddEntriesFrom(input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + uIds_.AddEntriesFrom(ref input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/EventOptionsRules.cs b/Novaria.Common/Protos/FriendListGet.cs similarity index 58% rename from Novaria.Common/Protos/EventOptionsRules.cs rename to Novaria.Common/Protos/FriendListGet.cs index d945718..7023d4a 100644 --- a/Novaria.Common/Protos/EventOptionsRules.cs +++ b/Novaria.Common/Protos/FriendListGet.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EventOptionsRules.proto +// source: friend_list_get.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from EventOptionsRules.proto - public static partial class EventOptionsRulesReflection { + /// Holder for reflection information generated from friend_list_get.proto + public static partial class FriendListGetReflection { #region Descriptor - /// File descriptor for EventOptionsRules.proto + /// File descriptor for friend_list_get.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static EventOptionsRulesReflection() { + static FriendListGetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChdFdmVudE9wdGlvbnNSdWxlcy5wcm90byI7ChFFdmVudE9wdGlvbnNSdWxl", - "cxIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEgwKBGRlc2MYAyABKAlCDqoC", - "C05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChVmcmllbmRfbGlzdF9nZXQucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", + "bwoRRnJpZW5kTGlzdEdldFJlc3ASJAoHRnJpZW5kcxgBIAMoCzITLnByb3Rv", + "LkZyaWVuZERldGFpbBIeCgdJbnZpdGVzGAIgAygLMg0ucHJvdG8uRnJpZW5k", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EventOptionsRules), global::Nova.Client.EventOptionsRules.Parser, new[]{ "Id", "Name", "Desc" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendListGetResp), global::Proto.FriendListGetResp.Parser, new[]{ "Friends", "Invites", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EventOptionsRules : pb::IMessage + public sealed partial class FriendListGetResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventOptionsRules()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendListGetResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.EventOptionsRulesReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.FriendListGetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventOptionsRules() { + public FriendListGetResp() { OnConstruction(); } @@ -71,73 +72,71 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventOptionsRules(EventOptionsRules other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; + public FriendListGetResp(FriendListGetResp other) : this() { + friends_ = other.friends_.Clone(); + invites_ = other.invites_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventOptionsRules Clone() { - return new EventOptionsRules(this); + public FriendListGetResp Clone() { + return new FriendListGetResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Friends" field. + public const int FriendsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(10, global::Proto.FriendDetail.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } - set { - id_ = value; - } + public pbc::RepeatedField Friends { + get { return friends_; } } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; + /// Field number for the "Invites" field. + public const int InvitesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_invites_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Friend.Parser); + private readonly pbc::RepeatedField invites_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public pbc::RepeatedField Invites { + get { return invites_; } } - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - private string desc_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc { - get { return desc_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 EventOptionsRules); + return Equals(other as FriendListGetResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EventOptionsRules other) { + public bool Equals(FriendListGetResp 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 (Desc != other.Desc) return false; + if(!friends_.Equals(other.friends_)) return false; + if(!invites_.Equals(other.invites_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +144,9 @@ namespace Nova.Client { [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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + hash ^= friends_.GetHashCode(); + hash ^= invites_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +165,11 @@ namespace Nova.Client { #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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); + friends_.WriteTo(output, _repeated_friends_codec); + invites_.WriteTo(output, _repeated_invites_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +181,11 @@ namespace Nova.Client { [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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); + friends_.WriteTo(ref output, _repeated_friends_codec); + invites_.WriteTo(ref output, _repeated_invites_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +197,10 @@ namespace Nova.Client { [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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + size += friends_.CalculateSize(_repeated_friends_codec); + size += invites_.CalculateSize(_repeated_invites_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +210,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EventOptionsRules other) { + public void MergeFrom(FriendListGetResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; + friends_.Add(other.friends_); + invites_.Add(other.invites_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -259,16 +238,16 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + friends_.AddEntriesFrom(input, _repeated_friends_codec); break; } case 18: { - Name = input.ReadString(); + invites_.AddEntriesFrom(input, _repeated_invites_codec); break; } - case 26: { - Desc = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -290,16 +269,16 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); break; } case 18: { - Name = input.ReadString(); + invites_.AddEntriesFrom(ref input, _repeated_invites_codec); break; } - case 26: { - Desc = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/FriendNameSearch.cs b/Novaria.Common/Protos/FriendNameSearch.cs new file mode 100644 index 0000000..f2546f7 --- /dev/null +++ b/Novaria.Common/Protos/FriendNameSearch.cs @@ -0,0 +1,506 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_name_search.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 Proto { + + /// Holder for reflection information generated from friend_name_search.proto + public static partial class FriendNameSearchReflection { + + #region Descriptor + /// File descriptor for friend_name_search.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendNameSearchReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhmcmllbmRfbmFtZV9zZWFyY2gucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG8iOQoTRnJpZW5kTmFtZVNlYXJjaFJlcRIMCgROYW1lGAEgASgJEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDCJMChRGcmllbmROYW1lU2VhcmNoUmVzcBIeCgdG", + "cmllbmRzGAEgAygLMg0ucHJvdG8uRnJpZW5kEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendNameSearchReq), global::Proto.FriendNameSearchReq.Parser, new[]{ "Name", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendNameSearchResp), global::Proto.FriendNameSearchResp.Parser, new[]{ "Friends", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendNameSearchReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendNameSearchReq()); + 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::Proto.FriendNameSearchReflection.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 FriendNameSearchReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNameSearchReq(FriendNameSearchReq other) : this() { + name_ = other.name_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNameSearchReq Clone() { + return new FriendNameSearchReq(this); + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 1; + 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 "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendNameSearchReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendNameSearchReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (NextPackage != other.NextPackage) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendNameSearchReq other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Name = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Name = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendNameSearchResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendNameSearchResp()); + 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::Proto.FriendNameSearchReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNameSearchResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNameSearchResp(FriendNameSearchResp other) : this() { + friends_ = other.friends_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendNameSearchResp Clone() { + return new FriendNameSearchResp(this); + } + + /// Field number for the "Friends" field. + public const int FriendsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Friend.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Friends { + get { return friends_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendNameSearchResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendNameSearchResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!friends_.Equals(other.friends_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= friends_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + friends_.WriteTo(output, _repeated_friends_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + friends_.WriteTo(ref output, _repeated_friends_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += friends_.CalculateSize(_repeated_friends_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendNameSearchResp other) { + if (other == null) { + return; + } + friends_.Add(other.friends_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + friends_.AddEntriesFrom(input, _repeated_friends_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FriendReceiveEnergy.cs b/Novaria.Common/Protos/FriendReceiveEnergy.cs new file mode 100644 index 0000000..51158b8 --- /dev/null +++ b/Novaria.Common/Protos/FriendReceiveEnergy.cs @@ -0,0 +1,545 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_receive_energy.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 Proto { + + /// Holder for reflection information generated from friend_receive_energy.proto + public static partial class FriendReceiveEnergyReflection { + + #region Descriptor + /// File descriptor for friend_receive_energy.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendReceiveEnergyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtmcmllbmRfcmVjZWl2ZV9lbmVyZ3kucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iPAoWRnJpZW5kUmVjZWl2ZUVuZXJneVJlcRIMCgRVSWRzGAEgAygE", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDCJgChdGcmllbmRSZWNlaXZlRW5lcmd5", + "UmVzcBIMCgRVSWRzGAEgAygEEiEKBkNoYW5nZRgCIAEoCzIRLnByb3RvLkNo", + "YW5nZUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendReceiveEnergyReq), global::Proto.FriendReceiveEnergyReq.Parser, new[]{ "UIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendReceiveEnergyResp), global::Proto.FriendReceiveEnergyResp.Parser, new[]{ "UIds", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendReceiveEnergyReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendReceiveEnergyReq()); + 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::Proto.FriendReceiveEnergyReflection.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 FriendReceiveEnergyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendReceiveEnergyReq(FriendReceiveEnergyReq other) : this() { + uIds_ = other.uIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendReceiveEnergyReq Clone() { + return new FriendReceiveEnergyReq(this); + } + + /// Field number for the "UIds" field. + public const int UIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_uIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField uIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UIds { + get { return uIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendReceiveEnergyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendReceiveEnergyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!uIds_.Equals(other.uIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= uIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + uIds_.WriteTo(output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + uIds_.WriteTo(ref output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += uIds_.CalculateSize(_repeated_uIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendReceiveEnergyReq other) { + if (other == null) { + return; + } + uIds_.Add(other.uIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + uIds_.AddEntriesFrom(input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + uIds_.AddEntriesFrom(ref input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendReceiveEnergyResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendReceiveEnergyResp()); + 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::Proto.FriendReceiveEnergyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendReceiveEnergyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendReceiveEnergyResp(FriendReceiveEnergyResp other) : this() { + uIds_ = other.uIds_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendReceiveEnergyResp Clone() { + return new FriendReceiveEnergyResp(this); + } + + /// Field number for the "UIds" field. + public const int UIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_uIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField uIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UIds { + get { return uIds_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendReceiveEnergyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendReceiveEnergyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!uIds_.Equals(other.uIds_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= uIds_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + uIds_.WriteTo(output, _repeated_uIds_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + uIds_.WriteTo(ref output, _repeated_uIds_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += uIds_.CalculateSize(_repeated_uIds_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendReceiveEnergyResp other) { + if (other == null) { + return; + } + uIds_.Add(other.uIds_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + uIds_.AddEntriesFrom(input, _repeated_uIds_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + uIds_.AddEntriesFrom(ref input, _repeated_uIds_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FriendRecommendationGet.cs b/Novaria.Common/Protos/FriendRecommendationGet.cs new file mode 100644 index 0000000..5038f22 --- /dev/null +++ b/Novaria.Common/Protos/FriendRecommendationGet.cs @@ -0,0 +1,269 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_recommendation_get.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 Proto { + + /// Holder for reflection information generated from friend_recommendation_get.proto + public static partial class FriendRecommendationGetReflection { + + #region Descriptor + /// File descriptor for friend_recommendation_get.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendRecommendationGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch9mcmllbmRfcmVjb21tZW5kYXRpb25fZ2V0LnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvIlMKG0ZyaWVuZFJlY29tbWVuZGF0aW9uR2V0UmVzcBIeCgdG", + "cmllbmRzGAEgAygLMg0ucHJvdG8uRnJpZW5kEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendRecommendationGetResp), global::Proto.FriendRecommendationGetResp.Parser, new[]{ "Friends", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendRecommendationGetResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendRecommendationGetResp()); + 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::Proto.FriendRecommendationGetReflection.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 FriendRecommendationGetResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendRecommendationGetResp(FriendRecommendationGetResp other) : this() { + friends_ = other.friends_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendRecommendationGetResp Clone() { + return new FriendRecommendationGetResp(this); + } + + /// Field number for the "Friends" field. + public const int FriendsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_friends_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Friend.Parser); + private readonly pbc::RepeatedField friends_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Friends { + get { return friends_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendRecommendationGetResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendRecommendationGetResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!friends_.Equals(other.friends_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= friends_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + friends_.WriteTo(output, _repeated_friends_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + friends_.WriteTo(ref output, _repeated_friends_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += friends_.CalculateSize(_repeated_friends_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendRecommendationGetResp other) { + if (other == null) { + return; + } + friends_.Add(other.friends_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + friends_.AddEntriesFrom(input, _repeated_friends_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + friends_.AddEntriesFrom(ref input, _repeated_friends_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FriendSendEnergy.cs b/Novaria.Common/Protos/FriendSendEnergy.cs new file mode 100644 index 0000000..18e41d9 --- /dev/null +++ b/Novaria.Common/Protos/FriendSendEnergy.cs @@ -0,0 +1,498 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_send_energy.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 Proto { + + /// Holder for reflection information generated from friend_send_energy.proto + public static partial class FriendSendEnergyReflection { + + #region Descriptor + /// File descriptor for friend_send_energy.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendSendEnergyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhmcmllbmRfc2VuZF9lbmVyZ3kucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG8iOQoTRnJpZW5kU2VuZEVuZXJneVJlcRIMCgRVSWRzGAEgAygEEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDCI6ChRGcmllbmRTZW5kRW5lcmd5UmVzcBIMCgRV", + "SWRzGAEgAygEEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendSendEnergyReq), global::Proto.FriendSendEnergyReq.Parser, new[]{ "UIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendSendEnergyResp), global::Proto.FriendSendEnergyResp.Parser, new[]{ "UIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendSendEnergyReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendSendEnergyReq()); + 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::Proto.FriendSendEnergyReflection.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 FriendSendEnergyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendSendEnergyReq(FriendSendEnergyReq other) : this() { + uIds_ = other.uIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendSendEnergyReq Clone() { + return new FriendSendEnergyReq(this); + } + + /// Field number for the "UIds" field. + public const int UIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_uIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField uIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UIds { + get { return uIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendSendEnergyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendSendEnergyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!uIds_.Equals(other.uIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= uIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + uIds_.WriteTo(output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + uIds_.WriteTo(ref output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += uIds_.CalculateSize(_repeated_uIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendSendEnergyReq other) { + if (other == null) { + return; + } + uIds_.Add(other.uIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + uIds_.AddEntriesFrom(input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + uIds_.AddEntriesFrom(ref input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendSendEnergyResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendSendEnergyResp()); + 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::Proto.FriendSendEnergyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendSendEnergyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendSendEnergyResp(FriendSendEnergyResp other) : this() { + uIds_ = other.uIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendSendEnergyResp Clone() { + return new FriendSendEnergyResp(this); + } + + /// Field number for the "UIds" field. + public const int UIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_uIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField uIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UIds { + get { return uIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendSendEnergyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendSendEnergyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!uIds_.Equals(other.uIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= uIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + uIds_.WriteTo(output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + uIds_.WriteTo(ref output, _repeated_uIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += uIds_.CalculateSize(_repeated_uIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendSendEnergyResp other) { + if (other == null) { + return; + } + uIds_.Add(other.uIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + uIds_.AddEntriesFrom(input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + uIds_.AddEntriesFrom(ref input, _repeated_uIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FriendStarSet.cs b/Novaria.Common/Protos/FriendStarSet.cs new file mode 100644 index 0000000..2295ad7 --- /dev/null +++ b/Novaria.Common/Protos/FriendStarSet.cs @@ -0,0 +1,307 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_star_set.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 Proto { + + /// Holder for reflection information generated from friend_star_set.proto + public static partial class FriendStarSetReflection { + + #region Descriptor + /// File descriptor for friend_star_set.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendStarSetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVmcmllbmRfc3Rhcl9zZXQucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", + "RAoQRnJpZW5kU3RhclNldFJlcRIMCgRVSWRzGAEgAygEEgwKBFN0YXIYAiAB", + "KAgSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendStarSetReq), global::Proto.FriendStarSetReq.Parser, new[]{ "UIds", "Star", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendStarSetReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendStarSetReq()); + 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::Proto.FriendStarSetReflection.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 FriendStarSetReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendStarSetReq(FriendStarSetReq other) : this() { + uIds_ = other.uIds_.Clone(); + star_ = other.star_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendStarSetReq Clone() { + return new FriendStarSetReq(this); + } + + /// Field number for the "UIds" field. + public const int UIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_uIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField uIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UIds { + get { return uIds_; } + } + + /// Field number for the "Star" field. + public const int StarFieldNumber = 2; + private bool star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Star { + get { return star_; } + set { + star_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendStarSetReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendStarSetReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!uIds_.Equals(other.uIds_)) return false; + if (Star != other.Star) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= uIds_.GetHashCode(); + if (Star != false) hash ^= Star.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + uIds_.WriteTo(output, _repeated_uIds_codec); + if (Star != false) { + output.WriteRawTag(16); + output.WriteBool(Star); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + uIds_.WriteTo(ref output, _repeated_uIds_codec); + if (Star != false) { + output.WriteRawTag(16); + output.WriteBool(Star); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += uIds_.CalculateSize(_repeated_uIds_codec); + if (Star != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendStarSetReq other) { + if (other == null) { + return; + } + uIds_.Add(other.uIds_); + if (other.Star != false) { + Star = other.Star; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + uIds_.AddEntriesFrom(input, _repeated_uIds_codec); + break; + } + case 16: { + Star = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + uIds_.AddEntriesFrom(ref input, _repeated_uIds_codec); + break; + } + case 16: { + Star = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FriendUidSearch.cs b/Novaria.Common/Protos/FriendUidSearch.cs new file mode 100644 index 0000000..6a19ae3 --- /dev/null +++ b/Novaria.Common/Protos/FriendUidSearch.cs @@ -0,0 +1,526 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: friend_uid_search.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 Proto { + + /// Holder for reflection information generated from friend_uid_search.proto + public static partial class FriendUidSearchReflection { + + #region Descriptor + /// File descriptor for friend_uid_search.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FriendUidSearchReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdmcmllbmRfdWlkX3NlYXJjaC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byI2ChJGcmllbmRVSWRTZWFyY2hSZXESCgoCSWQYASABKAQSFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIkoKE0ZyaWVuZFVJZFNlYXJjaFJlc3ASHQoGRnJpZW5k", + "GAEgASgLMg0ucHJvdG8uRnJpZW5kEhQKC05leHRQYWNrYWdlGP8PIAEoDFAA", + "YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendUIdSearchReq), global::Proto.FriendUIdSearchReq.Parser, new[]{ "Id", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendUIdSearchResp), global::Proto.FriendUIdSearchResp.Parser, new[]{ "Friend", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendUIdSearchReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendUIdSearchReq()); + 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::Proto.FriendUidSearchReflection.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 FriendUIdSearchReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendUIdSearchReq(FriendUIdSearchReq other) : this() { + id_ = other.id_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendUIdSearchReq Clone() { + return new FriendUIdSearchReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendUIdSearchReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendUIdSearchReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendUIdSearchReq other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendUIdSearchResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendUIdSearchResp()); + 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::Proto.FriendUidSearchReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendUIdSearchResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendUIdSearchResp(FriendUIdSearchResp other) : this() { + friend_ = other.friend_ != null ? other.friend_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendUIdSearchResp Clone() { + return new FriendUIdSearchResp(this); + } + + /// Field number for the "Friend" field. + public const int FriendFieldNumber = 1; + private global::Proto.Friend friend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Friend Friend { + get { return friend_; } + set { + friend_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendUIdSearchResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendUIdSearchResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Friend, other.Friend)) return false; + if (NextPackage != other.NextPackage) 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 (friend_ != null) hash ^= Friend.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (friend_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Friend); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (friend_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Friend); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (friend_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Friend); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendUIdSearchResp other) { + if (other == null) { + return; + } + if (other.friend_ != null) { + if (friend_ == null) { + Friend = new global::Proto.Friend(); + } + Friend.MergeFrom(other.Friend); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (friend_ == null) { + Friend = new global::Proto.Friend(); + } + input.ReadMessage(Friend); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (friend_ == null) { + Friend = new global::Proto.Friend(); + } + input.ReadMessage(Friend); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/GMBuild.cs b/Novaria.Common/Protos/GMBuild.cs deleted file mode 100644 index 02a19b6..0000000 --- a/Novaria.Common/Protos/GMBuild.cs +++ /dev/null @@ -1,278 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GMBuild.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 GMBuild.proto - public static partial class GMBuildReflection { - - #region Descriptor - /// File descriptor for GMBuild.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GMBuildReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1HTUJ1aWxkLnByb3RvIikKB0dNQnVpbGQSCgoCaWQYASABKAUSEgoKYnVp", - "bGRfZGF0YRgCIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMBuild), global::Nova.Client.GMBuild.Parser, new[]{ "Id", "BuildData" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GMBuild : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMBuild()); - 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.GMBuildReflection.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 GMBuild() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GMBuild(GMBuild other) : this() { - id_ = other.id_; - buildData_ = other.buildData_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GMBuild Clone() { - return new GMBuild(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 "build_data" field. - public const int BuildDataFieldNumber = 2; - private string buildData_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BuildData { - get { return buildData_; } - set { - buildData_ = 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 GMBuild); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GMBuild other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BuildData != other.BuildData) 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 (BuildData.Length != 0) hash ^= BuildData.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 (BuildData.Length != 0) { - output.WriteRawTag(18); - output.WriteString(BuildData); - } - 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 (BuildData.Length != 0) { - output.WriteRawTag(18); - output.WriteString(BuildData); - } - 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 (BuildData.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BuildData); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GMBuild other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BuildData.Length != 0) { - BuildData = other.BuildData; - } - _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: { - BuildData = 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 18: { - BuildData = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/GMOrder.cs b/Novaria.Common/Protos/GMOrder.cs deleted file mode 100644 index 2852a0f..0000000 --- a/Novaria.Common/Protos/GMOrder.cs +++ /dev/null @@ -1,466 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GMOrder.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 GMOrder.proto - public static partial class GMOrderReflection { - - #region Descriptor - /// File descriptor for GMOrder.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GMOrderReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1HTU9yZGVyLnByb3RvIo8BCgdHTU9yZGVyEg0KBW9yZGVyGAEgASgJEgwK", - "BGRlc2MYAiABKAkSEwoLcGFyYW1fY291bnQYAyABKAUSEwoLcGFyYW1fbmFt", - "ZTEYBCABKAkSEwoLcGFyYW1fbmFtZTIYBSABKAkSEwoLcGFyYW1fbmFtZTMY", - "BiABKAkSEwoLcGFyYW1fbmFtZTQYByABKAlCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMOrder), global::Nova.Client.GMOrder.Parser, new[]{ "Order", "Desc", "ParamCount", "ParamName1", "ParamName2", "ParamName3", "ParamName4" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GMOrder : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMOrder()); - 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.GMOrderReflection.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 GMOrder() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GMOrder(GMOrder other) : this() { - order_ = other.order_; - desc_ = other.desc_; - paramCount_ = other.paramCount_; - paramName1_ = other.paramName1_; - paramName2_ = other.paramName2_; - paramName3_ = other.paramName3_; - paramName4_ = other.paramName4_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GMOrder Clone() { - return new GMOrder(this); - } - - /// Field number for the "order" field. - public const int OrderFieldNumber = 1; - private string order_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Order { - get { return order_; } - set { - order_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 2; - 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 "param_count" field. - public const int ParamCountFieldNumber = 3; - private int paramCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ParamCount { - get { return paramCount_; } - set { - paramCount_ = value; - } - } - - /// Field number for the "param_name1" field. - public const int ParamName1FieldNumber = 4; - private string paramName1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParamName1 { - get { return paramName1_; } - set { - paramName1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param_name2" field. - public const int ParamName2FieldNumber = 5; - private string paramName2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParamName2 { - get { return paramName2_; } - set { - paramName2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param_name3" field. - public const int ParamName3FieldNumber = 6; - private string paramName3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParamName3 { - get { return paramName3_; } - set { - paramName3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param_name4" field. - public const int ParamName4FieldNumber = 7; - private string paramName4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParamName4 { - get { return paramName4_; } - set { - paramName4_ = 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 GMOrder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GMOrder other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Order != other.Order) return false; - if (Desc != other.Desc) return false; - if (ParamCount != other.ParamCount) return false; - if (ParamName1 != other.ParamName1) return false; - if (ParamName2 != other.ParamName2) return false; - if (ParamName3 != other.ParamName3) return false; - if (ParamName4 != other.ParamName4) 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 (Order.Length != 0) hash ^= Order.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (ParamCount != 0) hash ^= ParamCount.GetHashCode(); - if (ParamName1.Length != 0) hash ^= ParamName1.GetHashCode(); - if (ParamName2.Length != 0) hash ^= ParamName2.GetHashCode(); - if (ParamName3.Length != 0) hash ^= ParamName3.GetHashCode(); - if (ParamName4.Length != 0) hash ^= ParamName4.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 (Order.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Order); - } - if (Desc.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Desc); - } - if (ParamCount != 0) { - output.WriteRawTag(24); - output.WriteInt32(ParamCount); - } - if (ParamName1.Length != 0) { - output.WriteRawTag(34); - output.WriteString(ParamName1); - } - if (ParamName2.Length != 0) { - output.WriteRawTag(42); - output.WriteString(ParamName2); - } - if (ParamName3.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ParamName3); - } - if (ParamName4.Length != 0) { - output.WriteRawTag(58); - output.WriteString(ParamName4); - } - 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 (Order.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Order); - } - if (Desc.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Desc); - } - if (ParamCount != 0) { - output.WriteRawTag(24); - output.WriteInt32(ParamCount); - } - if (ParamName1.Length != 0) { - output.WriteRawTag(34); - output.WriteString(ParamName1); - } - if (ParamName2.Length != 0) { - output.WriteRawTag(42); - output.WriteString(ParamName2); - } - if (ParamName3.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ParamName3); - } - if (ParamName4.Length != 0) { - output.WriteRawTag(58); - output.WriteString(ParamName4); - } - 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 (Order.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Order); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (ParamCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParamCount); - } - if (ParamName1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName1); - } - if (ParamName2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName2); - } - if (ParamName3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName3); - } - if (ParamName4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName4); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GMOrder other) { - if (other == null) { - return; - } - if (other.Order.Length != 0) { - Order = other.Order; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.ParamCount != 0) { - ParamCount = other.ParamCount; - } - if (other.ParamName1.Length != 0) { - ParamName1 = other.ParamName1; - } - if (other.ParamName2.Length != 0) { - ParamName2 = other.ParamName2; - } - if (other.ParamName3.Length != 0) { - ParamName3 = other.ParamName3; - } - if (other.ParamName4.Length != 0) { - ParamName4 = other.ParamName4; - } - _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 10: { - Order = input.ReadString(); - break; - } - case 18: { - Desc = input.ReadString(); - break; - } - case 24: { - ParamCount = input.ReadInt32(); - break; - } - case 34: { - ParamName1 = input.ReadString(); - break; - } - case 42: { - ParamName2 = input.ReadString(); - break; - } - case 50: { - ParamName3 = input.ReadString(); - break; - } - case 58: { - ParamName4 = 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 10: { - Order = input.ReadString(); - break; - } - case 18: { - Desc = input.ReadString(); - break; - } - case 24: { - ParamCount = input.ReadInt32(); - break; - } - case 34: { - ParamName1 = input.ReadString(); - break; - } - case 42: { - ParamName2 = input.ReadString(); - break; - } - case 50: { - ParamName3 = input.ReadString(); - break; - } - case 58: { - ParamName4 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/GMTeam.cs b/Novaria.Common/Protos/GMTeam.cs deleted file mode 100644 index 522db87..0000000 --- a/Novaria.Common/Protos/GMTeam.cs +++ /dev/null @@ -1,335 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GMTeam.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 GMTeam.proto - public static partial class GMTeamReflection { - - #region Descriptor - /// File descriptor for GMTeam.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GMTeamReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxHTVRlYW0ucHJvdG8iTQoGR01UZWFtEgoKAmlkGAEgASgFEgwKBG5hbWUY", - "AiABKAkSFgoOdGVhbV9jaGFyYWN0ZXIYAyADKAUSEQoJdGVhbV9kaXNjGAQg", - "AygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMTeam), global::Nova.Client.GMTeam.Parser, new[]{ "Id", "Name", "TeamCharacter", "TeamDisc" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GMTeam : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMTeam()); - 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.GMTeamReflection.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 GMTeam() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GMTeam(GMTeam other) : this() { - id_ = other.id_; - name_ = other.name_; - teamCharacter_ = other.teamCharacter_.Clone(); - teamDisc_ = other.teamDisc_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GMTeam Clone() { - return new GMTeam(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 "name" field. - 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"); - } - } - - /// Field number for the "team_character" field. - public const int TeamCharacterFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_teamCharacter_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField teamCharacter_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TeamCharacter { - get { return teamCharacter_; } - } - - /// Field number for the "team_disc" field. - public const int TeamDiscFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_teamDisc_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField teamDisc_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TeamDisc { - get { return teamDisc_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GMTeam); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GMTeam 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(!teamCharacter_.Equals(other.teamCharacter_)) return false; - if(!teamDisc_.Equals(other.teamDisc_)) 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(); - hash ^= teamCharacter_.GetHashCode(); - hash ^= teamDisc_.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); - } - teamCharacter_.WriteTo(output, _repeated_teamCharacter_codec); - teamDisc_.WriteTo(output, _repeated_teamDisc_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - teamCharacter_.WriteTo(ref output, _repeated_teamCharacter_codec); - teamDisc_.WriteTo(ref output, _repeated_teamDisc_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - size += teamCharacter_.CalculateSize(_repeated_teamCharacter_codec); - size += teamDisc_.CalculateSize(_repeated_teamDisc_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GMTeam other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - teamCharacter_.Add(other.teamCharacter_); - teamDisc_.Add(other.teamDisc_); - _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 26: - case 24: { - teamCharacter_.AddEntriesFrom(input, _repeated_teamCharacter_codec); - break; - } - case 34: - case 32: { - teamDisc_.AddEntriesFrom(input, _repeated_teamDisc_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 18: { - Name = input.ReadString(); - break; - } - case 26: - case 24: { - teamCharacter_.AddEntriesFrom(ref input, _repeated_teamCharacter_codec); - break; - } - case 34: - case 32: { - teamDisc_.AddEntriesFrom(ref input, _repeated_teamDisc_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Gacha.cs b/Novaria.Common/Protos/Gacha.cs deleted file mode 100644 index bb7966b..0000000 --- a/Novaria.Common/Protos/Gacha.cs +++ /dev/null @@ -1,991 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Gacha.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 Gacha.proto - public static partial class GachaReflection { - - #region Descriptor - /// File descriptor for Gacha.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GachaReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtHYWNoYS5wcm90byKyAwoFR2FjaGESCgoCaWQYASABKAUSEgoKZGVmYXVs", - "dF9pZBgCIAEoBRITCgtkZWZhdWx0X3F0eRgDIAEoBRIPCgdjb3N0X2lkGAQg", - "ASgFEhAKCGNvc3RfcXR5GAUgASgFEhYKDm9uY2VfcHJlZmVycmVkGAYgASgJ", - "EhsKE3Rlbl90aW1lc19wcmVmZXJyZWQYByABKAkSEwoLbGltaXRfdGltZXMY", - "CCABKAUSGwoTYV90eXBlX3VwX3Nob3dfcHJvYhgJIAEoBRIbChNiX3R5cGVf", - "dXBfc2hvd19wcm9iGAogASgFEhIKCnN0b3JhZ2VfaWQYCyABKAUSEgoKc3Rh", - "cnRfdGltZRgMIAEoCRIQCghlbmRfdGltZRgNIAEoCRIMCgRzb3J0GA4gASgF", - "EgwKBGljb24YDyABKAkSDQoFaW1hZ2UYECABKAkSFQoNdV9wX2NoYXJhY3Rl", - "chgRIAMoBRISCgp1X3Bfb3V0Zml0GBIgAygFEhEKCWNoYXJhY3RlchgTIAMo", - "BRIOCgZvdXRmaXQYFCADKAUSCwoDdGFnGBUgASgJEg0KBXZvaWNlGBYgASgJ", - "Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Gacha), global::Nova.Client.Gacha.Parser, new[]{ "Id", "DefaultId", "DefaultQty", "CostId", "CostQty", "OncePreferred", "TenTimesPreferred", "LimitTimes", "ATypeUpShowProb", "BTypeUpShowProb", "StorageId", "StartTime", "EndTime", "Sort", "Icon", "Image", "UPCharacter", "UPOutfit", "Character", "Outfit", "Tag", "Voice" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Gacha : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Gacha()); - 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.GachaReflection.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 Gacha() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Gacha(Gacha other) : this() { - id_ = other.id_; - defaultId_ = other.defaultId_; - defaultQty_ = other.defaultQty_; - costId_ = other.costId_; - costQty_ = other.costQty_; - oncePreferred_ = other.oncePreferred_; - tenTimesPreferred_ = other.tenTimesPreferred_; - limitTimes_ = other.limitTimes_; - aTypeUpShowProb_ = other.aTypeUpShowProb_; - bTypeUpShowProb_ = other.bTypeUpShowProb_; - storageId_ = other.storageId_; - startTime_ = other.startTime_; - endTime_ = other.endTime_; - sort_ = other.sort_; - icon_ = other.icon_; - image_ = other.image_; - uPCharacter_ = other.uPCharacter_.Clone(); - uPOutfit_ = other.uPOutfit_.Clone(); - character_ = other.character_.Clone(); - outfit_ = other.outfit_.Clone(); - tag_ = other.tag_; - voice_ = other.voice_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Gacha Clone() { - return new Gacha(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 "default_id" field. - public const int DefaultIdFieldNumber = 2; - private int defaultId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefaultId { - get { return defaultId_; } - set { - defaultId_ = value; - } - } - - /// Field number for the "default_qty" field. - public const int DefaultQtyFieldNumber = 3; - private int defaultQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefaultQty { - get { return defaultQty_; } - set { - defaultQty_ = value; - } - } - - /// Field number for the "cost_id" field. - public const int CostIdFieldNumber = 4; - private int costId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CostId { - get { return costId_; } - set { - costId_ = value; - } - } - - /// Field number for the "cost_qty" field. - public const int CostQtyFieldNumber = 5; - private int costQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CostQty { - get { return costQty_; } - set { - costQty_ = value; - } - } - - /// Field number for the "once_preferred" field. - public const int OncePreferredFieldNumber = 6; - private string oncePreferred_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OncePreferred { - get { return oncePreferred_; } - set { - oncePreferred_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ten_times_preferred" field. - public const int TenTimesPreferredFieldNumber = 7; - private string tenTimesPreferred_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TenTimesPreferred { - get { return tenTimesPreferred_; } - set { - tenTimesPreferred_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "limit_times" field. - public const int LimitTimesFieldNumber = 8; - private int limitTimes_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LimitTimes { - get { return limitTimes_; } - set { - limitTimes_ = value; - } - } - - /// Field number for the "a_type_up_show_prob" field. - public const int ATypeUpShowProbFieldNumber = 9; - private int aTypeUpShowProb_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ATypeUpShowProb { - get { return aTypeUpShowProb_; } - set { - aTypeUpShowProb_ = value; - } - } - - /// Field number for the "b_type_up_show_prob" field. - public const int BTypeUpShowProbFieldNumber = 10; - private int bTypeUpShowProb_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BTypeUpShowProb { - get { return bTypeUpShowProb_; } - set { - bTypeUpShowProb_ = value; - } - } - - /// Field number for the "storage_id" field. - public const int StorageIdFieldNumber = 11; - private int storageId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StorageId { - get { return storageId_; } - set { - storageId_ = value; - } - } - - /// Field number for the "start_time" field. - public const int StartTimeFieldNumber = 12; - private string startTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StartTime { - get { return startTime_; } - set { - startTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "end_time" field. - public const int EndTimeFieldNumber = 13; - private string endTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndTime { - get { return endTime_; } - set { - endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 14; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 15; - 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 "image" field. - public const int ImageFieldNumber = 16; - 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"); - } - } - - /// Field number for the "u_p_character" field. - public const int UPCharacterFieldNumber = 17; - private static readonly pb::FieldCodec _repeated_uPCharacter_codec - = pb::FieldCodec.ForInt32(138); - private readonly pbc::RepeatedField uPCharacter_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField UPCharacter { - get { return uPCharacter_; } - } - - /// Field number for the "u_p_outfit" field. - public const int UPOutfitFieldNumber = 18; - private static readonly pb::FieldCodec _repeated_uPOutfit_codec - = pb::FieldCodec.ForInt32(146); - private readonly pbc::RepeatedField uPOutfit_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField UPOutfit { - get { return uPOutfit_; } - } - - /// Field number for the "character" field. - public const int CharacterFieldNumber = 19; - private static readonly pb::FieldCodec _repeated_character_codec - = pb::FieldCodec.ForInt32(154); - private readonly pbc::RepeatedField character_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Character { - get { return character_; } - } - - /// Field number for the "outfit" field. - public const int OutfitFieldNumber = 20; - private static readonly pb::FieldCodec _repeated_outfit_codec - = pb::FieldCodec.ForInt32(162); - private readonly pbc::RepeatedField outfit_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Outfit { - get { return outfit_; } - } - - /// Field number for the "tag" field. - public const int TagFieldNumber = 21; - private string tag_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag { - get { return tag_; } - set { - tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "voice" field. - public const int VoiceFieldNumber = 22; - private string voice_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Voice { - get { return voice_; } - set { - voice_ = 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 Gacha); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Gacha other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (DefaultId != other.DefaultId) return false; - if (DefaultQty != other.DefaultQty) return false; - if (CostId != other.CostId) return false; - if (CostQty != other.CostQty) return false; - if (OncePreferred != other.OncePreferred) return false; - if (TenTimesPreferred != other.TenTimesPreferred) return false; - if (LimitTimes != other.LimitTimes) return false; - if (ATypeUpShowProb != other.ATypeUpShowProb) return false; - if (BTypeUpShowProb != other.BTypeUpShowProb) return false; - if (StorageId != other.StorageId) return false; - if (StartTime != other.StartTime) return false; - if (EndTime != other.EndTime) return false; - if (Sort != other.Sort) return false; - if (Icon != other.Icon) return false; - if (Image != other.Image) return false; - if(!uPCharacter_.Equals(other.uPCharacter_)) return false; - if(!uPOutfit_.Equals(other.uPOutfit_)) return false; - if(!character_.Equals(other.character_)) return false; - if(!outfit_.Equals(other.outfit_)) return false; - if (Tag != other.Tag) return false; - if (Voice != other.Voice) 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 (DefaultId != 0) hash ^= DefaultId.GetHashCode(); - if (DefaultQty != 0) hash ^= DefaultQty.GetHashCode(); - if (CostId != 0) hash ^= CostId.GetHashCode(); - if (CostQty != 0) hash ^= CostQty.GetHashCode(); - if (OncePreferred.Length != 0) hash ^= OncePreferred.GetHashCode(); - if (TenTimesPreferred.Length != 0) hash ^= TenTimesPreferred.GetHashCode(); - if (LimitTimes != 0) hash ^= LimitTimes.GetHashCode(); - if (ATypeUpShowProb != 0) hash ^= ATypeUpShowProb.GetHashCode(); - if (BTypeUpShowProb != 0) hash ^= BTypeUpShowProb.GetHashCode(); - if (StorageId != 0) hash ^= StorageId.GetHashCode(); - if (StartTime.Length != 0) hash ^= StartTime.GetHashCode(); - if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Image.Length != 0) hash ^= Image.GetHashCode(); - hash ^= uPCharacter_.GetHashCode(); - hash ^= uPOutfit_.GetHashCode(); - hash ^= character_.GetHashCode(); - hash ^= outfit_.GetHashCode(); - if (Tag.Length != 0) hash ^= Tag.GetHashCode(); - if (Voice.Length != 0) hash ^= Voice.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 (DefaultId != 0) { - output.WriteRawTag(16); - output.WriteInt32(DefaultId); - } - if (DefaultQty != 0) { - output.WriteRawTag(24); - output.WriteInt32(DefaultQty); - } - if (CostId != 0) { - output.WriteRawTag(32); - output.WriteInt32(CostId); - } - if (CostQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(CostQty); - } - if (OncePreferred.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OncePreferred); - } - if (TenTimesPreferred.Length != 0) { - output.WriteRawTag(58); - output.WriteString(TenTimesPreferred); - } - if (LimitTimes != 0) { - output.WriteRawTag(64); - output.WriteInt32(LimitTimes); - } - if (ATypeUpShowProb != 0) { - output.WriteRawTag(72); - output.WriteInt32(ATypeUpShowProb); - } - if (BTypeUpShowProb != 0) { - output.WriteRawTag(80); - output.WriteInt32(BTypeUpShowProb); - } - if (StorageId != 0) { - output.WriteRawTag(88); - output.WriteInt32(StorageId); - } - if (StartTime.Length != 0) { - output.WriteRawTag(98); - output.WriteString(StartTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(106); - output.WriteString(EndTime); - } - if (Sort != 0) { - output.WriteRawTag(112); - output.WriteInt32(Sort); - } - if (Icon.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Icon); - } - if (Image.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Image); - } - uPCharacter_.WriteTo(output, _repeated_uPCharacter_codec); - uPOutfit_.WriteTo(output, _repeated_uPOutfit_codec); - character_.WriteTo(output, _repeated_character_codec); - outfit_.WriteTo(output, _repeated_outfit_codec); - if (Tag.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Tag); - } - if (Voice.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Voice); - } - 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 (DefaultId != 0) { - output.WriteRawTag(16); - output.WriteInt32(DefaultId); - } - if (DefaultQty != 0) { - output.WriteRawTag(24); - output.WriteInt32(DefaultQty); - } - if (CostId != 0) { - output.WriteRawTag(32); - output.WriteInt32(CostId); - } - if (CostQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(CostQty); - } - if (OncePreferred.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OncePreferred); - } - if (TenTimesPreferred.Length != 0) { - output.WriteRawTag(58); - output.WriteString(TenTimesPreferred); - } - if (LimitTimes != 0) { - output.WriteRawTag(64); - output.WriteInt32(LimitTimes); - } - if (ATypeUpShowProb != 0) { - output.WriteRawTag(72); - output.WriteInt32(ATypeUpShowProb); - } - if (BTypeUpShowProb != 0) { - output.WriteRawTag(80); - output.WriteInt32(BTypeUpShowProb); - } - if (StorageId != 0) { - output.WriteRawTag(88); - output.WriteInt32(StorageId); - } - if (StartTime.Length != 0) { - output.WriteRawTag(98); - output.WriteString(StartTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(106); - output.WriteString(EndTime); - } - if (Sort != 0) { - output.WriteRawTag(112); - output.WriteInt32(Sort); - } - if (Icon.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Icon); - } - if (Image.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Image); - } - uPCharacter_.WriteTo(ref output, _repeated_uPCharacter_codec); - uPOutfit_.WriteTo(ref output, _repeated_uPOutfit_codec); - character_.WriteTo(ref output, _repeated_character_codec); - outfit_.WriteTo(ref output, _repeated_outfit_codec); - if (Tag.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Tag); - } - if (Voice.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Voice); - } - 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 (DefaultId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultId); - } - if (DefaultQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultQty); - } - if (CostId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CostId); - } - if (CostQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CostQty); - } - if (OncePreferred.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OncePreferred); - } - if (TenTimesPreferred.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TenTimesPreferred); - } - if (LimitTimes != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitTimes); - } - if (ATypeUpShowProb != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ATypeUpShowProb); - } - if (BTypeUpShowProb != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BTypeUpShowProb); - } - if (StorageId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StorageId); - } - if (StartTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StartTime); - } - if (EndTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Image.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Image); - } - size += uPCharacter_.CalculateSize(_repeated_uPCharacter_codec); - size += uPOutfit_.CalculateSize(_repeated_uPOutfit_codec); - size += character_.CalculateSize(_repeated_character_codec); - size += outfit_.CalculateSize(_repeated_outfit_codec); - if (Tag.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag); - } - if (Voice.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Voice); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Gacha other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.DefaultId != 0) { - DefaultId = other.DefaultId; - } - if (other.DefaultQty != 0) { - DefaultQty = other.DefaultQty; - } - if (other.CostId != 0) { - CostId = other.CostId; - } - if (other.CostQty != 0) { - CostQty = other.CostQty; - } - if (other.OncePreferred.Length != 0) { - OncePreferred = other.OncePreferred; - } - if (other.TenTimesPreferred.Length != 0) { - TenTimesPreferred = other.TenTimesPreferred; - } - if (other.LimitTimes != 0) { - LimitTimes = other.LimitTimes; - } - if (other.ATypeUpShowProb != 0) { - ATypeUpShowProb = other.ATypeUpShowProb; - } - if (other.BTypeUpShowProb != 0) { - BTypeUpShowProb = other.BTypeUpShowProb; - } - if (other.StorageId != 0) { - StorageId = other.StorageId; - } - if (other.StartTime.Length != 0) { - StartTime = other.StartTime; - } - if (other.EndTime.Length != 0) { - EndTime = other.EndTime; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Image.Length != 0) { - Image = other.Image; - } - uPCharacter_.Add(other.uPCharacter_); - uPOutfit_.Add(other.uPOutfit_); - character_.Add(other.character_); - outfit_.Add(other.outfit_); - if (other.Tag.Length != 0) { - Tag = other.Tag; - } - if (other.Voice.Length != 0) { - Voice = other.Voice; - } - _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: { - DefaultId = input.ReadInt32(); - break; - } - case 24: { - DefaultQty = input.ReadInt32(); - break; - } - case 32: { - CostId = input.ReadInt32(); - break; - } - case 40: { - CostQty = input.ReadInt32(); - break; - } - case 50: { - OncePreferred = input.ReadString(); - break; - } - case 58: { - TenTimesPreferred = input.ReadString(); - break; - } - case 64: { - LimitTimes = input.ReadInt32(); - break; - } - case 72: { - ATypeUpShowProb = input.ReadInt32(); - break; - } - case 80: { - BTypeUpShowProb = input.ReadInt32(); - break; - } - case 88: { - StorageId = input.ReadInt32(); - break; - } - case 98: { - StartTime = input.ReadString(); - break; - } - case 106: { - EndTime = input.ReadString(); - break; - } - case 112: { - Sort = input.ReadInt32(); - break; - } - case 122: { - Icon = input.ReadString(); - break; - } - case 130: { - Image = input.ReadString(); - break; - } - case 138: - case 136: { - uPCharacter_.AddEntriesFrom(input, _repeated_uPCharacter_codec); - break; - } - case 146: - case 144: { - uPOutfit_.AddEntriesFrom(input, _repeated_uPOutfit_codec); - break; - } - case 154: - case 152: { - character_.AddEntriesFrom(input, _repeated_character_codec); - break; - } - case 162: - case 160: { - outfit_.AddEntriesFrom(input, _repeated_outfit_codec); - break; - } - case 170: { - Tag = input.ReadString(); - break; - } - case 178: { - Voice = 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: { - DefaultId = input.ReadInt32(); - break; - } - case 24: { - DefaultQty = input.ReadInt32(); - break; - } - case 32: { - CostId = input.ReadInt32(); - break; - } - case 40: { - CostQty = input.ReadInt32(); - break; - } - case 50: { - OncePreferred = input.ReadString(); - break; - } - case 58: { - TenTimesPreferred = input.ReadString(); - break; - } - case 64: { - LimitTimes = input.ReadInt32(); - break; - } - case 72: { - ATypeUpShowProb = input.ReadInt32(); - break; - } - case 80: { - BTypeUpShowProb = input.ReadInt32(); - break; - } - case 88: { - StorageId = input.ReadInt32(); - break; - } - case 98: { - StartTime = input.ReadString(); - break; - } - case 106: { - EndTime = input.ReadString(); - break; - } - case 112: { - Sort = input.ReadInt32(); - break; - } - case 122: { - Icon = input.ReadString(); - break; - } - case 130: { - Image = input.ReadString(); - break; - } - case 138: - case 136: { - uPCharacter_.AddEntriesFrom(ref input, _repeated_uPCharacter_codec); - break; - } - case 146: - case 144: { - uPOutfit_.AddEntriesFrom(ref input, _repeated_uPOutfit_codec); - break; - } - case 154: - case 152: { - character_.AddEntriesFrom(ref input, _repeated_character_codec); - break; - } - case 162: - case 160: { - outfit_.AddEntriesFrom(ref input, _repeated_outfit_codec); - break; - } - case 170: { - Tag = input.ReadString(); - break; - } - case 178: { - Voice = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/GachaAcquireReward.cs b/Novaria.Common/Protos/GachaAcquireReward.cs deleted file mode 100644 index 8db4541..0000000 --- a/Novaria.Common/Protos/GachaAcquireReward.cs +++ /dev/null @@ -1,429 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GachaAcquireReward.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 GachaAcquireReward.proto - public static partial class GachaAcquireRewardReflection { - - #region Descriptor - /// File descriptor for GachaAcquireReward.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GachaAcquireRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhHYWNoYUFjcXVpcmVSZXdhcmQucHJvdG8igwEKEkdhY2hhQWNxdWlyZVJl", - "d2FyZBIKCgJpZBgBIAEoBRISCgppdGVtX3N0eXBlGAIgASgFEhMKC2l0ZW1f", - "cmFyaXR5GAMgASgFEhUKDWFjcXVpcmVfdGltZXMYBCABKAUSDwoHaXRlbV9p", - "ZBgFIAEoBRIQCghpdGVtX251bRgGIAEoBUIOqgILTm92YS5DbGllbnRiBnBy", - "b3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GachaAcquireReward), global::Nova.Client.GachaAcquireReward.Parser, new[]{ "Id", "ItemStype", "ItemRarity", "AcquireTimes", "ItemId", "ItemNum" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GachaAcquireReward : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaAcquireReward()); - 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.GachaAcquireRewardReflection.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 GachaAcquireReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GachaAcquireReward(GachaAcquireReward other) : this() { - id_ = other.id_; - itemStype_ = other.itemStype_; - itemRarity_ = other.itemRarity_; - acquireTimes_ = other.acquireTimes_; - itemId_ = other.itemId_; - itemNum_ = other.itemNum_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GachaAcquireReward Clone() { - return new GachaAcquireReward(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 "item_stype" field. - public const int ItemStypeFieldNumber = 2; - private int itemStype_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemStype { - get { return itemStype_; } - set { - itemStype_ = value; - } - } - - /// Field number for the "item_rarity" field. - public const int ItemRarityFieldNumber = 3; - private int itemRarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemRarity { - get { return itemRarity_; } - set { - itemRarity_ = value; - } - } - - /// Field number for the "acquire_times" field. - public const int AcquireTimesFieldNumber = 4; - private int acquireTimes_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AcquireTimes { - get { return acquireTimes_; } - set { - acquireTimes_ = value; - } - } - - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 5; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// Field number for the "item_num" field. - public const int ItemNumFieldNumber = 6; - private int itemNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemNum { - get { return itemNum_; } - set { - itemNum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GachaAcquireReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GachaAcquireReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ItemStype != other.ItemStype) return false; - if (ItemRarity != other.ItemRarity) return false; - if (AcquireTimes != other.AcquireTimes) return false; - if (ItemId != other.ItemId) return false; - if (ItemNum != other.ItemNum) 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 (ItemStype != 0) hash ^= ItemStype.GetHashCode(); - if (ItemRarity != 0) hash ^= ItemRarity.GetHashCode(); - if (AcquireTimes != 0) hash ^= AcquireTimes.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemNum != 0) hash ^= ItemNum.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 (ItemStype != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemStype); - } - if (ItemRarity != 0) { - output.WriteRawTag(24); - output.WriteInt32(ItemRarity); - } - if (AcquireTimes != 0) { - output.WriteRawTag(32); - output.WriteInt32(AcquireTimes); - } - if (ItemId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemId); - } - if (ItemNum != 0) { - output.WriteRawTag(48); - output.WriteInt32(ItemNum); - } - 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 (ItemStype != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemStype); - } - if (ItemRarity != 0) { - output.WriteRawTag(24); - output.WriteInt32(ItemRarity); - } - if (AcquireTimes != 0) { - output.WriteRawTag(32); - output.WriteInt32(AcquireTimes); - } - if (ItemId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemId); - } - if (ItemNum != 0) { - output.WriteRawTag(48); - output.WriteInt32(ItemNum); - } - 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 (ItemStype != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemStype); - } - if (ItemRarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemRarity); - } - if (AcquireTimes != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AcquireTimes); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemNum); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GachaAcquireReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ItemStype != 0) { - ItemStype = other.ItemStype; - } - if (other.ItemRarity != 0) { - ItemRarity = other.ItemRarity; - } - if (other.AcquireTimes != 0) { - AcquireTimes = other.AcquireTimes; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemNum != 0) { - ItemNum = other.ItemNum; - } - _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: { - ItemStype = input.ReadInt32(); - break; - } - case 24: { - ItemRarity = input.ReadInt32(); - break; - } - case 32: { - AcquireTimes = input.ReadInt32(); - break; - } - case 40: { - ItemId = input.ReadInt32(); - break; - } - case 48: { - ItemNum = 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: { - ItemStype = input.ReadInt32(); - break; - } - case 24: { - ItemRarity = input.ReadInt32(); - break; - } - case 32: { - AcquireTimes = input.ReadInt32(); - break; - } - case 40: { - ItemId = input.ReadInt32(); - break; - } - case 48: { - ItemNum = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/GachaHistories.cs b/Novaria.Common/Protos/GachaHistories.cs new file mode 100644 index 0000000..1467991 --- /dev/null +++ b/Novaria.Common/Protos/GachaHistories.cs @@ -0,0 +1,571 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gacha_histories.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 Proto { + + /// Holder for reflection information generated from gacha_histories.proto + public static partial class GachaHistoriesReflection { + + #region Descriptor + /// File descriptor for gacha_histories.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static GachaHistoriesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVnYWNoYV9oaXN0b3JpZXMucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i", + "TAoMR2FjaGFIaXN0b3J5EgsKA0lkcxgBIAMoDRIMCgRUaW1lGAIgASgDEgsK", + "A0dpZBgDIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiSQoOR2FjaGFIaXN0", + "b3JpZXMSIQoETGlzdBgBIAMoCzITLnByb3RvLkdhY2hhSGlzdG9yeRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaHistory), global::Proto.GachaHistory.Parser, new[]{ "Ids", "Time", "Gid", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaHistories), global::Proto.GachaHistories.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaHistory : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaHistory()); + 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::Proto.GachaHistoriesReflection.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 GachaHistory() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaHistory(GachaHistory other) : this() { + ids_ = other.ids_.Clone(); + time_ = other.time_; + gid_ = other.gid_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaHistory Clone() { + return new GachaHistory(this); + } + + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "Time" field. + public const int TimeFieldNumber = 2; + private long time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Time { + get { return time_; } + set { + time_ = value; + } + } + + /// Field number for the "Gid" field. + public const int GidFieldNumber = 3; + private uint gid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Gid { + get { return gid_; } + set { + gid_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaHistory); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaHistory other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if (Time != other.Time) return false; + if (Gid != other.Gid) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + if (Time != 0L) hash ^= Time.GetHashCode(); + if (Gid != 0) hash ^= Gid.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + if (Time != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Time); + } + if (Gid != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Gid); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (Time != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Time); + } + if (Gid != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Gid); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + if (Time != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); + } + if (Gid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gid); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaHistory other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + if (other.Time != 0L) { + Time = other.Time; + } + if (other.Gid != 0) { + Gid = other.Gid; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 16: { + Time = input.ReadInt64(); + break; + } + case 24: { + Gid = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 16: { + Time = input.ReadInt64(); + break; + } + case 24: { + Gid = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaHistories : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaHistories()); + 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::Proto.GachaHistoriesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaHistories() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaHistories(GachaHistories other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaHistories Clone() { + return new GachaHistories(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.GachaHistory.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaHistories); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaHistories other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaHistories other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/GachaInformation.cs b/Novaria.Common/Protos/GachaInformation.cs new file mode 100644 index 0000000..da5caeb --- /dev/null +++ b/Novaria.Common/Protos/GachaInformation.cs @@ -0,0 +1,543 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gacha_information.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 Proto { + + /// Holder for reflection information generated from gacha_information.proto + public static partial class GachaInformationReflection { + + #region Descriptor + /// File descriptor for gacha_information.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static GachaInformationReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdnYWNoYV9pbmZvcm1hdGlvbi5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byJACglHYWNoYUluZm8SCgoCSWQYASABKA0SEQoJRGF5c0NvdW50GAIgASgN", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDCJTChRHYWNoYUluZm9ybWF0aW9uUmVz", + "cBIlCgtJbmZvcm1hdGlvbhgBIAMoCzIQLnByb3RvLkdhY2hhSW5mbxIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaInfo), global::Proto.GachaInfo.Parser, new[]{ "Id", "DaysCount", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaInformationResp), global::Proto.GachaInformationResp.Parser, new[]{ "Information", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaInfo()); + 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::Proto.GachaInformationReflection.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 GachaInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaInfo(GachaInfo other) : this() { + id_ = other.id_; + daysCount_ = other.daysCount_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaInfo Clone() { + return new GachaInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "DaysCount" field. + public const int DaysCountFieldNumber = 2; + private uint daysCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DaysCount { + get { return daysCount_; } + set { + daysCount_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (DaysCount != other.DaysCount) return false; + if (NextPackage != other.NextPackage) 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 (DaysCount != 0) hash ^= DaysCount.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (DaysCount != 0) { + output.WriteRawTag(16); + output.WriteUInt32(DaysCount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (DaysCount != 0) { + output.WriteRawTag(16); + output.WriteUInt32(DaysCount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (DaysCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DaysCount); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.DaysCount != 0) { + DaysCount = other.DaysCount; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + DaysCount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + DaysCount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaInformationResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaInformationResp()); + 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::Proto.GachaInformationReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaInformationResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaInformationResp(GachaInformationResp other) : this() { + information_ = other.information_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaInformationResp Clone() { + return new GachaInformationResp(this); + } + + /// Field number for the "Information" field. + public const int InformationFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_information_codec + = pb::FieldCodec.ForMessage(10, global::Proto.GachaInfo.Parser); + private readonly pbc::RepeatedField information_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Information { + get { return information_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaInformationResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaInformationResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!information_.Equals(other.information_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= information_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + information_.WriteTo(output, _repeated_information_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + information_.WriteTo(ref output, _repeated_information_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += information_.CalculateSize(_repeated_information_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaInformationResp other) { + if (other == null) { + return; + } + information_.Add(other.information_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + information_.AddEntriesFrom(input, _repeated_information_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + information_.AddEntriesFrom(ref input, _repeated_information_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/GachaSpin.cs b/Novaria.Common/Protos/GachaSpin.cs new file mode 100644 index 0000000..b98ccb7 --- /dev/null +++ b/Novaria.Common/Protos/GachaSpin.cs @@ -0,0 +1,937 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gacha_spin.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 Proto { + + /// Holder for reflection information generated from gacha_spin.proto + public static partial class GachaSpinReflection { + + #region Descriptor + /// File descriptor for gacha_spin.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static GachaSpinReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChBnYWNoYV9zcGluLnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIj4KDEdh", + "Y2hhU3BpblJlcRIKCgJJZBgBIAEoDRIMCgRNb2RlGAIgASgNEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCKKAQoNR2FjaGFTcGluUmVzcBIfCgVDYXJkcxgBIAMo", + "CzIQLnByb3RvLkdhY2hhQ2FyZBIhCgZDaGFuZ2UYAiABKAsyES5wcm90by5D", + "aGFuZ2VJbmZvEgwKBFRpbWUYAyABKAMSEQoJRGF5c0NvdW50GA8gASgNEhQK", + "C05leHRQYWNrYWdlGP8PIAEoDCJgCglHYWNoYUNhcmQSHAoEQ2FyZBgBIAEo", + "CzIOLnByb3RvLkl0ZW1UcGwSHwoHUmV3YXJkcxgCIAMoCzIOLnByb3RvLkl0", + "ZW1UcGwSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaSpinReq), global::Proto.GachaSpinReq.Parser, new[]{ "Id", "Mode", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaSpinResp), global::Proto.GachaSpinResp.Parser, new[]{ "Cards", "Change", "Time", "DaysCount", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GachaCard), global::Proto.GachaCard.Parser, new[]{ "Card", "Rewards", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaSpinReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaSpinReq()); + 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::Proto.GachaSpinReflection.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 GachaSpinReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaSpinReq(GachaSpinReq other) : this() { + id_ = other.id_; + mode_ = other.mode_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaSpinReq Clone() { + return new GachaSpinReq(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Mode" field. + public const int ModeFieldNumber = 2; + private uint mode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Mode { + get { return mode_; } + set { + mode_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaSpinReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaSpinReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Mode != other.Mode) return false; + if (NextPackage != other.NextPackage) 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 (Mode != 0) hash ^= Mode.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Mode != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Mode); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Mode != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Mode); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Mode != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mode); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaSpinReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Mode != 0) { + Mode = other.Mode; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Mode = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Mode = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaSpinResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaSpinResp()); + 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::Proto.GachaSpinReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaSpinResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaSpinResp(GachaSpinResp other) : this() { + cards_ = other.cards_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + time_ = other.time_; + daysCount_ = other.daysCount_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaSpinResp Clone() { + return new GachaSpinResp(this); + } + + /// Field number for the "Cards" field. + public const int CardsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_cards_codec + = pb::FieldCodec.ForMessage(10, global::Proto.GachaCard.Parser); + private readonly pbc::RepeatedField cards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Cards { + get { return cards_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "Time" field. + public const int TimeFieldNumber = 3; + private long time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Time { + get { return time_; } + set { + time_ = value; + } + } + + /// Field number for the "DaysCount" field. + public const int DaysCountFieldNumber = 15; + private uint daysCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DaysCount { + get { return daysCount_; } + set { + daysCount_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaSpinResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaSpinResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!cards_.Equals(other.cards_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (Time != other.Time) return false; + if (DaysCount != other.DaysCount) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= cards_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (Time != 0L) hash ^= Time.GetHashCode(); + if (DaysCount != 0) hash ^= DaysCount.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + cards_.WriteTo(output, _repeated_cards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (Time != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Time); + } + if (DaysCount != 0) { + output.WriteRawTag(120); + output.WriteUInt32(DaysCount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + cards_.WriteTo(ref output, _repeated_cards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (Time != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Time); + } + if (DaysCount != 0) { + output.WriteRawTag(120); + output.WriteUInt32(DaysCount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += cards_.CalculateSize(_repeated_cards_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (Time != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); + } + if (DaysCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DaysCount); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaSpinResp other) { + if (other == null) { + return; + } + cards_.Add(other.cards_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.Time != 0L) { + Time = other.Time; + } + if (other.DaysCount != 0) { + DaysCount = other.DaysCount; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + cards_.AddEntriesFrom(input, _repeated_cards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + Time = input.ReadInt64(); + break; + } + case 120: { + DaysCount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + cards_.AddEntriesFrom(ref input, _repeated_cards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + Time = input.ReadInt64(); + break; + } + case 120: { + DaysCount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaCard : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaCard()); + 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::Proto.GachaSpinReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaCard(GachaCard other) : this() { + card_ = other.card_ != null ? other.card_.Clone() : null; + rewards_ = other.rewards_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaCard Clone() { + return new GachaCard(this); + } + + /// Field number for the "Card" field. + public const int CardFieldNumber = 1; + private global::Proto.ItemTpl card_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ItemTpl Card { + get { return card_; } + set { + card_ = value; + } + } + + /// Field number for the "Rewards" field. + public const int RewardsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_rewards_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField rewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Rewards { + get { return rewards_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GachaCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Card, other.Card)) return false; + if(!rewards_.Equals(other.rewards_)) return false; + if (NextPackage != other.NextPackage) 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 (card_ != null) hash ^= Card.GetHashCode(); + hash ^= rewards_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (card_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Card); + } + rewards_.WriteTo(output, _repeated_rewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (card_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Card); + } + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (card_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Card); + } + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaCard other) { + if (other == null) { + return; + } + if (other.card_ != null) { + if (card_ == null) { + Card = new global::Proto.ItemTpl(); + } + Card.MergeFrom(other.Card); + } + rewards_.Add(other.rewards_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (card_ == null) { + Card = new global::Proto.ItemTpl(); + } + input.ReadMessage(Card); + break; + } + case 18: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (card_ == null) { + Card = new global::Proto.ItemTpl(); + } + input.ReadMessage(Card); + break; + } + case 18: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/GachaType.cs b/Novaria.Common/Protos/GachaType.cs deleted file mode 100644 index fe04a82..0000000 --- a/Novaria.Common/Protos/GachaType.cs +++ /dev/null @@ -1,792 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GachaType.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 GachaType.proto - public static partial class GachaTypeReflection { - - #region Descriptor - /// File descriptor for GachaType.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GachaTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9HYWNoYVR5cGUucHJvdG8igAIKCUdhY2hhVHlwZRIKCgJpZBgBIAEoBRIM", - "CgRuYW1lGAIgASgJEhEKCWNvaW5faXRlbRgDIAMoBRIOCgZ0aXRsZTEYBCAB", - "KAkSDQoFZGVzYzEYBSABKAkSDgoGdGl0bGUyGAYgASgJEg0KBWRlc2MyGAcg", - "ASgJEg4KBnRpdGxlMxgIIAEoCRINCgVkZXNjMxgJIAEoCRIOCgZ0aXRsZTQY", - "CiABKAkSDQoFZGVzYzQYCyABKAkSDQoFZGVzYzUYDCABKAkSDgoGdGl0bGU1", - "GA0gASgJEg0KBWRlc2M2GA4gASgJEg0KBWRlc2M3GA8gASgJEg0KBWRlc2M4", - "GBAgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GachaType), global::Nova.Client.GachaType.Parser, new[]{ "Id", "Name", "CoinItem", "Title1", "Desc1", "Title2", "Desc2", "Title3", "Desc3", "Title4", "Desc4", "Desc5", "Title5", "Desc6", "Desc7", "Desc8" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GachaType : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GachaType()); - 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.GachaTypeReflection.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 GachaType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GachaType(GachaType other) : this() { - id_ = other.id_; - name_ = other.name_; - coinItem_ = other.coinItem_.Clone(); - title1_ = other.title1_; - desc1_ = other.desc1_; - title2_ = other.title2_; - desc2_ = other.desc2_; - title3_ = other.title3_; - desc3_ = other.desc3_; - title4_ = other.title4_; - desc4_ = other.desc4_; - desc5_ = other.desc5_; - title5_ = other.title5_; - desc6_ = other.desc6_; - desc7_ = other.desc7_; - desc8_ = other.desc8_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GachaType Clone() { - return new GachaType(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 "name" field. - 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"); - } - } - - /// Field number for the "coin_item" field. - public const int CoinItemFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_coinItem_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField coinItem_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CoinItem { - get { return coinItem_; } - } - - /// Field number for the "title1" field. - public const int Title1FieldNumber = 4; - private string title1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title1 { - get { return title1_; } - set { - title1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc1" field. - public const int Desc1FieldNumber = 5; - private string desc1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc1 { - get { return desc1_; } - set { - desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title2" field. - public const int Title2FieldNumber = 6; - private string title2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title2 { - get { return title2_; } - set { - title2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc2" field. - public const int Desc2FieldNumber = 7; - private string desc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc2 { - get { return desc2_; } - set { - desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title3" field. - public const int Title3FieldNumber = 8; - private string title3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title3 { - get { return title3_; } - set { - title3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc3" field. - public const int Desc3FieldNumber = 9; - private string desc3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc3 { - get { return desc3_; } - set { - desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title4" field. - public const int Title4FieldNumber = 10; - private string title4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title4 { - get { return title4_; } - set { - title4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc4" field. - public const int Desc4FieldNumber = 11; - private string desc4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc4 { - get { return desc4_; } - set { - desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc5" field. - public const int Desc5FieldNumber = 12; - private string desc5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc5 { - get { return desc5_; } - set { - desc5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title5" field. - public const int Title5FieldNumber = 13; - private string title5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title5 { - get { return title5_; } - set { - title5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc6" field. - public const int Desc6FieldNumber = 14; - private string desc6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc6 { - get { return desc6_; } - set { - desc6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc7" field. - public const int Desc7FieldNumber = 15; - private string desc7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc7 { - get { return desc7_; } - set { - desc7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc8" field. - public const int Desc8FieldNumber = 16; - private string desc8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc8 { - get { return desc8_; } - set { - desc8_ = 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 GachaType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GachaType 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(!coinItem_.Equals(other.coinItem_)) return false; - if (Title1 != other.Title1) return false; - if (Desc1 != other.Desc1) return false; - if (Title2 != other.Title2) return false; - if (Desc2 != other.Desc2) return false; - if (Title3 != other.Title3) return false; - if (Desc3 != other.Desc3) return false; - if (Title4 != other.Title4) return false; - if (Desc4 != other.Desc4) return false; - if (Desc5 != other.Desc5) return false; - if (Title5 != other.Title5) return false; - if (Desc6 != other.Desc6) return false; - if (Desc7 != other.Desc7) return false; - if (Desc8 != other.Desc8) 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(); - hash ^= coinItem_.GetHashCode(); - if (Title1.Length != 0) hash ^= Title1.GetHashCode(); - if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); - if (Title2.Length != 0) hash ^= Title2.GetHashCode(); - if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); - if (Title3.Length != 0) hash ^= Title3.GetHashCode(); - if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); - if (Title4.Length != 0) hash ^= Title4.GetHashCode(); - if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); - if (Desc5.Length != 0) hash ^= Desc5.GetHashCode(); - if (Title5.Length != 0) hash ^= Title5.GetHashCode(); - if (Desc6.Length != 0) hash ^= Desc6.GetHashCode(); - if (Desc7.Length != 0) hash ^= Desc7.GetHashCode(); - if (Desc8.Length != 0) hash ^= Desc8.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); - } - coinItem_.WriteTo(output, _repeated_coinItem_codec); - if (Title1.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title1); - } - if (Desc1.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc1); - } - if (Title2.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Title2); - } - if (Desc2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc2); - } - if (Title3.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Title3); - } - if (Desc3.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc3); - } - if (Title4.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Title4); - } - if (Desc4.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Desc4); - } - if (Desc5.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Desc5); - } - if (Title5.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Title5); - } - if (Desc6.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Desc6); - } - if (Desc7.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Desc7); - } - if (Desc8.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Desc8); - } - 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); - } - coinItem_.WriteTo(ref output, _repeated_coinItem_codec); - if (Title1.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title1); - } - if (Desc1.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc1); - } - if (Title2.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Title2); - } - if (Desc2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc2); - } - if (Title3.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Title3); - } - if (Desc3.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc3); - } - if (Title4.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Title4); - } - if (Desc4.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Desc4); - } - if (Desc5.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Desc5); - } - if (Title5.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Title5); - } - if (Desc6.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Desc6); - } - if (Desc7.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Desc7); - } - if (Desc8.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Desc8); - } - 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); - } - size += coinItem_.CalculateSize(_repeated_coinItem_codec); - if (Title1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title1); - } - if (Desc1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); - } - if (Title2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title2); - } - if (Desc2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); - } - if (Title3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title3); - } - if (Desc3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); - } - if (Title4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title4); - } - if (Desc4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc4); - } - if (Desc5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc5); - } - if (Title5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title5); - } - if (Desc6.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc6); - } - if (Desc7.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc7); - } - if (Desc8.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc8); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GachaType other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - coinItem_.Add(other.coinItem_); - if (other.Title1.Length != 0) { - Title1 = other.Title1; - } - if (other.Desc1.Length != 0) { - Desc1 = other.Desc1; - } - if (other.Title2.Length != 0) { - Title2 = other.Title2; - } - if (other.Desc2.Length != 0) { - Desc2 = other.Desc2; - } - if (other.Title3.Length != 0) { - Title3 = other.Title3; - } - if (other.Desc3.Length != 0) { - Desc3 = other.Desc3; - } - if (other.Title4.Length != 0) { - Title4 = other.Title4; - } - if (other.Desc4.Length != 0) { - Desc4 = other.Desc4; - } - if (other.Desc5.Length != 0) { - Desc5 = other.Desc5; - } - if (other.Title5.Length != 0) { - Title5 = other.Title5; - } - if (other.Desc6.Length != 0) { - Desc6 = other.Desc6; - } - if (other.Desc7.Length != 0) { - Desc7 = other.Desc7; - } - if (other.Desc8.Length != 0) { - Desc8 = other.Desc8; - } - _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 26: - case 24: { - coinItem_.AddEntriesFrom(input, _repeated_coinItem_codec); - break; - } - case 34: { - Title1 = input.ReadString(); - break; - } - case 42: { - Desc1 = input.ReadString(); - break; - } - case 50: { - Title2 = input.ReadString(); - break; - } - case 58: { - Desc2 = input.ReadString(); - break; - } - case 66: { - Title3 = input.ReadString(); - break; - } - case 74: { - Desc3 = input.ReadString(); - break; - } - case 82: { - Title4 = input.ReadString(); - break; - } - case 90: { - Desc4 = input.ReadString(); - break; - } - case 98: { - Desc5 = input.ReadString(); - break; - } - case 106: { - Title5 = input.ReadString(); - break; - } - case 114: { - Desc6 = input.ReadString(); - break; - } - case 122: { - Desc7 = input.ReadString(); - break; - } - case 130: { - Desc8 = 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 18: { - Name = input.ReadString(); - break; - } - case 26: - case 24: { - coinItem_.AddEntriesFrom(ref input, _repeated_coinItem_codec); - break; - } - case 34: { - Title1 = input.ReadString(); - break; - } - case 42: { - Desc1 = input.ReadString(); - break; - } - case 50: { - Title2 = input.ReadString(); - break; - } - case 58: { - Desc2 = input.ReadString(); - break; - } - case 66: { - Title3 = input.ReadString(); - break; - } - case 74: { - Desc3 = input.ReadString(); - break; - } - case 82: { - Title4 = input.ReadString(); - break; - } - case 90: { - Desc4 = input.ReadString(); - break; - } - case 98: { - Desc5 = input.ReadString(); - break; - } - case 106: { - Title5 = input.ReadString(); - break; - } - case 114: { - Desc6 = input.ReadString(); - break; - } - case 122: { - Desc7 = input.ReadString(); - break; - } - case 130: { - Desc8 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/GemConvert.cs b/Novaria.Common/Protos/GemConvert.cs new file mode 100644 index 0000000..5a530f5 --- /dev/null +++ b/Novaria.Common/Protos/GemConvert.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: gem_convert.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 Proto { + + /// Holder for reflection information generated from gem_convert.proto + public static partial class GemConvertReflection { + + #region Descriptor + /// File descriptor for gem_convert.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static GemConvertReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFnZW1fY29udmVydC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90b1AAYgZw", + "cm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FileDiff.cs b/Novaria.Common/Protos/GmSudo.cs similarity index 64% rename from Novaria.Common/Protos/FileDiff.cs rename to Novaria.Common/Protos/GmSudo.cs index d1fa11a..ac78e98 100644 --- a/Novaria.Common/Protos/FileDiff.cs +++ b/Novaria.Common/Protos/GmSudo.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FileDiff.proto +// source: gm_sudo.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace Pb { +namespace Proto { - /// Holder for reflection information generated from FileDiff.proto - public static partial class FileDiffReflection { + /// Holder for reflection information generated from gm_sudo.proto + public static partial class GmSudoReflection { #region Descriptor - /// File descriptor for FileDiff.proto + /// File descriptor for gm_sudo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static FileDiffReflection() { + static GmSudoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg5GaWxlRGlmZi5wcm90byI8CghGaWxlRGlmZhIRCglmaWxlX25hbWUYASAB", - "KAkSDAoEaGFzaBgCIAEoCRIPCgd2ZXJzaW9uGAMgASgDQgWqAgJQYmIGcHJv", - "dG8z")); + "Cg1nbV9zdWRvLnByb3RvEgVwcm90byJBCgtTdWRvQ29tbWFuZBIOCgZBY3Rp", + "b24YASABKAkSDAoEQXJncxgCIAEoCRIUCgtOZXh0UGFja2FnZRj/DyABKAxi", + "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Pb.FileDiff), global::Pb.FileDiff.Parser, new[]{ "FileName", "Hash", "Version" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SudoCommand), global::Proto.SudoCommand.Parser, new[]{ "Action", "Args", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Pb { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class FileDiff : pb::IMessage + public sealed partial class SudoCommand : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FileDiff()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SudoCommand()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::Pb.FileDiffReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.GmSudoReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Pb { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FileDiff() { + public SudoCommand() { OnConstruction(); } @@ -71,73 +71,73 @@ namespace Pb { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FileDiff(FileDiff other) : this() { - fileName_ = other.fileName_; - hash_ = other.hash_; - version_ = other.version_; + public SudoCommand(SudoCommand other) : this() { + action_ = other.action_; + args_ = other.args_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FileDiff Clone() { - return new FileDiff(this); + public SudoCommand Clone() { + return new SudoCommand(this); } - /// Field number for the "file_name" field. - public const int FileNameFieldNumber = 1; - private string fileName_ = ""; + /// Field number for the "Action" field. + public const int ActionFieldNumber = 1; + private string action_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FileName { - get { return fileName_; } + public string Action { + get { return action_; } set { - fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + action_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "hash" field. - public const int HashFieldNumber = 2; - private string hash_ = ""; + /// Field number for the "Args" field. + public const int ArgsFieldNumber = 2; + private string args_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Hash { - get { return hash_; } + public string Args { + get { return args_; } set { - hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + args_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "version" field. - public const int VersionFieldNumber = 3; - private long version_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Version { - get { return version_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - version_ = value; + nextPackage_ = 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 FileDiff); + return Equals(other as SudoCommand); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FileDiff other) { + public bool Equals(SudoCommand other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (FileName != other.FileName) return false; - if (Hash != other.Hash) return false; - if (Version != other.Version) return false; + if (Action != other.Action) return false; + if (Args != other.Args) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Pb { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (FileName.Length != 0) hash ^= FileName.GetHashCode(); - if (Hash.Length != 0) hash ^= Hash.GetHashCode(); - if (Version != 0L) hash ^= Version.GetHashCode(); + if (Action.Length != 0) hash ^= Action.GetHashCode(); + if (Args.Length != 0) hash ^= Args.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Pb { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (FileName.Length != 0) { + if (Action.Length != 0) { output.WriteRawTag(10); - output.WriteString(FileName); + output.WriteString(Action); } - if (Hash.Length != 0) { + if (Args.Length != 0) { output.WriteRawTag(18); - output.WriteString(Hash); + output.WriteString(Args); } - if (Version != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Version); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Pb { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (FileName.Length != 0) { + if (Action.Length != 0) { output.WriteRawTag(10); - output.WriteString(FileName); + output.WriteString(Action); } - if (Hash.Length != 0) { + if (Args.Length != 0) { output.WriteRawTag(18); - output.WriteString(Hash); + output.WriteString(Args); } - if (Version != 0L) { - output.WriteRawTag(24); - output.WriteInt64(Version); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Pb { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (FileName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + if (Action.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Action); } - if (Hash.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash); + if (Args.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Args); } - if (Version != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Pb { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FileDiff other) { + public void MergeFrom(SudoCommand other) { if (other == null) { return; } - if (other.FileName.Length != 0) { - FileName = other.FileName; + if (other.Action.Length != 0) { + Action = other.Action; } - if (other.Hash.Length != 0) { - Hash = other.Hash; + if (other.Args.Length != 0) { + Args = other.Args; } - if (other.Version != 0L) { - Version = other.Version; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Pb { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - FileName = input.ReadString(); + Action = input.ReadString(); break; } case 18: { - Hash = input.ReadString(); + Args = input.ReadString(); break; } - case 24: { - Version = input.ReadInt64(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Pb { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - FileName = input.ReadString(); + Action = input.ReadString(); break; } case 18: { - Hash = input.ReadString(); + Args = input.ReadString(); break; } - case 24: { - Version = input.ReadInt64(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/Guide.cs b/Novaria.Common/Protos/Guide.cs deleted file mode 100644 index 408c84c..0000000 --- a/Novaria.Common/Protos/Guide.cs +++ /dev/null @@ -1,1017 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Guide.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 Guide.proto - public static partial class GuideReflection { - - #region Descriptor - /// File descriptor for Guide.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GuideReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtHdWlkZS5wcm90byLEAwoFR3VpZGUSCgoCaWQYASABKAUSEAoIZ3JvdXBf", - "aWQYAiABKAUSDAoEc3RlcBgDIAEoBRIMCgR0eXBlGAQgASgFEhUKDWd1aWRl", - "X3ByZXBvc2UYBSABKAUSFgoOcHJlcG9zZV9wYXJhbXMYBiABKAkSFQoNZ3Vp", - "ZGVfdHJpZ2dlchgHIAEoBRIWCg50cmlnZ2VyX3BhcmFtcxgIIAEoCRIQCghl", - "bmRfdHlwZRgJIAEoBRIVCg1jZW50ZXJfb2Zmc2V0GAogASgCEhEKCWJpbmRf", - "aWNvbhgLIAMoCRIdChViaW5kX2ljb25fY2hpbGRfY291bnQYDCABKAUSDAoE", - "c2l6ZRgNIAMoBRIRCglkZXZpYXRpb24YDiADKAUSDQoFZGVsYXkYDyABKAUS", - "DAoEaGVhZBgQIAEoCRIMCgRkZXNjGBEgASgJEhYKDmRlc2NfZGV2aWF0aW9u", - "GBIgAygFEhYKDmhhbmRfZGV2aWF0aW9uGBMgAygFEhUKDWhhbmRfcm90YXRp", - "b24YFCABKAUSEgoKZGljdGlvbmFyeRgVIAEoBRIOCgZhdmdfaWQYFiABKAkS", - "EQoJaXNfYWN0aXZlGBcgASgIQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Guide), global::Nova.Client.Guide.Parser, new[]{ "Id", "GroupId", "Step", "Type", "GuidePrepose", "PreposeParams", "GuideTrigger", "TriggerParams", "EndType", "CenterOffset", "BindIcon", "BindIconChildCount", "Size", "Deviation", "Delay", "Head", "Desc", "DescDeviation", "HandDeviation", "HandRotation", "Dictionary", "AvgId", "IsActive" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Guide : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Guide()); - 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.GuideReflection.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 Guide() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Guide(Guide other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - step_ = other.step_; - type_ = other.type_; - guidePrepose_ = other.guidePrepose_; - preposeParams_ = other.preposeParams_; - guideTrigger_ = other.guideTrigger_; - triggerParams_ = other.triggerParams_; - endType_ = other.endType_; - centerOffset_ = other.centerOffset_; - bindIcon_ = other.bindIcon_.Clone(); - bindIconChildCount_ = other.bindIconChildCount_; - size_ = other.size_.Clone(); - deviation_ = other.deviation_.Clone(); - delay_ = other.delay_; - head_ = other.head_; - desc_ = other.desc_; - descDeviation_ = other.descDeviation_.Clone(); - handDeviation_ = other.handDeviation_.Clone(); - handRotation_ = other.handRotation_; - dictionary_ = other.dictionary_; - avgId_ = other.avgId_; - isActive_ = other.isActive_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Guide Clone() { - return new Guide(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 "group_id" field. - 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; - } - } - - /// Field number for the "step" field. - public const int StepFieldNumber = 3; - private int step_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Step { - get { return step_; } - set { - step_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 4; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "guide_prepose" field. - public const int GuidePreposeFieldNumber = 5; - private int guidePrepose_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuidePrepose { - get { return guidePrepose_; } - set { - guidePrepose_ = value; - } - } - - /// Field number for the "prepose_params" field. - public const int PreposeParamsFieldNumber = 6; - private string preposeParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PreposeParams { - get { return preposeParams_; } - set { - preposeParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "guide_trigger" field. - public const int GuideTriggerFieldNumber = 7; - private int guideTrigger_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuideTrigger { - get { return guideTrigger_; } - set { - guideTrigger_ = value; - } - } - - /// Field number for the "trigger_params" field. - public const int TriggerParamsFieldNumber = 8; - private string triggerParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParams { - get { return triggerParams_; } - set { - triggerParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "end_type" field. - public const int EndTypeFieldNumber = 9; - private int endType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EndType { - get { return endType_; } - set { - endType_ = value; - } - } - - /// Field number for the "center_offset" field. - public const int CenterOffsetFieldNumber = 10; - private float centerOffset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float CenterOffset { - get { return centerOffset_; } - set { - centerOffset_ = value; - } - } - - /// Field number for the "bind_icon" field. - public const int BindIconFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_bindIcon_codec - = pb::FieldCodec.ForString(90); - private readonly pbc::RepeatedField bindIcon_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BindIcon { - get { return bindIcon_; } - } - - /// Field number for the "bind_icon_child_count" field. - public const int BindIconChildCountFieldNumber = 12; - private int bindIconChildCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BindIconChildCount { - get { return bindIconChildCount_; } - set { - bindIconChildCount_ = value; - } - } - - /// Field number for the "size" field. - public const int SizeFieldNumber = 13; - private static readonly pb::FieldCodec _repeated_size_codec - = pb::FieldCodec.ForInt32(106); - private readonly pbc::RepeatedField size_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Size { - get { return size_; } - } - - /// Field number for the "deviation" field. - public const int DeviationFieldNumber = 14; - private static readonly pb::FieldCodec _repeated_deviation_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField deviation_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Deviation { - get { return deviation_; } - } - - /// Field number for the "delay" field. - public const int DelayFieldNumber = 15; - private int delay_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Delay { - get { return delay_; } - set { - delay_ = value; - } - } - - /// Field number for the "head" field. - public const int HeadFieldNumber = 16; - private string head_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Head { - get { return head_; } - set { - head_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 17; - 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 "desc_deviation" field. - public const int DescDeviationFieldNumber = 18; - private static readonly pb::FieldCodec _repeated_descDeviation_codec - = pb::FieldCodec.ForInt32(146); - private readonly pbc::RepeatedField descDeviation_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField DescDeviation { - get { return descDeviation_; } - } - - /// Field number for the "hand_deviation" field. - public const int HandDeviationFieldNumber = 19; - private static readonly pb::FieldCodec _repeated_handDeviation_codec - = pb::FieldCodec.ForInt32(154); - private readonly pbc::RepeatedField handDeviation_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField HandDeviation { - get { return handDeviation_; } - } - - /// Field number for the "hand_rotation" field. - public const int HandRotationFieldNumber = 20; - private int handRotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HandRotation { - get { return handRotation_; } - set { - handRotation_ = value; - } - } - - /// Field number for the "dictionary" field. - public const int DictionaryFieldNumber = 21; - private int dictionary_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Dictionary { - get { return dictionary_; } - set { - dictionary_ = value; - } - } - - /// Field number for the "avg_id" field. - public const int AvgIdFieldNumber = 22; - private string avgId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AvgId { - get { return avgId_; } - set { - avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "is_active" field. - public const int IsActiveFieldNumber = 23; - private bool isActive_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsActive { - get { return isActive_; } - set { - isActive_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Guide); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Guide 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 (Step != other.Step) return false; - if (Type != other.Type) return false; - if (GuidePrepose != other.GuidePrepose) return false; - if (PreposeParams != other.PreposeParams) return false; - if (GuideTrigger != other.GuideTrigger) return false; - if (TriggerParams != other.TriggerParams) return false; - if (EndType != other.EndType) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CenterOffset, other.CenterOffset)) return false; - if(!bindIcon_.Equals(other.bindIcon_)) return false; - if (BindIconChildCount != other.BindIconChildCount) return false; - if(!size_.Equals(other.size_)) return false; - if(!deviation_.Equals(other.deviation_)) return false; - if (Delay != other.Delay) return false; - if (Head != other.Head) return false; - if (Desc != other.Desc) return false; - if(!descDeviation_.Equals(other.descDeviation_)) return false; - if(!handDeviation_.Equals(other.handDeviation_)) return false; - if (HandRotation != other.HandRotation) return false; - if (Dictionary != other.Dictionary) return false; - if (AvgId != other.AvgId) return false; - if (IsActive != other.IsActive) 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 (Step != 0) hash ^= Step.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (GuidePrepose != 0) hash ^= GuidePrepose.GetHashCode(); - if (PreposeParams.Length != 0) hash ^= PreposeParams.GetHashCode(); - if (GuideTrigger != 0) hash ^= GuideTrigger.GetHashCode(); - if (TriggerParams.Length != 0) hash ^= TriggerParams.GetHashCode(); - if (EndType != 0) hash ^= EndType.GetHashCode(); - if (CenterOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CenterOffset); - hash ^= bindIcon_.GetHashCode(); - if (BindIconChildCount != 0) hash ^= BindIconChildCount.GetHashCode(); - hash ^= size_.GetHashCode(); - hash ^= deviation_.GetHashCode(); - if (Delay != 0) hash ^= Delay.GetHashCode(); - if (Head.Length != 0) hash ^= Head.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - hash ^= descDeviation_.GetHashCode(); - hash ^= handDeviation_.GetHashCode(); - if (HandRotation != 0) hash ^= HandRotation.GetHashCode(); - if (Dictionary != 0) hash ^= Dictionary.GetHashCode(); - if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); - if (IsActive != false) hash ^= IsActive.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 (Step != 0) { - output.WriteRawTag(24); - output.WriteInt32(Step); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (GuidePrepose != 0) { - output.WriteRawTag(40); - output.WriteInt32(GuidePrepose); - } - if (PreposeParams.Length != 0) { - output.WriteRawTag(50); - output.WriteString(PreposeParams); - } - if (GuideTrigger != 0) { - output.WriteRawTag(56); - output.WriteInt32(GuideTrigger); - } - if (TriggerParams.Length != 0) { - output.WriteRawTag(66); - output.WriteString(TriggerParams); - } - if (EndType != 0) { - output.WriteRawTag(72); - output.WriteInt32(EndType); - } - if (CenterOffset != 0F) { - output.WriteRawTag(85); - output.WriteFloat(CenterOffset); - } - bindIcon_.WriteTo(output, _repeated_bindIcon_codec); - if (BindIconChildCount != 0) { - output.WriteRawTag(96); - output.WriteInt32(BindIconChildCount); - } - size_.WriteTo(output, _repeated_size_codec); - deviation_.WriteTo(output, _repeated_deviation_codec); - if (Delay != 0) { - output.WriteRawTag(120); - output.WriteInt32(Delay); - } - if (Head.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Head); - } - if (Desc.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Desc); - } - descDeviation_.WriteTo(output, _repeated_descDeviation_codec); - handDeviation_.WriteTo(output, _repeated_handDeviation_codec); - if (HandRotation != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(HandRotation); - } - if (Dictionary != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(Dictionary); - } - if (AvgId.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(AvgId); - } - if (IsActive != false) { - output.WriteRawTag(184, 1); - output.WriteBool(IsActive); - } - 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 (Step != 0) { - output.WriteRawTag(24); - output.WriteInt32(Step); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (GuidePrepose != 0) { - output.WriteRawTag(40); - output.WriteInt32(GuidePrepose); - } - if (PreposeParams.Length != 0) { - output.WriteRawTag(50); - output.WriteString(PreposeParams); - } - if (GuideTrigger != 0) { - output.WriteRawTag(56); - output.WriteInt32(GuideTrigger); - } - if (TriggerParams.Length != 0) { - output.WriteRawTag(66); - output.WriteString(TriggerParams); - } - if (EndType != 0) { - output.WriteRawTag(72); - output.WriteInt32(EndType); - } - if (CenterOffset != 0F) { - output.WriteRawTag(85); - output.WriteFloat(CenterOffset); - } - bindIcon_.WriteTo(ref output, _repeated_bindIcon_codec); - if (BindIconChildCount != 0) { - output.WriteRawTag(96); - output.WriteInt32(BindIconChildCount); - } - size_.WriteTo(ref output, _repeated_size_codec); - deviation_.WriteTo(ref output, _repeated_deviation_codec); - if (Delay != 0) { - output.WriteRawTag(120); - output.WriteInt32(Delay); - } - if (Head.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Head); - } - if (Desc.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Desc); - } - descDeviation_.WriteTo(ref output, _repeated_descDeviation_codec); - handDeviation_.WriteTo(ref output, _repeated_handDeviation_codec); - if (HandRotation != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(HandRotation); - } - if (Dictionary != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(Dictionary); - } - if (AvgId.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(AvgId); - } - if (IsActive != false) { - output.WriteRawTag(184, 1); - output.WriteBool(IsActive); - } - 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 (Step != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Step); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (GuidePrepose != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePrepose); - } - if (PreposeParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PreposeParams); - } - if (GuideTrigger != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuideTrigger); - } - if (TriggerParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParams); - } - if (EndType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndType); - } - if (CenterOffset != 0F) { - size += 1 + 4; - } - size += bindIcon_.CalculateSize(_repeated_bindIcon_codec); - if (BindIconChildCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BindIconChildCount); - } - size += size_.CalculateSize(_repeated_size_codec); - size += deviation_.CalculateSize(_repeated_deviation_codec); - if (Delay != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Delay); - } - if (Head.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Head); - } - if (Desc.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - size += descDeviation_.CalculateSize(_repeated_descDeviation_codec); - size += handDeviation_.CalculateSize(_repeated_handDeviation_codec); - if (HandRotation != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HandRotation); - } - if (Dictionary != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dictionary); - } - if (AvgId.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AvgId); - } - if (IsActive != false) { - size += 2 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Guide other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Step != 0) { - Step = other.Step; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.GuidePrepose != 0) { - GuidePrepose = other.GuidePrepose; - } - if (other.PreposeParams.Length != 0) { - PreposeParams = other.PreposeParams; - } - if (other.GuideTrigger != 0) { - GuideTrigger = other.GuideTrigger; - } - if (other.TriggerParams.Length != 0) { - TriggerParams = other.TriggerParams; - } - if (other.EndType != 0) { - EndType = other.EndType; - } - if (other.CenterOffset != 0F) { - CenterOffset = other.CenterOffset; - } - bindIcon_.Add(other.bindIcon_); - if (other.BindIconChildCount != 0) { - BindIconChildCount = other.BindIconChildCount; - } - size_.Add(other.size_); - deviation_.Add(other.deviation_); - if (other.Delay != 0) { - Delay = other.Delay; - } - if (other.Head.Length != 0) { - Head = other.Head; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - descDeviation_.Add(other.descDeviation_); - handDeviation_.Add(other.handDeviation_); - if (other.HandRotation != 0) { - HandRotation = other.HandRotation; - } - if (other.Dictionary != 0) { - Dictionary = other.Dictionary; - } - if (other.AvgId.Length != 0) { - AvgId = other.AvgId; - } - if (other.IsActive != false) { - IsActive = other.IsActive; - } - _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: { - Step = input.ReadInt32(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 40: { - GuidePrepose = input.ReadInt32(); - break; - } - case 50: { - PreposeParams = input.ReadString(); - break; - } - case 56: { - GuideTrigger = input.ReadInt32(); - break; - } - case 66: { - TriggerParams = input.ReadString(); - break; - } - case 72: { - EndType = input.ReadInt32(); - break; - } - case 85: { - CenterOffset = input.ReadFloat(); - break; - } - case 90: { - bindIcon_.AddEntriesFrom(input, _repeated_bindIcon_codec); - break; - } - case 96: { - BindIconChildCount = input.ReadInt32(); - break; - } - case 106: - case 104: { - size_.AddEntriesFrom(input, _repeated_size_codec); - break; - } - case 114: - case 112: { - deviation_.AddEntriesFrom(input, _repeated_deviation_codec); - break; - } - case 120: { - Delay = input.ReadInt32(); - break; - } - case 130: { - Head = input.ReadString(); - break; - } - case 138: { - Desc = input.ReadString(); - break; - } - case 146: - case 144: { - descDeviation_.AddEntriesFrom(input, _repeated_descDeviation_codec); - break; - } - case 154: - case 152: { - handDeviation_.AddEntriesFrom(input, _repeated_handDeviation_codec); - break; - } - case 160: { - HandRotation = input.ReadInt32(); - break; - } - case 168: { - Dictionary = input.ReadInt32(); - break; - } - case 178: { - AvgId = input.ReadString(); - break; - } - case 184: { - IsActive = 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 16: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - Step = input.ReadInt32(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 40: { - GuidePrepose = input.ReadInt32(); - break; - } - case 50: { - PreposeParams = input.ReadString(); - break; - } - case 56: { - GuideTrigger = input.ReadInt32(); - break; - } - case 66: { - TriggerParams = input.ReadString(); - break; - } - case 72: { - EndType = input.ReadInt32(); - break; - } - case 85: { - CenterOffset = input.ReadFloat(); - break; - } - case 90: { - bindIcon_.AddEntriesFrom(ref input, _repeated_bindIcon_codec); - break; - } - case 96: { - BindIconChildCount = input.ReadInt32(); - break; - } - case 106: - case 104: { - size_.AddEntriesFrom(ref input, _repeated_size_codec); - break; - } - case 114: - case 112: { - deviation_.AddEntriesFrom(ref input, _repeated_deviation_codec); - break; - } - case 120: { - Delay = input.ReadInt32(); - break; - } - case 130: { - Head = input.ReadString(); - break; - } - case 138: { - Desc = input.ReadString(); - break; - } - case 146: - case 144: { - descDeviation_.AddEntriesFrom(ref input, _repeated_descDeviation_codec); - break; - } - case 154: - case 152: { - handDeviation_.AddEntriesFrom(ref input, _repeated_handDeviation_codec); - break; - } - case 160: { - HandRotation = input.ReadInt32(); - break; - } - case 168: { - Dictionary = input.ReadInt32(); - break; - } - case 178: { - AvgId = input.ReadString(); - break; - } - case 184: { - IsActive = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/GuideGroup.cs b/Novaria.Common/Protos/GuideGroup.cs deleted file mode 100644 index c481cac..0000000 --- a/Novaria.Common/Protos/GuideGroup.cs +++ /dev/null @@ -1,729 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GuideGroup.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 GuideGroup.proto - public static partial class GuideGroupReflection { - - #region Descriptor - /// File descriptor for GuideGroup.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GuideGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBHdWlkZUdyb3VwLnByb3RvIsACCgpHdWlkZUdyb3VwEgoKAmlkGAEgASgF", - "EhwKFGd1aWRlX2RldGVjdGlvbl90eXBlGAIgASgFEhMKC3Bhc3NpdmVfbXNn", - "GAMgASgJEhUKDWd1aWRlX3ByZXBvc2UYBCABKAUSFgoOcHJlcG9zZV9wYXJh", - "bXMYBSABKAkSFgoOZ3VpZGVfcHJlcG9zZTIYBiABKAUSFwoPcHJlcG9zZV9w", - "YXJhbXMyGAcgASgJEhIKCmd1aWRlX3Bvc3QYCCABKAUSEwoLcG9zdF9wYXJh", - "bXMYCSABKAkSFQoNZ3VpZGVfdHJpZ2dlchgKIAEoBRIWCg50cmlnZ2VyX3Bh", - "cmFtcxgLIAEoCRITCgt0b3dlcl9zdGF0ZRgMIAEoCBITCgtzY3JpcHRfcGF0", - "aBgNIAEoCRIRCglpc19hY3RpdmUYDiABKAhCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GuideGroup), global::Nova.Client.GuideGroup.Parser, new[]{ "Id", "GuideDetectionType", "PassiveMsg", "GuidePrepose", "PreposeParams", "GuidePrepose2", "PreposeParams2", "GuidePost", "PostParams", "GuideTrigger", "TriggerParams", "TowerState", "ScriptPath", "IsActive" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GuideGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GuideGroup()); - 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.GuideGroupReflection.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 GuideGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GuideGroup(GuideGroup other) : this() { - id_ = other.id_; - guideDetectionType_ = other.guideDetectionType_; - passiveMsg_ = other.passiveMsg_; - guidePrepose_ = other.guidePrepose_; - preposeParams_ = other.preposeParams_; - guidePrepose2_ = other.guidePrepose2_; - preposeParams2_ = other.preposeParams2_; - guidePost_ = other.guidePost_; - postParams_ = other.postParams_; - guideTrigger_ = other.guideTrigger_; - triggerParams_ = other.triggerParams_; - towerState_ = other.towerState_; - scriptPath_ = other.scriptPath_; - isActive_ = other.isActive_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GuideGroup Clone() { - return new GuideGroup(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 "guide_detection_type" field. - public const int GuideDetectionTypeFieldNumber = 2; - private int guideDetectionType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuideDetectionType { - get { return guideDetectionType_; } - set { - guideDetectionType_ = value; - } - } - - /// Field number for the "passive_msg" field. - public const int PassiveMsgFieldNumber = 3; - private string passiveMsg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PassiveMsg { - get { return passiveMsg_; } - set { - passiveMsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "guide_prepose" field. - public const int GuidePreposeFieldNumber = 4; - private int guidePrepose_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuidePrepose { - get { return guidePrepose_; } - set { - guidePrepose_ = value; - } - } - - /// Field number for the "prepose_params" field. - public const int PreposeParamsFieldNumber = 5; - private string preposeParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PreposeParams { - get { return preposeParams_; } - set { - preposeParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "guide_prepose2" field. - public const int GuidePrepose2FieldNumber = 6; - private int guidePrepose2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuidePrepose2 { - get { return guidePrepose2_; } - set { - guidePrepose2_ = value; - } - } - - /// Field number for the "prepose_params2" field. - public const int PreposeParams2FieldNumber = 7; - private string preposeParams2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PreposeParams2 { - get { return preposeParams2_; } - set { - preposeParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "guide_post" field. - public const int GuidePostFieldNumber = 8; - private int guidePost_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuidePost { - get { return guidePost_; } - set { - guidePost_ = value; - } - } - - /// Field number for the "post_params" field. - public const int PostParamsFieldNumber = 9; - private string postParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PostParams { - get { return postParams_; } - set { - postParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "guide_trigger" field. - public const int GuideTriggerFieldNumber = 10; - private int guideTrigger_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuideTrigger { - get { return guideTrigger_; } - set { - guideTrigger_ = value; - } - } - - /// Field number for the "trigger_params" field. - public const int TriggerParamsFieldNumber = 11; - private string triggerParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParams { - get { return triggerParams_; } - set { - triggerParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tower_state" field. - public const int TowerStateFieldNumber = 12; - private bool towerState_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool TowerState { - get { return towerState_; } - set { - towerState_ = value; - } - } - - /// Field number for the "script_path" field. - public const int ScriptPathFieldNumber = 13; - private string scriptPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ScriptPath { - get { return scriptPath_; } - set { - scriptPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "is_active" field. - public const int IsActiveFieldNumber = 14; - private bool isActive_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsActive { - get { return isActive_; } - set { - isActive_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as GuideGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GuideGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (GuideDetectionType != other.GuideDetectionType) return false; - if (PassiveMsg != other.PassiveMsg) return false; - if (GuidePrepose != other.GuidePrepose) return false; - if (PreposeParams != other.PreposeParams) return false; - if (GuidePrepose2 != other.GuidePrepose2) return false; - if (PreposeParams2 != other.PreposeParams2) return false; - if (GuidePost != other.GuidePost) return false; - if (PostParams != other.PostParams) return false; - if (GuideTrigger != other.GuideTrigger) return false; - if (TriggerParams != other.TriggerParams) return false; - if (TowerState != other.TowerState) return false; - if (ScriptPath != other.ScriptPath) return false; - if (IsActive != other.IsActive) 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 (GuideDetectionType != 0) hash ^= GuideDetectionType.GetHashCode(); - if (PassiveMsg.Length != 0) hash ^= PassiveMsg.GetHashCode(); - if (GuidePrepose != 0) hash ^= GuidePrepose.GetHashCode(); - if (PreposeParams.Length != 0) hash ^= PreposeParams.GetHashCode(); - if (GuidePrepose2 != 0) hash ^= GuidePrepose2.GetHashCode(); - if (PreposeParams2.Length != 0) hash ^= PreposeParams2.GetHashCode(); - if (GuidePost != 0) hash ^= GuidePost.GetHashCode(); - if (PostParams.Length != 0) hash ^= PostParams.GetHashCode(); - if (GuideTrigger != 0) hash ^= GuideTrigger.GetHashCode(); - if (TriggerParams.Length != 0) hash ^= TriggerParams.GetHashCode(); - if (TowerState != false) hash ^= TowerState.GetHashCode(); - if (ScriptPath.Length != 0) hash ^= ScriptPath.GetHashCode(); - if (IsActive != false) hash ^= IsActive.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 (GuideDetectionType != 0) { - output.WriteRawTag(16); - output.WriteInt32(GuideDetectionType); - } - if (PassiveMsg.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PassiveMsg); - } - if (GuidePrepose != 0) { - output.WriteRawTag(32); - output.WriteInt32(GuidePrepose); - } - if (PreposeParams.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PreposeParams); - } - if (GuidePrepose2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(GuidePrepose2); - } - if (PreposeParams2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(PreposeParams2); - } - if (GuidePost != 0) { - output.WriteRawTag(64); - output.WriteInt32(GuidePost); - } - if (PostParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(PostParams); - } - if (GuideTrigger != 0) { - output.WriteRawTag(80); - output.WriteInt32(GuideTrigger); - } - if (TriggerParams.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TriggerParams); - } - if (TowerState != false) { - output.WriteRawTag(96); - output.WriteBool(TowerState); - } - if (ScriptPath.Length != 0) { - output.WriteRawTag(106); - output.WriteString(ScriptPath); - } - if (IsActive != false) { - output.WriteRawTag(112); - output.WriteBool(IsActive); - } - 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 (GuideDetectionType != 0) { - output.WriteRawTag(16); - output.WriteInt32(GuideDetectionType); - } - if (PassiveMsg.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PassiveMsg); - } - if (GuidePrepose != 0) { - output.WriteRawTag(32); - output.WriteInt32(GuidePrepose); - } - if (PreposeParams.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PreposeParams); - } - if (GuidePrepose2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(GuidePrepose2); - } - if (PreposeParams2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(PreposeParams2); - } - if (GuidePost != 0) { - output.WriteRawTag(64); - output.WriteInt32(GuidePost); - } - if (PostParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(PostParams); - } - if (GuideTrigger != 0) { - output.WriteRawTag(80); - output.WriteInt32(GuideTrigger); - } - if (TriggerParams.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TriggerParams); - } - if (TowerState != false) { - output.WriteRawTag(96); - output.WriteBool(TowerState); - } - if (ScriptPath.Length != 0) { - output.WriteRawTag(106); - output.WriteString(ScriptPath); - } - if (IsActive != false) { - output.WriteRawTag(112); - output.WriteBool(IsActive); - } - 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 (GuideDetectionType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuideDetectionType); - } - if (PassiveMsg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PassiveMsg); - } - if (GuidePrepose != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePrepose); - } - if (PreposeParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PreposeParams); - } - if (GuidePrepose2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePrepose2); - } - if (PreposeParams2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PreposeParams2); - } - if (GuidePost != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePost); - } - if (PostParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PostParams); - } - if (GuideTrigger != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuideTrigger); - } - if (TriggerParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParams); - } - if (TowerState != false) { - size += 1 + 1; - } - if (ScriptPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ScriptPath); - } - if (IsActive != 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(GuideGroup other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GuideDetectionType != 0) { - GuideDetectionType = other.GuideDetectionType; - } - if (other.PassiveMsg.Length != 0) { - PassiveMsg = other.PassiveMsg; - } - if (other.GuidePrepose != 0) { - GuidePrepose = other.GuidePrepose; - } - if (other.PreposeParams.Length != 0) { - PreposeParams = other.PreposeParams; - } - if (other.GuidePrepose2 != 0) { - GuidePrepose2 = other.GuidePrepose2; - } - if (other.PreposeParams2.Length != 0) { - PreposeParams2 = other.PreposeParams2; - } - if (other.GuidePost != 0) { - GuidePost = other.GuidePost; - } - if (other.PostParams.Length != 0) { - PostParams = other.PostParams; - } - if (other.GuideTrigger != 0) { - GuideTrigger = other.GuideTrigger; - } - if (other.TriggerParams.Length != 0) { - TriggerParams = other.TriggerParams; - } - if (other.TowerState != false) { - TowerState = other.TowerState; - } - if (other.ScriptPath.Length != 0) { - ScriptPath = other.ScriptPath; - } - if (other.IsActive != false) { - IsActive = other.IsActive; - } - _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: { - GuideDetectionType = input.ReadInt32(); - break; - } - case 26: { - PassiveMsg = input.ReadString(); - break; - } - case 32: { - GuidePrepose = input.ReadInt32(); - break; - } - case 42: { - PreposeParams = input.ReadString(); - break; - } - case 48: { - GuidePrepose2 = input.ReadInt32(); - break; - } - case 58: { - PreposeParams2 = input.ReadString(); - break; - } - case 64: { - GuidePost = input.ReadInt32(); - break; - } - case 74: { - PostParams = input.ReadString(); - break; - } - case 80: { - GuideTrigger = input.ReadInt32(); - break; - } - case 90: { - TriggerParams = input.ReadString(); - break; - } - case 96: { - TowerState = input.ReadBool(); - break; - } - case 106: { - ScriptPath = input.ReadString(); - break; - } - case 112: { - IsActive = 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 16: { - GuideDetectionType = input.ReadInt32(); - break; - } - case 26: { - PassiveMsg = input.ReadString(); - break; - } - case 32: { - GuidePrepose = input.ReadInt32(); - break; - } - case 42: { - PreposeParams = input.ReadString(); - break; - } - case 48: { - GuidePrepose2 = input.ReadInt32(); - break; - } - case 58: { - PreposeParams2 = input.ReadString(); - break; - } - case 64: { - GuidePost = input.ReadInt32(); - break; - } - case 74: { - PostParams = input.ReadString(); - break; - } - case 80: { - GuideTrigger = input.ReadInt32(); - break; - } - case 90: { - TriggerParams = input.ReadString(); - break; - } - case 96: { - TowerState = input.ReadBool(); - break; - } - case 106: { - ScriptPath = input.ReadString(); - break; - } - case 112: { - IsActive = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Handbook.cs b/Novaria.Common/Protos/Handbook.cs deleted file mode 100644 index 24b3adf..0000000 --- a/Novaria.Common/Protos/Handbook.cs +++ /dev/null @@ -1,428 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Handbook.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 Handbook.proto - public static partial class HandbookReflection { - - #region Descriptor - /// File descriptor for Handbook.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static HandbookReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5IYW5kYm9vay5wcm90byJjCghIYW5kYm9vaxIKCgJpZBgBIAEoBRINCgVp", - "bmRleBgCIAEoBRIMCgR0eXBlGAMgASgFEg8KB2NoYXJfaWQYBCABKAUSDwoH", - "c2tpbl9pZBgFIAEoBRIMCgRjb25kGAYgASgFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Handbook), global::Nova.Client.Handbook.Parser, new[]{ "Id", "Index", "Type", "CharId", "SkinId", "Cond" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Handbook : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Handbook()); - 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.HandbookReflection.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 Handbook() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Handbook(Handbook other) : this() { - id_ = other.id_; - index_ = other.index_; - type_ = other.type_; - charId_ = other.charId_; - skinId_ = other.skinId_; - cond_ = other.cond_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Handbook Clone() { - return new Handbook(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 "index" field. - public const int IndexFieldNumber = 2; - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { return index_; } - set { - index_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 3; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "char_id" field. - public const int CharIdFieldNumber = 4; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "skin_id" field. - public const int SkinIdFieldNumber = 5; - private int skinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkinId { - get { return skinId_; } - set { - skinId_ = value; - } - } - - /// Field number for the "cond" field. - public const int CondFieldNumber = 6; - private int cond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Cond { - get { return cond_; } - set { - cond_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Handbook); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Handbook other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Index != other.Index) return false; - if (Type != other.Type) return false; - if (CharId != other.CharId) return false; - if (SkinId != other.SkinId) return false; - if (Cond != other.Cond) 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 (Index != 0) hash ^= Index.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (CharId != 0) hash ^= CharId.GetHashCode(); - if (SkinId != 0) hash ^= SkinId.GetHashCode(); - if (Cond != 0) hash ^= Cond.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 (Index != 0) { - output.WriteRawTag(16); - output.WriteInt32(Index); - } - if (Type != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type); - } - if (CharId != 0) { - output.WriteRawTag(32); - output.WriteInt32(CharId); - } - if (SkinId != 0) { - output.WriteRawTag(40); - output.WriteInt32(SkinId); - } - if (Cond != 0) { - output.WriteRawTag(48); - output.WriteInt32(Cond); - } - 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 (Index != 0) { - output.WriteRawTag(16); - output.WriteInt32(Index); - } - if (Type != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type); - } - if (CharId != 0) { - output.WriteRawTag(32); - output.WriteInt32(CharId); - } - if (SkinId != 0) { - output.WriteRawTag(40); - output.WriteInt32(SkinId); - } - if (Cond != 0) { - output.WriteRawTag(48); - output.WriteInt32(Cond); - } - 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 (Index != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (SkinId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkinId); - } - if (Cond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Handbook other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Index != 0) { - Index = other.Index; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.SkinId != 0) { - SkinId = other.SkinId; - } - if (other.Cond != 0) { - Cond = other.Cond; - } - _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: { - Index = input.ReadInt32(); - break; - } - case 24: { - Type = input.ReadInt32(); - break; - } - case 32: { - CharId = input.ReadInt32(); - break; - } - case 40: { - SkinId = input.ReadInt32(); - break; - } - case 48: { - Cond = 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: { - Index = input.ReadInt32(); - break; - } - case 24: { - Type = input.ReadInt32(); - break; - } - case 32: { - CharId = input.ReadInt32(); - break; - } - case 40: { - SkinId = input.ReadInt32(); - break; - } - case 48: { - Cond = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/HitDamage.cs b/Novaria.Common/Protos/HitDamage.cs deleted file mode 100644 index 0be3122..0000000 --- a/Novaria.Common/Protos/HitDamage.cs +++ /dev/null @@ -1,1079 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: HitDamage.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 HitDamage.proto - public static partial class HitDamageReflection { - - #region Descriptor - /// File descriptor for HitDamage.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static HitDamageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9IaXREYW1hZ2UucHJvdG8i0AQKCUhpdERhbWFnZRIKCgJpZBgBIAEoBRIX", - "Cg9sZXZlbF90eXBlX2RhdGEYAiABKAUSEgoKbGV2ZWxfZGF0YRgDIAEoBRIX", - "Cg9tYWluX29yX3N1cHBvcnQYBCABKAUSFgoOaGl0ZGFtYWdlX2luZm8YBSAB", - "KAkSFQoNZGlzdGFuY2VfdHlwZRgGIAEoBRITCgtzb3VyY2VfdHlwZRgHIAEo", - "BRITCgtkYW1hZ2VfdHlwZRgIIAEoBRITCgtlZmZlY3RfdHlwZRgJIAEoBRIU", - "CgxlbGVtZW50X3R5cGUYCiABKAUSEgoKZGFtYWdlX3RhZxgLIAMoBRIZChFk", - "YW1hZ2VfYm9udXNfdHlwZRgMIAEoBRIbChNza2lsbF9wZXJjZW50X2FtZW5k", - "GA0gAygFEhcKD3NraWxsX2Fic19hbWVuZBgOIAMoBRIZChFhZGRpdGlvbmFs", - "X3NvdXJjZRgPIAEoBRIXCg9hZGRpdGlvbmFsX3R5cGUYECABKAUSGgoSYWRk", - "aXRpb25hbF9wZXJjZW50GBEgAygFEhUKDWVuZXJneV9jaGFyZ2UYEiABKAUS", - "HAoUdGFsZW50X3BlcmNlbnRfYW1lbmQYEyADKAUSGAoQdGFsZW50X2Fic19h", - "bWVuZBgUIAMoBRIVCg1pc19kZW5zZV90eXBlGBUgASgIEhYKDnBlcmtfaW50", - "ZW5zaXR5GBYgAygFEhAKCHNraWxsX2lkGBcgASgFEhcKD3NraWxsX3Nsb3Rf", - "dHlwZRgYIAEoBRIPCgdwZXJrX2lkGBkgASgFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.HitDamage), global::Nova.Client.HitDamage.Parser, new[]{ "Id", "LevelTypeData", "LevelData", "MainOrSupport", "HitdamageInfo", "DistanceType", "SourceType", "DamageType", "EffectType", "ElementType", "DamageTag", "DamageBonusType", "SkillPercentAmend", "SkillAbsAmend", "AdditionalSource", "AdditionalType", "AdditionalPercent", "EnergyCharge", "TalentPercentAmend", "TalentAbsAmend", "IsDenseType", "PerkIntensity", "SkillId", "SkillSlotType", "PerkId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class HitDamage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HitDamage()); - 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.HitDamageReflection.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 HitDamage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public HitDamage(HitDamage other) : this() { - id_ = other.id_; - levelTypeData_ = other.levelTypeData_; - levelData_ = other.levelData_; - mainOrSupport_ = other.mainOrSupport_; - hitdamageInfo_ = other.hitdamageInfo_; - distanceType_ = other.distanceType_; - sourceType_ = other.sourceType_; - damageType_ = other.damageType_; - effectType_ = other.effectType_; - elementType_ = other.elementType_; - damageTag_ = other.damageTag_.Clone(); - damageBonusType_ = other.damageBonusType_; - skillPercentAmend_ = other.skillPercentAmend_.Clone(); - skillAbsAmend_ = other.skillAbsAmend_.Clone(); - additionalSource_ = other.additionalSource_; - additionalType_ = other.additionalType_; - additionalPercent_ = other.additionalPercent_.Clone(); - energyCharge_ = other.energyCharge_; - talentPercentAmend_ = other.talentPercentAmend_.Clone(); - talentAbsAmend_ = other.talentAbsAmend_.Clone(); - isDenseType_ = other.isDenseType_; - perkIntensity_ = other.perkIntensity_.Clone(); - skillId_ = other.skillId_; - skillSlotType_ = other.skillSlotType_; - perkId_ = other.perkId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public HitDamage Clone() { - return new HitDamage(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 "level_type_data" field. - public const int LevelTypeDataFieldNumber = 2; - private int levelTypeData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTypeData { - get { return levelTypeData_; } - set { - levelTypeData_ = value; - } - } - - /// Field number for the "level_data" field. - public const int LevelDataFieldNumber = 3; - private int levelData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelData { - get { return levelData_; } - set { - levelData_ = value; - } - } - - /// Field number for the "main_or_support" field. - public const int MainOrSupportFieldNumber = 4; - private int mainOrSupport_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainOrSupport { - get { return mainOrSupport_; } - set { - mainOrSupport_ = value; - } - } - - /// Field number for the "hitdamage_info" field. - public const int HitdamageInfoFieldNumber = 5; - private string hitdamageInfo_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string HitdamageInfo { - get { return hitdamageInfo_; } - set { - hitdamageInfo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "distance_type" field. - public const int DistanceTypeFieldNumber = 6; - private int distanceType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DistanceType { - get { return distanceType_; } - set { - distanceType_ = value; - } - } - - /// Field number for the "source_type" field. - public const int SourceTypeFieldNumber = 7; - private int sourceType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SourceType { - get { return sourceType_; } - set { - sourceType_ = value; - } - } - - /// Field number for the "damage_type" field. - public const int DamageTypeFieldNumber = 8; - private int damageType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DamageType { - get { return damageType_; } - set { - damageType_ = value; - } - } - - /// Field number for the "effect_type" field. - public const int EffectTypeFieldNumber = 9; - private int effectType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectType { - get { return effectType_; } - set { - effectType_ = value; - } - } - - /// Field number for the "element_type" field. - public const int ElementTypeFieldNumber = 10; - private int elementType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ElementType { - get { return elementType_; } - set { - elementType_ = value; - } - } - - /// Field number for the "damage_tag" field. - public const int DamageTagFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_damageTag_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField damageTag_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField DamageTag { - get { return damageTag_; } - } - - /// Field number for the "damage_bonus_type" field. - public const int DamageBonusTypeFieldNumber = 12; - private int damageBonusType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DamageBonusType { - get { return damageBonusType_; } - set { - damageBonusType_ = value; - } - } - - /// Field number for the "skill_percent_amend" field. - public const int SkillPercentAmendFieldNumber = 13; - private static readonly pb::FieldCodec _repeated_skillPercentAmend_codec - = pb::FieldCodec.ForInt32(106); - private readonly pbc::RepeatedField skillPercentAmend_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SkillPercentAmend { - get { return skillPercentAmend_; } - } - - /// Field number for the "skill_abs_amend" field. - public const int SkillAbsAmendFieldNumber = 14; - private static readonly pb::FieldCodec _repeated_skillAbsAmend_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField skillAbsAmend_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SkillAbsAmend { - get { return skillAbsAmend_; } - } - - /// Field number for the "additional_source" field. - public const int AdditionalSourceFieldNumber = 15; - private int additionalSource_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdditionalSource { - get { return additionalSource_; } - set { - additionalSource_ = value; - } - } - - /// Field number for the "additional_type" field. - public const int AdditionalTypeFieldNumber = 16; - private int additionalType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AdditionalType { - get { return additionalType_; } - set { - additionalType_ = value; - } - } - - /// Field number for the "additional_percent" field. - public const int AdditionalPercentFieldNumber = 17; - private static readonly pb::FieldCodec _repeated_additionalPercent_codec - = pb::FieldCodec.ForInt32(138); - private readonly pbc::RepeatedField additionalPercent_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AdditionalPercent { - get { return additionalPercent_; } - } - - /// Field number for the "energy_charge" field. - public const int EnergyChargeFieldNumber = 18; - private int energyCharge_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyCharge { - get { return energyCharge_; } - set { - energyCharge_ = value; - } - } - - /// Field number for the "talent_percent_amend" field. - public const int TalentPercentAmendFieldNumber = 19; - private static readonly pb::FieldCodec _repeated_talentPercentAmend_codec - = pb::FieldCodec.ForInt32(154); - private readonly pbc::RepeatedField talentPercentAmend_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TalentPercentAmend { - get { return talentPercentAmend_; } - } - - /// Field number for the "talent_abs_amend" field. - public const int TalentAbsAmendFieldNumber = 20; - private static readonly pb::FieldCodec _repeated_talentAbsAmend_codec - = pb::FieldCodec.ForInt32(162); - private readonly pbc::RepeatedField talentAbsAmend_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TalentAbsAmend { - get { return talentAbsAmend_; } - } - - /// Field number for the "is_dense_type" field. - public const int IsDenseTypeFieldNumber = 21; - private bool isDenseType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsDenseType { - get { return isDenseType_; } - set { - isDenseType_ = value; - } - } - - /// Field number for the "perk_intensity" field. - public const int PerkIntensityFieldNumber = 22; - private static readonly pb::FieldCodec _repeated_perkIntensity_codec - = pb::FieldCodec.ForInt32(178); - private readonly pbc::RepeatedField perkIntensity_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PerkIntensity { - get { return perkIntensity_; } - } - - /// Field number for the "skill_id" field. - public const int SkillIdFieldNumber = 23; - private int skillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillId { - get { return skillId_; } - set { - skillId_ = value; - } - } - - /// Field number for the "skill_slot_type" field. - public const int SkillSlotTypeFieldNumber = 24; - private int skillSlotType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillSlotType { - get { return skillSlotType_; } - set { - skillSlotType_ = value; - } - } - - /// Field number for the "perk_id" field. - public const int PerkIdFieldNumber = 25; - private int perkId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PerkId { - get { return perkId_; } - set { - perkId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as HitDamage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(HitDamage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (LevelTypeData != other.LevelTypeData) return false; - if (LevelData != other.LevelData) return false; - if (MainOrSupport != other.MainOrSupport) return false; - if (HitdamageInfo != other.HitdamageInfo) return false; - if (DistanceType != other.DistanceType) return false; - if (SourceType != other.SourceType) return false; - if (DamageType != other.DamageType) return false; - if (EffectType != other.EffectType) return false; - if (ElementType != other.ElementType) return false; - if(!damageTag_.Equals(other.damageTag_)) return false; - if (DamageBonusType != other.DamageBonusType) return false; - if(!skillPercentAmend_.Equals(other.skillPercentAmend_)) return false; - if(!skillAbsAmend_.Equals(other.skillAbsAmend_)) return false; - if (AdditionalSource != other.AdditionalSource) return false; - if (AdditionalType != other.AdditionalType) return false; - if(!additionalPercent_.Equals(other.additionalPercent_)) return false; - if (EnergyCharge != other.EnergyCharge) return false; - if(!talentPercentAmend_.Equals(other.talentPercentAmend_)) return false; - if(!talentAbsAmend_.Equals(other.talentAbsAmend_)) return false; - if (IsDenseType != other.IsDenseType) return false; - if(!perkIntensity_.Equals(other.perkIntensity_)) return false; - if (SkillId != other.SkillId) return false; - if (SkillSlotType != other.SkillSlotType) return false; - if (PerkId != other.PerkId) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); - if (LevelData != 0) hash ^= LevelData.GetHashCode(); - if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); - if (HitdamageInfo.Length != 0) hash ^= HitdamageInfo.GetHashCode(); - if (DistanceType != 0) hash ^= DistanceType.GetHashCode(); - if (SourceType != 0) hash ^= SourceType.GetHashCode(); - if (DamageType != 0) hash ^= DamageType.GetHashCode(); - if (EffectType != 0) hash ^= EffectType.GetHashCode(); - if (ElementType != 0) hash ^= ElementType.GetHashCode(); - hash ^= damageTag_.GetHashCode(); - if (DamageBonusType != 0) hash ^= DamageBonusType.GetHashCode(); - hash ^= skillPercentAmend_.GetHashCode(); - hash ^= skillAbsAmend_.GetHashCode(); - if (AdditionalSource != 0) hash ^= AdditionalSource.GetHashCode(); - if (AdditionalType != 0) hash ^= AdditionalType.GetHashCode(); - hash ^= additionalPercent_.GetHashCode(); - if (EnergyCharge != 0) hash ^= EnergyCharge.GetHashCode(); - hash ^= talentPercentAmend_.GetHashCode(); - hash ^= talentAbsAmend_.GetHashCode(); - if (IsDenseType != false) hash ^= IsDenseType.GetHashCode(); - hash ^= perkIntensity_.GetHashCode(); - if (SkillId != 0) hash ^= SkillId.GetHashCode(); - if (SkillSlotType != 0) hash ^= SkillSlotType.GetHashCode(); - if (PerkId != 0) hash ^= PerkId.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 (LevelTypeData != 0) { - output.WriteRawTag(16); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(32); - output.WriteInt32(MainOrSupport); - } - if (HitdamageInfo.Length != 0) { - output.WriteRawTag(42); - output.WriteString(HitdamageInfo); - } - if (DistanceType != 0) { - output.WriteRawTag(48); - output.WriteInt32(DistanceType); - } - if (SourceType != 0) { - output.WriteRawTag(56); - output.WriteInt32(SourceType); - } - if (DamageType != 0) { - output.WriteRawTag(64); - output.WriteInt32(DamageType); - } - if (EffectType != 0) { - output.WriteRawTag(72); - output.WriteInt32(EffectType); - } - if (ElementType != 0) { - output.WriteRawTag(80); - output.WriteInt32(ElementType); - } - damageTag_.WriteTo(output, _repeated_damageTag_codec); - if (DamageBonusType != 0) { - output.WriteRawTag(96); - output.WriteInt32(DamageBonusType); - } - skillPercentAmend_.WriteTo(output, _repeated_skillPercentAmend_codec); - skillAbsAmend_.WriteTo(output, _repeated_skillAbsAmend_codec); - if (AdditionalSource != 0) { - output.WriteRawTag(120); - output.WriteInt32(AdditionalSource); - } - if (AdditionalType != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AdditionalType); - } - additionalPercent_.WriteTo(output, _repeated_additionalPercent_codec); - if (EnergyCharge != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(EnergyCharge); - } - talentPercentAmend_.WriteTo(output, _repeated_talentPercentAmend_codec); - talentAbsAmend_.WriteTo(output, _repeated_talentAbsAmend_codec); - if (IsDenseType != false) { - output.WriteRawTag(168, 1); - output.WriteBool(IsDenseType); - } - perkIntensity_.WriteTo(output, _repeated_perkIntensity_codec); - if (SkillId != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(SkillId); - } - if (SkillSlotType != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(SkillSlotType); - } - if (PerkId != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(PerkId); - } - 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 (LevelTypeData != 0) { - output.WriteRawTag(16); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(32); - output.WriteInt32(MainOrSupport); - } - if (HitdamageInfo.Length != 0) { - output.WriteRawTag(42); - output.WriteString(HitdamageInfo); - } - if (DistanceType != 0) { - output.WriteRawTag(48); - output.WriteInt32(DistanceType); - } - if (SourceType != 0) { - output.WriteRawTag(56); - output.WriteInt32(SourceType); - } - if (DamageType != 0) { - output.WriteRawTag(64); - output.WriteInt32(DamageType); - } - if (EffectType != 0) { - output.WriteRawTag(72); - output.WriteInt32(EffectType); - } - if (ElementType != 0) { - output.WriteRawTag(80); - output.WriteInt32(ElementType); - } - damageTag_.WriteTo(ref output, _repeated_damageTag_codec); - if (DamageBonusType != 0) { - output.WriteRawTag(96); - output.WriteInt32(DamageBonusType); - } - skillPercentAmend_.WriteTo(ref output, _repeated_skillPercentAmend_codec); - skillAbsAmend_.WriteTo(ref output, _repeated_skillAbsAmend_codec); - if (AdditionalSource != 0) { - output.WriteRawTag(120); - output.WriteInt32(AdditionalSource); - } - if (AdditionalType != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AdditionalType); - } - additionalPercent_.WriteTo(ref output, _repeated_additionalPercent_codec); - if (EnergyCharge != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(EnergyCharge); - } - talentPercentAmend_.WriteTo(ref output, _repeated_talentPercentAmend_codec); - talentAbsAmend_.WriteTo(ref output, _repeated_talentAbsAmend_codec); - if (IsDenseType != false) { - output.WriteRawTag(168, 1); - output.WriteBool(IsDenseType); - } - perkIntensity_.WriteTo(ref output, _repeated_perkIntensity_codec); - if (SkillId != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(SkillId); - } - if (SkillSlotType != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(SkillSlotType); - } - if (PerkId != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(PerkId); - } - 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 (LevelTypeData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); - } - if (LevelData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); - } - if (MainOrSupport != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); - } - if (HitdamageInfo.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HitdamageInfo); - } - if (DistanceType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DistanceType); - } - if (SourceType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceType); - } - if (DamageType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DamageType); - } - if (EffectType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectType); - } - if (ElementType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElementType); - } - size += damageTag_.CalculateSize(_repeated_damageTag_codec); - if (DamageBonusType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DamageBonusType); - } - size += skillPercentAmend_.CalculateSize(_repeated_skillPercentAmend_codec); - size += skillAbsAmend_.CalculateSize(_repeated_skillAbsAmend_codec); - if (AdditionalSource != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdditionalSource); - } - if (AdditionalType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AdditionalType); - } - size += additionalPercent_.CalculateSize(_repeated_additionalPercent_codec); - if (EnergyCharge != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyCharge); - } - size += talentPercentAmend_.CalculateSize(_repeated_talentPercentAmend_codec); - size += talentAbsAmend_.CalculateSize(_repeated_talentAbsAmend_codec); - if (IsDenseType != false) { - size += 2 + 1; - } - size += perkIntensity_.CalculateSize(_repeated_perkIntensity_codec); - if (SkillId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillId); - } - if (SkillSlotType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillSlotType); - } - if (PerkId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PerkId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(HitDamage other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.LevelTypeData != 0) { - LevelTypeData = other.LevelTypeData; - } - if (other.LevelData != 0) { - LevelData = other.LevelData; - } - if (other.MainOrSupport != 0) { - MainOrSupport = other.MainOrSupport; - } - if (other.HitdamageInfo.Length != 0) { - HitdamageInfo = other.HitdamageInfo; - } - if (other.DistanceType != 0) { - DistanceType = other.DistanceType; - } - if (other.SourceType != 0) { - SourceType = other.SourceType; - } - if (other.DamageType != 0) { - DamageType = other.DamageType; - } - if (other.EffectType != 0) { - EffectType = other.EffectType; - } - if (other.ElementType != 0) { - ElementType = other.ElementType; - } - damageTag_.Add(other.damageTag_); - if (other.DamageBonusType != 0) { - DamageBonusType = other.DamageBonusType; - } - skillPercentAmend_.Add(other.skillPercentAmend_); - skillAbsAmend_.Add(other.skillAbsAmend_); - if (other.AdditionalSource != 0) { - AdditionalSource = other.AdditionalSource; - } - if (other.AdditionalType != 0) { - AdditionalType = other.AdditionalType; - } - additionalPercent_.Add(other.additionalPercent_); - if (other.EnergyCharge != 0) { - EnergyCharge = other.EnergyCharge; - } - talentPercentAmend_.Add(other.talentPercentAmend_); - talentAbsAmend_.Add(other.talentAbsAmend_); - if (other.IsDenseType != false) { - IsDenseType = other.IsDenseType; - } - perkIntensity_.Add(other.perkIntensity_); - if (other.SkillId != 0) { - SkillId = other.SkillId; - } - if (other.SkillSlotType != 0) { - SkillSlotType = other.SkillSlotType; - } - if (other.PerkId != 0) { - PerkId = other.PerkId; - } - _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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 24: { - LevelData = input.ReadInt32(); - break; - } - case 32: { - MainOrSupport = input.ReadInt32(); - break; - } - case 42: { - HitdamageInfo = input.ReadString(); - break; - } - case 48: { - DistanceType = input.ReadInt32(); - break; - } - case 56: { - SourceType = input.ReadInt32(); - break; - } - case 64: { - DamageType = input.ReadInt32(); - break; - } - case 72: { - EffectType = input.ReadInt32(); - break; - } - case 80: { - ElementType = input.ReadInt32(); - break; - } - case 90: - case 88: { - damageTag_.AddEntriesFrom(input, _repeated_damageTag_codec); - break; - } - case 96: { - DamageBonusType = input.ReadInt32(); - break; - } - case 106: - case 104: { - skillPercentAmend_.AddEntriesFrom(input, _repeated_skillPercentAmend_codec); - break; - } - case 114: - case 112: { - skillAbsAmend_.AddEntriesFrom(input, _repeated_skillAbsAmend_codec); - break; - } - case 120: { - AdditionalSource = input.ReadInt32(); - break; - } - case 128: { - AdditionalType = input.ReadInt32(); - break; - } - case 138: - case 136: { - additionalPercent_.AddEntriesFrom(input, _repeated_additionalPercent_codec); - break; - } - case 144: { - EnergyCharge = input.ReadInt32(); - break; - } - case 154: - case 152: { - talentPercentAmend_.AddEntriesFrom(input, _repeated_talentPercentAmend_codec); - break; - } - case 162: - case 160: { - talentAbsAmend_.AddEntriesFrom(input, _repeated_talentAbsAmend_codec); - break; - } - case 168: { - IsDenseType = input.ReadBool(); - break; - } - case 178: - case 176: { - perkIntensity_.AddEntriesFrom(input, _repeated_perkIntensity_codec); - break; - } - case 184: { - SkillId = input.ReadInt32(); - break; - } - case 192: { - SkillSlotType = input.ReadInt32(); - break; - } - case 200: { - PerkId = 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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 24: { - LevelData = input.ReadInt32(); - break; - } - case 32: { - MainOrSupport = input.ReadInt32(); - break; - } - case 42: { - HitdamageInfo = input.ReadString(); - break; - } - case 48: { - DistanceType = input.ReadInt32(); - break; - } - case 56: { - SourceType = input.ReadInt32(); - break; - } - case 64: { - DamageType = input.ReadInt32(); - break; - } - case 72: { - EffectType = input.ReadInt32(); - break; - } - case 80: { - ElementType = input.ReadInt32(); - break; - } - case 90: - case 88: { - damageTag_.AddEntriesFrom(ref input, _repeated_damageTag_codec); - break; - } - case 96: { - DamageBonusType = input.ReadInt32(); - break; - } - case 106: - case 104: { - skillPercentAmend_.AddEntriesFrom(ref input, _repeated_skillPercentAmend_codec); - break; - } - case 114: - case 112: { - skillAbsAmend_.AddEntriesFrom(ref input, _repeated_skillAbsAmend_codec); - break; - } - case 120: { - AdditionalSource = input.ReadInt32(); - break; - } - case 128: { - AdditionalType = input.ReadInt32(); - break; - } - case 138: - case 136: { - additionalPercent_.AddEntriesFrom(ref input, _repeated_additionalPercent_codec); - break; - } - case 144: { - EnergyCharge = input.ReadInt32(); - break; - } - case 154: - case 152: { - talentPercentAmend_.AddEntriesFrom(ref input, _repeated_talentPercentAmend_codec); - break; - } - case 162: - case 160: { - talentAbsAmend_.AddEntriesFrom(ref input, _repeated_talentAbsAmend_codec); - break; - } - case 168: { - IsDenseType = input.ReadBool(); - break; - } - case 178: - case 176: { - perkIntensity_.AddEntriesFrom(ref input, _repeated_perkIntensity_codec); - break; - } - case 184: { - SkillId = input.ReadInt32(); - break; - } - case 192: { - SkillSlotType = input.ReadInt32(); - break; - } - case 200: { - PerkId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Honor.cs b/Novaria.Common/Protos/Honor.cs deleted file mode 100644 index 53788cb..0000000 --- a/Novaria.Common/Protos/Honor.cs +++ /dev/null @@ -1,605 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Honor.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 Honor.proto - public static partial class HonorReflection { - - #region Descriptor - /// File descriptor for Honor.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static HonorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtIb25vci5wcm90byK5AQoFSG9ub3ISCgoCaWQYASABKAUSDAoEbmFtZRgC", - "IAEoCRIRCglpc191bmxvY2sYAyABKAgSDAoEdHlwZRgEIAEoBRIQCgh0YWJf", - "dHlwZRgFIAEoBRIOCgZwYXJhbXMYBiADKAUSEAoIcHJpb3RpdHkYByABKAUS", - "EAoIbWFpbl9yZXMYCCABKAkSDwoHc3ViX3JlcxgJIAEoCRIMCgRzb3J0GAog", - "ASgFEhAKCGJfZ190eXBlGAsgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Honor), global::Nova.Client.Honor.Parser, new[]{ "Id", "Name", "IsUnlock", "Type", "TabType", "Params", "Priotity", "MainRes", "SubRes", "Sort", "BGType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Honor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Honor()); - 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.HonorReflection.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 Honor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Honor(Honor other) : this() { - id_ = other.id_; - name_ = other.name_; - isUnlock_ = other.isUnlock_; - type_ = other.type_; - tabType_ = other.tabType_; - params_ = other.params_.Clone(); - priotity_ = other.priotity_; - mainRes_ = other.mainRes_; - subRes_ = other.subRes_; - sort_ = other.sort_; - bGType_ = other.bGType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Honor Clone() { - return new Honor(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 "name" field. - 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"); - } - } - - /// Field number for the "is_unlock" field. - public const int IsUnlockFieldNumber = 3; - private bool isUnlock_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsUnlock { - get { return isUnlock_; } - set { - isUnlock_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 4; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "tab_type" field. - public const int TabTypeFieldNumber = 5; - private int tabType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TabType { - get { return tabType_; } - set { - tabType_ = value; - } - } - - /// Field number for the "params" field. - public const int ParamsFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_params_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField params_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Params { - get { return params_; } - } - - /// Field number for the "priotity" field. - public const int PriotityFieldNumber = 7; - private int priotity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Priotity { - get { return priotity_; } - set { - priotity_ = value; - } - } - - /// Field number for the "main_res" field. - public const int MainResFieldNumber = 8; - private string mainRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MainRes { - get { return mainRes_; } - set { - mainRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sub_res" field. - public const int SubResFieldNumber = 9; - private string subRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SubRes { - get { return subRes_; } - set { - subRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 10; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "b_g_type" field. - public const int BGTypeFieldNumber = 11; - private int bGType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BGType { - get { return bGType_; } - set { - bGType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Honor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Honor 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 (IsUnlock != other.IsUnlock) return false; - if (Type != other.Type) return false; - if (TabType != other.TabType) return false; - if(!params_.Equals(other.params_)) return false; - if (Priotity != other.Priotity) return false; - if (MainRes != other.MainRes) return false; - if (SubRes != other.SubRes) return false; - if (Sort != other.Sort) return false; - if (BGType != other.BGType) 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 (IsUnlock != false) hash ^= IsUnlock.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (TabType != 0) hash ^= TabType.GetHashCode(); - hash ^= params_.GetHashCode(); - if (Priotity != 0) hash ^= Priotity.GetHashCode(); - if (MainRes.Length != 0) hash ^= MainRes.GetHashCode(); - if (SubRes.Length != 0) hash ^= SubRes.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (BGType != 0) hash ^= BGType.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 (IsUnlock != false) { - output.WriteRawTag(24); - output.WriteBool(IsUnlock); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (TabType != 0) { - output.WriteRawTag(40); - output.WriteInt32(TabType); - } - params_.WriteTo(output, _repeated_params_codec); - if (Priotity != 0) { - output.WriteRawTag(56); - output.WriteInt32(Priotity); - } - if (MainRes.Length != 0) { - output.WriteRawTag(66); - output.WriteString(MainRes); - } - if (SubRes.Length != 0) { - output.WriteRawTag(74); - output.WriteString(SubRes); - } - if (Sort != 0) { - output.WriteRawTag(80); - output.WriteInt32(Sort); - } - if (BGType != 0) { - output.WriteRawTag(88); - output.WriteInt32(BGType); - } - 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 (IsUnlock != false) { - output.WriteRawTag(24); - output.WriteBool(IsUnlock); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (TabType != 0) { - output.WriteRawTag(40); - output.WriteInt32(TabType); - } - params_.WriteTo(ref output, _repeated_params_codec); - if (Priotity != 0) { - output.WriteRawTag(56); - output.WriteInt32(Priotity); - } - if (MainRes.Length != 0) { - output.WriteRawTag(66); - output.WriteString(MainRes); - } - if (SubRes.Length != 0) { - output.WriteRawTag(74); - output.WriteString(SubRes); - } - if (Sort != 0) { - output.WriteRawTag(80); - output.WriteInt32(Sort); - } - if (BGType != 0) { - output.WriteRawTag(88); - output.WriteInt32(BGType); - } - 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 (IsUnlock != false) { - size += 1 + 1; - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (TabType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TabType); - } - size += params_.CalculateSize(_repeated_params_codec); - if (Priotity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priotity); - } - if (MainRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MainRes); - } - if (SubRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SubRes); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (BGType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BGType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Honor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.IsUnlock != false) { - IsUnlock = other.IsUnlock; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.TabType != 0) { - TabType = other.TabType; - } - params_.Add(other.params_); - if (other.Priotity != 0) { - Priotity = other.Priotity; - } - if (other.MainRes.Length != 0) { - MainRes = other.MainRes; - } - if (other.SubRes.Length != 0) { - SubRes = other.SubRes; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.BGType != 0) { - BGType = other.BGType; - } - _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: { - IsUnlock = input.ReadBool(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 40: { - TabType = input.ReadInt32(); - break; - } - case 50: - case 48: { - params_.AddEntriesFrom(input, _repeated_params_codec); - break; - } - case 56: { - Priotity = input.ReadInt32(); - break; - } - case 66: { - MainRes = input.ReadString(); - break; - } - case 74: { - SubRes = input.ReadString(); - break; - } - case 80: { - Sort = input.ReadInt32(); - break; - } - case 88: { - BGType = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - IsUnlock = input.ReadBool(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 40: { - TabType = input.ReadInt32(); - break; - } - case 50: - case 48: { - params_.AddEntriesFrom(ref input, _repeated_params_codec); - break; - } - case 56: { - Priotity = input.ReadInt32(); - break; - } - case 66: { - MainRes = input.ReadString(); - break; - } - case 74: { - SubRes = input.ReadString(); - break; - } - case 80: { - Sort = input.ReadInt32(); - break; - } - case 88: { - BGType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/HonorCharacter.cs b/Novaria.Common/Protos/HonorCharacter.cs deleted file mode 100644 index 92c7adf..0000000 --- a/Novaria.Common/Protos/HonorCharacter.cs +++ /dev/null @@ -1,494 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: HonorCharacter.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 HonorCharacter.proto - public static partial class HonorCharacterReflection { - - #region Descriptor - /// File descriptor for HonorCharacter.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static HonorCharacterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRIb25vckNoYXJhY3Rlci5wcm90byKcAQoOSG9ub3JDaGFyYWN0ZXISCgoC", - "aWQYASABKAUSDwoHY2hhcl9pZBgCIAEoBRINCgVsZXZlbBgDIAEoBRITCgti", - "aWdfYmdfcGF0aBgEIAEoCRIVCg1zbWFsbF9iZ19wYXRoGAUgASgJEhIKCnN0", - "YXJfZ3JvdXAYBiADKAUSDAoEc29ydBgHIAEoBRIQCghiX2dfdHlwZRgIIAEo", - "BUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.HonorCharacter), global::Nova.Client.HonorCharacter.Parser, new[]{ "Id", "CharId", "Level", "BigBgPath", "SmallBgPath", "StarGroup", "Sort", "BGType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class HonorCharacter : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HonorCharacter()); - 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.HonorCharacterReflection.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 HonorCharacter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public HonorCharacter(HonorCharacter other) : this() { - id_ = other.id_; - charId_ = other.charId_; - level_ = other.level_; - bigBgPath_ = other.bigBgPath_; - smallBgPath_ = other.smallBgPath_; - starGroup_ = other.starGroup_.Clone(); - sort_ = other.sort_; - bGType_ = other.bGType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public HonorCharacter Clone() { - return new HonorCharacter(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 "char_id" field. - public const int CharIdFieldNumber = 2; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "level" field. - 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; - } - } - - /// Field number for the "big_bg_path" field. - public const int BigBgPathFieldNumber = 4; - private string bigBgPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BigBgPath { - get { return bigBgPath_; } - set { - bigBgPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "small_bg_path" field. - public const int SmallBgPathFieldNumber = 5; - private string smallBgPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SmallBgPath { - get { return smallBgPath_; } - set { - smallBgPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "star_group" field. - public const int StarGroupFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_starGroup_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField starGroup_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField StarGroup { - get { return starGroup_; } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 7; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "b_g_type" field. - public const int BGTypeFieldNumber = 8; - private int bGType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BGType { - get { return bGType_; } - set { - bGType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as HonorCharacter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(HonorCharacter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharId != other.CharId) return false; - if (Level != other.Level) return false; - if (BigBgPath != other.BigBgPath) return false; - if (SmallBgPath != other.SmallBgPath) return false; - if(!starGroup_.Equals(other.starGroup_)) return false; - if (Sort != other.Sort) return false; - if (BGType != other.BGType) 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 (CharId != 0) hash ^= CharId.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (BigBgPath.Length != 0) hash ^= BigBgPath.GetHashCode(); - if (SmallBgPath.Length != 0) hash ^= SmallBgPath.GetHashCode(); - hash ^= starGroup_.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (BGType != 0) hash ^= BGType.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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (Level != 0) { - output.WriteRawTag(24); - output.WriteInt32(Level); - } - if (BigBgPath.Length != 0) { - output.WriteRawTag(34); - output.WriteString(BigBgPath); - } - if (SmallBgPath.Length != 0) { - output.WriteRawTag(42); - output.WriteString(SmallBgPath); - } - starGroup_.WriteTo(output, _repeated_starGroup_codec); - if (Sort != 0) { - output.WriteRawTag(56); - output.WriteInt32(Sort); - } - if (BGType != 0) { - output.WriteRawTag(64); - output.WriteInt32(BGType); - } - 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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (Level != 0) { - output.WriteRawTag(24); - output.WriteInt32(Level); - } - if (BigBgPath.Length != 0) { - output.WriteRawTag(34); - output.WriteString(BigBgPath); - } - if (SmallBgPath.Length != 0) { - output.WriteRawTag(42); - output.WriteString(SmallBgPath); - } - starGroup_.WriteTo(ref output, _repeated_starGroup_codec); - if (Sort != 0) { - output.WriteRawTag(56); - output.WriteInt32(Sort); - } - if (BGType != 0) { - output.WriteRawTag(64); - output.WriteInt32(BGType); - } - 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 (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (BigBgPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BigBgPath); - } - if (SmallBgPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallBgPath); - } - size += starGroup_.CalculateSize(_repeated_starGroup_codec); - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (BGType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BGType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(HonorCharacter other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.BigBgPath.Length != 0) { - BigBgPath = other.BigBgPath; - } - if (other.SmallBgPath.Length != 0) { - SmallBgPath = other.SmallBgPath; - } - starGroup_.Add(other.starGroup_); - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.BGType != 0) { - BGType = other.BGType; - } - _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: { - CharId = input.ReadInt32(); - break; - } - case 24: { - Level = input.ReadInt32(); - break; - } - case 34: { - BigBgPath = input.ReadString(); - break; - } - case 42: { - SmallBgPath = input.ReadString(); - break; - } - case 50: - case 48: { - starGroup_.AddEntriesFrom(input, _repeated_starGroup_codec); - break; - } - case 56: { - Sort = input.ReadInt32(); - break; - } - case 64: { - BGType = 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: { - CharId = input.ReadInt32(); - break; - } - case 24: { - Level = input.ReadInt32(); - break; - } - case 34: { - BigBgPath = input.ReadString(); - break; - } - case 42: { - SmallBgPath = input.ReadString(); - break; - } - case 50: - case 48: { - starGroup_.AddEntriesFrom(ref input, _repeated_starGroup_codec); - break; - } - case 56: { - Sort = input.ReadInt32(); - break; - } - case 64: { - BGType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Ike.cs b/Novaria.Common/Protos/Ike.cs new file mode 100644 index 0000000..c60ec3a --- /dev/null +++ b/Novaria.Common/Protos/Ike.cs @@ -0,0 +1,590 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ike.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 Proto { + + /// Holder for reflection information generated from ike.proto + public static partial class IkeReflection { + + #region Descriptor + /// File descriptor for ike.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static IkeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cglpa2UucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iLgoGSUtFUmVxEg4K", + "BlB1YktleRgBIAEoDBIUCgtOZXh0UGFja2FnZRj/DyABKAwiUAoHSUtFUmVz", + "cBIOCgZQdWJLZXkYASABKAwSDQoFVG9rZW4YAiABKAkSEAoIU2VydmVyVHMY", + "AyABKAMSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.IKEReq), global::Proto.IKEReq.Parser, new[]{ "PubKey", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.IKEResp), global::Proto.IKEResp.Parser, new[]{ "PubKey", "Token", "ServerTs", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IKEReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IKEReq()); + 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::Proto.IkeReflection.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 IKEReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IKEReq(IKEReq other) : this() { + pubKey_ = other.pubKey_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IKEReq Clone() { + return new IKEReq(this); + } + + /// Field number for the "PubKey" field. + public const int PubKeyFieldNumber = 1; + private pb::ByteString pubKey_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString PubKey { + get { return pubKey_; } + set { + pubKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 IKEReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IKEReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PubKey != other.PubKey) return false; + if (NextPackage != other.NextPackage) 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 (PubKey.Length != 0) hash ^= PubKey.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (PubKey.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(PubKey); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (PubKey.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(PubKey); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (PubKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(PubKey); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IKEReq other) { + if (other == null) { + return; + } + if (other.PubKey.Length != 0) { + PubKey = other.PubKey; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + PubKey = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + PubKey = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class IKEResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IKEResp()); + 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::Proto.IkeReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IKEResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IKEResp(IKEResp other) : this() { + pubKey_ = other.pubKey_; + token_ = other.token_; + serverTs_ = other.serverTs_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IKEResp Clone() { + return new IKEResp(this); + } + + /// Field number for the "PubKey" field. + public const int PubKeyFieldNumber = 1; + private pb::ByteString pubKey_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString PubKey { + get { return pubKey_; } + set { + pubKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Token" field. + public const int TokenFieldNumber = 2; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ServerTs" field. + public const int ServerTsFieldNumber = 3; + private long serverTs_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerTs { + get { return serverTs_; } + set { + serverTs_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 IKEResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IKEResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PubKey != other.PubKey) return false; + if (Token != other.Token) return false; + if (ServerTs != other.ServerTs) return false; + if (NextPackage != other.NextPackage) 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 (PubKey.Length != 0) hash ^= PubKey.GetHashCode(); + if (Token.Length != 0) hash ^= Token.GetHashCode(); + if (ServerTs != 0L) hash ^= ServerTs.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (PubKey.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(PubKey); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (ServerTs != 0L) { + output.WriteRawTag(24); + output.WriteInt64(ServerTs); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (PubKey.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(PubKey); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (ServerTs != 0L) { + output.WriteRawTag(24); + output.WriteInt64(ServerTs); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (PubKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(PubKey); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (ServerTs != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ServerTs); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IKEResp other) { + if (other == null) { + return; + } + if (other.PubKey.Length != 0) { + PubKey = other.PubKey; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + if (other.ServerTs != 0L) { + ServerTs = other.ServerTs; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + PubKey = input.ReadBytes(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 24: { + ServerTs = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + PubKey = input.ReadBytes(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 24: { + ServerTs = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTower.cs b/Novaria.Common/Protos/InfinityTower.cs deleted file mode 100644 index 505710b..0000000 --- a/Novaria.Common/Protos/InfinityTower.cs +++ /dev/null @@ -1,494 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTower.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 InfinityTower.proto - public static partial class InfinityTowerReflection { - - #region Descriptor - /// File descriptor for InfinityTower.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNJbmZpbml0eVRvd2VyLnByb3RvIq4BCg1JbmZpbml0eVRvd2VyEgoKAmlk", - "GAEgASgFEgwKBG5hbWUYAiABKAkSFAoMZWxlbWVudF90eXBlGAMgASgFEhwK", - "FGZvcm1hdGlvbl9zY2VuZV9uYW1lGAQgASgJEgoKAmJnGAUgASgJEhoKEnBy", - "ZV90b3dlcl9sZXZlbF9pZBgGIAEoBRIQCghvcGVuX2RheRgHIAMoBRIVCg1v", - "cGVuX2RheV9kZXNjGAggASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTower), global::Nova.Client.InfinityTower.Parser, new[]{ "Id", "Name", "ElementType", "FormationSceneName", "Bg", "PreTowerLevelId", "OpenDay", "OpenDayDesc" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTower : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTower()); - 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.InfinityTowerReflection.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 InfinityTower() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTower(InfinityTower other) : this() { - id_ = other.id_; - name_ = other.name_; - elementType_ = other.elementType_; - formationSceneName_ = other.formationSceneName_; - bg_ = other.bg_; - preTowerLevelId_ = other.preTowerLevelId_; - openDay_ = other.openDay_.Clone(); - openDayDesc_ = other.openDayDesc_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTower Clone() { - return new InfinityTower(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 "name" field. - 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"); - } - } - - /// Field number for the "element_type" field. - public const int ElementTypeFieldNumber = 3; - private int elementType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ElementType { - get { return elementType_; } - set { - elementType_ = value; - } - } - - /// Field number for the "formation_scene_name" field. - public const int FormationSceneNameFieldNumber = 4; - private string formationSceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FormationSceneName { - get { return formationSceneName_; } - set { - formationSceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bg" field. - public const int BgFieldNumber = 5; - private string bg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bg { - get { return bg_; } - set { - bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "pre_tower_level_id" field. - public const int PreTowerLevelIdFieldNumber = 6; - private int preTowerLevelId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreTowerLevelId { - get { return preTowerLevelId_; } - set { - preTowerLevelId_ = value; - } - } - - /// Field number for the "open_day" field. - public const int OpenDayFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_openDay_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField openDay_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField OpenDay { - get { return openDay_; } - } - - /// Field number for the "open_day_desc" field. - public const int OpenDayDescFieldNumber = 8; - private string openDayDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenDayDesc { - get { return openDayDesc_; } - set { - openDayDesc_ = 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 InfinityTower); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTower 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 (ElementType != other.ElementType) return false; - if (FormationSceneName != other.FormationSceneName) return false; - if (Bg != other.Bg) return false; - if (PreTowerLevelId != other.PreTowerLevelId) return false; - if(!openDay_.Equals(other.openDay_)) return false; - if (OpenDayDesc != other.OpenDayDesc) 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 (ElementType != 0) hash ^= ElementType.GetHashCode(); - if (FormationSceneName.Length != 0) hash ^= FormationSceneName.GetHashCode(); - if (Bg.Length != 0) hash ^= Bg.GetHashCode(); - if (PreTowerLevelId != 0) hash ^= PreTowerLevelId.GetHashCode(); - hash ^= openDay_.GetHashCode(); - if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.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 (ElementType != 0) { - output.WriteRawTag(24); - output.WriteInt32(ElementType); - } - if (FormationSceneName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FormationSceneName); - } - if (Bg.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Bg); - } - if (PreTowerLevelId != 0) { - output.WriteRawTag(48); - output.WriteInt32(PreTowerLevelId); - } - openDay_.WriteTo(output, _repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - output.WriteRawTag(66); - output.WriteString(OpenDayDesc); - } - 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 (ElementType != 0) { - output.WriteRawTag(24); - output.WriteInt32(ElementType); - } - if (FormationSceneName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(FormationSceneName); - } - if (Bg.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Bg); - } - if (PreTowerLevelId != 0) { - output.WriteRawTag(48); - output.WriteInt32(PreTowerLevelId); - } - openDay_.WriteTo(ref output, _repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - output.WriteRawTag(66); - output.WriteString(OpenDayDesc); - } - 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 (ElementType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElementType); - } - if (FormationSceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FormationSceneName); - } - if (Bg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); - } - if (PreTowerLevelId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreTowerLevelId); - } - size += openDay_.CalculateSize(_repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTower other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.ElementType != 0) { - ElementType = other.ElementType; - } - if (other.FormationSceneName.Length != 0) { - FormationSceneName = other.FormationSceneName; - } - if (other.Bg.Length != 0) { - Bg = other.Bg; - } - if (other.PreTowerLevelId != 0) { - PreTowerLevelId = other.PreTowerLevelId; - } - openDay_.Add(other.openDay_); - if (other.OpenDayDesc.Length != 0) { - OpenDayDesc = other.OpenDayDesc; - } - _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: { - ElementType = input.ReadInt32(); - break; - } - case 34: { - FormationSceneName = input.ReadString(); - break; - } - case 42: { - Bg = input.ReadString(); - break; - } - case 48: { - PreTowerLevelId = input.ReadInt32(); - break; - } - case 58: - case 56: { - openDay_.AddEntriesFrom(input, _repeated_openDay_codec); - break; - } - case 66: { - OpenDayDesc = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - ElementType = input.ReadInt32(); - break; - } - case 34: { - FormationSceneName = input.ReadString(); - break; - } - case 42: { - Bg = input.ReadString(); - break; - } - case 48: { - PreTowerLevelId = input.ReadInt32(); - break; - } - case 58: - case 56: { - openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec); - break; - } - case 66: { - OpenDayDesc = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerAffix.cs b/Novaria.Common/Protos/InfinityTowerAffix.cs deleted file mode 100644 index ffe1df0..0000000 --- a/Novaria.Common/Protos/InfinityTowerAffix.cs +++ /dev/null @@ -1,420 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerAffix.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 InfinityTowerAffix.proto - public static partial class InfinityTowerAffixReflection { - - #region Descriptor - /// File descriptor for InfinityTowerAffix.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhJbmZpbml0eVRvd2VyQWZmaXgucHJvdG8igAEKEkluZmluaXR5VG93ZXJB", - "ZmZpeBIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEgwKBGRlc2MYAyABKAkS", - "EAoIYWRkX2NhbXAYBCADKAUSGQoRdHJpZ2dlcl9jb25kaXRpb24YBSABKAUS", - "FQoNdHJpZ2dlcl9wYXJhbRgGIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerAffix), global::Nova.Client.InfinityTowerAffix.Parser, new[]{ "Id", "Name", "Desc", "AddCamp", "TriggerCondition", "TriggerParam" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerAffix : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerAffix()); - 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.InfinityTowerAffixReflection.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 InfinityTowerAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerAffix(InfinityTowerAffix other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - addCamp_ = other.addCamp_.Clone(); - triggerCondition_ = other.triggerCondition_; - triggerParam_ = other.triggerParam_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerAffix Clone() { - return new InfinityTowerAffix(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "add_camp" field. - public const int AddCampFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_addCamp_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField addCamp_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AddCamp { - get { return addCamp_; } - } - - /// Field number for the "trigger_condition" field. - public const int TriggerConditionFieldNumber = 5; - private int triggerCondition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TriggerCondition { - get { return triggerCondition_; } - set { - triggerCondition_ = value; - } - } - - /// Field number for the "trigger_param" field. - public const int TriggerParamFieldNumber = 6; - private string triggerParam_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TriggerParam { - get { return triggerParam_; } - set { - triggerParam_ = 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 InfinityTowerAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerAffix 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 (Desc != other.Desc) return false; - if(!addCamp_.Equals(other.addCamp_)) return false; - if (TriggerCondition != other.TriggerCondition) return false; - if (TriggerParam != other.TriggerParam) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - hash ^= addCamp_.GetHashCode(); - if (TriggerCondition != 0) hash ^= TriggerCondition.GetHashCode(); - if (TriggerParam.Length != 0) hash ^= TriggerParam.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - addCamp_.WriteTo(output, _repeated_addCamp_codec); - if (TriggerCondition != 0) { - output.WriteRawTag(40); - output.WriteInt32(TriggerCondition); - } - if (TriggerParam.Length != 0) { - output.WriteRawTag(50); - output.WriteString(TriggerParam); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - addCamp_.WriteTo(ref output, _repeated_addCamp_codec); - if (TriggerCondition != 0) { - output.WriteRawTag(40); - output.WriteInt32(TriggerCondition); - } - if (TriggerParam.Length != 0) { - output.WriteRawTag(50); - output.WriteString(TriggerParam); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - size += addCamp_.CalculateSize(_repeated_addCamp_codec); - if (TriggerCondition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCondition); - } - if (TriggerParam.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerAffix other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - addCamp_.Add(other.addCamp_); - if (other.TriggerCondition != 0) { - TriggerCondition = other.TriggerCondition; - } - if (other.TriggerParam.Length != 0) { - TriggerParam = other.TriggerParam; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 34: - case 32: { - addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec); - break; - } - case 40: { - TriggerCondition = input.ReadInt32(); - break; - } - case 50: { - TriggerParam = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: - case 32: { - addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec); - break; - } - case 40: { - TriggerCondition = input.ReadInt32(); - break; - } - case 50: { - TriggerParam = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DropObjectGroup.cs b/Novaria.Common/Protos/InfinityTowerApply.cs similarity index 62% rename from Novaria.Common/Protos/DropObjectGroup.cs rename to Novaria.Common/Protos/InfinityTowerApply.cs index d627e4c..5da84cf 100644 --- a/Novaria.Common/Protos/DropObjectGroup.cs +++ b/Novaria.Common/Protos/InfinityTowerApply.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DropObjectGroup.proto +// source: infinity_tower_apply.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from DropObjectGroup.proto - public static partial class DropObjectGroupReflection { + /// Holder for reflection information generated from infinity_tower_apply.proto + public static partial class InfinityTowerApplyReflection { #region Descriptor - /// File descriptor for DropObjectGroup.proto + /// File descriptor for infinity_tower_apply.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static DropObjectGroupReflection() { + static InfinityTowerApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChVEcm9wT2JqZWN0R3JvdXAucHJvdG8iVwoPRHJvcE9iamVjdEdyb3VwEhwK", - "FGRyb3Bfb2JqZWN0X2dyb3VwX2lkGAEgASgFEhYKDmRyb3Bfb2JqZWN0X2lk", - "GAIgASgFEg4KBndlaWdodBgDIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); + "ChppbmZpbml0eV90b3dlcl9hcHBseS5wcm90bxIFcHJvdG8aDHB1YmxpYy5w", + "cm90byJPChVJbmZpbml0eVRvd2VyQXBwbHlSZXESDwoHTGV2ZWxJZBgBIAEo", + "DRIPCgdCdWlsZElkGAIgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropObjectGroup), global::Nova.Client.DropObjectGroup.Parser, new[]{ "DropObjectGroupId", "DropObjectId", "Weight" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerApplyReq), global::Proto.InfinityTowerApplyReq.Parser, new[]{ "LevelId", "BuildId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DropObjectGroup : pb::IMessage + public sealed partial class InfinityTowerApplyReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DropObjectGroup()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.DropObjectGroupReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.InfinityTowerApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropObjectGroup() { + public InfinityTowerApplyReq() { OnConstruction(); } @@ -72,73 +72,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropObjectGroup(DropObjectGroup other) : this() { - dropObjectGroupId_ = other.dropObjectGroupId_; - dropObjectId_ = other.dropObjectId_; - weight_ = other.weight_; + public InfinityTowerApplyReq(InfinityTowerApplyReq other) : this() { + levelId_ = other.levelId_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropObjectGroup Clone() { - return new DropObjectGroup(this); + public InfinityTowerApplyReq Clone() { + return new InfinityTowerApplyReq(this); } - /// Field number for the "drop_object_group_id" field. - public const int DropObjectGroupIdFieldNumber = 1; - private int dropObjectGroupId_; + /// Field number for the "LevelId" field. + public const int LevelIdFieldNumber = 1; + private uint levelId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropObjectGroupId { - get { return dropObjectGroupId_; } + public uint LevelId { + get { return levelId_; } set { - dropObjectGroupId_ = value; + levelId_ = value; } } - /// Field number for the "drop_object_id" field. - public const int DropObjectIdFieldNumber = 2; - private int dropObjectId_; + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 2; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropObjectId { - get { return dropObjectId_; } + public ulong BuildId { + get { return buildId_; } set { - dropObjectId_ = value; + buildId_ = value; } } - /// Field number for the "weight" field. - public const int WeightFieldNumber = 3; - private int weight_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - weight_ = value; + nextPackage_ = 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 DropObjectGroup); + return Equals(other as InfinityTowerApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DropObjectGroup other) { + public bool Equals(InfinityTowerApplyReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (DropObjectGroupId != other.DropObjectGroupId) return false; - if (DropObjectId != other.DropObjectId) return false; - if (Weight != other.Weight) return false; + if (LevelId != other.LevelId) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -146,9 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (DropObjectGroupId != 0) hash ^= DropObjectGroupId.GetHashCode(); - if (DropObjectId != 0) hash ^= DropObjectId.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); + if (LevelId != 0) hash ^= LevelId.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -167,17 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (DropObjectGroupId != 0) { + if (LevelId != 0) { output.WriteRawTag(8); - output.WriteInt32(DropObjectGroupId); + output.WriteUInt32(LevelId); } - if (DropObjectId != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(DropObjectId); + output.WriteUInt64(BuildId); } - if (Weight != 0) { - output.WriteRawTag(24); - output.WriteInt32(Weight); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -189,17 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (DropObjectGroupId != 0) { + if (LevelId != 0) { output.WriteRawTag(8); - output.WriteInt32(DropObjectGroupId); + output.WriteUInt32(LevelId); } - if (DropObjectId != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(DropObjectId); + output.WriteUInt64(BuildId); } - if (Weight != 0) { - output.WriteRawTag(24); - output.WriteInt32(Weight); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -211,14 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (DropObjectGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectGroupId); + if (LevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LevelId); } - if (DropObjectId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectId); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (Weight != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -228,18 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DropObjectGroup other) { + public void MergeFrom(InfinityTowerApplyReq other) { if (other == null) { return; } - if (other.DropObjectGroupId != 0) { - DropObjectGroupId = other.DropObjectGroupId; + if (other.LevelId != 0) { + LevelId = other.LevelId; } - if (other.DropObjectId != 0) { - DropObjectId = other.DropObjectId; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.Weight != 0) { - Weight = other.Weight; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -261,15 +261,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - DropObjectGroupId = input.ReadInt32(); + LevelId = input.ReadUInt32(); break; } case 16: { - DropObjectId = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - Weight = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -292,15 +292,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - DropObjectGroupId = input.ReadInt32(); + LevelId = input.ReadUInt32(); break; } case 16: { - DropObjectId = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - Weight = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/InfinityTowerBountyLevel.cs b/Novaria.Common/Protos/InfinityTowerBountyLevel.cs deleted file mode 100644 index 52e4ed9..0000000 --- a/Novaria.Common/Protos/InfinityTowerBountyLevel.cs +++ /dev/null @@ -1,738 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerBountyLevel.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 InfinityTowerBountyLevel.proto - public static partial class InfinityTowerBountyLevelReflection { - - #region Descriptor - /// File descriptor for InfinityTowerBountyLevel.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerBountyLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5JbmZpbml0eVRvd2VyQm91bnR5TGV2ZWwucHJvdG8ipgIKGEluZmluaXR5", - "VG93ZXJCb3VudHlMZXZlbBIKCgJpZBgBIAEoBRINCgVsZXZlbBgCIAEoBRIM", - "CgRuYW1lGAMgASgJEgwKBGljb24YBCABKAkSFgoOcmV3YXJkX2Ryb3BfaWQY", - "BSABKAUSEwoLcmV3YXJkX3Nob3cYBiABKAkSDQoFY29uZDEYByABKAUSEwoL", - "Y29uZF9wYXJhbTEYCCADKAUSEgoKY29uZF9kZXNjMRgJIAEoCRINCgVjb25k", - "MhgKIAEoBRITCgtjb25kX3BhcmFtMhgLIAMoBRISCgpjb25kX2Rlc2MyGAwg", - "ASgJEg0KBWNvbmQzGA0gASgFEhMKC2NvbmRfcGFyYW0zGA4gAygFEhIKCmNv", - "bmRfZGVzYzMYDyABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerBountyLevel), global::Nova.Client.InfinityTowerBountyLevel.Parser, new[]{ "Id", "Level", "Name", "Icon", "RewardDropId", "RewardShow", "Cond1", "CondParam1", "CondDesc1", "Cond2", "CondParam2", "CondDesc2", "Cond3", "CondParam3", "CondDesc3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerBountyLevel : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerBountyLevel()); - 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.InfinityTowerBountyLevelReflection.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 InfinityTowerBountyLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerBountyLevel(InfinityTowerBountyLevel other) : this() { - id_ = other.id_; - level_ = other.level_; - name_ = other.name_; - icon_ = other.icon_; - rewardDropId_ = other.rewardDropId_; - rewardShow_ = other.rewardShow_; - cond1_ = other.cond1_; - condParam1_ = other.condParam1_.Clone(); - condDesc1_ = other.condDesc1_; - cond2_ = other.cond2_; - condParam2_ = other.condParam2_.Clone(); - condDesc2_ = other.condDesc2_; - cond3_ = other.cond3_; - condParam3_ = other.condParam3_.Clone(); - condDesc3_ = other.condDesc3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerBountyLevel Clone() { - return new InfinityTowerBountyLevel(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 "level" field. - public const int LevelFieldNumber = 2; - private int level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 "icon" field. - public const int IconFieldNumber = 4; - 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 "reward_drop_id" field. - public const int RewardDropIdFieldNumber = 5; - private int rewardDropId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardDropId { - get { return rewardDropId_; } - set { - rewardDropId_ = value; - } - } - - /// Field number for the "reward_show" field. - public const int RewardShowFieldNumber = 6; - private string rewardShow_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardShow { - get { return rewardShow_; } - set { - rewardShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cond1" field. - public const int Cond1FieldNumber = 7; - private int cond1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Cond1 { - get { return cond1_; } - set { - cond1_ = value; - } - } - - /// Field number for the "cond_param1" field. - public const int CondParam1FieldNumber = 8; - private static readonly pb::FieldCodec _repeated_condParam1_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField condParam1_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CondParam1 { - get { return condParam1_; } - } - - /// Field number for the "cond_desc1" field. - public const int CondDesc1FieldNumber = 9; - private string condDesc1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CondDesc1 { - get { return condDesc1_; } - set { - condDesc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cond2" field. - public const int Cond2FieldNumber = 10; - private int cond2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Cond2 { - get { return cond2_; } - set { - cond2_ = value; - } - } - - /// Field number for the "cond_param2" field. - public const int CondParam2FieldNumber = 11; - private static readonly pb::FieldCodec _repeated_condParam2_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField condParam2_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CondParam2 { - get { return condParam2_; } - } - - /// Field number for the "cond_desc2" field. - public const int CondDesc2FieldNumber = 12; - private string condDesc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CondDesc2 { - get { return condDesc2_; } - set { - condDesc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "cond3" field. - public const int Cond3FieldNumber = 13; - private int cond3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Cond3 { - get { return cond3_; } - set { - cond3_ = value; - } - } - - /// Field number for the "cond_param3" field. - public const int CondParam3FieldNumber = 14; - private static readonly pb::FieldCodec _repeated_condParam3_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField condParam3_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CondParam3 { - get { return condParam3_; } - } - - /// Field number for the "cond_desc3" field. - public const int CondDesc3FieldNumber = 15; - private string condDesc3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CondDesc3 { - get { return condDesc3_; } - set { - condDesc3_ = 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 InfinityTowerBountyLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerBountyLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Level != other.Level) return false; - if (Name != other.Name) return false; - if (Icon != other.Icon) return false; - if (RewardDropId != other.RewardDropId) return false; - if (RewardShow != other.RewardShow) return false; - if (Cond1 != other.Cond1) return false; - if(!condParam1_.Equals(other.condParam1_)) return false; - if (CondDesc1 != other.CondDesc1) return false; - if (Cond2 != other.Cond2) return false; - if(!condParam2_.Equals(other.condParam2_)) return false; - if (CondDesc2 != other.CondDesc2) return false; - if (Cond3 != other.Cond3) return false; - if(!condParam3_.Equals(other.condParam3_)) return false; - if (CondDesc3 != other.CondDesc3) 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 (Level != 0) hash ^= Level.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (RewardDropId != 0) hash ^= RewardDropId.GetHashCode(); - if (RewardShow.Length != 0) hash ^= RewardShow.GetHashCode(); - if (Cond1 != 0) hash ^= Cond1.GetHashCode(); - hash ^= condParam1_.GetHashCode(); - if (CondDesc1.Length != 0) hash ^= CondDesc1.GetHashCode(); - if (Cond2 != 0) hash ^= Cond2.GetHashCode(); - hash ^= condParam2_.GetHashCode(); - if (CondDesc2.Length != 0) hash ^= CondDesc2.GetHashCode(); - if (Cond3 != 0) hash ^= Cond3.GetHashCode(); - hash ^= condParam3_.GetHashCode(); - if (CondDesc3.Length != 0) hash ^= CondDesc3.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 (Level != 0) { - output.WriteRawTag(16); - output.WriteInt32(Level); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (RewardDropId != 0) { - output.WriteRawTag(40); - output.WriteInt32(RewardDropId); - } - if (RewardShow.Length != 0) { - output.WriteRawTag(50); - output.WriteString(RewardShow); - } - if (Cond1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Cond1); - } - condParam1_.WriteTo(output, _repeated_condParam1_codec); - if (CondDesc1.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CondDesc1); - } - if (Cond2 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Cond2); - } - condParam2_.WriteTo(output, _repeated_condParam2_codec); - if (CondDesc2.Length != 0) { - output.WriteRawTag(98); - output.WriteString(CondDesc2); - } - if (Cond3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Cond3); - } - condParam3_.WriteTo(output, _repeated_condParam3_codec); - if (CondDesc3.Length != 0) { - output.WriteRawTag(122); - output.WriteString(CondDesc3); - } - 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 (Level != 0) { - output.WriteRawTag(16); - output.WriteInt32(Level); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (RewardDropId != 0) { - output.WriteRawTag(40); - output.WriteInt32(RewardDropId); - } - if (RewardShow.Length != 0) { - output.WriteRawTag(50); - output.WriteString(RewardShow); - } - if (Cond1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Cond1); - } - condParam1_.WriteTo(ref output, _repeated_condParam1_codec); - if (CondDesc1.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CondDesc1); - } - if (Cond2 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Cond2); - } - condParam2_.WriteTo(ref output, _repeated_condParam2_codec); - if (CondDesc2.Length != 0) { - output.WriteRawTag(98); - output.WriteString(CondDesc2); - } - if (Cond3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Cond3); - } - condParam3_.WriteTo(ref output, _repeated_condParam3_codec); - if (CondDesc3.Length != 0) { - output.WriteRawTag(122); - output.WriteString(CondDesc3); - } - 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 (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (RewardDropId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardDropId); - } - if (RewardShow.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardShow); - } - if (Cond1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond1); - } - size += condParam1_.CalculateSize(_repeated_condParam1_codec); - if (CondDesc1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc1); - } - if (Cond2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond2); - } - size += condParam2_.CalculateSize(_repeated_condParam2_codec); - if (CondDesc2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc2); - } - if (Cond3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond3); - } - size += condParam3_.CalculateSize(_repeated_condParam3_codec); - if (CondDesc3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerBountyLevel other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.RewardDropId != 0) { - RewardDropId = other.RewardDropId; - } - if (other.RewardShow.Length != 0) { - RewardShow = other.RewardShow; - } - if (other.Cond1 != 0) { - Cond1 = other.Cond1; - } - condParam1_.Add(other.condParam1_); - if (other.CondDesc1.Length != 0) { - CondDesc1 = other.CondDesc1; - } - if (other.Cond2 != 0) { - Cond2 = other.Cond2; - } - condParam2_.Add(other.condParam2_); - if (other.CondDesc2.Length != 0) { - CondDesc2 = other.CondDesc2; - } - if (other.Cond3 != 0) { - Cond3 = other.Cond3; - } - condParam3_.Add(other.condParam3_); - if (other.CondDesc3.Length != 0) { - CondDesc3 = other.CondDesc3; - } - _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: { - Level = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 40: { - RewardDropId = input.ReadInt32(); - break; - } - case 50: { - RewardShow = input.ReadString(); - break; - } - case 56: { - Cond1 = input.ReadInt32(); - break; - } - case 66: - case 64: { - condParam1_.AddEntriesFrom(input, _repeated_condParam1_codec); - break; - } - case 74: { - CondDesc1 = input.ReadString(); - break; - } - case 80: { - Cond2 = input.ReadInt32(); - break; - } - case 90: - case 88: { - condParam2_.AddEntriesFrom(input, _repeated_condParam2_codec); - break; - } - case 98: { - CondDesc2 = input.ReadString(); - break; - } - case 104: { - Cond3 = input.ReadInt32(); - break; - } - case 114: - case 112: { - condParam3_.AddEntriesFrom(input, _repeated_condParam3_codec); - break; - } - case 122: { - CondDesc3 = 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: { - Level = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 40: { - RewardDropId = input.ReadInt32(); - break; - } - case 50: { - RewardShow = input.ReadString(); - break; - } - case 56: { - Cond1 = input.ReadInt32(); - break; - } - case 66: - case 64: { - condParam1_.AddEntriesFrom(ref input, _repeated_condParam1_codec); - break; - } - case 74: { - CondDesc1 = input.ReadString(); - break; - } - case 80: { - Cond2 = input.ReadInt32(); - break; - } - case 90: - case 88: { - condParam2_.AddEntriesFrom(ref input, _repeated_condParam2_codec); - break; - } - case 98: { - CondDesc2 = input.ReadString(); - break; - } - case 104: { - Cond3 = input.ReadInt32(); - break; - } - case 114: - case 112: { - condParam3_.AddEntriesFrom(ref input, _repeated_condParam3_codec); - break; - } - case 122: { - CondDesc3 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerDailyRewardReceive.cs b/Novaria.Common/Protos/InfinityTowerDailyRewardReceive.cs new file mode 100644 index 0000000..ec2be4f --- /dev/null +++ b/Novaria.Common/Protos/InfinityTowerDailyRewardReceive.cs @@ -0,0 +1,316 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: infinity_tower_daily_reward_receive.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 Proto { + + /// Holder for reflection information generated from infinity_tower_daily_reward_receive.proto + public static partial class InfinityTowerDailyRewardReceiveReflection { + + #region Descriptor + /// File descriptor for infinity_tower_daily_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static InfinityTowerDailyRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CilpbmZpbml0eV90b3dlcl9kYWlseV9yZXdhcmRfcmVjZWl2ZS5wcm90bxIF", + "cHJvdG8aDHB1YmxpYy5wcm90byJ8CiNJbmZpbml0eVRvd2VyRGFpbHlSZXdh", + "cmRSZWNlaXZlUmVzcBIcCgRTaG93GAEgAygLMg4ucHJvdG8uSXRlbVRwbBIh", + "CgZDaGFuZ2UYAiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerDailyRewardReceiveResp), global::Proto.InfinityTowerDailyRewardReceiveResp.Parser, new[]{ "Show", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerDailyRewardReceiveResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerDailyRewardReceiveResp()); + 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::Proto.InfinityTowerDailyRewardReceiveReflection.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 InfinityTowerDailyRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerDailyRewardReceiveResp(InfinityTowerDailyRewardReceiveResp other) : this() { + show_ = other.show_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerDailyRewardReceiveResp Clone() { + return new InfinityTowerDailyRewardReceiveResp(this); + } + + /// Field number for the "Show" field. + public const int ShowFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_show_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField show_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Show { + get { return show_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InfinityTowerDailyRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerDailyRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!show_.Equals(other.show_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= show_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + show_.WriteTo(output, _repeated_show_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + show_.WriteTo(ref output, _repeated_show_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += show_.CalculateSize(_repeated_show_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerDailyRewardReceiveResp other) { + if (other == null) { + return; + } + show_.Add(other.show_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + show_.AddEntriesFrom(input, _repeated_show_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + show_.AddEntriesFrom(ref input, _repeated_show_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerDifficulty.cs b/Novaria.Common/Protos/InfinityTowerDifficulty.cs deleted file mode 100644 index 84036ac..0000000 --- a/Novaria.Common/Protos/InfinityTowerDifficulty.cs +++ /dev/null @@ -1,504 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerDifficulty.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 InfinityTowerDifficulty.proto - public static partial class InfinityTowerDifficultyReflection { - - #region Descriptor - /// File descriptor for InfinityTowerDifficulty.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerDifficultyReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1JbmZpbml0eVRvd2VyRGlmZmljdWx0eS5wcm90byKzAQoXSW5maW5pdHlU", - "b3dlckRpZmZpY3VsdHkSCgoCaWQYASABKAUSDAoEbmFtZRgCIAEoCRIQCgh0", - "b3dlcl9pZBgDIAEoBRIaChJ1bmxvY2tfd29ybGRfY2xhc3MYBCABKAUSEwoL", - "dW5sb2NrX3RpcHMYBSABKAkSFAoMaXNfY2hhbGxlbmdlGAYgASgIEhcKD3Jl", - "Y29tbWVuZF9sZXZlbBgHIAEoBRIMCgRzb3J0GAggASgFQg6qAgtOb3ZhLkNs", - "aWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerDifficulty), global::Nova.Client.InfinityTowerDifficulty.Parser, new[]{ "Id", "Name", "TowerId", "UnlockWorldClass", "UnlockTips", "IsChallenge", "RecommendLevel", "Sort" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerDifficulty : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerDifficulty()); - 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.InfinityTowerDifficultyReflection.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 InfinityTowerDifficulty() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerDifficulty(InfinityTowerDifficulty other) : this() { - id_ = other.id_; - name_ = other.name_; - towerId_ = other.towerId_; - unlockWorldClass_ = other.unlockWorldClass_; - unlockTips_ = other.unlockTips_; - isChallenge_ = other.isChallenge_; - recommendLevel_ = other.recommendLevel_; - sort_ = other.sort_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerDifficulty Clone() { - return new InfinityTowerDifficulty(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 "name" field. - 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"); - } - } - - /// Field number for the "tower_id" field. - public const int TowerIdFieldNumber = 3; - private int towerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TowerId { - get { return towerId_; } - set { - towerId_ = value; - } - } - - /// Field number for the "unlock_world_class" field. - public const int UnlockWorldClassFieldNumber = 4; - private int unlockWorldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockWorldClass { - get { return unlockWorldClass_; } - set { - unlockWorldClass_ = value; - } - } - - /// Field number for the "unlock_tips" field. - public const int UnlockTipsFieldNumber = 5; - private string unlockTips_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockTips { - get { return unlockTips_; } - set { - unlockTips_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "is_challenge" field. - public const int IsChallengeFieldNumber = 6; - private bool isChallenge_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsChallenge { - get { return isChallenge_; } - set { - isChallenge_ = value; - } - } - - /// Field number for the "recommend_level" field. - public const int RecommendLevelFieldNumber = 7; - private int recommendLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendLevel { - get { return recommendLevel_; } - set { - recommendLevel_ = value; - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 8; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as InfinityTowerDifficulty); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerDifficulty 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 (TowerId != other.TowerId) return false; - if (UnlockWorldClass != other.UnlockWorldClass) return false; - if (UnlockTips != other.UnlockTips) return false; - if (IsChallenge != other.IsChallenge) return false; - if (RecommendLevel != other.RecommendLevel) return false; - if (Sort != other.Sort) 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 (TowerId != 0) hash ^= TowerId.GetHashCode(); - if (UnlockWorldClass != 0) hash ^= UnlockWorldClass.GetHashCode(); - if (UnlockTips.Length != 0) hash ^= UnlockTips.GetHashCode(); - if (IsChallenge != false) hash ^= IsChallenge.GetHashCode(); - if (RecommendLevel != 0) hash ^= RecommendLevel.GetHashCode(); - if (Sort != 0) hash ^= Sort.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 (TowerId != 0) { - output.WriteRawTag(24); - output.WriteInt32(TowerId); - } - if (UnlockWorldClass != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockWorldClass); - } - if (UnlockTips.Length != 0) { - output.WriteRawTag(42); - output.WriteString(UnlockTips); - } - if (IsChallenge != false) { - output.WriteRawTag(48); - output.WriteBool(IsChallenge); - } - if (RecommendLevel != 0) { - output.WriteRawTag(56); - output.WriteInt32(RecommendLevel); - } - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - 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 (TowerId != 0) { - output.WriteRawTag(24); - output.WriteInt32(TowerId); - } - if (UnlockWorldClass != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockWorldClass); - } - if (UnlockTips.Length != 0) { - output.WriteRawTag(42); - output.WriteString(UnlockTips); - } - if (IsChallenge != false) { - output.WriteRawTag(48); - output.WriteBool(IsChallenge); - } - if (RecommendLevel != 0) { - output.WriteRawTag(56); - output.WriteInt32(RecommendLevel); - } - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - 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 (TowerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TowerId); - } - if (UnlockWorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldClass); - } - if (UnlockTips.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockTips); - } - if (IsChallenge != false) { - size += 1 + 1; - } - if (RecommendLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendLevel); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerDifficulty other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.TowerId != 0) { - TowerId = other.TowerId; - } - if (other.UnlockWorldClass != 0) { - UnlockWorldClass = other.UnlockWorldClass; - } - if (other.UnlockTips.Length != 0) { - UnlockTips = other.UnlockTips; - } - if (other.IsChallenge != false) { - IsChallenge = other.IsChallenge; - } - if (other.RecommendLevel != 0) { - RecommendLevel = other.RecommendLevel; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - _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: { - TowerId = input.ReadInt32(); - break; - } - case 32: { - UnlockWorldClass = input.ReadInt32(); - break; - } - case 42: { - UnlockTips = input.ReadString(); - break; - } - case 48: { - IsChallenge = input.ReadBool(); - break; - } - case 56: { - RecommendLevel = input.ReadInt32(); - break; - } - case 64: { - Sort = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - TowerId = input.ReadInt32(); - break; - } - case 32: { - UnlockWorldClass = input.ReadInt32(); - break; - } - case 42: { - UnlockTips = input.ReadString(); - break; - } - case 48: { - IsChallenge = input.ReadBool(); - break; - } - case 56: { - RecommendLevel = input.ReadInt32(); - break; - } - case 64: { - Sort = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerEnemySet.cs b/Novaria.Common/Protos/InfinityTowerEnemySet.cs deleted file mode 100644 index c91fa10..0000000 --- a/Novaria.Common/Protos/InfinityTowerEnemySet.cs +++ /dev/null @@ -1,504 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerEnemySet.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 InfinityTowerEnemySet.proto - public static partial class InfinityTowerEnemySetReflection { - - #region Descriptor - /// File descriptor for InfinityTowerEnemySet.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerEnemySetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtJbmZpbml0eVRvd2VyRW5lbXlTZXQucHJvdG8ivwEKFUluZmluaXR5VG93", - "ZXJFbmVteVNldBIOCgZzZXRfaWQYASABKAUSEAoId2F2ZV9udW0YAiABKAUS", - "EQoJZ3JvdXBfbnVtGAMgASgFEg8KB21heF9udW0YBCABKAUSGAoQbWF4X251", - "bV9wZXJfd2F2ZRgFIAEoBRISCgptb25zdGVyX2lkGAYgASgFEhQKDGxldmVs", - "X2NoYW5nZRgHIAEoBRIcChRjb21tb25fZ2FtZXBsYXlfdHlwZRgIIAEoBUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerEnemySet), global::Nova.Client.InfinityTowerEnemySet.Parser, new[]{ "SetId", "WaveNum", "GroupNum", "MaxNum", "MaxNumPerWave", "MonsterId", "LevelChange", "CommonGameplayType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerEnemySet : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerEnemySet()); - 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.InfinityTowerEnemySetReflection.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 InfinityTowerEnemySet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerEnemySet(InfinityTowerEnemySet other) : this() { - setId_ = other.setId_; - waveNum_ = other.waveNum_; - groupNum_ = other.groupNum_; - maxNum_ = other.maxNum_; - maxNumPerWave_ = other.maxNumPerWave_; - monsterId_ = other.monsterId_; - levelChange_ = other.levelChange_; - commonGameplayType_ = other.commonGameplayType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerEnemySet Clone() { - return new InfinityTowerEnemySet(this); - } - - /// Field number for the "set_id" field. - public const int SetIdFieldNumber = 1; - private int setId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SetId { - get { return setId_; } - set { - setId_ = value; - } - } - - /// Field number for the "wave_num" field. - public const int WaveNumFieldNumber = 2; - private int waveNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WaveNum { - get { return waveNum_; } - set { - waveNum_ = value; - } - } - - /// Field number for the "group_num" field. - public const int GroupNumFieldNumber = 3; - private int groupNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupNum { - get { return groupNum_; } - set { - groupNum_ = value; - } - } - - /// Field number for the "max_num" field. - public const int MaxNumFieldNumber = 4; - private int maxNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxNum { - get { return maxNum_; } - set { - maxNum_ = value; - } - } - - /// Field number for the "max_num_per_wave" field. - public const int MaxNumPerWaveFieldNumber = 5; - private int maxNumPerWave_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxNumPerWave { - get { return maxNumPerWave_; } - set { - maxNumPerWave_ = value; - } - } - - /// Field number for the "monster_id" field. - public const int MonsterIdFieldNumber = 6; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// Field number for the "level_change" field. - public const int LevelChangeFieldNumber = 7; - private int levelChange_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelChange { - get { return levelChange_; } - set { - levelChange_ = value; - } - } - - /// Field number for the "common_gameplay_type" field. - public const int CommonGameplayTypeFieldNumber = 8; - private int commonGameplayType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CommonGameplayType { - get { return commonGameplayType_; } - set { - commonGameplayType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as InfinityTowerEnemySet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerEnemySet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SetId != other.SetId) return false; - if (WaveNum != other.WaveNum) return false; - if (GroupNum != other.GroupNum) return false; - if (MaxNum != other.MaxNum) return false; - if (MaxNumPerWave != other.MaxNumPerWave) return false; - if (MonsterId != other.MonsterId) return false; - if (LevelChange != other.LevelChange) return false; - if (CommonGameplayType != other.CommonGameplayType) 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 (SetId != 0) hash ^= SetId.GetHashCode(); - if (WaveNum != 0) hash ^= WaveNum.GetHashCode(); - if (GroupNum != 0) hash ^= GroupNum.GetHashCode(); - if (MaxNum != 0) hash ^= MaxNum.GetHashCode(); - if (MaxNumPerWave != 0) hash ^= MaxNumPerWave.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (LevelChange != 0) hash ^= LevelChange.GetHashCode(); - if (CommonGameplayType != 0) hash ^= CommonGameplayType.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 (SetId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SetId); - } - if (WaveNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(WaveNum); - } - if (GroupNum != 0) { - output.WriteRawTag(24); - output.WriteInt32(GroupNum); - } - if (MaxNum != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxNum); - } - if (MaxNumPerWave != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxNumPerWave); - } - if (MonsterId != 0) { - output.WriteRawTag(48); - output.WriteInt32(MonsterId); - } - if (LevelChange != 0) { - output.WriteRawTag(56); - output.WriteInt32(LevelChange); - } - if (CommonGameplayType != 0) { - output.WriteRawTag(64); - output.WriteInt32(CommonGameplayType); - } - 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 (SetId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SetId); - } - if (WaveNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(WaveNum); - } - if (GroupNum != 0) { - output.WriteRawTag(24); - output.WriteInt32(GroupNum); - } - if (MaxNum != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxNum); - } - if (MaxNumPerWave != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxNumPerWave); - } - if (MonsterId != 0) { - output.WriteRawTag(48); - output.WriteInt32(MonsterId); - } - if (LevelChange != 0) { - output.WriteRawTag(56); - output.WriteInt32(LevelChange); - } - if (CommonGameplayType != 0) { - output.WriteRawTag(64); - output.WriteInt32(CommonGameplayType); - } - 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 (SetId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); - } - if (WaveNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum); - } - if (GroupNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupNum); - } - if (MaxNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum); - } - if (MaxNumPerWave != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerWave); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (LevelChange != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelChange); - } - if (CommonGameplayType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CommonGameplayType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerEnemySet other) { - if (other == null) { - return; - } - if (other.SetId != 0) { - SetId = other.SetId; - } - if (other.WaveNum != 0) { - WaveNum = other.WaveNum; - } - if (other.GroupNum != 0) { - GroupNum = other.GroupNum; - } - if (other.MaxNum != 0) { - MaxNum = other.MaxNum; - } - if (other.MaxNumPerWave != 0) { - MaxNumPerWave = other.MaxNumPerWave; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.LevelChange != 0) { - LevelChange = other.LevelChange; - } - if (other.CommonGameplayType != 0) { - CommonGameplayType = other.CommonGameplayType; - } - _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: { - SetId = input.ReadInt32(); - break; - } - case 16: { - WaveNum = input.ReadInt32(); - break; - } - case 24: { - GroupNum = input.ReadInt32(); - break; - } - case 32: { - MaxNum = input.ReadInt32(); - break; - } - case 40: { - MaxNumPerWave = input.ReadInt32(); - break; - } - case 48: { - MonsterId = input.ReadInt32(); - break; - } - case 56: { - LevelChange = input.ReadInt32(); - break; - } - case 64: { - CommonGameplayType = 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: { - SetId = input.ReadInt32(); - break; - } - case 16: { - WaveNum = input.ReadInt32(); - break; - } - case 24: { - GroupNum = input.ReadInt32(); - break; - } - case 32: { - MaxNum = input.ReadInt32(); - break; - } - case 40: { - MaxNumPerWave = input.ReadInt32(); - break; - } - case 48: { - MonsterId = input.ReadInt32(); - break; - } - case 56: { - LevelChange = input.ReadInt32(); - break; - } - case 64: { - CommonGameplayType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerFloor.cs b/Novaria.Common/Protos/InfinityTowerFloor.cs deleted file mode 100644 index 87c4425..0000000 --- a/Novaria.Common/Protos/InfinityTowerFloor.cs +++ /dev/null @@ -1,607 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerFloor.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 InfinityTowerFloor.proto - public static partial class InfinityTowerFloorReflection { - - #region Descriptor - /// File descriptor for InfinityTowerFloor.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhJbmZpbml0eVRvd2VyRmxvb3IucHJvdG8i4QEKEkluZmluaXR5VG93ZXJG", - "bG9vchIKCgJpZBgBIAEoBRINCgVsdl9pZBgCIAEoBRIOCgZtYXBfaWQYAyAB", - "KAUSEQoJYmF0dGxlX2x2GAQgASgFEhIKCmZsb29yX2Z1bmMYBSABKAUSEgoK", - "bW9uc3Rlcl9sdhgGIAEoBRINCgVzdGFnZRgHIAEoBRIOCgZzZXRfaWQYCCAB", - "KAUSEgoKbGltaXRfdGltZRgJIAEoBRIgChhwcmV2aWV3X21vbnN0ZXJfZ3Jv", - "dXBfaWQYCiABKAUSEAoIYWZmaXhfaWQYCyADKAVCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerFloor), global::Nova.Client.InfinityTowerFloor.Parser, new[]{ "Id", "LvId", "MapId", "BattleLv", "FloorFunc", "MonsterLv", "Stage", "SetId", "LimitTime", "PreviewMonsterGroupId", "AffixId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerFloor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerFloor()); - 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.InfinityTowerFloorReflection.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 InfinityTowerFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerFloor(InfinityTowerFloor other) : this() { - id_ = other.id_; - lvId_ = other.lvId_; - mapId_ = other.mapId_; - battleLv_ = other.battleLv_; - floorFunc_ = other.floorFunc_; - monsterLv_ = other.monsterLv_; - stage_ = other.stage_; - setId_ = other.setId_; - limitTime_ = other.limitTime_; - previewMonsterGroupId_ = other.previewMonsterGroupId_; - affixId_ = other.affixId_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerFloor Clone() { - return new InfinityTowerFloor(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 "lv_id" field. - public const int LvIdFieldNumber = 2; - private int lvId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LvId { - get { return lvId_; } - set { - lvId_ = value; - } - } - - /// Field number for the "map_id" field. - public const int MapIdFieldNumber = 3; - private int mapId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MapId { - get { return mapId_; } - set { - mapId_ = value; - } - } - - /// Field number for the "battle_lv" field. - public const int BattleLvFieldNumber = 4; - private int battleLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BattleLv { - get { return battleLv_; } - set { - battleLv_ = value; - } - } - - /// Field number for the "floor_func" field. - public const int FloorFuncFieldNumber = 5; - private int floorFunc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FloorFunc { - get { return floorFunc_; } - set { - floorFunc_ = value; - } - } - - /// Field number for the "monster_lv" field. - public const int MonsterLvFieldNumber = 6; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - /// Field number for the "stage" field. - public const int StageFieldNumber = 7; - private int stage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stage { - get { return stage_; } - set { - stage_ = value; - } - } - - /// Field number for the "set_id" field. - public const int SetIdFieldNumber = 8; - private int setId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SetId { - get { return setId_; } - set { - setId_ = value; - } - } - - /// Field number for the "limit_time" field. - public const int LimitTimeFieldNumber = 9; - private int limitTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LimitTime { - get { return limitTime_; } - set { - limitTime_ = value; - } - } - - /// Field number for the "preview_monster_group_id" field. - public const int PreviewMonsterGroupIdFieldNumber = 10; - 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 "affix_id" field. - public const int AffixIdFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_affixId_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField affixId_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField AffixId { - get { return affixId_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as InfinityTowerFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (LvId != other.LvId) return false; - if (MapId != other.MapId) return false; - if (BattleLv != other.BattleLv) return false; - if (FloorFunc != other.FloorFunc) return false; - if (MonsterLv != other.MonsterLv) return false; - if (Stage != other.Stage) return false; - if (SetId != other.SetId) return false; - if (LimitTime != other.LimitTime) return false; - if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; - if(!affixId_.Equals(other.affixId_)) 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 (LvId != 0) hash ^= LvId.GetHashCode(); - if (MapId != 0) hash ^= MapId.GetHashCode(); - if (BattleLv != 0) hash ^= BattleLv.GetHashCode(); - if (FloorFunc != 0) hash ^= FloorFunc.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); - if (Stage != 0) hash ^= Stage.GetHashCode(); - if (SetId != 0) hash ^= SetId.GetHashCode(); - if (LimitTime != 0) hash ^= LimitTime.GetHashCode(); - if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); - hash ^= affixId_.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 (LvId != 0) { - output.WriteRawTag(16); - output.WriteInt32(LvId); - } - if (MapId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MapId); - } - if (BattleLv != 0) { - output.WriteRawTag(32); - output.WriteInt32(BattleLv); - } - if (FloorFunc != 0) { - output.WriteRawTag(40); - output.WriteInt32(FloorFunc); - } - if (MonsterLv != 0) { - output.WriteRawTag(48); - output.WriteInt32(MonsterLv); - } - if (Stage != 0) { - output.WriteRawTag(56); - output.WriteInt32(Stage); - } - if (SetId != 0) { - output.WriteRawTag(64); - output.WriteInt32(SetId); - } - if (LimitTime != 0) { - output.WriteRawTag(72); - output.WriteInt32(LimitTime); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(80); - output.WriteInt32(PreviewMonsterGroupId); - } - affixId_.WriteTo(output, _repeated_affixId_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 (LvId != 0) { - output.WriteRawTag(16); - output.WriteInt32(LvId); - } - if (MapId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MapId); - } - if (BattleLv != 0) { - output.WriteRawTag(32); - output.WriteInt32(BattleLv); - } - if (FloorFunc != 0) { - output.WriteRawTag(40); - output.WriteInt32(FloorFunc); - } - if (MonsterLv != 0) { - output.WriteRawTag(48); - output.WriteInt32(MonsterLv); - } - if (Stage != 0) { - output.WriteRawTag(56); - output.WriteInt32(Stage); - } - if (SetId != 0) { - output.WriteRawTag(64); - output.WriteInt32(SetId); - } - if (LimitTime != 0) { - output.WriteRawTag(72); - output.WriteInt32(LimitTime); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(80); - output.WriteInt32(PreviewMonsterGroupId); - } - affixId_.WriteTo(ref output, _repeated_affixId_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 (LvId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LvId); - } - if (MapId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MapId); - } - if (BattleLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleLv); - } - if (FloorFunc != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorFunc); - } - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (Stage != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); - } - if (SetId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); - } - if (LimitTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitTime); - } - if (PreviewMonsterGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); - } - size += affixId_.CalculateSize(_repeated_affixId_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.LvId != 0) { - LvId = other.LvId; - } - if (other.MapId != 0) { - MapId = other.MapId; - } - if (other.BattleLv != 0) { - BattleLv = other.BattleLv; - } - if (other.FloorFunc != 0) { - FloorFunc = other.FloorFunc; - } - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - if (other.Stage != 0) { - Stage = other.Stage; - } - if (other.SetId != 0) { - SetId = other.SetId; - } - if (other.LimitTime != 0) { - LimitTime = other.LimitTime; - } - if (other.PreviewMonsterGroupId != 0) { - PreviewMonsterGroupId = other.PreviewMonsterGroupId; - } - affixId_.Add(other.affixId_); - _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: { - LvId = input.ReadInt32(); - break; - } - case 24: { - MapId = input.ReadInt32(); - break; - } - case 32: { - BattleLv = input.ReadInt32(); - break; - } - case 40: { - FloorFunc = input.ReadInt32(); - break; - } - case 48: { - MonsterLv = input.ReadInt32(); - break; - } - case 56: { - Stage = input.ReadInt32(); - break; - } - case 64: { - SetId = input.ReadInt32(); - break; - } - case 72: { - LimitTime = input.ReadInt32(); - break; - } - case 80: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 90: - case 88: { - affixId_.AddEntriesFrom(input, _repeated_affixId_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: { - LvId = input.ReadInt32(); - break; - } - case 24: { - MapId = input.ReadInt32(); - break; - } - case 32: { - BattleLv = input.ReadInt32(); - break; - } - case 40: { - FloorFunc = input.ReadInt32(); - break; - } - case 48: { - MonsterLv = input.ReadInt32(); - break; - } - case 56: { - Stage = input.ReadInt32(); - break; - } - case 64: { - SetId = input.ReadInt32(); - break; - } - case 72: { - LimitTime = input.ReadInt32(); - break; - } - case 80: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 90: - case 88: { - affixId_.AddEntriesFrom(ref input, _repeated_affixId_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/BattlePassQuest.cs b/Novaria.Common/Protos/InfinityTowerInfo.cs similarity index 55% rename from Novaria.Common/Protos/BattlePassQuest.cs rename to Novaria.Common/Protos/InfinityTowerInfo.cs index 2b2b282..be57ea7 100644 --- a/Novaria.Common/Protos/BattlePassQuest.cs +++ b/Novaria.Common/Protos/InfinityTowerInfo.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BattlePassQuest.proto +// source: infinity_tower_info.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,30 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from BattlePassQuest.proto - public static partial class BattlePassQuestReflection { + /// Holder for reflection information generated from infinity_tower_info.proto + public static partial class InfinityTowerInfoReflection { #region Descriptor - /// File descriptor for BattlePassQuest.proto + /// File descriptor for infinity_tower_info.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static BattlePassQuestReflection() { + static InfinityTowerInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChVCYXR0bGVQYXNzUXVlc3QucHJvdG8iWAoPQmF0dGxlUGFzc1F1ZXN0EgoK", - "AmlkGAEgASgFEgwKBHR5cGUYAiABKAUSDQoFdGl0bGUYAyABKAkSDwoHanVt", - "cF90bxgEIAEoBRILCgNleHAYBSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); + "ChlpbmZpbml0eV90b3dlcl9pbmZvLnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvIoIBChVJbmZpbml0eVRvd2VySW5mb1Jlc3ASEwoLQm91bnR5TGV2ZWwY", + "ASABKA0SEAoIUGxvdHNJZHMYAiADKA0SLAoFSW5mb3MYAyADKAsyHS5wcm90", + "by5JbmZpbml0eVRvd2VyTGV2ZWxJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePassQuest), global::Nova.Client.BattlePassQuest.Parser, new[]{ "Id", "Type", "Title", "JumpTo", "Exp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerInfoResp), global::Proto.InfinityTowerInfoResp.Parser, new[]{ "BountyLevel", "PlotsIds", "Infos", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +40,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class BattlePassQuest : pb::IMessage + public sealed partial class InfinityTowerInfoResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassQuest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerInfoResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.BattlePassQuestReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.InfinityTowerInfoReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +65,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassQuest() { + public InfinityTowerInfoResp() { OnConstruction(); } @@ -72,101 +73,85 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassQuest(BattlePassQuest other) : this() { - id_ = other.id_; - type_ = other.type_; - title_ = other.title_; - jumpTo_ = other.jumpTo_; - exp_ = other.exp_; + public InfinityTowerInfoResp(InfinityTowerInfoResp other) : this() { + bountyLevel_ = other.bountyLevel_; + plotsIds_ = other.plotsIds_.Clone(); + infos_ = other.infos_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassQuest Clone() { - return new BattlePassQuest(this); + public InfinityTowerInfoResp Clone() { + return new InfinityTowerInfoResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "BountyLevel" field. + public const int BountyLevelFieldNumber = 1; + private uint bountyLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint BountyLevel { + get { return bountyLevel_; } set { - id_ = value; + bountyLevel_ = value; } } - /// Field number for the "type" field. - public const int TypeFieldNumber = 2; - private int type_; + /// Field number for the "PlotsIds" field. + public const int PlotsIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_plotsIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField plotsIds_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } + public pbc::RepeatedField PlotsIds { + get { return plotsIds_; } } - /// Field number for the "title" field. - public const int TitleFieldNumber = 3; - private string title_ = ""; + /// Field number for the "Infos" field. + public const int InfosFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_infos_codec + = pb::FieldCodec.ForMessage(26, global::Proto.InfinityTowerLevelInfo.Parser); + private readonly pbc::RepeatedField infos_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public pbc::RepeatedField Infos { + get { return infos_; } } - /// Field number for the "jump_to" field. - public const int JumpToFieldNumber = 4; - private int jumpTo_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - jumpTo_ = value; - } - } - - /// Field number for the "exp" field. - public const int ExpFieldNumber = 5; - private int exp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } - set { - exp_ = value; + nextPackage_ = 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 BattlePassQuest); + return Equals(other as InfinityTowerInfoResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BattlePassQuest other) { + public bool Equals(InfinityTowerInfoResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Type != other.Type) return false; - if (Title != other.Title) return false; - if (JumpTo != other.JumpTo) return false; - if (Exp != other.Exp) return false; + if (BountyLevel != other.BountyLevel) return false; + if(!plotsIds_.Equals(other.plotsIds_)) return false; + if(!infos_.Equals(other.infos_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -174,11 +159,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Exp != 0) hash ^= Exp.GetHashCode(); + if (BountyLevel != 0) hash ^= BountyLevel.GetHashCode(); + hash ^= plotsIds_.GetHashCode(); + hash ^= infos_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -197,25 +181,15 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (BountyLevel != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(BountyLevel); } - if (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Exp != 0) { - output.WriteRawTag(40); - output.WriteInt32(Exp); + plotsIds_.WriteTo(output, _repeated_plotsIds_codec); + infos_.WriteTo(output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -227,25 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (BountyLevel != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(BountyLevel); } - if (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Exp != 0) { - output.WriteRawTag(40); - output.WriteInt32(Exp); + plotsIds_.WriteTo(ref output, _repeated_plotsIds_codec); + infos_.WriteTo(ref output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -257,20 +221,13 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (BountyLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BountyLevel); } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + size += plotsIds_.CalculateSize(_repeated_plotsIds_codec); + size += infos_.CalculateSize(_repeated_infos_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -280,24 +237,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BattlePassQuest other) { + public void MergeFrom(InfinityTowerInfoResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.BountyLevel != 0) { + BountyLevel = other.BountyLevel; } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Exp != 0) { - Exp = other.Exp; + plotsIds_.Add(other.plotsIds_); + infos_.Add(other.infos_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -319,23 +269,20 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + BountyLevel = input.ReadUInt32(); break; } + case 18: case 16: { - Type = input.ReadInt32(); + plotsIds_.AddEntriesFrom(input, _repeated_plotsIds_codec); break; } case 26: { - Title = input.ReadString(); + infos_.AddEntriesFrom(input, _repeated_infos_codec); break; } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -358,23 +305,20 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + BountyLevel = input.ReadUInt32(); break; } + case 18: case 16: { - Type = input.ReadInt32(); + plotsIds_.AddEntriesFrom(ref input, _repeated_plotsIds_codec); break; } case 26: { - Title = input.ReadString(); + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); break; } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Exp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/InfinityTowerLevel.cs b/Novaria.Common/Protos/InfinityTowerLevel.cs deleted file mode 100644 index 32b4342..0000000 --- a/Novaria.Common/Protos/InfinityTowerLevel.cs +++ /dev/null @@ -1,682 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerLevel.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 InfinityTowerLevel.proto - public static partial class InfinityTowerLevelReflection { - - #region Descriptor - /// File descriptor for InfinityTowerLevel.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhJbmZpbml0eVRvd2VyTGV2ZWwucHJvdG8ipQIKEkluZmluaXR5VG93ZXJM", - "ZXZlbBIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEhUKDWRpZmZpY3VsdHlf", - "aWQYAyABKAUSEgoKbGV2ZWxfdHlwZRgEIAEoBRINCgVmbG9vchgFIAEoBRIQ", - "CghmbG9vcl9pZBgGIAEoBRIUCgxwcmVfbGV2ZWxfaWQYByABKAUSEgoKZW50", - "cnlfY29uZBgIIAEoBRIYChBlbnRyeV9jb25kX3BhcmFtGAkgAygFEhUKDWF3", - "YXJkX2Ryb3BfaWQYCiABKAUSFAoMcmVjb21tZW5kX2x2GAsgASgFEhwKFHJl", - "Y29tbWVuZF9idWlsZF9yYW5rGAwgASgFEhoKEmJhc2VfYXdhcmRfcHJldmll", - "dxgNIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerLevel), global::Nova.Client.InfinityTowerLevel.Parser, new[]{ "Id", "Name", "DifficultyId", "LevelType", "Floor", "FloorId", "PreLevelId", "EntryCond", "EntryCondParam", "AwardDropId", "RecommendLv", "RecommendBuildRank", "BaseAwardPreview" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerLevel : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerLevel()); - 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.InfinityTowerLevelReflection.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 InfinityTowerLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerLevel(InfinityTowerLevel other) : this() { - id_ = other.id_; - name_ = other.name_; - difficultyId_ = other.difficultyId_; - levelType_ = other.levelType_; - floor_ = other.floor_; - floorId_ = other.floorId_; - preLevelId_ = other.preLevelId_; - entryCond_ = other.entryCond_; - entryCondParam_ = other.entryCondParam_.Clone(); - awardDropId_ = other.awardDropId_; - recommendLv_ = other.recommendLv_; - recommendBuildRank_ = other.recommendBuildRank_; - baseAwardPreview_ = other.baseAwardPreview_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerLevel Clone() { - return new InfinityTowerLevel(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 "name" field. - 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"); - } - } - - /// Field number for the "difficulty_id" field. - public const int DifficultyIdFieldNumber = 3; - private int difficultyId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DifficultyId { - get { return difficultyId_; } - set { - difficultyId_ = value; - } - } - - /// Field number for the "level_type" field. - public const int LevelTypeFieldNumber = 4; - private int levelType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelType { - get { return levelType_; } - set { - levelType_ = value; - } - } - - /// Field number for the "floor" field. - public const int FloorFieldNumber = 5; - private int floor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Floor { - get { return floor_; } - set { - floor_ = value; - } - } - - /// Field number for the "floor_id" field. - public const int FloorIdFieldNumber = 6; - 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 "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 "entry_cond" field. - public const int EntryCondFieldNumber = 8; - private int entryCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryCond { - get { return entryCond_; } - set { - entryCond_ = value; - } - } - - /// Field number for the "entry_cond_param" field. - public const int EntryCondParamFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_entryCondParam_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField entryCondParam_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EntryCondParam { - get { return entryCondParam_; } - } - - /// Field number for the "award_drop_id" field. - public const int AwardDropIdFieldNumber = 10; - 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 "recommend_lv" field. - public const int RecommendLvFieldNumber = 11; - private int recommendLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendLv { - get { return recommendLv_; } - set { - recommendLv_ = value; - } - } - - /// Field number for the "recommend_build_rank" field. - public const int RecommendBuildRankFieldNumber = 12; - private int recommendBuildRank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendBuildRank { - get { return recommendBuildRank_; } - set { - recommendBuildRank_ = value; - } - } - - /// Field number for the "base_award_preview" field. - public const int BaseAwardPreviewFieldNumber = 13; - private string baseAwardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BaseAwardPreview { - get { return baseAwardPreview_; } - set { - baseAwardPreview_ = 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 InfinityTowerLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerLevel 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 (DifficultyId != other.DifficultyId) return false; - if (LevelType != other.LevelType) return false; - if (Floor != other.Floor) return false; - if (FloorId != other.FloorId) return false; - if (PreLevelId != other.PreLevelId) return false; - if (EntryCond != other.EntryCond) return false; - if(!entryCondParam_.Equals(other.entryCondParam_)) return false; - if (AwardDropId != other.AwardDropId) return false; - if (RecommendLv != other.RecommendLv) return false; - if (RecommendBuildRank != other.RecommendBuildRank) return false; - if (BaseAwardPreview != other.BaseAwardPreview) 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 (DifficultyId != 0) hash ^= DifficultyId.GetHashCode(); - if (LevelType != 0) hash ^= LevelType.GetHashCode(); - if (Floor != 0) hash ^= Floor.GetHashCode(); - if (FloorId != 0) hash ^= FloorId.GetHashCode(); - if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); - if (EntryCond != 0) hash ^= EntryCond.GetHashCode(); - hash ^= entryCondParam_.GetHashCode(); - if (AwardDropId != 0) hash ^= AwardDropId.GetHashCode(); - if (RecommendLv != 0) hash ^= RecommendLv.GetHashCode(); - if (RecommendBuildRank != 0) hash ^= RecommendBuildRank.GetHashCode(); - if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.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 (DifficultyId != 0) { - output.WriteRawTag(24); - output.WriteInt32(DifficultyId); - } - if (LevelType != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelType); - } - if (Floor != 0) { - output.WriteRawTag(40); - output.WriteInt32(Floor); - } - if (FloorId != 0) { - output.WriteRawTag(48); - output.WriteInt32(FloorId); - } - if (PreLevelId != 0) { - output.WriteRawTag(56); - output.WriteInt32(PreLevelId); - } - if (EntryCond != 0) { - output.WriteRawTag(64); - output.WriteInt32(EntryCond); - } - entryCondParam_.WriteTo(output, _repeated_entryCondParam_codec); - if (AwardDropId != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardDropId); - } - if (RecommendLv != 0) { - output.WriteRawTag(88); - output.WriteInt32(RecommendLv); - } - if (RecommendBuildRank != 0) { - output.WriteRawTag(96); - output.WriteInt32(RecommendBuildRank); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(106); - output.WriteString(BaseAwardPreview); - } - 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 (DifficultyId != 0) { - output.WriteRawTag(24); - output.WriteInt32(DifficultyId); - } - if (LevelType != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelType); - } - if (Floor != 0) { - output.WriteRawTag(40); - output.WriteInt32(Floor); - } - if (FloorId != 0) { - output.WriteRawTag(48); - output.WriteInt32(FloorId); - } - if (PreLevelId != 0) { - output.WriteRawTag(56); - output.WriteInt32(PreLevelId); - } - if (EntryCond != 0) { - output.WriteRawTag(64); - output.WriteInt32(EntryCond); - } - entryCondParam_.WriteTo(ref output, _repeated_entryCondParam_codec); - if (AwardDropId != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardDropId); - } - if (RecommendLv != 0) { - output.WriteRawTag(88); - output.WriteInt32(RecommendLv); - } - if (RecommendBuildRank != 0) { - output.WriteRawTag(96); - output.WriteInt32(RecommendBuildRank); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(106); - output.WriteString(BaseAwardPreview); - } - 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 (DifficultyId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DifficultyId); - } - if (LevelType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelType); - } - if (Floor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Floor); - } - if (FloorId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); - } - if (PreLevelId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); - } - if (EntryCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EntryCond); - } - size += entryCondParam_.CalculateSize(_repeated_entryCondParam_codec); - if (AwardDropId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardDropId); - } - if (RecommendLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendLv); - } - if (RecommendBuildRank != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); - } - if (BaseAwardPreview.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerLevel other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.DifficultyId != 0) { - DifficultyId = other.DifficultyId; - } - if (other.LevelType != 0) { - LevelType = other.LevelType; - } - if (other.Floor != 0) { - Floor = other.Floor; - } - if (other.FloorId != 0) { - FloorId = other.FloorId; - } - if (other.PreLevelId != 0) { - PreLevelId = other.PreLevelId; - } - if (other.EntryCond != 0) { - EntryCond = other.EntryCond; - } - entryCondParam_.Add(other.entryCondParam_); - if (other.AwardDropId != 0) { - AwardDropId = other.AwardDropId; - } - if (other.RecommendLv != 0) { - RecommendLv = other.RecommendLv; - } - if (other.RecommendBuildRank != 0) { - RecommendBuildRank = other.RecommendBuildRank; - } - if (other.BaseAwardPreview.Length != 0) { - BaseAwardPreview = other.BaseAwardPreview; - } - _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: { - DifficultyId = input.ReadInt32(); - break; - } - case 32: { - LevelType = input.ReadInt32(); - break; - } - case 40: { - Floor = input.ReadInt32(); - break; - } - case 48: { - FloorId = input.ReadInt32(); - break; - } - case 56: { - PreLevelId = input.ReadInt32(); - break; - } - case 64: { - EntryCond = input.ReadInt32(); - break; - } - case 74: - case 72: { - entryCondParam_.AddEntriesFrom(input, _repeated_entryCondParam_codec); - break; - } - case 80: { - AwardDropId = input.ReadInt32(); - break; - } - case 88: { - RecommendLv = input.ReadInt32(); - break; - } - case 96: { - RecommendBuildRank = input.ReadInt32(); - break; - } - case 106: { - BaseAwardPreview = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - DifficultyId = input.ReadInt32(); - break; - } - case 32: { - LevelType = input.ReadInt32(); - break; - } - case 40: { - Floor = input.ReadInt32(); - break; - } - case 48: { - FloorId = input.ReadInt32(); - break; - } - case 56: { - PreLevelId = input.ReadInt32(); - break; - } - case 64: { - EntryCond = input.ReadInt32(); - break; - } - case 74: - case 72: { - entryCondParam_.AddEntriesFrom(ref input, _repeated_entryCondParam_codec); - break; - } - case 80: { - AwardDropId = input.ReadInt32(); - break; - } - case 88: { - RecommendLv = input.ReadInt32(); - break; - } - case 96: { - RecommendBuildRank = input.ReadInt32(); - break; - } - case 106: { - BaseAwardPreview = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerMap.cs b/Novaria.Common/Protos/InfinityTowerMap.cs deleted file mode 100644 index ce65d72..0000000 --- a/Novaria.Common/Protos/InfinityTowerMap.cs +++ /dev/null @@ -1,429 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerMap.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 InfinityTowerMap.proto - public static partial class InfinityTowerMapReflection { - - #region Descriptor - /// File descriptor for InfinityTowerMap.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerMapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZJbmZpbml0eVRvd2VyTWFwLnByb3RvIokBChBJbmZpbml0eVRvd2VyTWFw", - "EgoKAmlkGAEgASgFEhIKCnNjZW5lX25hbWUYAiABKAkSGgoSY29uZmlnX3By", - "ZWZhYl9uYW1lGAMgASgJEg0KBXRoZW1lGAQgASgFEg0KBWJfZ19tGAUgASgJ", - "EhsKE2xlYXZlX3RyaWdnZXJfZXZlbnQYBiABKAlCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerMap), global::Nova.Client.InfinityTowerMap.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerMap : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerMap()); - 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.InfinityTowerMapReflection.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 InfinityTowerMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerMap(InfinityTowerMap other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerMap Clone() { - return new InfinityTowerMap(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 "scene_name" field. - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "config_prefab_name" field. - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "theme" field. - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// Field number for the "b_g_m" field. - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "leave_trigger_event" field. - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = 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 InfinityTowerMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerMap other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerMsg.cs b/Novaria.Common/Protos/InfinityTowerMsg.cs deleted file mode 100644 index efd7725..0000000 --- a/Novaria.Common/Protos/InfinityTowerMsg.cs +++ /dev/null @@ -1,457 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerMsg.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 InfinityTowerMsg.proto - public static partial class InfinityTowerMsgReflection { - - #region Descriptor - /// File descriptor for InfinityTowerMsg.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerMsgReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZJbmZpbml0eVRvd2VyTXNnLnByb3RvIoQBChBJbmZpbml0eVRvd2VyTXNn", - "EgoKAmlkGAEgASgFEg0KBXRpdGxlGAIgASgJEg8KB2NvbnRlbnQYAyABKAkS", - "DAoEdHlwZRgEIAEoBRITCgtkYXlfb2Zfd2VlaxgFIAMoBRIRCgljb25kaXRp", - "b24YBiABKAUSDgoGcGFyYW1zGAcgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerMsg), global::Nova.Client.InfinityTowerMsg.Parser, new[]{ "Id", "Title", "Content", "Type", "DayOfWeek", "Condition", "Params" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerMsg : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerMsg()); - 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.InfinityTowerMsgReflection.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 InfinityTowerMsg() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerMsg(InfinityTowerMsg other) : this() { - id_ = other.id_; - title_ = other.title_; - content_ = other.content_; - type_ = other.type_; - dayOfWeek_ = other.dayOfWeek_.Clone(); - condition_ = other.condition_; - params_ = other.params_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerMsg Clone() { - return new InfinityTowerMsg(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "content" field. - public const int ContentFieldNumber = 3; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 4; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "day_of_week" field. - public const int DayOfWeekFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_dayOfWeek_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField dayOfWeek_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField DayOfWeek { - get { return dayOfWeek_; } - } - - /// Field number for the "condition" field. - public const int ConditionFieldNumber = 6; - private int condition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Condition { - get { return condition_; } - set { - condition_ = value; - } - } - - /// Field number for the "params" field. - public const int ParamsFieldNumber = 7; - private string params_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Params { - get { return params_; } - set { - params_ = 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 InfinityTowerMsg); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerMsg other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Content != other.Content) return false; - if (Type != other.Type) return false; - if(!dayOfWeek_.Equals(other.dayOfWeek_)) return false; - if (Condition != other.Condition) return false; - if (Params != other.Params) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - hash ^= dayOfWeek_.GetHashCode(); - if (Condition != 0) hash ^= Condition.GetHashCode(); - if (Params.Length != 0) hash ^= Params.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - dayOfWeek_.WriteTo(output, _repeated_dayOfWeek_codec); - if (Condition != 0) { - output.WriteRawTag(48); - output.WriteInt32(Condition); - } - if (Params.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Params); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - dayOfWeek_.WriteTo(ref output, _repeated_dayOfWeek_codec); - if (Condition != 0) { - output.WriteRawTag(48); - output.WriteInt32(Condition); - } - if (Params.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Params); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - size += dayOfWeek_.CalculateSize(_repeated_dayOfWeek_codec); - if (Condition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Condition); - } - if (Params.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerMsg other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Content.Length != 0) { - Content = other.Content; - } - if (other.Type != 0) { - Type = other.Type; - } - dayOfWeek_.Add(other.dayOfWeek_); - if (other.Condition != 0) { - Condition = other.Condition; - } - if (other.Params.Length != 0) { - Params = other.Params; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Content = input.ReadString(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 42: - case 40: { - dayOfWeek_.AddEntriesFrom(input, _repeated_dayOfWeek_codec); - break; - } - case 48: { - Condition = input.ReadInt32(); - break; - } - case 58: { - Params = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Content = input.ReadString(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 42: - case 40: { - dayOfWeek_.AddEntriesFrom(ref input, _repeated_dayOfWeek_codec); - break; - } - case 48: { - Condition = input.ReadInt32(); - break; - } - case 58: { - Params = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerPlot.cs b/Novaria.Common/Protos/InfinityTowerPlot.cs deleted file mode 100644 index 34dc791..0000000 --- a/Novaria.Common/Protos/InfinityTowerPlot.cs +++ /dev/null @@ -1,569 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InfinityTowerPlot.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 InfinityTowerPlot.proto - public static partial class InfinityTowerPlotReflection { - - #region Descriptor - /// File descriptor for InfinityTowerPlot.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InfinityTowerPlotReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdJbmZpbml0eVRvd2VyUGxvdC5wcm90byLIAQoRSW5maW5pdHlUb3dlclBs", - "b3QSCgoCaWQYASABKAUSDAoEbmFtZRgCIAEoCRIMCgRkZXNjGAMgASgJEhAK", - "CHBsb3Rfc3VtGAQgASgJEg8KB3Bsb3RfaWQYBSABKAUSDgoGYXZnX2lkGAYg", - "ASgJEhMKC3VubG9ja19jb25kGAcgASgFEhIKCmNvbmRfcGFyYW0YCCADKAUS", - "FgoOcmV3YXJkX2l0ZW1faWQYCSABKAUSFwoPcmV3YXJkX2l0ZW1fcXR5GAog", - "ASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerPlot), global::Nova.Client.InfinityTowerPlot.Parser, new[]{ "Id", "Name", "Desc", "PlotSum", "PlotId", "AvgId", "UnlockCond", "CondParam", "RewardItemId", "RewardItemQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InfinityTowerPlot : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerPlot()); - 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.InfinityTowerPlotReflection.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 InfinityTowerPlot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerPlot(InfinityTowerPlot other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - plotSum_ = other.plotSum_; - plotId_ = other.plotId_; - avgId_ = other.avgId_; - unlockCond_ = other.unlockCond_; - condParam_ = other.condParam_.Clone(); - rewardItemId_ = other.rewardItemId_; - rewardItemQty_ = other.rewardItemQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InfinityTowerPlot Clone() { - return new InfinityTowerPlot(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "plot_sum" field. - public const int PlotSumFieldNumber = 4; - private string plotSum_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PlotSum { - get { return plotSum_; } - set { - plotSum_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "plot_id" field. - public const int PlotIdFieldNumber = 5; - private int plotId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PlotId { - get { return plotId_; } - set { - plotId_ = value; - } - } - - /// Field number for the "avg_id" field. - public const int AvgIdFieldNumber = 6; - private string avgId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AvgId { - get { return avgId_; } - set { - avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "unlock_cond" field. - public const int UnlockCondFieldNumber = 7; - private int unlockCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockCond { - get { return unlockCond_; } - set { - unlockCond_ = value; - } - } - - /// Field number for the "cond_param" field. - public const int CondParamFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_condParam_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField condParam_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CondParam { - get { return condParam_; } - } - - /// Field number for the "reward_item_id" field. - public const int RewardItemIdFieldNumber = 9; - private int rewardItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardItemId { - get { return rewardItemId_; } - set { - rewardItemId_ = value; - } - } - - /// Field number for the "reward_item_qty" field. - public const int RewardItemQtyFieldNumber = 10; - private int rewardItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardItemQty { - get { return rewardItemQty_; } - set { - rewardItemQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as InfinityTowerPlot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InfinityTowerPlot 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 (Desc != other.Desc) return false; - if (PlotSum != other.PlotSum) return false; - if (PlotId != other.PlotId) return false; - if (AvgId != other.AvgId) return false; - if (UnlockCond != other.UnlockCond) return false; - if(!condParam_.Equals(other.condParam_)) return false; - if (RewardItemId != other.RewardItemId) return false; - if (RewardItemQty != other.RewardItemQty) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (PlotSum.Length != 0) hash ^= PlotSum.GetHashCode(); - if (PlotId != 0) hash ^= PlotId.GetHashCode(); - if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); - if (UnlockCond != 0) hash ^= UnlockCond.GetHashCode(); - hash ^= condParam_.GetHashCode(); - if (RewardItemId != 0) hash ^= RewardItemId.GetHashCode(); - if (RewardItemQty != 0) hash ^= RewardItemQty.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (PlotSum.Length != 0) { - output.WriteRawTag(34); - output.WriteString(PlotSum); - } - if (PlotId != 0) { - output.WriteRawTag(40); - output.WriteInt32(PlotId); - } - if (AvgId.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AvgId); - } - if (UnlockCond != 0) { - output.WriteRawTag(56); - output.WriteInt32(UnlockCond); - } - condParam_.WriteTo(output, _repeated_condParam_codec); - if (RewardItemId != 0) { - output.WriteRawTag(72); - output.WriteInt32(RewardItemId); - } - if (RewardItemQty != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardItemQty); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (PlotSum.Length != 0) { - output.WriteRawTag(34); - output.WriteString(PlotSum); - } - if (PlotId != 0) { - output.WriteRawTag(40); - output.WriteInt32(PlotId); - } - if (AvgId.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AvgId); - } - if (UnlockCond != 0) { - output.WriteRawTag(56); - output.WriteInt32(UnlockCond); - } - condParam_.WriteTo(ref output, _repeated_condParam_codec); - if (RewardItemId != 0) { - output.WriteRawTag(72); - output.WriteInt32(RewardItemId); - } - if (RewardItemQty != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardItemQty); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (PlotSum.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PlotSum); - } - if (PlotId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlotId); - } - if (AvgId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId); - } - if (UnlockCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockCond); - } - size += condParam_.CalculateSize(_repeated_condParam_codec); - if (RewardItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardItemId); - } - if (RewardItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardItemQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InfinityTowerPlot other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.PlotSum.Length != 0) { - PlotSum = other.PlotSum; - } - if (other.PlotId != 0) { - PlotId = other.PlotId; - } - if (other.AvgId.Length != 0) { - AvgId = other.AvgId; - } - if (other.UnlockCond != 0) { - UnlockCond = other.UnlockCond; - } - condParam_.Add(other.condParam_); - if (other.RewardItemId != 0) { - RewardItemId = other.RewardItemId; - } - if (other.RewardItemQty != 0) { - RewardItemQty = other.RewardItemQty; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 34: { - PlotSum = input.ReadString(); - break; - } - case 40: { - PlotId = input.ReadInt32(); - break; - } - case 50: { - AvgId = input.ReadString(); - break; - } - case 56: { - UnlockCond = input.ReadInt32(); - break; - } - case 66: - case 64: { - condParam_.AddEntriesFrom(input, _repeated_condParam_codec); - break; - } - case 72: { - RewardItemId = input.ReadInt32(); - break; - } - case 80: { - RewardItemQty = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - PlotSum = input.ReadString(); - break; - } - case 40: { - PlotId = input.ReadInt32(); - break; - } - case 50: { - AvgId = input.ReadString(); - break; - } - case 56: { - UnlockCond = input.ReadInt32(); - break; - } - case 66: - case 64: { - condParam_.AddEntriesFrom(ref input, _repeated_condParam_codec); - break; - } - case 72: { - RewardItemId = input.ReadInt32(); - break; - } - case 80: { - RewardItemQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerPlotRewardReceive.cs b/Novaria.Common/Protos/InfinityTowerPlotRewardReceive.cs new file mode 100644 index 0000000..d8c2f7a --- /dev/null +++ b/Novaria.Common/Protos/InfinityTowerPlotRewardReceive.cs @@ -0,0 +1,316 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: infinity_tower_plot_reward_receive.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 Proto { + + /// Holder for reflection information generated from infinity_tower_plot_reward_receive.proto + public static partial class InfinityTowerPlotRewardReceiveReflection { + + #region Descriptor + /// File descriptor for infinity_tower_plot_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static InfinityTowerPlotRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihpbmZpbml0eV90b3dlcl9wbG90X3Jld2FyZF9yZWNlaXZlLnByb3RvEgVw", + "cm90bxoMcHVibGljLnByb3RvInsKIkluZmluaXR5VG93ZXJQbG90UmV3YXJk", + "UmVjZWl2ZVJlc3ASHAoEU2hvdxgBIAMoCzIOLnByb3RvLkl0ZW1UcGwSIQoG", + "Q2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerPlotRewardReceiveResp), global::Proto.InfinityTowerPlotRewardReceiveResp.Parser, new[]{ "Show", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerPlotRewardReceiveResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerPlotRewardReceiveResp()); + 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::Proto.InfinityTowerPlotRewardReceiveReflection.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 InfinityTowerPlotRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerPlotRewardReceiveResp(InfinityTowerPlotRewardReceiveResp other) : this() { + show_ = other.show_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerPlotRewardReceiveResp Clone() { + return new InfinityTowerPlotRewardReceiveResp(this); + } + + /// Field number for the "Show" field. + public const int ShowFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_show_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField show_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Show { + get { return show_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InfinityTowerPlotRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerPlotRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!show_.Equals(other.show_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= show_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + show_.WriteTo(output, _repeated_show_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + show_.WriteTo(ref output, _repeated_show_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += show_.CalculateSize(_repeated_show_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerPlotRewardReceiveResp other) { + if (other == null) { + return; + } + show_.Add(other.show_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + show_.AddEntriesFrom(input, _repeated_show_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + show_.AddEntriesFrom(ref input, _repeated_show_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/InfinityTowerSettle.cs b/Novaria.Common/Protos/InfinityTowerSettle.cs new file mode 100644 index 0000000..9c8f895 --- /dev/null +++ b/Novaria.Common/Protos/InfinityTowerSettle.cs @@ -0,0 +1,446 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: infinity_tower_settle.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 Proto { + + /// Holder for reflection information generated from infinity_tower_settle.proto + public static partial class InfinityTowerSettleReflection { + + #region Descriptor + /// File descriptor for infinity_tower_settle.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static InfinityTowerSettleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtpbmZpbml0eV90b3dlcl9zZXR0bGUucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8imAIKF0luZmluaXR5VG93ZXJTZXR0bGVSZXNwEhMKC05leHRMZXZl", + "bElkGAEgASgNEhwKBFNob3cYAiADKAsyDi5wcm90by5JdGVtVHBsEiEKBkNo", + "YW5nZRgDIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SEwoLQm91bnR5TGV2ZWwY", + "BiABKA0SNAoFVmFsdWUYByABKA4yJS5wcm90by5JbmZpbml0eVRvd2VyU2V0", + "dGxlUmVzcC5SZWFzb24SFAoLTmV4dFBhY2thZ2UY/w8gASgMIkYKBlJlYXNv", + "bhIHCgNOaWwQABIMCghQcmVMZXZlbBABEg4KCldvcmxkQ2xhc3MQAhIJCgVC", + "dWlsZBADEgoKBk5vT3BlbhAEUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerSettleResp), global::Proto.InfinityTowerSettleResp.Parser, new[]{ "NextLevelId", "Show", "Change", "BountyLevel", "Value", "NextPackage" }, null, new[]{ typeof(global::Proto.InfinityTowerSettleResp.Types.Reason) }, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerSettleResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerSettleResp()); + 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::Proto.InfinityTowerSettleReflection.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 InfinityTowerSettleResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerSettleResp(InfinityTowerSettleResp other) : this() { + nextLevelId_ = other.nextLevelId_; + show_ = other.show_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + bountyLevel_ = other.bountyLevel_; + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerSettleResp Clone() { + return new InfinityTowerSettleResp(this); + } + + /// Field number for the "NextLevelId" field. + public const int NextLevelIdFieldNumber = 1; + private uint nextLevelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint NextLevelId { + get { return nextLevelId_; } + set { + nextLevelId_ = value; + } + } + + /// Field number for the "Show" field. + public const int ShowFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_show_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField show_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Show { + get { return show_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "BountyLevel" field. + public const int BountyLevelFieldNumber = 6; + private uint bountyLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BountyLevel { + get { return bountyLevel_; } + set { + bountyLevel_ = value; + } + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 7; + private global::Proto.InfinityTowerSettleResp.Types.Reason value_ = global::Proto.InfinityTowerSettleResp.Types.Reason.Nil; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InfinityTowerSettleResp.Types.Reason Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InfinityTowerSettleResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerSettleResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextLevelId != other.NextLevelId) return false; + if(!show_.Equals(other.show_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (BountyLevel != other.BountyLevel) return false; + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (NextLevelId != 0) hash ^= NextLevelId.GetHashCode(); + hash ^= show_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (BountyLevel != 0) hash ^= BountyLevel.GetHashCode(); + if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (NextLevelId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(NextLevelId); + } + show_.WriteTo(output, _repeated_show_codec); + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (BountyLevel != 0) { + output.WriteRawTag(48); + output.WriteUInt32(BountyLevel); + } + if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) { + output.WriteRawTag(56); + output.WriteEnum((int) Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextLevelId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(NextLevelId); + } + show_.WriteTo(ref output, _repeated_show_codec); + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (BountyLevel != 0) { + output.WriteRawTag(48); + output.WriteUInt32(BountyLevel); + } + if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) { + output.WriteRawTag(56); + output.WriteEnum((int) Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextLevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NextLevelId); + } + size += show_.CalculateSize(_repeated_show_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (BountyLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BountyLevel); + } + if (Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerSettleResp other) { + if (other == null) { + return; + } + if (other.NextLevelId != 0) { + NextLevelId = other.NextLevelId; + } + show_.Add(other.show_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.BountyLevel != 0) { + BountyLevel = other.BountyLevel; + } + if (other.Value != global::Proto.InfinityTowerSettleResp.Types.Reason.Nil) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + NextLevelId = input.ReadUInt32(); + break; + } + case 18: { + show_.AddEntriesFrom(input, _repeated_show_codec); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 48: { + BountyLevel = input.ReadUInt32(); + break; + } + case 56: { + Value = (global::Proto.InfinityTowerSettleResp.Types.Reason) input.ReadEnum(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + NextLevelId = input.ReadUInt32(); + break; + } + case 18: { + show_.AddEntriesFrom(ref input, _repeated_show_codec); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 48: { + BountyLevel = input.ReadUInt32(); + break; + } + case 56: { + Value = (global::Proto.InfinityTowerSettleResp.Types.Reason) input.ReadEnum(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the InfinityTowerSettleResp message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum Reason { + [pbr::OriginalName("Nil")] Nil = 0, + [pbr::OriginalName("PreLevel")] PreLevel = 1, + [pbr::OriginalName("WorldClass")] WorldClass = 2, + [pbr::OriginalName("Build")] Build = 3, + [pbr::OriginalName("NoOpen")] NoOpen = 4, + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/InteractiveAction.cs b/Novaria.Common/Protos/InteractiveAction.cs deleted file mode 100644 index 00041a4..0000000 --- a/Novaria.Common/Protos/InteractiveAction.cs +++ /dev/null @@ -1,428 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: InteractiveAction.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 InteractiveAction.proto - public static partial class InteractiveActionReflection { - - #region Descriptor - /// File descriptor for InteractiveAction.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static InteractiveActionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdJbnRlcmFjdGl2ZUFjdGlvbi5wcm90byJxChFJbnRlcmFjdGl2ZUFjdGlv", - "bhIKCgJpZBgBIAEoBRISCgpwbGF5ZXJfYW5pGAIgASgIEg0KBWljb24wGAMg", - "ASgJEg4KBnRpdGxlMBgEIAEoCRINCgVpY29uMRgFIAEoCRIOCgZ0aXRsZTEY", - "BiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InteractiveAction), global::Nova.Client.InteractiveAction.Parser, new[]{ "Id", "PlayerAni", "Icon0", "Title0", "Icon1", "Title1" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class InteractiveAction : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InteractiveAction()); - 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.InteractiveActionReflection.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 InteractiveAction() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InteractiveAction(InteractiveAction other) : this() { - id_ = other.id_; - playerAni_ = other.playerAni_; - icon0_ = other.icon0_; - title0_ = other.title0_; - icon1_ = other.icon1_; - title1_ = other.title1_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public InteractiveAction Clone() { - return new InteractiveAction(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 "player_ani" field. - public const int PlayerAniFieldNumber = 2; - private bool playerAni_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool PlayerAni { - get { return playerAni_; } - set { - playerAni_ = value; - } - } - - /// Field number for the "icon0" field. - public const int Icon0FieldNumber = 3; - private string icon0_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon0 { - get { return icon0_; } - set { - icon0_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title0" field. - public const int Title0FieldNumber = 4; - private string title0_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title0 { - get { return title0_; } - set { - title0_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "icon1" field. - public const int Icon1FieldNumber = 5; - private string icon1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon1 { - get { return icon1_; } - set { - icon1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "title1" field. - public const int Title1FieldNumber = 6; - private string title1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title1 { - get { return title1_; } - set { - title1_ = 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 InteractiveAction); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(InteractiveAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (PlayerAni != other.PlayerAni) return false; - if (Icon0 != other.Icon0) return false; - if (Title0 != other.Title0) return false; - if (Icon1 != other.Icon1) return false; - if (Title1 != other.Title1) 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 (PlayerAni != false) hash ^= PlayerAni.GetHashCode(); - if (Icon0.Length != 0) hash ^= Icon0.GetHashCode(); - if (Title0.Length != 0) hash ^= Title0.GetHashCode(); - if (Icon1.Length != 0) hash ^= Icon1.GetHashCode(); - if (Title1.Length != 0) hash ^= Title1.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 (PlayerAni != false) { - output.WriteRawTag(16); - output.WriteBool(PlayerAni); - } - if (Icon0.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon0); - } - if (Title0.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title0); - } - if (Icon1.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon1); - } - if (Title1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Title1); - } - 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 (PlayerAni != false) { - output.WriteRawTag(16); - output.WriteBool(PlayerAni); - } - if (Icon0.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon0); - } - if (Title0.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title0); - } - if (Icon1.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon1); - } - if (Title1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Title1); - } - 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 (PlayerAni != false) { - size += 1 + 1; - } - if (Icon0.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon0); - } - if (Title0.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title0); - } - if (Icon1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon1); - } - if (Title1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title1); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(InteractiveAction other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.PlayerAni != false) { - PlayerAni = other.PlayerAni; - } - if (other.Icon0.Length != 0) { - Icon0 = other.Icon0; - } - if (other.Title0.Length != 0) { - Title0 = other.Title0; - } - if (other.Icon1.Length != 0) { - Icon1 = other.Icon1; - } - if (other.Title1.Length != 0) { - Title1 = other.Title1; - } - _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: { - PlayerAni = input.ReadBool(); - break; - } - case 26: { - Icon0 = input.ReadString(); - break; - } - case 34: { - Title0 = input.ReadString(); - break; - } - case 42: { - Icon1 = input.ReadString(); - break; - } - case 50: { - Title1 = 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: { - PlayerAni = input.ReadBool(); - break; - } - case 26: { - Icon0 = input.ReadString(); - break; - } - case 34: { - Title0 = input.ReadString(); - break; - } - case 42: { - Icon1 = input.ReadString(); - break; - } - case 50: { - Title1 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Item.cs b/Novaria.Common/Protos/Item.cs deleted file mode 100644 index 7a1cfb3..0000000 --- a/Novaria.Common/Protos/Item.cs +++ /dev/null @@ -1,867 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Item.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 Item.proto - public static partial class ItemReflection { - - #region Descriptor - /// File descriptor for Item.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ItemReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpJdGVtLnByb3RvIrYCCgRJdGVtEgoKAmlkGAEgASgFEg0KBXRpdGxlGAIg", - "ASgJEgwKBGRlc2MYAyABKAkSEAoIbGl0ZXJhcnkYBCABKAkSDAoEdHlwZRgF", - "IAEoBRINCgVzdHlwZRgGIAEoBRIOCgZyYXJpdHkYByABKAUSDQoFc3RhY2sY", - "CCABKAgSFgoOcG9zaXRpb25fbGltaXQYCSABKAUSEwoLZXhwaXJlX3R5cGUY", - "CiABKAUSEAoIdXNlX21vZGUYCyABKAUSEgoKdXNlX2FjdGlvbhgMIAEoBRIQ", - "Cgh1c2VfYXJncxgNIAEoCRIPCgdkaXNwbGF5GA4gASgIEhMKC29idGFpbl93", - "YXlzGA8gASgJEg8KB2p1bXBfdG8YECADKAUSDAoEaWNvbhgRIAEoCRINCgVp", - "Y29uMhgSIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Item), global::Nova.Client.Item.Parser, new[]{ "Id", "Title", "Desc", "Literary", "Type", "Stype", "Rarity", "Stack", "PositionLimit", "ExpireType", "UseMode", "UseAction", "UseArgs", "Display", "ObtainWays", "JumpTo", "Icon", "Icon2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Item : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Item()); - 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.ItemReflection.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 Item() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Item(Item other) : this() { - id_ = other.id_; - title_ = other.title_; - desc_ = other.desc_; - literary_ = other.literary_; - type_ = other.type_; - stype_ = other.stype_; - rarity_ = other.rarity_; - stack_ = other.stack_; - positionLimit_ = other.positionLimit_; - expireType_ = other.expireType_; - useMode_ = other.useMode_; - useAction_ = other.useAction_; - useArgs_ = other.useArgs_; - display_ = other.display_; - obtainWays_ = other.obtainWays_; - jumpTo_ = other.jumpTo_.Clone(); - icon_ = other.icon_; - icon2_ = other.icon2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Item Clone() { - return new Item(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 "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "literary" field. - public const int LiteraryFieldNumber = 4; - private string literary_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Literary { - get { return literary_; } - set { - literary_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 5; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "stype" field. - public const int StypeFieldNumber = 6; - private int stype_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stype { - get { return stype_; } - set { - stype_ = value; - } - } - - /// Field number for the "rarity" field. - public const int RarityFieldNumber = 7; - private int rarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } - set { - rarity_ = value; - } - } - - /// Field number for the "stack" field. - public const int StackFieldNumber = 8; - private bool stack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Stack { - get { return stack_; } - set { - stack_ = value; - } - } - - /// Field number for the "position_limit" field. - public const int PositionLimitFieldNumber = 9; - private int positionLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PositionLimit { - get { return positionLimit_; } - set { - positionLimit_ = value; - } - } - - /// Field number for the "expire_type" field. - public const int ExpireTypeFieldNumber = 10; - private int expireType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExpireType { - get { return expireType_; } - set { - expireType_ = value; - } - } - - /// Field number for the "use_mode" field. - public const int UseModeFieldNumber = 11; - private int useMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UseMode { - get { return useMode_; } - set { - useMode_ = value; - } - } - - /// Field number for the "use_action" field. - public const int UseActionFieldNumber = 12; - private int useAction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UseAction { - get { return useAction_; } - set { - useAction_ = value; - } - } - - /// Field number for the "use_args" field. - public const int UseArgsFieldNumber = 13; - private string useArgs_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UseArgs { - get { return useArgs_; } - set { - useArgs_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "display" field. - public const int DisplayFieldNumber = 14; - private bool display_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Display { - get { return display_; } - set { - display_ = value; - } - } - - /// Field number for the "obtain_ways" field. - public const int ObtainWaysFieldNumber = 15; - private string obtainWays_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ObtainWays { - get { return obtainWays_; } - set { - obtainWays_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "jump_to" field. - public const int JumpToFieldNumber = 16; - private static readonly pb::FieldCodec _repeated_jumpTo_codec - = pb::FieldCodec.ForInt32(130); - private readonly pbc::RepeatedField jumpTo_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField JumpTo { - get { return jumpTo_; } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 17; - 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 "icon2" field. - public const int Icon2FieldNumber = 18; - private string icon2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon2 { - get { return icon2_; } - set { - icon2_ = 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 Item); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Item other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (Literary != other.Literary) return false; - if (Type != other.Type) return false; - if (Stype != other.Stype) return false; - if (Rarity != other.Rarity) return false; - if (Stack != other.Stack) return false; - if (PositionLimit != other.PositionLimit) return false; - if (ExpireType != other.ExpireType) return false; - if (UseMode != other.UseMode) return false; - if (UseAction != other.UseAction) return false; - if (UseArgs != other.UseArgs) return false; - if (Display != other.Display) return false; - if (ObtainWays != other.ObtainWays) return false; - if(!jumpTo_.Equals(other.jumpTo_)) return false; - if (Icon != other.Icon) return false; - if (Icon2 != other.Icon2) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Literary.Length != 0) hash ^= Literary.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Stype != 0) hash ^= Stype.GetHashCode(); - if (Rarity != 0) hash ^= Rarity.GetHashCode(); - if (Stack != false) hash ^= Stack.GetHashCode(); - if (PositionLimit != 0) hash ^= PositionLimit.GetHashCode(); - if (ExpireType != 0) hash ^= ExpireType.GetHashCode(); - if (UseMode != 0) hash ^= UseMode.GetHashCode(); - if (UseAction != 0) hash ^= UseAction.GetHashCode(); - if (UseArgs.Length != 0) hash ^= UseArgs.GetHashCode(); - if (Display != false) hash ^= Display.GetHashCode(); - if (ObtainWays.Length != 0) hash ^= ObtainWays.GetHashCode(); - hash ^= jumpTo_.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Icon2.Length != 0) hash ^= Icon2.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Literary.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Literary); - } - if (Type != 0) { - output.WriteRawTag(40); - output.WriteInt32(Type); - } - if (Stype != 0) { - output.WriteRawTag(48); - output.WriteInt32(Stype); - } - if (Rarity != 0) { - output.WriteRawTag(56); - output.WriteInt32(Rarity); - } - if (Stack != false) { - output.WriteRawTag(64); - output.WriteBool(Stack); - } - if (PositionLimit != 0) { - output.WriteRawTag(72); - output.WriteInt32(PositionLimit); - } - if (ExpireType != 0) { - output.WriteRawTag(80); - output.WriteInt32(ExpireType); - } - if (UseMode != 0) { - output.WriteRawTag(88); - output.WriteInt32(UseMode); - } - if (UseAction != 0) { - output.WriteRawTag(96); - output.WriteInt32(UseAction); - } - if (UseArgs.Length != 0) { - output.WriteRawTag(106); - output.WriteString(UseArgs); - } - if (Display != false) { - output.WriteRawTag(112); - output.WriteBool(Display); - } - if (ObtainWays.Length != 0) { - output.WriteRawTag(122); - output.WriteString(ObtainWays); - } - jumpTo_.WriteTo(output, _repeated_jumpTo_codec); - if (Icon.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Icon); - } - if (Icon2.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Icon2); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Literary.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Literary); - } - if (Type != 0) { - output.WriteRawTag(40); - output.WriteInt32(Type); - } - if (Stype != 0) { - output.WriteRawTag(48); - output.WriteInt32(Stype); - } - if (Rarity != 0) { - output.WriteRawTag(56); - output.WriteInt32(Rarity); - } - if (Stack != false) { - output.WriteRawTag(64); - output.WriteBool(Stack); - } - if (PositionLimit != 0) { - output.WriteRawTag(72); - output.WriteInt32(PositionLimit); - } - if (ExpireType != 0) { - output.WriteRawTag(80); - output.WriteInt32(ExpireType); - } - if (UseMode != 0) { - output.WriteRawTag(88); - output.WriteInt32(UseMode); - } - if (UseAction != 0) { - output.WriteRawTag(96); - output.WriteInt32(UseAction); - } - if (UseArgs.Length != 0) { - output.WriteRawTag(106); - output.WriteString(UseArgs); - } - if (Display != false) { - output.WriteRawTag(112); - output.WriteBool(Display); - } - if (ObtainWays.Length != 0) { - output.WriteRawTag(122); - output.WriteString(ObtainWays); - } - jumpTo_.WriteTo(ref output, _repeated_jumpTo_codec); - if (Icon.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Icon); - } - if (Icon2.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Icon2); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Literary.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Literary); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Stype != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stype); - } - if (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); - } - if (Stack != false) { - size += 1 + 1; - } - if (PositionLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PositionLimit); - } - if (ExpireType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpireType); - } - if (UseMode != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseMode); - } - if (UseAction != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseAction); - } - if (UseArgs.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UseArgs); - } - if (Display != false) { - size += 1 + 1; - } - if (ObtainWays.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ObtainWays); - } - size += jumpTo_.CalculateSize(_repeated_jumpTo_codec); - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Icon2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Item other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Literary.Length != 0) { - Literary = other.Literary; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Stype != 0) { - Stype = other.Stype; - } - if (other.Rarity != 0) { - Rarity = other.Rarity; - } - if (other.Stack != false) { - Stack = other.Stack; - } - if (other.PositionLimit != 0) { - PositionLimit = other.PositionLimit; - } - if (other.ExpireType != 0) { - ExpireType = other.ExpireType; - } - if (other.UseMode != 0) { - UseMode = other.UseMode; - } - if (other.UseAction != 0) { - UseAction = other.UseAction; - } - if (other.UseArgs.Length != 0) { - UseArgs = other.UseArgs; - } - if (other.Display != false) { - Display = other.Display; - } - if (other.ObtainWays.Length != 0) { - ObtainWays = other.ObtainWays; - } - jumpTo_.Add(other.jumpTo_); - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Icon2.Length != 0) { - Icon2 = other.Icon2; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Literary = input.ReadString(); - break; - } - case 40: { - Type = input.ReadInt32(); - break; - } - case 48: { - Stype = input.ReadInt32(); - break; - } - case 56: { - Rarity = input.ReadInt32(); - break; - } - case 64: { - Stack = input.ReadBool(); - break; - } - case 72: { - PositionLimit = input.ReadInt32(); - break; - } - case 80: { - ExpireType = input.ReadInt32(); - break; - } - case 88: { - UseMode = input.ReadInt32(); - break; - } - case 96: { - UseAction = input.ReadInt32(); - break; - } - case 106: { - UseArgs = input.ReadString(); - break; - } - case 112: { - Display = input.ReadBool(); - break; - } - case 122: { - ObtainWays = input.ReadString(); - break; - } - case 130: - case 128: { - jumpTo_.AddEntriesFrom(input, _repeated_jumpTo_codec); - break; - } - case 138: { - Icon = input.ReadString(); - break; - } - case 146: { - Icon2 = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Literary = input.ReadString(); - break; - } - case 40: { - Type = input.ReadInt32(); - break; - } - case 48: { - Stype = input.ReadInt32(); - break; - } - case 56: { - Rarity = input.ReadInt32(); - break; - } - case 64: { - Stack = input.ReadBool(); - break; - } - case 72: { - PositionLimit = input.ReadInt32(); - break; - } - case 80: { - ExpireType = input.ReadInt32(); - break; - } - case 88: { - UseMode = input.ReadInt32(); - break; - } - case 96: { - UseAction = input.ReadInt32(); - break; - } - case 106: { - UseArgs = input.ReadString(); - break; - } - case 112: { - Display = input.ReadBool(); - break; - } - case 122: { - ObtainWays = input.ReadString(); - break; - } - case 130: - case 128: { - jumpTo_.AddEntriesFrom(ref input, _repeated_jumpTo_codec); - break; - } - case 138: { - Icon = input.ReadString(); - break; - } - case 146: { - Icon2 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ItemPackMark.cs b/Novaria.Common/Protos/ItemPackMark.cs deleted file mode 100644 index 9f4fdf3..0000000 --- a/Novaria.Common/Protos/ItemPackMark.cs +++ /dev/null @@ -1,382 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ItemPackMark.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 ItemPackMark.proto - public static partial class ItemPackMarkReflection { - - #region Descriptor - /// File descriptor for ItemPackMark.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ItemPackMarkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJJdGVtUGFja01hcmsucHJvdG8iXQoMSXRlbVBhY2tNYXJrEgoKAmlkGAEg", - "ASgFEhEKCXBhY2tfbWFyaxgCIAEoBRISCgppdGVtX3N0eXBlGAMgAygFEgwK", - "BG5hbWUYBCABKAkSDAoEc29ydBgFIAEoBUIOqgILTm92YS5DbGllbnRiBnBy", - "b3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ItemPackMark), global::Nova.Client.ItemPackMark.Parser, new[]{ "Id", "PackMark", "ItemStype", "Name", "Sort" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ItemPackMark : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ItemPackMark()); - 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.ItemPackMarkReflection.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 ItemPackMark() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ItemPackMark(ItemPackMark other) : this() { - id_ = other.id_; - packMark_ = other.packMark_; - itemStype_ = other.itemStype_.Clone(); - name_ = other.name_; - sort_ = other.sort_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ItemPackMark Clone() { - return new ItemPackMark(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 "pack_mark" field. - public const int PackMarkFieldNumber = 2; - private int packMark_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PackMark { - get { return packMark_; } - set { - packMark_ = value; - } - } - - /// Field number for the "item_stype" field. - public const int ItemStypeFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_itemStype_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField itemStype_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ItemStype { - get { return itemStype_; } - } - - /// 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 "sort" field. - public const int SortFieldNumber = 5; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ItemPackMark); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ItemPackMark other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (PackMark != other.PackMark) return false; - if(!itemStype_.Equals(other.itemStype_)) return false; - if (Name != other.Name) return false; - if (Sort != other.Sort) 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 (PackMark != 0) hash ^= PackMark.GetHashCode(); - hash ^= itemStype_.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Sort != 0) hash ^= Sort.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 (PackMark != 0) { - output.WriteRawTag(16); - output.WriteInt32(PackMark); - } - itemStype_.WriteTo(output, _repeated_itemStype_codec); - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - 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 (PackMark != 0) { - output.WriteRawTag(16); - output.WriteInt32(PackMark); - } - itemStype_.WriteTo(ref output, _repeated_itemStype_codec); - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - 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 (PackMark != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PackMark); - } - size += itemStype_.CalculateSize(_repeated_itemStype_codec); - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ItemPackMark other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.PackMark != 0) { - PackMark = other.PackMark; - } - itemStype_.Add(other.itemStype_); - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - _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: { - PackMark = input.ReadInt32(); - break; - } - case 26: - case 24: { - itemStype_.AddEntriesFrom(input, _repeated_itemStype_codec); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - Sort = 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: { - PackMark = input.ReadInt32(); - break; - } - case 26: - case 24: { - itemStype_.AddEntriesFrom(ref input, _repeated_itemStype_codec); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireTalentFloor.cs b/Novaria.Common/Protos/ItemProduct.cs similarity index 70% rename from Novaria.Common/Protos/VampireTalentFloor.cs rename to Novaria.Common/Protos/ItemProduct.cs index 27d396a..e15c8ca 100644 --- a/Novaria.Common/Protos/VampireTalentFloor.cs +++ b/Novaria.Common/Protos/ItemProduct.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireTalentFloor.proto +// source: item_product.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from VampireTalentFloor.proto - public static partial class VampireTalentFloorReflection { + /// Holder for reflection information generated from item_product.proto + public static partial class ItemProductReflection { #region Descriptor - /// File descriptor for VampireTalentFloor.proto + /// File descriptor for item_product.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static VampireTalentFloorReflection() { + static ItemProductReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChhWYW1waXJlVGFsZW50Rmxvb3IucHJvdG8iQAoSVmFtcGlyZVRhbGVudEZs", - "b29yEgoKAmlkGAEgASgFEgsKA251bRgCIAEoBRIRCgl0YWxlbnRfaWQYAyAD", - "KAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChJpdGVtX3Byb2R1Y3QucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iPwoO", + "SXRlbVByb2R1Y3RSZXESCgoCSWQYASABKA0SCwoDTnVtGAIgASgNEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalentFloor), global::Nova.Client.VampireTalentFloor.Parser, new[]{ "Id", "Num", "TalentId" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ItemProductReq), global::Proto.ItemProductReq.Parser, new[]{ "Id", "Num", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireTalentFloor : pb::IMessage + public sealed partial class ItemProductReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireTalentFloor()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ItemProductReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.VampireTalentFloorReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.ItemProductReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalentFloor() { + public ItemProductReq() { OnConstruction(); } @@ -71,63 +71,64 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalentFloor(VampireTalentFloor other) : this() { + public ItemProductReq(ItemProductReq other) : this() { id_ = other.id_; num_ = other.num_; - talentId_ = other.talentId_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalentFloor Clone() { - return new VampireTalentFloor(this); + public ItemProductReq Clone() { + return new ItemProductReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// Field number for the "num" field. + /// Field number for the "Num" field. public const int NumFieldNumber = 2; - private int num_; + private uint num_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Num { + public uint Num { get { return num_; } set { num_ = value; } } - /// Field number for the "talent_id" field. - public const int TalentIdFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_talentId_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField talentId_ = new pbc::RepeatedField(); + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TalentId { - get { return talentId_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireTalentFloor); + return Equals(other as ItemProductReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireTalentFloor other) { + public bool Equals(ItemProductReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -136,7 +137,7 @@ namespace Nova.Client { } if (Id != other.Id) return false; if (Num != other.Num) return false; - if(!talentId_.Equals(other.talentId_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -146,7 +147,7 @@ namespace Nova.Client { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); if (Num != 0) hash ^= Num.GetHashCode(); - hash ^= talentId_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -167,13 +168,16 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } if (Num != 0) { output.WriteRawTag(16); - output.WriteInt32(Num); + output.WriteUInt32(Num); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - talentId_.WriteTo(output, _repeated_talentId_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -186,13 +190,16 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } if (Num != 0) { output.WriteRawTag(16); - output.WriteInt32(Num); + output.WriteUInt32(Num); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - talentId_.WriteTo(ref output, _repeated_talentId_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -204,12 +211,14 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } if (Num != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Num); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - size += talentId_.CalculateSize(_repeated_talentId_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -218,7 +227,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireTalentFloor other) { + public void MergeFrom(ItemProductReq other) { if (other == null) { return; } @@ -228,7 +237,9 @@ namespace Nova.Client { if (other.Num != 0) { Num = other.Num; } - talentId_.Add(other.talentId_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -249,16 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - Num = input.ReadInt32(); + Num = input.ReadUInt32(); break; } - case 26: - case 24: { - talentId_.AddEntriesFrom(input, _repeated_talentId_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -281,16 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - Num = input.ReadInt32(); + Num = input.ReadUInt32(); break; } - case 26: - case 24: { - talentId_.AddEntriesFrom(ref input, _repeated_talentId_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/ItemUse.cs b/Novaria.Common/Protos/ItemUse.cs new file mode 100644 index 0000000..892d6ff --- /dev/null +++ b/Novaria.Common/Protos/ItemUse.cs @@ -0,0 +1,1141 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: item_use.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 Proto { + + /// Holder for reflection information generated from item_use.proto + public static partial class ItemUseReflection { + + #region Descriptor + /// File descriptor for item_use.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ItemUseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg5pdGVtX3VzZS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byJMCghQaWNr", + "SXRlbRIKCgJJZBgBIAEoBBILCgNUaWQYAiABKA0SEQoJU2VsZWN0VGlkGAMg", + "ASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJACglQaWNrSXRlbXMSHQoETGlz", + "dBgBIAMoCzIPLnByb3RvLlBpY2tJdGVtEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCI+CgdVc2VJdGVtEh0KBExpc3QYASADKAsyDy5wcm90by5JdGVtSW5mbxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwiawoKSXRlbVVzZVJlcRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwSIAoEUGljaxgBIAEoCzIQLnByb3RvLlBpY2tJdGVtc0gA", + "Eh0KA1VzZRgCIAEoCzIOLnByb3RvLlVzZUl0ZW1IAEIGCgRNb2RlUABiBnBy", + "b3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PickItem), global::Proto.PickItem.Parser, new[]{ "Id", "Tid", "SelectTid", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PickItems), global::Proto.PickItems.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.UseItem), global::Proto.UseItem.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ItemUseReq), global::Proto.ItemUseReq.Parser, new[]{ "NextPackage", "Pick", "Use" }, new[]{ "Mode" }, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PickItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PickItem()); + 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::Proto.ItemUseReflection.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 PickItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PickItem(PickItem other) : this() { + id_ = other.id_; + tid_ = other.tid_; + selectTid_ = other.selectTid_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PickItem Clone() { + return new PickItem(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Tid" field. + public const int TidFieldNumber = 2; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// Field number for the "SelectTid" field. + public const int SelectTidFieldNumber = 3; + private uint selectTid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SelectTid { + get { return selectTid_; } + set { + selectTid_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PickItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PickItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Tid != other.Tid) return false; + if (SelectTid != other.SelectTid) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Tid != 0) hash ^= Tid.GetHashCode(); + if (SelectTid != 0) hash ^= SelectTid.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (SelectTid != 0) { + output.WriteRawTag(24); + output.WriteUInt32(SelectTid); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (SelectTid != 0) { + output.WriteRawTag(24); + output.WriteUInt32(SelectTid); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (SelectTid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SelectTid); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PickItem other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.SelectTid != 0) { + SelectTid = other.SelectTid; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + SelectTid = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + SelectTid = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PickItems : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PickItems()); + 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::Proto.ItemUseReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PickItems() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PickItems(PickItems other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PickItems Clone() { + return new PickItems(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.PickItem.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PickItems); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PickItems other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PickItems other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UseItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UseItem()); + 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::Proto.ItemUseReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UseItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UseItem(UseItem other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UseItem Clone() { + return new UseItem(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemInfo.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 UseItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UseItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UseItem other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ItemUseReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ItemUseReq()); + 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::Proto.ItemUseReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemUseReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemUseReq(ItemUseReq other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ModeCase) { + case ModeOneofCase.Pick: + Pick = other.Pick.Clone(); + break; + case ModeOneofCase.Use: + Use = other.Use.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemUseReq Clone() { + return new ItemUseReq(this); + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Pick" field. + public const int PickFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.PickItems Pick { + get { return modeCase_ == ModeOneofCase.Pick ? (global::Proto.PickItems) mode_ : null; } + set { + mode_ = value; + modeCase_ = value == null ? ModeOneofCase.None : ModeOneofCase.Pick; + } + } + + /// Field number for the "Use" field. + public const int UseFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.UseItem Use { + get { return modeCase_ == ModeOneofCase.Use ? (global::Proto.UseItem) mode_ : null; } + set { + mode_ = value; + modeCase_ = value == null ? ModeOneofCase.None : ModeOneofCase.Use; + } + } + + private object mode_; + /// Enum of possible cases for the "Mode" oneof. + public enum ModeOneofCase { + None = 0, + Pick = 1, + Use = 2, + } + private ModeOneofCase modeCase_ = ModeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModeOneofCase ModeCase { + get { return modeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMode() { + modeCase_ = ModeOneofCase.None; + mode_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ItemUseReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ItemUseReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Pick, other.Pick)) return false; + if (!object.Equals(Use, other.Use)) return false; + if (ModeCase != other.ModeCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (modeCase_ == ModeOneofCase.Pick) hash ^= Pick.GetHashCode(); + if (modeCase_ == ModeOneofCase.Use) hash ^= Use.GetHashCode(); + hash ^= (int) modeCase_; + 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 (modeCase_ == ModeOneofCase.Pick) { + output.WriteRawTag(10); + output.WriteMessage(Pick); + } + if (modeCase_ == ModeOneofCase.Use) { + output.WriteRawTag(18); + output.WriteMessage(Use); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (modeCase_ == ModeOneofCase.Pick) { + output.WriteRawTag(10); + output.WriteMessage(Pick); + } + if (modeCase_ == ModeOneofCase.Use) { + output.WriteRawTag(18); + output.WriteMessage(Use); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (modeCase_ == ModeOneofCase.Pick) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Pick); + } + if (modeCase_ == ModeOneofCase.Use) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Use); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ItemUseReq other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ModeCase) { + case ModeOneofCase.Pick: + if (Pick == null) { + Pick = new global::Proto.PickItems(); + } + Pick.MergeFrom(other.Pick); + break; + case ModeOneofCase.Use: + if (Use == null) { + Use = new global::Proto.UseItem(); + } + Use.MergeFrom(other.Use); + break; + } + + _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 10: { + global::Proto.PickItems subBuilder = new global::Proto.PickItems(); + if (modeCase_ == ModeOneofCase.Pick) { + subBuilder.MergeFrom(Pick); + } + input.ReadMessage(subBuilder); + Pick = subBuilder; + break; + } + case 18: { + global::Proto.UseItem subBuilder = new global::Proto.UseItem(); + if (modeCase_ == ModeOneofCase.Use) { + subBuilder.MergeFrom(Use); + } + input.ReadMessage(subBuilder); + Use = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.PickItems subBuilder = new global::Proto.PickItems(); + if (modeCase_ == ModeOneofCase.Pick) { + subBuilder.MergeFrom(Pick); + } + input.ReadMessage(subBuilder); + Pick = subBuilder; + break; + } + case 18: { + global::Proto.UseItem subBuilder = new global::Proto.UseItem(); + if (modeCase_ == ModeOneofCase.Use) { + subBuilder.MergeFrom(Use); + } + input.ReadMessage(subBuilder); + Use = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/JumpTo.cs b/Novaria.Common/Protos/JumpTo.cs deleted file mode 100644 index 8ce8345..0000000 --- a/Novaria.Common/Protos/JumpTo.cs +++ /dev/null @@ -1,381 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: JumpTo.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 JumpTo.proto - public static partial class JumpToReflection { - - #region Descriptor - /// File descriptor for JumpTo.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static JumpToReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxKdW1wVG8ucHJvdG8iTQoGSnVtcFRvEgoKAmlkGAEgASgFEgwKBHR5cGUY", - "AiABKAUSDQoFcGFyYW0YAyADKAUSDAoEZGVzYxgEIAEoCRIMCgRpY29uGAUg", - "ASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.JumpTo), global::Nova.Client.JumpTo.Parser, new[]{ "Id", "Type", "Param", "Desc", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class JumpTo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JumpTo()); - 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.JumpToReflection.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 JumpTo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public JumpTo(JumpTo other) : this() { - id_ = other.id_; - type_ = other.type_; - param_ = other.param_.Clone(); - desc_ = other.desc_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public JumpTo Clone() { - return new JumpTo(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 "type" field. - public const int TypeFieldNumber = 2; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "param" field. - public const int ParamFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_param_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField param_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Param { - get { return param_; } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 4; - 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 "icon" field. - public const int IconFieldNumber = 5; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as JumpTo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(JumpTo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Type != other.Type) return false; - if(!param_.Equals(other.param_)) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) 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 (Type != 0) hash ^= Type.GetHashCode(); - hash ^= param_.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - param_.WriteTo(output, _repeated_param_codec); - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon); - } - 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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - param_.WriteTo(ref output, _repeated_param_codec); - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon); - } - 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 (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - size += param_.CalculateSize(_repeated_param_codec); - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(JumpTo other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Type != 0) { - Type = other.Type; - } - param_.Add(other.param_); - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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: { - Type = input.ReadInt32(); - break; - } - case 26: - case 24: { - param_.AddEntriesFrom(input, _repeated_param_codec); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - Icon = 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: { - Type = input.ReadInt32(); - break; - } - case 26: - case 24: { - param_.AddEntriesFrom(ref input, _repeated_param_codec); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/LoginRewardControl.cs b/Novaria.Common/Protos/LoginRewardControl.cs deleted file mode 100644 index 08cf838..0000000 --- a/Novaria.Common/Protos/LoginRewardControl.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LoginRewardControl.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 LoginRewardControl.proto - public static partial class LoginRewardControlReflection { - - #region Descriptor - /// File descriptor for LoginRewardControl.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LoginRewardControlReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhMb2dpblJld2FyZENvbnRyb2wucHJvdG8ieAoSTG9naW5SZXdhcmRDb250", - "cm9sEgoKAmlkGAEgASgFEhUKDXJld2FyZHNfZ3JvdXAYAiABKAUSEAoIZGVz", - "X3RleHQYAyABKAkSEgoKdV9pX2Fzc2V0cxgEIAEoCRIZChFwb3BfdXBfdV9p", - "X2Fzc2V0cxgFIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.LoginRewardControl), global::Nova.Client.LoginRewardControl.Parser, new[]{ "Id", "RewardsGroup", "DesText", "UIAssets", "PopUpUIAssets" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class LoginRewardControl : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginRewardControl()); - 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.LoginRewardControlReflection.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 LoginRewardControl() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoginRewardControl(LoginRewardControl other) : this() { - id_ = other.id_; - rewardsGroup_ = other.rewardsGroup_; - desText_ = other.desText_; - uIAssets_ = other.uIAssets_; - popUpUIAssets_ = other.popUpUIAssets_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoginRewardControl Clone() { - return new LoginRewardControl(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 "rewards_group" field. - public const int RewardsGroupFieldNumber = 2; - private int rewardsGroup_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardsGroup { - get { return rewardsGroup_; } - set { - rewardsGroup_ = value; - } - } - - /// Field number for the "des_text" field. - public const int DesTextFieldNumber = 3; - private string desText_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DesText { - get { return desText_; } - set { - desText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "u_i_assets" field. - public const int UIAssetsFieldNumber = 4; - private string uIAssets_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UIAssets { - get { return uIAssets_; } - set { - uIAssets_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "pop_up_u_i_assets" field. - public const int PopUpUIAssetsFieldNumber = 5; - private string popUpUIAssets_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PopUpUIAssets { - get { return popUpUIAssets_; } - set { - popUpUIAssets_ = 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 LoginRewardControl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LoginRewardControl other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (RewardsGroup != other.RewardsGroup) return false; - if (DesText != other.DesText) return false; - if (UIAssets != other.UIAssets) return false; - if (PopUpUIAssets != other.PopUpUIAssets) 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 (RewardsGroup != 0) hash ^= RewardsGroup.GetHashCode(); - if (DesText.Length != 0) hash ^= DesText.GetHashCode(); - if (UIAssets.Length != 0) hash ^= UIAssets.GetHashCode(); - if (PopUpUIAssets.Length != 0) hash ^= PopUpUIAssets.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 (RewardsGroup != 0) { - output.WriteRawTag(16); - output.WriteInt32(RewardsGroup); - } - if (DesText.Length != 0) { - output.WriteRawTag(26); - output.WriteString(DesText); - } - if (UIAssets.Length != 0) { - output.WriteRawTag(34); - output.WriteString(UIAssets); - } - if (PopUpUIAssets.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PopUpUIAssets); - } - 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 (RewardsGroup != 0) { - output.WriteRawTag(16); - output.WriteInt32(RewardsGroup); - } - if (DesText.Length != 0) { - output.WriteRawTag(26); - output.WriteString(DesText); - } - if (UIAssets.Length != 0) { - output.WriteRawTag(34); - output.WriteString(UIAssets); - } - if (PopUpUIAssets.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PopUpUIAssets); - } - 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 (RewardsGroup != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardsGroup); - } - if (DesText.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DesText); - } - if (UIAssets.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UIAssets); - } - if (PopUpUIAssets.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PopUpUIAssets); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LoginRewardControl other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.RewardsGroup != 0) { - RewardsGroup = other.RewardsGroup; - } - if (other.DesText.Length != 0) { - DesText = other.DesText; - } - if (other.UIAssets.Length != 0) { - UIAssets = other.UIAssets; - } - if (other.PopUpUIAssets.Length != 0) { - PopUpUIAssets = other.PopUpUIAssets; - } - _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: { - RewardsGroup = input.ReadInt32(); - break; - } - case 26: { - DesText = input.ReadString(); - break; - } - case 34: { - UIAssets = input.ReadString(); - break; - } - case 42: { - PopUpUIAssets = 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: { - RewardsGroup = input.ReadInt32(); - break; - } - case 26: { - DesText = input.ReadString(); - break; - } - case 34: { - UIAssets = input.ReadString(); - break; - } - case 42: { - PopUpUIAssets = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/LoginRewardGroup.cs b/Novaria.Common/Protos/LoginRewardGroup.cs deleted file mode 100644 index bbe55ee..0000000 --- a/Novaria.Common/Protos/LoginRewardGroup.cs +++ /dev/null @@ -1,616 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LoginRewardGroup.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 LoginRewardGroup.proto - public static partial class LoginRewardGroupReflection { - - #region Descriptor - /// File descriptor for LoginRewardGroup.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LoginRewardGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZMb2dpblJld2FyZEdyb3VwLnByb3RvIuABChBMb2dpblJld2FyZEdyb3Vw", - "EhcKD3Jld2FyZF9ncm91cF9pZBgBIAEoBRINCgVvcmRlchgCIAEoBRISCgpy", - "ZXdhcmRfaWQxGAMgASgFEgwKBHF0eTEYBCABKAUSEgoKcmV3YXJkX2lkMhgF", - "IAEoBRIMCgRxdHkyGAYgASgFEhIKCnJld2FyZF9pZDMYByABKAUSDAoEcXR5", - "MxgIIAEoBRITCgtyZXdhcmRfaWNvbhgJIAEoCRIUCgxyZXdhcmRfY291bnQY", - "CiABKAUSEwoLcmV3YXJkX2Rlc2MYCyABKAlCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.LoginRewardGroup), global::Nova.Client.LoginRewardGroup.Parser, new[]{ "RewardGroupId", "Order", "RewardId1", "Qty1", "RewardId2", "Qty2", "RewardId3", "Qty3", "RewardIcon", "RewardCount", "RewardDesc" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class LoginRewardGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginRewardGroup()); - 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.LoginRewardGroupReflection.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 LoginRewardGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoginRewardGroup(LoginRewardGroup other) : this() { - rewardGroupId_ = other.rewardGroupId_; - order_ = other.order_; - rewardId1_ = other.rewardId1_; - qty1_ = other.qty1_; - rewardId2_ = other.rewardId2_; - qty2_ = other.qty2_; - rewardId3_ = other.rewardId3_; - qty3_ = other.qty3_; - rewardIcon_ = other.rewardIcon_; - rewardCount_ = other.rewardCount_; - rewardDesc_ = other.rewardDesc_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoginRewardGroup Clone() { - return new LoginRewardGroup(this); - } - - /// Field number for the "reward_group_id" field. - public const int RewardGroupIdFieldNumber = 1; - private int rewardGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardGroupId { - get { return rewardGroupId_; } - set { - rewardGroupId_ = value; - } - } - - /// Field number for the "order" field. - public const int OrderFieldNumber = 2; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// Field number for the "reward_id1" field. - public const int RewardId1FieldNumber = 3; - private int rewardId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardId1 { - get { return rewardId1_; } - set { - rewardId1_ = value; - } - } - - /// Field number for the "qty1" field. - public const int Qty1FieldNumber = 4; - private int qty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty1 { - get { return qty1_; } - set { - qty1_ = value; - } - } - - /// Field number for the "reward_id2" field. - public const int RewardId2FieldNumber = 5; - private int rewardId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardId2 { - get { return rewardId2_; } - set { - rewardId2_ = value; - } - } - - /// Field number for the "qty2" field. - public const int Qty2FieldNumber = 6; - private int qty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty2 { - get { return qty2_; } - set { - qty2_ = value; - } - } - - /// Field number for the "reward_id3" field. - public const int RewardId3FieldNumber = 7; - private int rewardId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardId3 { - get { return rewardId3_; } - set { - rewardId3_ = value; - } - } - - /// Field number for the "qty3" field. - public const int Qty3FieldNumber = 8; - private int qty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty3 { - get { return qty3_; } - set { - qty3_ = value; - } - } - - /// Field number for the "reward_icon" field. - public const int RewardIconFieldNumber = 9; - private string rewardIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardIcon { - get { return rewardIcon_; } - set { - rewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "reward_count" field. - public const int RewardCountFieldNumber = 10; - private int rewardCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardCount { - get { return rewardCount_; } - set { - rewardCount_ = value; - } - } - - /// Field number for the "reward_desc" field. - public const int RewardDescFieldNumber = 11; - private string rewardDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardDesc { - get { return rewardDesc_; } - set { - rewardDesc_ = 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 LoginRewardGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LoginRewardGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (RewardGroupId != other.RewardGroupId) return false; - if (Order != other.Order) return false; - if (RewardId1 != other.RewardId1) return false; - if (Qty1 != other.Qty1) return false; - if (RewardId2 != other.RewardId2) return false; - if (Qty2 != other.Qty2) return false; - if (RewardId3 != other.RewardId3) return false; - if (Qty3 != other.Qty3) return false; - if (RewardIcon != other.RewardIcon) return false; - if (RewardCount != other.RewardCount) return false; - if (RewardDesc != other.RewardDesc) 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 (RewardGroupId != 0) hash ^= RewardGroupId.GetHashCode(); - if (Order != 0) hash ^= Order.GetHashCode(); - if (RewardId1 != 0) hash ^= RewardId1.GetHashCode(); - if (Qty1 != 0) hash ^= Qty1.GetHashCode(); - if (RewardId2 != 0) hash ^= RewardId2.GetHashCode(); - if (Qty2 != 0) hash ^= Qty2.GetHashCode(); - if (RewardId3 != 0) hash ^= RewardId3.GetHashCode(); - if (Qty3 != 0) hash ^= Qty3.GetHashCode(); - if (RewardIcon.Length != 0) hash ^= RewardIcon.GetHashCode(); - if (RewardCount != 0) hash ^= RewardCount.GetHashCode(); - if (RewardDesc.Length != 0) hash ^= RewardDesc.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 (RewardGroupId != 0) { - output.WriteRawTag(8); - output.WriteInt32(RewardGroupId); - } - if (Order != 0) { - output.WriteRawTag(16); - output.WriteInt32(Order); - } - if (RewardId1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(RewardId1); - } - if (Qty1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Qty1); - } - if (RewardId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(RewardId2); - } - if (Qty2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Qty2); - } - if (RewardId3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardId3); - } - if (Qty3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Qty3); - } - if (RewardIcon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(RewardIcon); - } - if (RewardCount != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardCount); - } - if (RewardDesc.Length != 0) { - output.WriteRawTag(90); - output.WriteString(RewardDesc); - } - 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 (RewardGroupId != 0) { - output.WriteRawTag(8); - output.WriteInt32(RewardGroupId); - } - if (Order != 0) { - output.WriteRawTag(16); - output.WriteInt32(Order); - } - if (RewardId1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(RewardId1); - } - if (Qty1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Qty1); - } - if (RewardId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(RewardId2); - } - if (Qty2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Qty2); - } - if (RewardId3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardId3); - } - if (Qty3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Qty3); - } - if (RewardIcon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(RewardIcon); - } - if (RewardCount != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardCount); - } - if (RewardDesc.Length != 0) { - output.WriteRawTag(90); - output.WriteString(RewardDesc); - } - 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 (RewardGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardGroupId); - } - if (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (RewardId1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId1); - } - if (Qty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); - } - if (RewardId2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId2); - } - if (Qty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); - } - if (RewardId3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId3); - } - if (Qty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); - } - if (RewardIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardIcon); - } - if (RewardCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardCount); - } - if (RewardDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDesc); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LoginRewardGroup other) { - if (other == null) { - return; - } - if (other.RewardGroupId != 0) { - RewardGroupId = other.RewardGroupId; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.RewardId1 != 0) { - RewardId1 = other.RewardId1; - } - if (other.Qty1 != 0) { - Qty1 = other.Qty1; - } - if (other.RewardId2 != 0) { - RewardId2 = other.RewardId2; - } - if (other.Qty2 != 0) { - Qty2 = other.Qty2; - } - if (other.RewardId3 != 0) { - RewardId3 = other.RewardId3; - } - if (other.Qty3 != 0) { - Qty3 = other.Qty3; - } - if (other.RewardIcon.Length != 0) { - RewardIcon = other.RewardIcon; - } - if (other.RewardCount != 0) { - RewardCount = other.RewardCount; - } - if (other.RewardDesc.Length != 0) { - RewardDesc = other.RewardDesc; - } - _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: { - RewardGroupId = input.ReadInt32(); - break; - } - case 16: { - Order = input.ReadInt32(); - break; - } - case 24: { - RewardId1 = input.ReadInt32(); - break; - } - case 32: { - Qty1 = input.ReadInt32(); - break; - } - case 40: { - RewardId2 = input.ReadInt32(); - break; - } - case 48: { - Qty2 = input.ReadInt32(); - break; - } - case 56: { - RewardId3 = input.ReadInt32(); - break; - } - case 64: { - Qty3 = input.ReadInt32(); - break; - } - case 74: { - RewardIcon = input.ReadString(); - break; - } - case 80: { - RewardCount = input.ReadInt32(); - break; - } - case 90: { - RewardDesc = 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: { - RewardGroupId = input.ReadInt32(); - break; - } - case 16: { - Order = input.ReadInt32(); - break; - } - case 24: { - RewardId1 = input.ReadInt32(); - break; - } - case 32: { - Qty1 = input.ReadInt32(); - break; - } - case 40: { - RewardId2 = input.ReadInt32(); - break; - } - case 48: { - Qty2 = input.ReadInt32(); - break; - } - case 56: { - RewardId3 = input.ReadInt32(); - break; - } - case 64: { - Qty3 = input.ReadInt32(); - break; - } - case 74: { - RewardIcon = input.ReadString(); - break; - } - case 80: { - RewardCount = input.ReadInt32(); - break; - } - case 90: { - RewardDesc = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MailList.cs b/Novaria.Common/Protos/MailList.cs new file mode 100644 index 0000000..94c2d2c --- /dev/null +++ b/Novaria.Common/Protos/MailList.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mail_list.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 Proto { + + /// Holder for reflection information generated from mail_list.proto + public static partial class MailListReflection { + + #region Descriptor + /// File descriptor for mail_list.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MailListReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg9tYWlsX2xpc3QucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG9QAGIGcHJv", + "dG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/MailRead.cs b/Novaria.Common/Protos/MailRead.cs new file mode 100644 index 0000000..461dc88 --- /dev/null +++ b/Novaria.Common/Protos/MailRead.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mail_read.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 Proto { + + /// Holder for reflection information generated from mail_read.proto + public static partial class MailReadReflection { + + #region Descriptor + /// File descriptor for mail_read.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MailReadReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg9tYWlsX3JlYWQucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG9QAGIGcHJv", + "dG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/EventOptions.cs b/Novaria.Common/Protos/MailRecv.cs similarity index 60% rename from Novaria.Common/Protos/EventOptions.cs rename to Novaria.Common/Protos/MailRecv.cs index 2287cb9..2187d21 100644 --- a/Novaria.Common/Protos/EventOptions.cs +++ b/Novaria.Common/Protos/MailRecv.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EventOptions.proto +// source: mail_recv.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from EventOptions.proto - public static partial class EventOptionsReflection { + /// Holder for reflection information generated from mail_recv.proto + public static partial class MailRecvReflection { #region Descriptor - /// File descriptor for EventOptions.proto + /// File descriptor for mail_recv.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static EventOptionsReflection() { + static MailRecvReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChJFdmVudE9wdGlvbnMucHJvdG8iRQoMRXZlbnRPcHRpb25zEgoKAmlkGAEg", - "ASgFEgwKBGRlc2MYAiABKAkSGwoTaWdub3JlX2ludGVyX2FjdGl2ZRgDIAEo", - "CEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "Cg9tYWlsX3JlY3YucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iUwoMTWFp", + "bFJlY3ZSZXNwEgsKA0lkcxgBIAMoDRIgCgVJdGVtcxgCIAEoCzIRLnByb3Rv", + "LkNoYW5nZUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EventOptions), global::Nova.Client.EventOptions.Parser, new[]{ "Id", "Desc", "IgnoreInterActive" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MailRecvResp), global::Proto.MailRecvResp.Parser, new[]{ "Ids", "Items", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EventOptions : pb::IMessage + public sealed partial class MailRecvResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EventOptions()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MailRecvResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.EventOptionsReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.MailRecvReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventOptions() { + public MailRecvResp() { OnConstruction(); } @@ -71,73 +71,72 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventOptions(EventOptions other) : this() { - id_ = other.id_; - desc_ = other.desc_; - ignoreInterActive_ = other.ignoreInterActive_; + public MailRecvResp(MailRecvResp other) : this() { + ids_ = other.ids_.Clone(); + items_ = other.items_ != null ? other.items_.Clone() : null; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EventOptions Clone() { - return new EventOptions(this); + public MailRecvResp Clone() { + return new MailRecvResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private global::Proto.ChangeInfo items_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Items { + get { return items_; } set { - id_ = value; + items_ = value; } } - /// Field number for the "desc" field. - public const int DescFieldNumber = 2; - private string desc_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc { - get { return desc_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ignore_inter_active" field. - public const int IgnoreInterActiveFieldNumber = 3; - private bool ignoreInterActive_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IgnoreInterActive { - get { return ignoreInterActive_; } - set { - ignoreInterActive_ = value; + nextPackage_ = 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 EventOptions); + return Equals(other as MailRecvResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EventOptions other) { + public bool Equals(MailRecvResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Desc != other.Desc) return false; - if (IgnoreInterActive != other.IgnoreInterActive) return false; + if(!ids_.Equals(other.ids_)) return false; + if (!object.Equals(Items, other.Items)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +144,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (IgnoreInterActive != false) hash ^= IgnoreInterActive.GetHashCode(); + hash ^= ids_.GetHashCode(); + if (items_ != null) hash ^= Items.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +165,14 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Desc.Length != 0) { + ids_.WriteTo(output, _repeated_ids_codec); + if (items_ != null) { output.WriteRawTag(18); - output.WriteString(Desc); + output.WriteMessage(Items); } - if (IgnoreInterActive != false) { - output.WriteRawTag(24); - output.WriteBool(IgnoreInterActive); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +184,14 @@ namespace Nova.Client { [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 (Desc.Length != 0) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (items_ != null) { output.WriteRawTag(18); - output.WriteString(Desc); + output.WriteMessage(Items); } - if (IgnoreInterActive != false) { - output.WriteRawTag(24); - output.WriteBool(IgnoreInterActive); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +203,12 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += ids_.CalculateSize(_repeated_ids_codec); + if (items_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Items); } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (IgnoreInterActive != false) { - size += 1 + 1; + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +218,19 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EventOptions other) { + public void MergeFrom(MailRecvResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + ids_.Add(other.ids_); + if (other.items_ != null) { + if (items_ == null) { + Items = new global::Proto.ChangeInfo(); + } + Items.MergeFrom(other.Items); } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.IgnoreInterActive != false) { - IgnoreInterActive = other.IgnoreInterActive; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -259,16 +251,20 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(input, _repeated_ids_codec); break; } case 18: { - Desc = input.ReadString(); + if (items_ == null) { + Items = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Items); break; } - case 24: { - IgnoreInterActive = input.ReadBool(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -290,16 +286,20 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); break; } case 18: { - Desc = input.ReadString(); + if (items_ == null) { + Items = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Items); break; } - case 24: { - IgnoreInterActive = input.ReadBool(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/StarTowerCombo.cs b/Novaria.Common/Protos/MailRemove.cs similarity index 66% rename from Novaria.Common/Protos/StarTowerCombo.cs rename to Novaria.Common/Protos/MailRemove.cs index 3e52c09..533717d 100644 --- a/Novaria.Common/Protos/StarTowerCombo.cs +++ b/Novaria.Common/Protos/MailRemove.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerCombo.proto +// source: mail_remove.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from StarTowerCombo.proto - public static partial class StarTowerComboReflection { + /// Holder for reflection information generated from mail_remove.proto + public static partial class MailRemoveReflection { #region Descriptor - /// File descriptor for StarTowerCombo.proto + /// File descriptor for mail_remove.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerComboReflection() { + static MailRemoveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChRTdGFyVG93ZXJDb21iby5wcm90byIwCg5TdGFyVG93ZXJDb21ibxIKCgJp", - "ZBgBIAEoBRISCgpiYXR0bGVfbHZzGAIgAygFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); + "ChFtYWlsX3JlbW92ZS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byIzCg5N", + "YWlsUmVtb3ZlUmVzcBILCgNJZHMYASADKA0SFAoLTmV4dFBhY2thZ2UY/w8g", + "ASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerCombo), global::Nova.Client.StarTowerCombo.Parser, new[]{ "Id", "BattleLvs" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MailRemoveResp), global::Proto.MailRemoveResp.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerCombo : pb::IMessage + public sealed partial class MailRemoveResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerCombo()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MailRemoveResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.StarTowerComboReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.MailRemoveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerCombo() { + public MailRemoveResp() { OnConstruction(); } @@ -71,58 +71,58 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerCombo(StarTowerCombo other) : this() { - id_ = other.id_; - battleLvs_ = other.battleLvs_.Clone(); + public MailRemoveResp(MailRemoveResp other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerCombo Clone() { - return new StarTowerCombo(this); + public MailRemoveResp Clone() { + return new MailRemoveResp(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - id_ = value; + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "battle_lvs" field. - public const int BattleLvsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_battleLvs_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField battleLvs_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BattleLvs { - get { return battleLvs_; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as StarTowerCombo); + return Equals(other as MailRemoveResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerCombo other) { + public bool Equals(MailRemoveResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if(!battleLvs_.Equals(other.battleLvs_)) return false; + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -130,8 +130,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - hash ^= battleLvs_.GetHashCode(); + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -150,11 +150,11 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - battleLvs_.WriteTo(output, _repeated_battleLvs_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -165,11 +165,11 @@ namespace Nova.Client { [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); + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - battleLvs_.WriteTo(ref output, _repeated_battleLvs_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -180,10 +180,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - size += battleLvs_.CalculateSize(_repeated_battleLvs_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -192,14 +192,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerCombo other) { + public void MergeFrom(MailRemoveResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } - battleLvs_.Add(other.battleLvs_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -219,13 +219,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(input, _repeated_ids_codec); break; } - case 18: - case 16: { - battleLvs_.AddEntriesFrom(input, _repeated_battleLvs_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -247,13 +247,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); break; } - case 18: - case 16: { - battleLvs_.AddEntriesFrom(ref input, _repeated_battleLvs_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/MailTemplate.cs b/Novaria.Common/Protos/MailTemplate.cs deleted file mode 100644 index 462f0d7..0000000 --- a/Novaria.Common/Protos/MailTemplate.cs +++ /dev/null @@ -1,952 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MailTemplate.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 MailTemplate.proto - public static partial class MailTemplateReflection { - - #region Descriptor - /// File descriptor for MailTemplate.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MailTemplateReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJNYWlsVGVtcGxhdGUucHJvdG8i9AIKDE1haWxUZW1wbGF0ZRIKCgJpZBgB", - "IAEoBRITCgtleHBsYW5hdGlvbhgCIAEoCRIMCgRpY29uGAMgASgJEg4KBmF1", - "dGhvchgEIAEoCRIUCgxsZXR0ZXJfcGFwZXIYBSABKAkSDwoHc3ViamVjdBgG", - "IAEoCRIMCgRkZXNjGAcgASgJEgwKBHR5cGUYCCABKAUSDgoGcHJvcHMxGAkg", - "ASgFEhQKDHByb3BzX2NvdW50MRgKIAEoBRIOCgZwcm9wczIYCyABKAUSFAoM", - "cHJvcHNfY291bnQyGAwgASgFEg4KBnByb3BzMxgNIAEoBRIUCgxwcm9wc19j", - "b3VudDMYDiABKAUSDgoGcHJvcHM0GA8gASgFEhQKDHByb3BzX2NvdW50NBgQ", - "IAEoBRIOCgZwcm9wczUYESABKAUSFAoMcHJvcHNfY291bnQ1GBIgASgFEg4K", - "BnByb3BzNhgTIAEoBRIUCgxwcm9wc19jb3VudDYYFCABKAVCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MailTemplate), global::Nova.Client.MailTemplate.Parser, new[]{ "Id", "Explanation", "Icon", "Author", "LetterPaper", "Subject", "Desc", "Type", "Props1", "PropsCount1", "Props2", "PropsCount2", "Props3", "PropsCount3", "Props4", "PropsCount4", "Props5", "PropsCount5", "Props6", "PropsCount6" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MailTemplate : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MailTemplate()); - 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.MailTemplateReflection.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 MailTemplate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MailTemplate(MailTemplate other) : this() { - id_ = other.id_; - explanation_ = other.explanation_; - icon_ = other.icon_; - author_ = other.author_; - letterPaper_ = other.letterPaper_; - subject_ = other.subject_; - desc_ = other.desc_; - type_ = other.type_; - props1_ = other.props1_; - propsCount1_ = other.propsCount1_; - props2_ = other.props2_; - propsCount2_ = other.propsCount2_; - props3_ = other.props3_; - propsCount3_ = other.propsCount3_; - props4_ = other.props4_; - propsCount4_ = other.propsCount4_; - props5_ = other.props5_; - propsCount5_ = other.propsCount5_; - props6_ = other.props6_; - propsCount6_ = other.propsCount6_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MailTemplate Clone() { - return new MailTemplate(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 "explanation" field. - public const int ExplanationFieldNumber = 2; - private string explanation_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Explanation { - get { return explanation_; } - set { - explanation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 3; - 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 "author" field. - public const int AuthorFieldNumber = 4; - private string author_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Author { - get { return author_; } - set { - author_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "letter_paper" field. - public const int LetterPaperFieldNumber = 5; - private string letterPaper_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LetterPaper { - get { return letterPaper_; } - set { - letterPaper_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "subject" field. - public const int SubjectFieldNumber = 6; - private string subject_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Subject { - get { return subject_; } - set { - subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 7; - 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 "type" field. - public const int TypeFieldNumber = 8; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "props1" field. - public const int Props1FieldNumber = 9; - private int props1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Props1 { - get { return props1_; } - set { - props1_ = value; - } - } - - /// Field number for the "props_count1" field. - public const int PropsCount1FieldNumber = 10; - private int propsCount1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PropsCount1 { - get { return propsCount1_; } - set { - propsCount1_ = value; - } - } - - /// Field number for the "props2" field. - public const int Props2FieldNumber = 11; - private int props2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Props2 { - get { return props2_; } - set { - props2_ = value; - } - } - - /// Field number for the "props_count2" field. - public const int PropsCount2FieldNumber = 12; - private int propsCount2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PropsCount2 { - get { return propsCount2_; } - set { - propsCount2_ = value; - } - } - - /// Field number for the "props3" field. - public const int Props3FieldNumber = 13; - private int props3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Props3 { - get { return props3_; } - set { - props3_ = value; - } - } - - /// Field number for the "props_count3" field. - public const int PropsCount3FieldNumber = 14; - private int propsCount3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PropsCount3 { - get { return propsCount3_; } - set { - propsCount3_ = value; - } - } - - /// Field number for the "props4" field. - public const int Props4FieldNumber = 15; - private int props4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Props4 { - get { return props4_; } - set { - props4_ = value; - } - } - - /// Field number for the "props_count4" field. - public const int PropsCount4FieldNumber = 16; - private int propsCount4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PropsCount4 { - get { return propsCount4_; } - set { - propsCount4_ = value; - } - } - - /// Field number for the "props5" field. - public const int Props5FieldNumber = 17; - private int props5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Props5 { - get { return props5_; } - set { - props5_ = value; - } - } - - /// Field number for the "props_count5" field. - public const int PropsCount5FieldNumber = 18; - private int propsCount5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PropsCount5 { - get { return propsCount5_; } - set { - propsCount5_ = value; - } - } - - /// Field number for the "props6" field. - public const int Props6FieldNumber = 19; - private int props6_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Props6 { - get { return props6_; } - set { - props6_ = value; - } - } - - /// Field number for the "props_count6" field. - public const int PropsCount6FieldNumber = 20; - private int propsCount6_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PropsCount6 { - get { return propsCount6_; } - set { - propsCount6_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MailTemplate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MailTemplate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Explanation != other.Explanation) return false; - if (Icon != other.Icon) return false; - if (Author != other.Author) return false; - if (LetterPaper != other.LetterPaper) return false; - if (Subject != other.Subject) return false; - if (Desc != other.Desc) return false; - if (Type != other.Type) return false; - if (Props1 != other.Props1) return false; - if (PropsCount1 != other.PropsCount1) return false; - if (Props2 != other.Props2) return false; - if (PropsCount2 != other.PropsCount2) return false; - if (Props3 != other.Props3) return false; - if (PropsCount3 != other.PropsCount3) return false; - if (Props4 != other.Props4) return false; - if (PropsCount4 != other.PropsCount4) return false; - if (Props5 != other.Props5) return false; - if (PropsCount5 != other.PropsCount5) return false; - if (Props6 != other.Props6) return false; - if (PropsCount6 != other.PropsCount6) 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 (Explanation.Length != 0) hash ^= Explanation.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Author.Length != 0) hash ^= Author.GetHashCode(); - if (LetterPaper.Length != 0) hash ^= LetterPaper.GetHashCode(); - if (Subject.Length != 0) hash ^= Subject.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Props1 != 0) hash ^= Props1.GetHashCode(); - if (PropsCount1 != 0) hash ^= PropsCount1.GetHashCode(); - if (Props2 != 0) hash ^= Props2.GetHashCode(); - if (PropsCount2 != 0) hash ^= PropsCount2.GetHashCode(); - if (Props3 != 0) hash ^= Props3.GetHashCode(); - if (PropsCount3 != 0) hash ^= PropsCount3.GetHashCode(); - if (Props4 != 0) hash ^= Props4.GetHashCode(); - if (PropsCount4 != 0) hash ^= PropsCount4.GetHashCode(); - if (Props5 != 0) hash ^= Props5.GetHashCode(); - if (PropsCount5 != 0) hash ^= PropsCount5.GetHashCode(); - if (Props6 != 0) hash ^= Props6.GetHashCode(); - if (PropsCount6 != 0) hash ^= PropsCount6.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 (Explanation.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Explanation); - } - if (Icon.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon); - } - if (Author.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Author); - } - if (LetterPaper.Length != 0) { - output.WriteRawTag(42); - output.WriteString(LetterPaper); - } - if (Subject.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Subject); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (Type != 0) { - output.WriteRawTag(64); - output.WriteInt32(Type); - } - if (Props1 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Props1); - } - if (PropsCount1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(PropsCount1); - } - if (Props2 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Props2); - } - if (PropsCount2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(PropsCount2); - } - if (Props3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Props3); - } - if (PropsCount3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(PropsCount3); - } - if (Props4 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Props4); - } - if (PropsCount4 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(PropsCount4); - } - if (Props5 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(Props5); - } - if (PropsCount5 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(PropsCount5); - } - if (Props6 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Props6); - } - if (PropsCount6 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(PropsCount6); - } - 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 (Explanation.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Explanation); - } - if (Icon.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon); - } - if (Author.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Author); - } - if (LetterPaper.Length != 0) { - output.WriteRawTag(42); - output.WriteString(LetterPaper); - } - if (Subject.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Subject); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (Type != 0) { - output.WriteRawTag(64); - output.WriteInt32(Type); - } - if (Props1 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Props1); - } - if (PropsCount1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(PropsCount1); - } - if (Props2 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Props2); - } - if (PropsCount2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(PropsCount2); - } - if (Props3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Props3); - } - if (PropsCount3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(PropsCount3); - } - if (Props4 != 0) { - output.WriteRawTag(120); - output.WriteInt32(Props4); - } - if (PropsCount4 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(PropsCount4); - } - if (Props5 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(Props5); - } - if (PropsCount5 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(PropsCount5); - } - if (Props6 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(Props6); - } - if (PropsCount6 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(PropsCount6); - } - 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 (Explanation.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Explanation); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Author.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Author); - } - if (LetterPaper.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LetterPaper); - } - if (Subject.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Props1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props1); - } - if (PropsCount1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount1); - } - if (Props2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props2); - } - if (PropsCount2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount2); - } - if (Props3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props3); - } - if (PropsCount3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount3); - } - if (Props4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props4); - } - if (PropsCount4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount4); - } - if (Props5 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Props5); - } - if (PropsCount5 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount5); - } - if (Props6 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Props6); - } - if (PropsCount6 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount6); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MailTemplate other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Explanation.Length != 0) { - Explanation = other.Explanation; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Author.Length != 0) { - Author = other.Author; - } - if (other.LetterPaper.Length != 0) { - LetterPaper = other.LetterPaper; - } - if (other.Subject.Length != 0) { - Subject = other.Subject; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Props1 != 0) { - Props1 = other.Props1; - } - if (other.PropsCount1 != 0) { - PropsCount1 = other.PropsCount1; - } - if (other.Props2 != 0) { - Props2 = other.Props2; - } - if (other.PropsCount2 != 0) { - PropsCount2 = other.PropsCount2; - } - if (other.Props3 != 0) { - Props3 = other.Props3; - } - if (other.PropsCount3 != 0) { - PropsCount3 = other.PropsCount3; - } - if (other.Props4 != 0) { - Props4 = other.Props4; - } - if (other.PropsCount4 != 0) { - PropsCount4 = other.PropsCount4; - } - if (other.Props5 != 0) { - Props5 = other.Props5; - } - if (other.PropsCount5 != 0) { - PropsCount5 = other.PropsCount5; - } - if (other.Props6 != 0) { - Props6 = other.Props6; - } - if (other.PropsCount6 != 0) { - PropsCount6 = other.PropsCount6; - } - _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: { - Explanation = input.ReadString(); - break; - } - case 26: { - Icon = input.ReadString(); - break; - } - case 34: { - Author = input.ReadString(); - break; - } - case 42: { - LetterPaper = input.ReadString(); - break; - } - case 50: { - Subject = input.ReadString(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 64: { - Type = input.ReadInt32(); - break; - } - case 72: { - Props1 = input.ReadInt32(); - break; - } - case 80: { - PropsCount1 = input.ReadInt32(); - break; - } - case 88: { - Props2 = input.ReadInt32(); - break; - } - case 96: { - PropsCount2 = input.ReadInt32(); - break; - } - case 104: { - Props3 = input.ReadInt32(); - break; - } - case 112: { - PropsCount3 = input.ReadInt32(); - break; - } - case 120: { - Props4 = input.ReadInt32(); - break; - } - case 128: { - PropsCount4 = input.ReadInt32(); - break; - } - case 136: { - Props5 = input.ReadInt32(); - break; - } - case 144: { - PropsCount5 = input.ReadInt32(); - break; - } - case 152: { - Props6 = input.ReadInt32(); - break; - } - case 160: { - PropsCount6 = 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 18: { - Explanation = input.ReadString(); - break; - } - case 26: { - Icon = input.ReadString(); - break; - } - case 34: { - Author = input.ReadString(); - break; - } - case 42: { - LetterPaper = input.ReadString(); - break; - } - case 50: { - Subject = input.ReadString(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 64: { - Type = input.ReadInt32(); - break; - } - case 72: { - Props1 = input.ReadInt32(); - break; - } - case 80: { - PropsCount1 = input.ReadInt32(); - break; - } - case 88: { - Props2 = input.ReadInt32(); - break; - } - case 96: { - PropsCount2 = input.ReadInt32(); - break; - } - case 104: { - Props3 = input.ReadInt32(); - break; - } - case 112: { - PropsCount3 = input.ReadInt32(); - break; - } - case 120: { - Props4 = input.ReadInt32(); - break; - } - case 128: { - PropsCount4 = input.ReadInt32(); - break; - } - case 136: { - Props5 = input.ReadInt32(); - break; - } - case 144: { - PropsCount5 = input.ReadInt32(); - break; - } - case 152: { - Props6 = input.ReadInt32(); - break; - } - case 160: { - PropsCount6 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Mainline.cs b/Novaria.Common/Protos/Mainline.cs deleted file mode 100644 index cd4e372..0000000 --- a/Novaria.Common/Protos/Mainline.cs +++ /dev/null @@ -1,1357 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Mainline.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 Mainline.proto - public static partial class MainlineReflection { - - #region Descriptor - /// File descriptor for Mainline.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MainlineReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5NYWlubGluZS5wcm90byKDBQoITWFpbmxpbmUSCgoCaWQYASABKAUSCwoD", - "bnVtGAIgASgJEgwKBG5hbWUYAyABKAkSDAoEZGVzYxgEIAEoCRIMCgR0eXBl", - "GAUgASgFEg4KBmVuZXJneRgGIAEoBRISCgpjaGFwdGVyX2lkGAcgASgFEgwK", - "BHByZXYYCCADKAUSDAoEZm9ybRgJIAMoBRIOCgZhdmdfaWQYCiABKAkSFwoP", - "dHJpYWxfY2hhcmFjdGVyGAsgAygFEhUKDWJlZm9yZV9hdmdfaWQYDCABKAkS", - "FAoMYWZ0ZXJfYXZnX2lkGA0gASgJEhYKDmVuZXJneV9jb25zdW1lGA4gASgF", - "EhMKC3VubG9ja19pdGVtGA8gASgFEhIKCnVubG9ja19xdHkYECABKAUSEwoL", - "Z2xvYl9yZXdhcmQYESABKAUSFgoOcmV3YXJkX3ByZXZpZXcYEiABKAkSEwoL", - "aXRlbV9yZXdhcmQYEyABKAUSGQoRZmlyc3RfaXRlbV9yZXdhcmQYFCABKAUS", - "FgoOZGlhbW9uZF9yZXdhcmQYFSABKAUSGAoQbWluX2NoZXN0X3Jld2FyZBgW", - "IAEoCRIYChBtYXhfY2hlc3RfcmV3YXJkGBcgASgJEhMKC2NoYXJfYmFubmVk", - "GBggAygFEhAKCGZsb29yX2lkGBkgAygFEgwKBGljb24YGiABKAkSDgoGcG9z", - "X2lkGBsgASgFEiAKGHByZXZpZXdfbW9uc3Rlcl9ncm91cF9pZBgcIAEoBRIR", - "CglyZWNvbW1lbmQYHSABKAUSDgoGcmVwZWF0GB4gASgIEhQKDHN1Yl9tYXBf", - "bmFtZRgfIAEoBRIUCgxtYWlubGluZV9pbWcYICABKAlCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Mainline), global::Nova.Client.Mainline.Parser, new[]{ "Id", "Num", "Name", "Desc", "Type", "Energy", "ChapterId", "Prev", "Form", "AvgId", "TrialCharacter", "BeforeAvgId", "AfterAvgId", "EnergyConsume", "UnlockItem", "UnlockQty", "GlobReward", "RewardPreview", "ItemReward", "FirstItemReward", "DiamondReward", "MinChestReward", "MaxChestReward", "CharBanned", "FloorId", "Icon", "PosId", "PreviewMonsterGroupId", "Recommend", "Repeat", "SubMapName", "MainlineImg" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Mainline : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Mainline()); - 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.MainlineReflection.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 Mainline() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Mainline(Mainline other) : this() { - id_ = other.id_; - num_ = other.num_; - name_ = other.name_; - desc_ = other.desc_; - type_ = other.type_; - energy_ = other.energy_; - chapterId_ = other.chapterId_; - prev_ = other.prev_.Clone(); - form_ = other.form_.Clone(); - avgId_ = other.avgId_; - trialCharacter_ = other.trialCharacter_.Clone(); - beforeAvgId_ = other.beforeAvgId_; - afterAvgId_ = other.afterAvgId_; - energyConsume_ = other.energyConsume_; - unlockItem_ = other.unlockItem_; - unlockQty_ = other.unlockQty_; - globReward_ = other.globReward_; - rewardPreview_ = other.rewardPreview_; - itemReward_ = other.itemReward_; - firstItemReward_ = other.firstItemReward_; - diamondReward_ = other.diamondReward_; - minChestReward_ = other.minChestReward_; - maxChestReward_ = other.maxChestReward_; - charBanned_ = other.charBanned_.Clone(); - floorId_ = other.floorId_.Clone(); - icon_ = other.icon_; - posId_ = other.posId_; - previewMonsterGroupId_ = other.previewMonsterGroupId_; - recommend_ = other.recommend_; - repeat_ = other.repeat_; - subMapName_ = other.subMapName_; - mainlineImg_ = other.mainlineImg_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Mainline Clone() { - return new Mainline(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 "num" field. - public const int NumFieldNumber = 2; - private string num_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Num { - get { return num_; } - set { - num_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 = 4; - 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 "type" field. - public const int TypeFieldNumber = 5; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "energy" field. - public const int EnergyFieldNumber = 6; - private int energy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Energy { - get { return energy_; } - set { - energy_ = value; - } - } - - /// Field number for the "chapter_id" field. - public const int ChapterIdFieldNumber = 7; - private int chapterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ChapterId { - get { return chapterId_; } - set { - chapterId_ = value; - } - } - - /// Field number for the "prev" field. - public const int PrevFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_prev_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField prev_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Prev { - get { return prev_; } - } - - /// Field number for the "form" field. - public const int FormFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_form_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField form_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Form { - get { return form_; } - } - - /// Field number for the "avg_id" field. - public const int AvgIdFieldNumber = 10; - private string avgId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AvgId { - get { return avgId_; } - set { - avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "trial_character" field. - public const int TrialCharacterFieldNumber = 11; - private static readonly pb::FieldCodec _repeated_trialCharacter_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField trialCharacter_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TrialCharacter { - get { return trialCharacter_; } - } - - /// Field number for the "before_avg_id" field. - public const int BeforeAvgIdFieldNumber = 12; - private string beforeAvgId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BeforeAvgId { - get { return beforeAvgId_; } - set { - beforeAvgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "after_avg_id" field. - public const int AfterAvgIdFieldNumber = 13; - private string afterAvgId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AfterAvgId { - get { return afterAvgId_; } - set { - afterAvgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "energy_consume" field. - public const int EnergyConsumeFieldNumber = 14; - private int energyConsume_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyConsume { - get { return energyConsume_; } - set { - energyConsume_ = value; - } - } - - /// Field number for the "unlock_item" field. - public const int UnlockItemFieldNumber = 15; - private int unlockItem_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockItem { - get { return unlockItem_; } - set { - unlockItem_ = value; - } - } - - /// Field number for the "unlock_qty" field. - public const int UnlockQtyFieldNumber = 16; - private int unlockQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockQty { - get { return unlockQty_; } - set { - unlockQty_ = value; - } - } - - /// Field number for the "glob_reward" field. - public const int GlobRewardFieldNumber = 17; - private int globReward_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GlobReward { - get { return globReward_; } - set { - globReward_ = value; - } - } - - /// Field number for the "reward_preview" field. - public const int RewardPreviewFieldNumber = 18; - private string rewardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardPreview { - get { return rewardPreview_; } - set { - rewardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "item_reward" field. - public const int ItemRewardFieldNumber = 19; - private int itemReward_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemReward { - get { return itemReward_; } - set { - itemReward_ = value; - } - } - - /// Field number for the "first_item_reward" field. - public const int FirstItemRewardFieldNumber = 20; - private int firstItemReward_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FirstItemReward { - get { return firstItemReward_; } - set { - firstItemReward_ = value; - } - } - - /// Field number for the "diamond_reward" field. - public const int DiamondRewardFieldNumber = 21; - private int diamondReward_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DiamondReward { - get { return diamondReward_; } - set { - diamondReward_ = value; - } - } - - /// Field number for the "min_chest_reward" field. - public const int MinChestRewardFieldNumber = 22; - private string minChestReward_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MinChestReward { - get { return minChestReward_; } - set { - minChestReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "max_chest_reward" field. - public const int MaxChestRewardFieldNumber = 23; - private string maxChestReward_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MaxChestReward { - get { return maxChestReward_; } - set { - maxChestReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "char_banned" field. - public const int CharBannedFieldNumber = 24; - private static readonly pb::FieldCodec _repeated_charBanned_codec - = pb::FieldCodec.ForInt32(194); - private readonly pbc::RepeatedField charBanned_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CharBanned { - get { return charBanned_; } - } - - /// Field number for the "floor_id" field. - public const int FloorIdFieldNumber = 25; - private static readonly pb::FieldCodec _repeated_floorId_codec - = pb::FieldCodec.ForInt32(202); - private readonly pbc::RepeatedField floorId_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField FloorId { - get { return floorId_; } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 26; - 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 "pos_id" field. - public const int PosIdFieldNumber = 27; - private int posId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PosId { - get { return posId_; } - set { - posId_ = value; - } - } - - /// Field number for the "preview_monster_group_id" field. - public const int PreviewMonsterGroupIdFieldNumber = 28; - 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 "recommend" field. - public const int RecommendFieldNumber = 29; - private int recommend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Recommend { - get { return recommend_; } - set { - recommend_ = value; - } - } - - /// Field number for the "repeat" field. - public const int RepeatFieldNumber = 30; - private bool repeat_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Repeat { - get { return repeat_; } - set { - repeat_ = value; - } - } - - /// Field number for the "sub_map_name" field. - public const int SubMapNameFieldNumber = 31; - private int subMapName_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SubMapName { - get { return subMapName_; } - set { - subMapName_ = value; - } - } - - /// Field number for the "mainline_img" field. - public const int MainlineImgFieldNumber = 32; - private string mainlineImg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MainlineImg { - get { return mainlineImg_; } - set { - mainlineImg_ = 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 Mainline); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Mainline other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Num != other.Num) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (Type != other.Type) return false; - if (Energy != other.Energy) return false; - if (ChapterId != other.ChapterId) return false; - if(!prev_.Equals(other.prev_)) return false; - if(!form_.Equals(other.form_)) return false; - if (AvgId != other.AvgId) return false; - if(!trialCharacter_.Equals(other.trialCharacter_)) return false; - if (BeforeAvgId != other.BeforeAvgId) return false; - if (AfterAvgId != other.AfterAvgId) return false; - if (EnergyConsume != other.EnergyConsume) return false; - if (UnlockItem != other.UnlockItem) return false; - if (UnlockQty != other.UnlockQty) return false; - if (GlobReward != other.GlobReward) return false; - if (RewardPreview != other.RewardPreview) return false; - if (ItemReward != other.ItemReward) return false; - if (FirstItemReward != other.FirstItemReward) return false; - if (DiamondReward != other.DiamondReward) return false; - if (MinChestReward != other.MinChestReward) return false; - if (MaxChestReward != other.MaxChestReward) return false; - if(!charBanned_.Equals(other.charBanned_)) return false; - if(!floorId_.Equals(other.floorId_)) return false; - if (Icon != other.Icon) return false; - if (PosId != other.PosId) return false; - if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; - if (Recommend != other.Recommend) return false; - if (Repeat != other.Repeat) return false; - if (SubMapName != other.SubMapName) return false; - if (MainlineImg != other.MainlineImg) 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 (Num.Length != 0) hash ^= Num.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Energy != 0) hash ^= Energy.GetHashCode(); - if (ChapterId != 0) hash ^= ChapterId.GetHashCode(); - hash ^= prev_.GetHashCode(); - hash ^= form_.GetHashCode(); - if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); - hash ^= trialCharacter_.GetHashCode(); - if (BeforeAvgId.Length != 0) hash ^= BeforeAvgId.GetHashCode(); - if (AfterAvgId.Length != 0) hash ^= AfterAvgId.GetHashCode(); - if (EnergyConsume != 0) hash ^= EnergyConsume.GetHashCode(); - if (UnlockItem != 0) hash ^= UnlockItem.GetHashCode(); - if (UnlockQty != 0) hash ^= UnlockQty.GetHashCode(); - if (GlobReward != 0) hash ^= GlobReward.GetHashCode(); - if (RewardPreview.Length != 0) hash ^= RewardPreview.GetHashCode(); - if (ItemReward != 0) hash ^= ItemReward.GetHashCode(); - if (FirstItemReward != 0) hash ^= FirstItemReward.GetHashCode(); - if (DiamondReward != 0) hash ^= DiamondReward.GetHashCode(); - if (MinChestReward.Length != 0) hash ^= MinChestReward.GetHashCode(); - if (MaxChestReward.Length != 0) hash ^= MaxChestReward.GetHashCode(); - hash ^= charBanned_.GetHashCode(); - hash ^= floorId_.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (PosId != 0) hash ^= PosId.GetHashCode(); - if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); - if (Recommend != 0) hash ^= Recommend.GetHashCode(); - if (Repeat != false) hash ^= Repeat.GetHashCode(); - if (SubMapName != 0) hash ^= SubMapName.GetHashCode(); - if (MainlineImg.Length != 0) hash ^= MainlineImg.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 (Num.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Num); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Type != 0) { - output.WriteRawTag(40); - output.WriteInt32(Type); - } - if (Energy != 0) { - output.WriteRawTag(48); - output.WriteInt32(Energy); - } - if (ChapterId != 0) { - output.WriteRawTag(56); - output.WriteInt32(ChapterId); - } - prev_.WriteTo(output, _repeated_prev_codec); - form_.WriteTo(output, _repeated_form_codec); - if (AvgId.Length != 0) { - output.WriteRawTag(82); - output.WriteString(AvgId); - } - trialCharacter_.WriteTo(output, _repeated_trialCharacter_codec); - if (BeforeAvgId.Length != 0) { - output.WriteRawTag(98); - output.WriteString(BeforeAvgId); - } - if (AfterAvgId.Length != 0) { - output.WriteRawTag(106); - output.WriteString(AfterAvgId); - } - if (EnergyConsume != 0) { - output.WriteRawTag(112); - output.WriteInt32(EnergyConsume); - } - if (UnlockItem != 0) { - output.WriteRawTag(120); - output.WriteInt32(UnlockItem); - } - if (UnlockQty != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(UnlockQty); - } - if (GlobReward != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(GlobReward); - } - if (RewardPreview.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(RewardPreview); - } - if (ItemReward != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ItemReward); - } - if (FirstItemReward != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(FirstItemReward); - } - if (DiamondReward != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(DiamondReward); - } - if (MinChestReward.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(MinChestReward); - } - if (MaxChestReward.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(MaxChestReward); - } - charBanned_.WriteTo(output, _repeated_charBanned_codec); - floorId_.WriteTo(output, _repeated_floorId_codec); - if (Icon.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Icon); - } - if (PosId != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(PosId); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Recommend != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(Recommend); - } - if (Repeat != false) { - output.WriteRawTag(240, 1); - output.WriteBool(Repeat); - } - if (SubMapName != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(SubMapName); - } - if (MainlineImg.Length != 0) { - output.WriteRawTag(130, 2); - output.WriteString(MainlineImg); - } - 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 (Num.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Num); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Type != 0) { - output.WriteRawTag(40); - output.WriteInt32(Type); - } - if (Energy != 0) { - output.WriteRawTag(48); - output.WriteInt32(Energy); - } - if (ChapterId != 0) { - output.WriteRawTag(56); - output.WriteInt32(ChapterId); - } - prev_.WriteTo(ref output, _repeated_prev_codec); - form_.WriteTo(ref output, _repeated_form_codec); - if (AvgId.Length != 0) { - output.WriteRawTag(82); - output.WriteString(AvgId); - } - trialCharacter_.WriteTo(ref output, _repeated_trialCharacter_codec); - if (BeforeAvgId.Length != 0) { - output.WriteRawTag(98); - output.WriteString(BeforeAvgId); - } - if (AfterAvgId.Length != 0) { - output.WriteRawTag(106); - output.WriteString(AfterAvgId); - } - if (EnergyConsume != 0) { - output.WriteRawTag(112); - output.WriteInt32(EnergyConsume); - } - if (UnlockItem != 0) { - output.WriteRawTag(120); - output.WriteInt32(UnlockItem); - } - if (UnlockQty != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(UnlockQty); - } - if (GlobReward != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(GlobReward); - } - if (RewardPreview.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(RewardPreview); - } - if (ItemReward != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ItemReward); - } - if (FirstItemReward != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(FirstItemReward); - } - if (DiamondReward != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(DiamondReward); - } - if (MinChestReward.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(MinChestReward); - } - if (MaxChestReward.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(MaxChestReward); - } - charBanned_.WriteTo(ref output, _repeated_charBanned_codec); - floorId_.WriteTo(ref output, _repeated_floorId_codec); - if (Icon.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Icon); - } - if (PosId != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(PosId); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Recommend != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(Recommend); - } - if (Repeat != false) { - output.WriteRawTag(240, 1); - output.WriteBool(Repeat); - } - if (SubMapName != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(SubMapName); - } - if (MainlineImg.Length != 0) { - output.WriteRawTag(130, 2); - output.WriteString(MainlineImg); - } - 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 (Num.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Num); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Energy != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Energy); - } - if (ChapterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChapterId); - } - size += prev_.CalculateSize(_repeated_prev_codec); - size += form_.CalculateSize(_repeated_form_codec); - if (AvgId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId); - } - size += trialCharacter_.CalculateSize(_repeated_trialCharacter_codec); - if (BeforeAvgId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BeforeAvgId); - } - if (AfterAvgId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AfterAvgId); - } - if (EnergyConsume != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnergyConsume); - } - if (UnlockItem != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockItem); - } - if (UnlockQty != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UnlockQty); - } - if (GlobReward != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GlobReward); - } - if (RewardPreview.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview); - } - if (ItemReward != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemReward); - } - if (FirstItemReward != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FirstItemReward); - } - if (DiamondReward != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DiamondReward); - } - if (MinChestReward.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MinChestReward); - } - if (MaxChestReward.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MaxChestReward); - } - size += charBanned_.CalculateSize(_repeated_charBanned_codec); - size += floorId_.CalculateSize(_repeated_floorId_codec); - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (PosId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PosId); - } - if (PreviewMonsterGroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); - } - if (Recommend != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Recommend); - } - if (Repeat != false) { - size += 2 + 1; - } - if (SubMapName != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SubMapName); - } - if (MainlineImg.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(MainlineImg); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Mainline other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Num.Length != 0) { - Num = other.Num; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Energy != 0) { - Energy = other.Energy; - } - if (other.ChapterId != 0) { - ChapterId = other.ChapterId; - } - prev_.Add(other.prev_); - form_.Add(other.form_); - if (other.AvgId.Length != 0) { - AvgId = other.AvgId; - } - trialCharacter_.Add(other.trialCharacter_); - if (other.BeforeAvgId.Length != 0) { - BeforeAvgId = other.BeforeAvgId; - } - if (other.AfterAvgId.Length != 0) { - AfterAvgId = other.AfterAvgId; - } - if (other.EnergyConsume != 0) { - EnergyConsume = other.EnergyConsume; - } - if (other.UnlockItem != 0) { - UnlockItem = other.UnlockItem; - } - if (other.UnlockQty != 0) { - UnlockQty = other.UnlockQty; - } - if (other.GlobReward != 0) { - GlobReward = other.GlobReward; - } - if (other.RewardPreview.Length != 0) { - RewardPreview = other.RewardPreview; - } - if (other.ItemReward != 0) { - ItemReward = other.ItemReward; - } - if (other.FirstItemReward != 0) { - FirstItemReward = other.FirstItemReward; - } - if (other.DiamondReward != 0) { - DiamondReward = other.DiamondReward; - } - if (other.MinChestReward.Length != 0) { - MinChestReward = other.MinChestReward; - } - if (other.MaxChestReward.Length != 0) { - MaxChestReward = other.MaxChestReward; - } - charBanned_.Add(other.charBanned_); - floorId_.Add(other.floorId_); - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.PosId != 0) { - PosId = other.PosId; - } - if (other.PreviewMonsterGroupId != 0) { - PreviewMonsterGroupId = other.PreviewMonsterGroupId; - } - if (other.Recommend != 0) { - Recommend = other.Recommend; - } - if (other.Repeat != false) { - Repeat = other.Repeat; - } - if (other.SubMapName != 0) { - SubMapName = other.SubMapName; - } - if (other.MainlineImg.Length != 0) { - MainlineImg = other.MainlineImg; - } - _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: { - Num = input.ReadString(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Type = input.ReadInt32(); - break; - } - case 48: { - Energy = input.ReadInt32(); - break; - } - case 56: { - ChapterId = input.ReadInt32(); - break; - } - case 66: - case 64: { - prev_.AddEntriesFrom(input, _repeated_prev_codec); - break; - } - case 74: - case 72: { - form_.AddEntriesFrom(input, _repeated_form_codec); - break; - } - case 82: { - AvgId = input.ReadString(); - break; - } - case 90: - case 88: { - trialCharacter_.AddEntriesFrom(input, _repeated_trialCharacter_codec); - break; - } - case 98: { - BeforeAvgId = input.ReadString(); - break; - } - case 106: { - AfterAvgId = input.ReadString(); - break; - } - case 112: { - EnergyConsume = input.ReadInt32(); - break; - } - case 120: { - UnlockItem = input.ReadInt32(); - break; - } - case 128: { - UnlockQty = input.ReadInt32(); - break; - } - case 136: { - GlobReward = input.ReadInt32(); - break; - } - case 146: { - RewardPreview = input.ReadString(); - break; - } - case 152: { - ItemReward = input.ReadInt32(); - break; - } - case 160: { - FirstItemReward = input.ReadInt32(); - break; - } - case 168: { - DiamondReward = input.ReadInt32(); - break; - } - case 178: { - MinChestReward = input.ReadString(); - break; - } - case 186: { - MaxChestReward = input.ReadString(); - break; - } - case 194: - case 192: { - charBanned_.AddEntriesFrom(input, _repeated_charBanned_codec); - break; - } - case 202: - case 200: { - floorId_.AddEntriesFrom(input, _repeated_floorId_codec); - break; - } - case 210: { - Icon = input.ReadString(); - break; - } - case 216: { - PosId = input.ReadInt32(); - break; - } - case 224: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 232: { - Recommend = input.ReadInt32(); - break; - } - case 240: { - Repeat = input.ReadBool(); - break; - } - case 248: { - SubMapName = input.ReadInt32(); - break; - } - case 258: { - MainlineImg = 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 18: { - Num = input.ReadString(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Type = input.ReadInt32(); - break; - } - case 48: { - Energy = input.ReadInt32(); - break; - } - case 56: { - ChapterId = input.ReadInt32(); - break; - } - case 66: - case 64: { - prev_.AddEntriesFrom(ref input, _repeated_prev_codec); - break; - } - case 74: - case 72: { - form_.AddEntriesFrom(ref input, _repeated_form_codec); - break; - } - case 82: { - AvgId = input.ReadString(); - break; - } - case 90: - case 88: { - trialCharacter_.AddEntriesFrom(ref input, _repeated_trialCharacter_codec); - break; - } - case 98: { - BeforeAvgId = input.ReadString(); - break; - } - case 106: { - AfterAvgId = input.ReadString(); - break; - } - case 112: { - EnergyConsume = input.ReadInt32(); - break; - } - case 120: { - UnlockItem = input.ReadInt32(); - break; - } - case 128: { - UnlockQty = input.ReadInt32(); - break; - } - case 136: { - GlobReward = input.ReadInt32(); - break; - } - case 146: { - RewardPreview = input.ReadString(); - break; - } - case 152: { - ItemReward = input.ReadInt32(); - break; - } - case 160: { - FirstItemReward = input.ReadInt32(); - break; - } - case 168: { - DiamondReward = input.ReadInt32(); - break; - } - case 178: { - MinChestReward = input.ReadString(); - break; - } - case 186: { - MaxChestReward = input.ReadString(); - break; - } - case 194: - case 192: { - charBanned_.AddEntriesFrom(ref input, _repeated_charBanned_codec); - break; - } - case 202: - case 200: { - floorId_.AddEntriesFrom(ref input, _repeated_floorId_codec); - break; - } - case 210: { - Icon = input.ReadString(); - break; - } - case 216: { - PosId = input.ReadInt32(); - break; - } - case 224: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 232: { - Recommend = input.ReadInt32(); - break; - } - case 240: { - Repeat = input.ReadBool(); - break; - } - case 248: { - SubMapName = input.ReadInt32(); - break; - } - case 258: { - MainlineImg = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MainlineFloor.cs b/Novaria.Common/Protos/MainlineFloor.cs deleted file mode 100644 index f8b5a14..0000000 --- a/Novaria.Common/Protos/MainlineFloor.cs +++ /dev/null @@ -1,466 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MainlineFloor.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 MainlineFloor.proto - public static partial class MainlineFloorReflection { - - #region Descriptor - /// File descriptor for MainlineFloor.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MainlineFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNNYWlubGluZUZsb29yLnByb3RvIpoBCg1NYWlubGluZUZsb29yEgoKAmlk", - "GAEgASgFEhIKCnNjZW5lX25hbWUYAiABKAkSGgoSY29uZmlnX3ByZWZhYl9u", - "YW1lGAMgASgJEg0KBXRoZW1lGAQgASgFEg0KBWJfZ19tGAUgASgJEhsKE2xl", - "YXZlX3RyaWdnZXJfZXZlbnQYBiABKAkSEgoKbW9uc3Rlcl9sdhgHIAEoBUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MainlineFloor), global::Nova.Client.MainlineFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterLv" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MainlineFloor : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MainlineFloor()); - 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.MainlineFloorReflection.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 MainlineFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MainlineFloor(MainlineFloor other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - monsterLv_ = other.monsterLv_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MainlineFloor Clone() { - return new MainlineFloor(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 "scene_name" field. - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "config_prefab_name" field. - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "theme" field. - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// Field number for the "b_g_m" field. - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "leave_trigger_event" field. - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "monster_lv" field. - public const int MonsterLvFieldNumber = 7; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MainlineFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MainlineFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; - if (MonsterLv != other.MonsterLv) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MainlineFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterLv = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallGem.cs b/Novaria.Common/Protos/MallGem.cs deleted file mode 100644 index 6b8d97f..0000000 --- a/Novaria.Common/Protos/MallGem.cs +++ /dev/null @@ -1,616 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MallGem.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 MallGem.proto - public static partial class MallGemReflection { - - #region Descriptor - /// File descriptor for MallGem.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MallGemReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1NYWxsR2VtLnByb3RvIoECCgdNYWxsR2VtEgoKAmlkGAEgASgJEgwKBG5h", - "bWUYAiABKAkSDQoFb3JkZXIYAyABKAUSFAoMYmFzZV9pdGVtX2lkGAQgASgF", - "EhUKDWJhc2VfaXRlbV9xdHkYBSABKAUSIQoZZXhwZXJpZW5jZWRfYm9udXNf", - "aXRlbV9pZBgGIAEoBRIiChpleHBlcmllbmNlZF9ib251c19pdGVtX3F0eRgH", - "IAEoBRIdChVtYWlkZW5fYm9udXNfaXRlbV9pX2QYCCABKAUSHQoVbWFpZGVu", - "X2JvbnVzX2l0ZW1fcXR5GAkgASgFEg0KBXByaWNlGAogASgFEgwKBGljb24Y", - "CyABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallGem), global::Nova.Client.MallGem.Parser, new[]{ "Id", "Name", "Order", "BaseItemId", "BaseItemQty", "ExperiencedBonusItemId", "ExperiencedBonusItemQty", "MaidenBonusItemID", "MaidenBonusItemQty", "Price", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MallGem : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallGem()); - 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.MallGemReflection.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 MallGem() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallGem(MallGem other) : this() { - id_ = other.id_; - name_ = other.name_; - order_ = other.order_; - baseItemId_ = other.baseItemId_; - baseItemQty_ = other.baseItemQty_; - experiencedBonusItemId_ = other.experiencedBonusItemId_; - experiencedBonusItemQty_ = other.experiencedBonusItemQty_; - maidenBonusItemID_ = other.maidenBonusItemID_; - maidenBonusItemQty_ = other.maidenBonusItemQty_; - price_ = other.price_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallGem Clone() { - return new MallGem(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - 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"); - } - } - - /// Field number for the "order" field. - public const int OrderFieldNumber = 3; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// Field number for the "base_item_id" field. - public const int BaseItemIdFieldNumber = 4; - private int baseItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BaseItemId { - get { return baseItemId_; } - set { - baseItemId_ = value; - } - } - - /// Field number for the "base_item_qty" field. - public const int BaseItemQtyFieldNumber = 5; - private int baseItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BaseItemQty { - get { return baseItemQty_; } - set { - baseItemQty_ = value; - } - } - - /// Field number for the "experienced_bonus_item_id" field. - public const int ExperiencedBonusItemIdFieldNumber = 6; - private int experiencedBonusItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExperiencedBonusItemId { - get { return experiencedBonusItemId_; } - set { - experiencedBonusItemId_ = value; - } - } - - /// Field number for the "experienced_bonus_item_qty" field. - public const int ExperiencedBonusItemQtyFieldNumber = 7; - private int experiencedBonusItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExperiencedBonusItemQty { - get { return experiencedBonusItemQty_; } - set { - experiencedBonusItemQty_ = value; - } - } - - /// Field number for the "maiden_bonus_item_i_d" field. - public const int MaidenBonusItemIDFieldNumber = 8; - private int maidenBonusItemID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaidenBonusItemID { - get { return maidenBonusItemID_; } - set { - maidenBonusItemID_ = value; - } - } - - /// Field number for the "maiden_bonus_item_qty" field. - public const int MaidenBonusItemQtyFieldNumber = 9; - private int maidenBonusItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaidenBonusItemQty { - get { return maidenBonusItemQty_; } - set { - maidenBonusItemQty_ = value; - } - } - - /// Field number for the "price" field. - public const int PriceFieldNumber = 10; - private int price_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Price { - get { return price_; } - set { - price_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 11; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MallGem); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MallGem 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 (Order != other.Order) return false; - if (BaseItemId != other.BaseItemId) return false; - if (BaseItemQty != other.BaseItemQty) return false; - if (ExperiencedBonusItemId != other.ExperiencedBonusItemId) return false; - if (ExperiencedBonusItemQty != other.ExperiencedBonusItemQty) return false; - if (MaidenBonusItemID != other.MaidenBonusItemID) return false; - if (MaidenBonusItemQty != other.MaidenBonusItemQty) return false; - if (Price != other.Price) return false; - if (Icon != other.Icon) 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.Length != 0) hash ^= Id.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Order != 0) hash ^= Order.GetHashCode(); - if (BaseItemId != 0) hash ^= BaseItemId.GetHashCode(); - if (BaseItemQty != 0) hash ^= BaseItemQty.GetHashCode(); - if (ExperiencedBonusItemId != 0) hash ^= ExperiencedBonusItemId.GetHashCode(); - if (ExperiencedBonusItemQty != 0) hash ^= ExperiencedBonusItemQty.GetHashCode(); - if (MaidenBonusItemID != 0) hash ^= MaidenBonusItemID.GetHashCode(); - if (MaidenBonusItemQty != 0) hash ^= MaidenBonusItemQty.GetHashCode(); - if (Price != 0) hash ^= Price.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Order != 0) { - output.WriteRawTag(24); - output.WriteInt32(Order); - } - if (BaseItemId != 0) { - output.WriteRawTag(32); - output.WriteInt32(BaseItemId); - } - if (BaseItemQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(BaseItemQty); - } - if (ExperiencedBonusItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ExperiencedBonusItemId); - } - if (ExperiencedBonusItemQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(ExperiencedBonusItemQty); - } - if (MaidenBonusItemID != 0) { - output.WriteRawTag(64); - output.WriteInt32(MaidenBonusItemID); - } - if (MaidenBonusItemQty != 0) { - output.WriteRawTag(72); - output.WriteInt32(MaidenBonusItemQty); - } - if (Price != 0) { - output.WriteRawTag(80); - output.WriteInt32(Price); - } - if (Icon.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Icon); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Order != 0) { - output.WriteRawTag(24); - output.WriteInt32(Order); - } - if (BaseItemId != 0) { - output.WriteRawTag(32); - output.WriteInt32(BaseItemId); - } - if (BaseItemQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(BaseItemQty); - } - if (ExperiencedBonusItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ExperiencedBonusItemId); - } - if (ExperiencedBonusItemQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(ExperiencedBonusItemQty); - } - if (MaidenBonusItemID != 0) { - output.WriteRawTag(64); - output.WriteInt32(MaidenBonusItemID); - } - if (MaidenBonusItemQty != 0) { - output.WriteRawTag(72); - output.WriteInt32(MaidenBonusItemQty); - } - if (Price != 0) { - output.WriteRawTag(80); - output.WriteInt32(Price); - } - if (Icon.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Icon); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (BaseItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemId); - } - if (BaseItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemQty); - } - if (ExperiencedBonusItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperiencedBonusItemId); - } - if (ExperiencedBonusItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperiencedBonusItemQty); - } - if (MaidenBonusItemID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaidenBonusItemID); - } - if (MaidenBonusItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaidenBonusItemQty); - } - if (Price != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MallGem other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.BaseItemId != 0) { - BaseItemId = other.BaseItemId; - } - if (other.BaseItemQty != 0) { - BaseItemQty = other.BaseItemQty; - } - if (other.ExperiencedBonusItemId != 0) { - ExperiencedBonusItemId = other.ExperiencedBonusItemId; - } - if (other.ExperiencedBonusItemQty != 0) { - ExperiencedBonusItemQty = other.ExperiencedBonusItemQty; - } - if (other.MaidenBonusItemID != 0) { - MaidenBonusItemID = other.MaidenBonusItemID; - } - if (other.MaidenBonusItemQty != 0) { - MaidenBonusItemQty = other.MaidenBonusItemQty; - } - if (other.Price != 0) { - Price = other.Price; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - Order = input.ReadInt32(); - break; - } - case 32: { - BaseItemId = input.ReadInt32(); - break; - } - case 40: { - BaseItemQty = input.ReadInt32(); - break; - } - case 48: { - ExperiencedBonusItemId = input.ReadInt32(); - break; - } - case 56: { - ExperiencedBonusItemQty = input.ReadInt32(); - break; - } - case 64: { - MaidenBonusItemID = input.ReadInt32(); - break; - } - case 72: { - MaidenBonusItemQty = input.ReadInt32(); - break; - } - case 80: { - Price = input.ReadInt32(); - break; - } - case 90: { - Icon = 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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - Order = input.ReadInt32(); - break; - } - case 32: { - BaseItemId = input.ReadInt32(); - break; - } - case 40: { - BaseItemQty = input.ReadInt32(); - break; - } - case 48: { - ExperiencedBonusItemId = input.ReadInt32(); - break; - } - case 56: { - ExperiencedBonusItemQty = input.ReadInt32(); - break; - } - case 64: { - MaidenBonusItemID = input.ReadInt32(); - break; - } - case 72: { - MaidenBonusItemQty = input.ReadInt32(); - break; - } - case 80: { - Price = input.ReadInt32(); - break; - } - case 90: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallGemList.cs b/Novaria.Common/Protos/MallGemList.cs new file mode 100644 index 0000000..3a670d9 --- /dev/null +++ b/Novaria.Common/Protos/MallGemList.cs @@ -0,0 +1,542 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_gem_list.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 Proto { + + /// Holder for reflection information generated from mall_gem_list.proto + public static partial class MallGemListReflection { + + #region Descriptor + /// File descriptor for mall_gem_list.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallGemListReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChNtYWxsX2dlbV9saXN0LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIjsK", + "B0dlbUluZm8SCgoCSWQYASABKAkSDgoGTWFpZGVuGAIgASgIEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCJBCgtNYWxsR2VtTGlzdBIcCgRMaXN0GAEgAygLMg4u", + "cHJvdG8uR2VtSW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GemInfo), global::Proto.GemInfo.Parser, new[]{ "Id", "Maiden", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallGemList), global::Proto.MallGemList.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GemInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GemInfo()); + 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::Proto.MallGemListReflection.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 GemInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GemInfo(GemInfo other) : this() { + id_ = other.id_; + maiden_ = other.maiden_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GemInfo Clone() { + return new GemInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Maiden" field. + public const int MaidenFieldNumber = 2; + private bool maiden_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Maiden { + get { return maiden_; } + set { + maiden_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GemInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GemInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Maiden != other.Maiden) return false; + if (NextPackage != other.NextPackage) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Maiden != false) hash ^= Maiden.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Maiden != false) { + output.WriteRawTag(16); + output.WriteBool(Maiden); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Maiden != false) { + output.WriteRawTag(16); + output.WriteBool(Maiden); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Maiden != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GemInfo other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Maiden != false) { + Maiden = other.Maiden; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Maiden = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Maiden = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallGemList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallGemList()); + 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::Proto.MallGemListReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallGemList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallGemList(MallGemList other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallGemList Clone() { + return new MallGemList(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.GemInfo.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MallGemList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallGemList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallGemList other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ErrorCode.cs b/Novaria.Common/Protos/MallGemOrder.cs similarity index 61% rename from Novaria.Common/Protos/ErrorCode.cs rename to Novaria.Common/Protos/MallGemOrder.cs index 51569d8..965a4fe 100644 --- a/Novaria.Common/Protos/ErrorCode.cs +++ b/Novaria.Common/Protos/MallGemOrder.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ErrorCode.proto +// source: mall_gem_order.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from ErrorCode.proto - public static partial class ErrorCodeReflection { + /// Holder for reflection information generated from mall_gem_order.proto + public static partial class MallGemOrderReflection { #region Descriptor - /// File descriptor for ErrorCode.proto + /// File descriptor for mall_gem_order.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static ErrorCodeReflection() { + static MallGemOrderReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg9FcnJvckNvZGUucHJvdG8iSwoJRXJyb3JDb2RlEgoKAmlkGAEgASgFEg0K", - "BXRpdGxlGAIgASgJEhAKCHRlbXBsYXRlGAMgASgJEhEKCXNob3dfdHlwZRgE", - "IAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "ChRtYWxsX2dlbV9vcmRlci5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byJT", + "CglPcmRlckluZm8SCgoCSWQYASABKAQSEQoJRXh0cmFEYXRhGAIgASgJEhEK", + "CU5vdGlmeVVybBgDIAEoCRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJv", + "dG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ErrorCode), global::Nova.Client.ErrorCode.Parser, new[]{ "Id", "Title", "Template", "ShowType" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.OrderInfo), global::Proto.OrderInfo.Parser, new[]{ "Id", "ExtraData", "NotifyUrl", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ErrorCode : pb::IMessage + public sealed partial class OrderInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ErrorCode()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderInfo()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.ErrorCodeReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.MallGemOrderReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ErrorCode() { + public OrderInfo() { OnConstruction(); } @@ -71,77 +72,77 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ErrorCode(ErrorCode other) : this() { + public OrderInfo(OrderInfo other) : this() { id_ = other.id_; - title_ = other.title_; - template_ = other.template_; - showType_ = other.showType_; + extraData_ = other.extraData_; + notifyUrl_ = other.notifyUrl_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ErrorCode Clone() { - return new ErrorCode(this); + public OrderInfo Clone() { + return new OrderInfo(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; - private int id_; + private ulong id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public ulong Id { get { return id_; } set { id_ = value; } } - /// Field number for the "title" field. - public const int TitleFieldNumber = 2; - private string title_ = ""; + /// Field number for the "ExtraData" field. + public const int ExtraDataFieldNumber = 2; + private string extraData_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } + public string ExtraData { + get { return extraData_; } set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + extraData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "template" field. - public const int TemplateFieldNumber = 3; - private string template_ = ""; + /// Field number for the "NotifyUrl" field. + public const int NotifyUrlFieldNumber = 3; + private string notifyUrl_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Template { - get { return template_; } + public string NotifyUrl { + get { return notifyUrl_; } set { - template_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + notifyUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "show_type" field. - public const int ShowTypeFieldNumber = 4; - private int showType_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShowType { - get { return showType_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - showType_ = value; + nextPackage_ = 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 ErrorCode); + return Equals(other as OrderInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ErrorCode other) { + public bool Equals(OrderInfo other) { if (ReferenceEquals(other, null)) { return false; } @@ -149,9 +150,9 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Template != other.Template) return false; - if (ShowType != other.ShowType) return false; + if (ExtraData != other.ExtraData) return false; + if (NotifyUrl != other.NotifyUrl) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -159,10 +160,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Template.Length != 0) hash ^= Template.GetHashCode(); - if (ShowType != 0) hash ^= ShowType.GetHashCode(); + if (Id != 0UL) hash ^= Id.GetHashCode(); + if (ExtraData.Length != 0) hash ^= ExtraData.GetHashCode(); + if (NotifyUrl.Length != 0) hash ^= NotifyUrl.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -181,21 +182,21 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (Id != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(Id); } - if (Title.Length != 0) { + if (ExtraData.Length != 0) { output.WriteRawTag(18); - output.WriteString(Title); + output.WriteString(ExtraData); } - if (Template.Length != 0) { + if (NotifyUrl.Length != 0) { output.WriteRawTag(26); - output.WriteString(Template); + output.WriteString(NotifyUrl); } - if (ShowType != 0) { - output.WriteRawTag(32); - output.WriteInt32(ShowType); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -207,21 +208,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (Id != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(Id); } - if (Title.Length != 0) { + if (ExtraData.Length != 0) { output.WriteRawTag(18); - output.WriteString(Title); + output.WriteString(ExtraData); } - if (Template.Length != 0) { + if (NotifyUrl.Length != 0) { output.WriteRawTag(26); - output.WriteString(Template); + output.WriteString(NotifyUrl); } - if (ShowType != 0) { - output.WriteRawTag(32); - output.WriteInt32(ShowType); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -233,17 +234,17 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (Id != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + if (ExtraData.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ExtraData); } - if (Template.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Template); + if (NotifyUrl.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NotifyUrl); } - if (ShowType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowType); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -253,21 +254,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ErrorCode other) { + public void MergeFrom(OrderInfo other) { if (other == null) { return; } - if (other.Id != 0) { + if (other.Id != 0UL) { Id = other.Id; } - if (other.Title.Length != 0) { - Title = other.Title; + if (other.ExtraData.Length != 0) { + ExtraData = other.ExtraData; } - if (other.Template.Length != 0) { - Template = other.Template; + if (other.NotifyUrl.Length != 0) { + NotifyUrl = other.NotifyUrl; } - if (other.ShowType != 0) { - ShowType = other.ShowType; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,19 +290,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt64(); break; } case 18: { - Title = input.ReadString(); + ExtraData = input.ReadString(); break; } case 26: { - Template = input.ReadString(); + NotifyUrl = input.ReadString(); break; } - case 32: { - ShowType = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,19 +325,19 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt64(); break; } case 18: { - Title = input.ReadString(); + ExtraData = input.ReadString(); break; } case 26: { - Template = input.ReadString(); + NotifyUrl = input.ReadString(); break; } - case 32: { - ShowType = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/MallMonthlyCard.cs b/Novaria.Common/Protos/MallMonthlyCard.cs deleted file mode 100644 index f064d26..0000000 --- a/Novaria.Common/Protos/MallMonthlyCard.cs +++ /dev/null @@ -1,503 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MallMonthlyCard.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 MallMonthlyCard.proto - public static partial class MallMonthlyCardReflection { - - #region Descriptor - /// File descriptor for MallMonthlyCard.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MallMonthlyCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVNYWxsTW9udGhseUNhcmQucHJvdG8ioAEKD01hbGxNb250aGx5Q2FyZBIK", - "CgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhcKD21vbnRobHlfY2FyZF9pZBgD", - "IAEoBRINCgVwcmljZRgEIAEoBRIUCgxiYXNlX2l0ZW1faWQYBSABKAUSFQoN", - "YmFzZV9pdGVtX3F0eRgGIAEoBRIQCghtYXhfZGF5cxgHIAEoBRIMCgRpY29u", - "GAggASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallMonthlyCard), global::Nova.Client.MallMonthlyCard.Parser, new[]{ "Id", "Name", "MonthlyCardId", "Price", "BaseItemId", "BaseItemQty", "MaxDays", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MallMonthlyCard : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallMonthlyCard()); - 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.MallMonthlyCardReflection.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 MallMonthlyCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallMonthlyCard(MallMonthlyCard other) : this() { - id_ = other.id_; - name_ = other.name_; - monthlyCardId_ = other.monthlyCardId_; - price_ = other.price_; - baseItemId_ = other.baseItemId_; - baseItemQty_ = other.baseItemQty_; - maxDays_ = other.maxDays_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallMonthlyCard Clone() { - return new MallMonthlyCard(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - 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"); - } - } - - /// Field number for the "monthly_card_id" field. - public const int MonthlyCardIdFieldNumber = 3; - private int monthlyCardId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonthlyCardId { - get { return monthlyCardId_; } - set { - monthlyCardId_ = value; - } - } - - /// Field number for the "price" field. - public const int PriceFieldNumber = 4; - private int price_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Price { - get { return price_; } - set { - price_ = value; - } - } - - /// Field number for the "base_item_id" field. - public const int BaseItemIdFieldNumber = 5; - private int baseItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BaseItemId { - get { return baseItemId_; } - set { - baseItemId_ = value; - } - } - - /// Field number for the "base_item_qty" field. - public const int BaseItemQtyFieldNumber = 6; - private int baseItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BaseItemQty { - get { return baseItemQty_; } - set { - baseItemQty_ = value; - } - } - - /// Field number for the "max_days" field. - public const int MaxDaysFieldNumber = 7; - private int maxDays_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxDays { - get { return maxDays_; } - set { - maxDays_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 8; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MallMonthlyCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MallMonthlyCard 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 (MonthlyCardId != other.MonthlyCardId) return false; - if (Price != other.Price) return false; - if (BaseItemId != other.BaseItemId) return false; - if (BaseItemQty != other.BaseItemQty) return false; - if (MaxDays != other.MaxDays) return false; - if (Icon != other.Icon) 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.Length != 0) hash ^= Id.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (MonthlyCardId != 0) hash ^= MonthlyCardId.GetHashCode(); - if (Price != 0) hash ^= Price.GetHashCode(); - if (BaseItemId != 0) hash ^= BaseItemId.GetHashCode(); - if (BaseItemQty != 0) hash ^= BaseItemQty.GetHashCode(); - if (MaxDays != 0) hash ^= MaxDays.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (MonthlyCardId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MonthlyCardId); - } - if (Price != 0) { - output.WriteRawTag(32); - output.WriteInt32(Price); - } - if (BaseItemId != 0) { - output.WriteRawTag(40); - output.WriteInt32(BaseItemId); - } - if (BaseItemQty != 0) { - output.WriteRawTag(48); - output.WriteInt32(BaseItemQty); - } - if (MaxDays != 0) { - output.WriteRawTag(56); - output.WriteInt32(MaxDays); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (MonthlyCardId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MonthlyCardId); - } - if (Price != 0) { - output.WriteRawTag(32); - output.WriteInt32(Price); - } - if (BaseItemId != 0) { - output.WriteRawTag(40); - output.WriteInt32(BaseItemId); - } - if (BaseItemQty != 0) { - output.WriteRawTag(48); - output.WriteInt32(BaseItemQty); - } - if (MaxDays != 0) { - output.WriteRawTag(56); - output.WriteInt32(MaxDays); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (MonthlyCardId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonthlyCardId); - } - if (Price != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); - } - if (BaseItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemId); - } - if (BaseItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemQty); - } - if (MaxDays != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxDays); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MallMonthlyCard other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.MonthlyCardId != 0) { - MonthlyCardId = other.MonthlyCardId; - } - if (other.Price != 0) { - Price = other.Price; - } - if (other.BaseItemId != 0) { - BaseItemId = other.BaseItemId; - } - if (other.BaseItemQty != 0) { - BaseItemQty = other.BaseItemQty; - } - if (other.MaxDays != 0) { - MaxDays = other.MaxDays; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - MonthlyCardId = input.ReadInt32(); - break; - } - case 32: { - Price = input.ReadInt32(); - break; - } - case 40: { - BaseItemId = input.ReadInt32(); - break; - } - case 48: { - BaseItemQty = input.ReadInt32(); - break; - } - case 56: { - MaxDays = input.ReadInt32(); - break; - } - case 66: { - Icon = 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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - MonthlyCardId = input.ReadInt32(); - break; - } - case 32: { - Price = input.ReadInt32(); - break; - } - case 40: { - BaseItemId = input.ReadInt32(); - break; - } - case 48: { - BaseItemQty = input.ReadInt32(); - break; - } - case 56: { - MaxDays = input.ReadInt32(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallMonthlycardList.cs b/Novaria.Common/Protos/MallMonthlycardList.cs new file mode 100644 index 0000000..b0f1883 --- /dev/null +++ b/Novaria.Common/Protos/MallMonthlycardList.cs @@ -0,0 +1,581 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_monthlycard_list.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 Proto { + + /// Holder for reflection information generated from mall_monthlycard_list.proto + public static partial class MallMonthlycardListReflection { + + #region Descriptor + /// File descriptor for mall_monthlycard_list.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallMonthlycardListReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChttYWxsX21vbnRobHljYXJkX2xpc3QucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iWAoPTW9udGhseUNhcmRJbmZvEgoKAklkGAEgASgJEhEKCVJlbWFp", + "bmluZxgCIAEoDRIQCghSZWNlaXZlZBgDIAEoCBIUCgtOZXh0UGFja2FnZRj/", + "DyABKAwiUQoTTWFsbE1vbnRobHlDYXJkTGlzdBIkCgRMaXN0GAEgAygLMhYu", + "cHJvdG8uTW9udGhseUNhcmRJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDFAA", + "YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MonthlyCardInfo), global::Proto.MonthlyCardInfo.Parser, new[]{ "Id", "Remaining", "Received", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallMonthlyCardList), global::Proto.MallMonthlyCardList.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonthlyCardInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonthlyCardInfo()); + 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::Proto.MallMonthlycardListReflection.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 MonthlyCardInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCardInfo(MonthlyCardInfo other) : this() { + id_ = other.id_; + remaining_ = other.remaining_; + received_ = other.received_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCardInfo Clone() { + return new MonthlyCardInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Remaining" field. + public const int RemainingFieldNumber = 2; + private uint remaining_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Remaining { + get { return remaining_; } + set { + remaining_ = value; + } + } + + /// Field number for the "Received" field. + public const int ReceivedFieldNumber = 3; + private bool received_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Received { + get { return received_; } + set { + received_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MonthlyCardInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonthlyCardInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Remaining != other.Remaining) return false; + if (Received != other.Received) return false; + if (NextPackage != other.NextPackage) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Remaining != 0) hash ^= Remaining.GetHashCode(); + if (Received != false) hash ^= Received.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Remaining != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Remaining); + } + if (Received != false) { + output.WriteRawTag(24); + output.WriteBool(Received); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Remaining != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Remaining); + } + if (Received != false) { + output.WriteRawTag(24); + output.WriteBool(Received); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Remaining != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Remaining); + } + if (Received != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonthlyCardInfo other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Remaining != 0) { + Remaining = other.Remaining; + } + if (other.Received != false) { + Received = other.Received; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Remaining = input.ReadUInt32(); + break; + } + case 24: { + Received = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Remaining = input.ReadUInt32(); + break; + } + case 24: { + Received = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallMonthlyCardList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallMonthlyCardList()); + 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::Proto.MallMonthlycardListReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallMonthlyCardList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallMonthlyCardList(MallMonthlyCardList other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallMonthlyCardList Clone() { + return new MallMonthlyCardList(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.MonthlyCardInfo.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MallMonthlyCardList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallMonthlyCardList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallMonthlyCardList other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallMonthlycardOrder.cs b/Novaria.Common/Protos/MallMonthlycardOrder.cs new file mode 100644 index 0000000..ef6fb08 --- /dev/null +++ b/Novaria.Common/Protos/MallMonthlycardOrder.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_monthlycard_order.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 Proto { + + /// Holder for reflection information generated from mall_monthlycard_order.proto + public static partial class MallMonthlycardOrderReflection { + + #region Descriptor + /// File descriptor for mall_monthlycard_order.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallMonthlycardOrderReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChxtYWxsX21vbnRobHljYXJkX29yZGVyLnByb3RvEgVwcm90bxoMcHVibGlj", + "LnByb3RvUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallOrderCancel.cs b/Novaria.Common/Protos/MallOrderCancel.cs new file mode 100644 index 0000000..3064ef6 --- /dev/null +++ b/Novaria.Common/Protos/MallOrderCancel.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_order_cancel.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 Proto { + + /// Holder for reflection information generated from mall_order_cancel.proto + public static partial class MallOrderCancelReflection { + + #region Descriptor + /// File descriptor for mall_order_cancel.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallOrderCancelReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdtYWxsX29yZGVyX2NhbmNlbC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallOrderCollect.cs b/Novaria.Common/Protos/MallOrderCollect.cs new file mode 100644 index 0000000..8177abf --- /dev/null +++ b/Novaria.Common/Protos/MallOrderCollect.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_order_collect.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 Proto { + + /// Holder for reflection information generated from mall_order_collect.proto + public static partial class MallOrderCollectReflection { + + #region Descriptor + /// File descriptor for mall_order_collect.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallOrderCollectReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhtYWxsX29yZGVyX2NvbGxlY3QucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG9QAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallPackage.cs b/Novaria.Common/Protos/MallPackage.cs deleted file mode 100644 index 75c8c25..0000000 --- a/Novaria.Common/Protos/MallPackage.cs +++ /dev/null @@ -1,878 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MallPackage.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 MallPackage.proto - public static partial class MallPackageReflection { - - #region Descriptor - /// File descriptor for MallPackage.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MallPackageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFNYWxsUGFja2FnZS5wcm90byL6AgoLTWFsbFBhY2thZ2USCgoCaWQYASAB", - "KAkSDAoEbmFtZRgCIAEoCRIQCghncm91cF9pZBgDIAEoBRIMCgRzb3J0GAQg", - "ASgFEhUKDWN1cnJlbmN5X3R5cGUYBSABKAUSGAoQY3VycmVuY3lfaXRlbV9p", - "ZBgGIAEoBRIZChFjdXJyZW5jeV9pdGVtX3F0eRgHIAEoBRINCgVzdG9jaxgI", - "IAEoBRIUCgxyZWZyZXNoX3R5cGUYCSABKAUSDQoFaXRlbXMYCiABKAkSFgoO", - "bGlzdF9jb25kX3R5cGUYCyABKAUSGAoQbGlzdF9jb25kX3BhcmFtcxgMIAEo", - "CRIXCg9vcmRlcl9jb25kX3R5cGUYDSABKAUSGQoRb3JkZXJfY29uZF9wYXJh", - "bXMYDiABKAkSEQoJbGlzdF90aW1lGA8gASgJEhQKDGRlX2xpc3RfdGltZRgQ", - "IAEoCRIUCgxkaXNwbGF5X21vZGUYESABKAUSDAoEaWNvbhgSIAEoCUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallPackage), global::Nova.Client.MallPackage.Parser, new[]{ "Id", "Name", "GroupId", "Sort", "CurrencyType", "CurrencyItemId", "CurrencyItemQty", "Stock", "RefreshType", "Items", "ListCondType", "ListCondParams", "OrderCondType", "OrderCondParams", "ListTime", "DeListTime", "DisplayMode", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MallPackage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallPackage()); - 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.MallPackageReflection.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 MallPackage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallPackage(MallPackage other) : this() { - id_ = other.id_; - name_ = other.name_; - groupId_ = other.groupId_; - sort_ = other.sort_; - currencyType_ = other.currencyType_; - currencyItemId_ = other.currencyItemId_; - currencyItemQty_ = other.currencyItemQty_; - stock_ = other.stock_; - refreshType_ = other.refreshType_; - items_ = other.items_; - listCondType_ = other.listCondType_; - listCondParams_ = other.listCondParams_; - orderCondType_ = other.orderCondType_; - orderCondParams_ = other.orderCondParams_; - listTime_ = other.listTime_; - deListTime_ = other.deListTime_; - displayMode_ = other.displayMode_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallPackage Clone() { - return new MallPackage(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - 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"); - } - } - - /// Field number for the "group_id" field. - public const int GroupIdFieldNumber = 3; - private int groupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } - set { - groupId_ = value; - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 4; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "currency_type" field. - public const int CurrencyTypeFieldNumber = 5; - private int currencyType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyType { - get { return currencyType_; } - set { - currencyType_ = value; - } - } - - /// Field number for the "currency_item_id" field. - public const int CurrencyItemIdFieldNumber = 6; - private int currencyItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyItemId { - get { return currencyItemId_; } - set { - currencyItemId_ = value; - } - } - - /// Field number for the "currency_item_qty" field. - public const int CurrencyItemQtyFieldNumber = 7; - private int currencyItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyItemQty { - get { return currencyItemQty_; } - set { - currencyItemQty_ = value; - } - } - - /// Field number for the "stock" field. - public const int StockFieldNumber = 8; - private int stock_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stock { - get { return stock_; } - set { - stock_ = value; - } - } - - /// Field number for the "refresh_type" field. - public const int RefreshTypeFieldNumber = 9; - private int refreshType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshType { - get { return refreshType_; } - set { - refreshType_ = value; - } - } - - /// Field number for the "items" field. - public const int ItemsFieldNumber = 10; - private string items_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Items { - get { return items_; } - set { - items_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "list_cond_type" field. - public const int ListCondTypeFieldNumber = 11; - private int listCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ListCondType { - get { return listCondType_; } - set { - listCondType_ = value; - } - } - - /// Field number for the "list_cond_params" field. - public const int ListCondParamsFieldNumber = 12; - private string listCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListCondParams { - get { return listCondParams_; } - set { - listCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "order_cond_type" field. - public const int OrderCondTypeFieldNumber = 13; - private int orderCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OrderCondType { - get { return orderCondType_; } - set { - orderCondType_ = value; - } - } - - /// Field number for the "order_cond_params" field. - public const int OrderCondParamsFieldNumber = 14; - private string orderCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OrderCondParams { - get { return orderCondParams_; } - set { - orderCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "list_time" field. - public const int ListTimeFieldNumber = 15; - private string listTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListTime { - get { return listTime_; } - set { - listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "de_list_time" field. - public const int DeListTimeFieldNumber = 16; - private string deListTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DeListTime { - get { return deListTime_; } - set { - deListTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "display_mode" field. - public const int DisplayModeFieldNumber = 17; - private int displayMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DisplayMode { - get { return displayMode_; } - set { - displayMode_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 18; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MallPackage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MallPackage 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 (GroupId != other.GroupId) return false; - if (Sort != other.Sort) return false; - if (CurrencyType != other.CurrencyType) return false; - if (CurrencyItemId != other.CurrencyItemId) return false; - if (CurrencyItemQty != other.CurrencyItemQty) return false; - if (Stock != other.Stock) return false; - if (RefreshType != other.RefreshType) return false; - if (Items != other.Items) return false; - if (ListCondType != other.ListCondType) return false; - if (ListCondParams != other.ListCondParams) return false; - if (OrderCondType != other.OrderCondType) return false; - if (OrderCondParams != other.OrderCondParams) return false; - if (ListTime != other.ListTime) return false; - if (DeListTime != other.DeListTime) return false; - if (DisplayMode != other.DisplayMode) return false; - if (Icon != other.Icon) 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.Length != 0) hash ^= Id.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (CurrencyType != 0) hash ^= CurrencyType.GetHashCode(); - if (CurrencyItemId != 0) hash ^= CurrencyItemId.GetHashCode(); - if (CurrencyItemQty != 0) hash ^= CurrencyItemQty.GetHashCode(); - if (Stock != 0) hash ^= Stock.GetHashCode(); - if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); - if (Items.Length != 0) hash ^= Items.GetHashCode(); - if (ListCondType != 0) hash ^= ListCondType.GetHashCode(); - if (ListCondParams.Length != 0) hash ^= ListCondParams.GetHashCode(); - if (OrderCondType != 0) hash ^= OrderCondType.GetHashCode(); - if (OrderCondParams.Length != 0) hash ^= OrderCondParams.GetHashCode(); - if (ListTime.Length != 0) hash ^= ListTime.GetHashCode(); - if (DeListTime.Length != 0) hash ^= DeListTime.GetHashCode(); - if (DisplayMode != 0) hash ^= DisplayMode.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (GroupId != 0) { - output.WriteRawTag(24); - output.WriteInt32(GroupId); - } - if (Sort != 0) { - output.WriteRawTag(32); - output.WriteInt32(Sort); - } - if (CurrencyType != 0) { - output.WriteRawTag(40); - output.WriteInt32(CurrencyType); - } - if (CurrencyItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(CurrencyItemId); - } - if (CurrencyItemQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(CurrencyItemQty); - } - if (Stock != 0) { - output.WriteRawTag(64); - output.WriteInt32(Stock); - } - if (RefreshType != 0) { - output.WriteRawTag(72); - output.WriteInt32(RefreshType); - } - if (Items.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Items); - } - if (ListCondType != 0) { - output.WriteRawTag(88); - output.WriteInt32(ListCondType); - } - if (ListCondParams.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ListCondParams); - } - if (OrderCondType != 0) { - output.WriteRawTag(104); - output.WriteInt32(OrderCondType); - } - if (OrderCondParams.Length != 0) { - output.WriteRawTag(114); - output.WriteString(OrderCondParams); - } - if (ListTime.Length != 0) { - output.WriteRawTag(122); - output.WriteString(ListTime); - } - if (DeListTime.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(DeListTime); - } - if (DisplayMode != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(DisplayMode); - } - if (Icon.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Icon); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (GroupId != 0) { - output.WriteRawTag(24); - output.WriteInt32(GroupId); - } - if (Sort != 0) { - output.WriteRawTag(32); - output.WriteInt32(Sort); - } - if (CurrencyType != 0) { - output.WriteRawTag(40); - output.WriteInt32(CurrencyType); - } - if (CurrencyItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(CurrencyItemId); - } - if (CurrencyItemQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(CurrencyItemQty); - } - if (Stock != 0) { - output.WriteRawTag(64); - output.WriteInt32(Stock); - } - if (RefreshType != 0) { - output.WriteRawTag(72); - output.WriteInt32(RefreshType); - } - if (Items.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Items); - } - if (ListCondType != 0) { - output.WriteRawTag(88); - output.WriteInt32(ListCondType); - } - if (ListCondParams.Length != 0) { - output.WriteRawTag(98); - output.WriteString(ListCondParams); - } - if (OrderCondType != 0) { - output.WriteRawTag(104); - output.WriteInt32(OrderCondType); - } - if (OrderCondParams.Length != 0) { - output.WriteRawTag(114); - output.WriteString(OrderCondParams); - } - if (ListTime.Length != 0) { - output.WriteRawTag(122); - output.WriteString(ListTime); - } - if (DeListTime.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(DeListTime); - } - if (DisplayMode != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(DisplayMode); - } - if (Icon.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Icon); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (CurrencyType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyType); - } - if (CurrencyItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemId); - } - if (CurrencyItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemQty); - } - if (Stock != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stock); - } - if (RefreshType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); - } - if (Items.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Items); - } - if (ListCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ListCondType); - } - if (ListCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListCondParams); - } - if (OrderCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OrderCondType); - } - if (OrderCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderCondParams); - } - if (ListTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListTime); - } - if (DeListTime.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(DeListTime); - } - if (DisplayMode != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode); - } - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MallPackage other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.CurrencyType != 0) { - CurrencyType = other.CurrencyType; - } - if (other.CurrencyItemId != 0) { - CurrencyItemId = other.CurrencyItemId; - } - if (other.CurrencyItemQty != 0) { - CurrencyItemQty = other.CurrencyItemQty; - } - if (other.Stock != 0) { - Stock = other.Stock; - } - if (other.RefreshType != 0) { - RefreshType = other.RefreshType; - } - if (other.Items.Length != 0) { - Items = other.Items; - } - if (other.ListCondType != 0) { - ListCondType = other.ListCondType; - } - if (other.ListCondParams.Length != 0) { - ListCondParams = other.ListCondParams; - } - if (other.OrderCondType != 0) { - OrderCondType = other.OrderCondType; - } - if (other.OrderCondParams.Length != 0) { - OrderCondParams = other.OrderCondParams; - } - if (other.ListTime.Length != 0) { - ListTime = other.ListTime; - } - if (other.DeListTime.Length != 0) { - DeListTime = other.DeListTime; - } - if (other.DisplayMode != 0) { - DisplayMode = other.DisplayMode; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - GroupId = input.ReadInt32(); - break; - } - case 32: { - Sort = input.ReadInt32(); - break; - } - case 40: { - CurrencyType = input.ReadInt32(); - break; - } - case 48: { - CurrencyItemId = input.ReadInt32(); - break; - } - case 56: { - CurrencyItemQty = input.ReadInt32(); - break; - } - case 64: { - Stock = input.ReadInt32(); - break; - } - case 72: { - RefreshType = input.ReadInt32(); - break; - } - case 82: { - Items = input.ReadString(); - break; - } - case 88: { - ListCondType = input.ReadInt32(); - break; - } - case 98: { - ListCondParams = input.ReadString(); - break; - } - case 104: { - OrderCondType = input.ReadInt32(); - break; - } - case 114: { - OrderCondParams = input.ReadString(); - break; - } - case 122: { - ListTime = input.ReadString(); - break; - } - case 130: { - DeListTime = input.ReadString(); - break; - } - case 136: { - DisplayMode = input.ReadInt32(); - break; - } - case 146: { - Icon = 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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 24: { - GroupId = input.ReadInt32(); - break; - } - case 32: { - Sort = input.ReadInt32(); - break; - } - case 40: { - CurrencyType = input.ReadInt32(); - break; - } - case 48: { - CurrencyItemId = input.ReadInt32(); - break; - } - case 56: { - CurrencyItemQty = input.ReadInt32(); - break; - } - case 64: { - Stock = input.ReadInt32(); - break; - } - case 72: { - RefreshType = input.ReadInt32(); - break; - } - case 82: { - Items = input.ReadString(); - break; - } - case 88: { - ListCondType = input.ReadInt32(); - break; - } - case 98: { - ListCondParams = input.ReadString(); - break; - } - case 104: { - OrderCondType = input.ReadInt32(); - break; - } - case 114: { - OrderCondParams = input.ReadString(); - break; - } - case 122: { - ListTime = input.ReadString(); - break; - } - case 130: { - DeListTime = input.ReadString(); - break; - } - case 136: { - DisplayMode = input.ReadInt32(); - break; - } - case 146: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallPackageList.cs b/Novaria.Common/Protos/MallPackageList.cs new file mode 100644 index 0000000..7ba2e20 --- /dev/null +++ b/Novaria.Common/Protos/MallPackageList.cs @@ -0,0 +1,580 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_package_list.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 Proto { + + /// Holder for reflection information generated from mall_package_list.proto + public static partial class MallPackageListReflection { + + #region Descriptor + /// File descriptor for mall_package_list.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallPackageListReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdtYWxsX3BhY2thZ2VfbGlzdC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byJTCgtQYWNrYWdlSW5mbxIKCgJJZBgBIAEoCRINCgVTdG9jaxgCIAEoDRIT", + "CgtSZWZyZXNoVGltZRgDIAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwiSQoP", + "TWFsbFBhY2thZ2VMaXN0EiAKBExpc3QYASADKAsyEi5wcm90by5QYWNrYWdl", + "SW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PackageInfo), global::Proto.PackageInfo.Parser, new[]{ "Id", "Stock", "RefreshTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallPackageList), global::Proto.MallPackageList.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PackageInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PackageInfo()); + 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::Proto.MallPackageListReflection.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 PackageInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PackageInfo(PackageInfo other) : this() { + id_ = other.id_; + stock_ = other.stock_; + refreshTime_ = other.refreshTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PackageInfo Clone() { + return new PackageInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Stock" field. + public const int StockFieldNumber = 2; + private uint stock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Stock { + get { return stock_; } + set { + stock_ = value; + } + } + + /// Field number for the "RefreshTime" field. + public const int RefreshTimeFieldNumber = 3; + private long refreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RefreshTime { + get { return refreshTime_; } + set { + refreshTime_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PackageInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PackageInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Stock != other.Stock) return false; + if (RefreshTime != other.RefreshTime) return false; + if (NextPackage != other.NextPackage) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Stock != 0) hash ^= Stock.GetHashCode(); + if (RefreshTime != 0L) hash ^= RefreshTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Stock != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Stock); + } + if (RefreshTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(RefreshTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Stock != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Stock); + } + if (RefreshTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(RefreshTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Stock != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stock); + } + if (RefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RefreshTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PackageInfo other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Stock != 0) { + Stock = other.Stock; + } + if (other.RefreshTime != 0L) { + RefreshTime = other.RefreshTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Stock = input.ReadUInt32(); + break; + } + case 24: { + RefreshTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Stock = input.ReadUInt32(); + break; + } + case 24: { + RefreshTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallPackageList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallPackageList()); + 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::Proto.MallPackageListReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackageList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackageList(MallPackageList other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackageList Clone() { + return new MallPackageList(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.PackageInfo.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MallPackageList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallPackageList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallPackageList other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StoryPersonality.cs b/Novaria.Common/Protos/MallPackageOrder.cs similarity index 52% rename from Novaria.Common/Protos/StoryPersonality.cs rename to Novaria.Common/Protos/MallPackageOrder.cs index 34f9149..ec44cde 100644 --- a/Novaria.Common/Protos/StoryPersonality.cs +++ b/Novaria.Common/Protos/MallPackageOrder.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StoryPersonality.proto +// source: mall_package_order.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,30 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from StoryPersonality.proto - public static partial class StoryPersonalityReflection { + /// Holder for reflection information generated from mall_package_order.proto + public static partial class MallPackageOrderReflection { #region Descriptor - /// File descriptor for StoryPersonality.proto + /// File descriptor for mall_package_order.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StoryPersonalityReflection() { + static MallPackageOrderReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChZTdG9yeVBlcnNvbmFsaXR5LnByb3RvIlUKEFN0b3J5UGVyc29uYWxpdHkS", - "CgoCaWQYASABKAUSDAoEbmFtZRgCIAEoCRIKCgJkYhgDIAEoCRIMCgRpY29u", - "GAQgASgJEg0KBWNvbG9yGAUgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "ChhtYWxsX3BhY2thZ2Vfb3JkZXIucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG8aFG1hbGxfZ2VtX29yZGVyLnByb3RvIngKEE1hbGxQYWNrYWdlT3JkZXIS", + "FAoLTmV4dFBhY2thZ2UY/w8gASgMEiMKBkNoYW5nZRgBIAEoCzIRLnByb3Rv", + "LkNoYW5nZUluZm9IABIhCgVPcmRlchgCIAEoCzIQLnByb3RvLk9yZGVySW5m", + "b0gAQgYKBFJlc3BQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.MallGemOrderReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryPersonality), global::Nova.Client.StoryPersonality.Parser, new[]{ "Id", "Name", "Db", "Icon", "Color" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallPackageOrder), global::Proto.MallPackageOrder.Parser, new[]{ "NextPackage", "Change", "Order" }, new[]{ "Resp" }, null, null, null) })); } #endregion @@ -38,21 +40,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StoryPersonality : pb::IMessage + public sealed partial class MallPackageOrder : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StoryPersonality()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallPackageOrder()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.StoryPersonalityReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.MallPackageOrderReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +65,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryPersonality() { + public MallPackageOrder() { OnConstruction(); } @@ -71,101 +73,102 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryPersonality(StoryPersonality other) : this() { - id_ = other.id_; - name_ = other.name_; - db_ = other.db_; - icon_ = other.icon_; - color_ = other.color_; + public MallPackageOrder(MallPackageOrder other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.RespCase) { + case RespOneofCase.Change: + Change = other.Change.Clone(); + break; + case RespOneofCase.Order: + Order = other.Order.Clone(); + break; + } + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryPersonality Clone() { - return new StoryPersonality(this); + public MallPackageOrder Clone() { + return new MallPackageOrder(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - id_ = value; + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "name" field. - public const int NameFieldNumber = 2; - private string name_ = ""; + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 1; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } + public global::Proto.ChangeInfo Change { + get { return respCase_ == RespOneofCase.Change ? (global::Proto.ChangeInfo) resp_ : null; } set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + resp_ = value; + respCase_ = value == null ? RespOneofCase.None : RespOneofCase.Change; } } - /// Field number for the "db" field. - public const int DbFieldNumber = 3; - private string db_ = ""; + /// Field number for the "Order" field. + public const int OrderFieldNumber = 2; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Db { - get { return db_; } + public global::Proto.OrderInfo Order { + get { return respCase_ == RespOneofCase.Order ? (global::Proto.OrderInfo) resp_ : null; } set { - db_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + resp_ = value; + respCase_ = value == null ? RespOneofCase.None : RespOneofCase.Order; } } - /// Field number for the "icon" field. - public const int IconFieldNumber = 4; - private string icon_ = ""; + private object resp_; + /// Enum of possible cases for the "Resp" oneof. + public enum RespOneofCase { + None = 0, + Change = 1, + Order = 2, + } + private RespOneofCase respCase_ = RespOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Icon { - get { return icon_; } - set { - icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public RespOneofCase RespCase { + get { return respCase_; } } - /// Field number for the "color" field. - public const int ColorFieldNumber = 5; - private string color_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Color { - get { return color_; } - set { - color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public void ClearResp() { + respCase_ = RespOneofCase.None; + resp_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as StoryPersonality); + return Equals(other as MallPackageOrder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StoryPersonality other) { + public bool Equals(MallPackageOrder 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 (Db != other.Db) return false; - if (Icon != other.Icon) return false; - if (Color != other.Color) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Change, other.Change)) return false; + if (!object.Equals(Order, other.Order)) return false; + if (RespCase != other.RespCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -173,11 +176,10 @@ namespace Nova.Client { [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 (Db.Length != 0) hash ^= Db.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Color.Length != 0) hash ^= Color.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (respCase_ == RespOneofCase.Change) hash ^= Change.GetHashCode(); + if (respCase_ == RespOneofCase.Order) hash ^= Order.GetHashCode(); + hash ^= (int) respCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -196,25 +198,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + if (respCase_ == RespOneofCase.Change) { + output.WriteRawTag(10); + output.WriteMessage(Change); } - if (Name.Length != 0) { + if (respCase_ == RespOneofCase.Order) { output.WriteRawTag(18); - output.WriteString(Name); + output.WriteMessage(Order); } - if (Db.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Db); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (Color.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Color); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -226,25 +220,17 @@ namespace Nova.Client { [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 (respCase_ == RespOneofCase.Change) { + output.WriteRawTag(10); + output.WriteMessage(Change); } - if (Name.Length != 0) { + if (respCase_ == RespOneofCase.Order) { output.WriteRawTag(18); - output.WriteString(Name); + output.WriteMessage(Order); } - if (Db.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Db); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (Color.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Color); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -256,20 +242,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + if (respCase_ == RespOneofCase.Change) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } - if (Db.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Db); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Color.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); + if (respCase_ == RespOneofCase.Order) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Order); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -279,25 +259,28 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StoryPersonality other) { + public void MergeFrom(MallPackageOrder other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Db.Length != 0) { - Db = other.Db; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Color.Length != 0) { - Color = other.Color; + switch (other.RespCase) { + case RespOneofCase.Change: + if (Change == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + break; + case RespOneofCase.Order: + if (Order == null) { + Order = new global::Proto.OrderInfo(); + } + Order.MergeFrom(other.Order); + break; } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -317,24 +300,26 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + global::Proto.ChangeInfo subBuilder = new global::Proto.ChangeInfo(); + if (respCase_ == RespOneofCase.Change) { + subBuilder.MergeFrom(Change); + } + input.ReadMessage(subBuilder); + Change = subBuilder; break; } case 18: { - Name = input.ReadString(); + global::Proto.OrderInfo subBuilder = new global::Proto.OrderInfo(); + if (respCase_ == RespOneofCase.Order) { + subBuilder.MergeFrom(Order); + } + input.ReadMessage(subBuilder); + Order = subBuilder; break; } - case 26: { - Db = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - Color = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -356,24 +341,26 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + global::Proto.ChangeInfo subBuilder = new global::Proto.ChangeInfo(); + if (respCase_ == RespOneofCase.Change) { + subBuilder.MergeFrom(Change); + } + input.ReadMessage(subBuilder); + Change = subBuilder; break; } case 18: { - Name = input.ReadString(); + global::Proto.OrderInfo subBuilder = new global::Proto.OrderInfo(); + if (respCase_ == RespOneofCase.Order) { + subBuilder.MergeFrom(Order); + } + input.ReadMessage(subBuilder); + Order = subBuilder; break; } - case 26: { - Db = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - Color = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/MallShop.cs b/Novaria.Common/Protos/MallShop.cs deleted file mode 100644 index 1546162..0000000 --- a/Novaria.Common/Protos/MallShop.cs +++ /dev/null @@ -1,878 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MallShop.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 MallShop.proto - public static partial class MallShopReflection { - - #region Descriptor - /// File descriptor for MallShop.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MallShopReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5NYWxsU2hvcC5wcm90byL0AgoITWFsbFNob3ASCgoCaWQYASABKAkSDAoE", - "bmFtZRgCIAEoCRIMCgRkZXNjGAMgASgJEhAKCGdyb3VwX2lkGAQgASgFEgwK", - "BHNvcnQYBSABKAUSGAoQZXhjaGFuZ2VfaXRlbV9pZBgGIAEoBRIZChFleGNo", - "YW5nZV9pdGVtX3F0eRgHIAEoBRINCgVzdG9jaxgIIAEoBRIUCgxyZWZyZXNo", - "X3R5cGUYCSABKAUSDwoHaXRlbV9pZBgKIAEoBRIQCghpdGVtX3F0eRgLIAEo", - "BRIWCg5saXN0X2NvbmRfdHlwZRgMIAEoBRIYChBsaXN0X2NvbmRfcGFyYW1z", - "GA0gASgJEhcKD29yZGVyX2NvbmRfdHlwZRgOIAEoBRIZChFvcmRlcl9jb25k", - "X3BhcmFtcxgPIAEoCRIRCglsaXN0X3RpbWUYECABKAkSFAoMZGVfbGlzdF90", - "aW1lGBEgASgJEhQKDGRpc3BsYXlfbW9kZRgSIAEoBUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallShop), global::Nova.Client.MallShop.Parser, new[]{ "Id", "Name", "Desc", "GroupId", "Sort", "ExchangeItemId", "ExchangeItemQty", "Stock", "RefreshType", "ItemId", "ItemQty", "ListCondType", "ListCondParams", "OrderCondType", "OrderCondParams", "ListTime", "DeListTime", "DisplayMode" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MallShop : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallShop()); - 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.MallShopReflection.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 MallShop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallShop(MallShop other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - groupId_ = other.groupId_; - sort_ = other.sort_; - exchangeItemId_ = other.exchangeItemId_; - exchangeItemQty_ = other.exchangeItemQty_; - stock_ = other.stock_; - refreshType_ = other.refreshType_; - itemId_ = other.itemId_; - itemQty_ = other.itemQty_; - listCondType_ = other.listCondType_; - listCondParams_ = other.listCondParams_; - orderCondType_ = other.orderCondType_; - orderCondParams_ = other.orderCondParams_; - listTime_ = other.listTime_; - deListTime_ = other.deListTime_; - displayMode_ = other.displayMode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallShop Clone() { - return new MallShop(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "group_id" field. - public const int GroupIdFieldNumber = 4; - private int groupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } - set { - groupId_ = value; - } - } - - /// Field number for the "sort" field. - public const int SortFieldNumber = 5; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "exchange_item_id" field. - public const int ExchangeItemIdFieldNumber = 6; - private int exchangeItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExchangeItemId { - get { return exchangeItemId_; } - set { - exchangeItemId_ = value; - } - } - - /// Field number for the "exchange_item_qty" field. - public const int ExchangeItemQtyFieldNumber = 7; - private int exchangeItemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ExchangeItemQty { - get { return exchangeItemQty_; } - set { - exchangeItemQty_ = value; - } - } - - /// Field number for the "stock" field. - public const int StockFieldNumber = 8; - private int stock_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stock { - get { return stock_; } - set { - stock_ = value; - } - } - - /// Field number for the "refresh_type" field. - public const int RefreshTypeFieldNumber = 9; - private int refreshType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshType { - get { return refreshType_; } - set { - refreshType_ = value; - } - } - - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 10; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// Field number for the "item_qty" field. - public const int ItemQtyFieldNumber = 11; - private int itemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty { - get { return itemQty_; } - set { - itemQty_ = value; - } - } - - /// Field number for the "list_cond_type" field. - public const int ListCondTypeFieldNumber = 12; - private int listCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ListCondType { - get { return listCondType_; } - set { - listCondType_ = value; - } - } - - /// Field number for the "list_cond_params" field. - public const int ListCondParamsFieldNumber = 13; - private string listCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListCondParams { - get { return listCondParams_; } - set { - listCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "order_cond_type" field. - public const int OrderCondTypeFieldNumber = 14; - private int orderCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OrderCondType { - get { return orderCondType_; } - set { - orderCondType_ = value; - } - } - - /// Field number for the "order_cond_params" field. - public const int OrderCondParamsFieldNumber = 15; - private string orderCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OrderCondParams { - get { return orderCondParams_; } - set { - orderCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "list_time" field. - public const int ListTimeFieldNumber = 16; - private string listTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListTime { - get { return listTime_; } - set { - listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "de_list_time" field. - public const int DeListTimeFieldNumber = 17; - private string deListTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DeListTime { - get { return deListTime_; } - set { - deListTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "display_mode" field. - public const int DisplayModeFieldNumber = 18; - private int displayMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DisplayMode { - get { return displayMode_; } - set { - displayMode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MallShop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MallShop 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 (Desc != other.Desc) return false; - if (GroupId != other.GroupId) return false; - if (Sort != other.Sort) return false; - if (ExchangeItemId != other.ExchangeItemId) return false; - if (ExchangeItemQty != other.ExchangeItemQty) return false; - if (Stock != other.Stock) return false; - if (RefreshType != other.RefreshType) return false; - if (ItemId != other.ItemId) return false; - if (ItemQty != other.ItemQty) return false; - if (ListCondType != other.ListCondType) return false; - if (ListCondParams != other.ListCondParams) return false; - if (OrderCondType != other.OrderCondType) return false; - if (OrderCondParams != other.OrderCondParams) return false; - if (ListTime != other.ListTime) return false; - if (DeListTime != other.DeListTime) return false; - if (DisplayMode != other.DisplayMode) 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.Length != 0) hash ^= Id.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (ExchangeItemId != 0) hash ^= ExchangeItemId.GetHashCode(); - if (ExchangeItemQty != 0) hash ^= ExchangeItemQty.GetHashCode(); - if (Stock != 0) hash ^= Stock.GetHashCode(); - if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemQty != 0) hash ^= ItemQty.GetHashCode(); - if (ListCondType != 0) hash ^= ListCondType.GetHashCode(); - if (ListCondParams.Length != 0) hash ^= ListCondParams.GetHashCode(); - if (OrderCondType != 0) hash ^= OrderCondType.GetHashCode(); - if (OrderCondParams.Length != 0) hash ^= OrderCondParams.GetHashCode(); - if (ListTime.Length != 0) hash ^= ListTime.GetHashCode(); - if (DeListTime.Length != 0) hash ^= DeListTime.GetHashCode(); - if (DisplayMode != 0) hash ^= DisplayMode.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (GroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(GroupId); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - if (ExchangeItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ExchangeItemId); - } - if (ExchangeItemQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(ExchangeItemQty); - } - if (Stock != 0) { - output.WriteRawTag(64); - output.WriteInt32(Stock); - } - if (RefreshType != 0) { - output.WriteRawTag(72); - output.WriteInt32(RefreshType); - } - if (ItemId != 0) { - output.WriteRawTag(80); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(88); - output.WriteInt32(ItemQty); - } - if (ListCondType != 0) { - output.WriteRawTag(96); - output.WriteInt32(ListCondType); - } - if (ListCondParams.Length != 0) { - output.WriteRawTag(106); - output.WriteString(ListCondParams); - } - if (OrderCondType != 0) { - output.WriteRawTag(112); - output.WriteInt32(OrderCondType); - } - if (OrderCondParams.Length != 0) { - output.WriteRawTag(122); - output.WriteString(OrderCondParams); - } - if (ListTime.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(ListTime); - } - if (DeListTime.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(DeListTime); - } - if (DisplayMode != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(DisplayMode); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (GroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(GroupId); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - if (ExchangeItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ExchangeItemId); - } - if (ExchangeItemQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(ExchangeItemQty); - } - if (Stock != 0) { - output.WriteRawTag(64); - output.WriteInt32(Stock); - } - if (RefreshType != 0) { - output.WriteRawTag(72); - output.WriteInt32(RefreshType); - } - if (ItemId != 0) { - output.WriteRawTag(80); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(88); - output.WriteInt32(ItemQty); - } - if (ListCondType != 0) { - output.WriteRawTag(96); - output.WriteInt32(ListCondType); - } - if (ListCondParams.Length != 0) { - output.WriteRawTag(106); - output.WriteString(ListCondParams); - } - if (OrderCondType != 0) { - output.WriteRawTag(112); - output.WriteInt32(OrderCondType); - } - if (OrderCondParams.Length != 0) { - output.WriteRawTag(122); - output.WriteString(OrderCondParams); - } - if (ListTime.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(ListTime); - } - if (DeListTime.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(DeListTime); - } - if (DisplayMode != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(DisplayMode); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (ExchangeItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExchangeItemId); - } - if (ExchangeItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExchangeItemQty); - } - if (Stock != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stock); - } - if (RefreshType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); - } - if (ListCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ListCondType); - } - if (ListCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListCondParams); - } - if (OrderCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OrderCondType); - } - if (OrderCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderCondParams); - } - if (ListTime.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ListTime); - } - if (DeListTime.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(DeListTime); - } - if (DisplayMode != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MallShop other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.ExchangeItemId != 0) { - ExchangeItemId = other.ExchangeItemId; - } - if (other.ExchangeItemQty != 0) { - ExchangeItemQty = other.ExchangeItemQty; - } - if (other.Stock != 0) { - Stock = other.Stock; - } - if (other.RefreshType != 0) { - RefreshType = other.RefreshType; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemQty != 0) { - ItemQty = other.ItemQty; - } - if (other.ListCondType != 0) { - ListCondType = other.ListCondType; - } - if (other.ListCondParams.Length != 0) { - ListCondParams = other.ListCondParams; - } - if (other.OrderCondType != 0) { - OrderCondType = other.OrderCondType; - } - if (other.OrderCondParams.Length != 0) { - OrderCondParams = other.OrderCondParams; - } - if (other.ListTime.Length != 0) { - ListTime = other.ListTime; - } - if (other.DeListTime.Length != 0) { - DeListTime = other.DeListTime; - } - if (other.DisplayMode != 0) { - DisplayMode = other.DisplayMode; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - GroupId = input.ReadInt32(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - case 48: { - ExchangeItemId = input.ReadInt32(); - break; - } - case 56: { - ExchangeItemQty = input.ReadInt32(); - break; - } - case 64: { - Stock = input.ReadInt32(); - break; - } - case 72: { - RefreshType = input.ReadInt32(); - break; - } - case 80: { - ItemId = input.ReadInt32(); - break; - } - case 88: { - ItemQty = input.ReadInt32(); - break; - } - case 96: { - ListCondType = input.ReadInt32(); - break; - } - case 106: { - ListCondParams = input.ReadString(); - break; - } - case 112: { - OrderCondType = input.ReadInt32(); - break; - } - case 122: { - OrderCondParams = input.ReadString(); - break; - } - case 130: { - ListTime = input.ReadString(); - break; - } - case 138: { - DeListTime = input.ReadString(); - break; - } - case 144: { - DisplayMode = 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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - GroupId = input.ReadInt32(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - case 48: { - ExchangeItemId = input.ReadInt32(); - break; - } - case 56: { - ExchangeItemQty = input.ReadInt32(); - break; - } - case 64: { - Stock = input.ReadInt32(); - break; - } - case 72: { - RefreshType = input.ReadInt32(); - break; - } - case 80: { - ItemId = input.ReadInt32(); - break; - } - case 88: { - ItemQty = input.ReadInt32(); - break; - } - case 96: { - ListCondType = input.ReadInt32(); - break; - } - case 106: { - ListCondParams = input.ReadString(); - break; - } - case 112: { - OrderCondType = input.ReadInt32(); - break; - } - case 122: { - OrderCondParams = input.ReadString(); - break; - } - case 130: { - ListTime = input.ReadString(); - break; - } - case 138: { - DeListTime = input.ReadString(); - break; - } - case 144: { - DisplayMode = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MallShopList.cs b/Novaria.Common/Protos/MallShopList.cs new file mode 100644 index 0000000..7ef3ab3 --- /dev/null +++ b/Novaria.Common/Protos/MallShopList.cs @@ -0,0 +1,580 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: mall_shop_list.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 Proto { + + /// Holder for reflection information generated from mall_shop_list.proto + public static partial class MallShopListReflection { + + #region Descriptor + /// File descriptor for mall_shop_list.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MallShopListReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRtYWxsX3Nob3BfbGlzdC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byJT", + "CgtQcm9kdWN0SW5mbxIKCgJJZBgBIAEoCRINCgVTdG9jaxgCIAEoBRITCgtS", + "ZWZyZXNoVGltZRgDIAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwiTQoTTWFs", + "bFNob3BQcm9kdWN0TGlzdBIgCgRMaXN0GAEgAygLMhIucHJvdG8uUHJvZHVj", + "dEluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ProductInfo), global::Proto.ProductInfo.Parser, new[]{ "Id", "Stock", "RefreshTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallShopProductList), global::Proto.MallShopProductList.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProductInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProductInfo()); + 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::Proto.MallShopListReflection.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 ProductInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductInfo(ProductInfo other) : this() { + id_ = other.id_; + stock_ = other.stock_; + refreshTime_ = other.refreshTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductInfo Clone() { + return new ProductInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Stock" field. + public const int StockFieldNumber = 2; + private int stock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stock { + get { return stock_; } + set { + stock_ = value; + } + } + + /// Field number for the "RefreshTime" field. + public const int RefreshTimeFieldNumber = 3; + private long refreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RefreshTime { + get { return refreshTime_; } + set { + refreshTime_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ProductInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProductInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Stock != other.Stock) return false; + if (RefreshTime != other.RefreshTime) return false; + if (NextPackage != other.NextPackage) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Stock != 0) hash ^= Stock.GetHashCode(); + if (RefreshTime != 0L) hash ^= RefreshTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Stock != 0) { + output.WriteRawTag(16); + output.WriteInt32(Stock); + } + if (RefreshTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(RefreshTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Stock != 0) { + output.WriteRawTag(16); + output.WriteInt32(Stock); + } + if (RefreshTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(RefreshTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Stock != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stock); + } + if (RefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RefreshTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProductInfo other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Stock != 0) { + Stock = other.Stock; + } + if (other.RefreshTime != 0L) { + RefreshTime = other.RefreshTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Stock = input.ReadInt32(); + break; + } + case 24: { + RefreshTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Stock = input.ReadInt32(); + break; + } + case 24: { + RefreshTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallShopProductList : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallShopProductList()); + 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::Proto.MallShopListReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShopProductList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShopProductList(MallShopProductList other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShopProductList Clone() { + return new MallShopProductList(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ProductInfo.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MallShopProductList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallShopProductList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallShopProductList other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/GamepadButton.cs b/Novaria.Common/Protos/MallShopOrder.cs similarity index 68% rename from Novaria.Common/Protos/GamepadButton.cs rename to Novaria.Common/Protos/MallShopOrder.cs index 0bb3ebd..d87b823 100644 --- a/Novaria.Common/Protos/GamepadButton.cs +++ b/Novaria.Common/Protos/MallShopOrder.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GamepadButton.proto +// source: mall_shop_order.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from GamepadButton.proto - public static partial class GamepadButtonReflection { + /// Holder for reflection information generated from mall_shop_order.proto + public static partial class MallShopOrderReflection { #region Descriptor - /// File descriptor for GamepadButton.proto + /// File descriptor for mall_shop_order.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static GamepadButtonReflection() { + static MallShopOrderReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChNHYW1lcGFkQnV0dG9uLnByb3RvIkkKDUdhbWVwYWRCdXR0b24SCgoCaWQY", - "ASABKAkSEQoJeGJveF9pY29uGAIgASgJEhkKEXBsYXlfc3RhdGlvbl9pY29u", - "GAMgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "ChVtYWxsX3Nob3Bfb3JkZXIucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8a", + "FG1hbGxfZ2VtX29yZGVyLnByb3RvIkEKEE1hbGxTaG9wT3JkZXJSZXESCgoC", + "SWQYASABKAkSCwoDUXR5GAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDFAA", + "YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.MallGemOrderReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GamepadButton), global::Nova.Client.GamepadButton.Parser, new[]{ "Id", "XboxIcon", "PlayStationIcon" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallShopOrderReq), global::Proto.MallShopOrderReq.Parser, new[]{ "Id", "Qty", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class GamepadButton : pb::IMessage + public sealed partial class MallShopOrderReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GamepadButton()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallShopOrderReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.GamepadButtonReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.MallShopOrderReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GamepadButton() { + public MallShopOrderReq() { OnConstruction(); } @@ -71,20 +72,20 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GamepadButton(GamepadButton other) : this() { + public MallShopOrderReq(MallShopOrderReq other) : this() { id_ = other.id_; - xboxIcon_ = other.xboxIcon_; - playStationIcon_ = other.playStationIcon_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public GamepadButton Clone() { - return new GamepadButton(this); + public MallShopOrderReq Clone() { + return new MallShopOrderReq(this); } - /// Field number for the "id" field. + /// Field number for the "Id" field. public const int IdFieldNumber = 1; private string id_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -96,39 +97,39 @@ namespace Nova.Client { } } - /// Field number for the "xbox_icon" field. - public const int XboxIconFieldNumber = 2; - private string xboxIcon_ = ""; + /// Field number for the "Qty" field. + public const int QtyFieldNumber = 2; + private uint qty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string XboxIcon { - get { return xboxIcon_; } + public uint Qty { + get { return qty_; } set { - xboxIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + qty_ = value; } } - /// Field number for the "play_station_icon" field. - public const int PlayStationIconFieldNumber = 3; - private string playStationIcon_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PlayStationIcon { - get { return playStationIcon_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - playStationIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 GamepadButton); + return Equals(other as MallShopOrderReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(GamepadButton other) { + public bool Equals(MallShopOrderReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -136,8 +137,8 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (XboxIcon != other.XboxIcon) return false; - if (PlayStationIcon != other.PlayStationIcon) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -146,8 +147,8 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id.Length != 0) hash ^= Id.GetHashCode(); - if (XboxIcon.Length != 0) hash ^= XboxIcon.GetHashCode(); - if (PlayStationIcon.Length != 0) hash ^= PlayStationIcon.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -170,13 +171,13 @@ namespace Nova.Client { output.WriteRawTag(10); output.WriteString(Id); } - if (XboxIcon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(XboxIcon); + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Qty); } - if (PlayStationIcon.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PlayStationIcon); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -192,13 +193,13 @@ namespace Nova.Client { output.WriteRawTag(10); output.WriteString(Id); } - if (XboxIcon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(XboxIcon); + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Qty); } - if (PlayStationIcon.Length != 0) { - output.WriteRawTag(26); - output.WriteString(PlayStationIcon); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -213,11 +214,11 @@ namespace Nova.Client { if (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } - if (XboxIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(XboxIcon); + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Qty); } - if (PlayStationIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayStationIcon); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(GamepadButton other) { + public void MergeFrom(MallShopOrderReq other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } - if (other.XboxIcon.Length != 0) { - XboxIcon = other.XboxIcon; + if (other.Qty != 0) { + Qty = other.Qty; } - if (other.PlayStationIcon.Length != 0) { - PlayStationIcon = other.PlayStationIcon; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -263,12 +264,12 @@ namespace Nova.Client { Id = input.ReadString(); break; } - case 18: { - XboxIcon = input.ReadString(); + case 16: { + Qty = input.ReadUInt32(); break; } - case 26: { - PlayStationIcon = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -294,12 +295,12 @@ namespace Nova.Client { Id = input.ReadString(); break; } - case 18: { - XboxIcon = input.ReadString(); + case 16: { + Qty = input.ReadUInt32(); break; } - case 26: { - PlayStationIcon = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/MallShopPage.cs b/Novaria.Common/Protos/MallShopPage.cs deleted file mode 100644 index 920bfaa..0000000 --- a/Novaria.Common/Protos/MallShopPage.cs +++ /dev/null @@ -1,466 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MallShopPage.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 MallShopPage.proto - public static partial class MallShopPageReflection { - - #region Descriptor - /// File descriptor for MallShopPage.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MallShopPageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJNYWxsU2hvcFBhZ2UucHJvdG8ijQEKDE1hbGxTaG9wUGFnZRIKCgJpZBgB", - "IAEoBRIMCgRzb3J0GAIgASgFEgwKBG5hbWUYAyABKAkSGQoRcmVmcmVzaF90", - "aW1lX3R5cGUYBCABKAUSEQoJc2hvcF9jb2luGAUgASgFEhEKCWxpc3RfdGlt", - "ZRgGIAEoCRIUCgxkZV9saXN0X3RpbWUYByABKAlCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallShopPage), global::Nova.Client.MallShopPage.Parser, new[]{ "Id", "Sort", "Name", "RefreshTimeType", "ShopCoin", "ListTime", "DeListTime" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MallShopPage : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallShopPage()); - 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.MallShopPageReflection.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 MallShopPage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallShopPage(MallShopPage other) : this() { - id_ = other.id_; - sort_ = other.sort_; - name_ = other.name_; - refreshTimeType_ = other.refreshTimeType_; - shopCoin_ = other.shopCoin_; - listTime_ = other.listTime_; - deListTime_ = other.deListTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallShopPage Clone() { - return new MallShopPage(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 "sort" field. - public const int SortFieldNumber = 2; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 "refresh_time_type" field. - public const int RefreshTimeTypeFieldNumber = 4; - private int refreshTimeType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshTimeType { - get { return refreshTimeType_; } - set { - refreshTimeType_ = value; - } - } - - /// Field number for the "shop_coin" field. - public const int ShopCoinFieldNumber = 5; - private int shopCoin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShopCoin { - get { return shopCoin_; } - set { - shopCoin_ = value; - } - } - - /// Field number for the "list_time" field. - public const int ListTimeFieldNumber = 6; - private string listTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ListTime { - get { return listTime_; } - set { - listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "de_list_time" field. - public const int DeListTimeFieldNumber = 7; - private string deListTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DeListTime { - get { return deListTime_; } - set { - deListTime_ = 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 MallShopPage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MallShopPage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Sort != other.Sort) return false; - if (Name != other.Name) return false; - if (RefreshTimeType != other.RefreshTimeType) return false; - if (ShopCoin != other.ShopCoin) return false; - if (ListTime != other.ListTime) return false; - if (DeListTime != other.DeListTime) 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 (Sort != 0) hash ^= Sort.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (RefreshTimeType != 0) hash ^= RefreshTimeType.GetHashCode(); - if (ShopCoin != 0) hash ^= ShopCoin.GetHashCode(); - if (ListTime.Length != 0) hash ^= ListTime.GetHashCode(); - if (DeListTime.Length != 0) hash ^= DeListTime.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 (Sort != 0) { - output.WriteRawTag(16); - output.WriteInt32(Sort); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (RefreshTimeType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RefreshTimeType); - } - if (ShopCoin != 0) { - output.WriteRawTag(40); - output.WriteInt32(ShopCoin); - } - if (ListTime.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ListTime); - } - if (DeListTime.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DeListTime); - } - 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 (Sort != 0) { - output.WriteRawTag(16); - output.WriteInt32(Sort); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (RefreshTimeType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RefreshTimeType); - } - if (ShopCoin != 0) { - output.WriteRawTag(40); - output.WriteInt32(ShopCoin); - } - if (ListTime.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ListTime); - } - if (DeListTime.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DeListTime); - } - 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 (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (RefreshTimeType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTimeType); - } - if (ShopCoin != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopCoin); - } - if (ListTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ListTime); - } - if (DeListTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DeListTime); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MallShopPage other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.RefreshTimeType != 0) { - RefreshTimeType = other.RefreshTimeType; - } - if (other.ShopCoin != 0) { - ShopCoin = other.ShopCoin; - } - if (other.ListTime.Length != 0) { - ListTime = other.ListTime; - } - if (other.DeListTime.Length != 0) { - DeListTime = other.DeListTime; - } - _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: { - Sort = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - RefreshTimeType = input.ReadInt32(); - break; - } - case 40: { - ShopCoin = input.ReadInt32(); - break; - } - case 50: { - ListTime = input.ReadString(); - break; - } - case 58: { - DeListTime = 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: { - Sort = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - RefreshTimeType = input.ReadInt32(); - break; - } - case 40: { - ShopCoin = input.ReadInt32(); - break; - } - case 50: { - ListTime = input.ReadString(); - break; - } - case 58: { - DeListTime = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Monster.cs b/Novaria.Common/Protos/Monster.cs deleted file mode 100644 index bf23795..0000000 --- a/Novaria.Common/Protos/Monster.cs +++ /dev/null @@ -1,1720 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Monster.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 Monster.proto - public static partial class MonsterReflection { - - #region Descriptor - /// File descriptor for Monster.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1Nb25zdGVyLnByb3RvIpcGCgdNb25zdGVyEgoKAmlkGAEgASgFEgwKBG5h", - "bWUYAiABKAkSFgoOZm9ybWFsX25hbWVfaWQYAyABKAUSDwoHZXBpY19sdhgE", - "IAEoBRIYChBtb25zdGVyX3Bvc2l0aW9uGAUgASgFEhIKCmJsb29kX3R5cGUY", - "BiABKAUSDQoFZm9yY2UYByABKAkSDgoGZl9jX2lkGAggASgFEg4KBmZfYV9p", - "ZBgJIAEoBRIQCghtb3ZfdHlwZRgKIAEoBRIPCgdydW5fc3BkGAsgASgFEhcK", - "D3RyYW5zX3NwZF9zY2FsZRgMIAEoBRIQCgh3YWxrX3NwZBgNIAEoBRIPCgdt", - "b3ZfYWNjGA4gASgFEhIKCnZpc2lvbl9ybmcYDyABKAUSEgoKdmlzaW9uX2Rl", - "ZxgQIAEoBRIQCghoZWFyX3JuZxgRIAEoBRIPCgdyZWZfcm5nGBIgASgFEg8K", - "B2FjdF9ybmcYEyABKAUSEwoLZGlzX2FjdF9ybmcYFCABKAUSEgoKc2VhcmNo", - "X3JuZxgVIAEoBRIPCgdyb3Rfc3BkGBYgASgFEhgKEHJvdF9zcGRfaW5fc2tp", - "bGwYFyABKAUSEAoIdGVtcGxldGUYGCABKAUSEAoIYnVmZl9pZHMYGSADKAUS", - "EAoIc3ViX3R5cGUYGiABKAUSDwoHZmFjdGlvbhgbIAEoBRIUCgx0cmFwX3Rh", - "Z19pZHMYHCADKAUSEgoKc3VwX2NoYXJnZRgdIAEoBRITCgtpc19zaG93X3Ju", - "ZxgeIAEoCBIOCgZ3ZWlnaHQYHyABKAUSHQoVdG91Z2huZXNzX2Jyb2tlbl90", - "aW1lGCAgASgFEgwKBHRhZzEYISABKAkSDAoEdGFnMhgiIAEoCRIMCgR0YWcz", - "GCMgASgJEgwKBHRhZzQYJCABKAkSDAoEdGFnNRglIAEoCRIYChBhdHRhY2tf", - "aGludF90eXBlGCYgASgFEhYKDmJsb2NrX3ByaW9yaXR5GCcgASgFEhcKD3dh", - "eV9wb2ludF9zaGlmdBgoIAEoBRIXCg9tb25zdGVyX3RlYW1faWQYKSABKAVC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Monster), global::Nova.Client.Monster.Parser, new[]{ "Id", "Name", "FormalNameId", "EpicLv", "MonsterPosition", "BloodType", "Force", "FCId", "FAId", "MovType", "RunSpd", "TransSpdScale", "WalkSpd", "MovAcc", "VisionRng", "VisionDeg", "HearRng", "RefRng", "ActRng", "DisActRng", "SearchRng", "RotSpd", "RotSpdInSkill", "Templete", "BuffIds", "SubType", "Faction", "TrapTagIds", "SupCharge", "IsShowRng", "Weight", "ToughnessBrokenTime", "Tag1", "Tag2", "Tag3", "Tag4", "Tag5", "AttackHintType", "BlockPriority", "WayPointShift", "MonsterTeamId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Monster : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Monster()); - 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.MonsterReflection.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 Monster() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Monster(Monster other) : this() { - id_ = other.id_; - name_ = other.name_; - formalNameId_ = other.formalNameId_; - epicLv_ = other.epicLv_; - monsterPosition_ = other.monsterPosition_; - bloodType_ = other.bloodType_; - force_ = other.force_; - fCId_ = other.fCId_; - fAId_ = other.fAId_; - movType_ = other.movType_; - runSpd_ = other.runSpd_; - transSpdScale_ = other.transSpdScale_; - walkSpd_ = other.walkSpd_; - movAcc_ = other.movAcc_; - visionRng_ = other.visionRng_; - visionDeg_ = other.visionDeg_; - hearRng_ = other.hearRng_; - refRng_ = other.refRng_; - actRng_ = other.actRng_; - disActRng_ = other.disActRng_; - searchRng_ = other.searchRng_; - rotSpd_ = other.rotSpd_; - rotSpdInSkill_ = other.rotSpdInSkill_; - templete_ = other.templete_; - buffIds_ = other.buffIds_.Clone(); - subType_ = other.subType_; - faction_ = other.faction_; - trapTagIds_ = other.trapTagIds_.Clone(); - supCharge_ = other.supCharge_; - isShowRng_ = other.isShowRng_; - weight_ = other.weight_; - toughnessBrokenTime_ = other.toughnessBrokenTime_; - tag1_ = other.tag1_; - tag2_ = other.tag2_; - tag3_ = other.tag3_; - tag4_ = other.tag4_; - tag5_ = other.tag5_; - attackHintType_ = other.attackHintType_; - blockPriority_ = other.blockPriority_; - wayPointShift_ = other.wayPointShift_; - monsterTeamId_ = other.monsterTeamId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Monster Clone() { - return new Monster(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 "name" field. - 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"); - } - } - - /// Field number for the "formal_name_id" field. - public const int FormalNameIdFieldNumber = 3; - private int formalNameId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FormalNameId { - get { return formalNameId_; } - set { - formalNameId_ = value; - } - } - - /// Field number for the "epic_lv" field. - public const int EpicLvFieldNumber = 4; - private int epicLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EpicLv { - get { return epicLv_; } - set { - epicLv_ = value; - } - } - - /// Field number for the "monster_position" field. - public const int MonsterPositionFieldNumber = 5; - private int monsterPosition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterPosition { - get { return monsterPosition_; } - set { - monsterPosition_ = value; - } - } - - /// Field number for the "blood_type" field. - public const int BloodTypeFieldNumber = 6; - private int bloodType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BloodType { - get { return bloodType_; } - set { - bloodType_ = value; - } - } - - /// Field number for the "force" field. - public const int ForceFieldNumber = 7; - private string force_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Force { - get { return force_; } - set { - force_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "f_c_id" field. - public const int FCIdFieldNumber = 8; - private int fCId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FCId { - get { return fCId_; } - set { - fCId_ = value; - } - } - - /// Field number for the "f_a_id" field. - public const int FAIdFieldNumber = 9; - private int fAId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FAId { - get { return fAId_; } - set { - fAId_ = value; - } - } - - /// Field number for the "mov_type" field. - public const int MovTypeFieldNumber = 10; - private int movType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovType { - get { return movType_; } - set { - movType_ = value; - } - } - - /// Field number for the "run_spd" field. - public const int RunSpdFieldNumber = 11; - private int runSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RunSpd { - get { return runSpd_; } - set { - runSpd_ = value; - } - } - - /// Field number for the "trans_spd_scale" field. - public const int TransSpdScaleFieldNumber = 12; - private int transSpdScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TransSpdScale { - get { return transSpdScale_; } - set { - transSpdScale_ = value; - } - } - - /// Field number for the "walk_spd" field. - public const int WalkSpdFieldNumber = 13; - private int walkSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WalkSpd { - get { return walkSpd_; } - set { - walkSpd_ = value; - } - } - - /// Field number for the "mov_acc" field. - public const int MovAccFieldNumber = 14; - private int movAcc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovAcc { - get { return movAcc_; } - set { - movAcc_ = value; - } - } - - /// Field number for the "vision_rng" field. - public const int VisionRngFieldNumber = 15; - private int visionRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionRng { - get { return visionRng_; } - set { - visionRng_ = value; - } - } - - /// Field number for the "vision_deg" field. - public const int VisionDegFieldNumber = 16; - private int visionDeg_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionDeg { - get { return visionDeg_; } - set { - visionDeg_ = value; - } - } - - /// Field number for the "hear_rng" field. - public const int HearRngFieldNumber = 17; - private int hearRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HearRng { - get { return hearRng_; } - set { - hearRng_ = value; - } - } - - /// Field number for the "ref_rng" field. - public const int RefRngFieldNumber = 18; - private int refRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefRng { - get { return refRng_; } - set { - refRng_ = value; - } - } - - /// Field number for the "act_rng" field. - public const int ActRngFieldNumber = 19; - private int actRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ActRng { - get { return actRng_; } - set { - actRng_ = value; - } - } - - /// Field number for the "dis_act_rng" field. - public const int DisActRngFieldNumber = 20; - private int disActRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DisActRng { - get { return disActRng_; } - set { - disActRng_ = value; - } - } - - /// Field number for the "search_rng" field. - public const int SearchRngFieldNumber = 21; - private int searchRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SearchRng { - get { return searchRng_; } - set { - searchRng_ = value; - } - } - - /// Field number for the "rot_spd" field. - public const int RotSpdFieldNumber = 22; - private int rotSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RotSpd { - get { return rotSpd_; } - set { - rotSpd_ = value; - } - } - - /// Field number for the "rot_spd_in_skill" field. - public const int RotSpdInSkillFieldNumber = 23; - private int rotSpdInSkill_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RotSpdInSkill { - get { return rotSpdInSkill_; } - set { - rotSpdInSkill_ = value; - } - } - - /// Field number for the "templete" field. - public const int TempleteFieldNumber = 24; - private int templete_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Templete { - get { return templete_; } - set { - templete_ = value; - } - } - - /// Field number for the "buff_ids" field. - public const int BuffIdsFieldNumber = 25; - private static readonly pb::FieldCodec _repeated_buffIds_codec - = pb::FieldCodec.ForInt32(202); - private readonly pbc::RepeatedField buffIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BuffIds { - get { return buffIds_; } - } - - /// Field number for the "sub_type" field. - public const int SubTypeFieldNumber = 26; - private int subType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SubType { - get { return subType_; } - set { - subType_ = value; - } - } - - /// Field number for the "faction" field. - public const int FactionFieldNumber = 27; - private int faction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Faction { - get { return faction_; } - set { - faction_ = value; - } - } - - /// Field number for the "trap_tag_ids" field. - public const int TrapTagIdsFieldNumber = 28; - private static readonly pb::FieldCodec _repeated_trapTagIds_codec - = pb::FieldCodec.ForInt32(226); - private readonly pbc::RepeatedField trapTagIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField TrapTagIds { - get { return trapTagIds_; } - } - - /// Field number for the "sup_charge" field. - public const int SupChargeFieldNumber = 29; - private int supCharge_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SupCharge { - get { return supCharge_; } - set { - supCharge_ = value; - } - } - - /// Field number for the "is_show_rng" field. - public const int IsShowRngFieldNumber = 30; - private bool isShowRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsShowRng { - get { return isShowRng_; } - set { - isShowRng_ = value; - } - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 31; - private int weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "toughness_broken_time" field. - public const int ToughnessBrokenTimeFieldNumber = 32; - private int toughnessBrokenTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToughnessBrokenTime { - get { return toughnessBrokenTime_; } - set { - toughnessBrokenTime_ = value; - } - } - - /// Field number for the "tag1" field. - public const int Tag1FieldNumber = 33; - private string tag1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag1 { - get { return tag1_; } - set { - tag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag2" field. - public const int Tag2FieldNumber = 34; - private string tag2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag2 { - get { return tag2_; } - set { - tag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag3" field. - public const int Tag3FieldNumber = 35; - private string tag3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag3 { - get { return tag3_; } - set { - tag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag4" field. - public const int Tag4FieldNumber = 36; - private string tag4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag4 { - get { return tag4_; } - set { - tag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "tag5" field. - public const int Tag5FieldNumber = 37; - private string tag5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag5 { - get { return tag5_; } - set { - tag5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "attack_hint_type" field. - public const int AttackHintTypeFieldNumber = 38; - private int attackHintType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttackHintType { - get { return attackHintType_; } - set { - attackHintType_ = value; - } - } - - /// Field number for the "block_priority" field. - public const int BlockPriorityFieldNumber = 39; - private int blockPriority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BlockPriority { - get { return blockPriority_; } - set { - blockPriority_ = value; - } - } - - /// Field number for the "way_point_shift" field. - public const int WayPointShiftFieldNumber = 40; - private int wayPointShift_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WayPointShift { - get { return wayPointShift_; } - set { - wayPointShift_ = value; - } - } - - /// Field number for the "monster_team_id" field. - public const int MonsterTeamIdFieldNumber = 41; - private int monsterTeamId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterTeamId { - get { return monsterTeamId_; } - set { - monsterTeamId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Monster); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Monster 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 (FormalNameId != other.FormalNameId) return false; - if (EpicLv != other.EpicLv) return false; - if (MonsterPosition != other.MonsterPosition) return false; - if (BloodType != other.BloodType) return false; - if (Force != other.Force) return false; - if (FCId != other.FCId) return false; - if (FAId != other.FAId) return false; - if (MovType != other.MovType) return false; - if (RunSpd != other.RunSpd) return false; - if (TransSpdScale != other.TransSpdScale) return false; - if (WalkSpd != other.WalkSpd) return false; - if (MovAcc != other.MovAcc) return false; - if (VisionRng != other.VisionRng) return false; - if (VisionDeg != other.VisionDeg) return false; - if (HearRng != other.HearRng) return false; - if (RefRng != other.RefRng) return false; - if (ActRng != other.ActRng) return false; - if (DisActRng != other.DisActRng) return false; - if (SearchRng != other.SearchRng) return false; - if (RotSpd != other.RotSpd) return false; - if (RotSpdInSkill != other.RotSpdInSkill) return false; - if (Templete != other.Templete) return false; - if(!buffIds_.Equals(other.buffIds_)) return false; - if (SubType != other.SubType) return false; - if (Faction != other.Faction) return false; - if(!trapTagIds_.Equals(other.trapTagIds_)) return false; - if (SupCharge != other.SupCharge) return false; - if (IsShowRng != other.IsShowRng) return false; - if (Weight != other.Weight) return false; - if (ToughnessBrokenTime != other.ToughnessBrokenTime) return false; - if (Tag1 != other.Tag1) return false; - if (Tag2 != other.Tag2) return false; - if (Tag3 != other.Tag3) return false; - if (Tag4 != other.Tag4) return false; - if (Tag5 != other.Tag5) return false; - if (AttackHintType != other.AttackHintType) return false; - if (BlockPriority != other.BlockPriority) return false; - if (WayPointShift != other.WayPointShift) return false; - if (MonsterTeamId != other.MonsterTeamId) 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 (FormalNameId != 0) hash ^= FormalNameId.GetHashCode(); - if (EpicLv != 0) hash ^= EpicLv.GetHashCode(); - if (MonsterPosition != 0) hash ^= MonsterPosition.GetHashCode(); - if (BloodType != 0) hash ^= BloodType.GetHashCode(); - if (Force.Length != 0) hash ^= Force.GetHashCode(); - if (FCId != 0) hash ^= FCId.GetHashCode(); - if (FAId != 0) hash ^= FAId.GetHashCode(); - if (MovType != 0) hash ^= MovType.GetHashCode(); - if (RunSpd != 0) hash ^= RunSpd.GetHashCode(); - if (TransSpdScale != 0) hash ^= TransSpdScale.GetHashCode(); - if (WalkSpd != 0) hash ^= WalkSpd.GetHashCode(); - if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); - if (VisionRng != 0) hash ^= VisionRng.GetHashCode(); - if (VisionDeg != 0) hash ^= VisionDeg.GetHashCode(); - if (HearRng != 0) hash ^= HearRng.GetHashCode(); - if (RefRng != 0) hash ^= RefRng.GetHashCode(); - if (ActRng != 0) hash ^= ActRng.GetHashCode(); - if (DisActRng != 0) hash ^= DisActRng.GetHashCode(); - if (SearchRng != 0) hash ^= SearchRng.GetHashCode(); - if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); - if (RotSpdInSkill != 0) hash ^= RotSpdInSkill.GetHashCode(); - if (Templete != 0) hash ^= Templete.GetHashCode(); - hash ^= buffIds_.GetHashCode(); - if (SubType != 0) hash ^= SubType.GetHashCode(); - if (Faction != 0) hash ^= Faction.GetHashCode(); - hash ^= trapTagIds_.GetHashCode(); - if (SupCharge != 0) hash ^= SupCharge.GetHashCode(); - if (IsShowRng != false) hash ^= IsShowRng.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); - if (ToughnessBrokenTime != 0) hash ^= ToughnessBrokenTime.GetHashCode(); - if (Tag1.Length != 0) hash ^= Tag1.GetHashCode(); - if (Tag2.Length != 0) hash ^= Tag2.GetHashCode(); - if (Tag3.Length != 0) hash ^= Tag3.GetHashCode(); - if (Tag4.Length != 0) hash ^= Tag4.GetHashCode(); - if (Tag5.Length != 0) hash ^= Tag5.GetHashCode(); - if (AttackHintType != 0) hash ^= AttackHintType.GetHashCode(); - if (BlockPriority != 0) hash ^= BlockPriority.GetHashCode(); - if (WayPointShift != 0) hash ^= WayPointShift.GetHashCode(); - if (MonsterTeamId != 0) hash ^= MonsterTeamId.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 (FormalNameId != 0) { - output.WriteRawTag(24); - output.WriteInt32(FormalNameId); - } - if (EpicLv != 0) { - output.WriteRawTag(32); - output.WriteInt32(EpicLv); - } - if (MonsterPosition != 0) { - output.WriteRawTag(40); - output.WriteInt32(MonsterPosition); - } - if (BloodType != 0) { - output.WriteRawTag(48); - output.WriteInt32(BloodType); - } - if (Force.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Force); - } - if (FCId != 0) { - output.WriteRawTag(64); - output.WriteInt32(FCId); - } - if (FAId != 0) { - output.WriteRawTag(72); - output.WriteInt32(FAId); - } - if (MovType != 0) { - output.WriteRawTag(80); - output.WriteInt32(MovType); - } - if (RunSpd != 0) { - output.WriteRawTag(88); - output.WriteInt32(RunSpd); - } - if (TransSpdScale != 0) { - output.WriteRawTag(96); - output.WriteInt32(TransSpdScale); - } - if (WalkSpd != 0) { - output.WriteRawTag(104); - output.WriteInt32(WalkSpd); - } - if (MovAcc != 0) { - output.WriteRawTag(112); - output.WriteInt32(MovAcc); - } - if (VisionRng != 0) { - output.WriteRawTag(120); - output.WriteInt32(VisionRng); - } - if (VisionDeg != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(VisionDeg); - } - if (HearRng != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(HearRng); - } - if (RefRng != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(RefRng); - } - if (ActRng != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ActRng); - } - if (DisActRng != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DisActRng); - } - if (SearchRng != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(SearchRng); - } - if (RotSpd != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(RotSpd); - } - if (RotSpdInSkill != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(RotSpdInSkill); - } - if (Templete != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(Templete); - } - buffIds_.WriteTo(output, _repeated_buffIds_codec); - if (SubType != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(SubType); - } - if (Faction != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(Faction); - } - trapTagIds_.WriteTo(output, _repeated_trapTagIds_codec); - if (SupCharge != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(SupCharge); - } - if (IsShowRng != false) { - output.WriteRawTag(240, 1); - output.WriteBool(IsShowRng); - } - if (Weight != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(Weight); - } - if (ToughnessBrokenTime != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(ToughnessBrokenTime); - } - if (Tag1.Length != 0) { - output.WriteRawTag(138, 2); - output.WriteString(Tag1); - } - if (Tag2.Length != 0) { - output.WriteRawTag(146, 2); - output.WriteString(Tag2); - } - if (Tag3.Length != 0) { - output.WriteRawTag(154, 2); - output.WriteString(Tag3); - } - if (Tag4.Length != 0) { - output.WriteRawTag(162, 2); - output.WriteString(Tag4); - } - if (Tag5.Length != 0) { - output.WriteRawTag(170, 2); - output.WriteString(Tag5); - } - if (AttackHintType != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(AttackHintType); - } - if (BlockPriority != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(BlockPriority); - } - if (WayPointShift != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(WayPointShift); - } - if (MonsterTeamId != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(MonsterTeamId); - } - 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 (FormalNameId != 0) { - output.WriteRawTag(24); - output.WriteInt32(FormalNameId); - } - if (EpicLv != 0) { - output.WriteRawTag(32); - output.WriteInt32(EpicLv); - } - if (MonsterPosition != 0) { - output.WriteRawTag(40); - output.WriteInt32(MonsterPosition); - } - if (BloodType != 0) { - output.WriteRawTag(48); - output.WriteInt32(BloodType); - } - if (Force.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Force); - } - if (FCId != 0) { - output.WriteRawTag(64); - output.WriteInt32(FCId); - } - if (FAId != 0) { - output.WriteRawTag(72); - output.WriteInt32(FAId); - } - if (MovType != 0) { - output.WriteRawTag(80); - output.WriteInt32(MovType); - } - if (RunSpd != 0) { - output.WriteRawTag(88); - output.WriteInt32(RunSpd); - } - if (TransSpdScale != 0) { - output.WriteRawTag(96); - output.WriteInt32(TransSpdScale); - } - if (WalkSpd != 0) { - output.WriteRawTag(104); - output.WriteInt32(WalkSpd); - } - if (MovAcc != 0) { - output.WriteRawTag(112); - output.WriteInt32(MovAcc); - } - if (VisionRng != 0) { - output.WriteRawTag(120); - output.WriteInt32(VisionRng); - } - if (VisionDeg != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(VisionDeg); - } - if (HearRng != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(HearRng); - } - if (RefRng != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(RefRng); - } - if (ActRng != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ActRng); - } - if (DisActRng != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DisActRng); - } - if (SearchRng != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(SearchRng); - } - if (RotSpd != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(RotSpd); - } - if (RotSpdInSkill != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(RotSpdInSkill); - } - if (Templete != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(Templete); - } - buffIds_.WriteTo(ref output, _repeated_buffIds_codec); - if (SubType != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(SubType); - } - if (Faction != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(Faction); - } - trapTagIds_.WriteTo(ref output, _repeated_trapTagIds_codec); - if (SupCharge != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(SupCharge); - } - if (IsShowRng != false) { - output.WriteRawTag(240, 1); - output.WriteBool(IsShowRng); - } - if (Weight != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(Weight); - } - if (ToughnessBrokenTime != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(ToughnessBrokenTime); - } - if (Tag1.Length != 0) { - output.WriteRawTag(138, 2); - output.WriteString(Tag1); - } - if (Tag2.Length != 0) { - output.WriteRawTag(146, 2); - output.WriteString(Tag2); - } - if (Tag3.Length != 0) { - output.WriteRawTag(154, 2); - output.WriteString(Tag3); - } - if (Tag4.Length != 0) { - output.WriteRawTag(162, 2); - output.WriteString(Tag4); - } - if (Tag5.Length != 0) { - output.WriteRawTag(170, 2); - output.WriteString(Tag5); - } - if (AttackHintType != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(AttackHintType); - } - if (BlockPriority != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(BlockPriority); - } - if (WayPointShift != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(WayPointShift); - } - if (MonsterTeamId != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(MonsterTeamId); - } - 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 (FormalNameId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FormalNameId); - } - if (EpicLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EpicLv); - } - if (MonsterPosition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterPosition); - } - if (BloodType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BloodType); - } - if (Force.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Force); - } - if (FCId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FCId); - } - if (FAId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FAId); - } - if (MovType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovType); - } - if (RunSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunSpd); - } - if (TransSpdScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TransSpdScale); - } - if (WalkSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkSpd); - } - if (MovAcc != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); - } - if (VisionRng != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(VisionRng); - } - if (VisionDeg != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionDeg); - } - if (HearRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HearRng); - } - if (RefRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RefRng); - } - if (ActRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ActRng); - } - if (DisActRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisActRng); - } - if (SearchRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SearchRng); - } - if (RotSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); - } - if (RotSpdInSkill != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpdInSkill); - } - if (Templete != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Templete); - } - size += buffIds_.CalculateSize(_repeated_buffIds_codec); - if (SubType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SubType); - } - if (Faction != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Faction); - } - size += trapTagIds_.CalculateSize(_repeated_trapTagIds_codec); - if (SupCharge != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SupCharge); - } - if (IsShowRng != false) { - size += 2 + 1; - } - if (Weight != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Weight); - } - if (ToughnessBrokenTime != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessBrokenTime); - } - if (Tag1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag1); - } - if (Tag2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag2); - } - if (Tag3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag3); - } - if (Tag4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag4); - } - if (Tag5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag5); - } - if (AttackHintType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AttackHintType); - } - if (BlockPriority != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(BlockPriority); - } - if (WayPointShift != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WayPointShift); - } - if (MonsterTeamId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MonsterTeamId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Monster other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.FormalNameId != 0) { - FormalNameId = other.FormalNameId; - } - if (other.EpicLv != 0) { - EpicLv = other.EpicLv; - } - if (other.MonsterPosition != 0) { - MonsterPosition = other.MonsterPosition; - } - if (other.BloodType != 0) { - BloodType = other.BloodType; - } - if (other.Force.Length != 0) { - Force = other.Force; - } - if (other.FCId != 0) { - FCId = other.FCId; - } - if (other.FAId != 0) { - FAId = other.FAId; - } - if (other.MovType != 0) { - MovType = other.MovType; - } - if (other.RunSpd != 0) { - RunSpd = other.RunSpd; - } - if (other.TransSpdScale != 0) { - TransSpdScale = other.TransSpdScale; - } - if (other.WalkSpd != 0) { - WalkSpd = other.WalkSpd; - } - if (other.MovAcc != 0) { - MovAcc = other.MovAcc; - } - if (other.VisionRng != 0) { - VisionRng = other.VisionRng; - } - if (other.VisionDeg != 0) { - VisionDeg = other.VisionDeg; - } - if (other.HearRng != 0) { - HearRng = other.HearRng; - } - if (other.RefRng != 0) { - RefRng = other.RefRng; - } - if (other.ActRng != 0) { - ActRng = other.ActRng; - } - if (other.DisActRng != 0) { - DisActRng = other.DisActRng; - } - if (other.SearchRng != 0) { - SearchRng = other.SearchRng; - } - if (other.RotSpd != 0) { - RotSpd = other.RotSpd; - } - if (other.RotSpdInSkill != 0) { - RotSpdInSkill = other.RotSpdInSkill; - } - if (other.Templete != 0) { - Templete = other.Templete; - } - buffIds_.Add(other.buffIds_); - if (other.SubType != 0) { - SubType = other.SubType; - } - if (other.Faction != 0) { - Faction = other.Faction; - } - trapTagIds_.Add(other.trapTagIds_); - if (other.SupCharge != 0) { - SupCharge = other.SupCharge; - } - if (other.IsShowRng != false) { - IsShowRng = other.IsShowRng; - } - if (other.Weight != 0) { - Weight = other.Weight; - } - if (other.ToughnessBrokenTime != 0) { - ToughnessBrokenTime = other.ToughnessBrokenTime; - } - if (other.Tag1.Length != 0) { - Tag1 = other.Tag1; - } - if (other.Tag2.Length != 0) { - Tag2 = other.Tag2; - } - if (other.Tag3.Length != 0) { - Tag3 = other.Tag3; - } - if (other.Tag4.Length != 0) { - Tag4 = other.Tag4; - } - if (other.Tag5.Length != 0) { - Tag5 = other.Tag5; - } - if (other.AttackHintType != 0) { - AttackHintType = other.AttackHintType; - } - if (other.BlockPriority != 0) { - BlockPriority = other.BlockPriority; - } - if (other.WayPointShift != 0) { - WayPointShift = other.WayPointShift; - } - if (other.MonsterTeamId != 0) { - MonsterTeamId = other.MonsterTeamId; - } - _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: { - FormalNameId = input.ReadInt32(); - break; - } - case 32: { - EpicLv = input.ReadInt32(); - break; - } - case 40: { - MonsterPosition = input.ReadInt32(); - break; - } - case 48: { - BloodType = input.ReadInt32(); - break; - } - case 58: { - Force = input.ReadString(); - break; - } - case 64: { - FCId = input.ReadInt32(); - break; - } - case 72: { - FAId = input.ReadInt32(); - break; - } - case 80: { - MovType = input.ReadInt32(); - break; - } - case 88: { - RunSpd = input.ReadInt32(); - break; - } - case 96: { - TransSpdScale = input.ReadInt32(); - break; - } - case 104: { - WalkSpd = input.ReadInt32(); - break; - } - case 112: { - MovAcc = input.ReadInt32(); - break; - } - case 120: { - VisionRng = input.ReadInt32(); - break; - } - case 128: { - VisionDeg = input.ReadInt32(); - break; - } - case 136: { - HearRng = input.ReadInt32(); - break; - } - case 144: { - RefRng = input.ReadInt32(); - break; - } - case 152: { - ActRng = input.ReadInt32(); - break; - } - case 160: { - DisActRng = input.ReadInt32(); - break; - } - case 168: { - SearchRng = input.ReadInt32(); - break; - } - case 176: { - RotSpd = input.ReadInt32(); - break; - } - case 184: { - RotSpdInSkill = input.ReadInt32(); - break; - } - case 192: { - Templete = input.ReadInt32(); - break; - } - case 202: - case 200: { - buffIds_.AddEntriesFrom(input, _repeated_buffIds_codec); - break; - } - case 208: { - SubType = input.ReadInt32(); - break; - } - case 216: { - Faction = input.ReadInt32(); - break; - } - case 226: - case 224: { - trapTagIds_.AddEntriesFrom(input, _repeated_trapTagIds_codec); - break; - } - case 232: { - SupCharge = input.ReadInt32(); - break; - } - case 240: { - IsShowRng = input.ReadBool(); - break; - } - case 248: { - Weight = input.ReadInt32(); - break; - } - case 256: { - ToughnessBrokenTime = input.ReadInt32(); - break; - } - case 266: { - Tag1 = input.ReadString(); - break; - } - case 274: { - Tag2 = input.ReadString(); - break; - } - case 282: { - Tag3 = input.ReadString(); - break; - } - case 290: { - Tag4 = input.ReadString(); - break; - } - case 298: { - Tag5 = input.ReadString(); - break; - } - case 304: { - AttackHintType = input.ReadInt32(); - break; - } - case 312: { - BlockPriority = input.ReadInt32(); - break; - } - case 320: { - WayPointShift = input.ReadInt32(); - break; - } - case 328: { - MonsterTeamId = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - FormalNameId = input.ReadInt32(); - break; - } - case 32: { - EpicLv = input.ReadInt32(); - break; - } - case 40: { - MonsterPosition = input.ReadInt32(); - break; - } - case 48: { - BloodType = input.ReadInt32(); - break; - } - case 58: { - Force = input.ReadString(); - break; - } - case 64: { - FCId = input.ReadInt32(); - break; - } - case 72: { - FAId = input.ReadInt32(); - break; - } - case 80: { - MovType = input.ReadInt32(); - break; - } - case 88: { - RunSpd = input.ReadInt32(); - break; - } - case 96: { - TransSpdScale = input.ReadInt32(); - break; - } - case 104: { - WalkSpd = input.ReadInt32(); - break; - } - case 112: { - MovAcc = input.ReadInt32(); - break; - } - case 120: { - VisionRng = input.ReadInt32(); - break; - } - case 128: { - VisionDeg = input.ReadInt32(); - break; - } - case 136: { - HearRng = input.ReadInt32(); - break; - } - case 144: { - RefRng = input.ReadInt32(); - break; - } - case 152: { - ActRng = input.ReadInt32(); - break; - } - case 160: { - DisActRng = input.ReadInt32(); - break; - } - case 168: { - SearchRng = input.ReadInt32(); - break; - } - case 176: { - RotSpd = input.ReadInt32(); - break; - } - case 184: { - RotSpdInSkill = input.ReadInt32(); - break; - } - case 192: { - Templete = input.ReadInt32(); - break; - } - case 202: - case 200: { - buffIds_.AddEntriesFrom(ref input, _repeated_buffIds_codec); - break; - } - case 208: { - SubType = input.ReadInt32(); - break; - } - case 216: { - Faction = input.ReadInt32(); - break; - } - case 226: - case 224: { - trapTagIds_.AddEntriesFrom(ref input, _repeated_trapTagIds_codec); - break; - } - case 232: { - SupCharge = input.ReadInt32(); - break; - } - case 240: { - IsShowRng = input.ReadBool(); - break; - } - case 248: { - Weight = input.ReadInt32(); - break; - } - case 256: { - ToughnessBrokenTime = input.ReadInt32(); - break; - } - case 266: { - Tag1 = input.ReadString(); - break; - } - case 274: { - Tag2 = input.ReadString(); - break; - } - case 282: { - Tag3 = input.ReadString(); - break; - } - case 290: { - Tag4 = input.ReadString(); - break; - } - case 298: { - Tag5 = input.ReadString(); - break; - } - case 304: { - AttackHintType = input.ReadInt32(); - break; - } - case 312: { - BlockPriority = input.ReadInt32(); - break; - } - case 320: { - WayPointShift = input.ReadInt32(); - break; - } - case 328: { - MonsterTeamId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterAI.cs b/Novaria.Common/Protos/MonsterAI.cs deleted file mode 100644 index 6faaabd..0000000 --- a/Novaria.Common/Protos/MonsterAI.cs +++ /dev/null @@ -1,758 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterAI.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 MonsterAI.proto - public static partial class MonsterAIReflection { - - #region Descriptor - /// File descriptor for MonsterAI.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterAIReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9Nb25zdGVyQUkucHJvdG8i9QIKCU1vbnN0ZXJBSRIKCgJpZBgBIAEoBRIY", - "ChBjb21ib19ncm91cF9wYXRoGAIgASgJEhsKE3NwYXduX3Nob3dfc2tpbGxf", - "aWQYAyABKAUSGgoSaWRsZV9zaG93X3NraWxsX2lkGAQgASgFEhQKDGRpZV9z", - "a2lsbF9pZBgFIAEoBRIXCg9hY3Rpb25fYV9pX3BhdGgYBiABKAkSGQoRYWN0", - "aW9uX2JyYW5jaF9pZHMYByADKAUSFgoOdGhpbmtfaW50ZXJ2YWwYCCABKAUS", - "FQoNaWRsZV9hX2lfcGF0aBgJIAEoCRIWCg5zcGF3bl9hX2lfcGF0aBgKIAEo", - "CRIZChFwYXJhbGxlbF9hX2lfcGF0aBgLIAEoCRIZChFjaGVja19hY2hpZXZl", - "bWVudBgMIAEoCBIUCgx3YW5kZXJfcmFuZ2UYDSABKAUSFwoPd2FuZGVyX2lu", - "dGVydmFsGA4gASgFEhMKC3dhbmRlcl9yYXRlGA8gASgFQg6qAgtOb3ZhLkNs", - "aWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterAI), global::Nova.Client.MonsterAI.Parser, new[]{ "Id", "ComboGroupPath", "SpawnShowSkillId", "IdleShowSkillId", "DieSkillId", "ActionAIPath", "ActionBranchIds", "ThinkInterval", "IdleAIPath", "SpawnAIPath", "ParallelAIPath", "CheckAchievement", "WanderRange", "WanderInterval", "WanderRate" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterAI : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterAI()); - 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.MonsterAIReflection.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 MonsterAI() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterAI(MonsterAI other) : this() { - id_ = other.id_; - comboGroupPath_ = other.comboGroupPath_; - spawnShowSkillId_ = other.spawnShowSkillId_; - idleShowSkillId_ = other.idleShowSkillId_; - dieSkillId_ = other.dieSkillId_; - actionAIPath_ = other.actionAIPath_; - actionBranchIds_ = other.actionBranchIds_.Clone(); - thinkInterval_ = other.thinkInterval_; - idleAIPath_ = other.idleAIPath_; - spawnAIPath_ = other.spawnAIPath_; - parallelAIPath_ = other.parallelAIPath_; - checkAchievement_ = other.checkAchievement_; - wanderRange_ = other.wanderRange_; - wanderInterval_ = other.wanderInterval_; - wanderRate_ = other.wanderRate_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterAI Clone() { - return new MonsterAI(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 "combo_group_path" field. - public const int ComboGroupPathFieldNumber = 2; - private string comboGroupPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ComboGroupPath { - get { return comboGroupPath_; } - set { - comboGroupPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "spawn_show_skill_id" field. - public const int SpawnShowSkillIdFieldNumber = 3; - private int spawnShowSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SpawnShowSkillId { - get { return spawnShowSkillId_; } - set { - spawnShowSkillId_ = value; - } - } - - /// Field number for the "idle_show_skill_id" field. - public const int IdleShowSkillIdFieldNumber = 4; - private int idleShowSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IdleShowSkillId { - get { return idleShowSkillId_; } - set { - idleShowSkillId_ = value; - } - } - - /// Field number for the "die_skill_id" field. - public const int DieSkillIdFieldNumber = 5; - private int dieSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DieSkillId { - get { return dieSkillId_; } - set { - dieSkillId_ = value; - } - } - - /// Field number for the "action_a_i_path" field. - public const int ActionAIPathFieldNumber = 6; - private string actionAIPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActionAIPath { - get { return actionAIPath_; } - set { - actionAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "action_branch_ids" field. - public const int ActionBranchIdsFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_actionBranchIds_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField actionBranchIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ActionBranchIds { - get { return actionBranchIds_; } - } - - /// Field number for the "think_interval" field. - public const int ThinkIntervalFieldNumber = 8; - private int thinkInterval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ThinkInterval { - get { return thinkInterval_; } - set { - thinkInterval_ = value; - } - } - - /// Field number for the "idle_a_i_path" field. - public const int IdleAIPathFieldNumber = 9; - private string idleAIPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IdleAIPath { - get { return idleAIPath_; } - set { - idleAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "spawn_a_i_path" field. - public const int SpawnAIPathFieldNumber = 10; - private string spawnAIPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SpawnAIPath { - get { return spawnAIPath_; } - set { - spawnAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "parallel_a_i_path" field. - public const int ParallelAIPathFieldNumber = 11; - private string parallelAIPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParallelAIPath { - get { return parallelAIPath_; } - set { - parallelAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "check_achievement" field. - public const int CheckAchievementFieldNumber = 12; - private bool checkAchievement_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool CheckAchievement { - get { return checkAchievement_; } - set { - checkAchievement_ = value; - } - } - - /// Field number for the "wander_range" field. - public const int WanderRangeFieldNumber = 13; - private int wanderRange_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WanderRange { - get { return wanderRange_; } - set { - wanderRange_ = value; - } - } - - /// Field number for the "wander_interval" field. - public const int WanderIntervalFieldNumber = 14; - private int wanderInterval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WanderInterval { - get { return wanderInterval_; } - set { - wanderInterval_ = value; - } - } - - /// Field number for the "wander_rate" field. - public const int WanderRateFieldNumber = 15; - private int wanderRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WanderRate { - get { return wanderRate_; } - set { - wanderRate_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonsterAI); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterAI other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ComboGroupPath != other.ComboGroupPath) return false; - if (SpawnShowSkillId != other.SpawnShowSkillId) return false; - if (IdleShowSkillId != other.IdleShowSkillId) return false; - if (DieSkillId != other.DieSkillId) return false; - if (ActionAIPath != other.ActionAIPath) return false; - if(!actionBranchIds_.Equals(other.actionBranchIds_)) return false; - if (ThinkInterval != other.ThinkInterval) return false; - if (IdleAIPath != other.IdleAIPath) return false; - if (SpawnAIPath != other.SpawnAIPath) return false; - if (ParallelAIPath != other.ParallelAIPath) return false; - if (CheckAchievement != other.CheckAchievement) return false; - if (WanderRange != other.WanderRange) return false; - if (WanderInterval != other.WanderInterval) return false; - if (WanderRate != other.WanderRate) 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 (ComboGroupPath.Length != 0) hash ^= ComboGroupPath.GetHashCode(); - if (SpawnShowSkillId != 0) hash ^= SpawnShowSkillId.GetHashCode(); - if (IdleShowSkillId != 0) hash ^= IdleShowSkillId.GetHashCode(); - if (DieSkillId != 0) hash ^= DieSkillId.GetHashCode(); - if (ActionAIPath.Length != 0) hash ^= ActionAIPath.GetHashCode(); - hash ^= actionBranchIds_.GetHashCode(); - if (ThinkInterval != 0) hash ^= ThinkInterval.GetHashCode(); - if (IdleAIPath.Length != 0) hash ^= IdleAIPath.GetHashCode(); - if (SpawnAIPath.Length != 0) hash ^= SpawnAIPath.GetHashCode(); - if (ParallelAIPath.Length != 0) hash ^= ParallelAIPath.GetHashCode(); - if (CheckAchievement != false) hash ^= CheckAchievement.GetHashCode(); - if (WanderRange != 0) hash ^= WanderRange.GetHashCode(); - if (WanderInterval != 0) hash ^= WanderInterval.GetHashCode(); - if (WanderRate != 0) hash ^= WanderRate.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 (ComboGroupPath.Length != 0) { - output.WriteRawTag(18); - output.WriteString(ComboGroupPath); - } - if (SpawnShowSkillId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SpawnShowSkillId); - } - if (IdleShowSkillId != 0) { - output.WriteRawTag(32); - output.WriteInt32(IdleShowSkillId); - } - if (DieSkillId != 0) { - output.WriteRawTag(40); - output.WriteInt32(DieSkillId); - } - if (ActionAIPath.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ActionAIPath); - } - actionBranchIds_.WriteTo(output, _repeated_actionBranchIds_codec); - if (ThinkInterval != 0) { - output.WriteRawTag(64); - output.WriteInt32(ThinkInterval); - } - if (IdleAIPath.Length != 0) { - output.WriteRawTag(74); - output.WriteString(IdleAIPath); - } - if (SpawnAIPath.Length != 0) { - output.WriteRawTag(82); - output.WriteString(SpawnAIPath); - } - if (ParallelAIPath.Length != 0) { - output.WriteRawTag(90); - output.WriteString(ParallelAIPath); - } - if (CheckAchievement != false) { - output.WriteRawTag(96); - output.WriteBool(CheckAchievement); - } - if (WanderRange != 0) { - output.WriteRawTag(104); - output.WriteInt32(WanderRange); - } - if (WanderInterval != 0) { - output.WriteRawTag(112); - output.WriteInt32(WanderInterval); - } - if (WanderRate != 0) { - output.WriteRawTag(120); - output.WriteInt32(WanderRate); - } - 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 (ComboGroupPath.Length != 0) { - output.WriteRawTag(18); - output.WriteString(ComboGroupPath); - } - if (SpawnShowSkillId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SpawnShowSkillId); - } - if (IdleShowSkillId != 0) { - output.WriteRawTag(32); - output.WriteInt32(IdleShowSkillId); - } - if (DieSkillId != 0) { - output.WriteRawTag(40); - output.WriteInt32(DieSkillId); - } - if (ActionAIPath.Length != 0) { - output.WriteRawTag(50); - output.WriteString(ActionAIPath); - } - actionBranchIds_.WriteTo(ref output, _repeated_actionBranchIds_codec); - if (ThinkInterval != 0) { - output.WriteRawTag(64); - output.WriteInt32(ThinkInterval); - } - if (IdleAIPath.Length != 0) { - output.WriteRawTag(74); - output.WriteString(IdleAIPath); - } - if (SpawnAIPath.Length != 0) { - output.WriteRawTag(82); - output.WriteString(SpawnAIPath); - } - if (ParallelAIPath.Length != 0) { - output.WriteRawTag(90); - output.WriteString(ParallelAIPath); - } - if (CheckAchievement != false) { - output.WriteRawTag(96); - output.WriteBool(CheckAchievement); - } - if (WanderRange != 0) { - output.WriteRawTag(104); - output.WriteInt32(WanderRange); - } - if (WanderInterval != 0) { - output.WriteRawTag(112); - output.WriteInt32(WanderInterval); - } - if (WanderRate != 0) { - output.WriteRawTag(120); - output.WriteInt32(WanderRate); - } - 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 (ComboGroupPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ComboGroupPath); - } - if (SpawnShowSkillId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpawnShowSkillId); - } - if (IdleShowSkillId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IdleShowSkillId); - } - if (DieSkillId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DieSkillId); - } - if (ActionAIPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ActionAIPath); - } - size += actionBranchIds_.CalculateSize(_repeated_actionBranchIds_codec); - if (ThinkInterval != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThinkInterval); - } - if (IdleAIPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(IdleAIPath); - } - if (SpawnAIPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SpawnAIPath); - } - if (ParallelAIPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParallelAIPath); - } - if (CheckAchievement != false) { - size += 1 + 1; - } - if (WanderRange != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WanderRange); - } - if (WanderInterval != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WanderInterval); - } - if (WanderRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WanderRate); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterAI other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ComboGroupPath.Length != 0) { - ComboGroupPath = other.ComboGroupPath; - } - if (other.SpawnShowSkillId != 0) { - SpawnShowSkillId = other.SpawnShowSkillId; - } - if (other.IdleShowSkillId != 0) { - IdleShowSkillId = other.IdleShowSkillId; - } - if (other.DieSkillId != 0) { - DieSkillId = other.DieSkillId; - } - if (other.ActionAIPath.Length != 0) { - ActionAIPath = other.ActionAIPath; - } - actionBranchIds_.Add(other.actionBranchIds_); - if (other.ThinkInterval != 0) { - ThinkInterval = other.ThinkInterval; - } - if (other.IdleAIPath.Length != 0) { - IdleAIPath = other.IdleAIPath; - } - if (other.SpawnAIPath.Length != 0) { - SpawnAIPath = other.SpawnAIPath; - } - if (other.ParallelAIPath.Length != 0) { - ParallelAIPath = other.ParallelAIPath; - } - if (other.CheckAchievement != false) { - CheckAchievement = other.CheckAchievement; - } - if (other.WanderRange != 0) { - WanderRange = other.WanderRange; - } - if (other.WanderInterval != 0) { - WanderInterval = other.WanderInterval; - } - if (other.WanderRate != 0) { - WanderRate = other.WanderRate; - } - _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: { - ComboGroupPath = input.ReadString(); - break; - } - case 24: { - SpawnShowSkillId = input.ReadInt32(); - break; - } - case 32: { - IdleShowSkillId = input.ReadInt32(); - break; - } - case 40: { - DieSkillId = input.ReadInt32(); - break; - } - case 50: { - ActionAIPath = input.ReadString(); - break; - } - case 58: - case 56: { - actionBranchIds_.AddEntriesFrom(input, _repeated_actionBranchIds_codec); - break; - } - case 64: { - ThinkInterval = input.ReadInt32(); - break; - } - case 74: { - IdleAIPath = input.ReadString(); - break; - } - case 82: { - SpawnAIPath = input.ReadString(); - break; - } - case 90: { - ParallelAIPath = input.ReadString(); - break; - } - case 96: { - CheckAchievement = input.ReadBool(); - break; - } - case 104: { - WanderRange = input.ReadInt32(); - break; - } - case 112: { - WanderInterval = input.ReadInt32(); - break; - } - case 120: { - WanderRate = 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 18: { - ComboGroupPath = input.ReadString(); - break; - } - case 24: { - SpawnShowSkillId = input.ReadInt32(); - break; - } - case 32: { - IdleShowSkillId = input.ReadInt32(); - break; - } - case 40: { - DieSkillId = input.ReadInt32(); - break; - } - case 50: { - ActionAIPath = input.ReadString(); - break; - } - case 58: - case 56: { - actionBranchIds_.AddEntriesFrom(ref input, _repeated_actionBranchIds_codec); - break; - } - case 64: { - ThinkInterval = input.ReadInt32(); - break; - } - case 74: { - IdleAIPath = input.ReadString(); - break; - } - case 82: { - SpawnAIPath = input.ReadString(); - break; - } - case 90: { - ParallelAIPath = input.ReadString(); - break; - } - case 96: { - CheckAchievement = input.ReadBool(); - break; - } - case 104: { - WanderRange = input.ReadInt32(); - break; - } - case 112: { - WanderInterval = input.ReadInt32(); - break; - } - case 120: { - WanderRate = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterActionBranch.cs b/Novaria.Common/Protos/MonsterActionBranch.cs deleted file mode 100644 index 6e96295..0000000 --- a/Novaria.Common/Protos/MonsterActionBranch.cs +++ /dev/null @@ -1,1246 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterActionBranch.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 MonsterActionBranch.proto - public static partial class MonsterActionBranchReflection { - - #region Descriptor - /// File descriptor for MonsterActionBranch.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterActionBranchReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlNb25zdGVyQWN0aW9uQnJhbmNoLnByb3RvIqQFChNNb25zdGVyQWN0aW9u", - "QnJhbmNoEgoKAmlkGAEgASgFEhAKCGdyb3VwX2lkGAIgASgFEhAKCHNraWxs", - "X2lkGAMgASgFEhAKCHByaW9yaXR5GAQgASgFEg4KBndlaWdodBgFIAEoBRIM", - "CgRyYXRlGAYgASgFEgsKA2NfZBgHIAEoBRIYChBpbml0aWFsX2NfZF9wb29s", - "GAggAygFEhcKD21pbl9pbml0aWFsX2NfZBgJIAEoBRIXCg9tYXhfaW5pdGlh", - "bF9jX2QYCiABKAUSFgoOc3RhcnRfY19kX3RpbWUYCyABKAUSEQoJZml4ZWRf", - "Y19kGAwgASgIEhgKEHJlbGVhc2VfZGlzdGFuY2UYDSABKAUSFQoNcmVsZWFz", - "ZV9hbmdsZRgOIAEoBRIWCg50cmFjZV9kdXJhdGlvbhgPIAEoBRIQCghhY3Rp", - "dmF0ZRgQIAEoCBIeChZhY3RpdmVfY29uZGl0aW9uX3R5cGUxGBEgASgFEhUK", - "DWFjdGl2ZV9wYXJhbTEYEiABKAkSFQoNYWN0aXZlX3BhcmFtMhgTIAEoCRIh", - "ChlkZV9hY3RpdmVfY29uZGl0aW9uX3R5cGUxGBQgASgFEhgKEGRlX2FjdGl2", - "ZV9wYXJhbTEYFSABKAkSGAoQZGVfYWN0aXZlX3BhcmFtMhgWIAEoCRIaChJm", - "b2xsb3dfZXZlbnRfdHlwZTEYFyABKAUSGwoTZm9sbG93X2V2ZW50X3BhcmFt", - "MRgYIAEoCRIaChJmb2xsb3dfZXZlbnRfdHlwZTIYGSABKAUSGwoTZm9sbG93", - "X2V2ZW50X3BhcmFtMhgaIAEoCRIaChJmb2xsb3dfZXZlbnRfdHlwZTMYGyAB", - "KAUSGwoTZm9sbG93X2V2ZW50X3BhcmFtMxgcIAEoCUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterActionBranch), global::Nova.Client.MonsterActionBranch.Parser, new[]{ "Id", "GroupId", "SkillId", "Priority", "Weight", "Rate", "CD", "InitialCDPool", "MinInitialCD", "MaxInitialCD", "StartCDTime", "FixedCD", "ReleaseDistance", "ReleaseAngle", "TraceDuration", "Activate", "ActiveConditionType1", "ActiveParam1", "ActiveParam2", "DeActiveConditionType1", "DeActiveParam1", "DeActiveParam2", "FollowEventType1", "FollowEventParam1", "FollowEventType2", "FollowEventParam2", "FollowEventType3", "FollowEventParam3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterActionBranch : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterActionBranch()); - 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.MonsterActionBranchReflection.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 MonsterActionBranch() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterActionBranch(MonsterActionBranch other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - skillId_ = other.skillId_; - priority_ = other.priority_; - weight_ = other.weight_; - rate_ = other.rate_; - cD_ = other.cD_; - initialCDPool_ = other.initialCDPool_.Clone(); - minInitialCD_ = other.minInitialCD_; - maxInitialCD_ = other.maxInitialCD_; - startCDTime_ = other.startCDTime_; - fixedCD_ = other.fixedCD_; - releaseDistance_ = other.releaseDistance_; - releaseAngle_ = other.releaseAngle_; - traceDuration_ = other.traceDuration_; - activate_ = other.activate_; - activeConditionType1_ = other.activeConditionType1_; - activeParam1_ = other.activeParam1_; - activeParam2_ = other.activeParam2_; - deActiveConditionType1_ = other.deActiveConditionType1_; - deActiveParam1_ = other.deActiveParam1_; - deActiveParam2_ = other.deActiveParam2_; - followEventType1_ = other.followEventType1_; - followEventParam1_ = other.followEventParam1_; - followEventType2_ = other.followEventType2_; - followEventParam2_ = other.followEventParam2_; - followEventType3_ = other.followEventType3_; - followEventParam3_ = other.followEventParam3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterActionBranch Clone() { - return new MonsterActionBranch(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 "group_id" field. - 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; - } - } - - /// Field number for the "skill_id" field. - public const int SkillIdFieldNumber = 3; - private int skillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillId { - get { return skillId_; } - set { - skillId_ = value; - } - } - - /// Field number for the "priority" field. - public const int PriorityFieldNumber = 4; - private int priority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Priority { - get { return priority_; } - set { - priority_ = value; - } - } - - /// Field number for the "weight" field. - public const int WeightFieldNumber = 5; - private int weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// Field number for the "rate" field. - public const int RateFieldNumber = 6; - private int rate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rate { - get { return rate_; } - set { - rate_ = value; - } - } - - /// Field number for the "c_d" field. - public const int CDFieldNumber = 7; - private int cD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CD { - get { return cD_; } - set { - cD_ = value; - } - } - - /// Field number for the "initial_c_d_pool" field. - public const int InitialCDPoolFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_initialCDPool_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField initialCDPool_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField InitialCDPool { - get { return initialCDPool_; } - } - - /// Field number for the "min_initial_c_d" field. - public const int MinInitialCDFieldNumber = 9; - private int minInitialCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MinInitialCD { - get { return minInitialCD_; } - set { - minInitialCD_ = value; - } - } - - /// Field number for the "max_initial_c_d" field. - public const int MaxInitialCDFieldNumber = 10; - private int maxInitialCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxInitialCD { - get { return maxInitialCD_; } - set { - maxInitialCD_ = value; - } - } - - /// Field number for the "start_c_d_time" field. - public const int StartCDTimeFieldNumber = 11; - private int startCDTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StartCDTime { - get { return startCDTime_; } - set { - startCDTime_ = value; - } - } - - /// Field number for the "fixed_c_d" field. - public const int FixedCDFieldNumber = 12; - private bool fixedCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool FixedCD { - get { return fixedCD_; } - set { - fixedCD_ = value; - } - } - - /// Field number for the "release_distance" field. - public const int ReleaseDistanceFieldNumber = 13; - private int releaseDistance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ReleaseDistance { - get { return releaseDistance_; } - set { - releaseDistance_ = value; - } - } - - /// Field number for the "release_angle" field. - public const int ReleaseAngleFieldNumber = 14; - private int releaseAngle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ReleaseAngle { - get { return releaseAngle_; } - set { - releaseAngle_ = value; - } - } - - /// Field number for the "trace_duration" field. - public const int TraceDurationFieldNumber = 15; - private int traceDuration_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TraceDuration { - get { return traceDuration_; } - set { - traceDuration_ = value; - } - } - - /// Field number for the "activate" field. - public const int ActivateFieldNumber = 16; - private bool activate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Activate { - get { return activate_; } - set { - activate_ = value; - } - } - - /// Field number for the "active_condition_type1" field. - public const int ActiveConditionType1FieldNumber = 17; - private int activeConditionType1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ActiveConditionType1 { - get { return activeConditionType1_; } - set { - activeConditionType1_ = value; - } - } - - /// Field number for the "active_param1" field. - public const int ActiveParam1FieldNumber = 18; - private string activeParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam1 { - get { return activeParam1_; } - set { - activeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "active_param2" field. - public const int ActiveParam2FieldNumber = 19; - private string activeParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveParam2 { - get { return activeParam2_; } - set { - activeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "de_active_condition_type1" field. - public const int DeActiveConditionType1FieldNumber = 20; - private int deActiveConditionType1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DeActiveConditionType1 { - get { return deActiveConditionType1_; } - set { - deActiveConditionType1_ = value; - } - } - - /// Field number for the "de_active_param1" field. - public const int DeActiveParam1FieldNumber = 21; - private string deActiveParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DeActiveParam1 { - get { return deActiveParam1_; } - set { - deActiveParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "de_active_param2" field. - public const int DeActiveParam2FieldNumber = 22; - private string deActiveParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DeActiveParam2 { - get { return deActiveParam2_; } - set { - deActiveParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "follow_event_type1" field. - public const int FollowEventType1FieldNumber = 23; - private int followEventType1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FollowEventType1 { - get { return followEventType1_; } - set { - followEventType1_ = value; - } - } - - /// Field number for the "follow_event_param1" field. - public const int FollowEventParam1FieldNumber = 24; - private string followEventParam1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FollowEventParam1 { - get { return followEventParam1_; } - set { - followEventParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "follow_event_type2" field. - public const int FollowEventType2FieldNumber = 25; - private int followEventType2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FollowEventType2 { - get { return followEventType2_; } - set { - followEventType2_ = value; - } - } - - /// Field number for the "follow_event_param2" field. - public const int FollowEventParam2FieldNumber = 26; - private string followEventParam2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FollowEventParam2 { - get { return followEventParam2_; } - set { - followEventParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "follow_event_type3" field. - public const int FollowEventType3FieldNumber = 27; - private int followEventType3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FollowEventType3 { - get { return followEventType3_; } - set { - followEventType3_ = value; - } - } - - /// Field number for the "follow_event_param3" field. - public const int FollowEventParam3FieldNumber = 28; - private string followEventParam3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FollowEventParam3 { - get { return followEventParam3_; } - set { - followEventParam3_ = 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 MonsterActionBranch); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterActionBranch 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 (SkillId != other.SkillId) return false; - if (Priority != other.Priority) return false; - if (Weight != other.Weight) return false; - if (Rate != other.Rate) return false; - if (CD != other.CD) return false; - if(!initialCDPool_.Equals(other.initialCDPool_)) return false; - if (MinInitialCD != other.MinInitialCD) return false; - if (MaxInitialCD != other.MaxInitialCD) return false; - if (StartCDTime != other.StartCDTime) return false; - if (FixedCD != other.FixedCD) return false; - if (ReleaseDistance != other.ReleaseDistance) return false; - if (ReleaseAngle != other.ReleaseAngle) return false; - if (TraceDuration != other.TraceDuration) return false; - if (Activate != other.Activate) return false; - if (ActiveConditionType1 != other.ActiveConditionType1) return false; - if (ActiveParam1 != other.ActiveParam1) return false; - if (ActiveParam2 != other.ActiveParam2) return false; - if (DeActiveConditionType1 != other.DeActiveConditionType1) return false; - if (DeActiveParam1 != other.DeActiveParam1) return false; - if (DeActiveParam2 != other.DeActiveParam2) return false; - if (FollowEventType1 != other.FollowEventType1) return false; - if (FollowEventParam1 != other.FollowEventParam1) return false; - if (FollowEventType2 != other.FollowEventType2) return false; - if (FollowEventParam2 != other.FollowEventParam2) return false; - if (FollowEventType3 != other.FollowEventType3) return false; - if (FollowEventParam3 != other.FollowEventParam3) 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 (SkillId != 0) hash ^= SkillId.GetHashCode(); - if (Priority != 0) hash ^= Priority.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); - if (Rate != 0) hash ^= Rate.GetHashCode(); - if (CD != 0) hash ^= CD.GetHashCode(); - hash ^= initialCDPool_.GetHashCode(); - if (MinInitialCD != 0) hash ^= MinInitialCD.GetHashCode(); - if (MaxInitialCD != 0) hash ^= MaxInitialCD.GetHashCode(); - if (StartCDTime != 0) hash ^= StartCDTime.GetHashCode(); - if (FixedCD != false) hash ^= FixedCD.GetHashCode(); - if (ReleaseDistance != 0) hash ^= ReleaseDistance.GetHashCode(); - if (ReleaseAngle != 0) hash ^= ReleaseAngle.GetHashCode(); - if (TraceDuration != 0) hash ^= TraceDuration.GetHashCode(); - if (Activate != false) hash ^= Activate.GetHashCode(); - if (ActiveConditionType1 != 0) hash ^= ActiveConditionType1.GetHashCode(); - if (ActiveParam1.Length != 0) hash ^= ActiveParam1.GetHashCode(); - if (ActiveParam2.Length != 0) hash ^= ActiveParam2.GetHashCode(); - if (DeActiveConditionType1 != 0) hash ^= DeActiveConditionType1.GetHashCode(); - if (DeActiveParam1.Length != 0) hash ^= DeActiveParam1.GetHashCode(); - if (DeActiveParam2.Length != 0) hash ^= DeActiveParam2.GetHashCode(); - if (FollowEventType1 != 0) hash ^= FollowEventType1.GetHashCode(); - if (FollowEventParam1.Length != 0) hash ^= FollowEventParam1.GetHashCode(); - if (FollowEventType2 != 0) hash ^= FollowEventType2.GetHashCode(); - if (FollowEventParam2.Length != 0) hash ^= FollowEventParam2.GetHashCode(); - if (FollowEventType3 != 0) hash ^= FollowEventType3.GetHashCode(); - if (FollowEventParam3.Length != 0) hash ^= FollowEventParam3.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 (SkillId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SkillId); - } - if (Priority != 0) { - output.WriteRawTag(32); - output.WriteInt32(Priority); - } - if (Weight != 0) { - output.WriteRawTag(40); - output.WriteInt32(Weight); - } - if (Rate != 0) { - output.WriteRawTag(48); - output.WriteInt32(Rate); - } - if (CD != 0) { - output.WriteRawTag(56); - output.WriteInt32(CD); - } - initialCDPool_.WriteTo(output, _repeated_initialCDPool_codec); - if (MinInitialCD != 0) { - output.WriteRawTag(72); - output.WriteInt32(MinInitialCD); - } - if (MaxInitialCD != 0) { - output.WriteRawTag(80); - output.WriteInt32(MaxInitialCD); - } - if (StartCDTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(StartCDTime); - } - if (FixedCD != false) { - output.WriteRawTag(96); - output.WriteBool(FixedCD); - } - if (ReleaseDistance != 0) { - output.WriteRawTag(104); - output.WriteInt32(ReleaseDistance); - } - if (ReleaseAngle != 0) { - output.WriteRawTag(112); - output.WriteInt32(ReleaseAngle); - } - if (TraceDuration != 0) { - output.WriteRawTag(120); - output.WriteInt32(TraceDuration); - } - if (Activate != false) { - output.WriteRawTag(128, 1); - output.WriteBool(Activate); - } - if (ActiveConditionType1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ActiveConditionType1); - } - if (ActiveParam1.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(ActiveParam1); - } - if (ActiveParam2.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(ActiveParam2); - } - if (DeActiveConditionType1 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DeActiveConditionType1); - } - if (DeActiveParam1.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(DeActiveParam1); - } - if (DeActiveParam2.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(DeActiveParam2); - } - if (FollowEventType1 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(FollowEventType1); - } - if (FollowEventParam1.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(FollowEventParam1); - } - if (FollowEventType2 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(FollowEventType2); - } - if (FollowEventParam2.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(FollowEventParam2); - } - if (FollowEventType3 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(FollowEventType3); - } - if (FollowEventParam3.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(FollowEventParam3); - } - 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 (SkillId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SkillId); - } - if (Priority != 0) { - output.WriteRawTag(32); - output.WriteInt32(Priority); - } - if (Weight != 0) { - output.WriteRawTag(40); - output.WriteInt32(Weight); - } - if (Rate != 0) { - output.WriteRawTag(48); - output.WriteInt32(Rate); - } - if (CD != 0) { - output.WriteRawTag(56); - output.WriteInt32(CD); - } - initialCDPool_.WriteTo(ref output, _repeated_initialCDPool_codec); - if (MinInitialCD != 0) { - output.WriteRawTag(72); - output.WriteInt32(MinInitialCD); - } - if (MaxInitialCD != 0) { - output.WriteRawTag(80); - output.WriteInt32(MaxInitialCD); - } - if (StartCDTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(StartCDTime); - } - if (FixedCD != false) { - output.WriteRawTag(96); - output.WriteBool(FixedCD); - } - if (ReleaseDistance != 0) { - output.WriteRawTag(104); - output.WriteInt32(ReleaseDistance); - } - if (ReleaseAngle != 0) { - output.WriteRawTag(112); - output.WriteInt32(ReleaseAngle); - } - if (TraceDuration != 0) { - output.WriteRawTag(120); - output.WriteInt32(TraceDuration); - } - if (Activate != false) { - output.WriteRawTag(128, 1); - output.WriteBool(Activate); - } - if (ActiveConditionType1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ActiveConditionType1); - } - if (ActiveParam1.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(ActiveParam1); - } - if (ActiveParam2.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(ActiveParam2); - } - if (DeActiveConditionType1 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DeActiveConditionType1); - } - if (DeActiveParam1.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(DeActiveParam1); - } - if (DeActiveParam2.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(DeActiveParam2); - } - if (FollowEventType1 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(FollowEventType1); - } - if (FollowEventParam1.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(FollowEventParam1); - } - if (FollowEventType2 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(FollowEventType2); - } - if (FollowEventParam2.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(FollowEventParam2); - } - if (FollowEventType3 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(FollowEventType3); - } - if (FollowEventParam3.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(FollowEventParam3); - } - 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 (SkillId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillId); - } - if (Priority != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); - } - if (Weight != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); - } - if (Rate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rate); - } - if (CD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CD); - } - size += initialCDPool_.CalculateSize(_repeated_initialCDPool_codec); - if (MinInitialCD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinInitialCD); - } - if (MaxInitialCD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxInitialCD); - } - if (StartCDTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartCDTime); - } - if (FixedCD != false) { - size += 1 + 1; - } - if (ReleaseDistance != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReleaseDistance); - } - if (ReleaseAngle != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReleaseAngle); - } - if (TraceDuration != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TraceDuration); - } - if (Activate != false) { - size += 2 + 1; - } - if (ActiveConditionType1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ActiveConditionType1); - } - if (ActiveParam1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ActiveParam1); - } - if (ActiveParam2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ActiveParam2); - } - if (DeActiveConditionType1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DeActiveConditionType1); - } - if (DeActiveParam1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(DeActiveParam1); - } - if (DeActiveParam2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(DeActiveParam2); - } - if (FollowEventType1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FollowEventType1); - } - if (FollowEventParam1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(FollowEventParam1); - } - if (FollowEventType2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FollowEventType2); - } - if (FollowEventParam2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(FollowEventParam2); - } - if (FollowEventType3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FollowEventType3); - } - if (FollowEventParam3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(FollowEventParam3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterActionBranch other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.SkillId != 0) { - SkillId = other.SkillId; - } - if (other.Priority != 0) { - Priority = other.Priority; - } - if (other.Weight != 0) { - Weight = other.Weight; - } - if (other.Rate != 0) { - Rate = other.Rate; - } - if (other.CD != 0) { - CD = other.CD; - } - initialCDPool_.Add(other.initialCDPool_); - if (other.MinInitialCD != 0) { - MinInitialCD = other.MinInitialCD; - } - if (other.MaxInitialCD != 0) { - MaxInitialCD = other.MaxInitialCD; - } - if (other.StartCDTime != 0) { - StartCDTime = other.StartCDTime; - } - if (other.FixedCD != false) { - FixedCD = other.FixedCD; - } - if (other.ReleaseDistance != 0) { - ReleaseDistance = other.ReleaseDistance; - } - if (other.ReleaseAngle != 0) { - ReleaseAngle = other.ReleaseAngle; - } - if (other.TraceDuration != 0) { - TraceDuration = other.TraceDuration; - } - if (other.Activate != false) { - Activate = other.Activate; - } - if (other.ActiveConditionType1 != 0) { - ActiveConditionType1 = other.ActiveConditionType1; - } - if (other.ActiveParam1.Length != 0) { - ActiveParam1 = other.ActiveParam1; - } - if (other.ActiveParam2.Length != 0) { - ActiveParam2 = other.ActiveParam2; - } - if (other.DeActiveConditionType1 != 0) { - DeActiveConditionType1 = other.DeActiveConditionType1; - } - if (other.DeActiveParam1.Length != 0) { - DeActiveParam1 = other.DeActiveParam1; - } - if (other.DeActiveParam2.Length != 0) { - DeActiveParam2 = other.DeActiveParam2; - } - if (other.FollowEventType1 != 0) { - FollowEventType1 = other.FollowEventType1; - } - if (other.FollowEventParam1.Length != 0) { - FollowEventParam1 = other.FollowEventParam1; - } - if (other.FollowEventType2 != 0) { - FollowEventType2 = other.FollowEventType2; - } - if (other.FollowEventParam2.Length != 0) { - FollowEventParam2 = other.FollowEventParam2; - } - if (other.FollowEventType3 != 0) { - FollowEventType3 = other.FollowEventType3; - } - if (other.FollowEventParam3.Length != 0) { - FollowEventParam3 = other.FollowEventParam3; - } - _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: { - SkillId = input.ReadInt32(); - break; - } - case 32: { - Priority = input.ReadInt32(); - break; - } - case 40: { - Weight = input.ReadInt32(); - break; - } - case 48: { - Rate = input.ReadInt32(); - break; - } - case 56: { - CD = input.ReadInt32(); - break; - } - case 66: - case 64: { - initialCDPool_.AddEntriesFrom(input, _repeated_initialCDPool_codec); - break; - } - case 72: { - MinInitialCD = input.ReadInt32(); - break; - } - case 80: { - MaxInitialCD = input.ReadInt32(); - break; - } - case 88: { - StartCDTime = input.ReadInt32(); - break; - } - case 96: { - FixedCD = input.ReadBool(); - break; - } - case 104: { - ReleaseDistance = input.ReadInt32(); - break; - } - case 112: { - ReleaseAngle = input.ReadInt32(); - break; - } - case 120: { - TraceDuration = input.ReadInt32(); - break; - } - case 128: { - Activate = input.ReadBool(); - break; - } - case 136: { - ActiveConditionType1 = input.ReadInt32(); - break; - } - case 146: { - ActiveParam1 = input.ReadString(); - break; - } - case 154: { - ActiveParam2 = input.ReadString(); - break; - } - case 160: { - DeActiveConditionType1 = input.ReadInt32(); - break; - } - case 170: { - DeActiveParam1 = input.ReadString(); - break; - } - case 178: { - DeActiveParam2 = input.ReadString(); - break; - } - case 184: { - FollowEventType1 = input.ReadInt32(); - break; - } - case 194: { - FollowEventParam1 = input.ReadString(); - break; - } - case 200: { - FollowEventType2 = input.ReadInt32(); - break; - } - case 210: { - FollowEventParam2 = input.ReadString(); - break; - } - case 216: { - FollowEventType3 = input.ReadInt32(); - break; - } - case 226: { - FollowEventParam3 = 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: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - SkillId = input.ReadInt32(); - break; - } - case 32: { - Priority = input.ReadInt32(); - break; - } - case 40: { - Weight = input.ReadInt32(); - break; - } - case 48: { - Rate = input.ReadInt32(); - break; - } - case 56: { - CD = input.ReadInt32(); - break; - } - case 66: - case 64: { - initialCDPool_.AddEntriesFrom(ref input, _repeated_initialCDPool_codec); - break; - } - case 72: { - MinInitialCD = input.ReadInt32(); - break; - } - case 80: { - MaxInitialCD = input.ReadInt32(); - break; - } - case 88: { - StartCDTime = input.ReadInt32(); - break; - } - case 96: { - FixedCD = input.ReadBool(); - break; - } - case 104: { - ReleaseDistance = input.ReadInt32(); - break; - } - case 112: { - ReleaseAngle = input.ReadInt32(); - break; - } - case 120: { - TraceDuration = input.ReadInt32(); - break; - } - case 128: { - Activate = input.ReadBool(); - break; - } - case 136: { - ActiveConditionType1 = input.ReadInt32(); - break; - } - case 146: { - ActiveParam1 = input.ReadString(); - break; - } - case 154: { - ActiveParam2 = input.ReadString(); - break; - } - case 160: { - DeActiveConditionType1 = input.ReadInt32(); - break; - } - case 170: { - DeActiveParam1 = input.ReadString(); - break; - } - case 178: { - DeActiveParam2 = input.ReadString(); - break; - } - case 184: { - FollowEventType1 = input.ReadInt32(); - break; - } - case 194: { - FollowEventParam1 = input.ReadString(); - break; - } - case 200: { - FollowEventType2 = input.ReadInt32(); - break; - } - case 210: { - FollowEventParam2 = input.ReadString(); - break; - } - case 216: { - FollowEventType3 = input.ReadInt32(); - break; - } - case 226: { - FollowEventParam3 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterBornGroup.cs b/Novaria.Common/Protos/MonsterBornGroup.cs deleted file mode 100644 index bba34b7..0000000 --- a/Novaria.Common/Protos/MonsterBornGroup.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterBornGroup.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 MonsterBornGroup.proto - public static partial class MonsterBornGroupReflection { - - #region Descriptor - /// File descriptor for MonsterBornGroup.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterBornGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZNb25zdGVyQm9ybkdyb3VwLnByb3RvInIKEE1vbnN0ZXJCb3JuR3JvdXAS", - "EAoIZ3JvdXBfaWQYASABKAUSEgoKbW9uc3Rlcl9pZBgCIAEoBRISCgpkaWZm", - "aWN1bHR5GAMgASgFEhEKCW1pbl9mbG9vchgEIAEoBRIRCgltYXhfZmxvb3IY", - "BSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterBornGroup), global::Nova.Client.MonsterBornGroup.Parser, new[]{ "GroupId", "MonsterId", "Difficulty", "MinFloor", "MaxFloor" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterBornGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterBornGroup()); - 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.MonsterBornGroupReflection.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 MonsterBornGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterBornGroup(MonsterBornGroup other) : this() { - groupId_ = other.groupId_; - monsterId_ = other.monsterId_; - difficulty_ = other.difficulty_; - minFloor_ = other.minFloor_; - maxFloor_ = other.maxFloor_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterBornGroup Clone() { - return new MonsterBornGroup(this); - } - - /// Field number for the "group_id" field. - public const int GroupIdFieldNumber = 1; - private int groupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } - set { - groupId_ = value; - } - } - - /// Field number for the "monster_id" field. - public const int MonsterIdFieldNumber = 2; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = 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 "min_floor" field. - public const int MinFloorFieldNumber = 4; - private int minFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MinFloor { - get { return minFloor_; } - set { - minFloor_ = value; - } - } - - /// Field number for the "max_floor" field. - public const int MaxFloorFieldNumber = 5; - private int maxFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxFloor { - get { return maxFloor_; } - set { - maxFloor_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonsterBornGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterBornGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (GroupId != other.GroupId) return false; - if (MonsterId != other.MonsterId) return false; - if (Difficulty != other.Difficulty) return false; - if (MinFloor != other.MinFloor) return false; - if (MaxFloor != other.MaxFloor) 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); - if (MinFloor != 0) hash ^= MinFloor.GetHashCode(); - if (MaxFloor != 0) hash ^= MaxFloor.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 (GroupId != 0) { - output.WriteRawTag(8); - output.WriteInt32(GroupId); - } - if (MonsterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterId); - } - if (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (MinFloor != 0) { - output.WriteRawTag(32); - output.WriteInt32(MinFloor); - } - if (MaxFloor != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxFloor); - } - 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 (GroupId != 0) { - output.WriteRawTag(8); - output.WriteInt32(GroupId); - } - if (MonsterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterId); - } - if (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (MinFloor != 0) { - output.WriteRawTag(32); - output.WriteInt32(MinFloor); - } - if (MaxFloor != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxFloor); - } - 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 (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (Difficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); - } - if (MinFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinFloor); - } - if (MaxFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxFloor); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterBornGroup other) { - if (other == null) { - return; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.Difficulty != 0) { - Difficulty = other.Difficulty; - } - if (other.MinFloor != 0) { - MinFloor = other.MinFloor; - } - if (other.MaxFloor != 0) { - MaxFloor = other.MaxFloor; - } - _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: { - GroupId = input.ReadInt32(); - break; - } - case 16: { - MonsterId = input.ReadInt32(); - break; - } - case 24: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - MinFloor = input.ReadInt32(); - break; - } - case 40: { - MaxFloor = 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: { - GroupId = input.ReadInt32(); - break; - } - case 16: { - MonsterId = input.ReadInt32(); - break; - } - case 24: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - MinFloor = input.ReadInt32(); - break; - } - case 40: { - MaxFloor = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterSkin.cs b/Novaria.Common/Protos/MonsterSkin.cs deleted file mode 100644 index f66aac6..0000000 --- a/Novaria.Common/Protos/MonsterSkin.cs +++ /dev/null @@ -1,766 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterSkin.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 MonsterSkin.proto - public static partial class MonsterSkinReflection { - - #region Descriptor - /// File descriptor for MonsterSkin.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterSkinReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFNb25zdGVyU2tpbi5wcm90byLOAgoLTW9uc3RlclNraW4SCgoCaWQYASAB", - "KAUSDAoEbmFtZRgCIAEoCRIMCgRkZXNjGAMgASgJEgwKBGljb24YBCABKAkS", - "EQoJaGludF9pY29uGAUgASgJEg0KBW1vZGVsGAYgASgJEhkKEXJ1bl9hbmlt", - "YXRpb25fc3BkGAcgASgFEhoKEndhbGtfYW5pbWF0aW9uX3NwZBgIIAEoBRIS", - "CgpiYXJfaGVpZ2h0GAkgASgFEhMKC21vZGVsX3NjYWxlGAogASgFEhYKDmJ1", - "ZmZfZl94X3NjYWxlGAsgASgFEhYKDmNvbGxpZGVyX3NjYWxlGAwgASgFEhsK", - "E2ZvcmJpZGRlbl9iZWhpdF9yb3QYDSABKAgSGgoSZWZmZWN0X3NjYWxlX3Zh", - "bHVlGA4gASgFEh4KFnRhZ19lZmZlY3Rfc2NhbGVfdmFsdWUYDyABKAVCDqoC", - "C05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterSkin), global::Nova.Client.MonsterSkin.Parser, new[]{ "Id", "Name", "Desc", "Icon", "HintIcon", "Model", "RunAnimationSpd", "WalkAnimationSpd", "BarHeight", "ModelScale", "BuffFXScale", "ColliderScale", "ForbiddenBehitRot", "EffectScaleValue", "TagEffectScaleValue" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterSkin : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterSkin()); - 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.MonsterSkinReflection.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 MonsterSkin() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterSkin(MonsterSkin other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - icon_ = other.icon_; - hintIcon_ = other.hintIcon_; - model_ = other.model_; - runAnimationSpd_ = other.runAnimationSpd_; - walkAnimationSpd_ = other.walkAnimationSpd_; - barHeight_ = other.barHeight_; - modelScale_ = other.modelScale_; - buffFXScale_ = other.buffFXScale_; - colliderScale_ = other.colliderScale_; - forbiddenBehitRot_ = other.forbiddenBehitRot_; - effectScaleValue_ = other.effectScaleValue_; - tagEffectScaleValue_ = other.tagEffectScaleValue_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterSkin Clone() { - return new MonsterSkin(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "icon" field. - public const int IconFieldNumber = 4; - 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 "hint_icon" field. - public const int HintIconFieldNumber = 5; - private string hintIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string HintIcon { - get { return hintIcon_; } - set { - hintIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "model" field. - public const int ModelFieldNumber = 6; - private string model_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Model { - get { return model_; } - set { - model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "run_animation_spd" field. - public const int RunAnimationSpdFieldNumber = 7; - private int runAnimationSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RunAnimationSpd { - get { return runAnimationSpd_; } - set { - runAnimationSpd_ = value; - } - } - - /// Field number for the "walk_animation_spd" field. - public const int WalkAnimationSpdFieldNumber = 8; - private int walkAnimationSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WalkAnimationSpd { - get { return walkAnimationSpd_; } - set { - walkAnimationSpd_ = value; - } - } - - /// Field number for the "bar_height" field. - public const int BarHeightFieldNumber = 9; - private int barHeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BarHeight { - get { return barHeight_; } - set { - barHeight_ = value; - } - } - - /// Field number for the "model_scale" field. - public const int ModelScaleFieldNumber = 10; - private int modelScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ModelScale { - get { return modelScale_; } - set { - modelScale_ = value; - } - } - - /// Field number for the "buff_f_x_scale" field. - public const int BuffFXScaleFieldNumber = 11; - private int buffFXScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffFXScale { - get { return buffFXScale_; } - set { - buffFXScale_ = value; - } - } - - /// Field number for the "collider_scale" field. - public const int ColliderScaleFieldNumber = 12; - private int colliderScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ColliderScale { - get { return colliderScale_; } - set { - colliderScale_ = value; - } - } - - /// Field number for the "forbidden_behit_rot" field. - public const int ForbiddenBehitRotFieldNumber = 13; - private bool forbiddenBehitRot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ForbiddenBehitRot { - get { return forbiddenBehitRot_; } - set { - forbiddenBehitRot_ = value; - } - } - - /// Field number for the "effect_scale_value" field. - public const int EffectScaleValueFieldNumber = 14; - private int effectScaleValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectScaleValue { - get { return effectScaleValue_; } - set { - effectScaleValue_ = value; - } - } - - /// Field number for the "tag_effect_scale_value" field. - public const int TagEffectScaleValueFieldNumber = 15; - private int tagEffectScaleValue_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TagEffectScaleValue { - get { return tagEffectScaleValue_; } - set { - tagEffectScaleValue_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonsterSkin); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterSkin 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 (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (HintIcon != other.HintIcon) return false; - if (Model != other.Model) return false; - if (RunAnimationSpd != other.RunAnimationSpd) return false; - if (WalkAnimationSpd != other.WalkAnimationSpd) return false; - if (BarHeight != other.BarHeight) return false; - if (ModelScale != other.ModelScale) return false; - if (BuffFXScale != other.BuffFXScale) return false; - if (ColliderScale != other.ColliderScale) return false; - if (ForbiddenBehitRot != other.ForbiddenBehitRot) return false; - if (EffectScaleValue != other.EffectScaleValue) return false; - if (TagEffectScaleValue != other.TagEffectScaleValue) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (HintIcon.Length != 0) hash ^= HintIcon.GetHashCode(); - if (Model.Length != 0) hash ^= Model.GetHashCode(); - if (RunAnimationSpd != 0) hash ^= RunAnimationSpd.GetHashCode(); - if (WalkAnimationSpd != 0) hash ^= WalkAnimationSpd.GetHashCode(); - if (BarHeight != 0) hash ^= BarHeight.GetHashCode(); - if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); - if (BuffFXScale != 0) hash ^= BuffFXScale.GetHashCode(); - if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode(); - if (ForbiddenBehitRot != false) hash ^= ForbiddenBehitRot.GetHashCode(); - if (EffectScaleValue != 0) hash ^= EffectScaleValue.GetHashCode(); - if (TagEffectScaleValue != 0) hash ^= TagEffectScaleValue.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (HintIcon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(HintIcon); - } - if (Model.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Model); - } - if (RunAnimationSpd != 0) { - output.WriteRawTag(56); - output.WriteInt32(RunAnimationSpd); - } - if (WalkAnimationSpd != 0) { - output.WriteRawTag(64); - output.WriteInt32(WalkAnimationSpd); - } - if (BarHeight != 0) { - output.WriteRawTag(72); - output.WriteInt32(BarHeight); - } - if (ModelScale != 0) { - output.WriteRawTag(80); - output.WriteInt32(ModelScale); - } - if (BuffFXScale != 0) { - output.WriteRawTag(88); - output.WriteInt32(BuffFXScale); - } - if (ColliderScale != 0) { - output.WriteRawTag(96); - output.WriteInt32(ColliderScale); - } - if (ForbiddenBehitRot != false) { - output.WriteRawTag(104); - output.WriteBool(ForbiddenBehitRot); - } - if (EffectScaleValue != 0) { - output.WriteRawTag(112); - output.WriteInt32(EffectScaleValue); - } - if (TagEffectScaleValue != 0) { - output.WriteRawTag(120); - output.WriteInt32(TagEffectScaleValue); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (HintIcon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(HintIcon); - } - if (Model.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Model); - } - if (RunAnimationSpd != 0) { - output.WriteRawTag(56); - output.WriteInt32(RunAnimationSpd); - } - if (WalkAnimationSpd != 0) { - output.WriteRawTag(64); - output.WriteInt32(WalkAnimationSpd); - } - if (BarHeight != 0) { - output.WriteRawTag(72); - output.WriteInt32(BarHeight); - } - if (ModelScale != 0) { - output.WriteRawTag(80); - output.WriteInt32(ModelScale); - } - if (BuffFXScale != 0) { - output.WriteRawTag(88); - output.WriteInt32(BuffFXScale); - } - if (ColliderScale != 0) { - output.WriteRawTag(96); - output.WriteInt32(ColliderScale); - } - if (ForbiddenBehitRot != false) { - output.WriteRawTag(104); - output.WriteBool(ForbiddenBehitRot); - } - if (EffectScaleValue != 0) { - output.WriteRawTag(112); - output.WriteInt32(EffectScaleValue); - } - if (TagEffectScaleValue != 0) { - output.WriteRawTag(120); - output.WriteInt32(TagEffectScaleValue); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (HintIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HintIcon); - } - if (Model.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); - } - if (RunAnimationSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunAnimationSpd); - } - if (WalkAnimationSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkAnimationSpd); - } - if (BarHeight != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BarHeight); - } - if (ModelScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); - } - if (BuffFXScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffFXScale); - } - if (ColliderScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale); - } - if (ForbiddenBehitRot != false) { - size += 1 + 1; - } - if (EffectScaleValue != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectScaleValue); - } - if (TagEffectScaleValue != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TagEffectScaleValue); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterSkin other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - 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.HintIcon.Length != 0) { - HintIcon = other.HintIcon; - } - if (other.Model.Length != 0) { - Model = other.Model; - } - if (other.RunAnimationSpd != 0) { - RunAnimationSpd = other.RunAnimationSpd; - } - if (other.WalkAnimationSpd != 0) { - WalkAnimationSpd = other.WalkAnimationSpd; - } - if (other.BarHeight != 0) { - BarHeight = other.BarHeight; - } - if (other.ModelScale != 0) { - ModelScale = other.ModelScale; - } - if (other.BuffFXScale != 0) { - BuffFXScale = other.BuffFXScale; - } - if (other.ColliderScale != 0) { - ColliderScale = other.ColliderScale; - } - if (other.ForbiddenBehitRot != false) { - ForbiddenBehitRot = other.ForbiddenBehitRot; - } - if (other.EffectScaleValue != 0) { - EffectScaleValue = other.EffectScaleValue; - } - if (other.TagEffectScaleValue != 0) { - TagEffectScaleValue = other.TagEffectScaleValue; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - HintIcon = input.ReadString(); - break; - } - case 50: { - Model = input.ReadString(); - break; - } - case 56: { - RunAnimationSpd = input.ReadInt32(); - break; - } - case 64: { - WalkAnimationSpd = input.ReadInt32(); - break; - } - case 72: { - BarHeight = input.ReadInt32(); - break; - } - case 80: { - ModelScale = input.ReadInt32(); - break; - } - case 88: { - BuffFXScale = input.ReadInt32(); - break; - } - case 96: { - ColliderScale = input.ReadInt32(); - break; - } - case 104: { - ForbiddenBehitRot = input.ReadBool(); - break; - } - case 112: { - EffectScaleValue = input.ReadInt32(); - break; - } - case 120: { - TagEffectScaleValue = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - HintIcon = input.ReadString(); - break; - } - case 50: { - Model = input.ReadString(); - break; - } - case 56: { - RunAnimationSpd = input.ReadInt32(); - break; - } - case 64: { - WalkAnimationSpd = input.ReadInt32(); - break; - } - case 72: { - BarHeight = input.ReadInt32(); - break; - } - case 80: { - ModelScale = input.ReadInt32(); - break; - } - case 88: { - BuffFXScale = input.ReadInt32(); - break; - } - case 96: { - ColliderScale = input.ReadInt32(); - break; - } - case 104: { - ForbiddenBehitRot = input.ReadBool(); - break; - } - case 112: { - EffectScaleValue = input.ReadInt32(); - break; - } - case 120: { - TagEffectScaleValue = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterTeam.cs b/Novaria.Common/Protos/MonsterTeam.cs deleted file mode 100644 index dacf619..0000000 --- a/Novaria.Common/Protos/MonsterTeam.cs +++ /dev/null @@ -1,540 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterTeam.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 MonsterTeam.proto - public static partial class MonsterTeamReflection { - - #region Descriptor - /// File descriptor for MonsterTeam.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterTeamReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFNb25zdGVyVGVhbS5wcm90byKpAQoLTW9uc3RlclRlYW0SCgoCaWQYASAB", - "KAUSEAoIbWF0ZTBfaWQYAiABKAUSEAoIbWF0ZTFfaWQYAyABKAUSEAoIbWF0", - "ZTJfaWQYBCABKAUSEAoIbWF0ZTNfaWQYBSABKAUSEAoIbWF0ZTRfaWQYBiAB", - "KAUSEAoIbWF0ZTVfaWQYByABKAUSEAoIbWF0ZTZfaWQYCCABKAUSEAoIbWF0", - "ZTdfaWQYCSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterTeam), global::Nova.Client.MonsterTeam.Parser, new[]{ "Id", "Mate0Id", "Mate1Id", "Mate2Id", "Mate3Id", "Mate4Id", "Mate5Id", "Mate6Id", "Mate7Id" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterTeam : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterTeam()); - 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.MonsterTeamReflection.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 MonsterTeam() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterTeam(MonsterTeam other) : this() { - id_ = other.id_; - mate0Id_ = other.mate0Id_; - mate1Id_ = other.mate1Id_; - mate2Id_ = other.mate2Id_; - mate3Id_ = other.mate3Id_; - mate4Id_ = other.mate4Id_; - mate5Id_ = other.mate5Id_; - mate6Id_ = other.mate6Id_; - mate7Id_ = other.mate7Id_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterTeam Clone() { - return new MonsterTeam(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 "mate0_id" field. - public const int Mate0IdFieldNumber = 2; - private int mate0Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate0Id { - get { return mate0Id_; } - set { - mate0Id_ = value; - } - } - - /// Field number for the "mate1_id" field. - public const int Mate1IdFieldNumber = 3; - private int mate1Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate1Id { - get { return mate1Id_; } - set { - mate1Id_ = value; - } - } - - /// Field number for the "mate2_id" field. - public const int Mate2IdFieldNumber = 4; - private int mate2Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate2Id { - get { return mate2Id_; } - set { - mate2Id_ = value; - } - } - - /// Field number for the "mate3_id" field. - public const int Mate3IdFieldNumber = 5; - private int mate3Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate3Id { - get { return mate3Id_; } - set { - mate3Id_ = value; - } - } - - /// Field number for the "mate4_id" field. - public const int Mate4IdFieldNumber = 6; - private int mate4Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate4Id { - get { return mate4Id_; } - set { - mate4Id_ = value; - } - } - - /// Field number for the "mate5_id" field. - public const int Mate5IdFieldNumber = 7; - private int mate5Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate5Id { - get { return mate5Id_; } - set { - mate5Id_ = value; - } - } - - /// Field number for the "mate6_id" field. - public const int Mate6IdFieldNumber = 8; - private int mate6Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate6Id { - get { return mate6Id_; } - set { - mate6Id_ = value; - } - } - - /// Field number for the "mate7_id" field. - public const int Mate7IdFieldNumber = 9; - private int mate7Id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Mate7Id { - get { return mate7Id_; } - set { - mate7Id_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonsterTeam); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterTeam other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Mate0Id != other.Mate0Id) return false; - if (Mate1Id != other.Mate1Id) return false; - if (Mate2Id != other.Mate2Id) return false; - if (Mate3Id != other.Mate3Id) return false; - if (Mate4Id != other.Mate4Id) return false; - if (Mate5Id != other.Mate5Id) return false; - if (Mate6Id != other.Mate6Id) return false; - if (Mate7Id != other.Mate7Id) 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 (Mate0Id != 0) hash ^= Mate0Id.GetHashCode(); - if (Mate1Id != 0) hash ^= Mate1Id.GetHashCode(); - if (Mate2Id != 0) hash ^= Mate2Id.GetHashCode(); - if (Mate3Id != 0) hash ^= Mate3Id.GetHashCode(); - if (Mate4Id != 0) hash ^= Mate4Id.GetHashCode(); - if (Mate5Id != 0) hash ^= Mate5Id.GetHashCode(); - if (Mate6Id != 0) hash ^= Mate6Id.GetHashCode(); - if (Mate7Id != 0) hash ^= Mate7Id.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 (Mate0Id != 0) { - output.WriteRawTag(16); - output.WriteInt32(Mate0Id); - } - if (Mate1Id != 0) { - output.WriteRawTag(24); - output.WriteInt32(Mate1Id); - } - if (Mate2Id != 0) { - output.WriteRawTag(32); - output.WriteInt32(Mate2Id); - } - if (Mate3Id != 0) { - output.WriteRawTag(40); - output.WriteInt32(Mate3Id); - } - if (Mate4Id != 0) { - output.WriteRawTag(48); - output.WriteInt32(Mate4Id); - } - if (Mate5Id != 0) { - output.WriteRawTag(56); - output.WriteInt32(Mate5Id); - } - if (Mate6Id != 0) { - output.WriteRawTag(64); - output.WriteInt32(Mate6Id); - } - if (Mate7Id != 0) { - output.WriteRawTag(72); - output.WriteInt32(Mate7Id); - } - 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 (Mate0Id != 0) { - output.WriteRawTag(16); - output.WriteInt32(Mate0Id); - } - if (Mate1Id != 0) { - output.WriteRawTag(24); - output.WriteInt32(Mate1Id); - } - if (Mate2Id != 0) { - output.WriteRawTag(32); - output.WriteInt32(Mate2Id); - } - if (Mate3Id != 0) { - output.WriteRawTag(40); - output.WriteInt32(Mate3Id); - } - if (Mate4Id != 0) { - output.WriteRawTag(48); - output.WriteInt32(Mate4Id); - } - if (Mate5Id != 0) { - output.WriteRawTag(56); - output.WriteInt32(Mate5Id); - } - if (Mate6Id != 0) { - output.WriteRawTag(64); - output.WriteInt32(Mate6Id); - } - if (Mate7Id != 0) { - output.WriteRawTag(72); - output.WriteInt32(Mate7Id); - } - 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 (Mate0Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate0Id); - } - if (Mate1Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate1Id); - } - if (Mate2Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate2Id); - } - if (Mate3Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate3Id); - } - if (Mate4Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate4Id); - } - if (Mate5Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate5Id); - } - if (Mate6Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate6Id); - } - if (Mate7Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate7Id); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterTeam other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Mate0Id != 0) { - Mate0Id = other.Mate0Id; - } - if (other.Mate1Id != 0) { - Mate1Id = other.Mate1Id; - } - if (other.Mate2Id != 0) { - Mate2Id = other.Mate2Id; - } - if (other.Mate3Id != 0) { - Mate3Id = other.Mate3Id; - } - if (other.Mate4Id != 0) { - Mate4Id = other.Mate4Id; - } - if (other.Mate5Id != 0) { - Mate5Id = other.Mate5Id; - } - if (other.Mate6Id != 0) { - Mate6Id = other.Mate6Id; - } - if (other.Mate7Id != 0) { - Mate7Id = other.Mate7Id; - } - _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: { - Mate0Id = input.ReadInt32(); - break; - } - case 24: { - Mate1Id = input.ReadInt32(); - break; - } - case 32: { - Mate2Id = input.ReadInt32(); - break; - } - case 40: { - Mate3Id = input.ReadInt32(); - break; - } - case 48: { - Mate4Id = input.ReadInt32(); - break; - } - case 56: { - Mate5Id = input.ReadInt32(); - break; - } - case 64: { - Mate6Id = input.ReadInt32(); - break; - } - case 72: { - Mate7Id = 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: { - Mate0Id = input.ReadInt32(); - break; - } - case 24: { - Mate1Id = input.ReadInt32(); - break; - } - case 32: { - Mate2Id = input.ReadInt32(); - break; - } - case 40: { - Mate3Id = input.ReadInt32(); - break; - } - case 48: { - Mate4Id = input.ReadInt32(); - break; - } - case 56: { - Mate5Id = input.ReadInt32(); - break; - } - case 64: { - Mate6Id = input.ReadInt32(); - break; - } - case 72: { - Mate7Id = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterValueTemplete.cs b/Novaria.Common/Protos/MonsterValueTemplete.cs deleted file mode 100644 index 78ee135..0000000 --- a/Novaria.Common/Protos/MonsterValueTemplete.cs +++ /dev/null @@ -1,2299 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterValueTemplete.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 MonsterValueTemplete.proto - public static partial class MonsterValueTempleteReflection { - - #region Descriptor - /// File descriptor for MonsterValueTemplete.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterValueTempleteReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpNb25zdGVyVmFsdWVUZW1wbGV0ZS5wcm90byKqCAoUTW9uc3RlclZhbHVl", - "VGVtcGxldGUSCgoCaWQYASABKAMSEwoLdGVtcGxhdGVfaWQYAiABKAUSDAoE", - "bmFtZRgDIAEoCRIKCgJsdhgEIAEoBRIKCgJocBgFIAEoBRILCgNhdGsYBiAB", - "KAUSCwoDZGVmGAcgASgFEhEKCWNyaXRfcmF0ZRgIIAEoBRIYChBub3JtYWxf", - "Y3JpdF9yYXRlGAkgASgFEhcKD3NraWxsX2NyaXRfcmF0ZRgKIAEoBRIXCg91", - "bHRyYV9jcml0X3JhdGUYCyABKAUSFgoObWFya19jcml0X3JhdGUYDCABKAUS", - "GAoQc3VtbW9uX2NyaXRfcmF0ZRgNIAEoBRIcChRwcm9qZWN0aWxlX2NyaXRf", - "cmF0ZRgOIAEoBRIXCg9vdGhlcl9jcml0X3JhdGUYDyABKAUSFwoPY3JpdF9y", - "ZXNpc3RhbmNlGBAgASgFEhIKCmNyaXRfcG93ZXIYESABKAUSGQoRbm9ybWFs", - "X2NyaXRfcG93ZXIYEiABKAUSGAoQc2tpbGxfY3JpdF9wb3dlchgTIAEoBRIY", - "ChB1bHRyYV9jcml0X3Bvd2VyGBQgASgFEhcKD21hcmtfY3JpdF9wb3dlchgV", - "IAEoBRIZChFzdW1tb25fY3JpdF9wb3dlchgWIAEoBRIdChVwcm9qZWN0aWxl", - "X2NyaXRfcG93ZXIYFyABKAUSGAoQb3RoZXJfY3JpdF9wb3dlchgYIAEoBRIQ", - "CghoaXRfcmF0ZRgZIAEoBRILCgNldmQYGiABKAUSDwoHYXRrX3NwZBgbIAEo", - "BRISCgpkZWZfcGllcmNlGBwgASgFEhIKCmRlZl9pZ25vcmUYHSABKAUSDQoF", - "d19lX3AYHiABKAUSDQoFZl9lX3AYHyABKAUSDQoFc19lX3AYICABKAUSDQoF", - "YV9lX3AYISABKAUSDQoFbF9lX3AYIiABKAUSDQoFZF9lX3AYIyABKAUSDQoF", - "d19lX2kYJCABKAUSDQoFZl9lX2kYJSABKAUSDQoFc19lX2kYJiABKAUSDQoF", - "YV9lX2kYJyABKAUSDQoFbF9lX2kYKCABKAUSDQoFZF9lX2kYKSABKAUSDQoF", - "d19lX2UYKiABKAUSDQoFZl9lX2UYKyABKAUSDQoFc19lX2UYLCABKAUSDQoF", - "YV9lX2UYLSABKAUSDQoFbF9lX2UYLiABKAUSDQoFZF9lX2UYLyABKAUSDQoF", - "d19lX3IYMCABKAUSDQoFZl9lX3IYMSABKAUSDQoFc19lX3IYMiABKAUSDQoF", - "YV9lX3IYMyABKAUSDQoFbF9lX3IYNCABKAUSDQoFZF9lX3IYNSABKAUSEQoJ", - "dG91Z2huZXNzGDYgASgFEhAKCHN1cHByZXNzGDcgASgFEhsKE3JfY19kX21f", - "YV9yX2tfZF9tX2cYOCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterValueTemplete), global::Nova.Client.MonsterValueTemplete.Parser, new[]{ "Id", "TemplateId", "Name", "Lv", "Hp", "Atk", "Def", "CritRate", "NormalCritRate", "SkillCritRate", "UltraCritRate", "MarkCritRate", "SummonCritRate", "ProjectileCritRate", "OtherCritRate", "CritResistance", "CritPower", "NormalCritPower", "SkillCritPower", "UltraCritPower", "MarkCritPower", "SummonCritPower", "ProjectileCritPower", "OtherCritPower", "HitRate", "Evd", "AtkSpd", "DefPierce", "DefIgnore", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEI", "FEI", "SEI", "AEI", "LEI", "DEI", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "Toughness", "Suppress", "RCDMARKDMG" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterValueTemplete : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterValueTemplete()); - 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.MonsterValueTempleteReflection.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 MonsterValueTemplete() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterValueTemplete(MonsterValueTemplete other) : this() { - id_ = other.id_; - templateId_ = other.templateId_; - name_ = other.name_; - lv_ = other.lv_; - hp_ = other.hp_; - atk_ = other.atk_; - def_ = other.def_; - critRate_ = other.critRate_; - normalCritRate_ = other.normalCritRate_; - skillCritRate_ = other.skillCritRate_; - ultraCritRate_ = other.ultraCritRate_; - markCritRate_ = other.markCritRate_; - summonCritRate_ = other.summonCritRate_; - projectileCritRate_ = other.projectileCritRate_; - otherCritRate_ = other.otherCritRate_; - critResistance_ = other.critResistance_; - critPower_ = other.critPower_; - normalCritPower_ = other.normalCritPower_; - skillCritPower_ = other.skillCritPower_; - ultraCritPower_ = other.ultraCritPower_; - markCritPower_ = other.markCritPower_; - summonCritPower_ = other.summonCritPower_; - projectileCritPower_ = other.projectileCritPower_; - otherCritPower_ = other.otherCritPower_; - hitRate_ = other.hitRate_; - evd_ = other.evd_; - atkSpd_ = other.atkSpd_; - defPierce_ = other.defPierce_; - defIgnore_ = other.defIgnore_; - wEP_ = other.wEP_; - fEP_ = other.fEP_; - sEP_ = other.sEP_; - aEP_ = other.aEP_; - lEP_ = other.lEP_; - dEP_ = other.dEP_; - wEI_ = other.wEI_; - fEI_ = other.fEI_; - sEI_ = other.sEI_; - aEI_ = other.aEI_; - lEI_ = other.lEI_; - dEI_ = other.dEI_; - wEE_ = other.wEE_; - fEE_ = other.fEE_; - sEE_ = other.sEE_; - aEE_ = other.aEE_; - lEE_ = other.lEE_; - dEE_ = other.dEE_; - wER_ = other.wER_; - fER_ = other.fER_; - sER_ = other.sER_; - aER_ = other.aER_; - lER_ = other.lER_; - dER_ = other.dER_; - toughness_ = other.toughness_; - suppress_ = other.suppress_; - rCDMARKDMG_ = other.rCDMARKDMG_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterValueTemplete Clone() { - return new MonsterValueTemplete(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private long id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Id { - get { return id_; } - set { - id_ = value; - } - } - - /// Field number for the "template_id" field. - public const int TemplateIdFieldNumber = 2; - private int templateId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TemplateId { - get { return templateId_; } - set { - templateId_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 "lv" field. - public const int LvFieldNumber = 4; - private int lv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Lv { - get { return lv_; } - set { - lv_ = value; - } - } - - /// Field number for the "hp" field. - public const int HpFieldNumber = 5; - private int hp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Hp { - get { return hp_; } - set { - hp_ = value; - } - } - - /// Field number for the "atk" field. - public const int AtkFieldNumber = 6; - private int atk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Atk { - get { return atk_; } - set { - atk_ = value; - } - } - - /// Field number for the "def" field. - public const int DefFieldNumber = 7; - private int def_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Def { - get { return def_; } - set { - def_ = value; - } - } - - /// Field number for the "crit_rate" field. - public const int CritRateFieldNumber = 8; - private int critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// Field number for the "normal_crit_rate" field. - public const int NormalCritRateFieldNumber = 9; - private int normalCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalCritRate { - get { return normalCritRate_; } - set { - normalCritRate_ = value; - } - } - - /// Field number for the "skill_crit_rate" field. - public const int SkillCritRateFieldNumber = 10; - private int skillCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCritRate { - get { return skillCritRate_; } - set { - skillCritRate_ = value; - } - } - - /// Field number for the "ultra_crit_rate" field. - public const int UltraCritRateFieldNumber = 11; - private int ultraCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraCritRate { - get { return ultraCritRate_; } - set { - ultraCritRate_ = value; - } - } - - /// Field number for the "mark_crit_rate" field. - public const int MarkCritRateFieldNumber = 12; - private int markCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkCritRate { - get { return markCritRate_; } - set { - markCritRate_ = value; - } - } - - /// Field number for the "summon_crit_rate" field. - public const int SummonCritRateFieldNumber = 13; - private int summonCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonCritRate { - get { return summonCritRate_; } - set { - summonCritRate_ = value; - } - } - - /// Field number for the "projectile_crit_rate" field. - public const int ProjectileCritRateFieldNumber = 14; - private int projectileCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileCritRate { - get { return projectileCritRate_; } - set { - projectileCritRate_ = value; - } - } - - /// Field number for the "other_crit_rate" field. - public const int OtherCritRateFieldNumber = 15; - private int otherCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherCritRate { - get { return otherCritRate_; } - set { - otherCritRate_ = value; - } - } - - /// Field number for the "crit_resistance" field. - public const int CritResistanceFieldNumber = 16; - private int critResistance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritResistance { - get { return critResistance_; } - set { - critResistance_ = value; - } - } - - /// Field number for the "crit_power" field. - public const int CritPowerFieldNumber = 17; - private int critPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritPower { - get { return critPower_; } - set { - critPower_ = value; - } - } - - /// Field number for the "normal_crit_power" field. - public const int NormalCritPowerFieldNumber = 18; - private int normalCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalCritPower { - get { return normalCritPower_; } - set { - normalCritPower_ = value; - } - } - - /// Field number for the "skill_crit_power" field. - public const int SkillCritPowerFieldNumber = 19; - private int skillCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCritPower { - get { return skillCritPower_; } - set { - skillCritPower_ = value; - } - } - - /// Field number for the "ultra_crit_power" field. - public const int UltraCritPowerFieldNumber = 20; - private int ultraCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraCritPower { - get { return ultraCritPower_; } - set { - ultraCritPower_ = value; - } - } - - /// Field number for the "mark_crit_power" field. - public const int MarkCritPowerFieldNumber = 21; - private int markCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkCritPower { - get { return markCritPower_; } - set { - markCritPower_ = value; - } - } - - /// Field number for the "summon_crit_power" field. - public const int SummonCritPowerFieldNumber = 22; - private int summonCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonCritPower { - get { return summonCritPower_; } - set { - summonCritPower_ = value; - } - } - - /// Field number for the "projectile_crit_power" field. - public const int ProjectileCritPowerFieldNumber = 23; - private int projectileCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileCritPower { - get { return projectileCritPower_; } - set { - projectileCritPower_ = value; - } - } - - /// Field number for the "other_crit_power" field. - public const int OtherCritPowerFieldNumber = 24; - private int otherCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherCritPower { - get { return otherCritPower_; } - set { - otherCritPower_ = value; - } - } - - /// Field number for the "hit_rate" field. - public const int HitRateFieldNumber = 25; - private int hitRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HitRate { - get { return hitRate_; } - set { - hitRate_ = value; - } - } - - /// Field number for the "evd" field. - public const int EvdFieldNumber = 26; - private int evd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Evd { - get { return evd_; } - set { - evd_ = value; - } - } - - /// Field number for the "atk_spd" field. - public const int AtkSpdFieldNumber = 27; - private int atkSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AtkSpd { - get { return atkSpd_; } - set { - atkSpd_ = value; - } - } - - /// Field number for the "def_pierce" field. - public const int DefPierceFieldNumber = 28; - private int defPierce_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefPierce { - get { return defPierce_; } - set { - defPierce_ = value; - } - } - - /// Field number for the "def_ignore" field. - public const int DefIgnoreFieldNumber = 29; - private int defIgnore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefIgnore { - get { return defIgnore_; } - set { - defIgnore_ = value; - } - } - - /// Field number for the "w_e_p" field. - public const int WEPFieldNumber = 30; - private int wEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEP { - get { return wEP_; } - set { - wEP_ = value; - } - } - - /// Field number for the "f_e_p" field. - public const int FEPFieldNumber = 31; - private int fEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEP { - get { return fEP_; } - set { - fEP_ = value; - } - } - - /// Field number for the "s_e_p" field. - public const int SEPFieldNumber = 32; - private int sEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEP { - get { return sEP_; } - set { - sEP_ = value; - } - } - - /// Field number for the "a_e_p" field. - public const int AEPFieldNumber = 33; - private int aEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEP { - get { return aEP_; } - set { - aEP_ = value; - } - } - - /// Field number for the "l_e_p" field. - public const int LEPFieldNumber = 34; - private int lEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEP { - get { return lEP_; } - set { - lEP_ = value; - } - } - - /// Field number for the "d_e_p" field. - public const int DEPFieldNumber = 35; - private int dEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEP { - get { return dEP_; } - set { - dEP_ = value; - } - } - - /// Field number for the "w_e_i" field. - public const int WEIFieldNumber = 36; - private int wEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEI { - get { return wEI_; } - set { - wEI_ = value; - } - } - - /// Field number for the "f_e_i" field. - public const int FEIFieldNumber = 37; - private int fEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEI { - get { return fEI_; } - set { - fEI_ = value; - } - } - - /// Field number for the "s_e_i" field. - public const int SEIFieldNumber = 38; - private int sEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEI { - get { return sEI_; } - set { - sEI_ = value; - } - } - - /// Field number for the "a_e_i" field. - public const int AEIFieldNumber = 39; - private int aEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEI { - get { return aEI_; } - set { - aEI_ = value; - } - } - - /// Field number for the "l_e_i" field. - public const int LEIFieldNumber = 40; - private int lEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEI { - get { return lEI_; } - set { - lEI_ = value; - } - } - - /// Field number for the "d_e_i" field. - public const int DEIFieldNumber = 41; - private int dEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEI { - get { return dEI_; } - set { - dEI_ = value; - } - } - - /// Field number for the "w_e_e" field. - public const int WEEFieldNumber = 42; - private int wEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEE { - get { return wEE_; } - set { - wEE_ = value; - } - } - - /// Field number for the "f_e_e" field. - public const int FEEFieldNumber = 43; - private int fEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEE { - get { return fEE_; } - set { - fEE_ = value; - } - } - - /// Field number for the "s_e_e" field. - public const int SEEFieldNumber = 44; - private int sEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEE { - get { return sEE_; } - set { - sEE_ = value; - } - } - - /// Field number for the "a_e_e" field. - public const int AEEFieldNumber = 45; - private int aEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEE { - get { return aEE_; } - set { - aEE_ = value; - } - } - - /// Field number for the "l_e_e" field. - public const int LEEFieldNumber = 46; - private int lEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEE { - get { return lEE_; } - set { - lEE_ = value; - } - } - - /// Field number for the "d_e_e" field. - public const int DEEFieldNumber = 47; - private int dEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEE { - get { return dEE_; } - set { - dEE_ = value; - } - } - - /// Field number for the "w_e_r" field. - public const int WERFieldNumber = 48; - private int wER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WER { - get { return wER_; } - set { - wER_ = value; - } - } - - /// Field number for the "f_e_r" field. - public const int FERFieldNumber = 49; - private int fER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FER { - get { return fER_; } - set { - fER_ = value; - } - } - - /// Field number for the "s_e_r" field. - public const int SERFieldNumber = 50; - private int sER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SER { - get { return sER_; } - set { - sER_ = value; - } - } - - /// Field number for the "a_e_r" field. - public const int AERFieldNumber = 51; - private int aER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AER { - get { return aER_; } - set { - aER_ = value; - } - } - - /// Field number for the "l_e_r" field. - public const int LERFieldNumber = 52; - private int lER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LER { - get { return lER_; } - set { - lER_ = value; - } - } - - /// Field number for the "d_e_r" field. - public const int DERFieldNumber = 53; - private int dER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DER { - get { return dER_; } - set { - dER_ = value; - } - } - - /// Field number for the "toughness" field. - public const int ToughnessFieldNumber = 54; - private int toughness_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Toughness { - get { return toughness_; } - set { - toughness_ = value; - } - } - - /// Field number for the "suppress" field. - public const int SuppressFieldNumber = 55; - private int suppress_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Suppress { - get { return suppress_; } - set { - suppress_ = value; - } - } - - /// Field number for the "r_c_d_m_a_r_k_d_m_g" field. - public const int RCDMARKDMGFieldNumber = 56; - private int rCDMARKDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RCDMARKDMG { - get { return rCDMARKDMG_; } - set { - rCDMARKDMG_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonsterValueTemplete); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterValueTemplete other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (TemplateId != other.TemplateId) return false; - if (Name != other.Name) return false; - if (Lv != other.Lv) return false; - if (Hp != other.Hp) return false; - if (Atk != other.Atk) return false; - if (Def != other.Def) return false; - if (CritRate != other.CritRate) return false; - if (NormalCritRate != other.NormalCritRate) return false; - if (SkillCritRate != other.SkillCritRate) return false; - if (UltraCritRate != other.UltraCritRate) return false; - if (MarkCritRate != other.MarkCritRate) return false; - if (SummonCritRate != other.SummonCritRate) return false; - if (ProjectileCritRate != other.ProjectileCritRate) return false; - if (OtherCritRate != other.OtherCritRate) return false; - if (CritResistance != other.CritResistance) return false; - if (CritPower != other.CritPower) return false; - if (NormalCritPower != other.NormalCritPower) return false; - if (SkillCritPower != other.SkillCritPower) return false; - if (UltraCritPower != other.UltraCritPower) return false; - if (MarkCritPower != other.MarkCritPower) return false; - if (SummonCritPower != other.SummonCritPower) return false; - if (ProjectileCritPower != other.ProjectileCritPower) return false; - if (OtherCritPower != other.OtherCritPower) return false; - if (HitRate != other.HitRate) return false; - if (Evd != other.Evd) return false; - if (AtkSpd != other.AtkSpd) return false; - if (DefPierce != other.DefPierce) return false; - if (DefIgnore != other.DefIgnore) return false; - if (WEP != other.WEP) return false; - if (FEP != other.FEP) return false; - if (SEP != other.SEP) return false; - if (AEP != other.AEP) return false; - if (LEP != other.LEP) return false; - if (DEP != other.DEP) return false; - if (WEI != other.WEI) return false; - if (FEI != other.FEI) return false; - if (SEI != other.SEI) return false; - if (AEI != other.AEI) return false; - if (LEI != other.LEI) return false; - if (DEI != other.DEI) return false; - if (WEE != other.WEE) return false; - if (FEE != other.FEE) return false; - if (SEE != other.SEE) return false; - if (AEE != other.AEE) return false; - if (LEE != other.LEE) return false; - if (DEE != other.DEE) return false; - if (WER != other.WER) return false; - if (FER != other.FER) return false; - if (SER != other.SER) return false; - if (AER != other.AER) return false; - if (LER != other.LER) return false; - if (DER != other.DER) return false; - if (Toughness != other.Toughness) return false; - if (Suppress != other.Suppress) return false; - if (RCDMARKDMG != other.RCDMARKDMG) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Id != 0L) hash ^= Id.GetHashCode(); - if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Lv != 0) hash ^= Lv.GetHashCode(); - if (Hp != 0) hash ^= Hp.GetHashCode(); - if (Atk != 0) hash ^= Atk.GetHashCode(); - if (Def != 0) hash ^= Def.GetHashCode(); - if (CritRate != 0) hash ^= CritRate.GetHashCode(); - if (NormalCritRate != 0) hash ^= NormalCritRate.GetHashCode(); - if (SkillCritRate != 0) hash ^= SkillCritRate.GetHashCode(); - if (UltraCritRate != 0) hash ^= UltraCritRate.GetHashCode(); - if (MarkCritRate != 0) hash ^= MarkCritRate.GetHashCode(); - if (SummonCritRate != 0) hash ^= SummonCritRate.GetHashCode(); - if (ProjectileCritRate != 0) hash ^= ProjectileCritRate.GetHashCode(); - if (OtherCritRate != 0) hash ^= OtherCritRate.GetHashCode(); - if (CritResistance != 0) hash ^= CritResistance.GetHashCode(); - if (CritPower != 0) hash ^= CritPower.GetHashCode(); - if (NormalCritPower != 0) hash ^= NormalCritPower.GetHashCode(); - if (SkillCritPower != 0) hash ^= SkillCritPower.GetHashCode(); - if (UltraCritPower != 0) hash ^= UltraCritPower.GetHashCode(); - if (MarkCritPower != 0) hash ^= MarkCritPower.GetHashCode(); - if (SummonCritPower != 0) hash ^= SummonCritPower.GetHashCode(); - if (ProjectileCritPower != 0) hash ^= ProjectileCritPower.GetHashCode(); - if (OtherCritPower != 0) hash ^= OtherCritPower.GetHashCode(); - if (HitRate != 0) hash ^= HitRate.GetHashCode(); - if (Evd != 0) hash ^= Evd.GetHashCode(); - if (AtkSpd != 0) hash ^= AtkSpd.GetHashCode(); - if (DefPierce != 0) hash ^= DefPierce.GetHashCode(); - if (DefIgnore != 0) hash ^= DefIgnore.GetHashCode(); - if (WEP != 0) hash ^= WEP.GetHashCode(); - if (FEP != 0) hash ^= FEP.GetHashCode(); - if (SEP != 0) hash ^= SEP.GetHashCode(); - if (AEP != 0) hash ^= AEP.GetHashCode(); - if (LEP != 0) hash ^= LEP.GetHashCode(); - if (DEP != 0) hash ^= DEP.GetHashCode(); - if (WEI != 0) hash ^= WEI.GetHashCode(); - if (FEI != 0) hash ^= FEI.GetHashCode(); - if (SEI != 0) hash ^= SEI.GetHashCode(); - if (AEI != 0) hash ^= AEI.GetHashCode(); - if (LEI != 0) hash ^= LEI.GetHashCode(); - if (DEI != 0) hash ^= DEI.GetHashCode(); - if (WEE != 0) hash ^= WEE.GetHashCode(); - if (FEE != 0) hash ^= FEE.GetHashCode(); - if (SEE != 0) hash ^= SEE.GetHashCode(); - if (AEE != 0) hash ^= AEE.GetHashCode(); - if (LEE != 0) hash ^= LEE.GetHashCode(); - if (DEE != 0) hash ^= DEE.GetHashCode(); - if (WER != 0) hash ^= WER.GetHashCode(); - if (FER != 0) hash ^= FER.GetHashCode(); - if (SER != 0) hash ^= SER.GetHashCode(); - if (AER != 0) hash ^= AER.GetHashCode(); - if (LER != 0) hash ^= LER.GetHashCode(); - if (DER != 0) hash ^= DER.GetHashCode(); - if (Toughness != 0) hash ^= Toughness.GetHashCode(); - if (Suppress != 0) hash ^= Suppress.GetHashCode(); - if (RCDMARKDMG != 0) hash ^= RCDMARKDMG.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Id != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Id); - } - if (TemplateId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TemplateId); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Lv != 0) { - output.WriteRawTag(32); - output.WriteInt32(Lv); - } - if (Hp != 0) { - output.WriteRawTag(40); - output.WriteInt32(Hp); - } - if (Atk != 0) { - output.WriteRawTag(48); - output.WriteInt32(Atk); - } - if (Def != 0) { - output.WriteRawTag(56); - output.WriteInt32(Def); - } - if (CritRate != 0) { - output.WriteRawTag(64); - output.WriteInt32(CritRate); - } - if (NormalCritRate != 0) { - output.WriteRawTag(72); - output.WriteInt32(NormalCritRate); - } - if (SkillCritRate != 0) { - output.WriteRawTag(80); - output.WriteInt32(SkillCritRate); - } - if (UltraCritRate != 0) { - output.WriteRawTag(88); - output.WriteInt32(UltraCritRate); - } - if (MarkCritRate != 0) { - output.WriteRawTag(96); - output.WriteInt32(MarkCritRate); - } - if (SummonCritRate != 0) { - output.WriteRawTag(104); - output.WriteInt32(SummonCritRate); - } - if (ProjectileCritRate != 0) { - output.WriteRawTag(112); - output.WriteInt32(ProjectileCritRate); - } - if (OtherCritRate != 0) { - output.WriteRawTag(120); - output.WriteInt32(OtherCritRate); - } - if (CritResistance != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(CritResistance); - } - if (CritPower != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(CritPower); - } - if (NormalCritPower != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NormalCritPower); - } - if (SkillCritPower != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(SkillCritPower); - } - if (UltraCritPower != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(UltraCritPower); - } - if (MarkCritPower != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(MarkCritPower); - } - if (SummonCritPower != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SummonCritPower); - } - if (ProjectileCritPower != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ProjectileCritPower); - } - if (OtherCritPower != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(OtherCritPower); - } - if (HitRate != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(HitRate); - } - if (Evd != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(Evd); - } - if (AtkSpd != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(AtkSpd); - } - if (DefPierce != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(DefPierce); - } - if (DefIgnore != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(DEP); - } - if (WEI != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(WEI); - } - if (FEI != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(FEI); - } - if (SEI != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(SEI); - } - if (AEI != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(AEI); - } - if (LEI != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(LEI); - } - if (DEI != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(DEI); - } - if (WEE != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(DER); - } - if (Toughness != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(Toughness); - } - if (Suppress != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(Suppress); - } - if (RCDMARKDMG != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(RCDMARKDMG); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Id); - } - if (TemplateId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TemplateId); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Lv != 0) { - output.WriteRawTag(32); - output.WriteInt32(Lv); - } - if (Hp != 0) { - output.WriteRawTag(40); - output.WriteInt32(Hp); - } - if (Atk != 0) { - output.WriteRawTag(48); - output.WriteInt32(Atk); - } - if (Def != 0) { - output.WriteRawTag(56); - output.WriteInt32(Def); - } - if (CritRate != 0) { - output.WriteRawTag(64); - output.WriteInt32(CritRate); - } - if (NormalCritRate != 0) { - output.WriteRawTag(72); - output.WriteInt32(NormalCritRate); - } - if (SkillCritRate != 0) { - output.WriteRawTag(80); - output.WriteInt32(SkillCritRate); - } - if (UltraCritRate != 0) { - output.WriteRawTag(88); - output.WriteInt32(UltraCritRate); - } - if (MarkCritRate != 0) { - output.WriteRawTag(96); - output.WriteInt32(MarkCritRate); - } - if (SummonCritRate != 0) { - output.WriteRawTag(104); - output.WriteInt32(SummonCritRate); - } - if (ProjectileCritRate != 0) { - output.WriteRawTag(112); - output.WriteInt32(ProjectileCritRate); - } - if (OtherCritRate != 0) { - output.WriteRawTag(120); - output.WriteInt32(OtherCritRate); - } - if (CritResistance != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(CritResistance); - } - if (CritPower != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(CritPower); - } - if (NormalCritPower != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NormalCritPower); - } - if (SkillCritPower != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(SkillCritPower); - } - if (UltraCritPower != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(UltraCritPower); - } - if (MarkCritPower != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(MarkCritPower); - } - if (SummonCritPower != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SummonCritPower); - } - if (ProjectileCritPower != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ProjectileCritPower); - } - if (OtherCritPower != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(OtherCritPower); - } - if (HitRate != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(HitRate); - } - if (Evd != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(Evd); - } - if (AtkSpd != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(AtkSpd); - } - if (DefPierce != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(DefPierce); - } - if (DefIgnore != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(DEP); - } - if (WEI != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(WEI); - } - if (FEI != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(FEI); - } - if (SEI != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(SEI); - } - if (AEI != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(AEI); - } - if (LEI != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(LEI); - } - if (DEI != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(DEI); - } - if (WEE != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(DER); - } - if (Toughness != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(Toughness); - } - if (Suppress != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(Suppress); - } - if (RCDMARKDMG != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(RCDMARKDMG); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Id != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); - } - if (TemplateId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Lv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lv); - } - if (Hp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hp); - } - if (Atk != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Atk); - } - if (Def != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Def); - } - if (CritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritRate); - } - if (NormalCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalCritRate); - } - if (SkillCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillCritRate); - } - if (UltraCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UltraCritRate); - } - if (MarkCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MarkCritRate); - } - if (SummonCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SummonCritRate); - } - if (ProjectileCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritRate); - } - if (OtherCritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OtherCritRate); - } - if (CritResistance != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritResistance); - } - if (CritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritPower); - } - if (NormalCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalCritPower); - } - if (SkillCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillCritPower); - } - if (UltraCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraCritPower); - } - if (MarkCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkCritPower); - } - if (SummonCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonCritPower); - } - if (ProjectileCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritPower); - } - if (OtherCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherCritPower); - } - if (HitRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HitRate); - } - if (Evd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Evd); - } - if (AtkSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AtkSpd); - } - if (DefPierce != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefPierce); - } - if (DefIgnore != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefIgnore); - } - if (WEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); - } - if (FEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); - } - if (SEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); - } - if (AEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); - } - if (LEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); - } - if (DEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); - } - if (WEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEI); - } - if (FEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEI); - } - if (SEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEI); - } - if (AEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEI); - } - if (LEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEI); - } - if (DEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEI); - } - if (WEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); - } - if (FEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); - } - if (SEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); - } - if (AEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); - } - if (LEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); - } - if (DEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); - } - if (WER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); - } - if (FER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); - } - if (SER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); - } - if (AER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); - } - if (LER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); - } - if (DER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); - } - if (Toughness != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Toughness); - } - if (Suppress != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Suppress); - } - if (RCDMARKDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDMARKDMG); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterValueTemplete other) { - if (other == null) { - return; - } - if (other.Id != 0L) { - Id = other.Id; - } - if (other.TemplateId != 0) { - TemplateId = other.TemplateId; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Lv != 0) { - Lv = other.Lv; - } - if (other.Hp != 0) { - Hp = other.Hp; - } - if (other.Atk != 0) { - Atk = other.Atk; - } - if (other.Def != 0) { - Def = other.Def; - } - if (other.CritRate != 0) { - CritRate = other.CritRate; - } - if (other.NormalCritRate != 0) { - NormalCritRate = other.NormalCritRate; - } - if (other.SkillCritRate != 0) { - SkillCritRate = other.SkillCritRate; - } - if (other.UltraCritRate != 0) { - UltraCritRate = other.UltraCritRate; - } - if (other.MarkCritRate != 0) { - MarkCritRate = other.MarkCritRate; - } - if (other.SummonCritRate != 0) { - SummonCritRate = other.SummonCritRate; - } - if (other.ProjectileCritRate != 0) { - ProjectileCritRate = other.ProjectileCritRate; - } - if (other.OtherCritRate != 0) { - OtherCritRate = other.OtherCritRate; - } - if (other.CritResistance != 0) { - CritResistance = other.CritResistance; - } - if (other.CritPower != 0) { - CritPower = other.CritPower; - } - if (other.NormalCritPower != 0) { - NormalCritPower = other.NormalCritPower; - } - if (other.SkillCritPower != 0) { - SkillCritPower = other.SkillCritPower; - } - if (other.UltraCritPower != 0) { - UltraCritPower = other.UltraCritPower; - } - if (other.MarkCritPower != 0) { - MarkCritPower = other.MarkCritPower; - } - if (other.SummonCritPower != 0) { - SummonCritPower = other.SummonCritPower; - } - if (other.ProjectileCritPower != 0) { - ProjectileCritPower = other.ProjectileCritPower; - } - if (other.OtherCritPower != 0) { - OtherCritPower = other.OtherCritPower; - } - if (other.HitRate != 0) { - HitRate = other.HitRate; - } - if (other.Evd != 0) { - Evd = other.Evd; - } - if (other.AtkSpd != 0) { - AtkSpd = other.AtkSpd; - } - if (other.DefPierce != 0) { - DefPierce = other.DefPierce; - } - if (other.DefIgnore != 0) { - DefIgnore = other.DefIgnore; - } - if (other.WEP != 0) { - WEP = other.WEP; - } - if (other.FEP != 0) { - FEP = other.FEP; - } - if (other.SEP != 0) { - SEP = other.SEP; - } - if (other.AEP != 0) { - AEP = other.AEP; - } - if (other.LEP != 0) { - LEP = other.LEP; - } - if (other.DEP != 0) { - DEP = other.DEP; - } - if (other.WEI != 0) { - WEI = other.WEI; - } - if (other.FEI != 0) { - FEI = other.FEI; - } - if (other.SEI != 0) { - SEI = other.SEI; - } - if (other.AEI != 0) { - AEI = other.AEI; - } - if (other.LEI != 0) { - LEI = other.LEI; - } - if (other.DEI != 0) { - DEI = other.DEI; - } - if (other.WEE != 0) { - WEE = other.WEE; - } - if (other.FEE != 0) { - FEE = other.FEE; - } - if (other.SEE != 0) { - SEE = other.SEE; - } - if (other.AEE != 0) { - AEE = other.AEE; - } - if (other.LEE != 0) { - LEE = other.LEE; - } - if (other.DEE != 0) { - DEE = other.DEE; - } - if (other.WER != 0) { - WER = other.WER; - } - if (other.FER != 0) { - FER = other.FER; - } - if (other.SER != 0) { - SER = other.SER; - } - if (other.AER != 0) { - AER = other.AER; - } - if (other.LER != 0) { - LER = other.LER; - } - if (other.DER != 0) { - DER = other.DER; - } - if (other.Toughness != 0) { - Toughness = other.Toughness; - } - if (other.Suppress != 0) { - Suppress = other.Suppress; - } - if (other.RCDMARKDMG != 0) { - RCDMARKDMG = other.RCDMARKDMG; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Id = input.ReadInt64(); - break; - } - case 16: { - TemplateId = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - Lv = input.ReadInt32(); - break; - } - case 40: { - Hp = input.ReadInt32(); - break; - } - case 48: { - Atk = input.ReadInt32(); - break; - } - case 56: { - Def = input.ReadInt32(); - break; - } - case 64: { - CritRate = input.ReadInt32(); - break; - } - case 72: { - NormalCritRate = input.ReadInt32(); - break; - } - case 80: { - SkillCritRate = input.ReadInt32(); - break; - } - case 88: { - UltraCritRate = input.ReadInt32(); - break; - } - case 96: { - MarkCritRate = input.ReadInt32(); - break; - } - case 104: { - SummonCritRate = input.ReadInt32(); - break; - } - case 112: { - ProjectileCritRate = input.ReadInt32(); - break; - } - case 120: { - OtherCritRate = input.ReadInt32(); - break; - } - case 128: { - CritResistance = input.ReadInt32(); - break; - } - case 136: { - CritPower = input.ReadInt32(); - break; - } - case 144: { - NormalCritPower = input.ReadInt32(); - break; - } - case 152: { - SkillCritPower = input.ReadInt32(); - break; - } - case 160: { - UltraCritPower = input.ReadInt32(); - break; - } - case 168: { - MarkCritPower = input.ReadInt32(); - break; - } - case 176: { - SummonCritPower = input.ReadInt32(); - break; - } - case 184: { - ProjectileCritPower = input.ReadInt32(); - break; - } - case 192: { - OtherCritPower = input.ReadInt32(); - break; - } - case 200: { - HitRate = input.ReadInt32(); - break; - } - case 208: { - Evd = input.ReadInt32(); - break; - } - case 216: { - AtkSpd = input.ReadInt32(); - break; - } - case 224: { - DefPierce = input.ReadInt32(); - break; - } - case 232: { - DefIgnore = input.ReadInt32(); - break; - } - case 240: { - WEP = input.ReadInt32(); - break; - } - case 248: { - FEP = input.ReadInt32(); - break; - } - case 256: { - SEP = input.ReadInt32(); - break; - } - case 264: { - AEP = input.ReadInt32(); - break; - } - case 272: { - LEP = input.ReadInt32(); - break; - } - case 280: { - DEP = input.ReadInt32(); - break; - } - case 288: { - WEI = input.ReadInt32(); - break; - } - case 296: { - FEI = input.ReadInt32(); - break; - } - case 304: { - SEI = input.ReadInt32(); - break; - } - case 312: { - AEI = input.ReadInt32(); - break; - } - case 320: { - LEI = input.ReadInt32(); - break; - } - case 328: { - DEI = input.ReadInt32(); - break; - } - case 336: { - WEE = input.ReadInt32(); - break; - } - case 344: { - FEE = input.ReadInt32(); - break; - } - case 352: { - SEE = input.ReadInt32(); - break; - } - case 360: { - AEE = input.ReadInt32(); - break; - } - case 368: { - LEE = input.ReadInt32(); - break; - } - case 376: { - DEE = input.ReadInt32(); - break; - } - case 384: { - WER = input.ReadInt32(); - break; - } - case 392: { - FER = input.ReadInt32(); - break; - } - case 400: { - SER = input.ReadInt32(); - break; - } - case 408: { - AER = input.ReadInt32(); - break; - } - case 416: { - LER = input.ReadInt32(); - break; - } - case 424: { - DER = input.ReadInt32(); - break; - } - case 432: { - Toughness = input.ReadInt32(); - break; - } - case 440: { - Suppress = input.ReadInt32(); - break; - } - case 448: { - RCDMARKDMG = 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.ReadInt64(); - break; - } - case 16: { - TemplateId = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - Lv = input.ReadInt32(); - break; - } - case 40: { - Hp = input.ReadInt32(); - break; - } - case 48: { - Atk = input.ReadInt32(); - break; - } - case 56: { - Def = input.ReadInt32(); - break; - } - case 64: { - CritRate = input.ReadInt32(); - break; - } - case 72: { - NormalCritRate = input.ReadInt32(); - break; - } - case 80: { - SkillCritRate = input.ReadInt32(); - break; - } - case 88: { - UltraCritRate = input.ReadInt32(); - break; - } - case 96: { - MarkCritRate = input.ReadInt32(); - break; - } - case 104: { - SummonCritRate = input.ReadInt32(); - break; - } - case 112: { - ProjectileCritRate = input.ReadInt32(); - break; - } - case 120: { - OtherCritRate = input.ReadInt32(); - break; - } - case 128: { - CritResistance = input.ReadInt32(); - break; - } - case 136: { - CritPower = input.ReadInt32(); - break; - } - case 144: { - NormalCritPower = input.ReadInt32(); - break; - } - case 152: { - SkillCritPower = input.ReadInt32(); - break; - } - case 160: { - UltraCritPower = input.ReadInt32(); - break; - } - case 168: { - MarkCritPower = input.ReadInt32(); - break; - } - case 176: { - SummonCritPower = input.ReadInt32(); - break; - } - case 184: { - ProjectileCritPower = input.ReadInt32(); - break; - } - case 192: { - OtherCritPower = input.ReadInt32(); - break; - } - case 200: { - HitRate = input.ReadInt32(); - break; - } - case 208: { - Evd = input.ReadInt32(); - break; - } - case 216: { - AtkSpd = input.ReadInt32(); - break; - } - case 224: { - DefPierce = input.ReadInt32(); - break; - } - case 232: { - DefIgnore = input.ReadInt32(); - break; - } - case 240: { - WEP = input.ReadInt32(); - break; - } - case 248: { - FEP = input.ReadInt32(); - break; - } - case 256: { - SEP = input.ReadInt32(); - break; - } - case 264: { - AEP = input.ReadInt32(); - break; - } - case 272: { - LEP = input.ReadInt32(); - break; - } - case 280: { - DEP = input.ReadInt32(); - break; - } - case 288: { - WEI = input.ReadInt32(); - break; - } - case 296: { - FEI = input.ReadInt32(); - break; - } - case 304: { - SEI = input.ReadInt32(); - break; - } - case 312: { - AEI = input.ReadInt32(); - break; - } - case 320: { - LEI = input.ReadInt32(); - break; - } - case 328: { - DEI = input.ReadInt32(); - break; - } - case 336: { - WEE = input.ReadInt32(); - break; - } - case 344: { - FEE = input.ReadInt32(); - break; - } - case 352: { - SEE = input.ReadInt32(); - break; - } - case 360: { - AEE = input.ReadInt32(); - break; - } - case 368: { - LEE = input.ReadInt32(); - break; - } - case 376: { - DEE = input.ReadInt32(); - break; - } - case 384: { - WER = input.ReadInt32(); - break; - } - case 392: { - FER = input.ReadInt32(); - break; - } - case 400: { - SER = input.ReadInt32(); - break; - } - case 408: { - AER = input.ReadInt32(); - break; - } - case 416: { - LER = input.ReadInt32(); - break; - } - case 424: { - DER = input.ReadInt32(); - break; - } - case 432: { - Toughness = input.ReadInt32(); - break; - } - case 440: { - Suppress = input.ReadInt32(); - break; - } - case 448: { - RCDMARKDMG = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonsterValueTempleteAdjust.cs b/Novaria.Common/Protos/MonsterValueTempleteAdjust.cs deleted file mode 100644 index 2f6e594..0000000 --- a/Novaria.Common/Protos/MonsterValueTempleteAdjust.cs +++ /dev/null @@ -1,1131 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonsterValueTempleteAdjust.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 MonsterValueTempleteAdjust.proto - public static partial class MonsterValueTempleteAdjustReflection { - - #region Descriptor - /// File descriptor for MonsterValueTempleteAdjust.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonsterValueTempleteAdjustReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiBNb25zdGVyVmFsdWVUZW1wbGV0ZUFkanVzdC5wcm90byKCBAoaTW9uc3Rl", - "clZhbHVlVGVtcGxldGVBZGp1c3QSCgoCaWQYASABKAMSEwoLdGVtcGxhdGVf", - "aWQYAiABKAUSDAoEbmFtZRgDIAEoCRINCgVlX2VfdBgEIAEoBRISCgp3ZWFr", - "X2VfZV90GAUgAygFEhAKCGhwX3JhdGlvGAYgASgFEg4KBmhwX2ZpeBgHIAEo", - "BRIRCglhdGtfcmF0aW8YCCABKAUSDwoHYXRrX2ZpeBgJIAEoBRITCgt3X2Vf", - "cl9yYXRpbxgKIAEoBRIRCgl3X2Vfcl9maXgYCyABKAUSEwoLZl9lX3JfcmF0", - "aW8YDCABKAUSEQoJZl9lX3JfZml4GA0gASgFEhMKC3NfZV9yX3JhdGlvGA4g", - "ASgFEhEKCXNfZV9yX2ZpeBgPIAEoBRITCgthX2Vfcl9yYXRpbxgQIAEoBRIR", - "CglhX2Vfcl9maXgYESABKAUSEwoLbF9lX3JfcmF0aW8YEiABKAUSEQoJbF9l", - "X3JfZml4GBMgASgFEhMKC2RfZV9yX3JhdGlvGBQgASgFEhEKCWRfZV9yX2Zp", - "eBgVIAEoBRIXCg90b3VnaG5lc3NfcmF0aW8YFiABKAUSFQoNdG91Z2huZXNz", - "X2ZpeBgXIAEoBRIWCg5zdXBwcmVzc19yYXRpbxgYIAEoBRIUCgxzdXBwcmVz", - "c19maXgYGSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterValueTempleteAdjust), global::Nova.Client.MonsterValueTempleteAdjust.Parser, new[]{ "Id", "TemplateId", "Name", "EET", "WeakEET", "HpRatio", "HpFix", "AtkRatio", "AtkFix", "WERRatio", "WERFix", "FERRatio", "FERFix", "SERRatio", "SERFix", "AERRatio", "AERFix", "LERRatio", "LERFix", "DERRatio", "DERFix", "ToughnessRatio", "ToughnessFix", "SuppressRatio", "SuppressFix" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonsterValueTempleteAdjust : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonsterValueTempleteAdjust()); - 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.MonsterValueTempleteAdjustReflection.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 MonsterValueTempleteAdjust() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterValueTempleteAdjust(MonsterValueTempleteAdjust other) : this() { - id_ = other.id_; - templateId_ = other.templateId_; - name_ = other.name_; - eET_ = other.eET_; - weakEET_ = other.weakEET_.Clone(); - hpRatio_ = other.hpRatio_; - hpFix_ = other.hpFix_; - atkRatio_ = other.atkRatio_; - atkFix_ = other.atkFix_; - wERRatio_ = other.wERRatio_; - wERFix_ = other.wERFix_; - fERRatio_ = other.fERRatio_; - fERFix_ = other.fERFix_; - sERRatio_ = other.sERRatio_; - sERFix_ = other.sERFix_; - aERRatio_ = other.aERRatio_; - aERFix_ = other.aERFix_; - lERRatio_ = other.lERRatio_; - lERFix_ = other.lERFix_; - dERRatio_ = other.dERRatio_; - dERFix_ = other.dERFix_; - toughnessRatio_ = other.toughnessRatio_; - toughnessFix_ = other.toughnessFix_; - suppressRatio_ = other.suppressRatio_; - suppressFix_ = other.suppressFix_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonsterValueTempleteAdjust Clone() { - return new MonsterValueTempleteAdjust(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private long id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Id { - get { return id_; } - set { - id_ = value; - } - } - - /// Field number for the "template_id" field. - public const int TemplateIdFieldNumber = 2; - private int templateId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TemplateId { - get { return templateId_; } - set { - templateId_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 "e_e_t" field. - public const int EETFieldNumber = 4; - private int eET_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EET { - get { return eET_; } - set { - eET_ = value; - } - } - - /// Field number for the "weak_e_e_t" field. - public const int WeakEETFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_weakEET_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField weakEET_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField WeakEET { - get { return weakEET_; } - } - - /// Field number for the "hp_ratio" field. - public const int HpRatioFieldNumber = 6; - private int hpRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HpRatio { - get { return hpRatio_; } - set { - hpRatio_ = value; - } - } - - /// Field number for the "hp_fix" field. - public const int HpFixFieldNumber = 7; - private int hpFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HpFix { - get { return hpFix_; } - set { - hpFix_ = value; - } - } - - /// Field number for the "atk_ratio" field. - public const int AtkRatioFieldNumber = 8; - private int atkRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AtkRatio { - get { return atkRatio_; } - set { - atkRatio_ = value; - } - } - - /// Field number for the "atk_fix" field. - public const int AtkFixFieldNumber = 9; - private int atkFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AtkFix { - get { return atkFix_; } - set { - atkFix_ = value; - } - } - - /// Field number for the "w_e_r_ratio" field. - public const int WERRatioFieldNumber = 10; - private int wERRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WERRatio { - get { return wERRatio_; } - set { - wERRatio_ = value; - } - } - - /// Field number for the "w_e_r_fix" field. - public const int WERFixFieldNumber = 11; - private int wERFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WERFix { - get { return wERFix_; } - set { - wERFix_ = value; - } - } - - /// Field number for the "f_e_r_ratio" field. - public const int FERRatioFieldNumber = 12; - private int fERRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FERRatio { - get { return fERRatio_; } - set { - fERRatio_ = value; - } - } - - /// Field number for the "f_e_r_fix" field. - public const int FERFixFieldNumber = 13; - private int fERFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FERFix { - get { return fERFix_; } - set { - fERFix_ = value; - } - } - - /// Field number for the "s_e_r_ratio" field. - public const int SERRatioFieldNumber = 14; - private int sERRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SERRatio { - get { return sERRatio_; } - set { - sERRatio_ = value; - } - } - - /// Field number for the "s_e_r_fix" field. - public const int SERFixFieldNumber = 15; - private int sERFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SERFix { - get { return sERFix_; } - set { - sERFix_ = value; - } - } - - /// Field number for the "a_e_r_ratio" field. - public const int AERRatioFieldNumber = 16; - private int aERRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AERRatio { - get { return aERRatio_; } - set { - aERRatio_ = value; - } - } - - /// Field number for the "a_e_r_fix" field. - public const int AERFixFieldNumber = 17; - private int aERFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AERFix { - get { return aERFix_; } - set { - aERFix_ = value; - } - } - - /// Field number for the "l_e_r_ratio" field. - public const int LERRatioFieldNumber = 18; - private int lERRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LERRatio { - get { return lERRatio_; } - set { - lERRatio_ = value; - } - } - - /// Field number for the "l_e_r_fix" field. - public const int LERFixFieldNumber = 19; - private int lERFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LERFix { - get { return lERFix_; } - set { - lERFix_ = value; - } - } - - /// Field number for the "d_e_r_ratio" field. - public const int DERRatioFieldNumber = 20; - private int dERRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DERRatio { - get { return dERRatio_; } - set { - dERRatio_ = value; - } - } - - /// Field number for the "d_e_r_fix" field. - public const int DERFixFieldNumber = 21; - private int dERFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DERFix { - get { return dERFix_; } - set { - dERFix_ = value; - } - } - - /// Field number for the "toughness_ratio" field. - public const int ToughnessRatioFieldNumber = 22; - private int toughnessRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToughnessRatio { - get { return toughnessRatio_; } - set { - toughnessRatio_ = value; - } - } - - /// Field number for the "toughness_fix" field. - public const int ToughnessFixFieldNumber = 23; - private int toughnessFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToughnessFix { - get { return toughnessFix_; } - set { - toughnessFix_ = value; - } - } - - /// Field number for the "suppress_ratio" field. - public const int SuppressRatioFieldNumber = 24; - private int suppressRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SuppressRatio { - get { return suppressRatio_; } - set { - suppressRatio_ = value; - } - } - - /// Field number for the "suppress_fix" field. - public const int SuppressFixFieldNumber = 25; - private int suppressFix_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SuppressFix { - get { return suppressFix_; } - set { - suppressFix_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonsterValueTempleteAdjust); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonsterValueTempleteAdjust other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (TemplateId != other.TemplateId) return false; - if (Name != other.Name) return false; - if (EET != other.EET) return false; - if(!weakEET_.Equals(other.weakEET_)) return false; - if (HpRatio != other.HpRatio) return false; - if (HpFix != other.HpFix) return false; - if (AtkRatio != other.AtkRatio) return false; - if (AtkFix != other.AtkFix) return false; - if (WERRatio != other.WERRatio) return false; - if (WERFix != other.WERFix) return false; - if (FERRatio != other.FERRatio) return false; - if (FERFix != other.FERFix) return false; - if (SERRatio != other.SERRatio) return false; - if (SERFix != other.SERFix) return false; - if (AERRatio != other.AERRatio) return false; - if (AERFix != other.AERFix) return false; - if (LERRatio != other.LERRatio) return false; - if (LERFix != other.LERFix) return false; - if (DERRatio != other.DERRatio) return false; - if (DERFix != other.DERFix) return false; - if (ToughnessRatio != other.ToughnessRatio) return false; - if (ToughnessFix != other.ToughnessFix) return false; - if (SuppressRatio != other.SuppressRatio) return false; - if (SuppressFix != other.SuppressFix) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (Id != 0L) hash ^= Id.GetHashCode(); - if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (EET != 0) hash ^= EET.GetHashCode(); - hash ^= weakEET_.GetHashCode(); - if (HpRatio != 0) hash ^= HpRatio.GetHashCode(); - if (HpFix != 0) hash ^= HpFix.GetHashCode(); - if (AtkRatio != 0) hash ^= AtkRatio.GetHashCode(); - if (AtkFix != 0) hash ^= AtkFix.GetHashCode(); - if (WERRatio != 0) hash ^= WERRatio.GetHashCode(); - if (WERFix != 0) hash ^= WERFix.GetHashCode(); - if (FERRatio != 0) hash ^= FERRatio.GetHashCode(); - if (FERFix != 0) hash ^= FERFix.GetHashCode(); - if (SERRatio != 0) hash ^= SERRatio.GetHashCode(); - if (SERFix != 0) hash ^= SERFix.GetHashCode(); - if (AERRatio != 0) hash ^= AERRatio.GetHashCode(); - if (AERFix != 0) hash ^= AERFix.GetHashCode(); - if (LERRatio != 0) hash ^= LERRatio.GetHashCode(); - if (LERFix != 0) hash ^= LERFix.GetHashCode(); - if (DERRatio != 0) hash ^= DERRatio.GetHashCode(); - if (DERFix != 0) hash ^= DERFix.GetHashCode(); - if (ToughnessRatio != 0) hash ^= ToughnessRatio.GetHashCode(); - if (ToughnessFix != 0) hash ^= ToughnessFix.GetHashCode(); - if (SuppressRatio != 0) hash ^= SuppressRatio.GetHashCode(); - if (SuppressFix != 0) hash ^= SuppressFix.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (Id != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Id); - } - if (TemplateId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TemplateId); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (EET != 0) { - output.WriteRawTag(32); - output.WriteInt32(EET); - } - weakEET_.WriteTo(output, _repeated_weakEET_codec); - if (HpRatio != 0) { - output.WriteRawTag(48); - output.WriteInt32(HpRatio); - } - if (HpFix != 0) { - output.WriteRawTag(56); - output.WriteInt32(HpFix); - } - if (AtkRatio != 0) { - output.WriteRawTag(64); - output.WriteInt32(AtkRatio); - } - if (AtkFix != 0) { - output.WriteRawTag(72); - output.WriteInt32(AtkFix); - } - if (WERRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(WERRatio); - } - if (WERFix != 0) { - output.WriteRawTag(88); - output.WriteInt32(WERFix); - } - if (FERRatio != 0) { - output.WriteRawTag(96); - output.WriteInt32(FERRatio); - } - if (FERFix != 0) { - output.WriteRawTag(104); - output.WriteInt32(FERFix); - } - if (SERRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(SERRatio); - } - if (SERFix != 0) { - output.WriteRawTag(120); - output.WriteInt32(SERFix); - } - if (AERRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AERRatio); - } - if (AERFix != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AERFix); - } - if (LERRatio != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(LERRatio); - } - if (LERFix != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(LERFix); - } - if (DERRatio != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DERRatio); - } - if (DERFix != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(DERFix); - } - if (ToughnessRatio != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(ToughnessRatio); - } - if (ToughnessFix != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ToughnessFix); - } - if (SuppressRatio != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(SuppressRatio); - } - if (SuppressFix != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(SuppressFix); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Id); - } - if (TemplateId != 0) { - output.WriteRawTag(16); - output.WriteInt32(TemplateId); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (EET != 0) { - output.WriteRawTag(32); - output.WriteInt32(EET); - } - weakEET_.WriteTo(ref output, _repeated_weakEET_codec); - if (HpRatio != 0) { - output.WriteRawTag(48); - output.WriteInt32(HpRatio); - } - if (HpFix != 0) { - output.WriteRawTag(56); - output.WriteInt32(HpFix); - } - if (AtkRatio != 0) { - output.WriteRawTag(64); - output.WriteInt32(AtkRatio); - } - if (AtkFix != 0) { - output.WriteRawTag(72); - output.WriteInt32(AtkFix); - } - if (WERRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(WERRatio); - } - if (WERFix != 0) { - output.WriteRawTag(88); - output.WriteInt32(WERFix); - } - if (FERRatio != 0) { - output.WriteRawTag(96); - output.WriteInt32(FERRatio); - } - if (FERFix != 0) { - output.WriteRawTag(104); - output.WriteInt32(FERFix); - } - if (SERRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(SERRatio); - } - if (SERFix != 0) { - output.WriteRawTag(120); - output.WriteInt32(SERFix); - } - if (AERRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(AERRatio); - } - if (AERFix != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AERFix); - } - if (LERRatio != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(LERRatio); - } - if (LERFix != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(LERFix); - } - if (DERRatio != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DERRatio); - } - if (DERFix != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(DERFix); - } - if (ToughnessRatio != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(ToughnessRatio); - } - if (ToughnessFix != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ToughnessFix); - } - if (SuppressRatio != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(SuppressRatio); - } - if (SuppressFix != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(SuppressFix); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (Id != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); - } - if (TemplateId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (EET != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); - } - size += weakEET_.CalculateSize(_repeated_weakEET_codec); - if (HpRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HpRatio); - } - if (HpFix != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HpFix); - } - if (AtkRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AtkRatio); - } - if (AtkFix != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AtkFix); - } - if (WERRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WERRatio); - } - if (WERFix != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WERFix); - } - if (FERRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FERRatio); - } - if (FERFix != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FERFix); - } - if (SERRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SERRatio); - } - if (SERFix != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SERFix); - } - if (AERRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AERRatio); - } - if (AERFix != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AERFix); - } - if (LERRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LERRatio); - } - if (LERFix != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LERFix); - } - if (DERRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DERRatio); - } - if (DERFix != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DERFix); - } - if (ToughnessRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessRatio); - } - if (ToughnessFix != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessFix); - } - if (SuppressRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SuppressRatio); - } - if (SuppressFix != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SuppressFix); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonsterValueTempleteAdjust other) { - if (other == null) { - return; - } - if (other.Id != 0L) { - Id = other.Id; - } - if (other.TemplateId != 0) { - TemplateId = other.TemplateId; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.EET != 0) { - EET = other.EET; - } - weakEET_.Add(other.weakEET_); - if (other.HpRatio != 0) { - HpRatio = other.HpRatio; - } - if (other.HpFix != 0) { - HpFix = other.HpFix; - } - if (other.AtkRatio != 0) { - AtkRatio = other.AtkRatio; - } - if (other.AtkFix != 0) { - AtkFix = other.AtkFix; - } - if (other.WERRatio != 0) { - WERRatio = other.WERRatio; - } - if (other.WERFix != 0) { - WERFix = other.WERFix; - } - if (other.FERRatio != 0) { - FERRatio = other.FERRatio; - } - if (other.FERFix != 0) { - FERFix = other.FERFix; - } - if (other.SERRatio != 0) { - SERRatio = other.SERRatio; - } - if (other.SERFix != 0) { - SERFix = other.SERFix; - } - if (other.AERRatio != 0) { - AERRatio = other.AERRatio; - } - if (other.AERFix != 0) { - AERFix = other.AERFix; - } - if (other.LERRatio != 0) { - LERRatio = other.LERRatio; - } - if (other.LERFix != 0) { - LERFix = other.LERFix; - } - if (other.DERRatio != 0) { - DERRatio = other.DERRatio; - } - if (other.DERFix != 0) { - DERFix = other.DERFix; - } - if (other.ToughnessRatio != 0) { - ToughnessRatio = other.ToughnessRatio; - } - if (other.ToughnessFix != 0) { - ToughnessFix = other.ToughnessFix; - } - if (other.SuppressRatio != 0) { - SuppressRatio = other.SuppressRatio; - } - if (other.SuppressFix != 0) { - SuppressFix = other.SuppressFix; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - if ((tag & 7) == 4) { - // Abort on any end group tag. - return; - } - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Id = input.ReadInt64(); - break; - } - case 16: { - TemplateId = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - EET = input.ReadInt32(); - break; - } - case 42: - case 40: { - weakEET_.AddEntriesFrom(input, _repeated_weakEET_codec); - break; - } - case 48: { - HpRatio = input.ReadInt32(); - break; - } - case 56: { - HpFix = input.ReadInt32(); - break; - } - case 64: { - AtkRatio = input.ReadInt32(); - break; - } - case 72: { - AtkFix = input.ReadInt32(); - break; - } - case 80: { - WERRatio = input.ReadInt32(); - break; - } - case 88: { - WERFix = input.ReadInt32(); - break; - } - case 96: { - FERRatio = input.ReadInt32(); - break; - } - case 104: { - FERFix = input.ReadInt32(); - break; - } - case 112: { - SERRatio = input.ReadInt32(); - break; - } - case 120: { - SERFix = input.ReadInt32(); - break; - } - case 128: { - AERRatio = input.ReadInt32(); - break; - } - case 136: { - AERFix = input.ReadInt32(); - break; - } - case 144: { - LERRatio = input.ReadInt32(); - break; - } - case 152: { - LERFix = input.ReadInt32(); - break; - } - case 160: { - DERRatio = input.ReadInt32(); - break; - } - case 168: { - DERFix = input.ReadInt32(); - break; - } - case 176: { - ToughnessRatio = input.ReadInt32(); - break; - } - case 184: { - ToughnessFix = input.ReadInt32(); - break; - } - case 192: { - SuppressRatio = input.ReadInt32(); - break; - } - case 200: { - SuppressFix = 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.ReadInt64(); - break; - } - case 16: { - TemplateId = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - EET = input.ReadInt32(); - break; - } - case 42: - case 40: { - weakEET_.AddEntriesFrom(ref input, _repeated_weakEET_codec); - break; - } - case 48: { - HpRatio = input.ReadInt32(); - break; - } - case 56: { - HpFix = input.ReadInt32(); - break; - } - case 64: { - AtkRatio = input.ReadInt32(); - break; - } - case 72: { - AtkFix = input.ReadInt32(); - break; - } - case 80: { - WERRatio = input.ReadInt32(); - break; - } - case 88: { - WERFix = input.ReadInt32(); - break; - } - case 96: { - FERRatio = input.ReadInt32(); - break; - } - case 104: { - FERFix = input.ReadInt32(); - break; - } - case 112: { - SERRatio = input.ReadInt32(); - break; - } - case 120: { - SERFix = input.ReadInt32(); - break; - } - case 128: { - AERRatio = input.ReadInt32(); - break; - } - case 136: { - AERFix = input.ReadInt32(); - break; - } - case 144: { - LERRatio = input.ReadInt32(); - break; - } - case 152: { - LERFix = input.ReadInt32(); - break; - } - case 160: { - DERRatio = input.ReadInt32(); - break; - } - case 168: { - DERFix = input.ReadInt32(); - break; - } - case 176: { - ToughnessRatio = input.ReadInt32(); - break; - } - case 184: { - ToughnessFix = input.ReadInt32(); - break; - } - case 192: { - SuppressRatio = input.ReadInt32(); - break; - } - case 200: { - SuppressFix = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/MonthlyCard.cs b/Novaria.Common/Protos/MonthlyCard.cs deleted file mode 100644 index bfd1af2..0000000 --- a/Novaria.Common/Protos/MonthlyCard.cs +++ /dev/null @@ -1,428 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MonthlyCard.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 MonthlyCard.proto - public static partial class MonthlyCardReflection { - - #region Descriptor - /// File descriptor for MonthlyCard.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MonthlyCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFNb250aGx5Q2FyZC5wcm90byJ8CgtNb250aGx5Q2FyZBIKCgJpZBgBIAEo", - "BRIPCgdjYXJkX2lkGAIgASgFEhIKCnJld2FyZF9pZDEYAyABKAUSEwoLcmV3", - "YXJkX251bTEYBCABKAUSEgoKcmV3YXJkX2lkMhgFIAEoBRITCgtyZXdhcmRf", - "bnVtMhgGIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonthlyCard), global::Nova.Client.MonthlyCard.Parser, new[]{ "Id", "CardId", "RewardId1", "RewardNum1", "RewardId2", "RewardNum2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MonthlyCard : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonthlyCard()); - 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.MonthlyCardReflection.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 MonthlyCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonthlyCard(MonthlyCard other) : this() { - id_ = other.id_; - cardId_ = other.cardId_; - rewardId1_ = other.rewardId1_; - rewardNum1_ = other.rewardNum1_; - rewardId2_ = other.rewardId2_; - rewardNum2_ = other.rewardNum2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MonthlyCard Clone() { - return new MonthlyCard(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 "card_id" field. - public const int CardIdFieldNumber = 2; - private int cardId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CardId { - get { return cardId_; } - set { - cardId_ = value; - } - } - - /// Field number for the "reward_id1" field. - public const int RewardId1FieldNumber = 3; - private int rewardId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardId1 { - get { return rewardId1_; } - set { - rewardId1_ = value; - } - } - - /// Field number for the "reward_num1" field. - public const int RewardNum1FieldNumber = 4; - private int rewardNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardNum1 { - get { return rewardNum1_; } - set { - rewardNum1_ = value; - } - } - - /// Field number for the "reward_id2" field. - public const int RewardId2FieldNumber = 5; - private int rewardId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardId2 { - get { return rewardId2_; } - set { - rewardId2_ = value; - } - } - - /// Field number for the "reward_num2" field. - public const int RewardNum2FieldNumber = 6; - private int rewardNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardNum2 { - get { return rewardNum2_; } - set { - rewardNum2_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MonthlyCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MonthlyCard other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CardId != other.CardId) return false; - if (RewardId1 != other.RewardId1) return false; - if (RewardNum1 != other.RewardNum1) return false; - if (RewardId2 != other.RewardId2) return false; - if (RewardNum2 != other.RewardNum2) 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 (CardId != 0) hash ^= CardId.GetHashCode(); - if (RewardId1 != 0) hash ^= RewardId1.GetHashCode(); - if (RewardNum1 != 0) hash ^= RewardNum1.GetHashCode(); - if (RewardId2 != 0) hash ^= RewardId2.GetHashCode(); - if (RewardNum2 != 0) hash ^= RewardNum2.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 (CardId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CardId); - } - if (RewardId1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(RewardId1); - } - if (RewardNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(RewardNum1); - } - if (RewardId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(RewardId2); - } - if (RewardNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(RewardNum2); - } - 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 (CardId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CardId); - } - if (RewardId1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(RewardId1); - } - if (RewardNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(RewardNum1); - } - if (RewardId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(RewardId2); - } - if (RewardNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(RewardNum2); - } - 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 (CardId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CardId); - } - if (RewardId1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId1); - } - if (RewardNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardNum1); - } - if (RewardId2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId2); - } - if (RewardNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardNum2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MonthlyCard other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CardId != 0) { - CardId = other.CardId; - } - if (other.RewardId1 != 0) { - RewardId1 = other.RewardId1; - } - if (other.RewardNum1 != 0) { - RewardNum1 = other.RewardNum1; - } - if (other.RewardId2 != 0) { - RewardId2 = other.RewardId2; - } - if (other.RewardNum2 != 0) { - RewardNum2 = other.RewardNum2; - } - _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: { - CardId = input.ReadInt32(); - break; - } - case 24: { - RewardId1 = input.ReadInt32(); - break; - } - case 32: { - RewardNum1 = input.ReadInt32(); - break; - } - case 40: { - RewardId2 = input.ReadInt32(); - break; - } - case 48: { - RewardNum2 = 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: { - CardId = input.ReadInt32(); - break; - } - case 24: { - RewardId1 = input.ReadInt32(); - break; - } - case 32: { - RewardNum1 = input.ReadInt32(); - break; - } - case 40: { - RewardId2 = input.ReadInt32(); - break; - } - case 48: { - RewardNum2 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/NPCConfig.cs b/Novaria.Common/Protos/NPCConfig.cs deleted file mode 100644 index 25ff53f..0000000 --- a/Novaria.Common/Protos/NPCConfig.cs +++ /dev/null @@ -1,634 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: NPCConfig.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 NPCConfig.proto - public static partial class NPCConfigReflection { - - #region Descriptor - /// File descriptor for NPCConfig.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static NPCConfigReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9OUENDb25maWcucHJvdG8i1AEKCU5QQ0NvbmZpZxIKCgJpZBgBIAEoBRIM", - "CgR0eXBlGAIgASgFEgwKBG5hbWUYAyABKAkSDAoEZGVzYxgEIAEoCRIQCghs", - "aXRlcmFyeRgFIAEoCRIVCg1yZWZyZXNoX3BvaW50GAYgASgFEhMKC2ZpcnN0", - "X2xpbmVzGAcgASgFEg0KBWxpbmVzGAggAygFEgwKBGNoYXQYCSADKAUSEQoJ", - "Y2hhdF9wcm9wGAogASgFEhEKCWNoYXRfdGltZRgLIAEoBRIQCghuX3BfY19p", - "ZBgMIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.NPCConfig), global::Nova.Client.NPCConfig.Parser, new[]{ "Id", "Type", "Name", "Desc", "Literary", "RefreshPoint", "FirstLines", "Lines", "Chat", "ChatProp", "ChatTime", "NPCId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class NPCConfig : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NPCConfig()); - 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.NPCConfigReflection.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 NPCConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NPCConfig(NPCConfig other) : this() { - id_ = other.id_; - type_ = other.type_; - name_ = other.name_; - desc_ = other.desc_; - literary_ = other.literary_; - refreshPoint_ = other.refreshPoint_; - firstLines_ = other.firstLines_; - lines_ = other.lines_.Clone(); - chat_ = other.chat_.Clone(); - chatProp_ = other.chatProp_; - chatTime_ = other.chatTime_; - nPCId_ = other.nPCId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NPCConfig Clone() { - return new NPCConfig(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 "type" field. - public const int TypeFieldNumber = 2; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 = 4; - 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 "literary" field. - public const int LiteraryFieldNumber = 5; - private string literary_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Literary { - get { return literary_; } - set { - literary_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "refresh_point" field. - public const int RefreshPointFieldNumber = 6; - private int refreshPoint_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshPoint { - get { return refreshPoint_; } - set { - refreshPoint_ = value; - } - } - - /// Field number for the "first_lines" field. - public const int FirstLinesFieldNumber = 7; - private int firstLines_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FirstLines { - get { return firstLines_; } - set { - firstLines_ = value; - } - } - - /// Field number for the "lines" field. - public const int LinesFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_lines_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField lines_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Lines { - get { return lines_; } - } - - /// Field number for the "chat" field. - public const int ChatFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_chat_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField chat_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Chat { - get { return chat_; } - } - - /// Field number for the "chat_prop" field. - public const int ChatPropFieldNumber = 10; - private int chatProp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ChatProp { - get { return chatProp_; } - set { - chatProp_ = value; - } - } - - /// Field number for the "chat_time" field. - public const int ChatTimeFieldNumber = 11; - private int chatTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ChatTime { - get { return chatTime_; } - set { - chatTime_ = value; - } - } - - /// Field number for the "n_p_c_id" field. - public const int NPCIdFieldNumber = 12; - private int nPCId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NPCId { - get { return nPCId_; } - set { - nPCId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as NPCConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(NPCConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Type != other.Type) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (Literary != other.Literary) return false; - if (RefreshPoint != other.RefreshPoint) return false; - if (FirstLines != other.FirstLines) return false; - if(!lines_.Equals(other.lines_)) return false; - if(!chat_.Equals(other.chat_)) return false; - if (ChatProp != other.ChatProp) return false; - if (ChatTime != other.ChatTime) return false; - if (NPCId != other.NPCId) 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 (Type != 0) hash ^= Type.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Literary.Length != 0) hash ^= Literary.GetHashCode(); - if (RefreshPoint != 0) hash ^= RefreshPoint.GetHashCode(); - if (FirstLines != 0) hash ^= FirstLines.GetHashCode(); - hash ^= lines_.GetHashCode(); - hash ^= chat_.GetHashCode(); - if (ChatProp != 0) hash ^= ChatProp.GetHashCode(); - if (ChatTime != 0) hash ^= ChatTime.GetHashCode(); - if (NPCId != 0) hash ^= NPCId.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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Literary.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Literary); - } - if (RefreshPoint != 0) { - output.WriteRawTag(48); - output.WriteInt32(RefreshPoint); - } - if (FirstLines != 0) { - output.WriteRawTag(56); - output.WriteInt32(FirstLines); - } - lines_.WriteTo(output, _repeated_lines_codec); - chat_.WriteTo(output, _repeated_chat_codec); - if (ChatProp != 0) { - output.WriteRawTag(80); - output.WriteInt32(ChatProp); - } - if (ChatTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(ChatTime); - } - if (NPCId != 0) { - output.WriteRawTag(96); - output.WriteInt32(NPCId); - } - 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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Literary.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Literary); - } - if (RefreshPoint != 0) { - output.WriteRawTag(48); - output.WriteInt32(RefreshPoint); - } - if (FirstLines != 0) { - output.WriteRawTag(56); - output.WriteInt32(FirstLines); - } - lines_.WriteTo(ref output, _repeated_lines_codec); - chat_.WriteTo(ref output, _repeated_chat_codec); - if (ChatProp != 0) { - output.WriteRawTag(80); - output.WriteInt32(ChatProp); - } - if (ChatTime != 0) { - output.WriteRawTag(88); - output.WriteInt32(ChatTime); - } - if (NPCId != 0) { - output.WriteRawTag(96); - output.WriteInt32(NPCId); - } - 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 (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Literary.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Literary); - } - if (RefreshPoint != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshPoint); - } - if (FirstLines != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FirstLines); - } - size += lines_.CalculateSize(_repeated_lines_codec); - size += chat_.CalculateSize(_repeated_chat_codec); - if (ChatProp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChatProp); - } - if (ChatTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChatTime); - } - if (NPCId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NPCId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(NPCConfig other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Literary.Length != 0) { - Literary = other.Literary; - } - if (other.RefreshPoint != 0) { - RefreshPoint = other.RefreshPoint; - } - if (other.FirstLines != 0) { - FirstLines = other.FirstLines; - } - lines_.Add(other.lines_); - chat_.Add(other.chat_); - if (other.ChatProp != 0) { - ChatProp = other.ChatProp; - } - if (other.ChatTime != 0) { - ChatTime = other.ChatTime; - } - if (other.NPCId != 0) { - NPCId = other.NPCId; - } - _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: { - Type = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - Literary = input.ReadString(); - break; - } - case 48: { - RefreshPoint = input.ReadInt32(); - break; - } - case 56: { - FirstLines = input.ReadInt32(); - break; - } - case 66: - case 64: { - lines_.AddEntriesFrom(input, _repeated_lines_codec); - break; - } - case 74: - case 72: { - chat_.AddEntriesFrom(input, _repeated_chat_codec); - break; - } - case 80: { - ChatProp = input.ReadInt32(); - break; - } - case 88: { - ChatTime = input.ReadInt32(); - break; - } - case 96: { - NPCId = 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: { - Type = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - Literary = input.ReadString(); - break; - } - case 48: { - RefreshPoint = input.ReadInt32(); - break; - } - case 56: { - FirstLines = input.ReadInt32(); - break; - } - case 66: - case 64: { - lines_.AddEntriesFrom(ref input, _repeated_lines_codec); - break; - } - case 74: - case 72: { - chat_.AddEntriesFrom(ref input, _repeated_chat_codec); - break; - } - case 80: { - ChatProp = input.ReadInt32(); - break; - } - case 88: { - ChatTime = input.ReadInt32(); - break; - } - case 96: { - NPCId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/NPCSkin.cs b/Novaria.Common/Protos/NPCSkin.cs deleted file mode 100644 index 956551b..0000000 --- a/Novaria.Common/Protos/NPCSkin.cs +++ /dev/null @@ -1,914 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: NPCSkin.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 NPCSkin.proto - public static partial class NPCSkinReflection { - - #region Descriptor - /// File descriptor for NPCSkin.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static NPCSkinReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg1OUENTa2luLnByb3RvIukCCgdOUENTa2luEgoKAmlkGAEgASgFEgwKBG5h", - "bWUYAiABKAkSDAoEZGVzYxgDIAEoCRIPCgdpc19zaG93GAQgASgIEg8KB2No", - "YXJfaWQYBSABKAUSDAoEdHlwZRgGIAEoBRITCgtzb3VyY2VfZGVzYxgHIAEo", - "BRIMCgRpY29uGAggASgJEhYKDnNtYWxsX3BvcnRyYWl0GAkgASgJEhMKC21v", - "ZGVsX3NjYWxlGAogASgFEg0KBW1vZGVsGAsgASgJEhAKCHBvcnRyYWl0GAwg", - "ASgJEgoKAmJnGA0gASgJEg4KBm9mZnNldBgOIAEoCRIMCgRsMl9kGA8gASgJ", - "EhwKFGZ1bGxfc2NyZWVuX3BvcnRyYWl0GBAgASgJEhIKCnNraW5fdGhlbWUY", - "ESABKAUSGgoSaW50ZXJhY3RpdmVfYWN0aW9uGBIgASgIEh0KFWludGVyYWN0", - "aXZlX2FjdGlvbl9pZBgTIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.NPCSkin), global::Nova.Client.NPCSkin.Parser, new[]{ "Id", "Name", "Desc", "IsShow", "CharId", "Type", "SourceDesc", "Icon", "SmallPortrait", "ModelScale", "Model", "Portrait", "Bg", "Offset", "L2D", "FullScreenPortrait", "SkinTheme", "InteractiveAction", "InteractiveActionId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class NPCSkin : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NPCSkin()); - 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.NPCSkinReflection.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 NPCSkin() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NPCSkin(NPCSkin other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - isShow_ = other.isShow_; - charId_ = other.charId_; - type_ = other.type_; - sourceDesc_ = other.sourceDesc_; - icon_ = other.icon_; - smallPortrait_ = other.smallPortrait_; - modelScale_ = other.modelScale_; - model_ = other.model_; - portrait_ = other.portrait_; - bg_ = other.bg_; - offset_ = other.offset_; - l2D_ = other.l2D_; - fullScreenPortrait_ = other.fullScreenPortrait_; - skinTheme_ = other.skinTheme_; - interactiveAction_ = other.interactiveAction_; - interactiveActionId_ = other.interactiveActionId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NPCSkin Clone() { - return new NPCSkin(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "is_show" field. - public const int IsShowFieldNumber = 4; - private bool isShow_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsShow { - get { return isShow_; } - set { - isShow_ = value; - } - } - - /// Field number for the "char_id" field. - public const int CharIdFieldNumber = 5; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "type" field. - public const int TypeFieldNumber = 6; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// Field number for the "source_desc" field. - public const int SourceDescFieldNumber = 7; - private int sourceDesc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SourceDesc { - get { return sourceDesc_; } - set { - sourceDesc_ = value; - } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 8; - 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 "small_portrait" field. - public const int SmallPortraitFieldNumber = 9; - private string smallPortrait_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SmallPortrait { - get { return smallPortrait_; } - set { - smallPortrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "model_scale" field. - public const int ModelScaleFieldNumber = 10; - private int modelScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ModelScale { - get { return modelScale_; } - set { - modelScale_ = value; - } - } - - /// Field number for the "model" field. - public const int ModelFieldNumber = 11; - private string model_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Model { - get { return model_; } - set { - model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "portrait" field. - public const int PortraitFieldNumber = 12; - private string portrait_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Portrait { - get { return portrait_; } - set { - portrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "bg" field. - public const int BgFieldNumber = 13; - private string bg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bg { - get { return bg_; } - set { - bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "offset" field. - public const int OffsetFieldNumber = 14; - private string offset_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Offset { - get { return offset_; } - set { - offset_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "l2_d" field. - public const int L2DFieldNumber = 15; - private string l2D_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string L2D { - get { return l2D_; } - set { - l2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "full_screen_portrait" field. - public const int FullScreenPortraitFieldNumber = 16; - private string fullScreenPortrait_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FullScreenPortrait { - get { return fullScreenPortrait_; } - set { - fullScreenPortrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "skin_theme" field. - public const int SkinThemeFieldNumber = 17; - private int skinTheme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkinTheme { - get { return skinTheme_; } - set { - skinTheme_ = value; - } - } - - /// Field number for the "interactive_action" field. - public const int InteractiveActionFieldNumber = 18; - private bool interactiveAction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool InteractiveAction { - get { return interactiveAction_; } - set { - interactiveAction_ = value; - } - } - - /// Field number for the "interactive_action_id" field. - public const int InteractiveActionIdFieldNumber = 19; - private int interactiveActionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int InteractiveActionId { - get { return interactiveActionId_; } - set { - interactiveActionId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as NPCSkin); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(NPCSkin 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 (Desc != other.Desc) return false; - if (IsShow != other.IsShow) return false; - if (CharId != other.CharId) return false; - if (Type != other.Type) return false; - if (SourceDesc != other.SourceDesc) return false; - if (Icon != other.Icon) return false; - if (SmallPortrait != other.SmallPortrait) return false; - if (ModelScale != other.ModelScale) return false; - if (Model != other.Model) return false; - if (Portrait != other.Portrait) return false; - if (Bg != other.Bg) return false; - if (Offset != other.Offset) return false; - if (L2D != other.L2D) return false; - if (FullScreenPortrait != other.FullScreenPortrait) return false; - if (SkinTheme != other.SkinTheme) return false; - if (InteractiveAction != other.InteractiveAction) return false; - if (InteractiveActionId != other.InteractiveActionId) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (IsShow != false) hash ^= IsShow.GetHashCode(); - if (CharId != 0) hash ^= CharId.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (SourceDesc != 0) hash ^= SourceDesc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (SmallPortrait.Length != 0) hash ^= SmallPortrait.GetHashCode(); - if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); - if (Model.Length != 0) hash ^= Model.GetHashCode(); - if (Portrait.Length != 0) hash ^= Portrait.GetHashCode(); - if (Bg.Length != 0) hash ^= Bg.GetHashCode(); - if (Offset.Length != 0) hash ^= Offset.GetHashCode(); - if (L2D.Length != 0) hash ^= L2D.GetHashCode(); - if (FullScreenPortrait.Length != 0) hash ^= FullScreenPortrait.GetHashCode(); - if (SkinTheme != 0) hash ^= SkinTheme.GetHashCode(); - if (InteractiveAction != false) hash ^= InteractiveAction.GetHashCode(); - if (InteractiveActionId != 0) hash ^= InteractiveActionId.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (IsShow != false) { - output.WriteRawTag(32); - output.WriteBool(IsShow); - } - if (CharId != 0) { - output.WriteRawTag(40); - output.WriteInt32(CharId); - } - if (Type != 0) { - output.WriteRawTag(48); - output.WriteInt32(Type); - } - if (SourceDesc != 0) { - output.WriteRawTag(56); - output.WriteInt32(SourceDesc); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (SmallPortrait.Length != 0) { - output.WriteRawTag(74); - output.WriteString(SmallPortrait); - } - if (ModelScale != 0) { - output.WriteRawTag(80); - output.WriteInt32(ModelScale); - } - if (Model.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Model); - } - if (Portrait.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Portrait); - } - if (Bg.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Bg); - } - if (Offset.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Offset); - } - if (L2D.Length != 0) { - output.WriteRawTag(122); - output.WriteString(L2D); - } - if (FullScreenPortrait.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(FullScreenPortrait); - } - if (SkinTheme != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(SkinTheme); - } - if (InteractiveAction != false) { - output.WriteRawTag(144, 1); - output.WriteBool(InteractiveAction); - } - if (InteractiveActionId != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(InteractiveActionId); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (IsShow != false) { - output.WriteRawTag(32); - output.WriteBool(IsShow); - } - if (CharId != 0) { - output.WriteRawTag(40); - output.WriteInt32(CharId); - } - if (Type != 0) { - output.WriteRawTag(48); - output.WriteInt32(Type); - } - if (SourceDesc != 0) { - output.WriteRawTag(56); - output.WriteInt32(SourceDesc); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (SmallPortrait.Length != 0) { - output.WriteRawTag(74); - output.WriteString(SmallPortrait); - } - if (ModelScale != 0) { - output.WriteRawTag(80); - output.WriteInt32(ModelScale); - } - if (Model.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Model); - } - if (Portrait.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Portrait); - } - if (Bg.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Bg); - } - if (Offset.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Offset); - } - if (L2D.Length != 0) { - output.WriteRawTag(122); - output.WriteString(L2D); - } - if (FullScreenPortrait.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(FullScreenPortrait); - } - if (SkinTheme != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(SkinTheme); - } - if (InteractiveAction != false) { - output.WriteRawTag(144, 1); - output.WriteBool(InteractiveAction); - } - if (InteractiveActionId != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(InteractiveActionId); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (IsShow != false) { - size += 1 + 1; - } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (SourceDesc != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceDesc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (SmallPortrait.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallPortrait); - } - if (ModelScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); - } - if (Model.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); - } - if (Portrait.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Portrait); - } - if (Bg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); - } - if (Offset.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Offset); - } - if (L2D.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(L2D); - } - if (FullScreenPortrait.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(FullScreenPortrait); - } - if (SkinTheme != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinTheme); - } - if (InteractiveAction != false) { - size += 2 + 1; - } - if (InteractiveActionId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(InteractiveActionId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(NPCSkin other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.IsShow != false) { - IsShow = other.IsShow; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.SourceDesc != 0) { - SourceDesc = other.SourceDesc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.SmallPortrait.Length != 0) { - SmallPortrait = other.SmallPortrait; - } - if (other.ModelScale != 0) { - ModelScale = other.ModelScale; - } - if (other.Model.Length != 0) { - Model = other.Model; - } - if (other.Portrait.Length != 0) { - Portrait = other.Portrait; - } - if (other.Bg.Length != 0) { - Bg = other.Bg; - } - if (other.Offset.Length != 0) { - Offset = other.Offset; - } - if (other.L2D.Length != 0) { - L2D = other.L2D; - } - if (other.FullScreenPortrait.Length != 0) { - FullScreenPortrait = other.FullScreenPortrait; - } - if (other.SkinTheme != 0) { - SkinTheme = other.SkinTheme; - } - if (other.InteractiveAction != false) { - InteractiveAction = other.InteractiveAction; - } - if (other.InteractiveActionId != 0) { - InteractiveActionId = other.InteractiveActionId; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - IsShow = input.ReadBool(); - break; - } - case 40: { - CharId = input.ReadInt32(); - break; - } - case 48: { - Type = input.ReadInt32(); - break; - } - case 56: { - SourceDesc = input.ReadInt32(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 74: { - SmallPortrait = input.ReadString(); - break; - } - case 80: { - ModelScale = input.ReadInt32(); - break; - } - case 90: { - Model = input.ReadString(); - break; - } - case 98: { - Portrait = input.ReadString(); - break; - } - case 106: { - Bg = input.ReadString(); - break; - } - case 114: { - Offset = input.ReadString(); - break; - } - case 122: { - L2D = input.ReadString(); - break; - } - case 130: { - FullScreenPortrait = input.ReadString(); - break; - } - case 136: { - SkinTheme = input.ReadInt32(); - break; - } - case 144: { - InteractiveAction = input.ReadBool(); - break; - } - case 152: { - InteractiveActionId = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - IsShow = input.ReadBool(); - break; - } - case 40: { - CharId = input.ReadInt32(); - break; - } - case 48: { - Type = input.ReadInt32(); - break; - } - case 56: { - SourceDesc = input.ReadInt32(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 74: { - SmallPortrait = input.ReadString(); - break; - } - case 80: { - ModelScale = input.ReadInt32(); - break; - } - case 90: { - Model = input.ReadString(); - break; - } - case 98: { - Portrait = input.ReadString(); - break; - } - case 106: { - Bg = input.ReadString(); - break; - } - case 114: { - Offset = input.ReadString(); - break; - } - case 122: { - L2D = input.ReadString(); - break; - } - case 130: { - FullScreenPortrait = input.ReadString(); - break; - } - case 136: { - SkinTheme = input.ReadInt32(); - break; - } - case 144: { - InteractiveAction = input.ReadBool(); - break; - } - case 152: { - InteractiveActionId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Note.cs b/Novaria.Common/Protos/Note.cs deleted file mode 100644 index ac4889b..0000000 --- a/Novaria.Common/Protos/Note.cs +++ /dev/null @@ -1,689 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Note.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 Note.proto - public static partial class NoteReflection { - - #region Descriptor - /// File descriptor for Note.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static NoteReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpOb3RlLnByb3RvIs4BCgROb3RlEgoKAmlkGAEgASgFEg0KBW5vdGVfGAIg", - "ASgFEg4KBnN0eWxlMRgDIAEoCRIOCgZzdHlsZTIYBCABKAkSDgoGc3R5bGUz", - "GAUgASgJEg4KBnN0eWxlNBgGIAEoCRIOCgZzdHlsZTUYByABKAkSDgoGc3R5", - "bGU2GAggASgJEg4KBnN0eWxlNxgJIAEoCRIOCgZzdHlsZTgYCiABKAkSDQoF", - "Y29sb3IYCyABKAkSDQoFbmFtZTEYDCABKAkSDQoFbmFtZTIYDSABKAlCDqoC", - "C05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Note), global::Nova.Client.Note.Parser, new[]{ "Id", "Note_", "Style1", "Style2", "Style3", "Style4", "Style5", "Style6", "Style7", "Style8", "Color", "Name1", "Name2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Note : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Note()); - 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.NoteReflection.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 Note() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Note(Note other) : this() { - id_ = other.id_; - note_ = other.note_; - style1_ = other.style1_; - style2_ = other.style2_; - style3_ = other.style3_; - style4_ = other.style4_; - style5_ = other.style5_; - style6_ = other.style6_; - style7_ = other.style7_; - style8_ = other.style8_; - color_ = other.color_; - name1_ = other.name1_; - name2_ = other.name2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Note Clone() { - return new Note(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 "note_" field. - public const int Note_FieldNumber = 2; - private int note_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Note_ { - get { return note_; } - set { - note_ = value; - } - } - - /// Field number for the "style1" field. - public const int Style1FieldNumber = 3; - private string style1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style1 { - get { return style1_; } - set { - style1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style2" field. - public const int Style2FieldNumber = 4; - private string style2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style2 { - get { return style2_; } - set { - style2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style3" field. - public const int Style3FieldNumber = 5; - private string style3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style3 { - get { return style3_; } - set { - style3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style4" field. - public const int Style4FieldNumber = 6; - private string style4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style4 { - get { return style4_; } - set { - style4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style5" field. - public const int Style5FieldNumber = 7; - private string style5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style5 { - get { return style5_; } - set { - style5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style6" field. - public const int Style6FieldNumber = 8; - private string style6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style6 { - get { return style6_; } - set { - style6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style7" field. - public const int Style7FieldNumber = 9; - private string style7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style7 { - get { return style7_; } - set { - style7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "style8" field. - public const int Style8FieldNumber = 10; - private string style8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Style8 { - get { return style8_; } - set { - style8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "color" field. - public const int ColorFieldNumber = 11; - private string color_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Color { - get { return color_; } - set { - color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name1" field. - public const int Name1FieldNumber = 12; - private string name1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name1 { - get { return name1_; } - set { - name1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "name2" field. - public const int Name2FieldNumber = 13; - private string name2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name2 { - get { return name2_; } - set { - name2_ = 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 Note); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Note other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Note_ != other.Note_) return false; - if (Style1 != other.Style1) return false; - if (Style2 != other.Style2) return false; - if (Style3 != other.Style3) return false; - if (Style4 != other.Style4) return false; - if (Style5 != other.Style5) return false; - if (Style6 != other.Style6) return false; - if (Style7 != other.Style7) return false; - if (Style8 != other.Style8) return false; - if (Color != other.Color) return false; - if (Name1 != other.Name1) return false; - if (Name2 != other.Name2) 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 (Note_ != 0) hash ^= Note_.GetHashCode(); - if (Style1.Length != 0) hash ^= Style1.GetHashCode(); - if (Style2.Length != 0) hash ^= Style2.GetHashCode(); - if (Style3.Length != 0) hash ^= Style3.GetHashCode(); - if (Style4.Length != 0) hash ^= Style4.GetHashCode(); - if (Style5.Length != 0) hash ^= Style5.GetHashCode(); - if (Style6.Length != 0) hash ^= Style6.GetHashCode(); - if (Style7.Length != 0) hash ^= Style7.GetHashCode(); - if (Style8.Length != 0) hash ^= Style8.GetHashCode(); - if (Color.Length != 0) hash ^= Color.GetHashCode(); - if (Name1.Length != 0) hash ^= Name1.GetHashCode(); - if (Name2.Length != 0) hash ^= Name2.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 (Note_ != 0) { - output.WriteRawTag(16); - output.WriteInt32(Note_); - } - if (Style1.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Style1); - } - if (Style2.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Style2); - } - if (Style3.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Style3); - } - if (Style4.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Style4); - } - if (Style5.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Style5); - } - if (Style6.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Style6); - } - if (Style7.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Style7); - } - if (Style8.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Style8); - } - if (Color.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Color); - } - if (Name1.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Name1); - } - if (Name2.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Name2); - } - 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 (Note_ != 0) { - output.WriteRawTag(16); - output.WriteInt32(Note_); - } - if (Style1.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Style1); - } - if (Style2.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Style2); - } - if (Style3.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Style3); - } - if (Style4.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Style4); - } - if (Style5.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Style5); - } - if (Style6.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Style6); - } - if (Style7.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Style7); - } - if (Style8.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Style8); - } - if (Color.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Color); - } - if (Name1.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Name1); - } - if (Name2.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Name2); - } - 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 (Note_ != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Note_); - } - if (Style1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style1); - } - if (Style2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style2); - } - if (Style3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style3); - } - if (Style4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style4); - } - if (Style5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style5); - } - if (Style6.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style6); - } - if (Style7.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style7); - } - if (Style8.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Style8); - } - if (Color.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); - } - if (Name1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name1); - } - if (Name2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Note other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Note_ != 0) { - Note_ = other.Note_; - } - if (other.Style1.Length != 0) { - Style1 = other.Style1; - } - if (other.Style2.Length != 0) { - Style2 = other.Style2; - } - if (other.Style3.Length != 0) { - Style3 = other.Style3; - } - if (other.Style4.Length != 0) { - Style4 = other.Style4; - } - if (other.Style5.Length != 0) { - Style5 = other.Style5; - } - if (other.Style6.Length != 0) { - Style6 = other.Style6; - } - if (other.Style7.Length != 0) { - Style7 = other.Style7; - } - if (other.Style8.Length != 0) { - Style8 = other.Style8; - } - if (other.Color.Length != 0) { - Color = other.Color; - } - if (other.Name1.Length != 0) { - Name1 = other.Name1; - } - if (other.Name2.Length != 0) { - Name2 = other.Name2; - } - _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: { - Note_ = input.ReadInt32(); - break; - } - case 26: { - Style1 = input.ReadString(); - break; - } - case 34: { - Style2 = input.ReadString(); - break; - } - case 42: { - Style3 = input.ReadString(); - break; - } - case 50: { - Style4 = input.ReadString(); - break; - } - case 58: { - Style5 = input.ReadString(); - break; - } - case 66: { - Style6 = input.ReadString(); - break; - } - case 74: { - Style7 = input.ReadString(); - break; - } - case 82: { - Style8 = input.ReadString(); - break; - } - case 90: { - Color = input.ReadString(); - break; - } - case 98: { - Name1 = input.ReadString(); - break; - } - case 106: { - Name2 = 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: { - Note_ = input.ReadInt32(); - break; - } - case 26: { - Style1 = input.ReadString(); - break; - } - case 34: { - Style2 = input.ReadString(); - break; - } - case 42: { - Style3 = input.ReadString(); - break; - } - case 50: { - Style4 = input.ReadString(); - break; - } - case 58: { - Style5 = input.ReadString(); - break; - } - case 66: { - Style6 = input.ReadString(); - break; - } - case 74: { - Style7 = input.ReadString(); - break; - } - case 82: { - Style8 = input.ReadString(); - break; - } - case 90: { - Color = input.ReadString(); - break; - } - case 98: { - Name1 = input.ReadString(); - break; - } - case 106: { - Name2 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/NoteDropGroup.cs b/Novaria.Common/Protos/NoteDropGroup.cs deleted file mode 100644 index c245529..0000000 --- a/Novaria.Common/Protos/NoteDropGroup.cs +++ /dev/null @@ -1,487 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: NoteDropGroup.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 NoteDropGroup.proto - public static partial class NoteDropGroupReflection { - - #region Descriptor - /// File descriptor for NoteDropGroup.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static NoteDropGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNOb3RlRHJvcEdyb3VwLnByb3RvIscBCg1Ob3RlRHJvcEdyb3VwEg0KBWlu", - "ZGV4GAEgASgFEhAKCGdyb3VwX2lkGAIgASgFEhkKEXJhbmRvbV9ub3RlX3Jh", - "bmdlGAMgAygFEhQKDGFfbm90ZV9yYW5nZRgEIAMoBRIUCgxiX25vdGVfcmFu", - "Z2UYBSADKAUSFAoMY19ub3RlX3JhbmdlGAYgAygFEhQKDGRfbm90ZV9yYW5n", - "ZRgHIAMoBRIUCgxlX25vdGVfcmFuZ2UYCCADKAUSDAoEaWNvbhgJIAEoCUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.NoteDropGroup), global::Nova.Client.NoteDropGroup.Parser, new[]{ "Index", "GroupId", "RandomNoteRange", "ANoteRange", "BNoteRange", "CNoteRange", "DNoteRange", "ENoteRange", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class NoteDropGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NoteDropGroup()); - 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.NoteDropGroupReflection.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 NoteDropGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NoteDropGroup(NoteDropGroup other) : this() { - index_ = other.index_; - groupId_ = other.groupId_; - randomNoteRange_ = other.randomNoteRange_.Clone(); - aNoteRange_ = other.aNoteRange_.Clone(); - bNoteRange_ = other.bNoteRange_.Clone(); - cNoteRange_ = other.cNoteRange_.Clone(); - dNoteRange_ = other.dNoteRange_.Clone(); - eNoteRange_ = other.eNoteRange_.Clone(); - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NoteDropGroup Clone() { - return new NoteDropGroup(this); - } - - /// Field number for the "index" field. - public const int IndexFieldNumber = 1; - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { return index_; } - set { - index_ = value; - } - } - - /// Field number for the "group_id" field. - 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; - } - } - - /// Field number for the "random_note_range" field. - public const int RandomNoteRangeFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_randomNoteRange_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField randomNoteRange_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField RandomNoteRange { - get { return randomNoteRange_; } - } - - /// Field number for the "a_note_range" field. - public const int ANoteRangeFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_aNoteRange_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField aNoteRange_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ANoteRange { - get { return aNoteRange_; } - } - - /// Field number for the "b_note_range" field. - public const int BNoteRangeFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_bNoteRange_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField bNoteRange_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BNoteRange { - get { return bNoteRange_; } - } - - /// Field number for the "c_note_range" field. - public const int CNoteRangeFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_cNoteRange_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField cNoteRange_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField CNoteRange { - get { return cNoteRange_; } - } - - /// Field number for the "d_note_range" field. - public const int DNoteRangeFieldNumber = 7; - private static readonly pb::FieldCodec _repeated_dNoteRange_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField dNoteRange_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField DNoteRange { - get { return dNoteRange_; } - } - - /// Field number for the "e_note_range" field. - public const int ENoteRangeFieldNumber = 8; - private static readonly pb::FieldCodec _repeated_eNoteRange_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField eNoteRange_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ENoteRange { - get { return eNoteRange_; } - } - - /// Field number for the "icon" field. - public const int IconFieldNumber = 9; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as NoteDropGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(NoteDropGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Index != other.Index) return false; - if (GroupId != other.GroupId) return false; - if(!randomNoteRange_.Equals(other.randomNoteRange_)) return false; - if(!aNoteRange_.Equals(other.aNoteRange_)) return false; - if(!bNoteRange_.Equals(other.bNoteRange_)) return false; - if(!cNoteRange_.Equals(other.cNoteRange_)) return false; - if(!dNoteRange_.Equals(other.dNoteRange_)) return false; - if(!eNoteRange_.Equals(other.eNoteRange_)) return false; - if (Icon != other.Icon) 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 (Index != 0) hash ^= Index.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - hash ^= randomNoteRange_.GetHashCode(); - hash ^= aNoteRange_.GetHashCode(); - hash ^= bNoteRange_.GetHashCode(); - hash ^= cNoteRange_.GetHashCode(); - hash ^= dNoteRange_.GetHashCode(); - hash ^= eNoteRange_.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.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 (Index != 0) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - randomNoteRange_.WriteTo(output, _repeated_randomNoteRange_codec); - aNoteRange_.WriteTo(output, _repeated_aNoteRange_codec); - bNoteRange_.WriteTo(output, _repeated_bNoteRange_codec); - cNoteRange_.WriteTo(output, _repeated_cNoteRange_codec); - dNoteRange_.WriteTo(output, _repeated_dNoteRange_codec); - eNoteRange_.WriteTo(output, _repeated_eNoteRange_codec); - if (Icon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Icon); - } - 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 (Index != 0) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - randomNoteRange_.WriteTo(ref output, _repeated_randomNoteRange_codec); - aNoteRange_.WriteTo(ref output, _repeated_aNoteRange_codec); - bNoteRange_.WriteTo(ref output, _repeated_bNoteRange_codec); - cNoteRange_.WriteTo(ref output, _repeated_cNoteRange_codec); - dNoteRange_.WriteTo(ref output, _repeated_dNoteRange_codec); - eNoteRange_.WriteTo(ref output, _repeated_eNoteRange_codec); - if (Icon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Icon); - } - 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 (Index != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - size += randomNoteRange_.CalculateSize(_repeated_randomNoteRange_codec); - size += aNoteRange_.CalculateSize(_repeated_aNoteRange_codec); - size += bNoteRange_.CalculateSize(_repeated_bNoteRange_codec); - size += cNoteRange_.CalculateSize(_repeated_cNoteRange_codec); - size += dNoteRange_.CalculateSize(_repeated_dNoteRange_codec); - size += eNoteRange_.CalculateSize(_repeated_eNoteRange_codec); - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(NoteDropGroup other) { - if (other == null) { - return; - } - if (other.Index != 0) { - Index = other.Index; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - randomNoteRange_.Add(other.randomNoteRange_); - aNoteRange_.Add(other.aNoteRange_); - bNoteRange_.Add(other.bNoteRange_); - cNoteRange_.Add(other.cNoteRange_); - dNoteRange_.Add(other.dNoteRange_); - eNoteRange_.Add(other.eNoteRange_); - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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: { - Index = input.ReadInt32(); - break; - } - case 16: { - GroupId = input.ReadInt32(); - break; - } - case 26: - case 24: { - randomNoteRange_.AddEntriesFrom(input, _repeated_randomNoteRange_codec); - break; - } - case 34: - case 32: { - aNoteRange_.AddEntriesFrom(input, _repeated_aNoteRange_codec); - break; - } - case 42: - case 40: { - bNoteRange_.AddEntriesFrom(input, _repeated_bNoteRange_codec); - break; - } - case 50: - case 48: { - cNoteRange_.AddEntriesFrom(input, _repeated_cNoteRange_codec); - break; - } - case 58: - case 56: { - dNoteRange_.AddEntriesFrom(input, _repeated_dNoteRange_codec); - break; - } - case 66: - case 64: { - eNoteRange_.AddEntriesFrom(input, _repeated_eNoteRange_codec); - break; - } - case 74: { - Icon = 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: { - Index = input.ReadInt32(); - break; - } - case 16: { - GroupId = input.ReadInt32(); - break; - } - case 26: - case 24: { - randomNoteRange_.AddEntriesFrom(ref input, _repeated_randomNoteRange_codec); - break; - } - case 34: - case 32: { - aNoteRange_.AddEntriesFrom(ref input, _repeated_aNoteRange_codec); - break; - } - case 42: - case 40: { - bNoteRange_.AddEntriesFrom(ref input, _repeated_bNoteRange_codec); - break; - } - case 50: - case 48: { - cNoteRange_.AddEntriesFrom(ref input, _repeated_cNoteRange_codec); - break; - } - case 58: - case 56: { - dNoteRange_.AddEntriesFrom(ref input, _repeated_dNoteRange_codec); - break; - } - case 66: - case 64: { - eNoteRange_.AddEntriesFrom(ref input, _repeated_eNoteRange_codec); - break; - } - case 74: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Notify.cs b/Novaria.Common/Protos/Notify.cs new file mode 100644 index 0000000..bf3e16f --- /dev/null +++ b/Novaria.Common/Protos/Notify.cs @@ -0,0 +1,3328 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: notify.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 Proto { + + /// Holder for reflection information generated from notify.proto + public static partial class NotifyReflection { + + #region Descriptor + /// File descriptor for notify.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static NotifyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgxub3RpZnkucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8aF3B1YmxpY19z", + "dGFyX3Rvd2VyLnByb3RvIi0KCE5ld0FnZW50EgsKA0lkcxgBIAMoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwibAoSU2lnbmluUmV3YXJkVXBkYXRlEg0KBUlu", + "ZGV4GAEgASgNEiEKBkNoYW5nZRgCIAEoCzIRLnByb3RvLkNoYW5nZUluZm8S", + "DgoGU3dpdGNoGAYgASgIEhQKC05leHRQYWNrYWdlGP8PIAEoDCKAAQocU3Rh", + "clRvd2VyQm9va1BvdGVudGlhbENoYW5nZRI5Cg5DaGFyUG90ZW50aWFscxgB", + "IAMoCzIhLnByb3RvLlN0YXJUb3dlckJvb2tDaGFyUG90ZW50aWFsEg8KB0No", + "YXJJZHMYAiADKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIkIKGFN0YXJUb3dl", + "ckJvb2tFdmVudENoYW5nZRIQCghFdmVudElkcxgBIAMoDRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwipQEKBFNraW4SFAoLTmV4dFBhY2thZ2UY/w8gASgMEhoK", + "A05ldxgBIAEoCzILLnByb3RvLlVJMzJIABIrCgpEdXBsaWNhdGVkGAIgASgL", + "MhUucHJvdG8uU2tpbi5UcmFuc2Zvcm1IABo2CglUcmFuc2Zvcm0SCgoCSUQY", + "ASABKA0SHQoFSXRlbXMYAiADKAsyDi5wcm90by5JdGVtVHBsQgYKBFR5cGUi", + "QgoKU2tpbkNoYW5nZRIOCgZDaGFySWQYASABKA0SDgoGU2tpbklkGAIgASgN", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDCKuAQoSTW9udGhseUNhcmRSZXdhcmRz", + "EgoKAklkGAEgASgNEiEKBkNoYW5nZRgCIAEoCzIRLnByb3RvLkNoYW5nZUlu", + "Zm8SDwoHRW5kVGltZRgDIAEoAxIfCgdSZXdhcmRzGAQgAygLMg4ucHJvdG8u", + "SXRlbVRwbBIRCglSZW1haW5pbmcYBSABKA0SDgoGU3dpdGNoGAYgASgIEhQK", + "C05leHRQYWNrYWdlGP8PIAEoDCI+ChRJbmZpbml0eVRvd2VyUmV3YXJkcxIQ", + "CghUb3dlcklkcxgBIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiWwoeVG93", + "ZXJCb29rRmF0ZUNhcmRDb2xsZWN0Tm90aWZ5Eg0KBUNhcmRzGAEgAygNEhQK", + "DFRhbGVudFBvaW50cxgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiWQoj", + "VG93ZXJCb29rRmF0ZUNhcmRSZXdhcmRDaGFuZ2VOb3RpZnkSDAoETGlzdBgB", + "IAMoDRIOCgZPcHRpb24YAiABKAgSFAoLTmV4dFBhY2thZ2UY/w8gASgMIksK", + "EUhvbm9yQ2hhbmdlTm90aWZ5EiAKBkhvbm9ycxgBIAMoCzIQLnByb3RvLkhv", + "bm9ySW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAxQAFABYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.NewAgent), global::Proto.NewAgent.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SigninRewardUpdate), global::Proto.SigninRewardUpdate.Parser, new[]{ "Index", "Change", "Switch", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookPotentialChange), global::Proto.StarTowerBookPotentialChange.Parser, new[]{ "CharPotentials", "CharIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookEventChange), global::Proto.StarTowerBookEventChange.Parser, new[]{ "EventIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Skin), global::Proto.Skin.Parser, new[]{ "NextPackage", "New", "Duplicated" }, new[]{ "Type" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Skin.Types.Transform), global::Proto.Skin.Types.Transform.Parser, new[]{ "ID", "Items" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SkinChange), global::Proto.SkinChange.Parser, new[]{ "CharId", "SkinId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MonthlyCardRewards), global::Proto.MonthlyCardRewards.Parser, new[]{ "Id", "Change", "EndTime", "Rewards", "Remaining", "Switch", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerRewards), global::Proto.InfinityTowerRewards.Parser, new[]{ "TowerIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBookFateCardCollectNotify), global::Proto.TowerBookFateCardCollectNotify.Parser, new[]{ "Cards", "TalentPoints", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBookFateCardRewardChangeNotify), global::Proto.TowerBookFateCardRewardChangeNotify.Parser, new[]{ "List", "Option", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.HonorChangeNotify), global::Proto.HonorChangeNotify.Parser, new[]{ "Honors", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NewAgent : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NewAgent()); + 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::Proto.NotifyReflection.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 NewAgent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewAgent(NewAgent other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewAgent Clone() { + return new NewAgent(this); + } + + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 NewAgent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NewAgent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NewAgent other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SigninRewardUpdate : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SigninRewardUpdate()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SigninRewardUpdate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SigninRewardUpdate(SigninRewardUpdate other) : this() { + index_ = other.index_; + change_ = other.change_ != null ? other.change_.Clone() : null; + switch_ = other.switch_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SigninRewardUpdate Clone() { + return new SigninRewardUpdate(this); + } + + /// Field number for the "Index" field. + public const int IndexFieldNumber = 1; + private uint index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return index_; } + set { + index_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "Switch" field. + public const int SwitchFieldNumber = 6; + private bool switch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Switch { + get { return switch_; } + set { + switch_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SigninRewardUpdate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SigninRewardUpdate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (!object.Equals(Change, other.Change)) return false; + if (Switch != other.Switch) return false; + if (NextPackage != other.NextPackage) 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 (Index != 0) hash ^= Index.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (Switch != false) hash ^= Switch.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Index != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (Switch != false) { + output.WriteRawTag(48); + output.WriteBool(Switch); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Index != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (Switch != false) { + output.WriteRawTag(48); + output.WriteBool(Switch); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (Switch != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SigninRewardUpdate other) { + if (other == null) { + return; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.Switch != false) { + Switch = other.Switch; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Index = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 48: { + Switch = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Index = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 48: { + Switch = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookPotentialChange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerBookPotentialChange()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialChange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialChange(StarTowerBookPotentialChange other) : this() { + charPotentials_ = other.charPotentials_.Clone(); + charIds_ = other.charIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialChange Clone() { + return new StarTowerBookPotentialChange(this); + } + + /// Field number for the "CharPotentials" field. + public const int CharPotentialsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_charPotentials_codec + = pb::FieldCodec.ForMessage(10, global::Proto.StarTowerBookCharPotential.Parser); + private readonly pbc::RepeatedField charPotentials_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharPotentials { + get { return charPotentials_; } + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookPotentialChange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookPotentialChange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!charPotentials_.Equals(other.charPotentials_)) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= charPotentials_.GetHashCode(); + hash ^= charIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + charPotentials_.WriteTo(output, _repeated_charPotentials_codec); + charIds_.WriteTo(output, _repeated_charIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + charPotentials_.WriteTo(ref output, _repeated_charPotentials_codec); + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += charPotentials_.CalculateSize(_repeated_charPotentials_codec); + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookPotentialChange other) { + if (other == null) { + return; + } + charPotentials_.Add(other.charPotentials_); + charIds_.Add(other.charIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + charPotentials_.AddEntriesFrom(input, _repeated_charPotentials_codec); + break; + } + case 18: + case 16: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + charPotentials_.AddEntriesFrom(ref input, _repeated_charPotentials_codec); + break; + } + case 18: + case 16: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookEventChange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerBookEventChange()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventChange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventChange(StarTowerBookEventChange other) : this() { + eventIds_ = other.eventIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventChange Clone() { + return new StarTowerBookEventChange(this); + } + + /// Field number for the "EventIds" field. + public const int EventIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_eventIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField eventIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EventIds { + get { return eventIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookEventChange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookEventChange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!eventIds_.Equals(other.eventIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= eventIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + eventIds_.WriteTo(output, _repeated_eventIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + eventIds_.WriteTo(ref output, _repeated_eventIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += eventIds_.CalculateSize(_repeated_eventIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookEventChange other) { + if (other == null) { + return; + } + eventIds_.Add(other.eventIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + eventIds_.AddEntriesFrom(input, _repeated_eventIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + eventIds_.AddEntriesFrom(ref input, _repeated_eventIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Skin : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Skin()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skin(Skin other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.TypeCase) { + case TypeOneofCase.New: + New = other.New.Clone(); + break; + case TypeOneofCase.Duplicated: + Duplicated = other.Duplicated.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skin Clone() { + return new Skin(this); + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "New" field. + public const int NewFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.UI32 New { + get { return typeCase_ == TypeOneofCase.New ? (global::Proto.UI32) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.New; + } + } + + /// Field number for the "Duplicated" field. + public const int DuplicatedFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Skin.Types.Transform Duplicated { + get { return typeCase_ == TypeOneofCase.Duplicated ? (global::Proto.Skin.Types.Transform) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Duplicated; + } + } + + private object type_; + /// Enum of possible cases for the "Type" oneof. + public enum TypeOneofCase { + None = 0, + New = 1, + Duplicated = 2, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Skin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Skin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(New, other.New)) return false; + if (!object.Equals(Duplicated, other.Duplicated)) return false; + if (TypeCase != other.TypeCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (typeCase_ == TypeOneofCase.New) hash ^= New.GetHashCode(); + if (typeCase_ == TypeOneofCase.Duplicated) hash ^= Duplicated.GetHashCode(); + hash ^= (int) typeCase_; + 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 (typeCase_ == TypeOneofCase.New) { + output.WriteRawTag(10); + output.WriteMessage(New); + } + if (typeCase_ == TypeOneofCase.Duplicated) { + output.WriteRawTag(18); + output.WriteMessage(Duplicated); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (typeCase_ == TypeOneofCase.New) { + output.WriteRawTag(10); + output.WriteMessage(New); + } + if (typeCase_ == TypeOneofCase.Duplicated) { + output.WriteRawTag(18); + output.WriteMessage(Duplicated); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (typeCase_ == TypeOneofCase.New) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(New); + } + if (typeCase_ == TypeOneofCase.Duplicated) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Duplicated); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Skin other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.TypeCase) { + case TypeOneofCase.New: + if (New == null) { + New = new global::Proto.UI32(); + } + New.MergeFrom(other.New); + break; + case TypeOneofCase.Duplicated: + if (Duplicated == null) { + Duplicated = new global::Proto.Skin.Types.Transform(); + } + Duplicated.MergeFrom(other.Duplicated); + break; + } + + _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 10: { + global::Proto.UI32 subBuilder = new global::Proto.UI32(); + if (typeCase_ == TypeOneofCase.New) { + subBuilder.MergeFrom(New); + } + input.ReadMessage(subBuilder); + New = subBuilder; + break; + } + case 18: { + global::Proto.Skin.Types.Transform subBuilder = new global::Proto.Skin.Types.Transform(); + if (typeCase_ == TypeOneofCase.Duplicated) { + subBuilder.MergeFrom(Duplicated); + } + input.ReadMessage(subBuilder); + Duplicated = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.UI32 subBuilder = new global::Proto.UI32(); + if (typeCase_ == TypeOneofCase.New) { + subBuilder.MergeFrom(New); + } + input.ReadMessage(subBuilder); + New = subBuilder; + break; + } + case 18: { + global::Proto.Skin.Types.Transform subBuilder = new global::Proto.Skin.Types.Transform(); + if (typeCase_ == TypeOneofCase.Duplicated) { + subBuilder.MergeFrom(Duplicated); + } + input.ReadMessage(subBuilder); + Duplicated = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Skin message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Transform : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Transform()); + 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::Proto.Skin.Descriptor.NestedTypes[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 Transform() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transform(Transform other) : this() { + iD_ = other.iD_; + items_ = other.items_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transform Clone() { + return new Transform(this); + } + + /// Field number for the "ID" field. + public const int IDFieldNumber = 1; + private uint iD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ID { + get { return iD_; } + set { + iD_ = value; + } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Transform); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Transform other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ID != other.ID) return false; + if(!items_.Equals(other.items_)) 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(); + hash ^= items_.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.WriteUInt32(ID); + } + items_.WriteTo(output, _repeated_items_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.WriteUInt32(ID); + } + items_.WriteTo(ref output, _repeated_items_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.ComputeUInt32Size(ID); + } + size += items_.CalculateSize(_repeated_items_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Transform other) { + if (other == null) { + return; + } + if (other.ID != 0) { + ID = other.ID; + } + items_.Add(other.items_); + _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.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(input, _repeated_items_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.ReadUInt32(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SkinChange : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SkinChange()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkinChange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkinChange(SkinChange other) : this() { + charId_ = other.charId_; + skinId_ = other.skinId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkinChange Clone() { + return new SkinChange(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "SkinId" field. + public const int SkinIdFieldNumber = 2; + private uint skinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SkinId { + get { return skinId_; } + set { + skinId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SkinChange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SkinChange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (SkinId != other.SkinId) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (SkinId != 0) hash ^= SkinId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (SkinId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(SkinId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (SkinId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(SkinId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (SkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkinId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SkinChange other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.SkinId != 0) { + SkinId = other.SkinId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + SkinId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + SkinId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonthlyCardRewards : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MonthlyCardRewards()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCardRewards() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCardRewards(MonthlyCardRewards other) : this() { + id_ = other.id_; + change_ = other.change_ != null ? other.change_.Clone() : null; + endTime_ = other.endTime_; + rewards_ = other.rewards_.Clone(); + remaining_ = other.remaining_; + switch_ = other.switch_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCardRewards Clone() { + return new MonthlyCardRewards(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "EndTime" field. + public const int EndTimeFieldNumber = 3; + private long endTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// Field number for the "Rewards" field. + public const int RewardsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_rewards_codec + = pb::FieldCodec.ForMessage(34, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField rewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Rewards { + get { return rewards_; } + } + + /// Field number for the "Remaining" field. + public const int RemainingFieldNumber = 5; + private uint remaining_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Remaining { + get { return remaining_; } + set { + remaining_ = value; + } + } + + /// Field number for the "Switch" field. + public const int SwitchFieldNumber = 6; + private bool switch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Switch { + get { return switch_; } + set { + switch_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MonthlyCardRewards); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonthlyCardRewards other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!object.Equals(Change, other.Change)) return false; + if (EndTime != other.EndTime) return false; + if(!rewards_.Equals(other.rewards_)) return false; + if (Remaining != other.Remaining) return false; + if (Switch != other.Switch) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + if (EndTime != 0L) hash ^= EndTime.GetHashCode(); + hash ^= rewards_.GetHashCode(); + if (Remaining != 0) hash ^= Remaining.GetHashCode(); + if (Switch != false) hash ^= Switch.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (EndTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(EndTime); + } + rewards_.WriteTo(output, _repeated_rewards_codec); + if (Remaining != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Remaining); + } + if (Switch != false) { + output.WriteRawTag(48); + output.WriteBool(Switch); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (EndTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(EndTime); + } + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (Remaining != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Remaining); + } + if (Switch != false) { + output.WriteRawTag(48); + output.WriteBool(Switch); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (EndTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTime); + } + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (Remaining != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Remaining); + } + if (Switch != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonthlyCardRewards other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.EndTime != 0L) { + EndTime = other.EndTime; + } + rewards_.Add(other.rewards_); + if (other.Remaining != 0) { + Remaining = other.Remaining; + } + if (other.Switch != false) { + Switch = other.Switch; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + EndTime = input.ReadInt64(); + break; + } + case 34: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 40: { + Remaining = input.ReadUInt32(); + break; + } + case 48: { + Switch = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 24: { + EndTime = input.ReadInt64(); + break; + } + case 34: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 40: { + Remaining = input.ReadUInt32(); + break; + } + case 48: { + Switch = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerRewards : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InfinityTowerRewards()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[7]; } + } + + [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 InfinityTowerRewards() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerRewards(InfinityTowerRewards other) : this() { + towerIds_ = other.towerIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerRewards Clone() { + return new InfinityTowerRewards(this); + } + + /// Field number for the "TowerIds" field. + public const int TowerIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_towerIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField towerIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TowerIds { + get { return towerIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InfinityTowerRewards); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerRewards other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!towerIds_.Equals(other.towerIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= towerIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + towerIds_.WriteTo(output, _repeated_towerIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + towerIds_.WriteTo(ref output, _repeated_towerIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += towerIds_.CalculateSize(_repeated_towerIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerRewards other) { + if (other == null) { + return; + } + towerIds_.Add(other.towerIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + towerIds_.AddEntriesFrom(input, _repeated_towerIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + towerIds_.AddEntriesFrom(ref input, _repeated_towerIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerBookFateCardCollectNotify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TowerBookFateCardCollectNotify()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[8]; } + } + + [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 TowerBookFateCardCollectNotify() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBookFateCardCollectNotify(TowerBookFateCardCollectNotify other) : this() { + cards_ = other.cards_.Clone(); + talentPoints_ = other.talentPoints_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBookFateCardCollectNotify Clone() { + return new TowerBookFateCardCollectNotify(this); + } + + /// Field number for the "Cards" field. + public const int CardsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_cards_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField cards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Cards { + get { return cards_; } + } + + /// Field number for the "TalentPoints" field. + public const int TalentPointsFieldNumber = 2; + private uint talentPoints_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TalentPoints { + get { return talentPoints_; } + set { + talentPoints_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerBookFateCardCollectNotify); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerBookFateCardCollectNotify other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!cards_.Equals(other.cards_)) return false; + if (TalentPoints != other.TalentPoints) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= cards_.GetHashCode(); + if (TalentPoints != 0) hash ^= TalentPoints.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + cards_.WriteTo(output, _repeated_cards_codec); + if (TalentPoints != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TalentPoints); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + cards_.WriteTo(ref output, _repeated_cards_codec); + if (TalentPoints != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TalentPoints); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += cards_.CalculateSize(_repeated_cards_codec); + if (TalentPoints != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TalentPoints); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerBookFateCardCollectNotify other) { + if (other == null) { + return; + } + cards_.Add(other.cards_); + if (other.TalentPoints != 0) { + TalentPoints = other.TalentPoints; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + cards_.AddEntriesFrom(input, _repeated_cards_codec); + break; + } + case 16: { + TalentPoints = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + cards_.AddEntriesFrom(ref input, _repeated_cards_codec); + break; + } + case 16: { + TalentPoints = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerBookFateCardRewardChangeNotify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TowerBookFateCardRewardChangeNotify()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[9]; } + } + + [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 TowerBookFateCardRewardChangeNotify() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBookFateCardRewardChangeNotify(TowerBookFateCardRewardChangeNotify other) : this() { + list_ = other.list_.Clone(); + option_ = other.option_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBookFateCardRewardChangeNotify Clone() { + return new TowerBookFateCardRewardChangeNotify(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "Option" field. + public const int OptionFieldNumber = 2; + private bool option_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Option { + get { return option_; } + set { + option_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerBookFateCardRewardChangeNotify); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerBookFateCardRewardChangeNotify other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (Option != other.Option) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (Option != false) hash ^= Option.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (Option != false) { + output.WriteRawTag(16); + output.WriteBool(Option); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (Option != false) { + output.WriteRawTag(16); + output.WriteBool(Option); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (Option != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerBookFateCardRewardChangeNotify other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.Option != false) { + Option = other.Option; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16: { + Option = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16: { + Option = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HonorChangeNotify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HonorChangeNotify()); + 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::Proto.NotifyReflection.Descriptor.MessageTypes[10]; } + } + + [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 HonorChangeNotify() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HonorChangeNotify(HonorChangeNotify other) : this() { + honors_ = other.honors_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HonorChangeNotify Clone() { + return new HonorChangeNotify(this); + } + + /// Field number for the "Honors" field. + public const int HonorsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_honors_codec + = pb::FieldCodec.ForMessage(10, global::Proto.HonorInfo.Parser); + private readonly pbc::RepeatedField honors_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Honors { + get { return honors_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 HonorChangeNotify); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HonorChangeNotify other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!honors_.Equals(other.honors_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= honors_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + honors_.WriteTo(output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + honors_.WriteTo(ref output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += honors_.CalculateSize(_repeated_honors_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HonorChangeNotify other) { + if (other == null) { + return; + } + honors_.Add(other.honors_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + honors_.AddEntriesFrom(input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + honors_.AddEntriesFrom(ref input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/NotifyGm.cs b/Novaria.Common/Protos/NotifyGm.cs new file mode 100644 index 0000000..156e760 --- /dev/null +++ b/Novaria.Common/Protos/NotifyGm.cs @@ -0,0 +1,3723 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: notify_gm.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 Proto { + + /// Holder for reflection information generated from notify_gm.proto + public static partial class NotifyGmReflection { + + #region Descriptor + /// File descriptor for notify_gm.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static NotifyGmReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg9ub3RpZnlfZ20ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8aF3B1Ymxp", + "Y19zdGFyX3Rvd2VyLnByb3RvIkkKDEdtV29ybGRDbGFzcxISCgpGaW5hbENs", + "YXNzGAEgASgNEg8KB0xhc3RFeHAYAiABKAUSFAoLTmV4dFBhY2thZ2UY/w8g", + "ASgMIj4KGUdtQ2xlYXJBbGxWYW1waXJlU3Vydml2b3ISCwoDSWRzGAEgAygN", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDCKAAQoXR21DbGVhckFsbERhaWx5SW5z", + "dGFuY2USLAoORGFpbHlJbnN0YW5jZXMYASADKAsyFC5wcm90by5EYWlseUlu", + "c3RhbmNlEiEKBkNoYW5nZRgCIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMIoYBChlHbUNsZWFyQWxsUmVnaW9uQm9zc0xl", + "dmVsEjAKEFJlZ2lvbkJvc3NMZXZlbHMYASADKAsyFi5wcm90by5SZWdpb25C", + "b3NzTGV2ZWwSIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwifgoVR21DbGVhckFsbFRyYXZlbGVyRHVl", + "EiwKBkxldmVscxgBIAMoCzIcLnByb3RvLlRyYXZlbGVyRHVlbEJvc3NMZXZl", + "bBIhCgZDaGFuZ2UYAiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCJqCgxDaGFyQWZmaW5pdHkSIQoESW5mbxgBIAEoCzIT", + "LnByb3RvLkFmZmluaXR5SW5mbxIhCgZDaGFuZ2UYAiABKAsyES5wcm90by5D", + "aGFuZ2VJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDCI6ChVHbVNUQ2xlYXJB", + "bGxTdGFyVG93ZXISCwoDSWRzGAEgAygNEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCJsCg9TVEFkZFRlYW1FeHBOdGYSDQoFTGV2ZWwYASABKA0SCwoDRXhwGAIg", + "ASgNEicKBUNhc2VzGAMgAygLMhgucHJvdG8uU3RhclRvd2VyUm9vbUNhc2US", + "FAoLTmV4dFBhY2thZ2UY/w8gASgMIowBChtHbUNsZWFyQWxsRXF1aXBtZW50", + "SW5zdGFuY2USNAoSRXF1aXBtZW50SW5zdGFuY2VzGAEgAygLMhgucHJvdG8u", + "RXF1aXBtZW50SW5zdGFuY2USIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hh", + "bmdlSW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAwiXQoXR21BbGxJbmZpbml0", + "eVRvd2VySW5mb3MSLAoFSW5mb3MYASADKAsyHS5wcm90by5JbmZpbml0eVRv", + "d2VyTGV2ZWxJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDCJ0CgdHbVN0b3J5", + "EhEKCUV2aWRlbmNlcxgBIAMoDRIdCgdTdG9yaWVzGAIgAygLMgwucHJvdG8u", + "U3RvcnkSIQoGQ2hhbmdlGAMgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiOgoUR21IYXJtb255U2tpbGxOb3RpZnkSDAoE", + "TGlzdBgBIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiQAoYR21Ub3dlckdy", + "b3d0aE5vZGVzTm90aWZ5Eg4KBkRldGFpbBgBIAMoDRIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAwiaAoOR21DaGFyVXBOb3RpZnkSGQoEQ2hhchgBIAEoCzILLnBy", + "b3RvLkNoYXISJQoISGFuZGJvb2sYAiADKAsyEy5wcm90by5IYW5kYm9va0lu", + "Zm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmWorldClass), global::Proto.GmWorldClass.Parser, new[]{ "FinalClass", "LastExp", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmClearAllVampireSurvivor), global::Proto.GmClearAllVampireSurvivor.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmClearAllDailyInstance), global::Proto.GmClearAllDailyInstance.Parser, new[]{ "DailyInstances", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmClearAllRegionBossLevel), global::Proto.GmClearAllRegionBossLevel.Parser, new[]{ "RegionBossLevels", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmClearAllTravelerDue), global::Proto.GmClearAllTravelerDue.Parser, new[]{ "Levels", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAffinity), global::Proto.CharAffinity.Parser, new[]{ "Info", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmSTClearAllStarTower), global::Proto.GmSTClearAllStarTower.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.STAddTeamExpNtf), global::Proto.STAddTeamExpNtf.Parser, new[]{ "Level", "Exp", "Cases", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmClearAllEquipmentInstance), global::Proto.GmClearAllEquipmentInstance.Parser, new[]{ "EquipmentInstances", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmAllInfinityTowerInfos), global::Proto.GmAllInfinityTowerInfos.Parser, new[]{ "Infos", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmStory), global::Proto.GmStory.Parser, new[]{ "Evidences", "Stories", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmHarmonySkillNotify), global::Proto.GmHarmonySkillNotify.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmTowerGrowthNodesNotify), global::Proto.GmTowerGrowthNodesNotify.Parser, new[]{ "Detail", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.GmCharUpNotify), global::Proto.GmCharUpNotify.Parser, new[]{ "Char", "Handbook", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmWorldClass : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmWorldClass()); + 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::Proto.NotifyGmReflection.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 GmWorldClass() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmWorldClass(GmWorldClass other) : this() { + finalClass_ = other.finalClass_; + lastExp_ = other.lastExp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmWorldClass Clone() { + return new GmWorldClass(this); + } + + /// Field number for the "FinalClass" field. + public const int FinalClassFieldNumber = 1; + private uint finalClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FinalClass { + get { return finalClass_; } + set { + finalClass_ = value; + } + } + + /// Field number for the "LastExp" field. + public const int LastExpFieldNumber = 2; + private int lastExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LastExp { + get { return lastExp_; } + set { + lastExp_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmWorldClass); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmWorldClass other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FinalClass != other.FinalClass) return false; + if (LastExp != other.LastExp) return false; + if (NextPackage != other.NextPackage) 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 (FinalClass != 0) hash ^= FinalClass.GetHashCode(); + if (LastExp != 0) hash ^= LastExp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (FinalClass != 0) { + output.WriteRawTag(8); + output.WriteUInt32(FinalClass); + } + if (LastExp != 0) { + output.WriteRawTag(16); + output.WriteInt32(LastExp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (FinalClass != 0) { + output.WriteRawTag(8); + output.WriteUInt32(FinalClass); + } + if (LastExp != 0) { + output.WriteRawTag(16); + output.WriteInt32(LastExp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (FinalClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalClass); + } + if (LastExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LastExp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmWorldClass other) { + if (other == null) { + return; + } + if (other.FinalClass != 0) { + FinalClass = other.FinalClass; + } + if (other.LastExp != 0) { + LastExp = other.LastExp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + FinalClass = input.ReadUInt32(); + break; + } + case 16: { + LastExp = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + FinalClass = input.ReadUInt32(); + break; + } + case 16: { + LastExp = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmClearAllVampireSurvivor : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmClearAllVampireSurvivor()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllVampireSurvivor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllVampireSurvivor(GmClearAllVampireSurvivor other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllVampireSurvivor Clone() { + return new GmClearAllVampireSurvivor(this); + } + + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmClearAllVampireSurvivor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmClearAllVampireSurvivor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmClearAllVampireSurvivor other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmClearAllDailyInstance : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmClearAllDailyInstance()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllDailyInstance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllDailyInstance(GmClearAllDailyInstance other) : this() { + dailyInstances_ = other.dailyInstances_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllDailyInstance Clone() { + return new GmClearAllDailyInstance(this); + } + + /// Field number for the "DailyInstances" field. + public const int DailyInstancesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_dailyInstances_codec + = pb::FieldCodec.ForMessage(10, global::Proto.DailyInstance.Parser); + private readonly pbc::RepeatedField dailyInstances_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DailyInstances { + get { return dailyInstances_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmClearAllDailyInstance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmClearAllDailyInstance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!dailyInstances_.Equals(other.dailyInstances_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= dailyInstances_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + dailyInstances_.WriteTo(output, _repeated_dailyInstances_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + dailyInstances_.WriteTo(ref output, _repeated_dailyInstances_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += dailyInstances_.CalculateSize(_repeated_dailyInstances_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmClearAllDailyInstance other) { + if (other == null) { + return; + } + dailyInstances_.Add(other.dailyInstances_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + dailyInstances_.AddEntriesFrom(input, _repeated_dailyInstances_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + dailyInstances_.AddEntriesFrom(ref input, _repeated_dailyInstances_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmClearAllRegionBossLevel : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmClearAllRegionBossLevel()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllRegionBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllRegionBossLevel(GmClearAllRegionBossLevel other) : this() { + regionBossLevels_ = other.regionBossLevels_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllRegionBossLevel Clone() { + return new GmClearAllRegionBossLevel(this); + } + + /// Field number for the "RegionBossLevels" field. + public const int RegionBossLevelsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_regionBossLevels_codec + = pb::FieldCodec.ForMessage(10, global::Proto.RegionBossLevel.Parser); + private readonly pbc::RepeatedField regionBossLevels_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RegionBossLevels { + get { return regionBossLevels_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmClearAllRegionBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmClearAllRegionBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!regionBossLevels_.Equals(other.regionBossLevels_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= regionBossLevels_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + regionBossLevels_.WriteTo(output, _repeated_regionBossLevels_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + regionBossLevels_.WriteTo(ref output, _repeated_regionBossLevels_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += regionBossLevels_.CalculateSize(_repeated_regionBossLevels_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmClearAllRegionBossLevel other) { + if (other == null) { + return; + } + regionBossLevels_.Add(other.regionBossLevels_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + regionBossLevels_.AddEntriesFrom(input, _repeated_regionBossLevels_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + regionBossLevels_.AddEntriesFrom(ref input, _repeated_regionBossLevels_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmClearAllTravelerDue : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmClearAllTravelerDue()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllTravelerDue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllTravelerDue(GmClearAllTravelerDue other) : this() { + levels_ = other.levels_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllTravelerDue Clone() { + return new GmClearAllTravelerDue(this); + } + + /// Field number for the "Levels" field. + public const int LevelsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_levels_codec + = pb::FieldCodec.ForMessage(10, global::Proto.TravelerDuelBossLevel.Parser); + private readonly pbc::RepeatedField levels_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Levels { + get { return levels_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmClearAllTravelerDue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmClearAllTravelerDue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!levels_.Equals(other.levels_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= levels_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + levels_.WriteTo(output, _repeated_levels_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + levels_.WriteTo(ref output, _repeated_levels_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += levels_.CalculateSize(_repeated_levels_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmClearAllTravelerDue other) { + if (other == null) { + return; + } + levels_.Add(other.levels_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + levels_.AddEntriesFrom(input, _repeated_levels_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + levels_.AddEntriesFrom(ref input, _repeated_levels_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinity : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinity()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinity(CharAffinity other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinity Clone() { + return new CharAffinity(this); + } + + /// Field number for the "Info" field. + public const int InfoFieldNumber = 1; + private global::Proto.AffinityInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AffinityInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAffinity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinity other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.AffinityInfo(); + } + input.ReadMessage(Info); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmSTClearAllStarTower : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmSTClearAllStarTower()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmSTClearAllStarTower() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmSTClearAllStarTower(GmSTClearAllStarTower other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmSTClearAllStarTower Clone() { + return new GmSTClearAllStarTower(this); + } + + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmSTClearAllStarTower); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmSTClearAllStarTower other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmSTClearAllStarTower other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class STAddTeamExpNtf : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new STAddTeamExpNtf()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[7]; } + } + + [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 STAddTeamExpNtf() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public STAddTeamExpNtf(STAddTeamExpNtf other) : this() { + level_ = other.level_; + exp_ = other.exp_; + cases_ = other.cases_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public STAddTeamExpNtf Clone() { + return new STAddTeamExpNtf(this); + } + + /// Field number for the "Level" field. + public const int LevelFieldNumber = 1; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// Field number for the "Exp" field. + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// Field number for the "Cases" field. + public const int CasesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_cases_codec + = pb::FieldCodec.ForMessage(26, global::Proto.StarTowerRoomCase.Parser); + private readonly pbc::RepeatedField cases_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Cases { + get { return cases_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 STAddTeamExpNtf); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(STAddTeamExpNtf other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if(!cases_.Equals(other.cases_)) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + hash ^= cases_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + cases_.WriteTo(output, _repeated_cases_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + cases_.WriteTo(ref output, _repeated_cases_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + size += cases_.CalculateSize(_repeated_cases_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(STAddTeamExpNtf other) { + if (other == null) { + return; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + cases_.Add(other.cases_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: { + cases_.AddEntriesFrom(input, _repeated_cases_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Level = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: { + cases_.AddEntriesFrom(ref input, _repeated_cases_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmClearAllEquipmentInstance : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmClearAllEquipmentInstance()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[8]; } + } + + [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 GmClearAllEquipmentInstance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllEquipmentInstance(GmClearAllEquipmentInstance other) : this() { + equipmentInstances_ = other.equipmentInstances_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmClearAllEquipmentInstance Clone() { + return new GmClearAllEquipmentInstance(this); + } + + /// Field number for the "EquipmentInstances" field. + public const int EquipmentInstancesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_equipmentInstances_codec + = pb::FieldCodec.ForMessage(10, global::Proto.EquipmentInstance.Parser); + private readonly pbc::RepeatedField equipmentInstances_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EquipmentInstances { + get { return equipmentInstances_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmClearAllEquipmentInstance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmClearAllEquipmentInstance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!equipmentInstances_.Equals(other.equipmentInstances_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= equipmentInstances_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + equipmentInstances_.WriteTo(output, _repeated_equipmentInstances_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + equipmentInstances_.WriteTo(ref output, _repeated_equipmentInstances_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += equipmentInstances_.CalculateSize(_repeated_equipmentInstances_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmClearAllEquipmentInstance other) { + if (other == null) { + return; + } + equipmentInstances_.Add(other.equipmentInstances_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + equipmentInstances_.AddEntriesFrom(input, _repeated_equipmentInstances_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + equipmentInstances_.AddEntriesFrom(ref input, _repeated_equipmentInstances_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmAllInfinityTowerInfos : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmAllInfinityTowerInfos()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[9]; } + } + + [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 GmAllInfinityTowerInfos() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmAllInfinityTowerInfos(GmAllInfinityTowerInfos other) : this() { + infos_ = other.infos_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmAllInfinityTowerInfos Clone() { + return new GmAllInfinityTowerInfos(this); + } + + /// Field number for the "Infos" field. + public const int InfosFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_infos_codec + = pb::FieldCodec.ForMessage(10, global::Proto.InfinityTowerLevelInfo.Parser); + private readonly pbc::RepeatedField infos_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Infos { + get { return infos_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmAllInfinityTowerInfos); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmAllInfinityTowerInfos other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!infos_.Equals(other.infos_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= infos_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + infos_.WriteTo(output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + infos_.WriteTo(ref output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += infos_.CalculateSize(_repeated_infos_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmAllInfinityTowerInfos other) { + if (other == null) { + return; + } + infos_.Add(other.infos_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmStory : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmStory()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[10]; } + } + + [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 GmStory() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmStory(GmStory other) : this() { + evidences_ = other.evidences_.Clone(); + stories_ = other.stories_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmStory Clone() { + return new GmStory(this); + } + + /// Field number for the "Evidences" field. + public const int EvidencesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_evidences_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField evidences_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Evidences { + get { return evidences_; } + } + + /// Field number for the "Stories" field. + public const int StoriesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_stories_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Story.Parser); + private readonly pbc::RepeatedField stories_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Stories { + get { return stories_; } + } + + /// Field number for the "Change" field. + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmStory); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmStory other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!evidences_.Equals(other.evidences_)) return false; + if(!stories_.Equals(other.stories_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= evidences_.GetHashCode(); + hash ^= stories_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + evidences_.WriteTo(output, _repeated_evidences_codec); + stories_.WriteTo(output, _repeated_stories_codec); + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + evidences_.WriteTo(ref output, _repeated_evidences_codec); + stories_.WriteTo(ref output, _repeated_stories_codec); + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += evidences_.CalculateSize(_repeated_evidences_codec); + size += stories_.CalculateSize(_repeated_stories_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmStory other) { + if (other == null) { + return; + } + evidences_.Add(other.evidences_); + stories_.Add(other.stories_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + evidences_.AddEntriesFrom(input, _repeated_evidences_codec); + break; + } + case 18: { + stories_.AddEntriesFrom(input, _repeated_stories_codec); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + evidences_.AddEntriesFrom(ref input, _repeated_evidences_codec); + break; + } + case 18: { + stories_.AddEntriesFrom(ref input, _repeated_stories_codec); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmHarmonySkillNotify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmHarmonySkillNotify()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[11]; } + } + + [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 GmHarmonySkillNotify() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmHarmonySkillNotify(GmHarmonySkillNotify other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmHarmonySkillNotify Clone() { + return new GmHarmonySkillNotify(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmHarmonySkillNotify); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmHarmonySkillNotify other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmHarmonySkillNotify other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmTowerGrowthNodesNotify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmTowerGrowthNodesNotify()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[12]; } + } + + [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 GmTowerGrowthNodesNotify() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmTowerGrowthNodesNotify(GmTowerGrowthNodesNotify other) : this() { + detail_ = other.detail_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmTowerGrowthNodesNotify Clone() { + return new GmTowerGrowthNodesNotify(this); + } + + /// Field number for the "Detail" field. + public const int DetailFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_detail_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField detail_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Detail { + get { return detail_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmTowerGrowthNodesNotify); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmTowerGrowthNodesNotify other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!detail_.Equals(other.detail_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= detail_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + detail_.WriteTo(output, _repeated_detail_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + detail_.WriteTo(ref output, _repeated_detail_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += detail_.CalculateSize(_repeated_detail_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmTowerGrowthNodesNotify other) { + if (other == null) { + return; + } + detail_.Add(other.detail_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + detail_.AddEntriesFrom(input, _repeated_detail_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + detail_.AddEntriesFrom(ref input, _repeated_detail_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GmCharUpNotify : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GmCharUpNotify()); + 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::Proto.NotifyGmReflection.Descriptor.MessageTypes[13]; } + } + + [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 GmCharUpNotify() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmCharUpNotify(GmCharUpNotify other) : this() { + char_ = other.char_ != null ? other.char_.Clone() : null; + handbook_ = other.handbook_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GmCharUpNotify Clone() { + return new GmCharUpNotify(this); + } + + /// Field number for the "Char" field. + public const int CharFieldNumber = 1; + private global::Proto.Char char_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Char Char { + get { return char_; } + set { + char_ = value; + } + } + + /// Field number for the "Handbook" field. + public const int HandbookFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_handbook_codec + = pb::FieldCodec.ForMessage(18, global::Proto.HandbookInfo.Parser); + private readonly pbc::RepeatedField handbook_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Handbook { + get { return handbook_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 GmCharUpNotify); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GmCharUpNotify other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Char, other.Char)) return false; + if(!handbook_.Equals(other.handbook_)) return false; + if (NextPackage != other.NextPackage) 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 (char_ != null) hash ^= Char.GetHashCode(); + hash ^= handbook_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (char_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Char); + } + handbook_.WriteTo(output, _repeated_handbook_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (char_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Char); + } + handbook_.WriteTo(ref output, _repeated_handbook_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (char_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Char); + } + size += handbook_.CalculateSize(_repeated_handbook_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GmCharUpNotify other) { + if (other == null) { + return; + } + if (other.char_ != null) { + if (char_ == null) { + Char = new global::Proto.Char(); + } + Char.MergeFrom(other.Char); + } + handbook_.Add(other.handbook_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (char_ == null) { + Char = new global::Proto.Char(); + } + input.ReadMessage(Char); + break; + } + case 18: { + handbook_.AddEntriesFrom(input, _repeated_handbook_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (char_ == null) { + Char = new global::Proto.Char(); + } + input.ReadMessage(Char); + break; + } + case 18: { + handbook_.AddEntriesFrom(ref input, _repeated_handbook_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/OnceAdditionalAttributeValue.cs b/Novaria.Common/Protos/OnceAdditionalAttributeValue.cs deleted file mode 100644 index 61842f5..0000000 --- a/Novaria.Common/Protos/OnceAdditionalAttributeValue.cs +++ /dev/null @@ -1,579 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: OnceAdditionalAttributeValue.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 OnceAdditionalAttributeValue.proto - public static partial class OnceAdditionalAttributeValueReflection { - - #region Descriptor - /// File descriptor for OnceAdditionalAttributeValue.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static OnceAdditionalAttributeValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJPbmNlQWRkaXRpb25hbEF0dHJpYnV0ZVZhbHVlLnByb3RvIvABChxPbmNl", - "QWRkaXRpb25hbEF0dHJpYnV0ZVZhbHVlEgoKAmlkGAEgASgFEhcKD2F0dHJp", - "YnV0ZV90eXBlMRgCIAEoBRIXCg9wYXJhbWV0ZXJfdHlwZTEYAyABKAUSDgoG", - "dmFsdWUxGAQgASgFEhcKD2F0dHJpYnV0ZV90eXBlMhgFIAEoBRIXCg9wYXJh", - "bWV0ZXJfdHlwZTIYBiABKAUSDgoGdmFsdWUyGAcgASgFEhcKD2F0dHJpYnV0", - "ZV90eXBlMxgIIAEoBRIXCg9wYXJhbWV0ZXJfdHlwZTMYCSABKAUSDgoGdmFs", - "dWUzGAogASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OnceAdditionalAttributeValue), global::Nova.Client.OnceAdditionalAttributeValue.Parser, new[]{ "Id", "AttributeType1", "ParameterType1", "Value1", "AttributeType2", "ParameterType2", "Value2", "AttributeType3", "ParameterType3", "Value3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class OnceAdditionalAttributeValue : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OnceAdditionalAttributeValue()); - 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.OnceAdditionalAttributeValueReflection.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 OnceAdditionalAttributeValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnceAdditionalAttributeValue(OnceAdditionalAttributeValue other) : this() { - id_ = other.id_; - attributeType1_ = other.attributeType1_; - parameterType1_ = other.parameterType1_; - value1_ = other.value1_; - attributeType2_ = other.attributeType2_; - parameterType2_ = other.parameterType2_; - value2_ = other.value2_; - attributeType3_ = other.attributeType3_; - parameterType3_ = other.parameterType3_; - value3_ = other.value3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnceAdditionalAttributeValue Clone() { - return new OnceAdditionalAttributeValue(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 "attribute_type1" field. - public const int AttributeType1FieldNumber = 2; - private int attributeType1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttributeType1 { - get { return attributeType1_; } - set { - attributeType1_ = value; - } - } - - /// Field number for the "parameter_type1" field. - public const int ParameterType1FieldNumber = 3; - private int parameterType1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ParameterType1 { - get { return parameterType1_; } - set { - parameterType1_ = value; - } - } - - /// Field number for the "value1" field. - public const int Value1FieldNumber = 4; - private int value1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Value1 { - get { return value1_; } - set { - value1_ = value; - } - } - - /// Field number for the "attribute_type2" field. - public const int AttributeType2FieldNumber = 5; - private int attributeType2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttributeType2 { - get { return attributeType2_; } - set { - attributeType2_ = value; - } - } - - /// Field number for the "parameter_type2" field. - public const int ParameterType2FieldNumber = 6; - private int parameterType2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ParameterType2 { - get { return parameterType2_; } - set { - parameterType2_ = value; - } - } - - /// Field number for the "value2" field. - public const int Value2FieldNumber = 7; - private int value2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Value2 { - get { return value2_; } - set { - value2_ = value; - } - } - - /// Field number for the "attribute_type3" field. - public const int AttributeType3FieldNumber = 8; - private int attributeType3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AttributeType3 { - get { return attributeType3_; } - set { - attributeType3_ = value; - } - } - - /// Field number for the "parameter_type3" field. - public const int ParameterType3FieldNumber = 9; - private int parameterType3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ParameterType3 { - get { return parameterType3_; } - set { - parameterType3_ = value; - } - } - - /// Field number for the "value3" field. - public const int Value3FieldNumber = 10; - private int value3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Value3 { - get { return value3_; } - set { - value3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as OnceAdditionalAttributeValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(OnceAdditionalAttributeValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (AttributeType1 != other.AttributeType1) return false; - if (ParameterType1 != other.ParameterType1) return false; - if (Value1 != other.Value1) return false; - if (AttributeType2 != other.AttributeType2) return false; - if (ParameterType2 != other.ParameterType2) return false; - if (Value2 != other.Value2) return false; - if (AttributeType3 != other.AttributeType3) return false; - if (ParameterType3 != other.ParameterType3) return false; - if (Value3 != other.Value3) 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 (AttributeType1 != 0) hash ^= AttributeType1.GetHashCode(); - if (ParameterType1 != 0) hash ^= ParameterType1.GetHashCode(); - if (Value1 != 0) hash ^= Value1.GetHashCode(); - if (AttributeType2 != 0) hash ^= AttributeType2.GetHashCode(); - if (ParameterType2 != 0) hash ^= ParameterType2.GetHashCode(); - if (Value2 != 0) hash ^= Value2.GetHashCode(); - if (AttributeType3 != 0) hash ^= AttributeType3.GetHashCode(); - if (ParameterType3 != 0) hash ^= ParameterType3.GetHashCode(); - if (Value3 != 0) hash ^= Value3.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 (AttributeType1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(AttributeType1); - } - if (ParameterType1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(ParameterType1); - } - if (Value1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Value1); - } - if (AttributeType2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AttributeType2); - } - if (ParameterType2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(ParameterType2); - } - if (Value2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Value2); - } - if (AttributeType3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(AttributeType3); - } - if (ParameterType3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(ParameterType3); - } - if (Value3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Value3); - } - 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 (AttributeType1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(AttributeType1); - } - if (ParameterType1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(ParameterType1); - } - if (Value1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(Value1); - } - if (AttributeType2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AttributeType2); - } - if (ParameterType2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(ParameterType2); - } - if (Value2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Value2); - } - if (AttributeType3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(AttributeType3); - } - if (ParameterType3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(ParameterType3); - } - if (Value3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Value3); - } - 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 (AttributeType1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType1); - } - if (ParameterType1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType1); - } - if (Value1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value1); - } - if (AttributeType2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType2); - } - if (ParameterType2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType2); - } - if (Value2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value2); - } - if (AttributeType3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType3); - } - if (ParameterType3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType3); - } - if (Value3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(OnceAdditionalAttributeValue other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.AttributeType1 != 0) { - AttributeType1 = other.AttributeType1; - } - if (other.ParameterType1 != 0) { - ParameterType1 = other.ParameterType1; - } - if (other.Value1 != 0) { - Value1 = other.Value1; - } - if (other.AttributeType2 != 0) { - AttributeType2 = other.AttributeType2; - } - if (other.ParameterType2 != 0) { - ParameterType2 = other.ParameterType2; - } - if (other.Value2 != 0) { - Value2 = other.Value2; - } - if (other.AttributeType3 != 0) { - AttributeType3 = other.AttributeType3; - } - if (other.ParameterType3 != 0) { - ParameterType3 = other.ParameterType3; - } - if (other.Value3 != 0) { - Value3 = other.Value3; - } - _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: { - AttributeType1 = input.ReadInt32(); - break; - } - case 24: { - ParameterType1 = input.ReadInt32(); - break; - } - case 32: { - Value1 = input.ReadInt32(); - break; - } - case 40: { - AttributeType2 = input.ReadInt32(); - break; - } - case 48: { - ParameterType2 = input.ReadInt32(); - break; - } - case 56: { - Value2 = input.ReadInt32(); - break; - } - case 64: { - AttributeType3 = input.ReadInt32(); - break; - } - case 72: { - ParameterType3 = input.ReadInt32(); - break; - } - case 80: { - Value3 = 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: { - AttributeType1 = input.ReadInt32(); - break; - } - case 24: { - ParameterType1 = input.ReadInt32(); - break; - } - case 32: { - Value1 = input.ReadInt32(); - break; - } - case 40: { - AttributeType2 = input.ReadInt32(); - break; - } - case 48: { - ParameterType2 = input.ReadInt32(); - break; - } - case 56: { - Value2 = input.ReadInt32(); - break; - } - case 64: { - AttributeType3 = input.ReadInt32(); - break; - } - case 72: { - ParameterType3 = input.ReadInt32(); - break; - } - case 80: { - Value3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/OpenFunc.cs b/Novaria.Common/Protos/OpenFunc.cs deleted file mode 100644 index a504e89..0000000 --- a/Novaria.Common/Protos/OpenFunc.cs +++ /dev/null @@ -1,540 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: OpenFunc.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 OpenFunc.proto - public static partial class OpenFuncReflection { - - #region Descriptor - /// File descriptor for OpenFunc.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static OpenFuncReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5PcGVuRnVuYy5wcm90byKuAQoIT3BlbkZ1bmMSCgoCaWQYASABKAUSDAoE", - "bmFtZRgCIAEoCRIYChBuZWVkX3dvcmxkX2NsYXNzGAMgASgFEhcKD25lZWRf", - "Y29uZGl0aW9ucxgEIAEoBRIWCg5uZWVkX3JvZ3VlbGlrZRgFIAEoBRITCgtw", - "b3Bfd2luZG93cxgGIAEoCBIMCgRkZXNjGAcgASgJEgwKBGljb24YCCABKAkS", - "DAoEdGlwcxgJIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OpenFunc), global::Nova.Client.OpenFunc.Parser, new[]{ "Id", "Name", "NeedWorldClass", "NeedConditions", "NeedRoguelike", "PopWindows", "Desc", "Icon", "Tips" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class OpenFunc : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OpenFunc()); - 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.OpenFuncReflection.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 OpenFunc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OpenFunc(OpenFunc other) : this() { - id_ = other.id_; - name_ = other.name_; - needWorldClass_ = other.needWorldClass_; - needConditions_ = other.needConditions_; - needRoguelike_ = other.needRoguelike_; - popWindows_ = other.popWindows_; - desc_ = other.desc_; - icon_ = other.icon_; - tips_ = other.tips_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OpenFunc Clone() { - return new OpenFunc(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 "name" field. - 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"); - } - } - - /// Field number for the "need_world_class" field. - public const int NeedWorldClassFieldNumber = 3; - 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 "need_conditions" field. - public const int NeedConditionsFieldNumber = 4; - private int needConditions_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedConditions { - get { return needConditions_; } - set { - needConditions_ = value; - } - } - - /// Field number for the "need_roguelike" field. - public const int NeedRoguelikeFieldNumber = 5; - private int needRoguelike_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedRoguelike { - get { return needRoguelike_; } - set { - needRoguelike_ = value; - } - } - - /// Field number for the "pop_windows" field. - public const int PopWindowsFieldNumber = 6; - private bool popWindows_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool PopWindows { - get { return popWindows_; } - set { - popWindows_ = value; - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 7; - 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 "icon" field. - public const int IconFieldNumber = 8; - 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 "tips" field. - public const int TipsFieldNumber = 9; - private string tips_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tips { - get { return tips_; } - set { - tips_ = 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 OpenFunc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(OpenFunc 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 (NeedWorldClass != other.NeedWorldClass) return false; - if (NeedConditions != other.NeedConditions) return false; - if (NeedRoguelike != other.NeedRoguelike) return false; - if (PopWindows != other.PopWindows) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (Tips != other.Tips) 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 (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); - if (NeedConditions != 0) hash ^= NeedConditions.GetHashCode(); - if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode(); - if (PopWindows != false) hash ^= PopWindows.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Tips.Length != 0) hash ^= Tips.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 (NeedWorldClass != 0) { - output.WriteRawTag(24); - output.WriteInt32(NeedWorldClass); - } - if (NeedConditions != 0) { - output.WriteRawTag(32); - output.WriteInt32(NeedConditions); - } - if (NeedRoguelike != 0) { - output.WriteRawTag(40); - output.WriteInt32(NeedRoguelike); - } - if (PopWindows != false) { - output.WriteRawTag(48); - output.WriteBool(PopWindows); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (Tips.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Tips); - } - 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 (NeedWorldClass != 0) { - output.WriteRawTag(24); - output.WriteInt32(NeedWorldClass); - } - if (NeedConditions != 0) { - output.WriteRawTag(32); - output.WriteInt32(NeedConditions); - } - if (NeedRoguelike != 0) { - output.WriteRawTag(40); - output.WriteInt32(NeedRoguelike); - } - if (PopWindows != false) { - output.WriteRawTag(48); - output.WriteBool(PopWindows); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (Tips.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Tips); - } - 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 (NeedWorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); - } - if (NeedConditions != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedConditions); - } - if (NeedRoguelike != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike); - } - if (PopWindows != false) { - size += 1 + 1; - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Tips.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Tips); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(OpenFunc other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.NeedWorldClass != 0) { - NeedWorldClass = other.NeedWorldClass; - } - if (other.NeedConditions != 0) { - NeedConditions = other.NeedConditions; - } - if (other.NeedRoguelike != 0) { - NeedRoguelike = other.NeedRoguelike; - } - if (other.PopWindows != false) { - PopWindows = other.PopWindows; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Tips.Length != 0) { - Tips = other.Tips; - } - _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: { - NeedWorldClass = input.ReadInt32(); - break; - } - case 32: { - NeedConditions = input.ReadInt32(); - break; - } - case 40: { - NeedRoguelike = input.ReadInt32(); - break; - } - case 48: { - PopWindows = input.ReadBool(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 74: { - Tips = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - NeedWorldClass = input.ReadInt32(); - break; - } - case 32: { - NeedConditions = input.ReadInt32(); - break; - } - case 40: { - NeedRoguelike = input.ReadInt32(); - break; - } - case 48: { - PopWindows = input.ReadBool(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 74: { - Tips = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PeriodicQuest.cs b/Novaria.Common/Protos/PeriodicQuest.cs deleted file mode 100644 index e8d4bf8..0000000 --- a/Novaria.Common/Protos/PeriodicQuest.cs +++ /dev/null @@ -1,465 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PeriodicQuest.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 PeriodicQuest.proto - public static partial class PeriodicQuestReflection { - - #region Descriptor - /// File descriptor for PeriodicQuest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PeriodicQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNQZXJpb2RpY1F1ZXN0LnByb3RvIoABCg1QZXJpb2RpY1F1ZXN0EgoKAmlk", - "GAEgASgFEg4KBmJlbG9uZxgCIAEoBRIPCgdncm91cGlkGAMgASgFEg0KBXRp", - "dGxlGAQgASgJEg8KB2p1bXBfdG8YBSABKAUSDgoGcmV3YXJkGAYgASgFEhIK", - "CnJld2FyZF9xdHkYByABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PeriodicQuest), global::Nova.Client.PeriodicQuest.Parser, new[]{ "Id", "Belong", "Groupid", "Title", "JumpTo", "Reward", "RewardQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PeriodicQuest : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PeriodicQuest()); - 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.PeriodicQuestReflection.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 PeriodicQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuest(PeriodicQuest other) : this() { - id_ = other.id_; - belong_ = other.belong_; - groupid_ = other.groupid_; - title_ = other.title_; - jumpTo_ = other.jumpTo_; - reward_ = other.reward_; - rewardQty_ = other.rewardQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuest Clone() { - return new PeriodicQuest(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 "belong" field. - public const int BelongFieldNumber = 2; - private int belong_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Belong { - get { return belong_; } - set { - belong_ = value; - } - } - - /// Field number for the "groupid" field. - public const int GroupidFieldNumber = 3; - private int groupid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Groupid { - get { return groupid_; } - set { - groupid_ = value; - } - } - - /// Field number for the "title" field. - public const int TitleFieldNumber = 4; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "jump_to" field. - public const int JumpToFieldNumber = 5; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// Field number for the "reward" field. - public const int RewardFieldNumber = 6; - private int reward_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward { - get { return reward_; } - set { - reward_ = value; - } - } - - /// Field number for the "reward_qty" field. - public const int RewardQtyFieldNumber = 7; - private int rewardQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty { - get { return rewardQty_; } - set { - rewardQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PeriodicQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PeriodicQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Belong != other.Belong) return false; - if (Groupid != other.Groupid) return false; - if (Title != other.Title) return false; - if (JumpTo != other.JumpTo) return false; - if (Reward != other.Reward) return false; - if (RewardQty != other.RewardQty) 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 (Belong != 0) hash ^= Belong.GetHashCode(); - if (Groupid != 0) hash ^= Groupid.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Reward != 0) hash ^= Reward.GetHashCode(); - if (RewardQty != 0) hash ^= RewardQty.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 (Belong != 0) { - output.WriteRawTag(16); - output.WriteInt32(Belong); - } - if (Groupid != 0) { - output.WriteRawTag(24); - output.WriteInt32(Groupid); - } - if (Title.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(40); - output.WriteInt32(JumpTo); - } - if (Reward != 0) { - output.WriteRawTag(48); - output.WriteInt32(Reward); - } - if (RewardQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardQty); - } - 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 (Belong != 0) { - output.WriteRawTag(16); - output.WriteInt32(Belong); - } - if (Groupid != 0) { - output.WriteRawTag(24); - output.WriteInt32(Groupid); - } - if (Title.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(40); - output.WriteInt32(JumpTo); - } - if (Reward != 0) { - output.WriteRawTag(48); - output.WriteInt32(Reward); - } - if (RewardQty != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardQty); - } - 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 (Belong != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Belong); - } - if (Groupid != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Groupid); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Reward != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward); - } - if (RewardQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PeriodicQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Belong != 0) { - Belong = other.Belong; - } - if (other.Groupid != 0) { - Groupid = other.Groupid; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Reward != 0) { - Reward = other.Reward; - } - if (other.RewardQty != 0) { - RewardQty = other.RewardQty; - } - _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: { - Belong = input.ReadInt32(); - break; - } - case 24: { - Groupid = input.ReadInt32(); - break; - } - case 34: { - Title = input.ReadString(); - break; - } - case 40: { - JumpTo = input.ReadInt32(); - break; - } - case 48: { - Reward = input.ReadInt32(); - break; - } - case 56: { - RewardQty = 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: { - Belong = input.ReadInt32(); - break; - } - case 24: { - Groupid = input.ReadInt32(); - break; - } - case 34: { - Title = input.ReadString(); - break; - } - case 40: { - JumpTo = input.ReadInt32(); - break; - } - case 48: { - Reward = input.ReadInt32(); - break; - } - case 56: { - RewardQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PeriodicQuestControl.cs b/Novaria.Common/Protos/PeriodicQuestControl.cs deleted file mode 100644 index ff8975a..0000000 --- a/Novaria.Common/Protos/PeriodicQuestControl.cs +++ /dev/null @@ -1,617 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PeriodicQuestControl.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 PeriodicQuestControl.proto - public static partial class PeriodicQuestControlReflection { - - #region Descriptor - /// File descriptor for PeriodicQuestControl.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PeriodicQuestControlReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpQZXJpb2RpY1F1ZXN0Q29udHJvbC5wcm90byKHAgoUUGVyaW9kaWNRdWVz", - "dENvbnRyb2wSCgoCaWQYASABKAUSFQoNZmluYWxfcmV3YXJkMRgCIAEoBRIZ", - "ChFmaW5hbF9yZXdhcmRfcXR5MRgDIAEoBRIVCg1maW5hbF9yZXdhcmQyGAQg", - "ASgFEhkKEWZpbmFsX3Jld2FyZF9xdHkyGAUgASgFEhUKDWZpbmFsX3Jld2Fy", - "ZDMYBiABKAUSGQoRZmluYWxfcmV3YXJkX3F0eTMYByABKAUSEAoIZGVzX3Rl", - "eHQYCCABKAkSEgoKdV9pX2Fzc2V0cxgJIAEoCRIRCgljdHJsX25hbWUYCiAB", - "KAkSFAoMcHJldmlld190eXBlGAsgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PeriodicQuestControl), global::Nova.Client.PeriodicQuestControl.Parser, new[]{ "Id", "FinalReward1", "FinalRewardQty1", "FinalReward2", "FinalRewardQty2", "FinalReward3", "FinalRewardQty3", "DesText", "UIAssets", "CtrlName", "PreviewType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PeriodicQuestControl : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PeriodicQuestControl()); - 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.PeriodicQuestControlReflection.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 PeriodicQuestControl() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuestControl(PeriodicQuestControl other) : this() { - id_ = other.id_; - finalReward1_ = other.finalReward1_; - finalRewardQty1_ = other.finalRewardQty1_; - finalReward2_ = other.finalReward2_; - finalRewardQty2_ = other.finalRewardQty2_; - finalReward3_ = other.finalReward3_; - finalRewardQty3_ = other.finalRewardQty3_; - desText_ = other.desText_; - uIAssets_ = other.uIAssets_; - ctrlName_ = other.ctrlName_; - previewType_ = other.previewType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuestControl Clone() { - return new PeriodicQuestControl(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 "final_reward1" field. - public const int FinalReward1FieldNumber = 2; - private int finalReward1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalReward1 { - get { return finalReward1_; } - set { - finalReward1_ = value; - } - } - - /// Field number for the "final_reward_qty1" field. - public const int FinalRewardQty1FieldNumber = 3; - private int finalRewardQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalRewardQty1 { - get { return finalRewardQty1_; } - set { - finalRewardQty1_ = value; - } - } - - /// Field number for the "final_reward2" field. - public const int FinalReward2FieldNumber = 4; - private int finalReward2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalReward2 { - get { return finalReward2_; } - set { - finalReward2_ = value; - } - } - - /// Field number for the "final_reward_qty2" field. - public const int FinalRewardQty2FieldNumber = 5; - private int finalRewardQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalRewardQty2 { - get { return finalRewardQty2_; } - set { - finalRewardQty2_ = value; - } - } - - /// Field number for the "final_reward3" field. - public const int FinalReward3FieldNumber = 6; - private int finalReward3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalReward3 { - get { return finalReward3_; } - set { - finalReward3_ = value; - } - } - - /// Field number for the "final_reward_qty3" field. - public const int FinalRewardQty3FieldNumber = 7; - private int finalRewardQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalRewardQty3 { - get { return finalRewardQty3_; } - set { - finalRewardQty3_ = value; - } - } - - /// Field number for the "des_text" field. - public const int DesTextFieldNumber = 8; - private string desText_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DesText { - get { return desText_; } - set { - desText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "u_i_assets" field. - public const int UIAssetsFieldNumber = 9; - private string uIAssets_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UIAssets { - get { return uIAssets_; } - set { - uIAssets_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ctrl_name" field. - public const int CtrlNameFieldNumber = 10; - private string ctrlName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CtrlName { - get { return ctrlName_; } - set { - ctrlName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "preview_type" field. - public const int PreviewTypeFieldNumber = 11; - private int previewType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreviewType { - get { return previewType_; } - set { - previewType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PeriodicQuestControl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PeriodicQuestControl other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (FinalReward1 != other.FinalReward1) return false; - if (FinalRewardQty1 != other.FinalRewardQty1) return false; - if (FinalReward2 != other.FinalReward2) return false; - if (FinalRewardQty2 != other.FinalRewardQty2) return false; - if (FinalReward3 != other.FinalReward3) return false; - if (FinalRewardQty3 != other.FinalRewardQty3) return false; - if (DesText != other.DesText) return false; - if (UIAssets != other.UIAssets) return false; - if (CtrlName != other.CtrlName) return false; - if (PreviewType != other.PreviewType) 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 (FinalReward1 != 0) hash ^= FinalReward1.GetHashCode(); - if (FinalRewardQty1 != 0) hash ^= FinalRewardQty1.GetHashCode(); - if (FinalReward2 != 0) hash ^= FinalReward2.GetHashCode(); - if (FinalRewardQty2 != 0) hash ^= FinalRewardQty2.GetHashCode(); - if (FinalReward3 != 0) hash ^= FinalReward3.GetHashCode(); - if (FinalRewardQty3 != 0) hash ^= FinalRewardQty3.GetHashCode(); - if (DesText.Length != 0) hash ^= DesText.GetHashCode(); - if (UIAssets.Length != 0) hash ^= UIAssets.GetHashCode(); - if (CtrlName.Length != 0) hash ^= CtrlName.GetHashCode(); - if (PreviewType != 0) hash ^= PreviewType.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 (FinalReward1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(FinalReward1); - } - if (FinalRewardQty1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(FinalRewardQty1); - } - if (FinalReward2 != 0) { - output.WriteRawTag(32); - output.WriteInt32(FinalReward2); - } - if (FinalRewardQty2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(FinalRewardQty2); - } - if (FinalReward3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(FinalReward3); - } - if (FinalRewardQty3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(FinalRewardQty3); - } - if (DesText.Length != 0) { - output.WriteRawTag(66); - output.WriteString(DesText); - } - if (UIAssets.Length != 0) { - output.WriteRawTag(74); - output.WriteString(UIAssets); - } - if (CtrlName.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CtrlName); - } - if (PreviewType != 0) { - output.WriteRawTag(88); - output.WriteInt32(PreviewType); - } - 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 (FinalReward1 != 0) { - output.WriteRawTag(16); - output.WriteInt32(FinalReward1); - } - if (FinalRewardQty1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(FinalRewardQty1); - } - if (FinalReward2 != 0) { - output.WriteRawTag(32); - output.WriteInt32(FinalReward2); - } - if (FinalRewardQty2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(FinalRewardQty2); - } - if (FinalReward3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(FinalReward3); - } - if (FinalRewardQty3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(FinalRewardQty3); - } - if (DesText.Length != 0) { - output.WriteRawTag(66); - output.WriteString(DesText); - } - if (UIAssets.Length != 0) { - output.WriteRawTag(74); - output.WriteString(UIAssets); - } - if (CtrlName.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CtrlName); - } - if (PreviewType != 0) { - output.WriteRawTag(88); - output.WriteInt32(PreviewType); - } - 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 (FinalReward1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalReward1); - } - if (FinalRewardQty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalRewardQty1); - } - if (FinalReward2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalReward2); - } - if (FinalRewardQty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalRewardQty2); - } - if (FinalReward3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalReward3); - } - if (FinalRewardQty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalRewardQty3); - } - if (DesText.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DesText); - } - if (UIAssets.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UIAssets); - } - if (CtrlName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CtrlName); - } - if (PreviewType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PeriodicQuestControl other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.FinalReward1 != 0) { - FinalReward1 = other.FinalReward1; - } - if (other.FinalRewardQty1 != 0) { - FinalRewardQty1 = other.FinalRewardQty1; - } - if (other.FinalReward2 != 0) { - FinalReward2 = other.FinalReward2; - } - if (other.FinalRewardQty2 != 0) { - FinalRewardQty2 = other.FinalRewardQty2; - } - if (other.FinalReward3 != 0) { - FinalReward3 = other.FinalReward3; - } - if (other.FinalRewardQty3 != 0) { - FinalRewardQty3 = other.FinalRewardQty3; - } - if (other.DesText.Length != 0) { - DesText = other.DesText; - } - if (other.UIAssets.Length != 0) { - UIAssets = other.UIAssets; - } - if (other.CtrlName.Length != 0) { - CtrlName = other.CtrlName; - } - if (other.PreviewType != 0) { - PreviewType = other.PreviewType; - } - _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: { - FinalReward1 = input.ReadInt32(); - break; - } - case 24: { - FinalRewardQty1 = input.ReadInt32(); - break; - } - case 32: { - FinalReward2 = input.ReadInt32(); - break; - } - case 40: { - FinalRewardQty2 = input.ReadInt32(); - break; - } - case 48: { - FinalReward3 = input.ReadInt32(); - break; - } - case 56: { - FinalRewardQty3 = input.ReadInt32(); - break; - } - case 66: { - DesText = input.ReadString(); - break; - } - case 74: { - UIAssets = input.ReadString(); - break; - } - case 82: { - CtrlName = input.ReadString(); - break; - } - case 88: { - PreviewType = 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: { - FinalReward1 = input.ReadInt32(); - break; - } - case 24: { - FinalRewardQty1 = input.ReadInt32(); - break; - } - case 32: { - FinalReward2 = input.ReadInt32(); - break; - } - case 40: { - FinalRewardQty2 = input.ReadInt32(); - break; - } - case 48: { - FinalReward3 = input.ReadInt32(); - break; - } - case 56: { - FinalRewardQty3 = input.ReadInt32(); - break; - } - case 66: { - DesText = input.ReadString(); - break; - } - case 74: { - UIAssets = input.ReadString(); - break; - } - case 82: { - CtrlName = input.ReadString(); - break; - } - case 88: { - PreviewType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Perk.cs b/Novaria.Common/Protos/Perk.cs deleted file mode 100644 index 1015ecb..0000000 --- a/Novaria.Common/Protos/Perk.cs +++ /dev/null @@ -1,1178 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Perk.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 Perk.proto - public static partial class PerkReflection { - - #region Descriptor - /// File descriptor for Perk.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PerkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpQZXJrLnByb3RvIqIECgRQZXJrEgoKAmlkGAEgASgFEhEKCW1heF9sZXZl", - "bBgCIAEoBRIYChBhZGRpdGlvbmFsX2xldmVsGAMgASgIEg0KBWVfZV90GAQg", - "ASgFEhYKDnNjb3JlX2dyb3VwX2lkGAUgASgFEhYKDnN0cmVuZ3RoX3Njb3Jl", - "GAYgAygFEhEKCXBlcmtfdHlwZRgHIAEoBRIPCgdjaGFyX2lkGAggASgFEhYK", - "DmNoYXJfcGVya190eXBlGAkgASgFEg0KBXRoZW1lGAogASgFEhQKDGdhbWVf", - "Ym9va19pZBgLIAEoBRIcChRvcGVyYXRpbmdfZmxvb3JfdHlwZRgMIAMoBRIY", - "ChBvcGVyYXRpbmdfbnVtYmVyGA0gASgFEg0KBXByaWNlGA4gASgFEgwKBHNs", - "b3QYDyABKAUSDAoEdGFncxgQIAMoBRIUCgxwcmVfcGVya19pZHMYESADKAUS", - "FAoMcHJlX3RhZ19wa2dzGBIgASgJEhIKCm5lZWRfZmxvb3IYEyABKAUSFwoP", - "ZWZmZWN0X2dyb3VwX2lkGBQgASgFEhQKDGlzX2VmZmVjdGl2ZRgVIAEoCBIR", - "CglwZXJrX3RhZzEYFiABKAkSEQoJcGVya190YWcyGBcgASgJEhEKCXBlcmtf", - "dGFnMxgYIAEoCRIRCglwZXJrX3RhZzQYGSABKAkSEQoJbG9nb19pY29uGBog", - "ASgJEhAKCHNsb3RfdGFnGBsgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Perk), global::Nova.Client.Perk.Parser, new[]{ "Id", "MaxLevel", "AdditionalLevel", "EET", "ScoreGroupId", "StrengthScore", "PerkType", "CharId", "CharPerkType", "Theme", "GameBookId", "OperatingFloorType", "OperatingNumber", "Price", "Slot", "Tags", "PrePerkIds", "PreTagPkgs", "NeedFloor", "EffectGroupId", "IsEffective", "PerkTag1", "PerkTag2", "PerkTag3", "PerkTag4", "LogoIcon", "SlotTag" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Perk : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Perk()); - 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.PerkReflection.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 Perk() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Perk(Perk other) : this() { - id_ = other.id_; - maxLevel_ = other.maxLevel_; - additionalLevel_ = other.additionalLevel_; - eET_ = other.eET_; - scoreGroupId_ = other.scoreGroupId_; - strengthScore_ = other.strengthScore_.Clone(); - perkType_ = other.perkType_; - charId_ = other.charId_; - charPerkType_ = other.charPerkType_; - theme_ = other.theme_; - gameBookId_ = other.gameBookId_; - operatingFloorType_ = other.operatingFloorType_.Clone(); - operatingNumber_ = other.operatingNumber_; - price_ = other.price_; - slot_ = other.slot_; - tags_ = other.tags_.Clone(); - prePerkIds_ = other.prePerkIds_.Clone(); - preTagPkgs_ = other.preTagPkgs_; - needFloor_ = other.needFloor_; - effectGroupId_ = other.effectGroupId_; - isEffective_ = other.isEffective_; - perkTag1_ = other.perkTag1_; - perkTag2_ = other.perkTag2_; - perkTag3_ = other.perkTag3_; - perkTag4_ = other.perkTag4_; - logoIcon_ = other.logoIcon_; - slotTag_ = other.slotTag_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Perk Clone() { - return new Perk(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 "max_level" field. - public const int MaxLevelFieldNumber = 2; - private int maxLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxLevel { - get { return maxLevel_; } - set { - maxLevel_ = value; - } - } - - /// Field number for the "additional_level" field. - public const int AdditionalLevelFieldNumber = 3; - private bool additionalLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AdditionalLevel { - get { return additionalLevel_; } - set { - additionalLevel_ = value; - } - } - - /// Field number for the "e_e_t" field. - public const int EETFieldNumber = 4; - private int eET_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EET { - get { return eET_; } - set { - eET_ = value; - } - } - - /// Field number for the "score_group_id" field. - public const int ScoreGroupIdFieldNumber = 5; - private int scoreGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ScoreGroupId { - get { return scoreGroupId_; } - set { - scoreGroupId_ = value; - } - } - - /// Field number for the "strength_score" field. - public const int StrengthScoreFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_strengthScore_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField strengthScore_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField StrengthScore { - get { return strengthScore_; } - } - - /// Field number for the "perk_type" field. - public const int PerkTypeFieldNumber = 7; - private int perkType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PerkType { - get { return perkType_; } - set { - perkType_ = value; - } - } - - /// Field number for the "char_id" field. - public const int CharIdFieldNumber = 8; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "char_perk_type" field. - public const int CharPerkTypeFieldNumber = 9; - private int charPerkType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharPerkType { - get { return charPerkType_; } - set { - charPerkType_ = value; - } - } - - /// Field number for the "theme" field. - public const int ThemeFieldNumber = 10; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// Field number for the "game_book_id" field. - public const int GameBookIdFieldNumber = 11; - private int gameBookId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GameBookId { - get { return gameBookId_; } - set { - gameBookId_ = value; - } - } - - /// Field number for the "operating_floor_type" field. - public const int OperatingFloorTypeFieldNumber = 12; - private static readonly pb::FieldCodec _repeated_operatingFloorType_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField operatingFloorType_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField OperatingFloorType { - get { return operatingFloorType_; } - } - - /// Field number for the "operating_number" field. - public const int OperatingNumberFieldNumber = 13; - private int operatingNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OperatingNumber { - get { return operatingNumber_; } - set { - operatingNumber_ = value; - } - } - - /// Field number for the "price" field. - public const int PriceFieldNumber = 14; - private int price_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Price { - get { return price_; } - set { - price_ = value; - } - } - - /// Field number for the "slot" field. - public const int SlotFieldNumber = 15; - private int slot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Slot { - get { return slot_; } - set { - slot_ = value; - } - } - - /// Field number for the "tags" field. - public const int TagsFieldNumber = 16; - private static readonly pb::FieldCodec _repeated_tags_codec - = pb::FieldCodec.ForInt32(130); - private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Tags { - get { return tags_; } - } - - /// Field number for the "pre_perk_ids" field. - public const int PrePerkIdsFieldNumber = 17; - private static readonly pb::FieldCodec _repeated_prePerkIds_codec - = pb::FieldCodec.ForInt32(138); - private readonly pbc::RepeatedField prePerkIds_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField PrePerkIds { - get { return prePerkIds_; } - } - - /// Field number for the "pre_tag_pkgs" field. - public const int PreTagPkgsFieldNumber = 18; - private string preTagPkgs_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PreTagPkgs { - get { return preTagPkgs_; } - set { - preTagPkgs_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "need_floor" field. - public const int NeedFloorFieldNumber = 19; - private int needFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedFloor { - get { return needFloor_; } - set { - needFloor_ = value; - } - } - - /// Field number for the "effect_group_id" field. - public const int EffectGroupIdFieldNumber = 20; - private int effectGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectGroupId { - get { return effectGroupId_; } - set { - effectGroupId_ = value; - } - } - - /// Field number for the "is_effective" field. - public const int IsEffectiveFieldNumber = 21; - private bool isEffective_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsEffective { - get { return isEffective_; } - set { - isEffective_ = value; - } - } - - /// Field number for the "perk_tag1" field. - public const int PerkTag1FieldNumber = 22; - private string perkTag1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PerkTag1 { - get { return perkTag1_; } - set { - perkTag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "perk_tag2" field. - public const int PerkTag2FieldNumber = 23; - private string perkTag2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PerkTag2 { - get { return perkTag2_; } - set { - perkTag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "perk_tag3" field. - public const int PerkTag3FieldNumber = 24; - private string perkTag3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PerkTag3 { - get { return perkTag3_; } - set { - perkTag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "perk_tag4" field. - public const int PerkTag4FieldNumber = 25; - private string perkTag4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PerkTag4 { - get { return perkTag4_; } - set { - perkTag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "logo_icon" field. - public const int LogoIconFieldNumber = 26; - private string logoIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LogoIcon { - get { return logoIcon_; } - set { - logoIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "slot_tag" field. - public const int SlotTagFieldNumber = 27; - private string slotTag_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SlotTag { - get { return slotTag_; } - set { - slotTag_ = 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 Perk); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Perk other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (MaxLevel != other.MaxLevel) return false; - if (AdditionalLevel != other.AdditionalLevel) return false; - if (EET != other.EET) return false; - if (ScoreGroupId != other.ScoreGroupId) return false; - if(!strengthScore_.Equals(other.strengthScore_)) return false; - if (PerkType != other.PerkType) return false; - if (CharId != other.CharId) return false; - if (CharPerkType != other.CharPerkType) return false; - if (Theme != other.Theme) return false; - if (GameBookId != other.GameBookId) return false; - if(!operatingFloorType_.Equals(other.operatingFloorType_)) return false; - if (OperatingNumber != other.OperatingNumber) return false; - if (Price != other.Price) return false; - if (Slot != other.Slot) return false; - if(!tags_.Equals(other.tags_)) return false; - if(!prePerkIds_.Equals(other.prePerkIds_)) return false; - if (PreTagPkgs != other.PreTagPkgs) return false; - if (NeedFloor != other.NeedFloor) return false; - if (EffectGroupId != other.EffectGroupId) return false; - if (IsEffective != other.IsEffective) return false; - if (PerkTag1 != other.PerkTag1) return false; - if (PerkTag2 != other.PerkTag2) return false; - if (PerkTag3 != other.PerkTag3) return false; - if (PerkTag4 != other.PerkTag4) return false; - if (LogoIcon != other.LogoIcon) return false; - if (SlotTag != other.SlotTag) 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 (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); - if (AdditionalLevel != false) hash ^= AdditionalLevel.GetHashCode(); - if (EET != 0) hash ^= EET.GetHashCode(); - if (ScoreGroupId != 0) hash ^= ScoreGroupId.GetHashCode(); - hash ^= strengthScore_.GetHashCode(); - if (PerkType != 0) hash ^= PerkType.GetHashCode(); - if (CharId != 0) hash ^= CharId.GetHashCode(); - if (CharPerkType != 0) hash ^= CharPerkType.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (GameBookId != 0) hash ^= GameBookId.GetHashCode(); - hash ^= operatingFloorType_.GetHashCode(); - if (OperatingNumber != 0) hash ^= OperatingNumber.GetHashCode(); - if (Price != 0) hash ^= Price.GetHashCode(); - if (Slot != 0) hash ^= Slot.GetHashCode(); - hash ^= tags_.GetHashCode(); - hash ^= prePerkIds_.GetHashCode(); - if (PreTagPkgs.Length != 0) hash ^= PreTagPkgs.GetHashCode(); - if (NeedFloor != 0) hash ^= NeedFloor.GetHashCode(); - if (EffectGroupId != 0) hash ^= EffectGroupId.GetHashCode(); - if (IsEffective != false) hash ^= IsEffective.GetHashCode(); - if (PerkTag1.Length != 0) hash ^= PerkTag1.GetHashCode(); - if (PerkTag2.Length != 0) hash ^= PerkTag2.GetHashCode(); - if (PerkTag3.Length != 0) hash ^= PerkTag3.GetHashCode(); - if (PerkTag4.Length != 0) hash ^= PerkTag4.GetHashCode(); - if (LogoIcon.Length != 0) hash ^= LogoIcon.GetHashCode(); - if (SlotTag.Length != 0) hash ^= SlotTag.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 (MaxLevel != 0) { - output.WriteRawTag(16); - output.WriteInt32(MaxLevel); - } - if (AdditionalLevel != false) { - output.WriteRawTag(24); - output.WriteBool(AdditionalLevel); - } - if (EET != 0) { - output.WriteRawTag(32); - output.WriteInt32(EET); - } - if (ScoreGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ScoreGroupId); - } - strengthScore_.WriteTo(output, _repeated_strengthScore_codec); - if (PerkType != 0) { - output.WriteRawTag(56); - output.WriteInt32(PerkType); - } - if (CharId != 0) { - output.WriteRawTag(64); - output.WriteInt32(CharId); - } - if (CharPerkType != 0) { - output.WriteRawTag(72); - output.WriteInt32(CharPerkType); - } - if (Theme != 0) { - output.WriteRawTag(80); - output.WriteInt32(Theme); - } - if (GameBookId != 0) { - output.WriteRawTag(88); - output.WriteInt32(GameBookId); - } - operatingFloorType_.WriteTo(output, _repeated_operatingFloorType_codec); - if (OperatingNumber != 0) { - output.WriteRawTag(104); - output.WriteInt32(OperatingNumber); - } - if (Price != 0) { - output.WriteRawTag(112); - output.WriteInt32(Price); - } - if (Slot != 0) { - output.WriteRawTag(120); - output.WriteInt32(Slot); - } - tags_.WriteTo(output, _repeated_tags_codec); - prePerkIds_.WriteTo(output, _repeated_prePerkIds_codec); - if (PreTagPkgs.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(PreTagPkgs); - } - if (NeedFloor != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(NeedFloor); - } - if (EffectGroupId != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(EffectGroupId); - } - if (IsEffective != false) { - output.WriteRawTag(168, 1); - output.WriteBool(IsEffective); - } - if (PerkTag1.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(PerkTag1); - } - if (PerkTag2.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(PerkTag2); - } - if (PerkTag3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(PerkTag3); - } - if (PerkTag4.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(PerkTag4); - } - if (LogoIcon.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(LogoIcon); - } - if (SlotTag.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(SlotTag); - } - 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 (MaxLevel != 0) { - output.WriteRawTag(16); - output.WriteInt32(MaxLevel); - } - if (AdditionalLevel != false) { - output.WriteRawTag(24); - output.WriteBool(AdditionalLevel); - } - if (EET != 0) { - output.WriteRawTag(32); - output.WriteInt32(EET); - } - if (ScoreGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ScoreGroupId); - } - strengthScore_.WriteTo(ref output, _repeated_strengthScore_codec); - if (PerkType != 0) { - output.WriteRawTag(56); - output.WriteInt32(PerkType); - } - if (CharId != 0) { - output.WriteRawTag(64); - output.WriteInt32(CharId); - } - if (CharPerkType != 0) { - output.WriteRawTag(72); - output.WriteInt32(CharPerkType); - } - if (Theme != 0) { - output.WriteRawTag(80); - output.WriteInt32(Theme); - } - if (GameBookId != 0) { - output.WriteRawTag(88); - output.WriteInt32(GameBookId); - } - operatingFloorType_.WriteTo(ref output, _repeated_operatingFloorType_codec); - if (OperatingNumber != 0) { - output.WriteRawTag(104); - output.WriteInt32(OperatingNumber); - } - if (Price != 0) { - output.WriteRawTag(112); - output.WriteInt32(Price); - } - if (Slot != 0) { - output.WriteRawTag(120); - output.WriteInt32(Slot); - } - tags_.WriteTo(ref output, _repeated_tags_codec); - prePerkIds_.WriteTo(ref output, _repeated_prePerkIds_codec); - if (PreTagPkgs.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(PreTagPkgs); - } - if (NeedFloor != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(NeedFloor); - } - if (EffectGroupId != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(EffectGroupId); - } - if (IsEffective != false) { - output.WriteRawTag(168, 1); - output.WriteBool(IsEffective); - } - if (PerkTag1.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(PerkTag1); - } - if (PerkTag2.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(PerkTag2); - } - if (PerkTag3.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(PerkTag3); - } - if (PerkTag4.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(PerkTag4); - } - if (LogoIcon.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(LogoIcon); - } - if (SlotTag.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(SlotTag); - } - 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 (MaxLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); - } - if (AdditionalLevel != false) { - size += 1 + 1; - } - if (EET != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); - } - if (ScoreGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreGroupId); - } - size += strengthScore_.CalculateSize(_repeated_strengthScore_codec); - if (PerkType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PerkType); - } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (CharPerkType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharPerkType); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (GameBookId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameBookId); - } - size += operatingFloorType_.CalculateSize(_repeated_operatingFloorType_codec); - if (OperatingNumber != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OperatingNumber); - } - if (Price != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); - } - if (Slot != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); - } - size += tags_.CalculateSize(_repeated_tags_codec); - size += prePerkIds_.CalculateSize(_repeated_prePerkIds_codec); - if (PreTagPkgs.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PreTagPkgs); - } - if (NeedFloor != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NeedFloor); - } - if (EffectGroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectGroupId); - } - if (IsEffective != false) { - size += 2 + 1; - } - if (PerkTag1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag1); - } - if (PerkTag2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag2); - } - if (PerkTag3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag3); - } - if (PerkTag4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag4); - } - if (LogoIcon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(LogoIcon); - } - if (SlotTag.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(SlotTag); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Perk other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MaxLevel != 0) { - MaxLevel = other.MaxLevel; - } - if (other.AdditionalLevel != false) { - AdditionalLevel = other.AdditionalLevel; - } - if (other.EET != 0) { - EET = other.EET; - } - if (other.ScoreGroupId != 0) { - ScoreGroupId = other.ScoreGroupId; - } - strengthScore_.Add(other.strengthScore_); - if (other.PerkType != 0) { - PerkType = other.PerkType; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.CharPerkType != 0) { - CharPerkType = other.CharPerkType; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.GameBookId != 0) { - GameBookId = other.GameBookId; - } - operatingFloorType_.Add(other.operatingFloorType_); - if (other.OperatingNumber != 0) { - OperatingNumber = other.OperatingNumber; - } - if (other.Price != 0) { - Price = other.Price; - } - if (other.Slot != 0) { - Slot = other.Slot; - } - tags_.Add(other.tags_); - prePerkIds_.Add(other.prePerkIds_); - if (other.PreTagPkgs.Length != 0) { - PreTagPkgs = other.PreTagPkgs; - } - if (other.NeedFloor != 0) { - NeedFloor = other.NeedFloor; - } - if (other.EffectGroupId != 0) { - EffectGroupId = other.EffectGroupId; - } - if (other.IsEffective != false) { - IsEffective = other.IsEffective; - } - if (other.PerkTag1.Length != 0) { - PerkTag1 = other.PerkTag1; - } - if (other.PerkTag2.Length != 0) { - PerkTag2 = other.PerkTag2; - } - if (other.PerkTag3.Length != 0) { - PerkTag3 = other.PerkTag3; - } - if (other.PerkTag4.Length != 0) { - PerkTag4 = other.PerkTag4; - } - if (other.LogoIcon.Length != 0) { - LogoIcon = other.LogoIcon; - } - if (other.SlotTag.Length != 0) { - SlotTag = other.SlotTag; - } - _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: { - MaxLevel = input.ReadInt32(); - break; - } - case 24: { - AdditionalLevel = input.ReadBool(); - break; - } - case 32: { - EET = input.ReadInt32(); - break; - } - case 40: { - ScoreGroupId = input.ReadInt32(); - break; - } - case 50: - case 48: { - strengthScore_.AddEntriesFrom(input, _repeated_strengthScore_codec); - break; - } - case 56: { - PerkType = input.ReadInt32(); - break; - } - case 64: { - CharId = input.ReadInt32(); - break; - } - case 72: { - CharPerkType = input.ReadInt32(); - break; - } - case 80: { - Theme = input.ReadInt32(); - break; - } - case 88: { - GameBookId = input.ReadInt32(); - break; - } - case 98: - case 96: { - operatingFloorType_.AddEntriesFrom(input, _repeated_operatingFloorType_codec); - break; - } - case 104: { - OperatingNumber = input.ReadInt32(); - break; - } - case 112: { - Price = input.ReadInt32(); - break; - } - case 120: { - Slot = input.ReadInt32(); - break; - } - case 130: - case 128: { - tags_.AddEntriesFrom(input, _repeated_tags_codec); - break; - } - case 138: - case 136: { - prePerkIds_.AddEntriesFrom(input, _repeated_prePerkIds_codec); - break; - } - case 146: { - PreTagPkgs = input.ReadString(); - break; - } - case 152: { - NeedFloor = input.ReadInt32(); - break; - } - case 160: { - EffectGroupId = input.ReadInt32(); - break; - } - case 168: { - IsEffective = input.ReadBool(); - break; - } - case 178: { - PerkTag1 = input.ReadString(); - break; - } - case 186: { - PerkTag2 = input.ReadString(); - break; - } - case 194: { - PerkTag3 = input.ReadString(); - break; - } - case 202: { - PerkTag4 = input.ReadString(); - break; - } - case 210: { - LogoIcon = input.ReadString(); - break; - } - case 218: { - SlotTag = 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: { - MaxLevel = input.ReadInt32(); - break; - } - case 24: { - AdditionalLevel = input.ReadBool(); - break; - } - case 32: { - EET = input.ReadInt32(); - break; - } - case 40: { - ScoreGroupId = input.ReadInt32(); - break; - } - case 50: - case 48: { - strengthScore_.AddEntriesFrom(ref input, _repeated_strengthScore_codec); - break; - } - case 56: { - PerkType = input.ReadInt32(); - break; - } - case 64: { - CharId = input.ReadInt32(); - break; - } - case 72: { - CharPerkType = input.ReadInt32(); - break; - } - case 80: { - Theme = input.ReadInt32(); - break; - } - case 88: { - GameBookId = input.ReadInt32(); - break; - } - case 98: - case 96: { - operatingFloorType_.AddEntriesFrom(ref input, _repeated_operatingFloorType_codec); - break; - } - case 104: { - OperatingNumber = input.ReadInt32(); - break; - } - case 112: { - Price = input.ReadInt32(); - break; - } - case 120: { - Slot = input.ReadInt32(); - break; - } - case 130: - case 128: { - tags_.AddEntriesFrom(ref input, _repeated_tags_codec); - break; - } - case 138: - case 136: { - prePerkIds_.AddEntriesFrom(ref input, _repeated_prePerkIds_codec); - break; - } - case 146: { - PreTagPkgs = input.ReadString(); - break; - } - case 152: { - NeedFloor = input.ReadInt32(); - break; - } - case 160: { - EffectGroupId = input.ReadInt32(); - break; - } - case 168: { - IsEffective = input.ReadBool(); - break; - } - case 178: { - PerkTag1 = input.ReadString(); - break; - } - case 186: { - PerkTag2 = input.ReadString(); - break; - } - case 194: { - PerkTag3 = input.ReadString(); - break; - } - case 202: { - PerkTag4 = input.ReadString(); - break; - } - case 210: { - LogoIcon = input.ReadString(); - break; - } - case 218: { - SlotTag = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PerkPassiveSkill.cs b/Novaria.Common/Protos/PerkPassiveSkill.cs deleted file mode 100644 index 34b4e66..0000000 --- a/Novaria.Common/Protos/PerkPassiveSkill.cs +++ /dev/null @@ -1,839 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PerkPassiveSkill.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 PerkPassiveSkill.proto - public static partial class PerkPassiveSkillReflection { - - #region Descriptor - /// File descriptor for PerkPassiveSkill.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PerkPassiveSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZQZXJrUGFzc2l2ZVNraWxsLnByb3RvIq4CChBQZXJrUGFzc2l2ZVNraWxs", - "EgoKAmlkGAEgASgFEhEKCXNoYXJlX2NfZBgCIAEoCBITCgtzaGFyZV90aW1l", - "cxgDIAEoCBISCgplZmZlY3RfaWQxGAQgASgFEhIKCmVmZmVjdF9pZDIYBSAB", - "KAUSEgoKZWZmZWN0X2lkMxgGIAEoBRISCgplZmZlY3RfaWQ0GAcgASgFEgwK", - "BG5hbWUYCCABKAkSDAoEZGVzYxgJIAEoCRINCgVkZXNjMRgKIAEoCRIOCgZw", - "YXJhbTEYCyABKAkSDQoFZGVzYzIYDCABKAkSDgoGcGFyYW0yGA0gASgJEg0K", - "BWRlc2MzGA4gASgJEg4KBnBhcmFtMxgPIAEoCRINCgVkZXNjNBgQIAEoCRIO", - "CgZwYXJhbTQYESABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PerkPassiveSkill), global::Nova.Client.PerkPassiveSkill.Parser, new[]{ "Id", "ShareCD", "ShareTimes", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "Name", "Desc", "Desc1", "Param1", "Desc2", "Param2", "Desc3", "Param3", "Desc4", "Param4" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PerkPassiveSkill : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PerkPassiveSkill()); - 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.PerkPassiveSkillReflection.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 PerkPassiveSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PerkPassiveSkill(PerkPassiveSkill other) : this() { - id_ = other.id_; - shareCD_ = other.shareCD_; - shareTimes_ = other.shareTimes_; - effectId1_ = other.effectId1_; - effectId2_ = other.effectId2_; - effectId3_ = other.effectId3_; - effectId4_ = other.effectId4_; - name_ = other.name_; - desc_ = other.desc_; - desc1_ = other.desc1_; - param1_ = other.param1_; - desc2_ = other.desc2_; - param2_ = other.param2_; - desc3_ = other.desc3_; - param3_ = other.param3_; - desc4_ = other.desc4_; - param4_ = other.param4_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PerkPassiveSkill Clone() { - return new PerkPassiveSkill(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 "share_c_d" field. - public const int ShareCDFieldNumber = 2; - private bool shareCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ShareCD { - get { return shareCD_; } - set { - shareCD_ = value; - } - } - - /// Field number for the "share_times" field. - public const int ShareTimesFieldNumber = 3; - private bool shareTimes_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ShareTimes { - get { return shareTimes_; } - set { - shareTimes_ = value; - } - } - - /// Field number for the "effect_id1" field. - public const int EffectId1FieldNumber = 4; - private int effectId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId1 { - get { return effectId1_; } - set { - effectId1_ = value; - } - } - - /// Field number for the "effect_id2" field. - public const int EffectId2FieldNumber = 5; - private int effectId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId2 { - get { return effectId2_; } - set { - effectId2_ = value; - } - } - - /// Field number for the "effect_id3" field. - public const int EffectId3FieldNumber = 6; - private int effectId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId3 { - get { return effectId3_; } - set { - effectId3_ = value; - } - } - - /// Field number for the "effect_id4" field. - public const int EffectId4FieldNumber = 7; - private int effectId4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId4 { - get { return effectId4_; } - set { - effectId4_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 8; - 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 = 9; - 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 "desc1" field. - public const int Desc1FieldNumber = 10; - private string desc1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc1 { - get { return desc1_; } - set { - desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param1" field. - public const int Param1FieldNumber = 11; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc2" field. - public const int Desc2FieldNumber = 12; - private string desc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc2 { - get { return desc2_; } - set { - desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param2" field. - public const int Param2FieldNumber = 13; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc3" field. - public const int Desc3FieldNumber = 14; - private string desc3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc3 { - get { return desc3_; } - set { - desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param3" field. - public const int Param3FieldNumber = 15; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc4" field. - public const int Desc4FieldNumber = 16; - private string desc4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Desc4 { - get { return desc4_; } - set { - desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param4" field. - public const int Param4FieldNumber = 17; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = 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 PerkPassiveSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PerkPassiveSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ShareCD != other.ShareCD) return false; - if (ShareTimes != other.ShareTimes) return false; - if (EffectId1 != other.EffectId1) return false; - if (EffectId2 != other.EffectId2) return false; - if (EffectId3 != other.EffectId3) return false; - if (EffectId4 != other.EffectId4) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (Desc1 != other.Desc1) return false; - if (Param1 != other.Param1) return false; - if (Desc2 != other.Desc2) return false; - if (Param2 != other.Param2) return false; - if (Desc3 != other.Desc3) return false; - if (Param3 != other.Param3) return false; - if (Desc4 != other.Desc4) return false; - if (Param4 != other.Param4) 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 (ShareCD != false) hash ^= ShareCD.GetHashCode(); - if (ShareTimes != false) hash ^= ShareTimes.GetHashCode(); - if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); - if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); - if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); - if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.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 (ShareCD != false) { - output.WriteRawTag(16); - output.WriteBool(ShareCD); - } - if (ShareTimes != false) { - output.WriteRawTag(24); - output.WriteBool(ShareTimes); - } - if (EffectId1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(EffectId1); - } - if (EffectId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(EffectId2); - } - if (EffectId3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(EffectId3); - } - if (EffectId4 != 0) { - output.WriteRawTag(56); - output.WriteInt32(EffectId4); - } - if (Name.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc); - } - if (Desc1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Desc1); - } - if (Param1.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param1); - } - if (Desc2.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Desc2); - } - if (Param2.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param2); - } - if (Desc3.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Desc3); - } - if (Param3.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Param3); - } - if (Desc4.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Desc4); - } - if (Param4.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Param4); - } - 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 (ShareCD != false) { - output.WriteRawTag(16); - output.WriteBool(ShareCD); - } - if (ShareTimes != false) { - output.WriteRawTag(24); - output.WriteBool(ShareTimes); - } - if (EffectId1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(EffectId1); - } - if (EffectId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(EffectId2); - } - if (EffectId3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(EffectId3); - } - if (EffectId4 != 0) { - output.WriteRawTag(56); - output.WriteInt32(EffectId4); - } - if (Name.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc); - } - if (Desc1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Desc1); - } - if (Param1.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param1); - } - if (Desc2.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Desc2); - } - if (Param2.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param2); - } - if (Desc3.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Desc3); - } - if (Param3.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Param3); - } - if (Desc4.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Desc4); - } - if (Param4.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Param4); - } - 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 (ShareCD != false) { - size += 1 + 1; - } - if (ShareTimes != false) { - size += 1 + 1; - } - if (EffectId1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); - } - if (EffectId2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); - } - if (EffectId3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); - } - if (EffectId4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Desc1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); - } - if (Param1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Desc2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); - } - if (Param2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Desc3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); - } - if (Param3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Desc4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc4); - } - if (Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PerkPassiveSkill other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ShareCD != false) { - ShareCD = other.ShareCD; - } - if (other.ShareTimes != false) { - ShareTimes = other.ShareTimes; - } - if (other.EffectId1 != 0) { - EffectId1 = other.EffectId1; - } - if (other.EffectId2 != 0) { - EffectId2 = other.EffectId2; - } - if (other.EffectId3 != 0) { - EffectId3 = other.EffectId3; - } - if (other.EffectId4 != 0) { - EffectId4 = other.EffectId4; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Desc1.Length != 0) { - Desc1 = other.Desc1; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Desc2.Length != 0) { - Desc2 = other.Desc2; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Desc3.Length != 0) { - Desc3 = other.Desc3; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Desc4.Length != 0) { - Desc4 = other.Desc4; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - _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: { - ShareCD = input.ReadBool(); - break; - } - case 24: { - ShareTimes = input.ReadBool(); - break; - } - case 32: { - EffectId1 = input.ReadInt32(); - break; - } - case 40: { - EffectId2 = input.ReadInt32(); - break; - } - case 48: { - EffectId3 = input.ReadInt32(); - break; - } - case 56: { - EffectId4 = input.ReadInt32(); - break; - } - case 66: { - Name = input.ReadString(); - break; - } - case 74: { - Desc = input.ReadString(); - break; - } - case 82: { - Desc1 = input.ReadString(); - break; - } - case 90: { - Param1 = input.ReadString(); - break; - } - case 98: { - Desc2 = input.ReadString(); - break; - } - case 106: { - Param2 = input.ReadString(); - break; - } - case 114: { - Desc3 = input.ReadString(); - break; - } - case 122: { - Param3 = input.ReadString(); - break; - } - case 130: { - Desc4 = input.ReadString(); - break; - } - case 138: { - Param4 = 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: { - ShareCD = input.ReadBool(); - break; - } - case 24: { - ShareTimes = input.ReadBool(); - break; - } - case 32: { - EffectId1 = input.ReadInt32(); - break; - } - case 40: { - EffectId2 = input.ReadInt32(); - break; - } - case 48: { - EffectId3 = input.ReadInt32(); - break; - } - case 56: { - EffectId4 = input.ReadInt32(); - break; - } - case 66: { - Name = input.ReadString(); - break; - } - case 74: { - Desc = input.ReadString(); - break; - } - case 82: { - Desc1 = input.ReadString(); - break; - } - case 90: { - Param1 = input.ReadString(); - break; - } - case 98: { - Desc2 = input.ReadString(); - break; - } - case 106: { - Param2 = input.ReadString(); - break; - } - case 114: { - Desc3 = input.ReadString(); - break; - } - case 122: { - Param3 = input.ReadString(); - break; - } - case 130: { - Desc4 = input.ReadString(); - break; - } - case 138: { - Param4 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBattleThreshold.cs b/Novaria.Common/Protos/PhoneContactsInfo.cs similarity index 67% rename from Novaria.Common/Protos/TableBattleThreshold.cs rename to Novaria.Common/Protos/PhoneContactsInfo.cs index 5c6d41b..ba6ec2c 100644 --- a/Novaria.Common/Protos/TableBattleThreshold.cs +++ b/Novaria.Common/Protos/PhoneContactsInfo.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_BattleThreshold.proto +// source: phone_contacts_info.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from table_BattleThreshold.proto - public static partial class TableBattleThresholdReflection { + /// Holder for reflection information generated from phone_contacts_info.proto + public static partial class PhoneContactsInfoReflection { #region Descriptor - /// File descriptor for table_BattleThreshold.proto + /// File descriptor for phone_contacts_info.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static TableBattleThresholdReflection() { + static PhoneContactsInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cht0YWJsZV9CYXR0bGVUaHJlc2hvbGQucHJvdG8aFUJhdHRsZVRocmVzaG9s", - "ZC5wcm90byI3ChV0YWJsZV9CYXR0bGVUaHJlc2hvbGQSHgoEbGlzdBgBIAMo", - "CzIQLkJhdHRsZVRocmVzaG9sZEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "ChlwaG9uZV9jb250YWN0c19pbmZvLnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvIkwKFVBob25lQ29udGFjdHNJbmZvUmVzcBIdCgRMaXN0GAEgAygLMg8u", + "cHJvdG8uQ29udGFjdHMSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3Rv", + "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BattleThresholdReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattleThreshold), global::Nova.Client.table_BattleThreshold.Parser, new[]{ "List" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PhoneContactsInfoResp), global::Proto.PhoneContactsInfoResp.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BattleThreshold : pb::IMessage + public sealed partial class PhoneContactsInfoResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new table_BattleThreshold()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhoneContactsInfoResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.TableBattleThresholdReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PhoneContactsInfoReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattleThreshold() { + public PhoneContactsInfoResp() { OnConstruction(); } @@ -71,37 +72,50 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattleThreshold(table_BattleThreshold other) : this() { + public PhoneContactsInfoResp(PhoneContactsInfoResp other) : this() { list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattleThreshold Clone() { - return new table_BattleThreshold(this); + public PhoneContactsInfoResp Clone() { + return new PhoneContactsInfoResp(this); } - /// Field number for the "list" field. + /// Field number for the "List" field. public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattleThreshold.Parser); - private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Contacts.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField List { + public pbc::RepeatedField List { get { return list_; } } + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 table_BattleThreshold); + return Equals(other as PhoneContactsInfoResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BattleThreshold other) { + public bool Equals(PhoneContactsInfoResp other) { if (ReferenceEquals(other, null)) { return false; } @@ -109,6 +123,7 @@ namespace Nova.Client { return true; } if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -117,6 +132,7 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -136,6 +152,10 @@ namespace Nova.Client { output.WriteRawMessage(this); #else list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -147,6 +167,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -158,6 +182,9 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -166,11 +193,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BattleThreshold other) { + public void MergeFrom(PhoneContactsInfoResp other) { if (other == null) { return; } list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -194,6 +224,10 @@ namespace Nova.Client { list_.AddEntriesFrom(input, _repeated_list_codec); break; } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } } } #endif @@ -217,6 +251,10 @@ namespace Nova.Client { list_.AddEntriesFrom(ref input, _repeated_list_codec); break; } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } } } } diff --git a/Novaria.Common/Protos/SignIn.cs b/Novaria.Common/Protos/PhoneContactsReport.cs similarity index 57% rename from Novaria.Common/Protos/SignIn.cs rename to Novaria.Common/Protos/PhoneContactsReport.cs index 1380926..5336cc0 100644 --- a/Novaria.Common/Protos/SignIn.cs +++ b/Novaria.Common/Protos/PhoneContactsReport.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SignIn.proto +// source: phone_contacts_report.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from SignIn.proto - public static partial class SignInReflection { + /// Holder for reflection information generated from phone_contacts_report.proto + public static partial class PhoneContactsReportReflection { #region Descriptor - /// File descriptor for SignIn.proto + /// File descriptor for phone_contacts_report.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static SignInReflection() { + static PhoneContactsReportReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CgxTaWduSW4ucHJvdG8iVAoGU2lnbkluEgsKA2lfZBgBIAEoBRINCgVncm91", - "cBgCIAEoBRILCgNkYXkYAyABKAUSDwoHaXRlbV9pZBgEIAEoBRIQCghpdGVt", - "X3F0eRgFIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "ChtwaG9uZV9jb250YWN0c19yZXBvcnQucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8ibQoWUGhvbmVDb250YWN0c1JlcG9ydFJlcRIOCgZDaGF0SWQYASAB", + "KA0SDwoHT3B0aW9ucxgCIAMoDRIPCgdQcm9jZXNzGAMgASgNEgsKA0VuZBgE", + "IAEoCBIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.SignIn), global::Nova.Client.SignIn.Parser, new[]{ "ID", "Group", "Day", "ItemId", "ItemQty" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PhoneContactsReportReq), global::Proto.PhoneContactsReportReq.Parser, new[]{ "ChatId", "Options", "Process", "End", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SignIn : pb::IMessage + public sealed partial class PhoneContactsReportReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignIn()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhoneContactsReportReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.SignInReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PhoneContactsReportReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SignIn() { + public PhoneContactsReportReq() { OnConstruction(); } @@ -71,101 +72,100 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SignIn(SignIn other) : this() { - iD_ = other.iD_; - group_ = other.group_; - day_ = other.day_; - itemId_ = other.itemId_; - itemQty_ = other.itemQty_; + public PhoneContactsReportReq(PhoneContactsReportReq other) : this() { + chatId_ = other.chatId_; + options_ = other.options_.Clone(); + process_ = other.process_; + end_ = other.end_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SignIn Clone() { - return new SignIn(this); + public PhoneContactsReportReq Clone() { + return new PhoneContactsReportReq(this); } - /// Field number for the "i_d" field. - public const int IDFieldNumber = 1; - private int iD_; + /// Field number for the "ChatId" field. + public const int ChatIdFieldNumber = 1; + private uint chatId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ID { - get { return iD_; } + public uint ChatId { + get { return chatId_; } set { - iD_ = value; + chatId_ = value; } } - /// Field number for the "group" field. - public const int GroupFieldNumber = 2; - private int group_; + /// Field number for the "Options" field. + public const int OptionsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_options_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField options_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } + public pbc::RepeatedField Options { + get { return options_; } + } + + /// Field number for the "Process" field. + public const int ProcessFieldNumber = 3; + private uint process_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Process { + get { return process_; } set { - group_ = value; + process_ = value; } } - /// Field number for the "day" field. - public const int DayFieldNumber = 3; - private int day_; + /// Field number for the "End" field. + public const int EndFieldNumber = 4; + private bool end_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Day { - get { return day_; } + public bool End { + get { return end_; } set { - day_ = value; + end_ = value; } } - /// Field number for the "item_id" field. - public const int ItemIdFieldNumber = 4; - private int itemId_; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - itemId_ = value; - } - } - - /// Field number for the "item_qty" field. - public const int ItemQtyFieldNumber = 5; - private int itemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty { - get { return itemQty_; } - set { - itemQty_ = value; + nextPackage_ = 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 SignIn); + return Equals(other as PhoneContactsReportReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SignIn other) { + public bool Equals(PhoneContactsReportReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (ID != other.ID) return false; - if (Group != other.Group) return false; - if (Day != other.Day) return false; - if (ItemId != other.ItemId) return false; - if (ItemQty != other.ItemQty) return false; + if (ChatId != other.ChatId) return false; + if(!options_.Equals(other.options_)) return false; + if (Process != other.Process) return false; + if (End != other.End) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -173,11 +173,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (ID != 0) hash ^= ID.GetHashCode(); - if (Group != 0) hash ^= Group.GetHashCode(); - if (Day != 0) hash ^= Day.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemQty != 0) hash ^= ItemQty.GetHashCode(); + if (ChatId != 0) hash ^= ChatId.GetHashCode(); + hash ^= options_.GetHashCode(); + if (Process != 0) hash ^= Process.GetHashCode(); + if (End != false) hash ^= End.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -196,25 +196,22 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (ID != 0) { + if (ChatId != 0) { output.WriteRawTag(8); - output.WriteInt32(ID); + output.WriteUInt32(ChatId); } - if (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (Day != 0) { + options_.WriteTo(output, _repeated_options_codec); + if (Process != 0) { output.WriteRawTag(24); - output.WriteInt32(Day); + output.WriteUInt32(Process); } - if (ItemId != 0) { + if (End != false) { output.WriteRawTag(32); - output.WriteInt32(ItemId); + output.WriteBool(End); } - if (ItemQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemQty); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -226,25 +223,22 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ID != 0) { + if (ChatId != 0) { output.WriteRawTag(8); - output.WriteInt32(ID); + output.WriteUInt32(ChatId); } - if (Group != 0) { - output.WriteRawTag(16); - output.WriteInt32(Group); - } - if (Day != 0) { + options_.WriteTo(ref output, _repeated_options_codec); + if (Process != 0) { output.WriteRawTag(24); - output.WriteInt32(Day); + output.WriteUInt32(Process); } - if (ItemId != 0) { + if (End != false) { output.WriteRawTag(32); - output.WriteInt32(ItemId); + output.WriteBool(End); } - if (ItemQty != 0) { - output.WriteRawTag(40); - output.WriteInt32(ItemQty); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -256,20 +250,18 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (ID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ID); + if (ChatId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChatId); } - if (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + size += options_.CalculateSize(_repeated_options_codec); + if (Process != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Process); } - if (Day != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day); + if (End != false) { + size += 1 + 1; } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -279,24 +271,22 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SignIn other) { + public void MergeFrom(PhoneContactsReportReq other) { if (other == null) { return; } - if (other.ID != 0) { - ID = other.ID; + if (other.ChatId != 0) { + ChatId = other.ChatId; } - if (other.Group != 0) { - Group = other.Group; + options_.Add(other.options_); + if (other.Process != 0) { + Process = other.Process; } - if (other.Day != 0) { - Day = other.Day; + if (other.End != false) { + End = other.End; } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemQty != 0) { - ItemQty = other.ItemQty; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -318,23 +308,24 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - ID = input.ReadInt32(); + ChatId = input.ReadUInt32(); break; } + case 18: case 16: { - Group = input.ReadInt32(); + options_.AddEntriesFrom(input, _repeated_options_codec); break; } case 24: { - Day = input.ReadInt32(); + Process = input.ReadUInt32(); break; } case 32: { - ItemId = input.ReadInt32(); + End = input.ReadBool(); break; } - case 40: { - ItemQty = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -357,23 +348,24 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - ID = input.ReadInt32(); + ChatId = input.ReadUInt32(); break; } + case 18: case 16: { - Group = input.ReadInt32(); + options_.AddEntriesFrom(ref input, _repeated_options_codec); break; } case 24: { - Day = input.ReadInt32(); + Process = input.ReadUInt32(); break; } case 32: { - ItemId = input.ReadInt32(); + End = input.ReadBool(); break; } - case 40: { - ItemQty = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/FactionRelation.cs b/Novaria.Common/Protos/PlayerBoard.cs similarity index 65% rename from Novaria.Common/Protos/FactionRelation.cs rename to Novaria.Common/Protos/PlayerBoard.cs index 46e2bbd..ad99dd3 100644 --- a/Novaria.Common/Protos/FactionRelation.cs +++ b/Novaria.Common/Protos/PlayerBoard.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FactionRelation.proto +// source: player_board.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from FactionRelation.proto - public static partial class FactionRelationReflection { + /// Holder for reflection information generated from player_board.proto + public static partial class PlayerBoardReflection { #region Descriptor - /// File descriptor for FactionRelation.proto + /// File descriptor for player_board.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static FactionRelationReflection() { + static PlayerBoardReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChVGYWN0aW9uUmVsYXRpb24ucHJvdG8iPAoPRmFjdGlvblJlbGF0aW9uEgoK", - "AmlkGAEgASgFEh0KFWZhY3Rpb25fcmVsYXRpb25fc2hpcBgCIAMoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); + "ChJwbGF5ZXJfYm9hcmQucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iNgoR", + "UGxheWVyQm9hcmRTZXRSZXESCwoDSWRzGAEgAygNEhQKC05leHRQYWNrYWdl", + "GP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FactionRelation), global::Nova.Client.FactionRelation.Parser, new[]{ "Id", "FactionRelationShip" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerBoardSetReq), global::Proto.PlayerBoardSetReq.Parser, new[]{ "Ids", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class FactionRelation : pb::IMessage + public sealed partial class PlayerBoardSetReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FactionRelation()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerBoardSetReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.FactionRelationReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerBoardReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FactionRelation() { + public PlayerBoardSetReq() { OnConstruction(); } @@ -71,58 +71,58 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FactionRelation(FactionRelation other) : this() { - id_ = other.id_; - factionRelationShip_ = other.factionRelationShip_.Clone(); + public PlayerBoardSetReq(PlayerBoardSetReq other) : this() { + ids_ = other.ids_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FactionRelation Clone() { - return new FactionRelation(this); + public PlayerBoardSetReq Clone() { + return new PlayerBoardSetReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "Ids" field. + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField ids_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField Ids { + get { return ids_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - id_ = value; + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "faction_relation_ship" field. - public const int FactionRelationShipFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_factionRelationShip_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField factionRelationShip_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField FactionRelationShip { - get { return factionRelationShip_; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as FactionRelation); + return Equals(other as PlayerBoardSetReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FactionRelation other) { + public bool Equals(PlayerBoardSetReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if(!factionRelationShip_.Equals(other.factionRelationShip_)) return false; + if(!ids_.Equals(other.ids_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -130,8 +130,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - hash ^= factionRelationShip_.GetHashCode(); + hash ^= ids_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -150,11 +150,11 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + ids_.WriteTo(output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - factionRelationShip_.WriteTo(output, _repeated_factionRelationShip_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -165,11 +165,11 @@ namespace Nova.Client { [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); + ids_.WriteTo(ref output, _repeated_ids_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - factionRelationShip_.WriteTo(ref output, _repeated_factionRelationShip_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -180,10 +180,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += ids_.CalculateSize(_repeated_ids_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - size += factionRelationShip_.CalculateSize(_repeated_factionRelationShip_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -192,14 +192,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FactionRelation other) { + public void MergeFrom(PlayerBoardSetReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + ids_.Add(other.ids_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } - factionRelationShip_.Add(other.factionRelationShip_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -219,13 +219,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(input, _repeated_ids_codec); break; } - case 18: - case 16: { - factionRelationShip_.AddEntriesFrom(input, _repeated_factionRelationShip_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -247,13 +247,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); break; } - case 18: - case 16: { - factionRelationShip_.AddEntriesFrom(ref input, _repeated_factionRelationShip_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/PlayerCharsShow.cs b/Novaria.Common/Protos/PlayerCharsShow.cs new file mode 100644 index 0000000..f379a1a --- /dev/null +++ b/Novaria.Common/Protos/PlayerCharsShow.cs @@ -0,0 +1,270 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_chars_show.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 Proto { + + /// Holder for reflection information generated from player_chars_show.proto + public static partial class PlayerCharsShowReflection { + + #region Descriptor + /// File descriptor for player_chars_show.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerCharsShowReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdwbGF5ZXJfY2hhcnNfc2hvdy5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byI7ChJQbGF5ZXJDaGFyc1Nob3dSZXESDwoHQ2hhcklkcxgBIAMoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerCharsShowReq), global::Proto.PlayerCharsShowReq.Parser, new[]{ "CharIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerCharsShowReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerCharsShowReq()); + 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::Proto.PlayerCharsShowReflection.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 PlayerCharsShowReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerCharsShowReq(PlayerCharsShowReq other) : this() { + charIds_ = other.charIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerCharsShowReq Clone() { + return new PlayerCharsShowReq(this); + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerCharsShowReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerCharsShowReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!charIds_.Equals(other.charIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= charIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + charIds_.WriteTo(output, _repeated_charIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerCharsShowReq other) { + if (other == null) { + return; + } + charIds_.Add(other.charIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerData.cs b/Novaria.Common/Protos/PlayerData.cs new file mode 100644 index 0000000..a15f632 --- /dev/null +++ b/Novaria.Common/Protos/PlayerData.cs @@ -0,0 +1,2948 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_data.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 Proto { + + /// Holder for reflection information generated from player_data.proto + public static partial class PlayerDataReflection { + + #region Descriptor + /// File descriptor for player_data.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerDataReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFwbGF5ZXJfZGF0YS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byLeCQoK", + "UGxheWVySW5mbxIbCgNBY2MYASABKAsyDi5wcm90by5BY2NJbmZvEhcKA1Jl", + "cxgCIAMoCzIKLnByb3RvLlJlcxIaCgVJdGVtcxgDIAMoCzILLnByb3RvLkl0", + "ZW0SGgoFQ2hhcnMYBCADKAsyCy5wcm90by5DaGFyEigKCUZvcm1hdGlvbhgF", + "IAEoCzIVLnByb3RvLlRvd2VyRm9ybWF0aW9uEhsKE1N0YXJUb3dlclJhbmtU", + "aWNrZXQYBiABKA0SIQoGRW5lcmd5GAcgASgLMhEucHJvdG8uRW5lcmd5SW5m", + "bxIpCgpXb3JsZENsYXNzGAggASgLMhUucHJvdG8uV29ybGRDbGFzc0luZm8S", + "HwoFQWdlbnQYCSABKAsyEC5wcm90by5BZ2VudERhdGESFAoMUmdsUGFzc2Vk", + "SWRzGAogAygNEigKCkVxdWlwbWVudHMYCyADKAsyFC5wcm90by5FcXVpcG1l", + "bnRJbmZvEjAKEFJlZ2lvbkJvc3NMZXZlbHMYDCADKAsyFi5wcm90by5SZWdp", + "b25Cb3NzTGV2ZWwSHQoGUXVlc3RzGA0gASgLMg0ucHJvdG8uUXVlc3RzEh8K", + "BVN0YXRlGA4gASgLMhAucHJvdG8uU3RhdGVJbmZvEhMKC1NlbmRHaWZ0Q250", + "GA8gASgNEg0KBUJvYXJkGBAgAygNEhUKDURhdGluZ0NoYXJJZHMYESADKA0S", + "FAoMQWNoaWV2ZW1lbnRzGBIgASgMEiUKCEhhbmRib29rGBMgAygLMhMucHJv", + "dG8uSGFuZGJvb2tJbmZvEhMKC1NpZ25pbkluZGV4GBQgASgNEhwKBlRpdGxl", + "cxgVIAMoCzIMLnByb3RvLlRpdGxlEiwKDkRhaWx5SW5zdGFuY2VzGBYgAygL", + "MhQucHJvdG8uRGFpbHlJbnN0YW5jZRIqCgxEaWN0aW9uYXJpZXMYFyADKAsy", + "FC5wcm90by5EaWN0aW9uYXJ5VGFiEiMKCkFjdGl2aXRpZXMYGCADKAsyDy5w", + "cm90by5BY3Rpdml0eRIfCgVQaG9uZRgZIAEoCzIQLnByb3RvLlBob25lSW5m", + "bxIXCg9UYWxlbnRSZXNldFRpbWUYGiABKAMSHAoURXF1aXBtZW50RG91Ymxl", + "Q291bnQYGyABKA0SGgoFRGlzY3MYHCADKAsyCy5wcm90by5EaXNjEjQKEkVx", + "dWlwbWVudEluc3RhbmNlcxgdIAMoCzIYLnByb3RvLkVxdWlwbWVudEluc3Rh", + "bmNlEh8KBVN0b3J5GB4gASgLMhAucHJvdG8uU3RvcnlJbmZvEj8KFVZhbXBp", + "cmVTdXJ2aXZvclJlY29yZBgfIAEoCzIgLnByb3RvLlZhbXBpcmVTdXJ2aXZv", + "clJlY29yZEluZm8SFgoORGFpbHlBY3RpdmVJZHMYICADKA0SGwoTVG91ckd1", + "aWRlUXVlc3RHcm91cBghIAEoDRIRCglIb25vckxpc3QYeyADKA0SIAoGSG9u", + "b3JzGHwgAygLMhAucHJvdG8uSG9ub3JJbmZvEh0KFURhaWx5U2hvcFJld2Fy", + "ZFN0YXR1cxh9IAEoCBITCgtUb3dlclRpY2tldBh+IAEoDRIQCghTZXJ2ZXJU", + "cxh/IAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwiTgoJUGhvbmVJbmZvEhIK", + "Ck5ld01lc3NhZ2UYASABKA0SFwoPUHJvZ3Jlc3NNZXNzYWdlGAIgASgNEhQK", + "C05leHRQYWNrYWdlGP8PIAEoDCJGCg9EaWN0aW9uYXJ5RW50cnkSDQoFSW5k", + "ZXgYASABKA0SDgoGU3RhdHVzGAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCJdCg1EaWN0aW9uYXJ5VGFiEg0KBVRhYklkGAEgASgNEicKB0VudHJpZXMY", + "AiADKAsyFi5wcm90by5EaWN0aW9uYXJ5RW50cnkSFAoLTmV4dFBhY2thZ2UY", + "/w8gASgMIlAKCkVuZXJneUluZm8SHQoGRW5lcmd5GAEgASgLMg0ucHJvdG8u", + "RW5lcmd5Eg0KBUNvdW50GAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJE", + "Cg5Xb3JsZENsYXNzSW5mbxILCgNDdXIYASABKA0SDwoHTGFzdEV4cBgCIAEo", + "BRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerInfo), global::Proto.PlayerInfo.Parser, new[]{ "Acc", "Res", "Items", "Chars", "Formation", "StarTowerRankTicket", "Energy", "WorldClass", "Agent", "RglPassedIds", "Equipments", "RegionBossLevels", "Quests", "State", "SendGiftCnt", "Board", "DatingCharIds", "Achievements", "Handbook", "SigninIndex", "Titles", "DailyInstances", "Dictionaries", "Activities", "Phone", "TalentResetTime", "EquipmentDoubleCount", "Discs", "EquipmentInstances", "Story", "VampireSurvivorRecord", "DailyActiveIds", "TourGuideQuestGroup", "HonorList", "Honors", "DailyShopRewardStatus", "TowerTicket", "ServerTs", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PhoneInfo), global::Proto.PhoneInfo.Parser, new[]{ "NewMessage", "ProgressMessage", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DictionaryEntry), global::Proto.DictionaryEntry.Parser, new[]{ "Index", "Status", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DictionaryTab), global::Proto.DictionaryTab.Parser, new[]{ "TabId", "Entries", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EnergyInfo), global::Proto.EnergyInfo.Parser, new[]{ "Energy", "Count", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.WorldClassInfo), global::Proto.WorldClassInfo.Parser, new[]{ "Cur", "LastExp", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerInfo()); + 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::Proto.PlayerDataReflection.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 PlayerInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerInfo(PlayerInfo other) : this() { + acc_ = other.acc_ != null ? other.acc_.Clone() : null; + res_ = other.res_.Clone(); + items_ = other.items_.Clone(); + chars_ = other.chars_.Clone(); + formation_ = other.formation_ != null ? other.formation_.Clone() : null; + starTowerRankTicket_ = other.starTowerRankTicket_; + energy_ = other.energy_ != null ? other.energy_.Clone() : null; + worldClass_ = other.worldClass_ != null ? other.worldClass_.Clone() : null; + agent_ = other.agent_ != null ? other.agent_.Clone() : null; + rglPassedIds_ = other.rglPassedIds_.Clone(); + equipments_ = other.equipments_.Clone(); + regionBossLevels_ = other.regionBossLevels_.Clone(); + quests_ = other.quests_ != null ? other.quests_.Clone() : null; + state_ = other.state_ != null ? other.state_.Clone() : null; + sendGiftCnt_ = other.sendGiftCnt_; + board_ = other.board_.Clone(); + datingCharIds_ = other.datingCharIds_.Clone(); + achievements_ = other.achievements_; + handbook_ = other.handbook_.Clone(); + signinIndex_ = other.signinIndex_; + titles_ = other.titles_.Clone(); + dailyInstances_ = other.dailyInstances_.Clone(); + dictionaries_ = other.dictionaries_.Clone(); + activities_ = other.activities_.Clone(); + phone_ = other.phone_ != null ? other.phone_.Clone() : null; + talentResetTime_ = other.talentResetTime_; + equipmentDoubleCount_ = other.equipmentDoubleCount_; + discs_ = other.discs_.Clone(); + equipmentInstances_ = other.equipmentInstances_.Clone(); + story_ = other.story_ != null ? other.story_.Clone() : null; + vampireSurvivorRecord_ = other.vampireSurvivorRecord_ != null ? other.vampireSurvivorRecord_.Clone() : null; + dailyActiveIds_ = other.dailyActiveIds_.Clone(); + tourGuideQuestGroup_ = other.tourGuideQuestGroup_; + honorList_ = other.honorList_.Clone(); + honors_ = other.honors_.Clone(); + dailyShopRewardStatus_ = other.dailyShopRewardStatus_; + towerTicket_ = other.towerTicket_; + serverTs_ = other.serverTs_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerInfo Clone() { + return new PlayerInfo(this); + } + + /// Field number for the "Acc" field. + public const int AccFieldNumber = 1; + private global::Proto.AccInfo acc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AccInfo Acc { + get { return acc_; } + set { + acc_ = value; + } + } + + /// Field number for the "Res" field. + public const int ResFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_res_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Res.Parser); + private readonly pbc::RepeatedField res_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Res { + get { return res_; } + } + + /// Field number for the "Items" field. + public const int ItemsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(26, global::Proto.Item.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "Chars" field. + public const int CharsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_chars_codec + = pb::FieldCodec.ForMessage(34, global::Proto.Char.Parser); + private readonly pbc::RepeatedField chars_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Chars { + get { return chars_; } + } + + /// Field number for the "Formation" field. + public const int FormationFieldNumber = 5; + private global::Proto.TowerFormation formation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TowerFormation Formation { + get { return formation_; } + set { + formation_ = value; + } + } + + /// Field number for the "StarTowerRankTicket" field. + public const int StarTowerRankTicketFieldNumber = 6; + private uint starTowerRankTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StarTowerRankTicket { + get { return starTowerRankTicket_; } + set { + starTowerRankTicket_ = value; + } + } + + /// Field number for the "Energy" field. + public const int EnergyFieldNumber = 7; + private global::Proto.EnergyInfo energy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.EnergyInfo Energy { + get { return energy_; } + set { + energy_ = value; + } + } + + /// Field number for the "WorldClass" field. + public const int WorldClassFieldNumber = 8; + private global::Proto.WorldClassInfo worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.WorldClassInfo WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// Field number for the "Agent" field. + public const int AgentFieldNumber = 9; + private global::Proto.AgentData agent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AgentData Agent { + get { return agent_; } + set { + agent_ = value; + } + } + + /// Field number for the "RglPassedIds" field. + public const int RglPassedIdsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_rglPassedIds_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField rglPassedIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RglPassedIds { + get { return rglPassedIds_; } + } + + /// Field number for the "Equipments" field. + public const int EquipmentsFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_equipments_codec + = pb::FieldCodec.ForMessage(90, global::Proto.EquipmentInfo.Parser); + private readonly pbc::RepeatedField equipments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Equipments { + get { return equipments_; } + } + + /// Field number for the "RegionBossLevels" field. + public const int RegionBossLevelsFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_regionBossLevels_codec + = pb::FieldCodec.ForMessage(98, global::Proto.RegionBossLevel.Parser); + private readonly pbc::RepeatedField regionBossLevels_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RegionBossLevels { + get { return regionBossLevels_; } + } + + /// Field number for the "Quests" field. + public const int QuestsFieldNumber = 13; + private global::Proto.Quests quests_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Quests Quests { + get { return quests_; } + set { + quests_ = value; + } + } + + /// Field number for the "State" field. + public const int StateFieldNumber = 14; + private global::Proto.StateInfo state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StateInfo State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "SendGiftCnt" field. + public const int SendGiftCntFieldNumber = 15; + private uint sendGiftCnt_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SendGiftCnt { + get { return sendGiftCnt_; } + set { + sendGiftCnt_ = value; + } + } + + /// Field number for the "Board" field. + public const int BoardFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_board_codec + = pb::FieldCodec.ForUInt32(130); + private readonly pbc::RepeatedField board_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Board { + get { return board_; } + } + + /// Field number for the "DatingCharIds" field. + public const int DatingCharIdsFieldNumber = 17; + private static readonly pb::FieldCodec _repeated_datingCharIds_codec + = pb::FieldCodec.ForUInt32(138); + private readonly pbc::RepeatedField datingCharIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DatingCharIds { + get { return datingCharIds_; } + } + + /// Field number for the "Achievements" field. + public const int AchievementsFieldNumber = 18; + private pb::ByteString achievements_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Achievements { + get { return achievements_; } + set { + achievements_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Handbook" field. + public const int HandbookFieldNumber = 19; + private static readonly pb::FieldCodec _repeated_handbook_codec + = pb::FieldCodec.ForMessage(154, global::Proto.HandbookInfo.Parser); + private readonly pbc::RepeatedField handbook_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Handbook { + get { return handbook_; } + } + + /// Field number for the "SigninIndex" field. + public const int SigninIndexFieldNumber = 20; + private uint signinIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SigninIndex { + get { return signinIndex_; } + set { + signinIndex_ = value; + } + } + + /// Field number for the "Titles" field. + public const int TitlesFieldNumber = 21; + private static readonly pb::FieldCodec _repeated_titles_codec + = pb::FieldCodec.ForMessage(170, global::Proto.Title.Parser); + private readonly pbc::RepeatedField titles_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Titles { + get { return titles_; } + } + + /// Field number for the "DailyInstances" field. + public const int DailyInstancesFieldNumber = 22; + private static readonly pb::FieldCodec _repeated_dailyInstances_codec + = pb::FieldCodec.ForMessage(178, global::Proto.DailyInstance.Parser); + private readonly pbc::RepeatedField dailyInstances_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DailyInstances { + get { return dailyInstances_; } + } + + /// Field number for the "Dictionaries" field. + public const int DictionariesFieldNumber = 23; + private static readonly pb::FieldCodec _repeated_dictionaries_codec + = pb::FieldCodec.ForMessage(186, global::Proto.DictionaryTab.Parser); + private readonly pbc::RepeatedField dictionaries_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Dictionaries { + get { return dictionaries_; } + } + + /// Field number for the "Activities" field. + public const int ActivitiesFieldNumber = 24; + private static readonly pb::FieldCodec _repeated_activities_codec + = pb::FieldCodec.ForMessage(194, global::Proto.Activity.Parser); + private readonly pbc::RepeatedField activities_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Activities { + get { return activities_; } + } + + /// Field number for the "Phone" field. + public const int PhoneFieldNumber = 25; + private global::Proto.PhoneInfo phone_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.PhoneInfo Phone { + get { return phone_; } + set { + phone_ = value; + } + } + + /// Field number for the "TalentResetTime" field. + public const int TalentResetTimeFieldNumber = 26; + private long talentResetTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TalentResetTime { + get { return talentResetTime_; } + set { + talentResetTime_ = value; + } + } + + /// Field number for the "EquipmentDoubleCount" field. + public const int EquipmentDoubleCountFieldNumber = 27; + private uint equipmentDoubleCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EquipmentDoubleCount { + get { return equipmentDoubleCount_; } + set { + equipmentDoubleCount_ = value; + } + } + + /// Field number for the "Discs" field. + public const int DiscsFieldNumber = 28; + private static readonly pb::FieldCodec _repeated_discs_codec + = pb::FieldCodec.ForMessage(226, global::Proto.Disc.Parser); + private readonly pbc::RepeatedField discs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Discs { + get { return discs_; } + } + + /// Field number for the "EquipmentInstances" field. + public const int EquipmentInstancesFieldNumber = 29; + private static readonly pb::FieldCodec _repeated_equipmentInstances_codec + = pb::FieldCodec.ForMessage(234, global::Proto.EquipmentInstance.Parser); + private readonly pbc::RepeatedField equipmentInstances_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EquipmentInstances { + get { return equipmentInstances_; } + } + + /// Field number for the "Story" field. + public const int StoryFieldNumber = 30; + private global::Proto.StoryInfo story_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StoryInfo Story { + get { return story_; } + set { + story_ = value; + } + } + + /// Field number for the "VampireSurvivorRecord" field. + public const int VampireSurvivorRecordFieldNumber = 31; + private global::Proto.VampireSurvivorRecordInfo vampireSurvivorRecord_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorRecordInfo VampireSurvivorRecord { + get { return vampireSurvivorRecord_; } + set { + vampireSurvivorRecord_ = value; + } + } + + /// Field number for the "DailyActiveIds" field. + public const int DailyActiveIdsFieldNumber = 32; + private static readonly pb::FieldCodec _repeated_dailyActiveIds_codec + = pb::FieldCodec.ForUInt32(258); + private readonly pbc::RepeatedField dailyActiveIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DailyActiveIds { + get { return dailyActiveIds_; } + } + + /// Field number for the "TourGuideQuestGroup" field. + public const int TourGuideQuestGroupFieldNumber = 33; + private uint tourGuideQuestGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TourGuideQuestGroup { + get { return tourGuideQuestGroup_; } + set { + tourGuideQuestGroup_ = value; + } + } + + /// Field number for the "HonorList" field. + public const int HonorListFieldNumber = 123; + private static readonly pb::FieldCodec _repeated_honorList_codec + = pb::FieldCodec.ForUInt32(986); + private readonly pbc::RepeatedField honorList_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField HonorList { + get { return honorList_; } + } + + /// Field number for the "Honors" field. + public const int HonorsFieldNumber = 124; + private static readonly pb::FieldCodec _repeated_honors_codec + = pb::FieldCodec.ForMessage(994, global::Proto.HonorInfo.Parser); + private readonly pbc::RepeatedField honors_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Honors { + get { return honors_; } + } + + /// Field number for the "DailyShopRewardStatus" field. + public const int DailyShopRewardStatusFieldNumber = 125; + private bool dailyShopRewardStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DailyShopRewardStatus { + get { return dailyShopRewardStatus_; } + set { + dailyShopRewardStatus_ = value; + } + } + + /// Field number for the "TowerTicket" field. + public const int TowerTicketFieldNumber = 126; + private uint towerTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TowerTicket { + get { return towerTicket_; } + set { + towerTicket_ = value; + } + } + + /// Field number for the "ServerTs" field. + public const int ServerTsFieldNumber = 127; + private long serverTs_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerTs { + get { return serverTs_; } + set { + serverTs_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Acc, other.Acc)) return false; + if(!res_.Equals(other.res_)) return false; + if(!items_.Equals(other.items_)) return false; + if(!chars_.Equals(other.chars_)) return false; + if (!object.Equals(Formation, other.Formation)) return false; + if (StarTowerRankTicket != other.StarTowerRankTicket) return false; + if (!object.Equals(Energy, other.Energy)) return false; + if (!object.Equals(WorldClass, other.WorldClass)) return false; + if (!object.Equals(Agent, other.Agent)) return false; + if(!rglPassedIds_.Equals(other.rglPassedIds_)) return false; + if(!equipments_.Equals(other.equipments_)) return false; + if(!regionBossLevels_.Equals(other.regionBossLevels_)) return false; + if (!object.Equals(Quests, other.Quests)) return false; + if (!object.Equals(State, other.State)) return false; + if (SendGiftCnt != other.SendGiftCnt) return false; + if(!board_.Equals(other.board_)) return false; + if(!datingCharIds_.Equals(other.datingCharIds_)) return false; + if (Achievements != other.Achievements) return false; + if(!handbook_.Equals(other.handbook_)) return false; + if (SigninIndex != other.SigninIndex) return false; + if(!titles_.Equals(other.titles_)) return false; + if(!dailyInstances_.Equals(other.dailyInstances_)) return false; + if(!dictionaries_.Equals(other.dictionaries_)) return false; + if(!activities_.Equals(other.activities_)) return false; + if (!object.Equals(Phone, other.Phone)) return false; + if (TalentResetTime != other.TalentResetTime) return false; + if (EquipmentDoubleCount != other.EquipmentDoubleCount) return false; + if(!discs_.Equals(other.discs_)) return false; + if(!equipmentInstances_.Equals(other.equipmentInstances_)) return false; + if (!object.Equals(Story, other.Story)) return false; + if (!object.Equals(VampireSurvivorRecord, other.VampireSurvivorRecord)) return false; + if(!dailyActiveIds_.Equals(other.dailyActiveIds_)) return false; + if (TourGuideQuestGroup != other.TourGuideQuestGroup) return false; + if(!honorList_.Equals(other.honorList_)) return false; + if(!honors_.Equals(other.honors_)) return false; + if (DailyShopRewardStatus != other.DailyShopRewardStatus) return false; + if (TowerTicket != other.TowerTicket) return false; + if (ServerTs != other.ServerTs) return false; + if (NextPackage != other.NextPackage) 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 (acc_ != null) hash ^= Acc.GetHashCode(); + hash ^= res_.GetHashCode(); + hash ^= items_.GetHashCode(); + hash ^= chars_.GetHashCode(); + if (formation_ != null) hash ^= Formation.GetHashCode(); + if (StarTowerRankTicket != 0) hash ^= StarTowerRankTicket.GetHashCode(); + if (energy_ != null) hash ^= Energy.GetHashCode(); + if (worldClass_ != null) hash ^= WorldClass.GetHashCode(); + if (agent_ != null) hash ^= Agent.GetHashCode(); + hash ^= rglPassedIds_.GetHashCode(); + hash ^= equipments_.GetHashCode(); + hash ^= regionBossLevels_.GetHashCode(); + if (quests_ != null) hash ^= Quests.GetHashCode(); + if (state_ != null) hash ^= State.GetHashCode(); + if (SendGiftCnt != 0) hash ^= SendGiftCnt.GetHashCode(); + hash ^= board_.GetHashCode(); + hash ^= datingCharIds_.GetHashCode(); + if (Achievements.Length != 0) hash ^= Achievements.GetHashCode(); + hash ^= handbook_.GetHashCode(); + if (SigninIndex != 0) hash ^= SigninIndex.GetHashCode(); + hash ^= titles_.GetHashCode(); + hash ^= dailyInstances_.GetHashCode(); + hash ^= dictionaries_.GetHashCode(); + hash ^= activities_.GetHashCode(); + if (phone_ != null) hash ^= Phone.GetHashCode(); + if (TalentResetTime != 0L) hash ^= TalentResetTime.GetHashCode(); + if (EquipmentDoubleCount != 0) hash ^= EquipmentDoubleCount.GetHashCode(); + hash ^= discs_.GetHashCode(); + hash ^= equipmentInstances_.GetHashCode(); + if (story_ != null) hash ^= Story.GetHashCode(); + if (vampireSurvivorRecord_ != null) hash ^= VampireSurvivorRecord.GetHashCode(); + hash ^= dailyActiveIds_.GetHashCode(); + if (TourGuideQuestGroup != 0) hash ^= TourGuideQuestGroup.GetHashCode(); + hash ^= honorList_.GetHashCode(); + hash ^= honors_.GetHashCode(); + if (DailyShopRewardStatus != false) hash ^= DailyShopRewardStatus.GetHashCode(); + if (TowerTicket != 0) hash ^= TowerTicket.GetHashCode(); + if (ServerTs != 0L) hash ^= ServerTs.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (acc_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Acc); + } + res_.WriteTo(output, _repeated_res_codec); + items_.WriteTo(output, _repeated_items_codec); + chars_.WriteTo(output, _repeated_chars_codec); + if (formation_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Formation); + } + if (StarTowerRankTicket != 0) { + output.WriteRawTag(48); + output.WriteUInt32(StarTowerRankTicket); + } + if (energy_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Energy); + } + if (worldClass_ != null) { + output.WriteRawTag(66); + output.WriteMessage(WorldClass); + } + if (agent_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Agent); + } + rglPassedIds_.WriteTo(output, _repeated_rglPassedIds_codec); + equipments_.WriteTo(output, _repeated_equipments_codec); + regionBossLevels_.WriteTo(output, _repeated_regionBossLevels_codec); + if (quests_ != null) { + output.WriteRawTag(106); + output.WriteMessage(Quests); + } + if (state_ != null) { + output.WriteRawTag(114); + output.WriteMessage(State); + } + if (SendGiftCnt != 0) { + output.WriteRawTag(120); + output.WriteUInt32(SendGiftCnt); + } + board_.WriteTo(output, _repeated_board_codec); + datingCharIds_.WriteTo(output, _repeated_datingCharIds_codec); + if (Achievements.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteBytes(Achievements); + } + handbook_.WriteTo(output, _repeated_handbook_codec); + if (SigninIndex != 0) { + output.WriteRawTag(160, 1); + output.WriteUInt32(SigninIndex); + } + titles_.WriteTo(output, _repeated_titles_codec); + dailyInstances_.WriteTo(output, _repeated_dailyInstances_codec); + dictionaries_.WriteTo(output, _repeated_dictionaries_codec); + activities_.WriteTo(output, _repeated_activities_codec); + if (phone_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(Phone); + } + if (TalentResetTime != 0L) { + output.WriteRawTag(208, 1); + output.WriteInt64(TalentResetTime); + } + if (EquipmentDoubleCount != 0) { + output.WriteRawTag(216, 1); + output.WriteUInt32(EquipmentDoubleCount); + } + discs_.WriteTo(output, _repeated_discs_codec); + equipmentInstances_.WriteTo(output, _repeated_equipmentInstances_codec); + if (story_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(Story); + } + if (vampireSurvivorRecord_ != null) { + output.WriteRawTag(250, 1); + output.WriteMessage(VampireSurvivorRecord); + } + dailyActiveIds_.WriteTo(output, _repeated_dailyActiveIds_codec); + if (TourGuideQuestGroup != 0) { + output.WriteRawTag(136, 2); + output.WriteUInt32(TourGuideQuestGroup); + } + honorList_.WriteTo(output, _repeated_honorList_codec); + honors_.WriteTo(output, _repeated_honors_codec); + if (DailyShopRewardStatus != false) { + output.WriteRawTag(232, 7); + output.WriteBool(DailyShopRewardStatus); + } + if (TowerTicket != 0) { + output.WriteRawTag(240, 7); + output.WriteUInt32(TowerTicket); + } + if (ServerTs != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(ServerTs); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (acc_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Acc); + } + res_.WriteTo(ref output, _repeated_res_codec); + items_.WriteTo(ref output, _repeated_items_codec); + chars_.WriteTo(ref output, _repeated_chars_codec); + if (formation_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Formation); + } + if (StarTowerRankTicket != 0) { + output.WriteRawTag(48); + output.WriteUInt32(StarTowerRankTicket); + } + if (energy_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Energy); + } + if (worldClass_ != null) { + output.WriteRawTag(66); + output.WriteMessage(WorldClass); + } + if (agent_ != null) { + output.WriteRawTag(74); + output.WriteMessage(Agent); + } + rglPassedIds_.WriteTo(ref output, _repeated_rglPassedIds_codec); + equipments_.WriteTo(ref output, _repeated_equipments_codec); + regionBossLevels_.WriteTo(ref output, _repeated_regionBossLevels_codec); + if (quests_ != null) { + output.WriteRawTag(106); + output.WriteMessage(Quests); + } + if (state_ != null) { + output.WriteRawTag(114); + output.WriteMessage(State); + } + if (SendGiftCnt != 0) { + output.WriteRawTag(120); + output.WriteUInt32(SendGiftCnt); + } + board_.WriteTo(ref output, _repeated_board_codec); + datingCharIds_.WriteTo(ref output, _repeated_datingCharIds_codec); + if (Achievements.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteBytes(Achievements); + } + handbook_.WriteTo(ref output, _repeated_handbook_codec); + if (SigninIndex != 0) { + output.WriteRawTag(160, 1); + output.WriteUInt32(SigninIndex); + } + titles_.WriteTo(ref output, _repeated_titles_codec); + dailyInstances_.WriteTo(ref output, _repeated_dailyInstances_codec); + dictionaries_.WriteTo(ref output, _repeated_dictionaries_codec); + activities_.WriteTo(ref output, _repeated_activities_codec); + if (phone_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(Phone); + } + if (TalentResetTime != 0L) { + output.WriteRawTag(208, 1); + output.WriteInt64(TalentResetTime); + } + if (EquipmentDoubleCount != 0) { + output.WriteRawTag(216, 1); + output.WriteUInt32(EquipmentDoubleCount); + } + discs_.WriteTo(ref output, _repeated_discs_codec); + equipmentInstances_.WriteTo(ref output, _repeated_equipmentInstances_codec); + if (story_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(Story); + } + if (vampireSurvivorRecord_ != null) { + output.WriteRawTag(250, 1); + output.WriteMessage(VampireSurvivorRecord); + } + dailyActiveIds_.WriteTo(ref output, _repeated_dailyActiveIds_codec); + if (TourGuideQuestGroup != 0) { + output.WriteRawTag(136, 2); + output.WriteUInt32(TourGuideQuestGroup); + } + honorList_.WriteTo(ref output, _repeated_honorList_codec); + honors_.WriteTo(ref output, _repeated_honors_codec); + if (DailyShopRewardStatus != false) { + output.WriteRawTag(232, 7); + output.WriteBool(DailyShopRewardStatus); + } + if (TowerTicket != 0) { + output.WriteRawTag(240, 7); + output.WriteUInt32(TowerTicket); + } + if (ServerTs != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(ServerTs); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (acc_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Acc); + } + size += res_.CalculateSize(_repeated_res_codec); + size += items_.CalculateSize(_repeated_items_codec); + size += chars_.CalculateSize(_repeated_chars_codec); + if (formation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Formation); + } + if (StarTowerRankTicket != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StarTowerRankTicket); + } + if (energy_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Energy); + } + if (worldClass_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(WorldClass); + } + if (agent_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Agent); + } + size += rglPassedIds_.CalculateSize(_repeated_rglPassedIds_codec); + size += equipments_.CalculateSize(_repeated_equipments_codec); + size += regionBossLevels_.CalculateSize(_repeated_regionBossLevels_codec); + if (quests_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Quests); + } + if (state_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(State); + } + if (SendGiftCnt != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SendGiftCnt); + } + size += board_.CalculateSize(_repeated_board_codec); + size += datingCharIds_.CalculateSize(_repeated_datingCharIds_codec); + if (Achievements.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(Achievements); + } + size += handbook_.CalculateSize(_repeated_handbook_codec); + if (SigninIndex != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(SigninIndex); + } + size += titles_.CalculateSize(_repeated_titles_codec); + size += dailyInstances_.CalculateSize(_repeated_dailyInstances_codec); + size += dictionaries_.CalculateSize(_repeated_dictionaries_codec); + size += activities_.CalculateSize(_repeated_activities_codec); + if (phone_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Phone); + } + if (TalentResetTime != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(TalentResetTime); + } + if (EquipmentDoubleCount != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(EquipmentDoubleCount); + } + size += discs_.CalculateSize(_repeated_discs_codec); + size += equipmentInstances_.CalculateSize(_repeated_equipmentInstances_codec); + if (story_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Story); + } + if (vampireSurvivorRecord_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(VampireSurvivorRecord); + } + size += dailyActiveIds_.CalculateSize(_repeated_dailyActiveIds_codec); + if (TourGuideQuestGroup != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TourGuideQuestGroup); + } + size += honorList_.CalculateSize(_repeated_honorList_codec); + size += honors_.CalculateSize(_repeated_honors_codec); + if (DailyShopRewardStatus != false) { + size += 2 + 1; + } + if (TowerTicket != 0) { + size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TowerTicket); + } + if (ServerTs != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(ServerTs); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerInfo other) { + if (other == null) { + return; + } + if (other.acc_ != null) { + if (acc_ == null) { + Acc = new global::Proto.AccInfo(); + } + Acc.MergeFrom(other.Acc); + } + res_.Add(other.res_); + items_.Add(other.items_); + chars_.Add(other.chars_); + if (other.formation_ != null) { + if (formation_ == null) { + Formation = new global::Proto.TowerFormation(); + } + Formation.MergeFrom(other.Formation); + } + if (other.StarTowerRankTicket != 0) { + StarTowerRankTicket = other.StarTowerRankTicket; + } + if (other.energy_ != null) { + if (energy_ == null) { + Energy = new global::Proto.EnergyInfo(); + } + Energy.MergeFrom(other.Energy); + } + if (other.worldClass_ != null) { + if (worldClass_ == null) { + WorldClass = new global::Proto.WorldClassInfo(); + } + WorldClass.MergeFrom(other.WorldClass); + } + if (other.agent_ != null) { + if (agent_ == null) { + Agent = new global::Proto.AgentData(); + } + Agent.MergeFrom(other.Agent); + } + rglPassedIds_.Add(other.rglPassedIds_); + equipments_.Add(other.equipments_); + regionBossLevels_.Add(other.regionBossLevels_); + if (other.quests_ != null) { + if (quests_ == null) { + Quests = new global::Proto.Quests(); + } + Quests.MergeFrom(other.Quests); + } + if (other.state_ != null) { + if (state_ == null) { + State = new global::Proto.StateInfo(); + } + State.MergeFrom(other.State); + } + if (other.SendGiftCnt != 0) { + SendGiftCnt = other.SendGiftCnt; + } + board_.Add(other.board_); + datingCharIds_.Add(other.datingCharIds_); + if (other.Achievements.Length != 0) { + Achievements = other.Achievements; + } + handbook_.Add(other.handbook_); + if (other.SigninIndex != 0) { + SigninIndex = other.SigninIndex; + } + titles_.Add(other.titles_); + dailyInstances_.Add(other.dailyInstances_); + dictionaries_.Add(other.dictionaries_); + activities_.Add(other.activities_); + if (other.phone_ != null) { + if (phone_ == null) { + Phone = new global::Proto.PhoneInfo(); + } + Phone.MergeFrom(other.Phone); + } + if (other.TalentResetTime != 0L) { + TalentResetTime = other.TalentResetTime; + } + if (other.EquipmentDoubleCount != 0) { + EquipmentDoubleCount = other.EquipmentDoubleCount; + } + discs_.Add(other.discs_); + equipmentInstances_.Add(other.equipmentInstances_); + if (other.story_ != null) { + if (story_ == null) { + Story = new global::Proto.StoryInfo(); + } + Story.MergeFrom(other.Story); + } + if (other.vampireSurvivorRecord_ != null) { + if (vampireSurvivorRecord_ == null) { + VampireSurvivorRecord = new global::Proto.VampireSurvivorRecordInfo(); + } + VampireSurvivorRecord.MergeFrom(other.VampireSurvivorRecord); + } + dailyActiveIds_.Add(other.dailyActiveIds_); + if (other.TourGuideQuestGroup != 0) { + TourGuideQuestGroup = other.TourGuideQuestGroup; + } + honorList_.Add(other.honorList_); + honors_.Add(other.honors_); + if (other.DailyShopRewardStatus != false) { + DailyShopRewardStatus = other.DailyShopRewardStatus; + } + if (other.TowerTicket != 0) { + TowerTicket = other.TowerTicket; + } + if (other.ServerTs != 0L) { + ServerTs = other.ServerTs; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (acc_ == null) { + Acc = new global::Proto.AccInfo(); + } + input.ReadMessage(Acc); + break; + } + case 18: { + res_.AddEntriesFrom(input, _repeated_res_codec); + break; + } + case 26: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 34: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 42: { + if (formation_ == null) { + Formation = new global::Proto.TowerFormation(); + } + input.ReadMessage(Formation); + break; + } + case 48: { + StarTowerRankTicket = input.ReadUInt32(); + break; + } + case 58: { + if (energy_ == null) { + Energy = new global::Proto.EnergyInfo(); + } + input.ReadMessage(Energy); + break; + } + case 66: { + if (worldClass_ == null) { + WorldClass = new global::Proto.WorldClassInfo(); + } + input.ReadMessage(WorldClass); + break; + } + case 74: { + if (agent_ == null) { + Agent = new global::Proto.AgentData(); + } + input.ReadMessage(Agent); + break; + } + case 82: + case 80: { + rglPassedIds_.AddEntriesFrom(input, _repeated_rglPassedIds_codec); + break; + } + case 90: { + equipments_.AddEntriesFrom(input, _repeated_equipments_codec); + break; + } + case 98: { + regionBossLevels_.AddEntriesFrom(input, _repeated_regionBossLevels_codec); + break; + } + case 106: { + if (quests_ == null) { + Quests = new global::Proto.Quests(); + } + input.ReadMessage(Quests); + break; + } + case 114: { + if (state_ == null) { + State = new global::Proto.StateInfo(); + } + input.ReadMessage(State); + break; + } + case 120: { + SendGiftCnt = input.ReadUInt32(); + break; + } + case 130: + case 128: { + board_.AddEntriesFrom(input, _repeated_board_codec); + break; + } + case 138: + case 136: { + datingCharIds_.AddEntriesFrom(input, _repeated_datingCharIds_codec); + break; + } + case 146: { + Achievements = input.ReadBytes(); + break; + } + case 154: { + handbook_.AddEntriesFrom(input, _repeated_handbook_codec); + break; + } + case 160: { + SigninIndex = input.ReadUInt32(); + break; + } + case 170: { + titles_.AddEntriesFrom(input, _repeated_titles_codec); + break; + } + case 178: { + dailyInstances_.AddEntriesFrom(input, _repeated_dailyInstances_codec); + break; + } + case 186: { + dictionaries_.AddEntriesFrom(input, _repeated_dictionaries_codec); + break; + } + case 194: { + activities_.AddEntriesFrom(input, _repeated_activities_codec); + break; + } + case 202: { + if (phone_ == null) { + Phone = new global::Proto.PhoneInfo(); + } + input.ReadMessage(Phone); + break; + } + case 208: { + TalentResetTime = input.ReadInt64(); + break; + } + case 216: { + EquipmentDoubleCount = input.ReadUInt32(); + break; + } + case 226: { + discs_.AddEntriesFrom(input, _repeated_discs_codec); + break; + } + case 234: { + equipmentInstances_.AddEntriesFrom(input, _repeated_equipmentInstances_codec); + break; + } + case 242: { + if (story_ == null) { + Story = new global::Proto.StoryInfo(); + } + input.ReadMessage(Story); + break; + } + case 250: { + if (vampireSurvivorRecord_ == null) { + VampireSurvivorRecord = new global::Proto.VampireSurvivorRecordInfo(); + } + input.ReadMessage(VampireSurvivorRecord); + break; + } + case 258: + case 256: { + dailyActiveIds_.AddEntriesFrom(input, _repeated_dailyActiveIds_codec); + break; + } + case 264: { + TourGuideQuestGroup = input.ReadUInt32(); + break; + } + case 986: + case 984: { + honorList_.AddEntriesFrom(input, _repeated_honorList_codec); + break; + } + case 994: { + honors_.AddEntriesFrom(input, _repeated_honors_codec); + break; + } + case 1000: { + DailyShopRewardStatus = input.ReadBool(); + break; + } + case 1008: { + TowerTicket = input.ReadUInt32(); + break; + } + case 1016: { + ServerTs = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (acc_ == null) { + Acc = new global::Proto.AccInfo(); + } + input.ReadMessage(Acc); + break; + } + case 18: { + res_.AddEntriesFrom(ref input, _repeated_res_codec); + break; + } + case 26: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 34: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 42: { + if (formation_ == null) { + Formation = new global::Proto.TowerFormation(); + } + input.ReadMessage(Formation); + break; + } + case 48: { + StarTowerRankTicket = input.ReadUInt32(); + break; + } + case 58: { + if (energy_ == null) { + Energy = new global::Proto.EnergyInfo(); + } + input.ReadMessage(Energy); + break; + } + case 66: { + if (worldClass_ == null) { + WorldClass = new global::Proto.WorldClassInfo(); + } + input.ReadMessage(WorldClass); + break; + } + case 74: { + if (agent_ == null) { + Agent = new global::Proto.AgentData(); + } + input.ReadMessage(Agent); + break; + } + case 82: + case 80: { + rglPassedIds_.AddEntriesFrom(ref input, _repeated_rglPassedIds_codec); + break; + } + case 90: { + equipments_.AddEntriesFrom(ref input, _repeated_equipments_codec); + break; + } + case 98: { + regionBossLevels_.AddEntriesFrom(ref input, _repeated_regionBossLevels_codec); + break; + } + case 106: { + if (quests_ == null) { + Quests = new global::Proto.Quests(); + } + input.ReadMessage(Quests); + break; + } + case 114: { + if (state_ == null) { + State = new global::Proto.StateInfo(); + } + input.ReadMessage(State); + break; + } + case 120: { + SendGiftCnt = input.ReadUInt32(); + break; + } + case 130: + case 128: { + board_.AddEntriesFrom(ref input, _repeated_board_codec); + break; + } + case 138: + case 136: { + datingCharIds_.AddEntriesFrom(ref input, _repeated_datingCharIds_codec); + break; + } + case 146: { + Achievements = input.ReadBytes(); + break; + } + case 154: { + handbook_.AddEntriesFrom(ref input, _repeated_handbook_codec); + break; + } + case 160: { + SigninIndex = input.ReadUInt32(); + break; + } + case 170: { + titles_.AddEntriesFrom(ref input, _repeated_titles_codec); + break; + } + case 178: { + dailyInstances_.AddEntriesFrom(ref input, _repeated_dailyInstances_codec); + break; + } + case 186: { + dictionaries_.AddEntriesFrom(ref input, _repeated_dictionaries_codec); + break; + } + case 194: { + activities_.AddEntriesFrom(ref input, _repeated_activities_codec); + break; + } + case 202: { + if (phone_ == null) { + Phone = new global::Proto.PhoneInfo(); + } + input.ReadMessage(Phone); + break; + } + case 208: { + TalentResetTime = input.ReadInt64(); + break; + } + case 216: { + EquipmentDoubleCount = input.ReadUInt32(); + break; + } + case 226: { + discs_.AddEntriesFrom(ref input, _repeated_discs_codec); + break; + } + case 234: { + equipmentInstances_.AddEntriesFrom(ref input, _repeated_equipmentInstances_codec); + break; + } + case 242: { + if (story_ == null) { + Story = new global::Proto.StoryInfo(); + } + input.ReadMessage(Story); + break; + } + case 250: { + if (vampireSurvivorRecord_ == null) { + VampireSurvivorRecord = new global::Proto.VampireSurvivorRecordInfo(); + } + input.ReadMessage(VampireSurvivorRecord); + break; + } + case 258: + case 256: { + dailyActiveIds_.AddEntriesFrom(ref input, _repeated_dailyActiveIds_codec); + break; + } + case 264: { + TourGuideQuestGroup = input.ReadUInt32(); + break; + } + case 986: + case 984: { + honorList_.AddEntriesFrom(ref input, _repeated_honorList_codec); + break; + } + case 994: { + honors_.AddEntriesFrom(ref input, _repeated_honors_codec); + break; + } + case 1000: { + DailyShopRewardStatus = input.ReadBool(); + break; + } + case 1008: { + TowerTicket = input.ReadUInt32(); + break; + } + case 1016: { + ServerTs = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PhoneInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PhoneInfo()); + 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::Proto.PlayerDataReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhoneInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhoneInfo(PhoneInfo other) : this() { + newMessage_ = other.newMessage_; + progressMessage_ = other.progressMessage_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PhoneInfo Clone() { + return new PhoneInfo(this); + } + + /// Field number for the "NewMessage" field. + public const int NewMessageFieldNumber = 1; + private uint newMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint NewMessage { + get { return newMessage_; } + set { + newMessage_ = value; + } + } + + /// Field number for the "ProgressMessage" field. + public const int ProgressMessageFieldNumber = 2; + private uint progressMessage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ProgressMessage { + get { return progressMessage_; } + set { + progressMessage_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PhoneInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PhoneInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NewMessage != other.NewMessage) return false; + if (ProgressMessage != other.ProgressMessage) return false; + if (NextPackage != other.NextPackage) 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 (NewMessage != 0) hash ^= NewMessage.GetHashCode(); + if (ProgressMessage != 0) hash ^= ProgressMessage.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (NewMessage != 0) { + output.WriteRawTag(8); + output.WriteUInt32(NewMessage); + } + if (ProgressMessage != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ProgressMessage); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NewMessage != 0) { + output.WriteRawTag(8); + output.WriteUInt32(NewMessage); + } + if (ProgressMessage != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ProgressMessage); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NewMessage != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewMessage); + } + if (ProgressMessage != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProgressMessage); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PhoneInfo other) { + if (other == null) { + return; + } + if (other.NewMessage != 0) { + NewMessage = other.NewMessage; + } + if (other.ProgressMessage != 0) { + ProgressMessage = other.ProgressMessage; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + NewMessage = input.ReadUInt32(); + break; + } + case 16: { + ProgressMessage = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + NewMessage = input.ReadUInt32(); + break; + } + case 16: { + ProgressMessage = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DictionaryEntry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DictionaryEntry()); + 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::Proto.PlayerDataReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryEntry(DictionaryEntry other) : this() { + index_ = other.index_; + status_ = other.status_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryEntry Clone() { + return new DictionaryEntry(this); + } + + /// Field number for the "Index" field. + public const int IndexFieldNumber = 1; + private uint index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return index_; } + set { + index_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 2; + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DictionaryEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DictionaryEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (Status != other.Status) return false; + if (NextPackage != other.NextPackage) 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 (Index != 0) hash ^= Index.GetHashCode(); + if (Status != 0) hash ^= Status.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Index != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Index != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DictionaryEntry other) { + if (other == null) { + return; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Index = input.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Index = input.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DictionaryTab : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DictionaryTab()); + 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::Proto.PlayerDataReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTab(DictionaryTab other) : this() { + tabId_ = other.tabId_; + entries_ = other.entries_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTab Clone() { + return new DictionaryTab(this); + } + + /// Field number for the "TabId" field. + public const int TabIdFieldNumber = 1; + private uint tabId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TabId { + get { return tabId_; } + set { + tabId_ = value; + } + } + + /// Field number for the "Entries" field. + public const int EntriesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_entries_codec + = pb::FieldCodec.ForMessage(18, global::Proto.DictionaryEntry.Parser); + private readonly pbc::RepeatedField entries_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Entries { + get { return entries_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DictionaryTab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DictionaryTab other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TabId != other.TabId) return false; + if(!entries_.Equals(other.entries_)) return false; + if (NextPackage != other.NextPackage) 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 (TabId != 0) hash ^= TabId.GetHashCode(); + hash ^= entries_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (TabId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TabId); + } + entries_.WriteTo(output, _repeated_entries_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TabId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TabId); + } + entries_.WriteTo(ref output, _repeated_entries_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TabId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TabId); + } + size += entries_.CalculateSize(_repeated_entries_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DictionaryTab other) { + if (other == null) { + return; + } + if (other.TabId != 0) { + TabId = other.TabId; + } + entries_.Add(other.entries_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + TabId = input.ReadUInt32(); + break; + } + case 18: { + entries_.AddEntriesFrom(input, _repeated_entries_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + TabId = input.ReadUInt32(); + break; + } + case 18: { + entries_.AddEntriesFrom(ref input, _repeated_entries_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EnergyInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnergyInfo()); + 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::Proto.PlayerDataReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnergyInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnergyInfo(EnergyInfo other) : this() { + energy_ = other.energy_ != null ? other.energy_.Clone() : null; + count_ = other.count_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnergyInfo Clone() { + return new EnergyInfo(this); + } + + /// Field number for the "Energy" field. + public const int EnergyFieldNumber = 1; + private global::Proto.Energy energy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Energy Energy { + get { return energy_; } + set { + energy_ = value; + } + } + + /// Field number for the "Count" field. + public const int CountFieldNumber = 2; + private uint count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Count { + get { return count_; } + set { + count_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EnergyInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EnergyInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Energy, other.Energy)) return false; + if (Count != other.Count) return false; + if (NextPackage != other.NextPackage) 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 (energy_ != null) hash ^= Energy.GetHashCode(); + if (Count != 0) hash ^= Count.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (energy_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Energy); + } + if (Count != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Count); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (energy_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Energy); + } + if (Count != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Count); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (energy_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Energy); + } + if (Count != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EnergyInfo other) { + if (other == null) { + return; + } + if (other.energy_ != null) { + if (energy_ == null) { + Energy = new global::Proto.Energy(); + } + Energy.MergeFrom(other.Energy); + } + if (other.Count != 0) { + Count = other.Count; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (energy_ == null) { + Energy = new global::Proto.Energy(); + } + input.ReadMessage(Energy); + break; + } + case 16: { + Count = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (energy_ == null) { + Energy = new global::Proto.Energy(); + } + input.ReadMessage(Energy); + break; + } + case 16: { + Count = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WorldClassInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WorldClassInfo()); + 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::Proto.PlayerDataReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassInfo(WorldClassInfo other) : this() { + cur_ = other.cur_; + lastExp_ = other.lastExp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassInfo Clone() { + return new WorldClassInfo(this); + } + + /// Field number for the "Cur" field. + public const int CurFieldNumber = 1; + private uint cur_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Cur { + get { return cur_; } + set { + cur_ = value; + } + } + + /// Field number for the "LastExp" field. + public const int LastExpFieldNumber = 2; + private int lastExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LastExp { + get { return lastExp_; } + set { + lastExp_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 WorldClassInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WorldClassInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Cur != other.Cur) return false; + if (LastExp != other.LastExp) return false; + if (NextPackage != other.NextPackage) 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 (Cur != 0) hash ^= Cur.GetHashCode(); + if (LastExp != 0) hash ^= LastExp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (LastExp != 0) { + output.WriteRawTag(16); + output.WriteInt32(LastExp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (LastExp != 0) { + output.WriteRawTag(16); + output.WriteInt32(LastExp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Cur); + } + if (LastExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LastExp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WorldClassInfo other) { + if (other == null) { + return; + } + if (other.Cur != 0) { + Cur = other.Cur; + } + if (other.LastExp != 0) { + LastExp = other.LastExp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Cur = input.ReadUInt32(); + break; + } + case 16: { + LastExp = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Cur = input.ReadUInt32(); + break; + } + case 16: { + LastExp = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/FormationScene.cs b/Novaria.Common/Protos/PlayerDestroy.cs similarity index 66% rename from Novaria.Common/Protos/FormationScene.cs rename to Novaria.Common/Protos/PlayerDestroy.cs index 71d8a83..8c5b7de 100644 --- a/Novaria.Common/Protos/FormationScene.cs +++ b/Novaria.Common/Protos/PlayerDestroy.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FormationScene.proto +// source: player_destroy.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from FormationScene.proto - public static partial class FormationSceneReflection { + /// Holder for reflection information generated from player_destroy.proto + public static partial class PlayerDestroyReflection { #region Descriptor - /// File descriptor for FormationScene.proto + /// File descriptor for player_destroy.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static FormationSceneReflection() { + static PlayerDestroyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChRGb3JtYXRpb25TY2VuZS5wcm90byIyCg5Gb3JtYXRpb25TY2VuZRISCgpz", - "Y2VuZV9uYW1lGAEgASgJEgwKBHBhdGgYAiABKAlCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); + "ChRwbGF5ZXJfZGVzdHJveS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byI4", + "Cg1QbGF5ZXJEZXN0cm95EhEKCU5vdGlmeVVybBgBIAEoCRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FormationScene), global::Nova.Client.FormationScene.Parser, new[]{ "SceneName", "Path" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerDestroy), global::Proto.PlayerDestroy.Parser, new[]{ "NotifyUrl", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class FormationScene : pb::IMessage + public sealed partial class PlayerDestroy : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormationScene()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerDestroy()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.FormationSceneReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerDestroyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FormationScene() { + public PlayerDestroy() { OnConstruction(); } @@ -71,59 +71,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FormationScene(FormationScene other) : this() { - sceneName_ = other.sceneName_; - path_ = other.path_; + public PlayerDestroy(PlayerDestroy other) : this() { + notifyUrl_ = other.notifyUrl_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FormationScene Clone() { - return new FormationScene(this); + public PlayerDestroy Clone() { + return new PlayerDestroy(this); } - /// Field number for the "scene_name" field. - public const int SceneNameFieldNumber = 1; - private string sceneName_ = ""; + /// Field number for the "NotifyUrl" field. + public const int NotifyUrlFieldNumber = 1; + private string notifyUrl_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } + public string NotifyUrl { + get { return notifyUrl_; } set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + notifyUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "path" field. - public const int PathFieldNumber = 2; - private string path_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Path { - get { return path_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - path_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 FormationScene); + return Equals(other as PlayerDestroy); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FormationScene other) { + public bool Equals(PlayerDestroy other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (SceneName != other.SceneName) return false; - if (Path != other.Path) return false; + if (NotifyUrl != other.NotifyUrl) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (Path.Length != 0) hash ^= Path.GetHashCode(); + if (NotifyUrl.Length != 0) hash ^= NotifyUrl.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -151,13 +151,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (SceneName.Length != 0) { + if (NotifyUrl.Length != 0) { output.WriteRawTag(10); - output.WriteString(SceneName); + output.WriteString(NotifyUrl); } - if (Path.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Path); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -169,13 +169,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (SceneName.Length != 0) { + if (NotifyUrl.Length != 0) { output.WriteRawTag(10); - output.WriteString(SceneName); + output.WriteString(NotifyUrl); } - if (Path.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Path); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,11 +187,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + if (NotifyUrl.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NotifyUrl); } - if (Path.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FormationScene other) { + public void MergeFrom(PlayerDestroy other) { if (other == null) { return; } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; + if (other.NotifyUrl.Length != 0) { + NotifyUrl = other.NotifyUrl; } - if (other.Path.Length != 0) { - Path = other.Path; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -231,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - SceneName = input.ReadString(); + NotifyUrl = input.ReadString(); break; } - case 18: { - Path = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -258,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - SceneName = input.ReadString(); + NotifyUrl = input.ReadString(); break; } - case 18: { - Path = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/PlayerExit.cs b/Novaria.Common/Protos/PlayerExit.cs new file mode 100644 index 0000000..88ea6b8 --- /dev/null +++ b/Novaria.Common/Protos/PlayerExit.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_exit.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 Proto { + + /// Holder for reflection information generated from player_exit.proto + public static partial class PlayerExitReflection { + + #region Descriptor + /// File descriptor for player_exit.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerExitReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFwbGF5ZXJfZXhpdC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90b1AAYgZw", + "cm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/UIText.cs b/Novaria.Common/Protos/PlayerFormation.cs similarity index 62% rename from Novaria.Common/Protos/UIText.cs rename to Novaria.Common/Protos/PlayerFormation.cs index 7a1f4b8..0721a15 100644 --- a/Novaria.Common/Protos/UIText.cs +++ b/Novaria.Common/Protos/PlayerFormation.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: UIText.proto +// source: player_formation.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,27 +9,29 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from UIText.proto - public static partial class UITextReflection { + /// Holder for reflection information generated from player_formation.proto + public static partial class PlayerFormationReflection { #region Descriptor - /// File descriptor for UIText.proto + /// File descriptor for player_formation.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static UITextReflection() { + static PlayerFormationReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CgxVSVRleHQucHJvdG8iIgoGVUlUZXh0EgoKAmlkGAEgASgJEgwKBHRleHQY", - "AiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChZwbGF5ZXJfZm9ybWF0aW9uLnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "IlMKElBsYXllckZvcm1hdGlvblJlcRInCglGb3JtYXRpb24YASABKAsyFC5w", + "cm90by5Gb3JtYXRpb25JbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.UIText), global::Nova.Client.UIText.Parser, new[]{ "Id", "Text" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerFormationReq), global::Proto.PlayerFormationReq.Parser, new[]{ "Formation", "NextPackage" }, null, null, null, null) })); } #endregion @@ -37,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class UIText : pb::IMessage + public sealed partial class PlayerFormationReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UIText()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerFormationReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.UITextReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerFormationReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -62,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UIText() { + public PlayerFormationReq() { OnConstruction(); } @@ -70,59 +72,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UIText(UIText other) : this() { - id_ = other.id_; - text_ = other.text_; + public PlayerFormationReq(PlayerFormationReq other) : this() { + formation_ = other.formation_ != null ? other.formation_.Clone() : null; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UIText Clone() { - return new UIText(this); + public PlayerFormationReq Clone() { + return new PlayerFormationReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; + /// Field number for the "Formation" field. + public const int FormationFieldNumber = 1; + private global::Proto.FormationInfo formation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } + public global::Proto.FormationInfo Formation { + get { return formation_; } set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + formation_ = value; } } - /// Field number for the "text" field. - public const int TextFieldNumber = 2; - private string text_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Text { - get { return text_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 UIText); + return Equals(other as PlayerFormationReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UIText other) { + public bool Equals(PlayerFormationReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Text != other.Text) return false; + if (!object.Equals(Formation, other.Formation)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -130,8 +132,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id.Length != 0) hash ^= Id.GetHashCode(); - if (Text.Length != 0) hash ^= Text.GetHashCode(); + if (formation_ != null) hash ^= Formation.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -150,13 +152,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id.Length != 0) { + if (formation_ != null) { output.WriteRawTag(10); - output.WriteString(Id); + output.WriteMessage(Formation); } - if (Text.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Text); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -168,13 +170,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id.Length != 0) { + if (formation_ != null) { output.WriteRawTag(10); - output.WriteString(Id); + output.WriteMessage(Formation); } - if (Text.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Text); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -186,11 +188,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + if (formation_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Formation); } - if (Text.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -200,15 +202,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UIText other) { + public void MergeFrom(PlayerFormationReq other) { if (other == null) { return; } - if (other.Id.Length != 0) { - Id = other.Id; + if (other.formation_ != null) { + if (formation_ == null) { + Formation = new global::Proto.FormationInfo(); + } + Formation.MergeFrom(other.Formation); } - if (other.Text.Length != 0) { - Text = other.Text; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -230,11 +235,14 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Id = input.ReadString(); + if (formation_ == null) { + Formation = new global::Proto.FormationInfo(); + } + input.ReadMessage(Formation); break; } - case 18: { - Text = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -257,11 +265,14 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Id = input.ReadString(); + if (formation_ == null) { + Formation = new global::Proto.FormationInfo(); + } + input.ReadMessage(Formation); break; } - case 18: { - Text = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/PlayerGenderEdit.cs b/Novaria.Common/Protos/PlayerGenderEdit.cs new file mode 100644 index 0000000..235e2f2 --- /dev/null +++ b/Novaria.Common/Protos/PlayerGenderEdit.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_gender_edit.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 Proto { + + /// Holder for reflection information generated from player_gender_edit.proto + public static partial class PlayerGenderEditReflection { + + #region Descriptor + /// File descriptor for player_gender_edit.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerGenderEditReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhwbGF5ZXJfZ2VuZGVyX2VkaXQucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG9QAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerHead.cs b/Novaria.Common/Protos/PlayerHead.cs deleted file mode 100644 index 0b30a68..0000000 --- a/Novaria.Common/Protos/PlayerHead.cs +++ /dev/null @@ -1,278 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PlayerHead.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 PlayerHead.proto - public static partial class PlayerHeadReflection { - - #region Descriptor - /// File descriptor for PlayerHead.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PlayerHeadReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBQbGF5ZXJIZWFkLnByb3RvIiYKClBsYXllckhlYWQSCgoCaWQYASABKAUS", - "DAoEaWNvbhgCIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PlayerHead), global::Nova.Client.PlayerHead.Parser, new[]{ "Id", "Icon" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PlayerHead : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerHead()); - 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.PlayerHeadReflection.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 PlayerHead() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PlayerHead(PlayerHead other) : this() { - id_ = other.id_; - icon_ = other.icon_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PlayerHead Clone() { - return new PlayerHead(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 "icon" field. - public const int IconFieldNumber = 2; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PlayerHead); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PlayerHead other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Icon != other.Icon) 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 (Icon.Length != 0) hash ^= Icon.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 (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - 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 (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - 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 (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PlayerHead other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - _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: { - Icon = 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 18: { - Icon = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/DropObject.cs b/Novaria.Common/Protos/PlayerHeadiconSet.cs similarity index 65% rename from Novaria.Common/Protos/DropObject.cs rename to Novaria.Common/Protos/PlayerHeadiconSet.cs index b72477c..ce0eeec 100644 --- a/Novaria.Common/Protos/DropObject.cs +++ b/Novaria.Common/Protos/PlayerHeadiconSet.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DropObject.proto +// source: player_headicon_set.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from DropObject.proto - public static partial class DropObjectReflection { + /// Holder for reflection information generated from player_headicon_set.proto + public static partial class PlayerHeadiconSetReflection { #region Descriptor - /// File descriptor for DropObject.proto + /// File descriptor for player_headicon_set.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static DropObjectReflection() { + static PlayerHeadiconSetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChBEcm9wT2JqZWN0LnByb3RvIjEKCkRyb3BPYmplY3QSCgoCaWQYASABKAUS", - "FwoPZHJvcF9vYmplY3RfcmVzGAIgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); + "ChlwbGF5ZXJfaGVhZGljb25fc2V0LnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvIj4KFFBsYXllckhlYWRJY29uU2V0UmVxEhAKCEhlYWRJY29uGAEgASgN", + "EhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropObject), global::Nova.Client.DropObject.Parser, new[]{ "Id", "DropObjectRes" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerHeadIconSetReq), global::Proto.PlayerHeadIconSetReq.Parser, new[]{ "HeadIcon", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DropObject : pb::IMessage + public sealed partial class PlayerHeadIconSetReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DropObject()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerHeadIconSetReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.DropObjectReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerHeadiconSetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropObject() { + public PlayerHeadIconSetReq() { OnConstruction(); } @@ -71,59 +71,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropObject(DropObject other) : this() { - id_ = other.id_; - dropObjectRes_ = other.dropObjectRes_; + public PlayerHeadIconSetReq(PlayerHeadIconSetReq other) : this() { + headIcon_ = other.headIcon_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DropObject Clone() { - return new DropObject(this); + public PlayerHeadIconSetReq Clone() { + return new PlayerHeadIconSetReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "HeadIcon" field. + public const int HeadIconFieldNumber = 1; + private uint headIcon_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint HeadIcon { + get { return headIcon_; } set { - id_ = value; + headIcon_ = value; } } - /// Field number for the "drop_object_res" field. - public const int DropObjectResFieldNumber = 2; - private string dropObjectRes_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DropObjectRes { - get { return dropObjectRes_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - dropObjectRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 DropObject); + return Equals(other as PlayerHeadIconSetReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DropObject other) { + public bool Equals(PlayerHeadIconSetReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (DropObjectRes != other.DropObjectRes) return false; + if (HeadIcon != other.HeadIcon) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (DropObjectRes.Length != 0) hash ^= DropObjectRes.GetHashCode(); + if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -151,13 +151,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (HeadIcon != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(HeadIcon); } - if (DropObjectRes.Length != 0) { - output.WriteRawTag(18); - output.WriteString(DropObjectRes); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -169,13 +169,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (HeadIcon != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(HeadIcon); } - if (DropObjectRes.Length != 0) { - output.WriteRawTag(18); - output.WriteString(DropObjectRes); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,11 +187,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (HeadIcon != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); } - if (DropObjectRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DropObjectRes); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DropObject other) { + public void MergeFrom(PlayerHeadIconSetReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.HeadIcon != 0) { + HeadIcon = other.HeadIcon; } - if (other.DropObjectRes.Length != 0) { - DropObjectRes = other.DropObjectRes; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -231,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + HeadIcon = input.ReadUInt32(); break; } - case 18: { - DropObjectRes = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -258,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + HeadIcon = input.ReadUInt32(); break; } - case 18: { - DropObjectRes = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/TableDestroyObject.cs b/Novaria.Common/Protos/PlayerHonorEdit.cs similarity index 68% rename from Novaria.Common/Protos/TableDestroyObject.cs rename to Novaria.Common/Protos/PlayerHonorEdit.cs index c41772d..eaf3fb1 100644 --- a/Novaria.Common/Protos/TableDestroyObject.cs +++ b/Novaria.Common/Protos/PlayerHonorEdit.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DestroyObject.proto +// source: player_honor_edit.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from table_DestroyObject.proto - public static partial class TableDestroyObjectReflection { + /// Holder for reflection information generated from player_honor_edit.proto + public static partial class PlayerHonorEditReflection { #region Descriptor - /// File descriptor for table_DestroyObject.proto + /// File descriptor for player_honor_edit.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static TableDestroyObjectReflection() { + static PlayerHonorEditReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Chl0YWJsZV9EZXN0cm95T2JqZWN0LnByb3RvGhNEZXN0cm95T2JqZWN0LnBy", - "b3RvIjMKE3RhYmxlX0Rlc3Ryb3lPYmplY3QSHAoEbGlzdBgBIAMoCzIOLkRl", - "c3Ryb3lPYmplY3RCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "ChdwbGF5ZXJfaG9ub3JfZWRpdC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byI4ChJQbGF5ZXJIb25vckVkaXRSZXESDAoETGlzdBgBIAMoDRIUCgtOZXh0", + "UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DestroyObjectReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DestroyObject), global::Nova.Client.table_DestroyObject.Parser, new[]{ "List" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerHonorEditReq), global::Proto.PlayerHonorEditReq.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DestroyObject : pb::IMessage + public sealed partial class PlayerHonorEditReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new table_DestroyObject()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerHonorEditReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.TableDestroyObjectReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerHonorEditReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DestroyObject() { + public PlayerHonorEditReq() { OnConstruction(); } @@ -71,37 +71,50 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DestroyObject(table_DestroyObject other) : this() { + public PlayerHonorEditReq(PlayerHonorEditReq other) : this() { list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DestroyObject Clone() { - return new table_DestroyObject(this); + public PlayerHonorEditReq Clone() { + return new PlayerHonorEditReq(this); } - /// Field number for the "list" field. + /// Field number for the "List" field. public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DestroyObject.Parser); - private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField List { + public pbc::RepeatedField List { get { return list_; } } + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 table_DestroyObject); + return Equals(other as PlayerHonorEditReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DestroyObject other) { + public bool Equals(PlayerHonorEditReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -109,6 +122,7 @@ namespace Nova.Client { return true; } if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -117,6 +131,7 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -136,6 +151,10 @@ namespace Nova.Client { output.WriteRawMessage(this); #else list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -147,6 +166,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -158,6 +181,9 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -166,11 +192,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DestroyObject other) { + public void MergeFrom(PlayerHonorEditReq other) { if (other == null) { return; } list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -190,10 +219,15 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { + case 10: + case 8: { list_.AddEntriesFrom(input, _repeated_list_codec); break; } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } } } #endif @@ -213,10 +247,15 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { + case 10: + case 8: { list_.AddEntriesFrom(ref input, _repeated_list_codec); break; } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } } } } diff --git a/Novaria.Common/Protos/PlayerLearn.cs b/Novaria.Common/Protos/PlayerLearn.cs new file mode 100644 index 0000000..ce38d6e --- /dev/null +++ b/Novaria.Common/Protos/PlayerLearn.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_learn.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 Proto { + + /// Holder for reflection information generated from player_learn.proto + public static partial class PlayerLearnReflection { + + #region Descriptor + /// File descriptor for player_learn.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerLearnReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJwbGF5ZXJfbGVhcm4ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG9QAGIG", + "cHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerLogin.cs b/Novaria.Common/Protos/PlayerLogin.cs index bb65917..822bce9 100644 --- a/Novaria.Common/Protos/PlayerLogin.cs +++ b/Novaria.Common/Protos/PlayerLogin.cs @@ -9,663 +9,1408 @@ using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from player_login.proto -public static partial class PlayerLoginReflection { +namespace Proto { - #region Descriptor - /// File descriptor for player_login.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; + /// Holder for reflection information generated from player_login.proto + public static partial class PlayerLoginReflection { + + #region Descriptor + /// File descriptor for player_login.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerLoginReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJwbGF5ZXJfbG9naW4ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8i6AEK", + "CExvZ2luUmVxEiEKCFBsYXRmb3JtGAsgASgOMg8ucHJvdG8uUGxhdGZvcm0S", + "EAoITGFuZ3VhZ2UYDCABKAkSDwoHQ2hhbm5lbBgNIAEoCRIOCgZEZXZpY2UY", + "DiABKAkSDwoHVmVyc2lvbhgPIAEoBRIUCgtOZXh0UGFja2FnZRj/DyABKAwS", + "IQoHQWNjb3VudBgBIAEoCzIOLnByb3RvLlJlZ3VsYXJIABIPCgVUb2tlbhgC", + "IAEoCUgAEiMKCE9mZmljaWFsGAMgASgLMg8ucHJvdG8uT2ZmaWNpYWxIAEIG", + "CgRBdXRoIjwKCE9mZmljaWFsEgsKA1VpZBgBIAEoBBINCgVUb2tlbhgCIAEo", + "CRIUCgtOZXh0UGFja2FnZRj/DyABKAwiOwoHUmVndWxhchIMCgROYW1lGAEg", + "ASgJEgwKBFBhc3MYAiABKAkSFAoLTmV4dFBhY2thZ2UY/w8gASgMIjAKCUxv", + "Z2luUmVzcBINCgVUb2tlbhgBIAEoCRIUCgtOZXh0UGFja2FnZRj/DyABKAwq", + "RAoIUGxhdGZvcm0SCwoHVW5rbm93bhAAEgcKA0lvcxABEgsKB0FuZHJvaWQQ", + "AhIGCgJQQxADEg0KCUhhcm1vbnlvcxAEUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Proto.Platform), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.LoginReq), global::Proto.LoginReq.Parser, new[]{ "Platform", "Language", "Channel", "Device", "Version", "NextPackage", "Account", "Token", "Official" }, new[]{ "Auth" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Official), global::Proto.Official.Parser, new[]{ "Uid", "Token", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Regular), global::Proto.Regular.Parser, new[]{ "Name", "Pass", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.LoginResp), global::Proto.LoginResp.Parser, new[]{ "Token", "NextPackage" }, null, null, null, null) + })); + } + #endregion - static PlayerLoginReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJwbGF5ZXJfbG9naW4ucHJvdG8iJQoHQWNjb3VudBIMCgRuYW1lGAEgASgJ", - "EgwKBHBhc3MYAiABKAkifgoLVXNlclJlcXVlc3QSGQoHYWNjb3VudBgBIAEo", - "CzIILkFjY291bnQSEAoIcGxhdGZvcm0YAiABKAkSEAoIbGFuZ3VhZ2UYAyAB", - "KAkSDwoHY2hhbm5lbBgEIAEoCRIOCgZkZXZpY2UYBSABKAkSDwoHdmVyc2lv", - "bhgGIAEoBWIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Account), global::Account.Parser, new[]{ "Name", "Pass" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::UserRequest), global::UserRequest.Parser, new[]{ "Account", "Platform", "Language", "Channel", "Device", "Version" }, null, null, null, null) - })); } + #region Enums + public enum Platform { + [pbr::OriginalName("Unknown")] Unknown = 0, + [pbr::OriginalName("Ios")] Ios = 1, + [pbr::OriginalName("Android")] Android = 2, + [pbr::OriginalName("PC")] Pc = 3, + [pbr::OriginalName("Harmonyos")] Harmonyos = 4, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoginReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginReq()); + 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::Proto.PlayerLoginReflection.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 LoginReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginReq(LoginReq other) : this() { + platform_ = other.platform_; + language_ = other.language_; + channel_ = other.channel_; + device_ = other.device_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + switch (other.AuthCase) { + case AuthOneofCase.Account: + Account = other.Account.Clone(); + break; + case AuthOneofCase.Token: + Token = other.Token; + break; + case AuthOneofCase.Official: + Official = other.Official.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginReq Clone() { + return new LoginReq(this); + } + + /// Field number for the "Platform" field. + public const int PlatformFieldNumber = 11; + private global::Proto.Platform platform_ = global::Proto.Platform.Unknown; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Platform Platform { + get { return platform_; } + set { + platform_ = value; + } + } + + /// Field number for the "Language" field. + public const int LanguageFieldNumber = 12; + private string language_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Language { + get { return language_; } + set { + language_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Channel" field. + public const int ChannelFieldNumber = 13; + private string channel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Channel { + get { return channel_; } + set { + channel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Device" field. + public const int DeviceFieldNumber = 14; + private string device_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Device { + get { return device_; } + set { + device_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 15; + private int version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Account" field. + public const int AccountFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Regular Account { + get { return authCase_ == AuthOneofCase.Account ? (global::Proto.Regular) auth_ : null; } + set { + auth_ = value; + authCase_ = value == null ? AuthOneofCase.None : AuthOneofCase.Account; + } + } + + /// Field number for the "Token" field. + public const int TokenFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return HasToken ? (string) auth_ : ""; } + set { + auth_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + authCase_ = AuthOneofCase.Token; + } + } + /// Gets whether the "Token" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasToken { + get { return authCase_ == AuthOneofCase.Token; } + } + /// Clears the value of the oneof if it's currently set to "Token" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearToken() { + if (HasToken) { + ClearAuth(); + } + } + + /// Field number for the "Official" field. + public const int OfficialFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Official Official { + get { return authCase_ == AuthOneofCase.Official ? (global::Proto.Official) auth_ : null; } + set { + auth_ = value; + authCase_ = value == null ? AuthOneofCase.None : AuthOneofCase.Official; + } + } + + private object auth_; + /// Enum of possible cases for the "Auth" oneof. + public enum AuthOneofCase { + None = 0, + Account = 1, + Token = 2, + Official = 3, + } + private AuthOneofCase authCase_ = AuthOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuthOneofCase AuthCase { + get { return authCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAuth() { + authCase_ = AuthOneofCase.None; + auth_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LoginReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoginReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Platform != other.Platform) return false; + if (Language != other.Language) return false; + if (Channel != other.Channel) return false; + if (Device != other.Device) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Account, other.Account)) return false; + if (Token != other.Token) return false; + if (!object.Equals(Official, other.Official)) return false; + if (AuthCase != other.AuthCase) 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 (Platform != global::Proto.Platform.Unknown) hash ^= Platform.GetHashCode(); + if (Language.Length != 0) hash ^= Language.GetHashCode(); + if (Channel.Length != 0) hash ^= Channel.GetHashCode(); + if (Device.Length != 0) hash ^= Device.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (authCase_ == AuthOneofCase.Account) hash ^= Account.GetHashCode(); + if (HasToken) hash ^= Token.GetHashCode(); + if (authCase_ == AuthOneofCase.Official) hash ^= Official.GetHashCode(); + hash ^= (int) authCase_; + 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 (authCase_ == AuthOneofCase.Account) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (HasToken) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (authCase_ == AuthOneofCase.Official) { + output.WriteRawTag(26); + output.WriteMessage(Official); + } + if (Platform != global::Proto.Platform.Unknown) { + output.WriteRawTag(88); + output.WriteEnum((int) Platform); + } + if (Language.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Language); + } + if (Channel.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Channel); + } + if (Device.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Device); + } + if (Version != 0) { + output.WriteRawTag(120); + output.WriteInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (authCase_ == AuthOneofCase.Account) { + output.WriteRawTag(10); + output.WriteMessage(Account); + } + if (HasToken) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (authCase_ == AuthOneofCase.Official) { + output.WriteRawTag(26); + output.WriteMessage(Official); + } + if (Platform != global::Proto.Platform.Unknown) { + output.WriteRawTag(88); + output.WriteEnum((int) Platform); + } + if (Language.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Language); + } + if (Channel.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Channel); + } + if (Device.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Device); + } + if (Version != 0) { + output.WriteRawTag(120); + output.WriteInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Platform != global::Proto.Platform.Unknown) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Platform); + } + if (Language.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Language); + } + if (Channel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Channel); + } + if (Device.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Device); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (authCase_ == AuthOneofCase.Account) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Account); + } + if (HasToken) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (authCase_ == AuthOneofCase.Official) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Official); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoginReq other) { + if (other == null) { + return; + } + if (other.Platform != global::Proto.Platform.Unknown) { + Platform = other.Platform; + } + if (other.Language.Length != 0) { + Language = other.Language; + } + if (other.Channel.Length != 0) { + Channel = other.Channel; + } + if (other.Device.Length != 0) { + Device = other.Device; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.AuthCase) { + case AuthOneofCase.Account: + if (Account == null) { + Account = new global::Proto.Regular(); + } + Account.MergeFrom(other.Account); + break; + case AuthOneofCase.Token: + Token = other.Token; + break; + case AuthOneofCase.Official: + if (Official == null) { + Official = new global::Proto.Official(); + } + Official.MergeFrom(other.Official); + break; + } + + _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 10: { + global::Proto.Regular subBuilder = new global::Proto.Regular(); + if (authCase_ == AuthOneofCase.Account) { + subBuilder.MergeFrom(Account); + } + input.ReadMessage(subBuilder); + Account = subBuilder; + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 26: { + global::Proto.Official subBuilder = new global::Proto.Official(); + if (authCase_ == AuthOneofCase.Official) { + subBuilder.MergeFrom(Official); + } + input.ReadMessage(subBuilder); + Official = subBuilder; + break; + } + case 88: { + Platform = (global::Proto.Platform) input.ReadEnum(); + break; + } + case 98: { + Language = input.ReadString(); + break; + } + case 106: { + Channel = input.ReadString(); + break; + } + case 114: { + Device = input.ReadString(); + break; + } + case 120: { + Version = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.Regular subBuilder = new global::Proto.Regular(); + if (authCase_ == AuthOneofCase.Account) { + subBuilder.MergeFrom(Account); + } + input.ReadMessage(subBuilder); + Account = subBuilder; + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 26: { + global::Proto.Official subBuilder = new global::Proto.Official(); + if (authCase_ == AuthOneofCase.Official) { + subBuilder.MergeFrom(Official); + } + input.ReadMessage(subBuilder); + Official = subBuilder; + break; + } + case 88: { + Platform = (global::Proto.Platform) input.ReadEnum(); + break; + } + case 98: { + Language = input.ReadString(); + break; + } + case 106: { + Channel = input.ReadString(); + break; + } + case 114: { + Device = input.ReadString(); + break; + } + case 120: { + Version = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Official : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Official()); + 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::Proto.PlayerLoginReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Official() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Official(Official other) : this() { + uid_ = other.uid_; + token_ = other.token_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Official Clone() { + return new Official(this); + } + + /// Field number for the "Uid" field. + public const int UidFieldNumber = 1; + private ulong uid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Uid { + get { return uid_; } + set { + uid_ = value; + } + } + + /// Field number for the "Token" field. + public const int TokenFieldNumber = 2; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Official); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Official other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Uid != other.Uid) return false; + if (Token != other.Token) return false; + if (NextPackage != other.NextPackage) 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 (Uid != 0UL) hash ^= Uid.GetHashCode(); + if (Token.Length != 0) hash ^= Token.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Uid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Uid); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Uid != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Uid); + } + if (Token.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Token); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Uid != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Uid); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Official other) { + if (other == null) { + return; + } + if (other.Uid != 0UL) { + Uid = other.Uid; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Uid = input.ReadUInt64(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Uid = input.ReadUInt64(); + break; + } + case 18: { + Token = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Regular : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Regular()); + 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::Proto.PlayerLoginReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Regular() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Regular(Regular other) : this() { + name_ = other.name_; + pass_ = other.pass_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Regular Clone() { + return new Regular(this); + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 1; + 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 "Pass" field. + public const int PassFieldNumber = 2; + private string pass_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Pass { + get { return pass_; } + set { + pass_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Regular); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Regular other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (Pass != other.Pass) return false; + if (NextPackage != other.NextPackage) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Pass.Length != 0) hash ^= Pass.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Pass.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Pass); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Pass.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Pass); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Pass.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Pass); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Regular other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Pass.Length != 0) { + Pass = other.Pass; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Name = input.ReadString(); + break; + } + case 18: { + Pass = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Name = input.ReadString(); + break; + } + case 18: { + Pass = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoginResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginResp()); + 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::Proto.PlayerLoginReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginResp(LoginResp other) : this() { + token_ = other.token_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginResp Clone() { + return new LoginResp(this); + } + + /// Field number for the "Token" field. + public const int TokenFieldNumber = 1; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 LoginResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoginResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Token != other.Token) return false; + if (NextPackage != other.NextPackage) 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 (Token.Length != 0) hash ^= Token.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Token.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Token); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Token.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Token); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoginResp other) { + if (other == null) { + return; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Token = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Token = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + #endregion } -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class Account : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Account()); - 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::PlayerLoginReflection.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 Account() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Account(Account other) : this() { - name_ = other.name_; - pass_ = other.pass_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Account Clone() { - return new Account(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - 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 "pass" field. - public const int PassFieldNumber = 2; - private string pass_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Pass { - get { return pass_; } - set { - pass_ = 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 Account); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Account other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (Pass != other.Pass) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Pass.Length != 0) hash ^= Pass.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 (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Pass.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Pass); - } - 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 (Name.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (Pass.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Pass); - } - 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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Pass.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Pass); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Account other) { - if (other == null) { - return; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Pass.Length != 0) { - Pass = other.Pass; - } - _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 10: { - Name = input.ReadString(); - break; - } - case 18: { - Pass = 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 10: { - Name = input.ReadString(); - break; - } - case 18: { - Pass = input.ReadString(); - break; - } - } - } - } - #endif - -} - -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class UserRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserRequest()); - 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::PlayerLoginReflection.Descriptor.MessageTypes[1]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UserRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UserRequest(UserRequest other) : this() { - account_ = other.account_ != null ? other.account_.Clone() : null; - platform_ = other.platform_; - language_ = other.language_; - channel_ = other.channel_; - device_ = other.device_; - version_ = other.version_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UserRequest Clone() { - return new UserRequest(this); - } - - /// Field number for the "account" field. - public const int AccountFieldNumber = 1; - private global::Account account_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Account Account { - get { return account_; } - set { - account_ = value; - } - } - - /// Field number for the "platform" field. - public const int PlatformFieldNumber = 2; - private string platform_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Platform { - get { return platform_; } - set { - platform_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "language" field. - public const int LanguageFieldNumber = 3; - private string language_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Language { - get { return language_; } - set { - language_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "channel" field. - public const int ChannelFieldNumber = 4; - private string channel_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Channel { - get { return channel_; } - set { - channel_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "device" field. - public const int DeviceFieldNumber = 5; - private string device_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Device { - get { return device_; } - set { - device_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 6; - private int version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Version { - get { return version_; } - set { - version_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UserRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UserRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Account, other.Account)) return false; - if (Platform != other.Platform) return false; - if (Language != other.Language) return false; - if (Channel != other.Channel) return false; - if (Device != other.Device) return false; - if (Version != other.Version) 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 (account_ != null) hash ^= Account.GetHashCode(); - if (Platform.Length != 0) hash ^= Platform.GetHashCode(); - if (Language.Length != 0) hash ^= Language.GetHashCode(); - if (Channel.Length != 0) hash ^= Channel.GetHashCode(); - if (Device.Length != 0) hash ^= Device.GetHashCode(); - if (Version != 0) hash ^= Version.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 (account_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Account); - } - if (Platform.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Platform); - } - if (Language.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Language); - } - if (Channel.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Channel); - } - if (Device.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Device); - } - if (Version != 0) { - output.WriteRawTag(48); - output.WriteInt32(Version); - } - 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 (account_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Account); - } - if (Platform.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Platform); - } - if (Language.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Language); - } - if (Channel.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Channel); - } - if (Device.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Device); - } - if (Version != 0) { - output.WriteRawTag(48); - output.WriteInt32(Version); - } - 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 (account_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Account); - } - if (Platform.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Platform); - } - if (Language.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Language); - } - if (Channel.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Channel); - } - if (Device.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Device); - } - if (Version != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UserRequest other) { - if (other == null) { - return; - } - if (other.account_ != null) { - if (account_ == null) { - Account = new global::Account(); - } - Account.MergeFrom(other.Account); - } - if (other.Platform.Length != 0) { - Platform = other.Platform; - } - if (other.Language.Length != 0) { - Language = other.Language; - } - if (other.Channel.Length != 0) { - Channel = other.Channel; - } - if (other.Device.Length != 0) { - Device = other.Device; - } - if (other.Version != 0) { - Version = other.Version; - } - _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 10: { - if (account_ == null) { - Account = new global::Account(); - } - input.ReadMessage(Account); - break; - } - case 18: { - Platform = input.ReadString(); - break; - } - case 26: { - Language = input.ReadString(); - break; - } - case 34: { - Channel = input.ReadString(); - break; - } - case 42: { - Device = input.ReadString(); - break; - } - case 48: { - Version = 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 10: { - if (account_ == null) { - Account = new global::Account(); - } - input.ReadMessage(Account); - break; - } - case 18: { - Platform = input.ReadString(); - break; - } - case 26: { - Language = input.ReadString(); - break; - } - case 34: { - Channel = input.ReadString(); - break; - } - case 42: { - Device = input.ReadString(); - break; - } - case 48: { - Version = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - #endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerNameEdit.cs b/Novaria.Common/Protos/PlayerNameEdit.cs new file mode 100644 index 0000000..5517229 --- /dev/null +++ b/Novaria.Common/Protos/PlayerNameEdit.cs @@ -0,0 +1,516 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_name_edit.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 Proto { + + /// Holder for reflection information generated from player_name_edit.proto + public static partial class PlayerNameEditReflection { + + #region Descriptor + /// File descriptor for player_name_edit.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerNameEditReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZwbGF5ZXJfbmFtZV9lZGl0LnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "IjcKEVBsYXllck5hbWVFZGl0UmVxEgwKBE5hbWUYASABKAkSFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIjsKElBsYXllck5hbWVFZGl0UmVzcBIPCgdIYXNodGFn", + "GAEgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerNameEditReq), global::Proto.PlayerNameEditReq.Parser, new[]{ "Name", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerNameEditResp), global::Proto.PlayerNameEditResp.Parser, new[]{ "Hashtag", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerNameEditReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerNameEditReq()); + 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::Proto.PlayerNameEditReflection.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 PlayerNameEditReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerNameEditReq(PlayerNameEditReq other) : this() { + name_ = other.name_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerNameEditReq Clone() { + return new PlayerNameEditReq(this); + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 1; + 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 "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerNameEditReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerNameEditReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (NextPackage != other.NextPackage) 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 (Name.Length != 0) hash ^= Name.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerNameEditReq other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Name = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Name = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerNameEditResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerNameEditResp()); + 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::Proto.PlayerNameEditReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerNameEditResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerNameEditResp(PlayerNameEditResp other) : this() { + hashtag_ = other.hashtag_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerNameEditResp Clone() { + return new PlayerNameEditResp(this); + } + + /// Field number for the "Hashtag" field. + public const int HashtagFieldNumber = 1; + private uint hashtag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Hashtag { + get { return hashtag_; } + set { + hashtag_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerNameEditResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerNameEditResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Hashtag != other.Hashtag) return false; + if (NextPackage != other.NextPackage) 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 (Hashtag != 0) hash ^= Hashtag.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Hashtag != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Hashtag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Hashtag != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Hashtag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Hashtag != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Hashtag); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerNameEditResp other) { + if (other == null) { + return; + } + if (other.Hashtag != 0) { + Hashtag = other.Hashtag; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Hashtag = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Hashtag = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerPing.cs b/Novaria.Common/Protos/PlayerPing.cs new file mode 100644 index 0000000..cda3ae1 --- /dev/null +++ b/Novaria.Common/Protos/PlayerPing.cs @@ -0,0 +1,478 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_ping.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 Proto { + + /// Holder for reflection information generated from player_ping.proto + public static partial class PlayerPingReflection { + + #region Descriptor + /// File descriptor for player_ping.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerPingReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFwbGF5ZXJfcGluZy5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byIcCgRQ", + "aW5nEhQKC05leHRQYWNrYWdlGP8PIAEoDCIuCgRQb25nEhAKCFNlcnZlclRz", + "GAEgASgDEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Ping), global::Proto.Ping.Parser, new[]{ "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Pong), global::Proto.Pong.Parser, new[]{ "ServerTs", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Ping : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Ping()); + 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::Proto.PlayerPingReflection.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 Ping() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Ping(Ping other) : this() { + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Ping Clone() { + return new Ping(this); + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Ping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Ping other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) 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 (NextPackage.Length != 0) hash ^= NextPackage.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 (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Ping other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 16378: { + NextPackage = input.ReadBytes(); + 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 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Pong : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Pong()); + 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::Proto.PlayerPingReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Pong() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Pong(Pong other) : this() { + serverTs_ = other.serverTs_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Pong Clone() { + return new Pong(this); + } + + /// Field number for the "ServerTs" field. + public const int ServerTsFieldNumber = 1; + private long serverTs_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ServerTs { + get { return serverTs_; } + set { + serverTs_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Pong); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Pong other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServerTs != other.ServerTs) return false; + if (NextPackage != other.NextPackage) 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 (ServerTs != 0L) hash ^= ServerTs.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (ServerTs != 0L) { + output.WriteRawTag(8); + output.WriteInt64(ServerTs); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ServerTs != 0L) { + output.WriteRawTag(8); + output.WriteInt64(ServerTs); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ServerTs != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ServerTs); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Pong other) { + if (other == null) { + return; + } + if (other.ServerTs != 0L) { + ServerTs = other.ServerTs; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + ServerTs = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + ServerTs = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/EnumDesc.cs b/Novaria.Common/Protos/PlayerReg.cs similarity index 63% rename from Novaria.Common/Protos/EnumDesc.cs rename to Novaria.Common/Protos/PlayerReg.cs index 094812b..9ac3525 100644 --- a/Novaria.Common/Protos/EnumDesc.cs +++ b/Novaria.Common/Protos/PlayerReg.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: EnumDesc.proto +// source: player_reg.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from EnumDesc.proto - public static partial class EnumDescReflection { + /// Holder for reflection information generated from player_reg.proto + public static partial class PlayerRegReflection { #region Descriptor - /// File descriptor for EnumDesc.proto + /// File descriptor for player_reg.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static EnumDescReflection() { + static PlayerRegReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg5FbnVtRGVzYy5wcm90byI5CghFbnVtRGVzYxIRCgllbnVtX25hbWUYASAB", - "KAkSDQoFdmFsdWUYAiABKAUSCwoDa2V5GAMgASgJQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); + "ChBwbGF5ZXJfcmVnLnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIkMKCVBs", + "YXllclJlZxIQCghOaWNrbmFtZRgBIAEoCRIOCgZHZW5kZXIYAiABKAgSFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EnumDesc), global::Nova.Client.EnumDesc.Parser, new[]{ "EnumName", "Value", "Key" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerReg), global::Proto.PlayerReg.Parser, new[]{ "Nickname", "Gender", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class EnumDesc : pb::IMessage + public sealed partial class PlayerReg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnumDesc()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerReg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.EnumDescReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerRegReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnumDesc() { + public PlayerReg() { OnConstruction(); } @@ -71,73 +71,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnumDesc(EnumDesc other) : this() { - enumName_ = other.enumName_; - value_ = other.value_; - key_ = other.key_; + public PlayerReg(PlayerReg other) : this() { + nickname_ = other.nickname_; + gender_ = other.gender_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public EnumDesc Clone() { - return new EnumDesc(this); + public PlayerReg Clone() { + return new PlayerReg(this); } - /// Field number for the "enum_name" field. - public const int EnumNameFieldNumber = 1; - private string enumName_ = ""; + /// Field number for the "Nickname" field. + public const int NicknameFieldNumber = 1; + private string nickname_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EnumName { - get { return enumName_; } + public string Nickname { + get { return nickname_; } set { - enumName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private int value_; + /// Field number for the "Gender" field. + public const int GenderFieldNumber = 2; + private bool gender_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Value { - get { return value_; } + public bool Gender { + get { return gender_; } set { - value_ = value; + gender_ = value; } } - /// Field number for the "key" field. - public const int KeyFieldNumber = 3; - private string key_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Key { - get { return key_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 EnumDesc); + return Equals(other as PlayerReg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(EnumDesc other) { + public bool Equals(PlayerReg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (EnumName != other.EnumName) return false; - if (Value != other.Value) return false; - if (Key != other.Key) return false; + if (Nickname != other.Nickname) return false; + if (Gender != other.Gender) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (EnumName.Length != 0) hash ^= EnumName.GetHashCode(); - if (Value != 0) hash ^= Value.GetHashCode(); - if (Key.Length != 0) hash ^= Key.GetHashCode(); + if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); + if (Gender != false) hash ^= Gender.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (EnumName.Length != 0) { + if (Nickname.Length != 0) { output.WriteRawTag(10); - output.WriteString(EnumName); + output.WriteString(Nickname); } - if (Value != 0) { + if (Gender != false) { output.WriteRawTag(16); - output.WriteInt32(Value); + output.WriteBool(Gender); } - if (Key.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Key); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (EnumName.Length != 0) { + if (Nickname.Length != 0) { output.WriteRawTag(10); - output.WriteString(EnumName); + output.WriteString(Nickname); } - if (Value != 0) { + if (Gender != false) { output.WriteRawTag(16); - output.WriteInt32(Value); + output.WriteBool(Gender); } - if (Key.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Key); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (EnumName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EnumName); + if (Nickname.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); } - if (Value != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); + if (Gender != false) { + size += 1 + 1; } - if (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(EnumDesc other) { + public void MergeFrom(PlayerReg other) { if (other == null) { return; } - if (other.EnumName.Length != 0) { - EnumName = other.EnumName; + if (other.Nickname.Length != 0) { + Nickname = other.Nickname; } - if (other.Value != 0) { - Value = other.Value; + if (other.Gender != false) { + Gender = other.Gender; } - if (other.Key.Length != 0) { - Key = other.Key; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - EnumName = input.ReadString(); + Nickname = input.ReadString(); break; } case 16: { - Value = input.ReadInt32(); + Gender = input.ReadBool(); break; } - case 26: { - Key = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - EnumName = input.ReadString(); + Nickname = input.ReadString(); break; } case 16: { - Value = input.ReadInt32(); + Gender = input.ReadBool(); break; } - case 26: { - Key = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/Config.cs b/Novaria.Common/Protos/PlayerSignatureEdit.cs similarity index 64% rename from Novaria.Common/Protos/Config.cs rename to Novaria.Common/Protos/PlayerSignatureEdit.cs index c2249d0..089da07 100644 --- a/Novaria.Common/Protos/Config.cs +++ b/Novaria.Common/Protos/PlayerSignatureEdit.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Config.proto +// source: player_signature_edit.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,27 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from Config.proto - public static partial class ConfigReflection { + /// Holder for reflection information generated from player_signature_edit.proto + public static partial class PlayerSignatureEditReflection { #region Descriptor - /// File descriptor for Config.proto + /// File descriptor for player_signature_edit.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static ConfigReflection() { + static PlayerSignatureEditReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CgxDb25maWcucHJvdG8iIwoGQ29uZmlnEgoKAmlkGAEgASgJEg0KBXZhbHVl", - "GAIgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "ChtwbGF5ZXJfc2lnbmF0dXJlX2VkaXQucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iQQoWUGxheWVyU2lnbmF0dXJlRWRpdFJlcRIRCglTaWduYXR1cmUY", + "ASABKAkSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Config), global::Nova.Client.Config.Parser, new[]{ "Id", "Value" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerSignatureEditReq), global::Proto.PlayerSignatureEditReq.Parser, new[]{ "Signature", "NextPackage" }, null, null, null, null) })); } #endregion @@ -37,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Config : pb::IMessage + public sealed partial class PlayerSignatureEditReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Config()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSignatureEditReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.ConfigReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerSignatureEditReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -62,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Config() { + public PlayerSignatureEditReq() { OnConstruction(); } @@ -70,59 +71,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Config(Config other) : this() { - id_ = other.id_; - value_ = other.value_; + public PlayerSignatureEditReq(PlayerSignatureEditReq other) : this() { + signature_ = other.signature_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Config Clone() { - return new Config(this); + public PlayerSignatureEditReq Clone() { + return new PlayerSignatureEditReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private string id_ = ""; + /// Field number for the "Signature" field. + public const int SignatureFieldNumber = 1; + private string signature_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } + public string Signature { + get { return signature_; } set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "value" field. - public const int ValueFieldNumber = 2; - private string value_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Value { - get { return value_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 Config); + return Equals(other as PlayerSignatureEditReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Config other) { + public bool Equals(PlayerSignatureEditReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Value != other.Value) return false; + if (Signature != other.Signature) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -130,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id.Length != 0) hash ^= Id.GetHashCode(); - if (Value.Length != 0) hash ^= Value.GetHashCode(); + if (Signature.Length != 0) hash ^= Signature.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -150,13 +151,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id.Length != 0) { + if (Signature.Length != 0) { output.WriteRawTag(10); - output.WriteString(Id); + output.WriteString(Signature); } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Value); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -168,13 +169,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id.Length != 0) { + if (Signature.Length != 0) { output.WriteRawTag(10); - output.WriteString(Id); + output.WriteString(Signature); } - if (Value.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Value); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -186,11 +187,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + if (Signature.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); } - if (Value.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -200,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Config other) { + public void MergeFrom(PlayerSignatureEditReq other) { if (other == null) { return; } - if (other.Id.Length != 0) { - Id = other.Id; + if (other.Signature.Length != 0) { + Signature = other.Signature; } - if (other.Value.Length != 0) { - Value = other.Value; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -230,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Id = input.ReadString(); + Signature = input.ReadString(); break; } - case 18: { - Value = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -257,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - Id = input.ReadString(); + Signature = input.ReadString(); break; } - case 18: { - Value = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/VampireTalentDesc.cs b/Novaria.Common/Protos/PlayerSkinShow.cs similarity index 67% rename from Novaria.Common/Protos/VampireTalentDesc.cs rename to Novaria.Common/Protos/PlayerSkinShow.cs index c3d59dd..d64e75e 100644 --- a/Novaria.Common/Protos/VampireTalentDesc.cs +++ b/Novaria.Common/Protos/PlayerSkinShow.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireTalentDesc.proto +// source: player_skin_show.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from VampireTalentDesc.proto - public static partial class VampireTalentDescReflection { + /// Holder for reflection information generated from player_skin_show.proto + public static partial class PlayerSkinShowReflection { #region Descriptor - /// File descriptor for VampireTalentDesc.proto + /// File descriptor for player_skin_show.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static VampireTalentDescReflection() { + static PlayerSkinShowReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChdWYW1waXJlVGFsZW50RGVzYy5wcm90byIsChFWYW1waXJlVGFsZW50RGVz", - "YxIKCgJpZBgBIAEoBRILCgNudW0YAiABKAlCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); + "ChZwbGF5ZXJfc2tpbl9zaG93LnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "IjkKEVBsYXllclNraW5TaG93UmVxEg4KBlNraW5JZBgBIAEoDRIUCgtOZXh0", + "UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalentDesc), global::Nova.Client.VampireTalentDesc.Parser, new[]{ "Id", "Num" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerSkinShowReq), global::Proto.PlayerSkinShowReq.Parser, new[]{ "SkinId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireTalentDesc : pb::IMessage + public sealed partial class PlayerSkinShowReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new VampireTalentDesc()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSkinShowReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.VampireTalentDescReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PlayerSkinShowReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalentDesc() { + public PlayerSkinShowReq() { OnConstruction(); } @@ -71,59 +71,59 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalentDesc(VampireTalentDesc other) : this() { - id_ = other.id_; - num_ = other.num_; + public PlayerSkinShowReq(PlayerSkinShowReq other) : this() { + skinId_ = other.skinId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalentDesc Clone() { - return new VampireTalentDesc(this); + public PlayerSkinShowReq Clone() { + return new PlayerSkinShowReq(this); } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private int id_; + /// Field number for the "SkinId" field. + public const int SkinIdFieldNumber = 1; + private uint skinId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint SkinId { + get { return skinId_; } set { - id_ = value; + skinId_ = value; } } - /// Field number for the "num" field. - public const int NumFieldNumber = 2; - private string num_ = ""; + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Num { - get { return num_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - num_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 VampireTalentDesc); + return Equals(other as PlayerSkinShowReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireTalentDesc other) { + public bool Equals(PlayerSkinShowReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Num != other.Num) return false; + if (SkinId != other.SkinId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Num.Length != 0) hash ^= Num.GetHashCode(); + if (SkinId != 0) hash ^= SkinId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -151,13 +151,13 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (SkinId != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(SkinId); } - if (Num.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Num); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -169,13 +169,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (SkinId != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(SkinId); } - if (Num.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Num); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,11 +187,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (SkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkinId); } - if (Num.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Num); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +201,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireTalentDesc other) { + public void MergeFrom(PlayerSkinShowReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.SkinId != 0) { + SkinId = other.SkinId; } - if (other.Num.Length != 0) { - Num = other.Num; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -231,11 +231,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + SkinId = input.ReadUInt32(); break; } - case 18: { - Num = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -258,11 +258,11 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + SkinId = input.ReadUInt32(); break; } - case 18: { - Num = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/PlayerSurvey.cs b/Novaria.Common/Protos/PlayerSurvey.cs new file mode 100644 index 0000000..13b43b5 --- /dev/null +++ b/Novaria.Common/Protos/PlayerSurvey.cs @@ -0,0 +1,554 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_survey.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 Proto { + + /// Holder for reflection information generated from player_survey.proto + public static partial class PlayerSurveyReflection { + + #region Descriptor + /// File descriptor for player_survey.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerSurveyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChNwbGF5ZXJfc3VydmV5LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIjkK", + "D1BsYXllclN1cnZleVJlcRIQCghTdXJ2ZXlJZBgBIAEoAxIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwiTwoQUGxheWVyU3VydmV5UmVzcBISCgpBY3Rpdml0eUlE", + "GAEgASgJEhEKCU5vdGlmeVVybBgCIAEoCRIUCgtOZXh0UGFja2FnZRj/DyAB", + "KAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerSurveyReq), global::Proto.PlayerSurveyReq.Parser, new[]{ "SurveyId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerSurveyResp), global::Proto.PlayerSurveyResp.Parser, new[]{ "ActivityID", "NotifyUrl", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerSurveyReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSurveyReq()); + 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::Proto.PlayerSurveyReflection.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 PlayerSurveyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSurveyReq(PlayerSurveyReq other) : this() { + surveyId_ = other.surveyId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSurveyReq Clone() { + return new PlayerSurveyReq(this); + } + + /// Field number for the "SurveyId" field. + public const int SurveyIdFieldNumber = 1; + private long surveyId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long SurveyId { + get { return surveyId_; } + set { + surveyId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerSurveyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerSurveyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SurveyId != other.SurveyId) return false; + if (NextPackage != other.NextPackage) 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 (SurveyId != 0L) hash ^= SurveyId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (SurveyId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(SurveyId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (SurveyId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(SurveyId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (SurveyId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(SurveyId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerSurveyReq other) { + if (other == null) { + return; + } + if (other.SurveyId != 0L) { + SurveyId = other.SurveyId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + SurveyId = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + SurveyId = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerSurveyResp : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSurveyResp()); + 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::Proto.PlayerSurveyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSurveyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSurveyResp(PlayerSurveyResp other) : this() { + activityID_ = other.activityID_; + notifyUrl_ = other.notifyUrl_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerSurveyResp Clone() { + return new PlayerSurveyResp(this); + } + + /// Field number for the "ActivityID" field. + public const int ActivityIDFieldNumber = 1; + private string activityID_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActivityID { + get { return activityID_; } + set { + activityID_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NotifyUrl" field. + public const int NotifyUrlFieldNumber = 2; + private string notifyUrl_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NotifyUrl { + get { return notifyUrl_; } + set { + notifyUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerSurveyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerSurveyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ActivityID != other.ActivityID) return false; + if (NotifyUrl != other.NotifyUrl) return false; + if (NextPackage != other.NextPackage) 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 (ActivityID.Length != 0) hash ^= ActivityID.GetHashCode(); + if (NotifyUrl.Length != 0) hash ^= NotifyUrl.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (ActivityID.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ActivityID); + } + if (NotifyUrl.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NotifyUrl); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityID.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ActivityID); + } + if (NotifyUrl.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NotifyUrl); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityID.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActivityID); + } + if (NotifyUrl.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NotifyUrl); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerSurveyResp other) { + if (other == null) { + return; + } + if (other.ActivityID.Length != 0) { + ActivityID = other.ActivityID; + } + if (other.NotifyUrl.Length != 0) { + NotifyUrl = other.NotifyUrl; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + ActivityID = input.ReadString(); + break; + } + case 18: { + NotifyUrl = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + ActivityID = input.ReadString(); + break; + } + case 18: { + NotifyUrl = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerTitleEdit.cs b/Novaria.Common/Protos/PlayerTitleEdit.cs new file mode 100644 index 0000000..2854452 --- /dev/null +++ b/Novaria.Common/Protos/PlayerTitleEdit.cs @@ -0,0 +1,317 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_title_edit.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 Proto { + + /// Holder for reflection information generated from player_title_edit.proto + public static partial class PlayerTitleEditReflection { + + #region Descriptor + /// File descriptor for player_title_edit.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerTitleEditReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdwbGF5ZXJfdGl0bGVfZWRpdC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byJUChJQbGF5ZXJUaXRsZUVkaXRSZXESEwoLVGl0bGVQcmVmaXgYASABKA0S", + "EwoLVGl0bGVTdWZmaXgYAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABi", + "BnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PlayerTitleEditReq), global::Proto.PlayerTitleEditReq.Parser, new[]{ "TitlePrefix", "TitleSuffix", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerTitleEditReq : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerTitleEditReq()); + 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::Proto.PlayerTitleEditReflection.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 PlayerTitleEditReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerTitleEditReq(PlayerTitleEditReq other) : this() { + titlePrefix_ = other.titlePrefix_; + titleSuffix_ = other.titleSuffix_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerTitleEditReq Clone() { + return new PlayerTitleEditReq(this); + } + + /// Field number for the "TitlePrefix" field. + public const int TitlePrefixFieldNumber = 1; + private uint titlePrefix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitlePrefix { + get { return titlePrefix_; } + set { + titlePrefix_ = value; + } + } + + /// Field number for the "TitleSuffix" field. + public const int TitleSuffixFieldNumber = 2; + private uint titleSuffix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleSuffix { + get { return titleSuffix_; } + set { + titleSuffix_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PlayerTitleEditReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerTitleEditReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TitlePrefix != other.TitlePrefix) return false; + if (TitleSuffix != other.TitleSuffix) return false; + if (NextPackage != other.NextPackage) 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 (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); + if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (TitlePrefix != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TitleSuffix); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TitlePrefix != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TitleSuffix); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TitlePrefix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); + } + if (TitleSuffix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerTitleEditReq other) { + if (other == null) { + return; + } + if (other.TitlePrefix != 0) { + TitlePrefix = other.TitlePrefix; + } + if (other.TitleSuffix != 0) { + TitleSuffix = other.TitleSuffix; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 16: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 16: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlayerWorldClassRewardReceive.cs b/Novaria.Common/Protos/PlayerWorldClassRewardReceive.cs new file mode 100644 index 0000000..58dcfe0 --- /dev/null +++ b/Novaria.Common/Protos/PlayerWorldClassRewardReceive.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: player_world_class_reward_receive.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 Proto { + + /// Holder for reflection information generated from player_world_class_reward_receive.proto + public static partial class PlayerWorldClassRewardReceiveReflection { + + #region Descriptor + /// File descriptor for player_world_class_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlayerWorldClassRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CidwbGF5ZXJfd29ybGRfY2xhc3NfcmV3YXJkX3JlY2VpdmUucHJvdG8SBXBy", + "b3RvGgxwdWJsaWMucHJvdG9QAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/Plot.cs b/Novaria.Common/Protos/Plot.cs deleted file mode 100644 index d0ad622..0000000 --- a/Novaria.Common/Protos/Plot.cs +++ /dev/null @@ -1,606 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Plot.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 Plot.proto - public static partial class PlotReflection { - - #region Descriptor - /// File descriptor for Plot.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PlotReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpQbG90LnByb3RvItcBCgRQbG90EgoKAmlkGAEgASgFEgwKBGNoYXIYAiAB", - "KAUSDAoEbmFtZRgDIAEoCRIMCgRkZXNjGAQgASgJEg4KBmF2Z19pZBgFIAEo", - "CRIRCgltYWlubGluZXMYBiADKAUSHQoVdW5sb2NrX2FmZmluaXR5X2xldmVs", - "GAcgASgFEhcKD2Nvbm5lY3RfY2hhdF9pZBgIIAEoBRIZChFjaGFyX2FkdmFu", - "Y2VfY29uZBgJIAEoCRIPCgdyZXdhcmRzGAogASgJEhIKCnBpY19zb3VyY2UY", - "CyABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Plot), global::Nova.Client.Plot.Parser, new[]{ "Id", "Char", "Name", "Desc", "AvgId", "Mainlines", "UnlockAffinityLevel", "ConnectChatId", "CharAdvanceCond", "Rewards", "PicSource" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Plot : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Plot()); - 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.PlotReflection.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 Plot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Plot(Plot other) : this() { - id_ = other.id_; - char_ = other.char_; - name_ = other.name_; - desc_ = other.desc_; - avgId_ = other.avgId_; - mainlines_ = other.mainlines_.Clone(); - unlockAffinityLevel_ = other.unlockAffinityLevel_; - connectChatId_ = other.connectChatId_; - charAdvanceCond_ = other.charAdvanceCond_; - rewards_ = other.rewards_; - picSource_ = other.picSource_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Plot Clone() { - return new Plot(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 "char" field. - public const int CharFieldNumber = 2; - private int char_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Char { - get { return char_; } - set { - char_ = value; - } - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 3; - 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 = 4; - 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 "avg_id" field. - public const int AvgIdFieldNumber = 5; - private string avgId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AvgId { - get { return avgId_; } - set { - avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "mainlines" field. - public const int MainlinesFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_mainlines_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField mainlines_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Mainlines { - get { return mainlines_; } - } - - /// Field number for the "unlock_affinity_level" field. - public const int UnlockAffinityLevelFieldNumber = 7; - private int unlockAffinityLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockAffinityLevel { - get { return unlockAffinityLevel_; } - set { - unlockAffinityLevel_ = value; - } - } - - /// Field number for the "connect_chat_id" field. - public const int ConnectChatIdFieldNumber = 8; - private int connectChatId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ConnectChatId { - get { return connectChatId_; } - set { - connectChatId_ = value; - } - } - - /// Field number for the "char_advance_cond" field. - public const int CharAdvanceCondFieldNumber = 9; - private string charAdvanceCond_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CharAdvanceCond { - get { return charAdvanceCond_; } - set { - charAdvanceCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "rewards" field. - public const int RewardsFieldNumber = 10; - private string rewards_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Rewards { - get { return rewards_; } - set { - rewards_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "pic_source" field. - public const int PicSourceFieldNumber = 11; - private string picSource_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PicSource { - get { return picSource_; } - set { - picSource_ = 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 Plot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Plot other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Char != other.Char) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (AvgId != other.AvgId) return false; - if(!mainlines_.Equals(other.mainlines_)) return false; - if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false; - if (ConnectChatId != other.ConnectChatId) return false; - if (CharAdvanceCond != other.CharAdvanceCond) return false; - if (Rewards != other.Rewards) return false; - if (PicSource != other.PicSource) 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 (Char != 0) hash ^= Char.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); - hash ^= mainlines_.GetHashCode(); - if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode(); - if (ConnectChatId != 0) hash ^= ConnectChatId.GetHashCode(); - if (CharAdvanceCond.Length != 0) hash ^= CharAdvanceCond.GetHashCode(); - if (Rewards.Length != 0) hash ^= Rewards.GetHashCode(); - if (PicSource.Length != 0) hash ^= PicSource.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 (Char != 0) { - output.WriteRawTag(16); - output.WriteInt32(Char); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (AvgId.Length != 0) { - output.WriteRawTag(42); - output.WriteString(AvgId); - } - mainlines_.WriteTo(output, _repeated_mainlines_codec); - if (UnlockAffinityLevel != 0) { - output.WriteRawTag(56); - output.WriteInt32(UnlockAffinityLevel); - } - if (ConnectChatId != 0) { - output.WriteRawTag(64); - output.WriteInt32(ConnectChatId); - } - if (CharAdvanceCond.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CharAdvanceCond); - } - if (Rewards.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Rewards); - } - if (PicSource.Length != 0) { - output.WriteRawTag(90); - output.WriteString(PicSource); - } - 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 (Char != 0) { - output.WriteRawTag(16); - output.WriteInt32(Char); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (AvgId.Length != 0) { - output.WriteRawTag(42); - output.WriteString(AvgId); - } - mainlines_.WriteTo(ref output, _repeated_mainlines_codec); - if (UnlockAffinityLevel != 0) { - output.WriteRawTag(56); - output.WriteInt32(UnlockAffinityLevel); - } - if (ConnectChatId != 0) { - output.WriteRawTag(64); - output.WriteInt32(ConnectChatId); - } - if (CharAdvanceCond.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CharAdvanceCond); - } - if (Rewards.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Rewards); - } - if (PicSource.Length != 0) { - output.WriteRawTag(90); - output.WriteString(PicSource); - } - 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 (Char != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Char); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (AvgId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId); - } - size += mainlines_.CalculateSize(_repeated_mainlines_codec); - if (UnlockAffinityLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel); - } - if (ConnectChatId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConnectChatId); - } - if (CharAdvanceCond.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CharAdvanceCond); - } - if (Rewards.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Rewards); - } - if (PicSource.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PicSource); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Plot other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Char != 0) { - Char = other.Char; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.AvgId.Length != 0) { - AvgId = other.AvgId; - } - mainlines_.Add(other.mainlines_); - if (other.UnlockAffinityLevel != 0) { - UnlockAffinityLevel = other.UnlockAffinityLevel; - } - if (other.ConnectChatId != 0) { - ConnectChatId = other.ConnectChatId; - } - if (other.CharAdvanceCond.Length != 0) { - CharAdvanceCond = other.CharAdvanceCond; - } - if (other.Rewards.Length != 0) { - Rewards = other.Rewards; - } - if (other.PicSource.Length != 0) { - PicSource = other.PicSource; - } - _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: { - Char = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - AvgId = input.ReadString(); - break; - } - case 50: - case 48: { - mainlines_.AddEntriesFrom(input, _repeated_mainlines_codec); - break; - } - case 56: { - UnlockAffinityLevel = input.ReadInt32(); - break; - } - case 64: { - ConnectChatId = input.ReadInt32(); - break; - } - case 74: { - CharAdvanceCond = input.ReadString(); - break; - } - case 82: { - Rewards = input.ReadString(); - break; - } - case 90: { - PicSource = 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: { - Char = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 42: { - AvgId = input.ReadString(); - break; - } - case 50: - case 48: { - mainlines_.AddEntriesFrom(ref input, _repeated_mainlines_codec); - break; - } - case 56: { - UnlockAffinityLevel = input.ReadInt32(); - break; - } - case 64: { - ConnectChatId = input.ReadInt32(); - break; - } - case 74: { - CharAdvanceCond = input.ReadString(); - break; - } - case 82: { - Rewards = input.ReadString(); - break; - } - case 90: { - PicSource = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PlotRewardReceive.cs b/Novaria.Common/Protos/PlotRewardReceive.cs new file mode 100644 index 0000000..586d379 --- /dev/null +++ b/Novaria.Common/Protos/PlotRewardReceive.cs @@ -0,0 +1,38 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: plot_reward_receive.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 Proto { + + /// Holder for reflection information generated from plot_reward_receive.proto + public static partial class PlotRewardReceiveReflection { + + #region Descriptor + /// File descriptor for plot_reward_receive.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PlotRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlwbG90X3Jld2FyZF9yZWNlaXZlLnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/Potential.cs b/Novaria.Common/Protos/Potential.cs deleted file mode 100644 index bf6f178..0000000 --- a/Novaria.Common/Protos/Potential.cs +++ /dev/null @@ -1,1392 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Potential.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 Potential.proto - public static partial class PotentialReflection { - - #region Descriptor - /// File descriptor for Potential.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PotentialReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9Qb3RlbnRpYWwucHJvdG8i5QQKCVBvdGVudGlhbBIKCgJpZBgBIAEoBRIP", - "CgdjaGFyX2lkGAIgASgFEhMKC2JyYW5jaF90eXBlGAMgASgFEhEKCW1heF9s", - "ZXZlbBgEIAEoBRIWCg5zY29yZV9ncm91cF9pZBgFIAEoBRITCgtidWlsZF9z", - "Y29yZRgGIAMoBRIUCgxnYW1lX2Jvb2tfaWQYByABKAUSFwoPZWZmZWN0X2dy", - "b3VwX2lkGAggASgFEhQKDGlzX2VmZmVjdGl2ZRgJIAEoCBIWCg5wb3RlbnRp", - "YWxfdGFnMRgKIAEoCRIWCg5wb3RlbnRpYWxfdGFnMhgLIAEoCRIWCg5wb3Rl", - "bnRpYWxfdGFnMxgMIAEoCRIWCg5wb3RlbnRpYWxfdGFnNBgNIAEoCRIOCgZj", - "b3JuZXIYDiABKAUSDQoFc3BfYmcYDyABKAkSDwoHc3BfZmFjZRgQIAEoCRIS", - "CgplZmZlY3RfaWQxGBEgASgFEhIKCmVmZmVjdF9pZDIYEiABKAUSEgoKZWZm", - "ZWN0X2lkMxgTIAEoBRISCgplZmZlY3RfaWQ0GBQgASgFEhIKCmJyaWVmX2Rl", - "c2MYFSABKAkSDAoEZGVzYxgWIAEoCRIOCgZwYXJhbTEYFyABKAkSDgoGcGFy", - "YW0yGBggASgJEg4KBnBhcmFtMxgZIAEoCRIOCgZwYXJhbTQYGiABKAkSDgoG", - "cGFyYW01GBsgASgJEg4KBnBhcmFtNhgcIAEoCRIOCgZwYXJhbTcYHSABKAkS", - "DgoGcGFyYW04GB4gASgJEg4KBnBhcmFtORgfIAEoCRIPCgdwYXJhbTEwGCAg", - "ASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Potential), global::Nova.Client.Potential.Parser, new[]{ "Id", "CharId", "BranchType", "MaxLevel", "ScoreGroupId", "BuildScore", "GameBookId", "EffectGroupId", "IsEffective", "PotentialTag1", "PotentialTag2", "PotentialTag3", "PotentialTag4", "Corner", "SpBg", "SpFace", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "BriefDesc", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Potential : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Potential()); - 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.PotentialReflection.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 Potential() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Potential(Potential other) : this() { - id_ = other.id_; - charId_ = other.charId_; - branchType_ = other.branchType_; - maxLevel_ = other.maxLevel_; - scoreGroupId_ = other.scoreGroupId_; - buildScore_ = other.buildScore_.Clone(); - gameBookId_ = other.gameBookId_; - effectGroupId_ = other.effectGroupId_; - isEffective_ = other.isEffective_; - potentialTag1_ = other.potentialTag1_; - potentialTag2_ = other.potentialTag2_; - potentialTag3_ = other.potentialTag3_; - potentialTag4_ = other.potentialTag4_; - corner_ = other.corner_; - spBg_ = other.spBg_; - spFace_ = other.spFace_; - effectId1_ = other.effectId1_; - effectId2_ = other.effectId2_; - effectId3_ = other.effectId3_; - effectId4_ = other.effectId4_; - briefDesc_ = other.briefDesc_; - desc_ = other.desc_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - param5_ = other.param5_; - param6_ = other.param6_; - param7_ = other.param7_; - param8_ = other.param8_; - param9_ = other.param9_; - param10_ = other.param10_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Potential Clone() { - return new Potential(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 "char_id" field. - public const int CharIdFieldNumber = 2; - private int charId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } - } - - /// Field number for the "branch_type" field. - public const int BranchTypeFieldNumber = 3; - private int branchType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BranchType { - get { return branchType_; } - set { - branchType_ = value; - } - } - - /// Field number for the "max_level" field. - public const int MaxLevelFieldNumber = 4; - private int maxLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxLevel { - get { return maxLevel_; } - set { - maxLevel_ = value; - } - } - - /// Field number for the "score_group_id" field. - public const int ScoreGroupIdFieldNumber = 5; - private int scoreGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ScoreGroupId { - get { return scoreGroupId_; } - set { - scoreGroupId_ = value; - } - } - - /// Field number for the "build_score" field. - public const int BuildScoreFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_buildScore_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField buildScore_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BuildScore { - get { return buildScore_; } - } - - /// Field number for the "game_book_id" field. - public const int GameBookIdFieldNumber = 7; - private int gameBookId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GameBookId { - get { return gameBookId_; } - set { - gameBookId_ = value; - } - } - - /// Field number for the "effect_group_id" field. - public const int EffectGroupIdFieldNumber = 8; - private int effectGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectGroupId { - get { return effectGroupId_; } - set { - effectGroupId_ = value; - } - } - - /// Field number for the "is_effective" field. - public const int IsEffectiveFieldNumber = 9; - private bool isEffective_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsEffective { - get { return isEffective_; } - set { - isEffective_ = value; - } - } - - /// Field number for the "potential_tag1" field. - public const int PotentialTag1FieldNumber = 10; - private string potentialTag1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PotentialTag1 { - get { return potentialTag1_; } - set { - potentialTag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "potential_tag2" field. - public const int PotentialTag2FieldNumber = 11; - private string potentialTag2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PotentialTag2 { - get { return potentialTag2_; } - set { - potentialTag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "potential_tag3" field. - public const int PotentialTag3FieldNumber = 12; - private string potentialTag3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PotentialTag3 { - get { return potentialTag3_; } - set { - potentialTag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "potential_tag4" field. - public const int PotentialTag4FieldNumber = 13; - private string potentialTag4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PotentialTag4 { - get { return potentialTag4_; } - set { - potentialTag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "corner" field. - public const int CornerFieldNumber = 14; - private int corner_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Corner { - get { return corner_; } - set { - corner_ = value; - } - } - - /// Field number for the "sp_bg" field. - public const int SpBgFieldNumber = 15; - private string spBg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SpBg { - get { return spBg_; } - set { - spBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sp_face" field. - public const int SpFaceFieldNumber = 16; - private string spFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SpFace { - get { return spFace_; } - set { - spFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "effect_id1" field. - public const int EffectId1FieldNumber = 17; - private int effectId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId1 { - get { return effectId1_; } - set { - effectId1_ = value; - } - } - - /// Field number for the "effect_id2" field. - public const int EffectId2FieldNumber = 18; - private int effectId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId2 { - get { return effectId2_; } - set { - effectId2_ = value; - } - } - - /// Field number for the "effect_id3" field. - public const int EffectId3FieldNumber = 19; - private int effectId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId3 { - get { return effectId3_; } - set { - effectId3_ = value; - } - } - - /// Field number for the "effect_id4" field. - public const int EffectId4FieldNumber = 20; - private int effectId4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId4 { - get { return effectId4_; } - set { - effectId4_ = value; - } - } - - /// Field number for the "brief_desc" field. - public const int BriefDescFieldNumber = 21; - private string briefDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BriefDesc { - get { return briefDesc_; } - set { - briefDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 22; - 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 "param1" field. - public const int Param1FieldNumber = 23; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param2" field. - public const int Param2FieldNumber = 24; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param3" field. - public const int Param3FieldNumber = 25; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param4" field. - public const int Param4FieldNumber = 26; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param5" field. - public const int Param5FieldNumber = 27; - private string param5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param5 { - get { return param5_; } - set { - param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param6" field. - public const int Param6FieldNumber = 28; - private string param6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param6 { - get { return param6_; } - set { - param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param7" field. - public const int Param7FieldNumber = 29; - private string param7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param7 { - get { return param7_; } - set { - param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param8" field. - public const int Param8FieldNumber = 30; - private string param8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param8 { - get { return param8_; } - set { - param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param9" field. - public const int Param9FieldNumber = 31; - private string param9_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param9 { - get { return param9_; } - set { - param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param10" field. - public const int Param10FieldNumber = 32; - private string param10_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param10 { - get { return param10_; } - set { - param10_ = 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 Potential); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Potential other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharId != other.CharId) return false; - if (BranchType != other.BranchType) return false; - if (MaxLevel != other.MaxLevel) return false; - if (ScoreGroupId != other.ScoreGroupId) return false; - if(!buildScore_.Equals(other.buildScore_)) return false; - if (GameBookId != other.GameBookId) return false; - if (EffectGroupId != other.EffectGroupId) return false; - if (IsEffective != other.IsEffective) return false; - if (PotentialTag1 != other.PotentialTag1) return false; - if (PotentialTag2 != other.PotentialTag2) return false; - if (PotentialTag3 != other.PotentialTag3) return false; - if (PotentialTag4 != other.PotentialTag4) return false; - if (Corner != other.Corner) return false; - if (SpBg != other.SpBg) return false; - if (SpFace != other.SpFace) return false; - if (EffectId1 != other.EffectId1) return false; - if (EffectId2 != other.EffectId2) return false; - if (EffectId3 != other.EffectId3) return false; - if (EffectId4 != other.EffectId4) return false; - if (BriefDesc != other.BriefDesc) return false; - if (Desc != other.Desc) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) return false; - if (Param5 != other.Param5) return false; - if (Param6 != other.Param6) return false; - if (Param7 != other.Param7) return false; - if (Param8 != other.Param8) return false; - if (Param9 != other.Param9) return false; - if (Param10 != other.Param10) 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 (CharId != 0) hash ^= CharId.GetHashCode(); - if (BranchType != 0) hash ^= BranchType.GetHashCode(); - if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); - if (ScoreGroupId != 0) hash ^= ScoreGroupId.GetHashCode(); - hash ^= buildScore_.GetHashCode(); - if (GameBookId != 0) hash ^= GameBookId.GetHashCode(); - if (EffectGroupId != 0) hash ^= EffectGroupId.GetHashCode(); - if (IsEffective != false) hash ^= IsEffective.GetHashCode(); - if (PotentialTag1.Length != 0) hash ^= PotentialTag1.GetHashCode(); - if (PotentialTag2.Length != 0) hash ^= PotentialTag2.GetHashCode(); - if (PotentialTag3.Length != 0) hash ^= PotentialTag3.GetHashCode(); - if (PotentialTag4.Length != 0) hash ^= PotentialTag4.GetHashCode(); - if (Corner != 0) hash ^= Corner.GetHashCode(); - if (SpBg.Length != 0) hash ^= SpBg.GetHashCode(); - if (SpFace.Length != 0) hash ^= SpFace.GetHashCode(); - if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); - if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); - if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); - if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); - if (BriefDesc.Length != 0) hash ^= BriefDesc.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.GetHashCode(); - if (Param5.Length != 0) hash ^= Param5.GetHashCode(); - if (Param6.Length != 0) hash ^= Param6.GetHashCode(); - if (Param7.Length != 0) hash ^= Param7.GetHashCode(); - if (Param8.Length != 0) hash ^= Param8.GetHashCode(); - if (Param9.Length != 0) hash ^= Param9.GetHashCode(); - if (Param10.Length != 0) hash ^= Param10.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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (BranchType != 0) { - output.WriteRawTag(24); - output.WriteInt32(BranchType); - } - if (MaxLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxLevel); - } - if (ScoreGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ScoreGroupId); - } - buildScore_.WriteTo(output, _repeated_buildScore_codec); - if (GameBookId != 0) { - output.WriteRawTag(56); - output.WriteInt32(GameBookId); - } - if (EffectGroupId != 0) { - output.WriteRawTag(64); - output.WriteInt32(EffectGroupId); - } - if (IsEffective != false) { - output.WriteRawTag(72); - output.WriteBool(IsEffective); - } - if (PotentialTag1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(PotentialTag1); - } - if (PotentialTag2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(PotentialTag2); - } - if (PotentialTag3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(PotentialTag3); - } - if (PotentialTag4.Length != 0) { - output.WriteRawTag(106); - output.WriteString(PotentialTag4); - } - if (Corner != 0) { - output.WriteRawTag(112); - output.WriteInt32(Corner); - } - if (SpBg.Length != 0) { - output.WriteRawTag(122); - output.WriteString(SpBg); - } - if (SpFace.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(SpFace); - } - if (EffectId1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(EffectId1); - } - if (EffectId2 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(EffectId2); - } - if (EffectId3 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(EffectId3); - } - if (EffectId4 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(EffectId4); - } - if (BriefDesc.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(BriefDesc); - } - if (Desc.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Desc); - } - if (Param1.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(250, 1); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(130, 2); - output.WriteString(Param10); - } - 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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (BranchType != 0) { - output.WriteRawTag(24); - output.WriteInt32(BranchType); - } - if (MaxLevel != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxLevel); - } - if (ScoreGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(ScoreGroupId); - } - buildScore_.WriteTo(ref output, _repeated_buildScore_codec); - if (GameBookId != 0) { - output.WriteRawTag(56); - output.WriteInt32(GameBookId); - } - if (EffectGroupId != 0) { - output.WriteRawTag(64); - output.WriteInt32(EffectGroupId); - } - if (IsEffective != false) { - output.WriteRawTag(72); - output.WriteBool(IsEffective); - } - if (PotentialTag1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(PotentialTag1); - } - if (PotentialTag2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(PotentialTag2); - } - if (PotentialTag3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(PotentialTag3); - } - if (PotentialTag4.Length != 0) { - output.WriteRawTag(106); - output.WriteString(PotentialTag4); - } - if (Corner != 0) { - output.WriteRawTag(112); - output.WriteInt32(Corner); - } - if (SpBg.Length != 0) { - output.WriteRawTag(122); - output.WriteString(SpBg); - } - if (SpFace.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(SpFace); - } - if (EffectId1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(EffectId1); - } - if (EffectId2 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(EffectId2); - } - if (EffectId3 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(EffectId3); - } - if (EffectId4 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(EffectId4); - } - if (BriefDesc.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(BriefDesc); - } - if (Desc.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Desc); - } - if (Param1.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(218, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(250, 1); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(130, 2); - output.WriteString(Param10); - } - 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 (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (BranchType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BranchType); - } - if (MaxLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); - } - if (ScoreGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreGroupId); - } - size += buildScore_.CalculateSize(_repeated_buildScore_codec); - if (GameBookId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameBookId); - } - if (EffectGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectGroupId); - } - if (IsEffective != false) { - size += 1 + 1; - } - if (PotentialTag1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag1); - } - if (PotentialTag2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag2); - } - if (PotentialTag3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag3); - } - if (PotentialTag4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag4); - } - if (Corner != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Corner); - } - if (SpBg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SpBg); - } - if (SpFace.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(SpFace); - } - if (EffectId1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); - } - if (EffectId2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); - } - if (EffectId3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); - } - if (EffectId4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); - } - if (BriefDesc.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BriefDesc); - } - if (Desc.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Param1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (Param5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); - } - if (Param6.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); - } - if (Param7.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); - } - if (Param8.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); - } - if (Param9.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); - } - if (Param10.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Potential other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.BranchType != 0) { - BranchType = other.BranchType; - } - if (other.MaxLevel != 0) { - MaxLevel = other.MaxLevel; - } - if (other.ScoreGroupId != 0) { - ScoreGroupId = other.ScoreGroupId; - } - buildScore_.Add(other.buildScore_); - if (other.GameBookId != 0) { - GameBookId = other.GameBookId; - } - if (other.EffectGroupId != 0) { - EffectGroupId = other.EffectGroupId; - } - if (other.IsEffective != false) { - IsEffective = other.IsEffective; - } - if (other.PotentialTag1.Length != 0) { - PotentialTag1 = other.PotentialTag1; - } - if (other.PotentialTag2.Length != 0) { - PotentialTag2 = other.PotentialTag2; - } - if (other.PotentialTag3.Length != 0) { - PotentialTag3 = other.PotentialTag3; - } - if (other.PotentialTag4.Length != 0) { - PotentialTag4 = other.PotentialTag4; - } - if (other.Corner != 0) { - Corner = other.Corner; - } - if (other.SpBg.Length != 0) { - SpBg = other.SpBg; - } - if (other.SpFace.Length != 0) { - SpFace = other.SpFace; - } - if (other.EffectId1 != 0) { - EffectId1 = other.EffectId1; - } - if (other.EffectId2 != 0) { - EffectId2 = other.EffectId2; - } - if (other.EffectId3 != 0) { - EffectId3 = other.EffectId3; - } - if (other.EffectId4 != 0) { - EffectId4 = other.EffectId4; - } - if (other.BriefDesc.Length != 0) { - BriefDesc = other.BriefDesc; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - if (other.Param5.Length != 0) { - Param5 = other.Param5; - } - if (other.Param6.Length != 0) { - Param6 = other.Param6; - } - if (other.Param7.Length != 0) { - Param7 = other.Param7; - } - if (other.Param8.Length != 0) { - Param8 = other.Param8; - } - if (other.Param9.Length != 0) { - Param9 = other.Param9; - } - if (other.Param10.Length != 0) { - Param10 = other.Param10; - } - _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: { - CharId = input.ReadInt32(); - break; - } - case 24: { - BranchType = input.ReadInt32(); - break; - } - case 32: { - MaxLevel = input.ReadInt32(); - break; - } - case 40: { - ScoreGroupId = input.ReadInt32(); - break; - } - case 50: - case 48: { - buildScore_.AddEntriesFrom(input, _repeated_buildScore_codec); - break; - } - case 56: { - GameBookId = input.ReadInt32(); - break; - } - case 64: { - EffectGroupId = input.ReadInt32(); - break; - } - case 72: { - IsEffective = input.ReadBool(); - break; - } - case 82: { - PotentialTag1 = input.ReadString(); - break; - } - case 90: { - PotentialTag2 = input.ReadString(); - break; - } - case 98: { - PotentialTag3 = input.ReadString(); - break; - } - case 106: { - PotentialTag4 = input.ReadString(); - break; - } - case 112: { - Corner = input.ReadInt32(); - break; - } - case 122: { - SpBg = input.ReadString(); - break; - } - case 130: { - SpFace = input.ReadString(); - break; - } - case 136: { - EffectId1 = input.ReadInt32(); - break; - } - case 144: { - EffectId2 = input.ReadInt32(); - break; - } - case 152: { - EffectId3 = input.ReadInt32(); - break; - } - case 160: { - EffectId4 = input.ReadInt32(); - break; - } - case 170: { - BriefDesc = input.ReadString(); - break; - } - case 178: { - Desc = input.ReadString(); - break; - } - case 186: { - Param1 = input.ReadString(); - break; - } - case 194: { - Param2 = input.ReadString(); - break; - } - case 202: { - Param3 = input.ReadString(); - break; - } - case 210: { - Param4 = input.ReadString(); - break; - } - case 218: { - Param5 = input.ReadString(); - break; - } - case 226: { - Param6 = input.ReadString(); - break; - } - case 234: { - Param7 = input.ReadString(); - break; - } - case 242: { - Param8 = input.ReadString(); - break; - } - case 250: { - Param9 = input.ReadString(); - break; - } - case 258: { - Param10 = 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: { - CharId = input.ReadInt32(); - break; - } - case 24: { - BranchType = input.ReadInt32(); - break; - } - case 32: { - MaxLevel = input.ReadInt32(); - break; - } - case 40: { - ScoreGroupId = input.ReadInt32(); - break; - } - case 50: - case 48: { - buildScore_.AddEntriesFrom(ref input, _repeated_buildScore_codec); - break; - } - case 56: { - GameBookId = input.ReadInt32(); - break; - } - case 64: { - EffectGroupId = input.ReadInt32(); - break; - } - case 72: { - IsEffective = input.ReadBool(); - break; - } - case 82: { - PotentialTag1 = input.ReadString(); - break; - } - case 90: { - PotentialTag2 = input.ReadString(); - break; - } - case 98: { - PotentialTag3 = input.ReadString(); - break; - } - case 106: { - PotentialTag4 = input.ReadString(); - break; - } - case 112: { - Corner = input.ReadInt32(); - break; - } - case 122: { - SpBg = input.ReadString(); - break; - } - case 130: { - SpFace = input.ReadString(); - break; - } - case 136: { - EffectId1 = input.ReadInt32(); - break; - } - case 144: { - EffectId2 = input.ReadInt32(); - break; - } - case 152: { - EffectId3 = input.ReadInt32(); - break; - } - case 160: { - EffectId4 = input.ReadInt32(); - break; - } - case 170: { - BriefDesc = input.ReadString(); - break; - } - case 178: { - Desc = input.ReadString(); - break; - } - case 186: { - Param1 = input.ReadString(); - break; - } - case 194: { - Param2 = input.ReadString(); - break; - } - case 202: { - Param3 = input.ReadString(); - break; - } - case 210: { - Param4 = input.ReadString(); - break; - } - case 218: { - Param5 = input.ReadString(); - break; - } - case 226: { - Param6 = input.ReadString(); - break; - } - case 234: { - Param7 = input.ReadString(); - break; - } - case 242: { - Param8 = input.ReadString(); - break; - } - case 250: { - Param9 = input.ReadString(); - break; - } - case 258: { - Param10 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PotentialPassiveSkill.cs b/Novaria.Common/Protos/PotentialPassiveSkill.cs deleted file mode 100644 index e2a3104..0000000 --- a/Novaria.Common/Protos/PotentialPassiveSkill.cs +++ /dev/null @@ -1,690 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PotentialPassiveSkill.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 PotentialPassiveSkill.proto - public static partial class PotentialPassiveSkillReflection { - - #region Descriptor - /// File descriptor for PotentialPassiveSkill.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PotentialPassiveSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtQb3RlbnRpYWxQYXNzaXZlU2tpbGwucHJvdG8i/QEKFVBvdGVudGlhbFBh", - "c3NpdmVTa2lsbBIKCgJpZBgBIAEoBRIRCglzaGFyZV9jX2QYAiABKAgSEwoL", - "c2hhcmVfdGltZXMYAyABKAgSEgoKZWZmZWN0X2lkMRgEIAEoBRISCgplZmZl", - "Y3RfaWQyGAUgASgFEhIKCmVmZmVjdF9pZDMYBiABKAUSEgoKZWZmZWN0X2lk", - "NBgHIAEoBRISCgpicmllZl9kZXNjGAggASgJEgwKBGRlc2MYCSABKAkSDgoG", - "cGFyYW0xGAogASgJEg4KBnBhcmFtMhgLIAEoCRIOCgZwYXJhbTMYDCABKAkS", - "DgoGcGFyYW00GA0gASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PotentialPassiveSkill), global::Nova.Client.PotentialPassiveSkill.Parser, new[]{ "Id", "ShareCD", "ShareTimes", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "BriefDesc", "Desc", "Param1", "Param2", "Param3", "Param4" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PotentialPassiveSkill : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PotentialPassiveSkill()); - 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.PotentialPassiveSkillReflection.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 PotentialPassiveSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PotentialPassiveSkill(PotentialPassiveSkill other) : this() { - id_ = other.id_; - shareCD_ = other.shareCD_; - shareTimes_ = other.shareTimes_; - effectId1_ = other.effectId1_; - effectId2_ = other.effectId2_; - effectId3_ = other.effectId3_; - effectId4_ = other.effectId4_; - briefDesc_ = other.briefDesc_; - desc_ = other.desc_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PotentialPassiveSkill Clone() { - return new PotentialPassiveSkill(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 "share_c_d" field. - public const int ShareCDFieldNumber = 2; - private bool shareCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ShareCD { - get { return shareCD_; } - set { - shareCD_ = value; - } - } - - /// Field number for the "share_times" field. - public const int ShareTimesFieldNumber = 3; - private bool shareTimes_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ShareTimes { - get { return shareTimes_; } - set { - shareTimes_ = value; - } - } - - /// Field number for the "effect_id1" field. - public const int EffectId1FieldNumber = 4; - private int effectId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId1 { - get { return effectId1_; } - set { - effectId1_ = value; - } - } - - /// Field number for the "effect_id2" field. - public const int EffectId2FieldNumber = 5; - private int effectId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId2 { - get { return effectId2_; } - set { - effectId2_ = value; - } - } - - /// Field number for the "effect_id3" field. - public const int EffectId3FieldNumber = 6; - private int effectId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId3 { - get { return effectId3_; } - set { - effectId3_ = value; - } - } - - /// Field number for the "effect_id4" field. - public const int EffectId4FieldNumber = 7; - private int effectId4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId4 { - get { return effectId4_; } - set { - effectId4_ = value; - } - } - - /// Field number for the "brief_desc" field. - public const int BriefDescFieldNumber = 8; - private string briefDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BriefDesc { - get { return briefDesc_; } - set { - briefDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 9; - 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 "param1" field. - public const int Param1FieldNumber = 10; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param2" field. - public const int Param2FieldNumber = 11; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param3" field. - public const int Param3FieldNumber = 12; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "param4" field. - public const int Param4FieldNumber = 13; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = 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 PotentialPassiveSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PotentialPassiveSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ShareCD != other.ShareCD) return false; - if (ShareTimes != other.ShareTimes) return false; - if (EffectId1 != other.EffectId1) return false; - if (EffectId2 != other.EffectId2) return false; - if (EffectId3 != other.EffectId3) return false; - if (EffectId4 != other.EffectId4) return false; - if (BriefDesc != other.BriefDesc) return false; - if (Desc != other.Desc) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) 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 (ShareCD != false) hash ^= ShareCD.GetHashCode(); - if (ShareTimes != false) hash ^= ShareTimes.GetHashCode(); - if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); - if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); - if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); - if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); - if (BriefDesc.Length != 0) hash ^= BriefDesc.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.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 (ShareCD != false) { - output.WriteRawTag(16); - output.WriteBool(ShareCD); - } - if (ShareTimes != false) { - output.WriteRawTag(24); - output.WriteBool(ShareTimes); - } - if (EffectId1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(EffectId1); - } - if (EffectId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(EffectId2); - } - if (EffectId3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(EffectId3); - } - if (EffectId4 != 0) { - output.WriteRawTag(56); - output.WriteInt32(EffectId4); - } - if (BriefDesc.Length != 0) { - output.WriteRawTag(66); - output.WriteString(BriefDesc); - } - if (Desc.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc); - } - if (Param1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param4); - } - 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 (ShareCD != false) { - output.WriteRawTag(16); - output.WriteBool(ShareCD); - } - if (ShareTimes != false) { - output.WriteRawTag(24); - output.WriteBool(ShareTimes); - } - if (EffectId1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(EffectId1); - } - if (EffectId2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(EffectId2); - } - if (EffectId3 != 0) { - output.WriteRawTag(48); - output.WriteInt32(EffectId3); - } - if (EffectId4 != 0) { - output.WriteRawTag(56); - output.WriteInt32(EffectId4); - } - if (BriefDesc.Length != 0) { - output.WriteRawTag(66); - output.WriteString(BriefDesc); - } - if (Desc.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Desc); - } - if (Param1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param4); - } - 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 (ShareCD != false) { - size += 1 + 1; - } - if (ShareTimes != false) { - size += 1 + 1; - } - if (EffectId1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); - } - if (EffectId2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); - } - if (EffectId3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); - } - if (EffectId4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); - } - if (BriefDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BriefDesc); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Param1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PotentialPassiveSkill other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ShareCD != false) { - ShareCD = other.ShareCD; - } - if (other.ShareTimes != false) { - ShareTimes = other.ShareTimes; - } - if (other.EffectId1 != 0) { - EffectId1 = other.EffectId1; - } - if (other.EffectId2 != 0) { - EffectId2 = other.EffectId2; - } - if (other.EffectId3 != 0) { - EffectId3 = other.EffectId3; - } - if (other.EffectId4 != 0) { - EffectId4 = other.EffectId4; - } - if (other.BriefDesc.Length != 0) { - BriefDesc = other.BriefDesc; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - _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: { - ShareCD = input.ReadBool(); - break; - } - case 24: { - ShareTimes = input.ReadBool(); - break; - } - case 32: { - EffectId1 = input.ReadInt32(); - break; - } - case 40: { - EffectId2 = input.ReadInt32(); - break; - } - case 48: { - EffectId3 = input.ReadInt32(); - break; - } - case 56: { - EffectId4 = input.ReadInt32(); - break; - } - case 66: { - BriefDesc = input.ReadString(); - break; - } - case 74: { - Desc = input.ReadString(); - break; - } - case 82: { - Param1 = input.ReadString(); - break; - } - case 90: { - Param2 = input.ReadString(); - break; - } - case 98: { - Param3 = input.ReadString(); - break; - } - case 106: { - Param4 = 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: { - ShareCD = input.ReadBool(); - break; - } - case 24: { - ShareTimes = input.ReadBool(); - break; - } - case 32: { - EffectId1 = input.ReadInt32(); - break; - } - case 40: { - EffectId2 = input.ReadInt32(); - break; - } - case 48: { - EffectId3 = input.ReadInt32(); - break; - } - case 56: { - EffectId4 = input.ReadInt32(); - break; - } - case 66: { - BriefDesc = input.ReadString(); - break; - } - case 74: { - Desc = input.ReadString(); - break; - } - case 82: { - Param1 = input.ReadString(); - break; - } - case 90: { - Param2 = input.ReadString(); - break; - } - case 98: { - Param3 = input.ReadString(); - break; - } - case 106: { - Param4 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PreviewMonsterGroup.cs b/Novaria.Common/Protos/PreviewMonsterGroup.cs deleted file mode 100644 index 2bbeefc..0000000 --- a/Novaria.Common/Protos/PreviewMonsterGroup.cs +++ /dev/null @@ -1,391 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PreviewMonsterGroup.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 PreviewMonsterGroup.proto - public static partial class PreviewMonsterGroupReflection { - - #region Descriptor - /// File descriptor for PreviewMonsterGroup.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PreviewMonsterGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlQcmV2aWV3TW9uc3Rlckdyb3VwLnByb3RvInQKE1ByZXZpZXdNb25zdGVy", - "R3JvdXASCgoCaWQYASABKAUSEAoIZ3JvdXBfaWQYAiABKAUSHwoXcHJldmll", - "d19tb25zdGVyX2xpc3RfaWQYAyABKAUSDgoGbWluX2x2GAQgASgJEg4KBm1h", - "eF9sdhgFIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PreviewMonsterGroup), global::Nova.Client.PreviewMonsterGroup.Parser, new[]{ "Id", "GroupId", "PreviewMonsterListId", "MinLv", "MaxLv" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PreviewMonsterGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PreviewMonsterGroup()); - 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.PreviewMonsterGroupReflection.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 PreviewMonsterGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PreviewMonsterGroup(PreviewMonsterGroup other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - previewMonsterListId_ = other.previewMonsterListId_; - minLv_ = other.minLv_; - maxLv_ = other.maxLv_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PreviewMonsterGroup Clone() { - return new PreviewMonsterGroup(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 "group_id" field. - 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; - } - } - - /// Field number for the "preview_monster_list_id" field. - public const int PreviewMonsterListIdFieldNumber = 3; - private int previewMonsterListId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreviewMonsterListId { - get { return previewMonsterListId_; } - set { - previewMonsterListId_ = value; - } - } - - /// Field number for the "min_lv" field. - public const int MinLvFieldNumber = 4; - private string minLv_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MinLv { - get { return minLv_; } - set { - minLv_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "max_lv" field. - public const int MaxLvFieldNumber = 5; - private string maxLv_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string MaxLv { - get { return maxLv_; } - set { - maxLv_ = 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 PreviewMonsterGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PreviewMonsterGroup 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 (PreviewMonsterListId != other.PreviewMonsterListId) return false; - if (MinLv != other.MinLv) return false; - if (MaxLv != other.MaxLv) 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 (PreviewMonsterListId != 0) hash ^= PreviewMonsterListId.GetHashCode(); - if (MinLv.Length != 0) hash ^= MinLv.GetHashCode(); - if (MaxLv.Length != 0) hash ^= MaxLv.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 (PreviewMonsterListId != 0) { - output.WriteRawTag(24); - output.WriteInt32(PreviewMonsterListId); - } - if (MinLv.Length != 0) { - output.WriteRawTag(34); - output.WriteString(MinLv); - } - if (MaxLv.Length != 0) { - output.WriteRawTag(42); - output.WriteString(MaxLv); - } - 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 (PreviewMonsterListId != 0) { - output.WriteRawTag(24); - output.WriteInt32(PreviewMonsterListId); - } - if (MinLv.Length != 0) { - output.WriteRawTag(34); - output.WriteString(MinLv); - } - if (MaxLv.Length != 0) { - output.WriteRawTag(42); - output.WriteString(MaxLv); - } - 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 (PreviewMonsterListId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterListId); - } - if (MinLv.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MinLv); - } - if (MaxLv.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(MaxLv); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PreviewMonsterGroup other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.PreviewMonsterListId != 0) { - PreviewMonsterListId = other.PreviewMonsterListId; - } - if (other.MinLv.Length != 0) { - MinLv = other.MinLv; - } - if (other.MaxLv.Length != 0) { - MaxLv = other.MaxLv; - } - _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: { - PreviewMonsterListId = input.ReadInt32(); - break; - } - case 34: { - MinLv = input.ReadString(); - break; - } - case 42: { - MaxLv = 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: { - GroupId = input.ReadInt32(); - break; - } - case 24: { - PreviewMonsterListId = input.ReadInt32(); - break; - } - case 34: { - MinLv = input.ReadString(); - break; - } - case 42: { - MaxLv = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/PreviewMonsterList.cs b/Novaria.Common/Protos/PreviewMonsterList.cs deleted file mode 100644 index e6b7510..0000000 --- a/Novaria.Common/Protos/PreviewMonsterList.cs +++ /dev/null @@ -1,860 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PreviewMonsterList.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 PreviewMonsterList.proto - public static partial class PreviewMonsterListReflection { - - #region Descriptor - /// File descriptor for PreviewMonsterList.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PreviewMonsterListReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhQcmV2aWV3TW9uc3Rlckxpc3QucHJvdG8i5wIKElByZXZpZXdNb25zdGVy", - "TGlzdBIKCgJpZBgBIAEoBRIMCgRpY29uGAIgASgJEgwKBG5hbWUYAyABKAkS", - "FAoMcmVzaXN0X2VfZV90GAQgAygFEg0KBWVfZV90GAUgAygFEgwKBGRlc2MY", - "BiABKAkSEgoKc2tpbGxfZGVzYxgHIAEoCRIPCgdlcGljX2x2GAggASgFEgsK", - "A2hfcBgJIAEoBRINCgVhX3RfaxgKIAEoBRINCgVkX2VfZhgLIAEoBRIZChF0", - "X29fdV9nX2hfbl9lX3NfcxgMIAEoBRIWCg5hYmlsaXR5X3RpdGxlMRgNIAEo", - "CRIVCg1hYmlsaXR5X2Rlc2MxGA4gASgJEhYKDmFiaWxpdHlfdGl0bGUyGA8g", - "ASgJEhUKDWFiaWxpdHlfZGVzYzIYECABKAkSFgoOYWJpbGl0eV90aXRsZTMY", - "ESABKAkSFQoNYWJpbGl0eV9kZXNjMxgSIAEoCUIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PreviewMonsterList), global::Nova.Client.PreviewMonsterList.Parser, new[]{ "Id", "Icon", "Name", "ResistEET", "EET", "Desc", "SkillDesc", "EpicLv", "HP", "ATK", "DEF", "TOUGHNESS", "AbilityTitle1", "AbilityDesc1", "AbilityTitle2", "AbilityDesc2", "AbilityTitle3", "AbilityDesc3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PreviewMonsterList : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PreviewMonsterList()); - 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.PreviewMonsterListReflection.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 PreviewMonsterList() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PreviewMonsterList(PreviewMonsterList other) : this() { - id_ = other.id_; - icon_ = other.icon_; - name_ = other.name_; - resistEET_ = other.resistEET_.Clone(); - eET_ = other.eET_.Clone(); - desc_ = other.desc_; - skillDesc_ = other.skillDesc_; - epicLv_ = other.epicLv_; - hP_ = other.hP_; - aTK_ = other.aTK_; - dEF_ = other.dEF_; - tOUGHNESS_ = other.tOUGHNESS_; - abilityTitle1_ = other.abilityTitle1_; - abilityDesc1_ = other.abilityDesc1_; - abilityTitle2_ = other.abilityTitle2_; - abilityDesc2_ = other.abilityDesc2_; - abilityTitle3_ = other.abilityTitle3_; - abilityDesc3_ = other.abilityDesc3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PreviewMonsterList Clone() { - return new PreviewMonsterList(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 "icon" field. - public const int IconFieldNumber = 2; - 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 "name" field. - public const int NameFieldNumber = 3; - 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 "resist_e_e_t" field. - public const int ResistEETFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_resistEET_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField resistEET_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField ResistEET { - get { return resistEET_; } - } - - /// Field number for the "e_e_t" field. - public const int EETFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_eET_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField eET_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField EET { - get { return eET_; } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 6; - 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 "skill_desc" field. - public const int SkillDescFieldNumber = 7; - private string skillDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SkillDesc { - get { return skillDesc_; } - set { - skillDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "epic_lv" field. - public const int EpicLvFieldNumber = 8; - private int epicLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EpicLv { - get { return epicLv_; } - set { - epicLv_ = value; - } - } - - /// Field number for the "h_p" field. - public const int HPFieldNumber = 9; - private int hP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HP { - get { return hP_; } - set { - hP_ = value; - } - } - - /// Field number for the "a_t_k" field. - public const int ATKFieldNumber = 10; - private int aTK_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ATK { - get { return aTK_; } - set { - aTK_ = value; - } - } - - /// Field number for the "d_e_f" field. - public const int DEFFieldNumber = 11; - private int dEF_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEF { - get { return dEF_; } - set { - dEF_ = value; - } - } - - /// Field number for the "t_o_u_g_h_n_e_s_s" field. - public const int TOUGHNESSFieldNumber = 12; - private int tOUGHNESS_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TOUGHNESS { - get { return tOUGHNESS_; } - set { - tOUGHNESS_ = value; - } - } - - /// Field number for the "ability_title1" field. - public const int AbilityTitle1FieldNumber = 13; - private string abilityTitle1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbilityTitle1 { - get { return abilityTitle1_; } - set { - abilityTitle1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ability_desc1" field. - public const int AbilityDesc1FieldNumber = 14; - private string abilityDesc1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbilityDesc1 { - get { return abilityDesc1_; } - set { - abilityDesc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ability_title2" field. - public const int AbilityTitle2FieldNumber = 15; - private string abilityTitle2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbilityTitle2 { - get { return abilityTitle2_; } - set { - abilityTitle2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ability_desc2" field. - public const int AbilityDesc2FieldNumber = 16; - private string abilityDesc2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbilityDesc2 { - get { return abilityDesc2_; } - set { - abilityDesc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ability_title3" field. - public const int AbilityTitle3FieldNumber = 17; - private string abilityTitle3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbilityTitle3 { - get { return abilityTitle3_; } - set { - abilityTitle3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "ability_desc3" field. - public const int AbilityDesc3FieldNumber = 18; - private string abilityDesc3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbilityDesc3 { - get { return abilityDesc3_; } - set { - abilityDesc3_ = 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 PreviewMonsterList); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PreviewMonsterList other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Icon != other.Icon) return false; - if (Name != other.Name) return false; - if(!resistEET_.Equals(other.resistEET_)) return false; - if(!eET_.Equals(other.eET_)) return false; - if (Desc != other.Desc) return false; - if (SkillDesc != other.SkillDesc) return false; - if (EpicLv != other.EpicLv) return false; - if (HP != other.HP) return false; - if (ATK != other.ATK) return false; - if (DEF != other.DEF) return false; - if (TOUGHNESS != other.TOUGHNESS) return false; - if (AbilityTitle1 != other.AbilityTitle1) return false; - if (AbilityDesc1 != other.AbilityDesc1) return false; - if (AbilityTitle2 != other.AbilityTitle2) return false; - if (AbilityDesc2 != other.AbilityDesc2) return false; - if (AbilityTitle3 != other.AbilityTitle3) return false; - if (AbilityDesc3 != other.AbilityDesc3) 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 (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - hash ^= resistEET_.GetHashCode(); - hash ^= eET_.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (SkillDesc.Length != 0) hash ^= SkillDesc.GetHashCode(); - if (EpicLv != 0) hash ^= EpicLv.GetHashCode(); - if (HP != 0) hash ^= HP.GetHashCode(); - if (ATK != 0) hash ^= ATK.GetHashCode(); - if (DEF != 0) hash ^= DEF.GetHashCode(); - if (TOUGHNESS != 0) hash ^= TOUGHNESS.GetHashCode(); - if (AbilityTitle1.Length != 0) hash ^= AbilityTitle1.GetHashCode(); - if (AbilityDesc1.Length != 0) hash ^= AbilityDesc1.GetHashCode(); - if (AbilityTitle2.Length != 0) hash ^= AbilityTitle2.GetHashCode(); - if (AbilityDesc2.Length != 0) hash ^= AbilityDesc2.GetHashCode(); - if (AbilityTitle3.Length != 0) hash ^= AbilityTitle3.GetHashCode(); - if (AbilityDesc3.Length != 0) hash ^= AbilityDesc3.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 (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - resistEET_.WriteTo(output, _repeated_resistEET_codec); - eET_.WriteTo(output, _repeated_eET_codec); - if (Desc.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Desc); - } - if (SkillDesc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(SkillDesc); - } - if (EpicLv != 0) { - output.WriteRawTag(64); - output.WriteInt32(EpicLv); - } - if (HP != 0) { - output.WriteRawTag(72); - output.WriteInt32(HP); - } - if (ATK != 0) { - output.WriteRawTag(80); - output.WriteInt32(ATK); - } - if (DEF != 0) { - output.WriteRawTag(88); - output.WriteInt32(DEF); - } - if (TOUGHNESS != 0) { - output.WriteRawTag(96); - output.WriteInt32(TOUGHNESS); - } - if (AbilityTitle1.Length != 0) { - output.WriteRawTag(106); - output.WriteString(AbilityTitle1); - } - if (AbilityDesc1.Length != 0) { - output.WriteRawTag(114); - output.WriteString(AbilityDesc1); - } - if (AbilityTitle2.Length != 0) { - output.WriteRawTag(122); - output.WriteString(AbilityTitle2); - } - if (AbilityDesc2.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(AbilityDesc2); - } - if (AbilityTitle3.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(AbilityTitle3); - } - if (AbilityDesc3.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(AbilityDesc3); - } - 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 (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - resistEET_.WriteTo(ref output, _repeated_resistEET_codec); - eET_.WriteTo(ref output, _repeated_eET_codec); - if (Desc.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Desc); - } - if (SkillDesc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(SkillDesc); - } - if (EpicLv != 0) { - output.WriteRawTag(64); - output.WriteInt32(EpicLv); - } - if (HP != 0) { - output.WriteRawTag(72); - output.WriteInt32(HP); - } - if (ATK != 0) { - output.WriteRawTag(80); - output.WriteInt32(ATK); - } - if (DEF != 0) { - output.WriteRawTag(88); - output.WriteInt32(DEF); - } - if (TOUGHNESS != 0) { - output.WriteRawTag(96); - output.WriteInt32(TOUGHNESS); - } - if (AbilityTitle1.Length != 0) { - output.WriteRawTag(106); - output.WriteString(AbilityTitle1); - } - if (AbilityDesc1.Length != 0) { - output.WriteRawTag(114); - output.WriteString(AbilityDesc1); - } - if (AbilityTitle2.Length != 0) { - output.WriteRawTag(122); - output.WriteString(AbilityTitle2); - } - if (AbilityDesc2.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(AbilityDesc2); - } - if (AbilityTitle3.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(AbilityTitle3); - } - if (AbilityDesc3.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(AbilityDesc3); - } - 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 (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - size += resistEET_.CalculateSize(_repeated_resistEET_codec); - size += eET_.CalculateSize(_repeated_eET_codec); - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (SkillDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SkillDesc); - } - if (EpicLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EpicLv); - } - if (HP != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HP); - } - if (ATK != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ATK); - } - if (DEF != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEF); - } - if (TOUGHNESS != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TOUGHNESS); - } - if (AbilityTitle1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AbilityTitle1); - } - if (AbilityDesc1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AbilityDesc1); - } - if (AbilityTitle2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AbilityTitle2); - } - if (AbilityDesc2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AbilityDesc2); - } - if (AbilityTitle3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AbilityTitle3); - } - if (AbilityDesc3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AbilityDesc3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PreviewMonsterList other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - resistEET_.Add(other.resistEET_); - eET_.Add(other.eET_); - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.SkillDesc.Length != 0) { - SkillDesc = other.SkillDesc; - } - if (other.EpicLv != 0) { - EpicLv = other.EpicLv; - } - if (other.HP != 0) { - HP = other.HP; - } - if (other.ATK != 0) { - ATK = other.ATK; - } - if (other.DEF != 0) { - DEF = other.DEF; - } - if (other.TOUGHNESS != 0) { - TOUGHNESS = other.TOUGHNESS; - } - if (other.AbilityTitle1.Length != 0) { - AbilityTitle1 = other.AbilityTitle1; - } - if (other.AbilityDesc1.Length != 0) { - AbilityDesc1 = other.AbilityDesc1; - } - if (other.AbilityTitle2.Length != 0) { - AbilityTitle2 = other.AbilityTitle2; - } - if (other.AbilityDesc2.Length != 0) { - AbilityDesc2 = other.AbilityDesc2; - } - if (other.AbilityTitle3.Length != 0) { - AbilityTitle3 = other.AbilityTitle3; - } - if (other.AbilityDesc3.Length != 0) { - AbilityDesc3 = other.AbilityDesc3; - } - _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: { - Icon = input.ReadString(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: - case 32: { - resistEET_.AddEntriesFrom(input, _repeated_resistEET_codec); - break; - } - case 42: - case 40: { - eET_.AddEntriesFrom(input, _repeated_eET_codec); - break; - } - case 50: { - Desc = input.ReadString(); - break; - } - case 58: { - SkillDesc = input.ReadString(); - break; - } - case 64: { - EpicLv = input.ReadInt32(); - break; - } - case 72: { - HP = input.ReadInt32(); - break; - } - case 80: { - ATK = input.ReadInt32(); - break; - } - case 88: { - DEF = input.ReadInt32(); - break; - } - case 96: { - TOUGHNESS = input.ReadInt32(); - break; - } - case 106: { - AbilityTitle1 = input.ReadString(); - break; - } - case 114: { - AbilityDesc1 = input.ReadString(); - break; - } - case 122: { - AbilityTitle2 = input.ReadString(); - break; - } - case 130: { - AbilityDesc2 = input.ReadString(); - break; - } - case 138: { - AbilityTitle3 = input.ReadString(); - break; - } - case 146: { - AbilityDesc3 = 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 18: { - Icon = input.ReadString(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 34: - case 32: { - resistEET_.AddEntriesFrom(ref input, _repeated_resistEET_codec); - break; - } - case 42: - case 40: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - case 50: { - Desc = input.ReadString(); - break; - } - case 58: { - SkillDesc = input.ReadString(); - break; - } - case 64: { - EpicLv = input.ReadInt32(); - break; - } - case 72: { - HP = input.ReadInt32(); - break; - } - case 80: { - ATK = input.ReadInt32(); - break; - } - case 88: { - DEF = input.ReadInt32(); - break; - } - case 96: { - TOUGHNESS = input.ReadInt32(); - break; - } - case 106: { - AbilityTitle1 = input.ReadString(); - break; - } - case 114: { - AbilityDesc1 = input.ReadString(); - break; - } - case 122: { - AbilityTitle2 = input.ReadString(); - break; - } - case 130: { - AbilityDesc2 = input.ReadString(); - break; - } - case 138: { - AbilityTitle3 = input.ReadString(); - break; - } - case 146: { - AbilityDesc3 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Production.cs b/Novaria.Common/Protos/Production.cs deleted file mode 100644 index b6a4093..0000000 --- a/Novaria.Common/Protos/Production.cs +++ /dev/null @@ -1,1029 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Production.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 Production.proto - public static partial class ProductionReflection { - - #region Descriptor - /// File descriptor for Production.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProductionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBQcm9kdWN0aW9uLnByb3RvIpIECgpQcm9kdWN0aW9uEgoKAmlkGAEgASgF", - "EgwKBG5hbWUYAiABKAkSDAoEZGVzYxgDIAEoCRIVCg1wcm9kdWN0aW9uX2lk", - "GAQgASgFEhwKFHByb2R1Y3Rpb25fcGVyX2JhdGNoGAUgASgFEhoKEnNob3df", - "cHJvZHVjdGlvbl9pZBgGIAEoBRIhChlzaG93X3Byb2R1Y3Rpb25fcGVyX2Jh", - "dGNoGAcgASgFEg0KBWdyb3VwGAggASgFEgsKA3RhZxgJIAEoBRIYChByYXdf", - "bWF0ZXJpYWxfaWQxGAogASgFEhsKE3Jhd19tYXRlcmlhbF9jb3VudDEYCyAB", - "KAUSGAoQcmF3X21hdGVyaWFsX2lkMhgMIAEoBRIbChNyYXdfbWF0ZXJpYWxf", - "Y291bnQyGA0gASgFEhgKEHJhd19tYXRlcmlhbF9pZDMYDiABKAUSGwoTcmF3", - "X21hdGVyaWFsX2NvdW50MxgPIAEoBRIYChByYXdfbWF0ZXJpYWxfaWQ0GBAg", - "ASgFEhsKE3Jhd19tYXRlcmlhbF9jb3VudDQYESABKAUSGwoTaXNfc2hvd193", - "b3JsZF9sZXZlbBgSIAEoBRIaChJ1bmxvY2tfd29ybGRfbGV2ZWwYEyABKAUS", - "EgoKdW5sb2NrX3RpcBgUIAEoCRIPCgdzb3J0X2lkGBUgASgFEhIKCmlzX2Fj", - "dGl2ZWQYFiABKAhCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Production), global::Nova.Client.Production.Parser, new[]{ "Id", "Name", "Desc", "ProductionId", "ProductionPerBatch", "ShowProductionId", "ShowProductionPerBatch", "Group", "Tag", "RawMaterialId1", "RawMaterialCount1", "RawMaterialId2", "RawMaterialCount2", "RawMaterialId3", "RawMaterialCount3", "RawMaterialId4", "RawMaterialCount4", "IsShowWorldLevel", "UnlockWorldLevel", "UnlockTip", "SortId", "IsActived" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Production : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Production()); - 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.ProductionReflection.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 Production() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Production(Production other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - productionId_ = other.productionId_; - productionPerBatch_ = other.productionPerBatch_; - showProductionId_ = other.showProductionId_; - showProductionPerBatch_ = other.showProductionPerBatch_; - group_ = other.group_; - tag_ = other.tag_; - rawMaterialId1_ = other.rawMaterialId1_; - rawMaterialCount1_ = other.rawMaterialCount1_; - rawMaterialId2_ = other.rawMaterialId2_; - rawMaterialCount2_ = other.rawMaterialCount2_; - rawMaterialId3_ = other.rawMaterialId3_; - rawMaterialCount3_ = other.rawMaterialCount3_; - rawMaterialId4_ = other.rawMaterialId4_; - rawMaterialCount4_ = other.rawMaterialCount4_; - isShowWorldLevel_ = other.isShowWorldLevel_; - unlockWorldLevel_ = other.unlockWorldLevel_; - unlockTip_ = other.unlockTip_; - sortId_ = other.sortId_; - isActived_ = other.isActived_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Production Clone() { - return new Production(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 "name" field. - 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"); - } - } - - /// Field number for the "desc" field. - public const int DescFieldNumber = 3; - 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 "production_id" field. - public const int ProductionIdFieldNumber = 4; - private int productionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProductionId { - get { return productionId_; } - set { - productionId_ = value; - } - } - - /// Field number for the "production_per_batch" field. - public const int ProductionPerBatchFieldNumber = 5; - private int productionPerBatch_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProductionPerBatch { - get { return productionPerBatch_; } - set { - productionPerBatch_ = value; - } - } - - /// Field number for the "show_production_id" field. - public const int ShowProductionIdFieldNumber = 6; - private int showProductionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShowProductionId { - get { return showProductionId_; } - set { - showProductionId_ = value; - } - } - - /// Field number for the "show_production_per_batch" field. - public const int ShowProductionPerBatchFieldNumber = 7; - private int showProductionPerBatch_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShowProductionPerBatch { - get { return showProductionPerBatch_; } - set { - showProductionPerBatch_ = value; - } - } - - /// Field number for the "group" field. - public const int GroupFieldNumber = 8; - private int group_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } - set { - group_ = value; - } - } - - /// Field number for the "tag" field. - public const int TagFieldNumber = 9; - private int tag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tag { - get { return tag_; } - set { - tag_ = value; - } - } - - /// Field number for the "raw_material_id1" field. - public const int RawMaterialId1FieldNumber = 10; - private int rawMaterialId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialId1 { - get { return rawMaterialId1_; } - set { - rawMaterialId1_ = value; - } - } - - /// Field number for the "raw_material_count1" field. - public const int RawMaterialCount1FieldNumber = 11; - private int rawMaterialCount1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialCount1 { - get { return rawMaterialCount1_; } - set { - rawMaterialCount1_ = value; - } - } - - /// Field number for the "raw_material_id2" field. - public const int RawMaterialId2FieldNumber = 12; - private int rawMaterialId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialId2 { - get { return rawMaterialId2_; } - set { - rawMaterialId2_ = value; - } - } - - /// Field number for the "raw_material_count2" field. - public const int RawMaterialCount2FieldNumber = 13; - private int rawMaterialCount2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialCount2 { - get { return rawMaterialCount2_; } - set { - rawMaterialCount2_ = value; - } - } - - /// Field number for the "raw_material_id3" field. - public const int RawMaterialId3FieldNumber = 14; - private int rawMaterialId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialId3 { - get { return rawMaterialId3_; } - set { - rawMaterialId3_ = value; - } - } - - /// Field number for the "raw_material_count3" field. - public const int RawMaterialCount3FieldNumber = 15; - private int rawMaterialCount3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialCount3 { - get { return rawMaterialCount3_; } - set { - rawMaterialCount3_ = value; - } - } - - /// Field number for the "raw_material_id4" field. - public const int RawMaterialId4FieldNumber = 16; - private int rawMaterialId4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialId4 { - get { return rawMaterialId4_; } - set { - rawMaterialId4_ = value; - } - } - - /// Field number for the "raw_material_count4" field. - public const int RawMaterialCount4FieldNumber = 17; - private int rawMaterialCount4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RawMaterialCount4 { - get { return rawMaterialCount4_; } - set { - rawMaterialCount4_ = value; - } - } - - /// Field number for the "is_show_world_level" field. - public const int IsShowWorldLevelFieldNumber = 18; - private int isShowWorldLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IsShowWorldLevel { - get { return isShowWorldLevel_; } - set { - isShowWorldLevel_ = value; - } - } - - /// Field number for the "unlock_world_level" field. - public const int UnlockWorldLevelFieldNumber = 19; - private int unlockWorldLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockWorldLevel { - get { return unlockWorldLevel_; } - set { - unlockWorldLevel_ = value; - } - } - - /// Field number for the "unlock_tip" field. - public const int UnlockTipFieldNumber = 20; - private string unlockTip_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockTip { - get { return unlockTip_; } - set { - unlockTip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "sort_id" field. - public const int SortIdFieldNumber = 21; - private int sortId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortId { - get { return sortId_; } - set { - sortId_ = value; - } - } - - /// Field number for the "is_actived" field. - public const int IsActivedFieldNumber = 22; - private bool isActived_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsActived { - get { return isActived_; } - set { - isActived_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Production); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Production 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 (Desc != other.Desc) return false; - if (ProductionId != other.ProductionId) return false; - if (ProductionPerBatch != other.ProductionPerBatch) return false; - if (ShowProductionId != other.ShowProductionId) return false; - if (ShowProductionPerBatch != other.ShowProductionPerBatch) return false; - if (Group != other.Group) return false; - if (Tag != other.Tag) return false; - if (RawMaterialId1 != other.RawMaterialId1) return false; - if (RawMaterialCount1 != other.RawMaterialCount1) return false; - if (RawMaterialId2 != other.RawMaterialId2) return false; - if (RawMaterialCount2 != other.RawMaterialCount2) return false; - if (RawMaterialId3 != other.RawMaterialId3) return false; - if (RawMaterialCount3 != other.RawMaterialCount3) return false; - if (RawMaterialId4 != other.RawMaterialId4) return false; - if (RawMaterialCount4 != other.RawMaterialCount4) return false; - if (IsShowWorldLevel != other.IsShowWorldLevel) return false; - if (UnlockWorldLevel != other.UnlockWorldLevel) return false; - if (UnlockTip != other.UnlockTip) return false; - if (SortId != other.SortId) return false; - if (IsActived != other.IsActived) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (ProductionId != 0) hash ^= ProductionId.GetHashCode(); - if (ProductionPerBatch != 0) hash ^= ProductionPerBatch.GetHashCode(); - if (ShowProductionId != 0) hash ^= ShowProductionId.GetHashCode(); - if (ShowProductionPerBatch != 0) hash ^= ShowProductionPerBatch.GetHashCode(); - if (Group != 0) hash ^= Group.GetHashCode(); - if (Tag != 0) hash ^= Tag.GetHashCode(); - if (RawMaterialId1 != 0) hash ^= RawMaterialId1.GetHashCode(); - if (RawMaterialCount1 != 0) hash ^= RawMaterialCount1.GetHashCode(); - if (RawMaterialId2 != 0) hash ^= RawMaterialId2.GetHashCode(); - if (RawMaterialCount2 != 0) hash ^= RawMaterialCount2.GetHashCode(); - if (RawMaterialId3 != 0) hash ^= RawMaterialId3.GetHashCode(); - if (RawMaterialCount3 != 0) hash ^= RawMaterialCount3.GetHashCode(); - if (RawMaterialId4 != 0) hash ^= RawMaterialId4.GetHashCode(); - if (RawMaterialCount4 != 0) hash ^= RawMaterialCount4.GetHashCode(); - if (IsShowWorldLevel != 0) hash ^= IsShowWorldLevel.GetHashCode(); - if (UnlockWorldLevel != 0) hash ^= UnlockWorldLevel.GetHashCode(); - if (UnlockTip.Length != 0) hash ^= UnlockTip.GetHashCode(); - if (SortId != 0) hash ^= SortId.GetHashCode(); - if (IsActived != false) hash ^= IsActived.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (ProductionId != 0) { - output.WriteRawTag(32); - output.WriteInt32(ProductionId); - } - if (ProductionPerBatch != 0) { - output.WriteRawTag(40); - output.WriteInt32(ProductionPerBatch); - } - if (ShowProductionId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ShowProductionId); - } - if (ShowProductionPerBatch != 0) { - output.WriteRawTag(56); - output.WriteInt32(ShowProductionPerBatch); - } - if (Group != 0) { - output.WriteRawTag(64); - output.WriteInt32(Group); - } - if (Tag != 0) { - output.WriteRawTag(72); - output.WriteInt32(Tag); - } - if (RawMaterialId1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(RawMaterialId1); - } - if (RawMaterialCount1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(RawMaterialCount1); - } - if (RawMaterialId2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(RawMaterialId2); - } - if (RawMaterialCount2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(RawMaterialCount2); - } - if (RawMaterialId3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(RawMaterialId3); - } - if (RawMaterialCount3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(RawMaterialCount3); - } - if (RawMaterialId4 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(RawMaterialId4); - } - if (RawMaterialCount4 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(RawMaterialCount4); - } - if (IsShowWorldLevel != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(IsShowWorldLevel); - } - if (UnlockWorldLevel != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(UnlockWorldLevel); - } - if (UnlockTip.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(UnlockTip); - } - if (SortId != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(SortId); - } - if (IsActived != false) { - output.WriteRawTag(176, 1); - output.WriteBool(IsActived); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (ProductionId != 0) { - output.WriteRawTag(32); - output.WriteInt32(ProductionId); - } - if (ProductionPerBatch != 0) { - output.WriteRawTag(40); - output.WriteInt32(ProductionPerBatch); - } - if (ShowProductionId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ShowProductionId); - } - if (ShowProductionPerBatch != 0) { - output.WriteRawTag(56); - output.WriteInt32(ShowProductionPerBatch); - } - if (Group != 0) { - output.WriteRawTag(64); - output.WriteInt32(Group); - } - if (Tag != 0) { - output.WriteRawTag(72); - output.WriteInt32(Tag); - } - if (RawMaterialId1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(RawMaterialId1); - } - if (RawMaterialCount1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(RawMaterialCount1); - } - if (RawMaterialId2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(RawMaterialId2); - } - if (RawMaterialCount2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(RawMaterialCount2); - } - if (RawMaterialId3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(RawMaterialId3); - } - if (RawMaterialCount3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(RawMaterialCount3); - } - if (RawMaterialId4 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(RawMaterialId4); - } - if (RawMaterialCount4 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(RawMaterialCount4); - } - if (IsShowWorldLevel != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(IsShowWorldLevel); - } - if (UnlockWorldLevel != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(UnlockWorldLevel); - } - if (UnlockTip.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(UnlockTip); - } - if (SortId != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(SortId); - } - if (IsActived != false) { - output.WriteRawTag(176, 1); - output.WriteBool(IsActived); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (ProductionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductionId); - } - if (ProductionPerBatch != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductionPerBatch); - } - if (ShowProductionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowProductionId); - } - if (ShowProductionPerBatch != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowProductionPerBatch); - } - if (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); - } - if (Tag != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag); - } - if (RawMaterialId1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId1); - } - if (RawMaterialCount1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount1); - } - if (RawMaterialId2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId2); - } - if (RawMaterialCount2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount2); - } - if (RawMaterialId3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId3); - } - if (RawMaterialCount3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount3); - } - if (RawMaterialId4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId4); - } - if (RawMaterialCount4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount4); - } - if (IsShowWorldLevel != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(IsShowWorldLevel); - } - if (UnlockWorldLevel != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldLevel); - } - if (UnlockTip.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(UnlockTip); - } - if (SortId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SortId); - } - if (IsActived != false) { - size += 2 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Production other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.ProductionId != 0) { - ProductionId = other.ProductionId; - } - if (other.ProductionPerBatch != 0) { - ProductionPerBatch = other.ProductionPerBatch; - } - if (other.ShowProductionId != 0) { - ShowProductionId = other.ShowProductionId; - } - if (other.ShowProductionPerBatch != 0) { - ShowProductionPerBatch = other.ShowProductionPerBatch; - } - if (other.Group != 0) { - Group = other.Group; - } - if (other.Tag != 0) { - Tag = other.Tag; - } - if (other.RawMaterialId1 != 0) { - RawMaterialId1 = other.RawMaterialId1; - } - if (other.RawMaterialCount1 != 0) { - RawMaterialCount1 = other.RawMaterialCount1; - } - if (other.RawMaterialId2 != 0) { - RawMaterialId2 = other.RawMaterialId2; - } - if (other.RawMaterialCount2 != 0) { - RawMaterialCount2 = other.RawMaterialCount2; - } - if (other.RawMaterialId3 != 0) { - RawMaterialId3 = other.RawMaterialId3; - } - if (other.RawMaterialCount3 != 0) { - RawMaterialCount3 = other.RawMaterialCount3; - } - if (other.RawMaterialId4 != 0) { - RawMaterialId4 = other.RawMaterialId4; - } - if (other.RawMaterialCount4 != 0) { - RawMaterialCount4 = other.RawMaterialCount4; - } - if (other.IsShowWorldLevel != 0) { - IsShowWorldLevel = other.IsShowWorldLevel; - } - if (other.UnlockWorldLevel != 0) { - UnlockWorldLevel = other.UnlockWorldLevel; - } - if (other.UnlockTip.Length != 0) { - UnlockTip = other.UnlockTip; - } - if (other.SortId != 0) { - SortId = other.SortId; - } - if (other.IsActived != false) { - IsActived = other.IsActived; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - ProductionId = input.ReadInt32(); - break; - } - case 40: { - ProductionPerBatch = input.ReadInt32(); - break; - } - case 48: { - ShowProductionId = input.ReadInt32(); - break; - } - case 56: { - ShowProductionPerBatch = input.ReadInt32(); - break; - } - case 64: { - Group = input.ReadInt32(); - break; - } - case 72: { - Tag = input.ReadInt32(); - break; - } - case 80: { - RawMaterialId1 = input.ReadInt32(); - break; - } - case 88: { - RawMaterialCount1 = input.ReadInt32(); - break; - } - case 96: { - RawMaterialId2 = input.ReadInt32(); - break; - } - case 104: { - RawMaterialCount2 = input.ReadInt32(); - break; - } - case 112: { - RawMaterialId3 = input.ReadInt32(); - break; - } - case 120: { - RawMaterialCount3 = input.ReadInt32(); - break; - } - case 128: { - RawMaterialId4 = input.ReadInt32(); - break; - } - case 136: { - RawMaterialCount4 = input.ReadInt32(); - break; - } - case 144: { - IsShowWorldLevel = input.ReadInt32(); - break; - } - case 152: { - UnlockWorldLevel = input.ReadInt32(); - break; - } - case 162: { - UnlockTip = input.ReadString(); - break; - } - case 168: { - SortId = input.ReadInt32(); - break; - } - case 176: { - IsActived = 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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - ProductionId = input.ReadInt32(); - break; - } - case 40: { - ProductionPerBatch = input.ReadInt32(); - break; - } - case 48: { - ShowProductionId = input.ReadInt32(); - break; - } - case 56: { - ShowProductionPerBatch = input.ReadInt32(); - break; - } - case 64: { - Group = input.ReadInt32(); - break; - } - case 72: { - Tag = input.ReadInt32(); - break; - } - case 80: { - RawMaterialId1 = input.ReadInt32(); - break; - } - case 88: { - RawMaterialCount1 = input.ReadInt32(); - break; - } - case 96: { - RawMaterialId2 = input.ReadInt32(); - break; - } - case 104: { - RawMaterialCount2 = input.ReadInt32(); - break; - } - case 112: { - RawMaterialId3 = input.ReadInt32(); - break; - } - case 120: { - RawMaterialCount3 = input.ReadInt32(); - break; - } - case 128: { - RawMaterialId4 = input.ReadInt32(); - break; - } - case 136: { - RawMaterialCount4 = input.ReadInt32(); - break; - } - case 144: { - IsShowWorldLevel = input.ReadInt32(); - break; - } - case 152: { - UnlockWorldLevel = input.ReadInt32(); - break; - } - case 162: { - UnlockTip = input.ReadString(); - break; - } - case 168: { - SortId = input.ReadInt32(); - break; - } - case 176: { - IsActived = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelFloor.cs b/Novaria.Common/Protos/PubilcGm.cs similarity index 70% rename from Novaria.Common/Protos/TableTravelerDuelFloor.cs rename to Novaria.Common/Protos/PubilcGm.cs index f43fbba..5bdc3fd 100644 --- a/Novaria.Common/Protos/TableTravelerDuelFloor.cs +++ b/Novaria.Common/Protos/PubilcGm.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelFloor.proto +// source: pubilc_gm.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,28 @@ 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 { +namespace Proto { - /// Holder for reflection information generated from table_TravelerDuelFloor.proto - public static partial class TableTravelerDuelFloorReflection { + /// Holder for reflection information generated from pubilc_gm.proto + public static partial class PubilcGmReflection { #region Descriptor - /// File descriptor for table_TravelerDuelFloor.proto + /// File descriptor for pubilc_gm.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static TableTravelerDuelFloorReflection() { + static PubilcGmReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Ch10YWJsZV9UcmF2ZWxlckR1ZWxGbG9vci5wcm90bxoXVHJhdmVsZXJEdWVs", - "Rmxvb3IucHJvdG8iOwoXdGFibGVfVHJhdmVsZXJEdWVsRmxvb3ISIAoEbGlz", - "dBgBIAMoCzISLlRyYXZlbGVyRHVlbEZsb29yQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); + "Cg9wdWJpbGNfZ20ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iOAoFQ2hh", + "cnMSGQoETGlzdBgBIAMoCzILLnByb3RvLkNoYXISFAoLTmV4dFBhY2thZ2UY", + "/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelFloorReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelFloor), global::Nova.Client.table_TravelerDuelFloor.Parser, new[]{ "List" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Chars), global::Proto.Chars.Parser, new[]{ "List", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelFloor : pb::IMessage + public sealed partial class Chars : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new table_TravelerDuelFloor()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Chars()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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.TableTravelerDuelFloorReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.PubilcGmReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelFloor() { + public Chars() { OnConstruction(); } @@ -72,37 +71,50 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelFloor(table_TravelerDuelFloor other) : this() { + public Chars(Chars other) : this() { list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelFloor Clone() { - return new table_TravelerDuelFloor(this); + public Chars Clone() { + return new Chars(this); } - /// Field number for the "list" field. + /// Field number for the "List" field. public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelFloor.Parser); - private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Char.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField List { + public pbc::RepeatedField List { get { return list_; } } + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 table_TravelerDuelFloor); + return Equals(other as Chars); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelFloor other) { + public bool Equals(Chars other) { if (ReferenceEquals(other, null)) { return false; } @@ -110,6 +122,7 @@ namespace Nova.Client { return true; } if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -118,6 +131,7 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -137,6 +151,10 @@ namespace Nova.Client { output.WriteRawMessage(this); #else list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -148,6 +166,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -159,6 +181,9 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -167,11 +192,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelFloor other) { + public void MergeFrom(Chars other) { if (other == null) { return; } list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -195,6 +223,10 @@ namespace Nova.Client { list_.AddEntriesFrom(input, _repeated_list_codec); break; } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } } } #endif @@ -218,6 +250,10 @@ namespace Nova.Client { list_.AddEntriesFrom(ref input, _repeated_list_codec); break; } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } } } } diff --git a/Novaria.Common/Protos/Public.cs b/Novaria.Common/Protos/Public.cs new file mode 100644 index 0000000..08eaac4 --- /dev/null +++ b/Novaria.Common/Protos/Public.cs @@ -0,0 +1,28704 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: public.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 Proto { + + /// Holder for reflection information generated from public.proto + public static partial class PublicReflection { + + #region Descriptor + /// File descriptor for public.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PublicReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CgxwdWJsaWMucHJvdG8SBXByb3RvGhlnb29nbGUvcHJvdG9idWYvYW55LnBy", + "b3RvIhsKA05pbBIUCgtOZXh0UGFja2FnZRj/DyABKAwiKgoDSTMyEg0KBVZh", + "bHVlGAEgASgFEhQKC05leHRQYWNrYWdlGP8PIAEoDCIrCgRVSTMyEg0KBVZh", + "bHVlGAEgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCIrCgRVSTY0Eg0KBVZh", + "bHVlGAEgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDCItCgZTdHJpbmcSDQoF", + "VmFsdWUYASABKAkSFAoLTmV4dFBhY2thZ2UY/w8gASgMIjwKBEkzMlYSDQoF", + "VmFsdWUYASABKAUSDwoHVmVyc2lvbhgCIAEoDRIUCgtOZXh0UGFja2FnZRj/", + "DyABKAwiPQoFVUkzMlYSDQoFVmFsdWUYASABKA0SDwoHVmVyc2lvbhgCIAEo", + "DRIUCgtOZXh0UGFja2FnZRj/DyABKAwiPQoFVUk2NFYSDQoFVmFsdWUYASAB", + "KAQSDwoHVmVyc2lvbhgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiPwoH", + "U3RyaW5nVhINCgVWYWx1ZRgBIAEoCRIPCgdWZXJzaW9uGAIgASgNEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDCIsCgVCeXRlcxINCgVWYWx1ZRgBIAEoDBIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiPgoGQnl0ZXNWEg0KBVZhbHVlGAEgASgMEg8K", + "B1ZlcnNpb24YAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIisKB0Jvb2xl", + "YW4SCgoCT2sYASABKAgSFAoLTmV4dFBhY2thZ2UY/w8gASgMIl8KBUVycm9y", + "EgwKBENvZGUYASABKA0SEQoJQXJndW1lbnRzGAIgAygJEg8KB1RyYWNlSWQY", + "AyABKAQSDgoGQWN0aW9uGAQgASgFEhQKC05leHRQYWNrYWdlGP8PIAEoDCKG", + "AgoHQWNjSW5mbxIKCgJJZBgBIAEoBBIQCghOaWNrTmFtZRgCIAEoCRIPCgdI", + "YXNodGFnGAMgASgNEhAKCEhlYWRJY29uGAQgASgNEg4KBkdlbmRlchgFIAEo", + "CBIRCglTaWduYXR1cmUYBiABKAkSEwoLVGl0bGVQcmVmaXgYByABKA0SEwoL", + "VGl0bGVTdWZmaXgYCCABKA0SDwoHQ2hhcklkcxgJIAMoDRIOCgZTa2luSWQY", + "CiABKA0SIgoHTmV3YmllcxgOIAMoCzIRLnByb3RvLk5ld2JpZUluZm8SEgoK", + "Q3JlYXRlVGltZRgPIAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwiQwoKTmV3", + "YmllSW5mbxIPCgdHcm91cElkGAEgASgNEg4KBlN0ZXBJZBgCIAEoBRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiPwoNUXVlc3RQcm9ncmVzcxILCgNDdXIYASAB", + "KA0SCwoDTWF4GAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCKRAQoFUXVl", + "c3QSCgoCSWQYASABKA0SDgoGU3RhdHVzGAIgASgNEg4KBkV4cGlyZRgDIAEo", + "AxIeCgRUeXBlGAQgASgOMhAucHJvdG8uUXVlc3RUeXBlEiYKCFByb2dyZXNz", + "GA8gAygLMhQucHJvdG8uUXVlc3RQcm9ncmVzcxIUCgtOZXh0UGFja2FnZRj/", + "DyABKAwiOgoGUXVlc3RzEhoKBExpc3QYASADKAsyDC5wcm90by5RdWVzdBIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwiegoLQWNoaWV2ZW1lbnQSCgoCSWQYASAB", + "KA0SDgoGU3RhdHVzGAIgASgNEhEKCUNvbXBsZXRlZBgDIAEoAxImCghQcm9n", + "cmVzcxgEIAMoCzIULnByb3RvLlF1ZXN0UHJvZ3Jlc3MSFAoLTmV4dFBhY2th", + "Z2UY/w8gASgMIkYKDEFjaGlldmVtZW50cxIgCgRMaXN0GAEgAygLMhIucHJv", + "dG8uQWNoaWV2ZW1lbnQSFAoLTmV4dFBhY2thZ2UY/w8gASgMIlAKCkRpY3Rp", + "b25hcnkSDQoFVGFiSWQYASABKA0SDQoFSW5kZXgYAiABKA0SDgoGU3RhdHVz", + "GAMgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJFCgxEaWN0aW9uYXJpZXMS", + "HwoETGlzdBgBIAMoCzIRLnByb3RvLkRpY3Rpb25hcnkSFAoLTmV4dFBhY2th", + "Z2UY/w8gASgMIjcKBUV2ZW50EgoKAklkGAEgASgNEgwKBERhdGEYAiADKA0S", + "FAoLTmV4dFBhY2thZ2UY/w8gASgMIjoKBkV2ZW50cxIaCgRMaXN0GAEgAygL", + "MgwucHJvdG8uRXZlbnQSFAoLTmV4dFBhY2thZ2UY/w8gASgMIpMCCgRNYWls", + "EgoKAklkGAEgASgNEg8KB1N1YmplY3QYAiABKAkSDAoERGVzYxgDIAEoCRIS", + "CgpUZW1wbGF0ZUlkGAQgASgNEg4KBkF1dGhvchgFIAEoCRIMCgRUaW1lGAYg", + "ASgDEhAKCERlYWRsaW5lGAcgASgDEgwKBFJlYWQYCCABKAgSDAoEUmVjdhgJ", + "IAEoCBIjCgtBdHRhY2htZW50cxgKIAMoCzIOLnByb3RvLkl0ZW1UcGwSDAoE", + "RmxhZxgLIAEoBBITCgtTdWJqZWN0QXJncxgMIAMoCRIQCghEZXNjQXJncxgN", + "IAMoCRIQCghTdXJ2ZXlJZBgOIAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwi", + "OAoFTWFpbHMSGQoETGlzdBgBIAMoCzILLnByb3RvLk1haWwSFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIj0KC01haWxSZXF1ZXN0EgoKAklkGAEgASgNEgwKBEZs", + "YWcYAiABKAQSFAoLTmV4dFBhY2thZ2UY/w8gASgMIj4KCU1haWxTdGF0ZRIL", + "CgNOZXcYASABKAgSDgoGUmV2b2tlGAIgASgIEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCI1ChBBY2hpZXZlbWVudFN0YXRlEgsKA05ldxgBIAEoCBIUCgtOZXh0", + "UGFja2FnZRj/DyABKAwiPwoLRnJpZW5kU3RhdGUSCgoCSWQYASABKAQSDgoG", + "QWN0aW9uGAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCI2Cg9CYXR0bGVQ", + "YXNzU3RhdGUSDQoFU3RhdGUYASABKAUSFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "IkwKFkNoYXJBZHZhbmNlUmV3YXJkU3RhdGUSDgoGQ2hhcklkGAEgASgNEgwK", + "BEZsYWcYAiABKAwSFAoLTmV4dFBhY2thZ2UY/w8gASgMIjsKFVdvcmxkQ2xh", + "c3NSZXdhcmRTdGF0ZRIMCgRGbGFnGAEgASgMEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCI4ChFGcmllbmRFbmVyZ3lTdGF0ZRINCgVTdGF0ZRgBIAEoCBIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiUQoXQ2hhckFmZmluaXR5UmV3YXJkU3RhdGUS", + "DgoGQ2hhcklkGAEgASgNEhAKCFF1ZXN0SWRzGAIgAygNEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDCKsAQoOU3RhclRvd2VyU3RhdGUSCgoCSWQYASABKA0SFAoM", + "UmVDb25uZWN0aW9uGAIgASgNEg8KB0J1aWxkSWQYAyABKAQSDwoHQ2hhcklk", + "cxgEIAMoDRIQCghTZWFzb25JZBgFIAEoDRINCgVGbG9vchgGIAEoDRIQCghS", + "ZXBvcnRJZBgHIAEoBBINCgVTd2VlcBgPIAEoCBIUCgtOZXh0UGFja2FnZRj/", + "DyABKAwiXgoSU3RhclRvd2VyQm9va1N0YXRlEg8KB0NoYXJJZHMYASADKA0S", + "EAoIRXZlbnRJZHMYAiADKA0SDwoHQnVuZGxlcxgDIAMoDRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwikQUKCVN0YXRlSW5mbxIeCgRNYWlsGAEgASgLMhAucHJv", + "dG8uTWFpbFN0YXRlEhUKDUluZmluaXR5VG93ZXIYAiABKAgSDgoGRnJpZW5k", + "GAMgASgIEioKCkJhdHRsZVBhc3MYBCABKAsyFi5wcm90by5CYXR0bGVQYXNz", + "U3RhdGUSNgoQV29ybGRDbGFzc1Jld2FyZBgFIAEoCzIcLnByb3RvLldvcmxk", + "Q2xhc3NSZXdhcmRTdGF0ZRI5ChJDaGFyQWR2YW5jZVJld2FyZHMYBiADKAsy", + "HS5wcm90by5DaGFyQWR2YW5jZVJld2FyZFN0YXRlEi4KDEZyaWVuZEVuZXJn", + "eRgHIAEoCzIYLnByb3RvLkZyaWVuZEVuZXJneVN0YXRlEjsKE0NoYXJBZmZp", + "bml0eVJld2FyZHMYCCADKAsyHi5wcm90by5DaGFyQWZmaW5pdHlSZXdhcmRT", + "dGF0ZRIsCgtNYWxsUGFja2FnZRgKIAEoCzIXLnByb3RvLk1hbGxQYWNrYWdl", + "U3RhdGUSLAoLQWNoaWV2ZW1lbnQYDyABKAsyFy5wcm90by5BY2hpZXZlbWVu", + "dFN0YXRlEiwKEVRyYXZlbGVyRHVlbFF1ZXN0GBAgASgLMhEucHJvdG8uUXVl", + "c3RTdGF0ZRI1ChpUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VRdWVzdBgRIAEoCzIR", + "LnByb3RvLlF1ZXN0U3RhdGUSKAoJU3RhclRvd2VyGBIgASgLMhUucHJvdG8u", + "U3RhclRvd2VyU3RhdGUSMAoNU3RhclRvd2VyQm9vaxgTIAEoCzIZLnByb3Rv", + "LlN0YXJUb3dlckJvb2tTdGF0ZRIUCgtOZXh0UGFja2FnZRj/DyABKAwiOQoH", + "SXRlbVRwbBILCgNUaWQYASABKA0SCwoDUXR5GAIgASgFEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDCJSCgRJdGVtEgoKAklkGAEgASgEEgsKA1RpZBgCIAEoDRIL", + "CgNRdHkYAyABKAUSDgoGRXhwaXJlGAQgASgDEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCI1CgNSZXMSCwoDVGlkGAEgASgNEgsKA1F0eRgCIAEoBRIUCgtOZXh0", + "UGFja2FnZRj/DyABKAwiLgoFVGl0bGUSDwoHVGl0bGVJZBgBIAEoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwi6AIKBENoYXISCwoDVGlkGAEgASgNEgsKA0V4", + "cBgCIAEoDRIZChFEYXRpbmdMYW5kbWFya0lkcxgDIAMoDRIWCg5EYXRpbmdF", + "dmVudElkcxgEIAMoDRIcChREYXRpbmdFdmVudFJld2FyZElkcxgFIAMoDRIU", + "CgxFcXVpcG1lbnRJZHMYBiADKAQSDQoFTGV2ZWwYCSABKA0SEAoIU2tpbGxM", + "dnMYCiADKA0SDAoEU2tpbhgMIAEoDRIVCg1BZmZpbml0eUxldmVsGA0gASgN", + "EhMKC0FmZmluaXR5RXhwGA4gASgNEg8KB0FkdmFuY2UYDyABKA0SDQoFUGxv", + "dHMYECADKA0SJQoOQWZmaW5pdHlRdWVzdHMYESABKAsyDS5wcm90by5RdWVz", + "dHMSEwoLVGFsZW50Tm9kZXMYEyABKAwSEgoKQ3JlYXRlVGltZRh/IAEoAxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwiOQoGRW5lcmd5EgsKA0N1chgBIAEoDRIM", + "CgROZXh0GAIgASgDEhQKC05leHRQYWNrYWdlGP8PIAEoDCJHCgpXb3JsZENs", + "YXNzEhAKCEFkZENsYXNzGAEgASgNEhEKCUV4cENoYW5nZRgCIAEoBRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiUgoJRXF1aXBtZW50EiIKBEluZm8YASABKAsy", + "FC5wcm90by5FcXVpcG1lbnRJbmZvEgsKA1F0eRgCIAEoBRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwigwEKBERpc2MSCgoCSWQYASABKA0SDQoFTGV2ZWwYAiAB", + "KA0SCwoDRXhwGAMgASgNEg0KBVBoYXNlGAQgASgNEgwKBFN0YXIYBSABKA0S", + "DAoEUmVhZBgGIAEoCBISCgpDcmVhdGVUaW1lGA8gASgDEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDCJbCglUcmFuc2Zvcm0SGwoDU3JjGAEgAygLMg4ucHJvdG8u", + "SXRlbVRwbBIbCgNEc3QYAiADKAsyDi5wcm90by5JdGVtVHBsEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCI4ChNTdGFyVG93ZXJSYW5rVGlja2V0EgsKA1F0eRgB", + "IAEoBRIUCgtOZXh0UGFja2FnZRj/DyABKAwiLAoFSG9ub3ISDQoFTmV3SWQY", + "ASABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIkcKCkNoYW5nZUluZm8SIwoF", + "UHJvcHMYASADKAsyFC5nb29nbGUucHJvdG9idWYuQW55EhQKC05leHRQYWNr", + "YWdlGP8PIAEoDCJXCg1Gb3JtYXRpb25JbmZvEg4KBk51bWJlchgBIAEoDRIP", + "CgdDaGFySWRzGAIgAygNEg8KB0Rpc2NJZHMYAyADKA0SFAoLTmV4dFBhY2th", + "Z2UY/w8gASgMIkgKD0Zvcm1hdGlvblJlY29yZBIPCgdHcm91cElkGAEgASgN", + "Eg4KBk51bWJlchgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwicgoOVG93", + "ZXJGb3JtYXRpb24SIgoESW5mbxgBIAMoCzIULnByb3RvLkZvcm1hdGlvbklu", + "Zm8SJgoGUmVjb3JkGAIgAygLMhYucHJvdG8uRm9ybWF0aW9uUmVjb3JkEhQK", + "C05leHRQYWNrYWdlGP8PIAEoDCJBCgtTdG9yeUNob2ljZRINCgVHcm91cBgB", + "IAEoDRINCgVWYWx1ZRgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwidgoF", + "U3RvcnkSCwoDSWR4GAEgASgNEiEKBU1ham9yGAIgAygLMhIucHJvdG8uU3Rv", + "cnlDaG9pY2USJwoLUGVyc29uYWxpdHkYAyADKAsyEi5wcm90by5TdG9yeUNo", + "b2ljZRIUCgtOZXh0UGFja2FnZRj/DyABKAwiZAoJU3RvcnlJbmZvEhEKCUV2", + "aWRlbmNlcxgBIAMoDRIdCgdTdG9yaWVzGAIgAygLMgwucHJvdG8uU3RvcnkS", + "DwoHQnVpbGRJZBgDIAEoBBIUCgtOZXh0UGFja2FnZRj/DyABKAwiVwoMUm9v", + "bVJlc3RvcmVkEg4KBlJvb21JZBgBIAEoDRIhCgZDaGFuZ2UYAiABKAsyES5w", + "cm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDCI+CgdEcm9w", + "UGtnEh0KBURyb3BzGAEgAygLMg4ucHJvdG8uSXRlbVRwbBIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwiWwoLTW9uc3RlckRyb3ASFAoMTW9uc3RlckluZGV4GAEg", + "ASgNEiAKCERyb3BQa2dzGAIgAygLMg4ucHJvdG8uRHJvcFBrZxIUCgtOZXh0", + "UGFja2FnZRj/DyABKAwiWAoQV29ybGRDbGFzc1VwZGF0ZRILCgNDdXIYASAB", + "KA0SIQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0", + "UGFja2FnZRj/DyABKAwiRgoISXRlbUluZm8SCgoCSWQYASABKAQSCwoDVGlk", + "GAIgASgNEgsKA1F0eRgDIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwidAoP", + "UmVnaW9uQm9zc0xldmVsEgoKAklkGAEgASgNEgwKBFN0YXIYAiABKA0SDQoF", + "Rmlyc3QYAyABKAgSEQoJVGhyZWVTdGFyGAQgASgIEg8KB0J1aWxkSWQYBSAB", + "KAQSFAoLTmV4dFBhY2thZ2UY/w8gASgMIvoBCgZGcmllbmQSCgoCSWQYASAB", + "KAQSEAoITmlja05hbWUYAiABKAkSDwoHSGFzaHRhZxgDIAEoDRIQCghIZWFk", + "SWNvbhgEIAEoDRIVCg1MYXN0TG9naW5UaW1lGAUgASgDEhIKCldvcmxkQ2xh", + "c3MYBiABKA0SEwoLVGl0bGVQcmVmaXgYByABKA0SEwoLVGl0bGVTdWZmaXgY", + "CCABKA0SEQoJU2lnbmF0dXJlGAkgASgJEg8KB0NoYXJJZHMYCiADKA0SIAoG", + "SG9ub3JzGA8gAygLMhAucHJvdG8uSG9ub3JJbmZvEhQKC05leHRQYWNrYWdl", + "GP8PIAEoDCJ2CgxGcmllbmREZXRhaWwSGwoEQmFzZRgBIAEoCzINLnByb3Rv", + "LkZyaWVuZBIMCgRTdGFyGAIgASgIEhIKClNlbmRFbmVyZ3kYAyABKAgSEQoJ", + "R2V0RW5lcmd5GAQgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCI/CgtCb3Vn", + "aHRHb29kcxIKCgJJZBgBIAEoDRIOCgZOdW1iZXIYAiABKA0SFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMImgKDFJlc2lkZW50U2hvcBIKCgJJZBgBIAEoDRITCgtS", + "ZWZyZXNoVGltZRgCIAEoAxIhCgVJbmZvcxgDIAMoCzISLnByb3RvLkJvdWdo", + "dEdvb2RzEhQKC05leHRQYWNrYWdlGP8PIAEoDCJACgxIYW5kYm9va0luZm8S", + "DAoEVHlwZRgBIAEoDRIMCgREYXRhGAIgASgMEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCJPCgpRdWVzdFN0YXRlEh4KBFR5cGUYASABKA4yEC5wcm90by5RdWVz", + "dFR5cGUSCwoDTmV3GAIgASgIEhQKC05leHRQYWNrYWdlGP8PIAEoDCI1ChBN", + "YWxsUGFja2FnZVN0YXRlEgsKA05ldxgBIAEoCBIUCgtOZXh0UGFja2FnZRj/", + "DyABKAwiUAoNRGFpbHlJbnN0YW5jZRIKCgJJZBgBIAEoDRIMCgRTdGFyGAIg", + "ASgNEg8KB0J1aWxkSWQYDyABKAQSFAoLTmV4dFBhY2thZ2UY/w8gASgMImwK", + "FVRyYXZlbGVyRHVlbEJvc3NMZXZlbBIKCgJJZBgBIAEoDRIMCgRTdGFyGAIg", + "ASgNEg8KB0J1aWxkSWQYAyABKAQSEgoKRGlmZmljdWx0eRgEIAEoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwicgoZVHJhdmVsZXJEdWVsQ2hhbGxlbmdlSW5m", + "bxIOCgZVbmxvY2sYASABKAgSCgoCSWQYAiABKA0SEAoIT3BlblRpbWUYAyAB", + "KAMSEQoJQ2xvc2VUaW1lGAQgASgDEhQKC05leHRQYWNrYWdlGP8PIAEoDCJg", + "CghBY3Rpdml0eRIKCgJJZBgBIAEoDRIRCglTdGFydFRpbWUYAiABKAMSDwoH", + "RW5kVGltZRgDIAEoAxIOCgZTdGF0dXMYDyABKAgSFAoLTmV4dFBhY2thZ2UY", + "/w8gASgMImkKDUFjdGl2aXR5UXVlc3QSCgoCSWQYASABKA0SDgoGU3RhdHVz", + "GAIgASgNEiYKCFByb2dyZXNzGA8gAygLMhQucHJvdG8uUXVlc3RQcm9ncmVz", + "cxIUCgtOZXh0UGFja2FnZRj/DyABKAwidwoQQWN0aXZpdHlQZXJpb2RpYxIS", + "CgpBY3Rpdml0eUlkGAEgASgNEhMKC0ZpbmFsU3RhdHVzGAIgASgIEiQKBlF1", + "ZXN0cxgPIAMoCzIULnByb3RvLkFjdGl2aXR5UXVlc3QSFAoLTmV4dFBhY2th", + "Z2UY/w8gASgMIloKDUFjdGl2aXR5TG9naW4SEgoKQWN0aXZpdHlJZBgBIAEo", + "DRIPCgdSZWNlaXZlGAIgASgNEg4KBkFjdHVhbBgDIAEoDRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwigQEKDEFmZmluaXR5SW5mbxIOCgZDaGFySWQYASABKA0S", + "FQoNQWZmaW5pdHlMZXZlbBgCIAEoDRITCgtBZmZpbml0eUV4cBgDIAEoDRIf", + "CgdSZXdhcmRzGAQgAygLMg4ucHJvdG8uSXRlbVRwbBIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAwiSgoEQ2hhdBIKCgJJZBgBIAEoDRIPCgdPcHRpb25zGAIgAygN", + "Eg8KB1Byb2Nlc3MYAyABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMImEKCENv", + "bnRhY3RzEg4KBkNoYXJJZBgBIAEoDRITCgtUcmlnZ2VyVGltZRgCIAEoAxIa", + "CgVDaGF0cxgDIAMoCzILLnByb3RvLkNoYXQSFAoLTmV4dFBhY2thZ2UY/w8g", + "ASgMImEKFkluZmluaXR5VG93ZXJMZXZlbEluZm8SCgoCSWQYASABKA0SDwoH", + "TGV2ZWxJZBgCIAEoDRIUCgxDaGFsbGVuZ2VJZHMYAyADKA0SFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIq4BCgtDb2xsZWN0UmVzcBItCgZTdGF0dXMYASABKA4y", + "HS5wcm90by5Db2xsZWN0UmVzcC5TdGF0dXNFbnVtEiAKBUl0ZW1zGAIgASgL", + "MhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAwiOAoK", + "U3RhdHVzRW51bRIKCgZVbnBhaWQQABIICgREb25lEAESCQoFUmV0cnkQAhIJ", + "CgVFcnJvchADIkAKDUVxdWlwbWVudEF0dHISCgoCSWQYASABKA0SDQoFVmFs", + "dWUYAiABKAUSFAoLTmV4dFBhY2thZ2UY/w8gASgMIowBCg1FcXVpcG1lbnRJ", + "bmZvEgoKAklkGAEgASgEEgsKA1RpZBgCIAEoDRILCgNFeHAYAyABKA0SDAoE", + "TG9jaxgEIAEoCBIMCgRUYWdzGAUgAygNEiMKBUF0dHJzGAYgAygLMhQucHJv", + "dG8uRXF1aXBtZW50QXR0chIUCgtOZXh0UGFja2FnZRj/DyABKAwiVAoRRXF1", + "aXBtZW50SW5zdGFuY2USCgoCSWQYASABKA0SDAoEU3RhchgCIAEoDRIPCgdC", + "dWlsZElkGA8gASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDCJ3CglBZ2VudElu", + "Zm8SCgoCSWQYASABKA0SEwoLUHJvY2Vzc1RpbWUYAiABKA0SDwoHQ2hhcklk", + "cxgDIAMoDRIPCgdCdWlsZElkGAQgASgEEhEKCVN0YXJ0VGltZRgFIAEoAxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwifAoJQWdlbnREYXRhEh8KBUluZm9zGAEg", + "AygLMhAucHJvdG8uQWdlbnRJbmZvEhMKC05ld0FnZW50SWRzGAIgAygNEhAK", + "CERhaWx5SWRzGAMgAygNEhEKCVdlZWtseUlkcxgEIAMoDRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwiQQoJSG9ub3JJbmZvEgoKAklkGAEgASgNEhIKCkFmZmlu", + "aXR5TFYYAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIlAKFFZhbXBpcmVT", + "dXJ2aXZvckV2ZW50EhEKCUV2ZW50VHlwZRgBIAEoDRIPCgdOdW1iZXJzGAIg", + "AygNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJ0ChpWYW1waXJlU3Vydml2b3JM", + "ZXZlbFJld2FyZBINCgVMZXZlbBgBIAEoDRIxCgNQa2cYAiABKAsyJC5wcm90", + "by5WYW1waXJlU3Vydml2b3JGYXRlQ2FyZFNlbGVjdBIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAwiYgodVmFtcGlyZVN1cnZpdm9yRmF0ZUNhcmRTZWxlY3QSCwoD", + "SWRzGAEgAygNEg4KBk5ld0lkcxgCIAMoDRIOCgZSZVJvbGwYAyABKA0SFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMIoYCChlWYW1waXJlU3Vydml2b3JSZWNvcmRJ", + "bmZvEhEKCVBhc3NlZElkcxgBIAMoDRI4CgdOb3JtYWxzGAIgAygLMicucHJv", + "dG8uVmFtcGlyZVN1cnZpdm9yUmVjb3JkSW5mby5SZWNvcmQSNwoGU2Vhc29u", + "GAMgASgLMicucHJvdG8uVmFtcGlyZVN1cnZpdm9yUmVjb3JkSW5mby5SZWNv", + "cmQSEwoLU2Vhc29uU2NvcmUYBCABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "GjgKBlJlY29yZBIKCgJJZBgBIAEoDRIQCghCdWlsZElkMRgCIAEoBBIQCghC", + "dWlsZElkMhgDIAEoBCreAQoJUXVlc3RUeXBlEhAKDFVua25vd25RdWVzdBAA", + "Eg0KCVRvdXJHdWlkZRABEgkKBURhaWx5EAISEAoMVHJhdmVsZXJEdWVsEAMS", + "GQoVVHJhdmVsZXJEdWVsQ2hhbGxlbmdlEAQSDAoIQWZmaW5pdHkQBRITCg9C", + "YXR0bGVQYXNzRGFpbHkQBhIUChBCYXR0bGVQYXNzV2Vla2x5EAcSGQoVVmFt", + "cGlyZVN1cnZpdm9yTm9ybWFsEAgSGQoVVmFtcGlyZVN1cnZpdm9yU2Vhc29u", + "EAkSCQoFVG93ZXIQCmIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Proto.QuestType), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Nil), global::Proto.Nil.Parser, new[]{ "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.I32), global::Proto.I32.Parser, new[]{ "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.UI32), global::Proto.UI32.Parser, new[]{ "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.UI64), global::Proto.UI64.Parser, new[]{ "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.String), global::Proto.String.Parser, new[]{ "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.I32V), global::Proto.I32V.Parser, new[]{ "Value", "Version", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.UI32V), global::Proto.UI32V.Parser, new[]{ "Value", "Version", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.UI64V), global::Proto.UI64V.Parser, new[]{ "Value", "Version", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StringV), global::Proto.StringV.Parser, new[]{ "Value", "Version", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Bytes), global::Proto.Bytes.Parser, new[]{ "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BytesV), global::Proto.BytesV.Parser, new[]{ "Value", "Version", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Boolean), global::Proto.Boolean.Parser, new[]{ "Ok", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Error), global::Proto.Error.Parser, new[]{ "Code", "Arguments", "TraceId", "Action", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AccInfo), global::Proto.AccInfo.Parser, new[]{ "Id", "NickName", "Hashtag", "HeadIcon", "Gender", "Signature", "TitlePrefix", "TitleSuffix", "CharIds", "SkinId", "Newbies", "CreateTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.NewbieInfo), global::Proto.NewbieInfo.Parser, new[]{ "GroupId", "StepId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.QuestProgress), global::Proto.QuestProgress.Parser, new[]{ "Cur", "Max", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Quest), global::Proto.Quest.Parser, new[]{ "Id", "Status", "Expire", "Type", "Progress", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Quests), global::Proto.Quests.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Achievement), global::Proto.Achievement.Parser, new[]{ "Id", "Status", "Completed", "Progress", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Achievements), global::Proto.Achievements.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Dictionary), global::Proto.Dictionary.Parser, new[]{ "TabId", "Index", "Status", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Dictionaries), global::Proto.Dictionaries.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Event), global::Proto.Event.Parser, new[]{ "Id", "Data", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Events), global::Proto.Events.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Mail), global::Proto.Mail.Parser, new[]{ "Id", "Subject", "Desc", "TemplateId", "Author", "Time", "Deadline", "Read", "Recv", "Attachments", "Flag", "SubjectArgs", "DescArgs", "SurveyId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Mails), global::Proto.Mails.Parser, new[]{ "List", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MailRequest), global::Proto.MailRequest.Parser, new[]{ "Id", "Flag", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MailState), global::Proto.MailState.Parser, new[]{ "New", "Revoke", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AchievementState), global::Proto.AchievementState.Parser, new[]{ "New", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendState), global::Proto.FriendState.Parser, new[]{ "Id", "Action", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattlePassState), global::Proto.BattlePassState.Parser, new[]{ "State", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAdvanceRewardState), global::Proto.CharAdvanceRewardState.Parser, new[]{ "CharId", "Flag", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.WorldClassRewardState), global::Proto.WorldClassRewardState.Parser, new[]{ "Flag", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendEnergyState), global::Proto.FriendEnergyState.Parser, new[]{ "State", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CharAffinityRewardState), global::Proto.CharAffinityRewardState.Parser, new[]{ "CharId", "QuestIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerState), global::Proto.StarTowerState.Parser, new[]{ "Id", "ReConnection", "BuildId", "CharIds", "SeasonId", "Floor", "ReportId", "Sweep", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookState), global::Proto.StarTowerBookState.Parser, new[]{ "CharIds", "EventIds", "Bundles", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StateInfo), global::Proto.StateInfo.Parser, new[]{ "Mail", "InfinityTower", "Friend", "BattlePass", "WorldClassReward", "CharAdvanceRewards", "FriendEnergy", "CharAffinityRewards", "MallPackage", "Achievement", "TravelerDuelQuest", "TravelerDuelChallengeQuest", "StarTower", "StarTowerBook", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ItemTpl), global::Proto.ItemTpl.Parser, new[]{ "Tid", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Item), global::Proto.Item.Parser, new[]{ "Id", "Tid", "Qty", "Expire", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Res), global::Proto.Res.Parser, new[]{ "Tid", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Title), global::Proto.Title.Parser, new[]{ "TitleId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Char), global::Proto.Char.Parser, new[]{ "Tid", "Exp", "DatingLandmarkIds", "DatingEventIds", "DatingEventRewardIds", "EquipmentIds", "Level", "SkillLvs", "Skin", "AffinityLevel", "AffinityExp", "Advance", "Plots", "AffinityQuests", "TalentNodes", "CreateTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Energy), global::Proto.Energy.Parser, new[]{ "Cur", "Next", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.WorldClass), global::Proto.WorldClass.Parser, new[]{ "AddClass", "ExpChange", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Equipment), global::Proto.Equipment.Parser, new[]{ "Info", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Disc), global::Proto.Disc.Parser, new[]{ "Id", "Level", "Exp", "Phase", "Star", "Read", "CreateTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Transform), global::Proto.Transform.Parser, new[]{ "Src", "Dst", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRankTicket), global::Proto.StarTowerRankTicket.Parser, new[]{ "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Honor), global::Proto.Honor.Parser, new[]{ "NewId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ChangeInfo), global::Proto.ChangeInfo.Parser, new[]{ "Props", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FormationInfo), global::Proto.FormationInfo.Parser, new[]{ "Number", "CharIds", "DiscIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FormationRecord), global::Proto.FormationRecord.Parser, new[]{ "GroupId", "Number", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerFormation), global::Proto.TowerFormation.Parser, new[]{ "Info", "Record", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StoryChoice), global::Proto.StoryChoice.Parser, new[]{ "Group", "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Story), global::Proto.Story.Parser, new[]{ "Idx", "Major", "Personality", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StoryInfo), global::Proto.StoryInfo.Parser, new[]{ "Evidences", "Stories", "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RoomRestored), global::Proto.RoomRestored.Parser, new[]{ "RoomId", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DropPkg), global::Proto.DropPkg.Parser, new[]{ "Drops", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MonsterDrop), global::Proto.MonsterDrop.Parser, new[]{ "MonsterIndex", "DropPkgs", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.WorldClassUpdate), global::Proto.WorldClassUpdate.Parser, new[]{ "Cur", "Change", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ItemInfo), global::Proto.ItemInfo.Parser, new[]{ "Id", "Tid", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevel), global::Proto.RegionBossLevel.Parser, new[]{ "Id", "Star", "First", "ThreeStar", "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Friend), global::Proto.Friend.Parser, new[]{ "Id", "NickName", "Hashtag", "HeadIcon", "LastLoginTime", "WorldClass", "TitlePrefix", "TitleSuffix", "Signature", "CharIds", "Honors", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FriendDetail), global::Proto.FriendDetail.Parser, new[]{ "Base", "Star", "SendEnergy", "GetEnergy", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BoughtGoods), global::Proto.BoughtGoods.Parser, new[]{ "Id", "Number", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ResidentShop), global::Proto.ResidentShop.Parser, new[]{ "Id", "RefreshTime", "Infos", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.HandbookInfo), global::Proto.HandbookInfo.Parser, new[]{ "Type", "Data", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.QuestState), global::Proto.QuestState.Parser, new[]{ "Type", "New", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.MallPackageState), global::Proto.MallPackageState.Parser, new[]{ "New", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DailyInstance), global::Proto.DailyInstance.Parser, new[]{ "Id", "Star", "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBossLevel), global::Proto.TravelerDuelBossLevel.Parser, new[]{ "Id", "Star", "BuildId", "Difficulty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelChallengeInfo), global::Proto.TravelerDuelChallengeInfo.Parser, new[]{ "Unlock", "Id", "OpenTime", "CloseTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Activity), global::Proto.Activity.Parser, new[]{ "Id", "StartTime", "EndTime", "Status", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ActivityQuest), global::Proto.ActivityQuest.Parser, new[]{ "Id", "Status", "Progress", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ActivityPeriodic), global::Proto.ActivityPeriodic.Parser, new[]{ "ActivityId", "FinalStatus", "Quests", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ActivityLogin), global::Proto.ActivityLogin.Parser, new[]{ "ActivityId", "Receive", "Actual", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AffinityInfo), global::Proto.AffinityInfo.Parser, new[]{ "CharId", "AffinityLevel", "AffinityExp", "Rewards", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Chat), global::Proto.Chat.Parser, new[]{ "Id", "Options", "Process", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.Contacts), global::Proto.Contacts.Parser, new[]{ "CharId", "TriggerTime", "Chats", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InfinityTowerLevelInfo), global::Proto.InfinityTowerLevelInfo.Parser, new[]{ "Id", "LevelId", "ChallengeIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.CollectResp), global::Proto.CollectResp.Parser, new[]{ "Status", "Items", "NextPackage" }, null, new[]{ typeof(global::Proto.CollectResp.Types.StatusEnum) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentAttr), global::Proto.EquipmentAttr.Parser, new[]{ "Id", "Value", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentInfo), global::Proto.EquipmentInfo.Parser, new[]{ "Id", "Tid", "Exp", "Lock", "Tags", "Attrs", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.EquipmentInstance), global::Proto.EquipmentInstance.Parser, new[]{ "Id", "Star", "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentInfo), global::Proto.AgentInfo.Parser, new[]{ "Id", "ProcessTime", "CharIds", "BuildId", "StartTime", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.AgentData), global::Proto.AgentData.Parser, new[]{ "Infos", "NewAgentIds", "DailyIds", "WeeklyIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.HonorInfo), global::Proto.HonorInfo.Parser, new[]{ "Id", "AffinityLV", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorEvent), global::Proto.VampireSurvivorEvent.Parser, new[]{ "EventType", "Numbers", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorLevelReward), global::Proto.VampireSurvivorLevelReward.Parser, new[]{ "Level", "Pkg", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorFateCardSelect), global::Proto.VampireSurvivorFateCardSelect.Parser, new[]{ "Ids", "NewIds", "ReRoll", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRecordInfo), global::Proto.VampireSurvivorRecordInfo.Parser, new[]{ "PassedIds", "Normals", "Season", "SeasonScore", "NextPackage" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRecordInfo.Types.Record), global::Proto.VampireSurvivorRecordInfo.Types.Record.Parser, new[]{ "Id", "BuildId1", "BuildId2" }, null, null, null, null)}) + })); + } + #endregion + + } + #region Enums + public enum QuestType { + [pbr::OriginalName("UnknownQuest")] UnknownQuest = 0, + [pbr::OriginalName("TourGuide")] TourGuide = 1, + [pbr::OriginalName("Daily")] Daily = 2, + [pbr::OriginalName("TravelerDuel")] TravelerDuel = 3, + [pbr::OriginalName("TravelerDuelChallenge")] TravelerDuelChallenge = 4, + [pbr::OriginalName("Affinity")] Affinity = 5, + [pbr::OriginalName("BattlePassDaily")] BattlePassDaily = 6, + [pbr::OriginalName("BattlePassWeekly")] BattlePassWeekly = 7, + [pbr::OriginalName("VampireSurvivorNormal")] VampireSurvivorNormal = 8, + [pbr::OriginalName("VampireSurvivorSeason")] VampireSurvivorSeason = 9, + [pbr::OriginalName("Tower")] Tower = 10, + } + + #endregion + + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Nil : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Nil()); + 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::Proto.PublicReflection.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 Nil() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Nil(Nil other) : this() { + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Nil Clone() { + return new Nil(this); + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Nil); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Nil other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) 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 (NextPackage.Length != 0) hash ^= NextPackage.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 (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Nil other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 16378: { + NextPackage = input.ReadBytes(); + 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 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class I32 : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new I32()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public I32() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public I32(I32 other) : this() { + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public I32 Clone() { + return new I32(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private int value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 I32); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(I32 other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value != 0) { + output.WriteRawTag(8); + output.WriteInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + output.WriteRawTag(8); + output.WriteInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(I32 other) { + if (other == null) { + return; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Value = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Value = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UI32 : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UI32()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI32() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI32(UI32 other) : this() { + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI32 Clone() { + return new UI32(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private uint value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 UI32); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UI32 other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UI32 other) { + if (other == null) { + return; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Value = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Value = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UI64 : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UI64()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI64() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI64(UI64 other) : this() { + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI64 Clone() { + return new UI64(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private ulong value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 UI64); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UI64 other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0UL) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UI64 other) { + if (other == null) { + return; + } + if (other.Value != 0UL) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Value = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Value = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class String : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new String()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public String() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public String(String other) : this() { + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public String Clone() { + return new String(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private string value_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Value { + get { return value_; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 String); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(String other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Value.Length != 0) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(String other) { + if (other == null) { + return; + } + if (other.Value.Length != 0) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Value = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Value = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class I32V : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new I32V()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public I32V() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public I32V(I32V other) : this() { + value_ = other.value_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public I32V Clone() { + return new I32V(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private int value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 I32V); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(I32V other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0) hash ^= Value.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value != 0) { + output.WriteRawTag(8); + output.WriteInt32(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + output.WriteRawTag(8); + output.WriteInt32(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(I32V other) { + if (other == null) { + return; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Value = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Value = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UI32V : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UI32V()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI32V() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI32V(UI32V other) : this() { + value_ = other.value_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI32V Clone() { + return new UI32V(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private uint value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 UI32V); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UI32V other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0) hash ^= Value.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UI32V other) { + if (other == null) { + return; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Value = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Value = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UI64V : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UI64V()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[7]; } + } + + [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 UI64V() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI64V(UI64V other) : this() { + value_ = other.value_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UI64V Clone() { + return new UI64V(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private ulong value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Value { + get { return value_; } + set { + value_ = value; + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 UI64V); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UI64V other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0UL) hash ^= Value.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Value); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UI64V other) { + if (other == null) { + return; + } + if (other.Value != 0UL) { + Value = other.Value; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Value = input.ReadUInt64(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Value = input.ReadUInt64(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StringV : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StringV()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[8]; } + } + + [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 StringV() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringV(StringV other) : this() { + value_ = other.value_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StringV Clone() { + return new StringV(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private string value_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Value { + get { return value_; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StringV); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StringV other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) 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 (Value.Length != 0) hash ^= Value.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StringV other) { + if (other == null) { + return; + } + if (other.Value.Length != 0) { + Value = other.Value; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Value = input.ReadString(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Value = input.ReadString(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Bytes : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Bytes()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[9]; } + } + + [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 Bytes() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Bytes(Bytes other) : this() { + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Bytes Clone() { + return new Bytes(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private pb::ByteString value_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Value { + get { return value_; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Bytes); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Bytes other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Value.Length != 0) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Bytes other) { + if (other == null) { + return; + } + if (other.Value.Length != 0) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Value = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Value = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BytesV : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BytesV()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[10]; } + } + + [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 BytesV() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BytesV(BytesV other) : this() { + value_ = other.value_; + version_ = other.version_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BytesV Clone() { + return new BytesV(this); + } + + /// Field number for the "Value" field. + public const int ValueFieldNumber = 1; + private pb::ByteString value_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Value { + get { return value_; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Version" field. + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BytesV); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BytesV other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Value != other.Value) return false; + if (Version != other.Version) return false; + if (NextPackage != other.NextPackage) 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 (Value.Length != 0) hash ^= Value.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Value); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BytesV other) { + if (other == null) { + return; + } + if (other.Value.Length != 0) { + Value = other.Value; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Value = input.ReadBytes(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Value = input.ReadBytes(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Boolean : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Boolean()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[11]; } + } + + [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 Boolean() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Boolean(Boolean other) : this() { + ok_ = other.ok_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Boolean Clone() { + return new Boolean(this); + } + + /// Field number for the "Ok" field. + public const int OkFieldNumber = 1; + private bool ok_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Ok { + get { return ok_; } + set { + ok_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Boolean); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Boolean other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Ok != other.Ok) return false; + if (NextPackage != other.NextPackage) 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 (Ok != false) hash ^= Ok.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Ok != false) { + output.WriteRawTag(8); + output.WriteBool(Ok); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Ok != false) { + output.WriteRawTag(8); + output.WriteBool(Ok); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Ok != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Boolean other) { + if (other == null) { + return; + } + if (other.Ok != false) { + Ok = other.Ok; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Ok = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Ok = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Error : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[12]; } + } + + [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 Error() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Error(Error other) : this() { + code_ = other.code_; + arguments_ = other.arguments_.Clone(); + traceId_ = other.traceId_; + action_ = other.action_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Error Clone() { + return new Error(this); + } + + /// Field number for the "Code" field. + public const int CodeFieldNumber = 1; + private uint code_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Code { + get { return code_; } + set { + code_ = value; + } + } + + /// Field number for the "Arguments" field. + public const int ArgumentsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_arguments_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField arguments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Arguments { + get { return arguments_; } + } + + /// Field number for the "TraceId" field. + public const int TraceIdFieldNumber = 3; + private ulong traceId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong TraceId { + get { return traceId_; } + set { + traceId_ = value; + } + } + + /// Field number for the "Action" field. + public const int ActionFieldNumber = 4; + private int action_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Action { + get { return action_; } + set { + action_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Error); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Error other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Code != other.Code) return false; + if(!arguments_.Equals(other.arguments_)) return false; + if (TraceId != other.TraceId) return false; + if (Action != other.Action) return false; + if (NextPackage != other.NextPackage) 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 (Code != 0) hash ^= Code.GetHashCode(); + hash ^= arguments_.GetHashCode(); + if (TraceId != 0UL) hash ^= TraceId.GetHashCode(); + if (Action != 0) hash ^= Action.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Code != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Code); + } + arguments_.WriteTo(output, _repeated_arguments_codec); + if (TraceId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(TraceId); + } + if (Action != 0) { + output.WriteRawTag(32); + output.WriteInt32(Action); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Code != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Code); + } + arguments_.WriteTo(ref output, _repeated_arguments_codec); + if (TraceId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(TraceId); + } + if (Action != 0) { + output.WriteRawTag(32); + output.WriteInt32(Action); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Code != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Code); + } + size += arguments_.CalculateSize(_repeated_arguments_codec); + if (TraceId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TraceId); + } + if (Action != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Action); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Error other) { + if (other == null) { + return; + } + if (other.Code != 0) { + Code = other.Code; + } + arguments_.Add(other.arguments_); + if (other.TraceId != 0UL) { + TraceId = other.TraceId; + } + if (other.Action != 0) { + Action = other.Action; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Code = input.ReadUInt32(); + break; + } + case 18: { + arguments_.AddEntriesFrom(input, _repeated_arguments_codec); + break; + } + case 24: { + TraceId = input.ReadUInt64(); + break; + } + case 32: { + Action = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Code = input.ReadUInt32(); + break; + } + case 18: { + arguments_.AddEntriesFrom(ref input, _repeated_arguments_codec); + break; + } + case 24: { + TraceId = input.ReadUInt64(); + break; + } + case 32: { + Action = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AccInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AccInfo()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[13]; } + } + + [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 AccInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccInfo(AccInfo other) : this() { + id_ = other.id_; + nickName_ = other.nickName_; + hashtag_ = other.hashtag_; + headIcon_ = other.headIcon_; + gender_ = other.gender_; + signature_ = other.signature_; + titlePrefix_ = other.titlePrefix_; + titleSuffix_ = other.titleSuffix_; + charIds_ = other.charIds_.Clone(); + skinId_ = other.skinId_; + newbies_ = other.newbies_.Clone(); + createTime_ = other.createTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AccInfo Clone() { + return new AccInfo(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "NickName" field. + public const int NickNameFieldNumber = 2; + private string nickName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Hashtag" field. + public const int HashtagFieldNumber = 3; + private uint hashtag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Hashtag { + get { return hashtag_; } + set { + hashtag_ = value; + } + } + + /// Field number for the "HeadIcon" field. + public const int HeadIconFieldNumber = 4; + private uint headIcon_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint HeadIcon { + get { return headIcon_; } + set { + headIcon_ = value; + } + } + + /// Field number for the "Gender" field. + public const int GenderFieldNumber = 5; + private bool gender_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Gender { + get { return gender_; } + set { + gender_ = value; + } + } + + /// Field number for the "Signature" field. + public const int SignatureFieldNumber = 6; + private string signature_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Signature { + get { return signature_; } + set { + signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TitlePrefix" field. + public const int TitlePrefixFieldNumber = 7; + private uint titlePrefix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitlePrefix { + get { return titlePrefix_; } + set { + titlePrefix_ = value; + } + } + + /// Field number for the "TitleSuffix" field. + public const int TitleSuffixFieldNumber = 8; + private uint titleSuffix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleSuffix { + get { return titleSuffix_; } + set { + titleSuffix_ = value; + } + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(74); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "SkinId" field. + public const int SkinIdFieldNumber = 10; + private uint skinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SkinId { + get { return skinId_; } + set { + skinId_ = value; + } + } + + /// Field number for the "Newbies" field. + public const int NewbiesFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_newbies_codec + = pb::FieldCodec.ForMessage(114, global::Proto.NewbieInfo.Parser); + private readonly pbc::RepeatedField newbies_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Newbies { + get { return newbies_; } + } + + /// Field number for the "CreateTime" field. + public const int CreateTimeFieldNumber = 15; + private long createTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AccInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AccInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NickName != other.NickName) return false; + if (Hashtag != other.Hashtag) return false; + if (HeadIcon != other.HeadIcon) return false; + if (Gender != other.Gender) return false; + if (Signature != other.Signature) return false; + if (TitlePrefix != other.TitlePrefix) return false; + if (TitleSuffix != other.TitleSuffix) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if (SkinId != other.SkinId) return false; + if(!newbies_.Equals(other.newbies_)) return false; + if (CreateTime != other.CreateTime) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (Hashtag != 0) hash ^= Hashtag.GetHashCode(); + if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); + if (Gender != false) hash ^= Gender.GetHashCode(); + if (Signature.Length != 0) hash ^= Signature.GetHashCode(); + if (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); + if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); + hash ^= charIds_.GetHashCode(); + if (SkinId != 0) hash ^= SkinId.GetHashCode(); + hash ^= newbies_.GetHashCode(); + if (CreateTime != 0L) hash ^= CreateTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (Hashtag != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Hashtag); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Gender != false) { + output.WriteRawTag(40); + output.WriteBool(Gender); + } + if (Signature.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Signature); + } + if (TitlePrefix != 0) { + output.WriteRawTag(56); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitleSuffix); + } + charIds_.WriteTo(output, _repeated_charIds_codec); + if (SkinId != 0) { + output.WriteRawTag(80); + output.WriteUInt32(SkinId); + } + newbies_.WriteTo(output, _repeated_newbies_codec); + if (CreateTime != 0L) { + output.WriteRawTag(120); + output.WriteInt64(CreateTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (Hashtag != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Hashtag); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Gender != false) { + output.WriteRawTag(40); + output.WriteBool(Gender); + } + if (Signature.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Signature); + } + if (TitlePrefix != 0) { + output.WriteRawTag(56); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitleSuffix); + } + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (SkinId != 0) { + output.WriteRawTag(80); + output.WriteUInt32(SkinId); + } + newbies_.WriteTo(ref output, _repeated_newbies_codec); + if (CreateTime != 0L) { + output.WriteRawTag(120); + output.WriteInt64(CreateTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (Hashtag != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Hashtag); + } + if (HeadIcon != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); + } + if (Gender != false) { + size += 1 + 1; + } + if (Signature.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); + } + if (TitlePrefix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); + } + if (TitleSuffix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); + } + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (SkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkinId); + } + size += newbies_.CalculateSize(_repeated_newbies_codec); + if (CreateTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreateTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AccInfo other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.Hashtag != 0) { + Hashtag = other.Hashtag; + } + if (other.HeadIcon != 0) { + HeadIcon = other.HeadIcon; + } + if (other.Gender != false) { + Gender = other.Gender; + } + if (other.Signature.Length != 0) { + Signature = other.Signature; + } + if (other.TitlePrefix != 0) { + TitlePrefix = other.TitlePrefix; + } + if (other.TitleSuffix != 0) { + TitleSuffix = other.TitleSuffix; + } + charIds_.Add(other.charIds_); + if (other.SkinId != 0) { + SkinId = other.SkinId; + } + newbies_.Add(other.newbies_); + if (other.CreateTime != 0L) { + CreateTime = other.CreateTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + Hashtag = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Gender = input.ReadBool(); + break; + } + case 50: { + Signature = input.ReadString(); + break; + } + case 56: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 64: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 74: + case 72: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 80: { + SkinId = input.ReadUInt32(); + break; + } + case 114: { + newbies_.AddEntriesFrom(input, _repeated_newbies_codec); + break; + } + case 120: { + CreateTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + Hashtag = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Gender = input.ReadBool(); + break; + } + case 50: { + Signature = input.ReadString(); + break; + } + case 56: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 64: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 74: + case 72: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 80: { + SkinId = input.ReadUInt32(); + break; + } + case 114: { + newbies_.AddEntriesFrom(ref input, _repeated_newbies_codec); + break; + } + case 120: { + CreateTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NewbieInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NewbieInfo()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[14]; } + } + + [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 NewbieInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewbieInfo(NewbieInfo other) : this() { + groupId_ = other.groupId_; + stepId_ = other.stepId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewbieInfo Clone() { + return new NewbieInfo(this); + } + + /// Field number for the "GroupId" field. + public const int GroupIdFieldNumber = 1; + private uint groupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GroupId { + get { return groupId_; } + set { + groupId_ = value; + } + } + + /// Field number for the "StepId" field. + public const int StepIdFieldNumber = 2; + private int stepId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StepId { + get { return stepId_; } + set { + stepId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 NewbieInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NewbieInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GroupId != other.GroupId) return false; + if (StepId != other.StepId) return false; + if (NextPackage != other.NextPackage) 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (StepId != 0) hash ^= StepId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(GroupId); + } + if (StepId != 0) { + output.WriteRawTag(16); + output.WriteInt32(StepId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(GroupId); + } + if (StepId != 0) { + output.WriteRawTag(16); + output.WriteInt32(StepId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId); + } + if (StepId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StepId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NewbieInfo other) { + if (other == null) { + return; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.StepId != 0) { + StepId = other.StepId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + GroupId = input.ReadUInt32(); + break; + } + case 16: { + StepId = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + GroupId = input.ReadUInt32(); + break; + } + case 16: { + StepId = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QuestProgress : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QuestProgress()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[15]; } + } + + [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 QuestProgress() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QuestProgress(QuestProgress other) : this() { + cur_ = other.cur_; + max_ = other.max_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QuestProgress Clone() { + return new QuestProgress(this); + } + + /// Field number for the "Cur" field. + public const int CurFieldNumber = 1; + private uint cur_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Cur { + get { return cur_; } + set { + cur_ = value; + } + } + + /// Field number for the "Max" field. + public const int MaxFieldNumber = 2; + private uint max_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Max { + get { return max_; } + set { + max_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 QuestProgress); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QuestProgress other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Cur != other.Cur) return false; + if (Max != other.Max) return false; + if (NextPackage != other.NextPackage) 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 (Cur != 0) hash ^= Cur.GetHashCode(); + if (Max != 0) hash ^= Max.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (Max != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Max); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (Max != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Max); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Cur); + } + if (Max != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Max); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QuestProgress other) { + if (other == null) { + return; + } + if (other.Cur != 0) { + Cur = other.Cur; + } + if (other.Max != 0) { + Max = other.Max; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Cur = input.ReadUInt32(); + break; + } + case 16: { + Max = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Cur = input.ReadUInt32(); + break; + } + case 16: { + Max = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Quest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Quest()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[16]; } + } + + [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 Quest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Quest(Quest other) : this() { + id_ = other.id_; + status_ = other.status_; + expire_ = other.expire_; + type_ = other.type_; + progress_ = other.progress_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Quest Clone() { + return new Quest(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 2; + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "Expire" field. + public const int ExpireFieldNumber = 3; + private long expire_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Expire { + get { return expire_; } + set { + expire_ = value; + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 4; + private global::Proto.QuestType type_ = global::Proto.QuestType.UnknownQuest; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.QuestType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "Progress" field. + public const int ProgressFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_progress_codec + = pb::FieldCodec.ForMessage(122, global::Proto.QuestProgress.Parser); + private readonly pbc::RepeatedField progress_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Progress { + get { return progress_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Quest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Quest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Status != other.Status) return false; + if (Expire != other.Expire) return false; + if (Type != other.Type) return false; + if(!progress_.Equals(other.progress_)) return false; + if (NextPackage != other.NextPackage) 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 (Status != 0) hash ^= Status.GetHashCode(); + if (Expire != 0L) hash ^= Expire.GetHashCode(); + if (Type != global::Proto.QuestType.UnknownQuest) hash ^= Type.GetHashCode(); + hash ^= progress_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (Expire != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Expire); + } + if (Type != global::Proto.QuestType.UnknownQuest) { + output.WriteRawTag(32); + output.WriteEnum((int) Type); + } + progress_.WriteTo(output, _repeated_progress_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (Expire != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Expire); + } + if (Type != global::Proto.QuestType.UnknownQuest) { + output.WriteRawTag(32); + output.WriteEnum((int) Type); + } + progress_.WriteTo(ref output, _repeated_progress_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (Expire != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Expire); + } + if (Type != global::Proto.QuestType.UnknownQuest) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + size += progress_.CalculateSize(_repeated_progress_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Quest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.Expire != 0L) { + Expire = other.Expire; + } + if (other.Type != global::Proto.QuestType.UnknownQuest) { + Type = other.Type; + } + progress_.Add(other.progress_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 24: { + Expire = input.ReadInt64(); + break; + } + case 32: { + Type = (global::Proto.QuestType) input.ReadEnum(); + break; + } + case 122: { + progress_.AddEntriesFrom(input, _repeated_progress_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 24: { + Expire = input.ReadInt64(); + break; + } + case 32: { + Type = (global::Proto.QuestType) input.ReadEnum(); + break; + } + case 122: { + progress_.AddEntriesFrom(ref input, _repeated_progress_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Quests : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Quests()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[17]; } + } + + [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 Quests() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Quests(Quests other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Quests Clone() { + return new Quests(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Quest.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Quests); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Quests other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Quests other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Achievement : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Achievement()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[18]; } + } + + [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 Achievement() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Achievement(Achievement other) : this() { + id_ = other.id_; + status_ = other.status_; + completed_ = other.completed_; + progress_ = other.progress_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Achievement Clone() { + return new Achievement(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 2; + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "Completed" field. + public const int CompletedFieldNumber = 3; + private long completed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Completed { + get { return completed_; } + set { + completed_ = value; + } + } + + /// Field number for the "Progress" field. + public const int ProgressFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_progress_codec + = pb::FieldCodec.ForMessage(34, global::Proto.QuestProgress.Parser); + private readonly pbc::RepeatedField progress_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Progress { + get { return progress_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Achievement); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Achievement other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Status != other.Status) return false; + if (Completed != other.Completed) return false; + if(!progress_.Equals(other.progress_)) return false; + if (NextPackage != other.NextPackage) 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 (Status != 0) hash ^= Status.GetHashCode(); + if (Completed != 0L) hash ^= Completed.GetHashCode(); + hash ^= progress_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (Completed != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Completed); + } + progress_.WriteTo(output, _repeated_progress_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + if (Completed != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Completed); + } + progress_.WriteTo(ref output, _repeated_progress_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (Completed != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Completed); + } + size += progress_.CalculateSize(_repeated_progress_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Achievement other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.Completed != 0L) { + Completed = other.Completed; + } + progress_.Add(other.progress_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 24: { + Completed = input.ReadInt64(); + break; + } + case 34: { + progress_.AddEntriesFrom(input, _repeated_progress_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 24: { + Completed = input.ReadInt64(); + break; + } + case 34: { + progress_.AddEntriesFrom(ref input, _repeated_progress_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Achievements : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Achievements()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[19]; } + } + + [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 Achievements() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Achievements(Achievements other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Achievements Clone() { + return new Achievements(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Achievement.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Achievements); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Achievements other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Achievements other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Dictionary : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Dictionary()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[20]; } + } + + [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 Dictionary() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dictionary(Dictionary other) : this() { + tabId_ = other.tabId_; + index_ = other.index_; + status_ = other.status_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dictionary Clone() { + return new Dictionary(this); + } + + /// Field number for the "TabId" field. + public const int TabIdFieldNumber = 1; + private uint tabId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TabId { + get { return tabId_; } + set { + tabId_ = value; + } + } + + /// Field number for the "Index" field. + public const int IndexFieldNumber = 2; + private uint index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return index_; } + set { + index_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 3; + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Dictionary); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Dictionary other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TabId != other.TabId) return false; + if (Index != other.Index) return false; + if (Status != other.Status) return false; + if (NextPackage != other.NextPackage) 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 (TabId != 0) hash ^= TabId.GetHashCode(); + if (Index != 0) hash ^= Index.GetHashCode(); + if (Status != 0) hash ^= Status.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (TabId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TabId); + } + if (Index != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Index); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Status); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TabId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TabId); + } + if (Index != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Index); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Status); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TabId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TabId); + } + if (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Dictionary other) { + if (other == null) { + return; + } + if (other.TabId != 0) { + TabId = other.TabId; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + TabId = input.ReadUInt32(); + break; + } + case 16: { + Index = input.ReadUInt32(); + break; + } + case 24: { + Status = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + TabId = input.ReadUInt32(); + break; + } + case 16: { + Index = input.ReadUInt32(); + break; + } + case 24: { + Status = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Dictionaries : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Dictionaries()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[21]; } + } + + [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 Dictionaries() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dictionaries(Dictionaries other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Dictionaries Clone() { + return new Dictionaries(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Dictionary.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Dictionaries); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Dictionaries other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Dictionaries other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Event : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Event()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[22]; } + } + + [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 Event() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Event(Event other) : this() { + id_ = other.id_; + data_ = other.data_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Event Clone() { + return new Event(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Data" field. + public const int DataFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_data_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField data_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Data { + get { return data_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Event); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Event other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!data_.Equals(other.data_)) return false; + if (NextPackage != other.NextPackage) 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(); + hash ^= data_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + data_.WriteTo(output, _repeated_data_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + data_.WriteTo(ref output, _repeated_data_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + size += data_.CalculateSize(_repeated_data_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Event other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + data_.Add(other.data_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 18: + case 16: { + data_.AddEntriesFrom(input, _repeated_data_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: + case 16: { + data_.AddEntriesFrom(ref input, _repeated_data_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Events : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Events()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[23]; } + } + + [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 Events() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Events(Events other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Events Clone() { + return new Events(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Event.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Events); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Events other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Events other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Mail : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Mail()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[24]; } + } + + [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 Mail() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mail(Mail other) : this() { + id_ = other.id_; + subject_ = other.subject_; + desc_ = other.desc_; + templateId_ = other.templateId_; + author_ = other.author_; + time_ = other.time_; + deadline_ = other.deadline_; + read_ = other.read_; + recv_ = other.recv_; + attachments_ = other.attachments_.Clone(); + flag_ = other.flag_; + subjectArgs_ = other.subjectArgs_.Clone(); + descArgs_ = other.descArgs_.Clone(); + surveyId_ = other.surveyId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mail Clone() { + return new Mail(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Subject" field. + public const int SubjectFieldNumber = 2; + private string subject_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Desc" field. + public const int DescFieldNumber = 3; + 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 "TemplateId" field. + public const int TemplateIdFieldNumber = 4; + private uint templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// Field number for the "Author" field. + public const int AuthorFieldNumber = 5; + private string author_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Author { + get { return author_; } + set { + author_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Time" field. + public const int TimeFieldNumber = 6; + private long time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Time { + get { return time_; } + set { + time_ = value; + } + } + + /// Field number for the "Deadline" field. + public const int DeadlineFieldNumber = 7; + private long deadline_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Deadline { + get { return deadline_; } + set { + deadline_ = value; + } + } + + /// Field number for the "Read" field. + public const int ReadFieldNumber = 8; + private bool read_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Read { + get { return read_; } + set { + read_ = value; + } + } + + /// Field number for the "Recv" field. + public const int RecvFieldNumber = 9; + private bool recv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Recv { + get { return recv_; } + set { + recv_ = value; + } + } + + /// Field number for the "Attachments" field. + public const int AttachmentsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_attachments_codec + = pb::FieldCodec.ForMessage(82, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField attachments_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Attachments { + get { return attachments_; } + } + + /// Field number for the "Flag" field. + public const int FlagFieldNumber = 11; + private ulong flag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Flag { + get { return flag_; } + set { + flag_ = value; + } + } + + /// Field number for the "SubjectArgs" field. + public const int SubjectArgsFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_subjectArgs_codec + = pb::FieldCodec.ForString(98); + private readonly pbc::RepeatedField subjectArgs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SubjectArgs { + get { return subjectArgs_; } + } + + /// Field number for the "DescArgs" field. + public const int DescArgsFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_descArgs_codec + = pb::FieldCodec.ForString(106); + private readonly pbc::RepeatedField descArgs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField DescArgs { + get { return descArgs_; } + } + + /// Field number for the "SurveyId" field. + public const int SurveyIdFieldNumber = 14; + private long surveyId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long SurveyId { + get { return surveyId_; } + set { + surveyId_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Mail); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Mail other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Subject != other.Subject) return false; + if (Desc != other.Desc) return false; + if (TemplateId != other.TemplateId) return false; + if (Author != other.Author) return false; + if (Time != other.Time) return false; + if (Deadline != other.Deadline) return false; + if (Read != other.Read) return false; + if (Recv != other.Recv) return false; + if(!attachments_.Equals(other.attachments_)) return false; + if (Flag != other.Flag) return false; + if(!subjectArgs_.Equals(other.subjectArgs_)) return false; + if(!descArgs_.Equals(other.descArgs_)) return false; + if (SurveyId != other.SurveyId) return false; + if (NextPackage != other.NextPackage) 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 (Subject.Length != 0) hash ^= Subject.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); + if (Author.Length != 0) hash ^= Author.GetHashCode(); + if (Time != 0L) hash ^= Time.GetHashCode(); + if (Deadline != 0L) hash ^= Deadline.GetHashCode(); + if (Read != false) hash ^= Read.GetHashCode(); + if (Recv != false) hash ^= Recv.GetHashCode(); + hash ^= attachments_.GetHashCode(); + if (Flag != 0UL) hash ^= Flag.GetHashCode(); + hash ^= subjectArgs_.GetHashCode(); + hash ^= descArgs_.GetHashCode(); + if (SurveyId != 0L) hash ^= SurveyId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Subject.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Subject); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (TemplateId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(TemplateId); + } + if (Author.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Author); + } + if (Time != 0L) { + output.WriteRawTag(48); + output.WriteInt64(Time); + } + if (Deadline != 0L) { + output.WriteRawTag(56); + output.WriteInt64(Deadline); + } + if (Read != false) { + output.WriteRawTag(64); + output.WriteBool(Read); + } + if (Recv != false) { + output.WriteRawTag(72); + output.WriteBool(Recv); + } + attachments_.WriteTo(output, _repeated_attachments_codec); + if (Flag != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(Flag); + } + subjectArgs_.WriteTo(output, _repeated_subjectArgs_codec); + descArgs_.WriteTo(output, _repeated_descArgs_codec); + if (SurveyId != 0L) { + output.WriteRawTag(112); + output.WriteInt64(SurveyId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Subject.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Subject); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (TemplateId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(TemplateId); + } + if (Author.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Author); + } + if (Time != 0L) { + output.WriteRawTag(48); + output.WriteInt64(Time); + } + if (Deadline != 0L) { + output.WriteRawTag(56); + output.WriteInt64(Deadline); + } + if (Read != false) { + output.WriteRawTag(64); + output.WriteBool(Read); + } + if (Recv != false) { + output.WriteRawTag(72); + output.WriteBool(Recv); + } + attachments_.WriteTo(ref output, _repeated_attachments_codec); + if (Flag != 0UL) { + output.WriteRawTag(88); + output.WriteUInt64(Flag); + } + subjectArgs_.WriteTo(ref output, _repeated_subjectArgs_codec); + descArgs_.WriteTo(ref output, _repeated_descArgs_codec); + if (SurveyId != 0L) { + output.WriteRawTag(112); + output.WriteInt64(SurveyId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Subject.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (TemplateId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TemplateId); + } + if (Author.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Author); + } + if (Time != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); + } + if (Deadline != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Deadline); + } + if (Read != false) { + size += 1 + 1; + } + if (Recv != false) { + size += 1 + 1; + } + size += attachments_.CalculateSize(_repeated_attachments_codec); + if (Flag != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Flag); + } + size += subjectArgs_.CalculateSize(_repeated_subjectArgs_codec); + size += descArgs_.CalculateSize(_repeated_descArgs_codec); + if (SurveyId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(SurveyId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Mail other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Subject.Length != 0) { + Subject = other.Subject; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.TemplateId != 0) { + TemplateId = other.TemplateId; + } + if (other.Author.Length != 0) { + Author = other.Author; + } + if (other.Time != 0L) { + Time = other.Time; + } + if (other.Deadline != 0L) { + Deadline = other.Deadline; + } + if (other.Read != false) { + Read = other.Read; + } + if (other.Recv != false) { + Recv = other.Recv; + } + attachments_.Add(other.attachments_); + if (other.Flag != 0UL) { + Flag = other.Flag; + } + subjectArgs_.Add(other.subjectArgs_); + descArgs_.Add(other.descArgs_); + if (other.SurveyId != 0L) { + SurveyId = other.SurveyId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 18: { + Subject = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + TemplateId = input.ReadUInt32(); + break; + } + case 42: { + Author = input.ReadString(); + break; + } + case 48: { + Time = input.ReadInt64(); + break; + } + case 56: { + Deadline = input.ReadInt64(); + break; + } + case 64: { + Read = input.ReadBool(); + break; + } + case 72: { + Recv = input.ReadBool(); + break; + } + case 82: { + attachments_.AddEntriesFrom(input, _repeated_attachments_codec); + break; + } + case 88: { + Flag = input.ReadUInt64(); + break; + } + case 98: { + subjectArgs_.AddEntriesFrom(input, _repeated_subjectArgs_codec); + break; + } + case 106: { + descArgs_.AddEntriesFrom(input, _repeated_descArgs_codec); + break; + } + case 112: { + SurveyId = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + Subject = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + TemplateId = input.ReadUInt32(); + break; + } + case 42: { + Author = input.ReadString(); + break; + } + case 48: { + Time = input.ReadInt64(); + break; + } + case 56: { + Deadline = input.ReadInt64(); + break; + } + case 64: { + Read = input.ReadBool(); + break; + } + case 72: { + Recv = input.ReadBool(); + break; + } + case 82: { + attachments_.AddEntriesFrom(ref input, _repeated_attachments_codec); + break; + } + case 88: { + Flag = input.ReadUInt64(); + break; + } + case 98: { + subjectArgs_.AddEntriesFrom(ref input, _repeated_subjectArgs_codec); + break; + } + case 106: { + descArgs_.AddEntriesFrom(ref input, _repeated_descArgs_codec); + break; + } + case 112: { + SurveyId = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Mails : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Mails()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[25]; } + } + + [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 Mails() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mails(Mails other) : this() { + list_ = other.list_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mails Clone() { + return new Mails(this); + } + + /// Field number for the "List" field. + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.Mail.Parser); + private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField List { + get { return list_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Mails); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Mails other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Mails other) { + if (other == null) { + return; + } + list_.Add(other.list_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MailRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MailRequest()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[26]; } + } + + [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 MailRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MailRequest(MailRequest other) : this() { + id_ = other.id_; + flag_ = other.flag_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MailRequest Clone() { + return new MailRequest(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Flag" field. + public const int FlagFieldNumber = 2; + private ulong flag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Flag { + get { return flag_; } + set { + flag_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MailRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MailRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Flag != other.Flag) return false; + if (NextPackage != other.NextPackage) 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 (Flag != 0UL) hash ^= Flag.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Flag != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Flag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Flag != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Flag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Flag != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Flag); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MailRequest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Flag != 0UL) { + Flag = other.Flag; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Flag = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Flag = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MailState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MailState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[27]; } + } + + [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 MailState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MailState(MailState other) : this() { + new_ = other.new_; + revoke_ = other.revoke_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MailState Clone() { + return new MailState(this); + } + + /// Field number for the "New" field. + public const int NewFieldNumber = 1; + private bool new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool New { + get { return new_; } + set { + new_ = value; + } + } + + /// Field number for the "Revoke" field. + public const int RevokeFieldNumber = 2; + private bool revoke_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Revoke { + get { return revoke_; } + set { + revoke_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MailState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MailState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (New != other.New) return false; + if (Revoke != other.Revoke) return false; + if (NextPackage != other.NextPackage) 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 (New != false) hash ^= New.GetHashCode(); + if (Revoke != false) hash ^= Revoke.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (New != false) { + output.WriteRawTag(8); + output.WriteBool(New); + } + if (Revoke != false) { + output.WriteRawTag(16); + output.WriteBool(Revoke); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (New != false) { + output.WriteRawTag(8); + output.WriteBool(New); + } + if (Revoke != false) { + output.WriteRawTag(16); + output.WriteBool(Revoke); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (New != false) { + size += 1 + 1; + } + if (Revoke != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MailState other) { + if (other == null) { + return; + } + if (other.New != false) { + New = other.New; + } + if (other.Revoke != false) { + Revoke = other.Revoke; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + New = input.ReadBool(); + break; + } + case 16: { + Revoke = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + New = input.ReadBool(); + break; + } + case 16: { + Revoke = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AchievementState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AchievementState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[28]; } + } + + [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 AchievementState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AchievementState(AchievementState other) : this() { + new_ = other.new_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AchievementState Clone() { + return new AchievementState(this); + } + + /// Field number for the "New" field. + public const int NewFieldNumber = 1; + private bool new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool New { + get { return new_; } + set { + new_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AchievementState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AchievementState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (New != other.New) return false; + if (NextPackage != other.NextPackage) 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 (New != false) hash ^= New.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (New != false) { + output.WriteRawTag(8); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (New != false) { + output.WriteRawTag(8); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (New != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AchievementState other) { + if (other == null) { + return; + } + if (other.New != false) { + New = other.New; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[29]; } + } + + [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 FriendState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendState(FriendState other) : this() { + id_ = other.id_; + action_ = other.action_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendState Clone() { + return new FriendState(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Action" field. + public const int ActionFieldNumber = 2; + private uint action_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Action { + get { return action_; } + set { + action_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Action != other.Action) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Action != 0) hash ^= Action.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Action != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Action); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Action != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Action); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Action != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Action); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendState other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Action != 0) { + Action = other.Action; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + Action = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + Action = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattlePassState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[30]; } + } + + [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 BattlePassState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassState(BattlePassState other) : this() { + state_ = other.state_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassState Clone() { + return new BattlePassState(this); + } + + /// Field number for the "State" field. + public const int StateFieldNumber = 1; + private int state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BattlePassState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (State != other.State) return false; + if (NextPackage != other.NextPackage) 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 (State != 0) hash ^= State.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (State != 0) { + output.WriteRawTag(8); + output.WriteInt32(State); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (State != 0) { + output.WriteRawTag(8); + output.WriteInt32(State); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (State != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(State); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassState other) { + if (other == null) { + return; + } + if (other.State != 0) { + State = other.State; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + State = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + State = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAdvanceRewardState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAdvanceRewardState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[31]; } + } + + [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 CharAdvanceRewardState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardState(CharAdvanceRewardState other) : this() { + charId_ = other.charId_; + flag_ = other.flag_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAdvanceRewardState Clone() { + return new CharAdvanceRewardState(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "Flag" field. + public const int FlagFieldNumber = 2; + private pb::ByteString flag_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Flag { + get { return flag_; } + set { + flag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAdvanceRewardState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAdvanceRewardState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (Flag != other.Flag) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Flag.Length != 0) hash ^= Flag.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Flag.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Flag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Flag.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Flag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (Flag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Flag); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAdvanceRewardState other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Flag.Length != 0) { + Flag = other.Flag; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + Flag = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + Flag = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WorldClassRewardState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WorldClassRewardState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[32]; } + } + + [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 WorldClassRewardState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassRewardState(WorldClassRewardState other) : this() { + flag_ = other.flag_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassRewardState Clone() { + return new WorldClassRewardState(this); + } + + /// Field number for the "Flag" field. + public const int FlagFieldNumber = 1; + private pb::ByteString flag_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Flag { + get { return flag_; } + set { + flag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 WorldClassRewardState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WorldClassRewardState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Flag != other.Flag) return false; + if (NextPackage != other.NextPackage) 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 (Flag.Length != 0) hash ^= Flag.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Flag.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Flag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Flag.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Flag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Flag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Flag); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WorldClassRewardState other) { + if (other == null) { + return; + } + if (other.Flag.Length != 0) { + Flag = other.Flag; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + Flag = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + Flag = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendEnergyState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FriendEnergyState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[33]; } + } + + [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 FriendEnergyState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendEnergyState(FriendEnergyState other) : this() { + state_ = other.state_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendEnergyState Clone() { + return new FriendEnergyState(this); + } + + /// Field number for the "State" field. + public const int StateFieldNumber = 1; + private bool state_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool State { + get { return state_; } + set { + state_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendEnergyState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendEnergyState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (State != other.State) return false; + if (NextPackage != other.NextPackage) 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 (State != false) hash ^= State.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (State != false) { + output.WriteRawTag(8); + output.WriteBool(State); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (State != false) { + output.WriteRawTag(8); + output.WriteBool(State); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (State != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendEnergyState other) { + if (other == null) { + return; + } + if (other.State != false) { + State = other.State; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + State = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + State = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinityRewardState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CharAffinityRewardState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[34]; } + } + + [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 CharAffinityRewardState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityRewardState(CharAffinityRewardState other) : this() { + charId_ = other.charId_; + questIds_ = other.questIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityRewardState Clone() { + return new CharAffinityRewardState(this); + } + + /// Field number for the "CharId" field. + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// Field number for the "QuestIds" field. + public const int QuestIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_questIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField questIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField QuestIds { + get { return questIds_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CharAffinityRewardState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinityRewardState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if(!questIds_.Equals(other.questIds_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + hash ^= questIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + questIds_.WriteTo(output, _repeated_questIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + questIds_.WriteTo(ref output, _repeated_questIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + size += questIds_.CalculateSize(_repeated_questIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinityRewardState other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + questIds_.Add(other.questIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 18: + case 16: { + questIds_.AddEntriesFrom(input, _repeated_questIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 18: + case 16: { + questIds_.AddEntriesFrom(ref input, _repeated_questIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[35]; } + } + + [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 StarTowerState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerState(StarTowerState other) : this() { + id_ = other.id_; + reConnection_ = other.reConnection_; + buildId_ = other.buildId_; + charIds_ = other.charIds_.Clone(); + seasonId_ = other.seasonId_; + floor_ = other.floor_; + reportId_ = other.reportId_; + sweep_ = other.sweep_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerState Clone() { + return new StarTowerState(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "ReConnection" field. + public const int ReConnectionFieldNumber = 2; + private uint reConnection_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReConnection { + get { return reConnection_; } + set { + reConnection_ = value; + } + } + + /// Field number for the "BuildId" field. + public const int BuildIdFieldNumber = 3; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "SeasonId" field. + public const int SeasonIdFieldNumber = 5; + private uint seasonId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SeasonId { + get { return seasonId_; } + set { + seasonId_ = value; + } + } + + /// Field number for the "Floor" field. + public const int FloorFieldNumber = 6; + private uint floor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Floor { + get { return floor_; } + set { + floor_ = value; + } + } + + /// Field number for the "ReportId" field. + public const int ReportIdFieldNumber = 7; + private ulong reportId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ReportId { + get { return reportId_; } + set { + reportId_ = value; + } + } + + /// Field number for the "Sweep" field. + public const int SweepFieldNumber = 15; + private bool sweep_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Sweep { + get { return sweep_; } + set { + sweep_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ReConnection != other.ReConnection) return false; + if (BuildId != other.BuildId) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if (SeasonId != other.SeasonId) return false; + if (Floor != other.Floor) return false; + if (ReportId != other.ReportId) return false; + if (Sweep != other.Sweep) return false; + if (NextPackage != other.NextPackage) 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 (ReConnection != 0) hash ^= ReConnection.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + hash ^= charIds_.GetHashCode(); + if (SeasonId != 0) hash ^= SeasonId.GetHashCode(); + if (Floor != 0) hash ^= Floor.GetHashCode(); + if (ReportId != 0UL) hash ^= ReportId.GetHashCode(); + if (Sweep != false) hash ^= Sweep.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (ReConnection != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ReConnection); + } + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + charIds_.WriteTo(output, _repeated_charIds_codec); + if (SeasonId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(SeasonId); + } + if (Floor != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Floor); + } + if (ReportId != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(ReportId); + } + if (Sweep != false) { + output.WriteRawTag(120); + output.WriteBool(Sweep); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (ReConnection != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ReConnection); + } + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (SeasonId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(SeasonId); + } + if (Floor != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Floor); + } + if (ReportId != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(ReportId); + } + if (Sweep != false) { + output.WriteRawTag(120); + output.WriteBool(Sweep); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (ReConnection != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReConnection); + } + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (SeasonId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SeasonId); + } + if (Floor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Floor); + } + if (ReportId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ReportId); + } + if (Sweep != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerState other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ReConnection != 0) { + ReConnection = other.ReConnection; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + charIds_.Add(other.charIds_); + if (other.SeasonId != 0) { + SeasonId = other.SeasonId; + } + if (other.Floor != 0) { + Floor = other.Floor; + } + if (other.ReportId != 0UL) { + ReportId = other.ReportId; + } + if (other.Sweep != false) { + Sweep = other.Sweep; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + ReConnection = input.ReadUInt32(); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 34: + case 32: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 40: { + SeasonId = input.ReadUInt32(); + break; + } + case 48: { + Floor = input.ReadUInt32(); + break; + } + case 56: { + ReportId = input.ReadUInt64(); + break; + } + case 120: { + Sweep = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + ReConnection = input.ReadUInt32(); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 34: + case 32: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 40: { + SeasonId = input.ReadUInt32(); + break; + } + case 48: { + Floor = input.ReadUInt32(); + break; + } + case 56: { + ReportId = input.ReadUInt64(); + break; + } + case 120: { + Sweep = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookState : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StarTowerBookState()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[36]; } + } + + [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 StarTowerBookState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookState(StarTowerBookState other) : this() { + charIds_ = other.charIds_.Clone(); + eventIds_ = other.eventIds_.Clone(); + bundles_ = other.bundles_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookState Clone() { + return new StarTowerBookState(this); + } + + /// Field number for the "CharIds" field. + public const int CharIdsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField charIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharIds { + get { return charIds_; } + } + + /// Field number for the "EventIds" field. + public const int EventIdsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_eventIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField eventIds_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField EventIds { + get { return eventIds_; } + } + + /// Field number for the "Bundles" field. + public const int BundlesFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_bundles_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField bundles_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Bundles { + get { return bundles_; } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!charIds_.Equals(other.charIds_)) return false; + if(!eventIds_.Equals(other.eventIds_)) return false; + if(!bundles_.Equals(other.bundles_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= charIds_.GetHashCode(); + hash ^= eventIds_.GetHashCode(); + hash ^= bundles_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + charIds_.WriteTo(output, _repeated_charIds_codec); + eventIds_.WriteTo(output, _repeated_eventIds_codec); + bundles_.WriteTo(output, _repeated_bundles_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + charIds_.WriteTo(ref output, _repeated_charIds_codec); + eventIds_.WriteTo(ref output, _repeated_eventIds_codec); + bundles_.WriteTo(ref output, _repeated_bundles_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += charIds_.CalculateSize(_repeated_charIds_codec); + size += eventIds_.CalculateSize(_repeated_eventIds_codec); + size += bundles_.CalculateSize(_repeated_bundles_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookState other) { + if (other == null) { + return; + } + charIds_.Add(other.charIds_); + eventIds_.Add(other.eventIds_); + bundles_.Add(other.bundles_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 18: + case 16: { + eventIds_.AddEntriesFrom(input, _repeated_eventIds_codec); + break; + } + case 26: + case 24: { + bundles_.AddEntriesFrom(input, _repeated_bundles_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 18: + case 16: { + eventIds_.AddEntriesFrom(ref input, _repeated_eventIds_codec); + break; + } + case 26: + case 24: { + bundles_.AddEntriesFrom(ref input, _repeated_bundles_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StateInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StateInfo()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[37]; } + } + + [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 StateInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateInfo(StateInfo other) : this() { + mail_ = other.mail_ != null ? other.mail_.Clone() : null; + infinityTower_ = other.infinityTower_; + friend_ = other.friend_; + battlePass_ = other.battlePass_ != null ? other.battlePass_.Clone() : null; + worldClassReward_ = other.worldClassReward_ != null ? other.worldClassReward_.Clone() : null; + charAdvanceRewards_ = other.charAdvanceRewards_.Clone(); + friendEnergy_ = other.friendEnergy_ != null ? other.friendEnergy_.Clone() : null; + charAffinityRewards_ = other.charAffinityRewards_.Clone(); + mallPackage_ = other.mallPackage_ != null ? other.mallPackage_.Clone() : null; + achievement_ = other.achievement_ != null ? other.achievement_.Clone() : null; + travelerDuelQuest_ = other.travelerDuelQuest_ != null ? other.travelerDuelQuest_.Clone() : null; + travelerDuelChallengeQuest_ = other.travelerDuelChallengeQuest_ != null ? other.travelerDuelChallengeQuest_.Clone() : null; + starTower_ = other.starTower_ != null ? other.starTower_.Clone() : null; + starTowerBook_ = other.starTowerBook_ != null ? other.starTowerBook_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StateInfo Clone() { + return new StateInfo(this); + } + + /// Field number for the "Mail" field. + public const int MailFieldNumber = 1; + private global::Proto.MailState mail_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.MailState Mail { + get { return mail_; } + set { + mail_ = value; + } + } + + /// Field number for the "InfinityTower" field. + public const int InfinityTowerFieldNumber = 2; + private bool infinityTower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool InfinityTower { + get { return infinityTower_; } + set { + infinityTower_ = value; + } + } + + /// Field number for the "Friend" field. + public const int FriendFieldNumber = 3; + private bool friend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Friend { + get { return friend_; } + set { + friend_ = value; + } + } + + /// Field number for the "BattlePass" field. + public const int BattlePassFieldNumber = 4; + private global::Proto.BattlePassState battlePass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.BattlePassState BattlePass { + get { return battlePass_; } + set { + battlePass_ = value; + } + } + + /// Field number for the "WorldClassReward" field. + public const int WorldClassRewardFieldNumber = 5; + private global::Proto.WorldClassRewardState worldClassReward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.WorldClassRewardState WorldClassReward { + get { return worldClassReward_; } + set { + worldClassReward_ = value; + } + } + + /// Field number for the "CharAdvanceRewards" field. + public const int CharAdvanceRewardsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_charAdvanceRewards_codec + = pb::FieldCodec.ForMessage(50, global::Proto.CharAdvanceRewardState.Parser); + private readonly pbc::RepeatedField charAdvanceRewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharAdvanceRewards { + get { return charAdvanceRewards_; } + } + + /// Field number for the "FriendEnergy" field. + public const int FriendEnergyFieldNumber = 7; + private global::Proto.FriendEnergyState friendEnergy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.FriendEnergyState FriendEnergy { + get { return friendEnergy_; } + set { + friendEnergy_ = value; + } + } + + /// Field number for the "CharAffinityRewards" field. + public const int CharAffinityRewardsFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_charAffinityRewards_codec + = pb::FieldCodec.ForMessage(66, global::Proto.CharAffinityRewardState.Parser); + private readonly pbc::RepeatedField charAffinityRewards_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField CharAffinityRewards { + get { return charAffinityRewards_; } + } + + /// Field number for the "MallPackage" field. + public const int MallPackageFieldNumber = 10; + private global::Proto.MallPackageState mallPackage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.MallPackageState MallPackage { + get { return mallPackage_; } + set { + mallPackage_ = value; + } + } + + /// Field number for the "Achievement" field. + public const int AchievementFieldNumber = 15; + private global::Proto.AchievementState achievement_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.AchievementState Achievement { + get { return achievement_; } + set { + achievement_ = value; + } + } + + /// Field number for the "TravelerDuelQuest" field. + public const int TravelerDuelQuestFieldNumber = 16; + private global::Proto.QuestState travelerDuelQuest_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.QuestState TravelerDuelQuest { + get { return travelerDuelQuest_; } + set { + travelerDuelQuest_ = value; + } + } + + /// Field number for the "TravelerDuelChallengeQuest" field. + public const int TravelerDuelChallengeQuestFieldNumber = 17; + private global::Proto.QuestState travelerDuelChallengeQuest_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.QuestState TravelerDuelChallengeQuest { + get { return travelerDuelChallengeQuest_; } + set { + travelerDuelChallengeQuest_ = value; + } + } + + /// Field number for the "StarTower" field. + public const int StarTowerFieldNumber = 18; + private global::Proto.StarTowerState starTower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerState StarTower { + get { return starTower_; } + set { + starTower_ = value; + } + } + + /// Field number for the "StarTowerBook" field. + public const int StarTowerBookFieldNumber = 19; + private global::Proto.StarTowerBookState starTowerBook_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBookState StarTowerBook { + get { return starTowerBook_; } + set { + starTowerBook_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StateInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StateInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Mail, other.Mail)) return false; + if (InfinityTower != other.InfinityTower) return false; + if (Friend != other.Friend) return false; + if (!object.Equals(BattlePass, other.BattlePass)) return false; + if (!object.Equals(WorldClassReward, other.WorldClassReward)) return false; + if(!charAdvanceRewards_.Equals(other.charAdvanceRewards_)) return false; + if (!object.Equals(FriendEnergy, other.FriendEnergy)) return false; + if(!charAffinityRewards_.Equals(other.charAffinityRewards_)) return false; + if (!object.Equals(MallPackage, other.MallPackage)) return false; + if (!object.Equals(Achievement, other.Achievement)) return false; + if (!object.Equals(TravelerDuelQuest, other.TravelerDuelQuest)) return false; + if (!object.Equals(TravelerDuelChallengeQuest, other.TravelerDuelChallengeQuest)) return false; + if (!object.Equals(StarTower, other.StarTower)) return false; + if (!object.Equals(StarTowerBook, other.StarTowerBook)) return false; + if (NextPackage != other.NextPackage) 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 (mail_ != null) hash ^= Mail.GetHashCode(); + if (InfinityTower != false) hash ^= InfinityTower.GetHashCode(); + if (Friend != false) hash ^= Friend.GetHashCode(); + if (battlePass_ != null) hash ^= BattlePass.GetHashCode(); + if (worldClassReward_ != null) hash ^= WorldClassReward.GetHashCode(); + hash ^= charAdvanceRewards_.GetHashCode(); + if (friendEnergy_ != null) hash ^= FriendEnergy.GetHashCode(); + hash ^= charAffinityRewards_.GetHashCode(); + if (mallPackage_ != null) hash ^= MallPackage.GetHashCode(); + if (achievement_ != null) hash ^= Achievement.GetHashCode(); + if (travelerDuelQuest_ != null) hash ^= TravelerDuelQuest.GetHashCode(); + if (travelerDuelChallengeQuest_ != null) hash ^= TravelerDuelChallengeQuest.GetHashCode(); + if (starTower_ != null) hash ^= StarTower.GetHashCode(); + if (starTowerBook_ != null) hash ^= StarTowerBook.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (mail_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Mail); + } + if (InfinityTower != false) { + output.WriteRawTag(16); + output.WriteBool(InfinityTower); + } + if (Friend != false) { + output.WriteRawTag(24); + output.WriteBool(Friend); + } + if (battlePass_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BattlePass); + } + if (worldClassReward_ != null) { + output.WriteRawTag(42); + output.WriteMessage(WorldClassReward); + } + charAdvanceRewards_.WriteTo(output, _repeated_charAdvanceRewards_codec); + if (friendEnergy_ != null) { + output.WriteRawTag(58); + output.WriteMessage(FriendEnergy); + } + charAffinityRewards_.WriteTo(output, _repeated_charAffinityRewards_codec); + if (mallPackage_ != null) { + output.WriteRawTag(82); + output.WriteMessage(MallPackage); + } + if (achievement_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Achievement); + } + if (travelerDuelQuest_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(TravelerDuelQuest); + } + if (travelerDuelChallengeQuest_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(TravelerDuelChallengeQuest); + } + if (starTower_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(StarTower); + } + if (starTowerBook_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(StarTowerBook); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (mail_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Mail); + } + if (InfinityTower != false) { + output.WriteRawTag(16); + output.WriteBool(InfinityTower); + } + if (Friend != false) { + output.WriteRawTag(24); + output.WriteBool(Friend); + } + if (battlePass_ != null) { + output.WriteRawTag(34); + output.WriteMessage(BattlePass); + } + if (worldClassReward_ != null) { + output.WriteRawTag(42); + output.WriteMessage(WorldClassReward); + } + charAdvanceRewards_.WriteTo(ref output, _repeated_charAdvanceRewards_codec); + if (friendEnergy_ != null) { + output.WriteRawTag(58); + output.WriteMessage(FriendEnergy); + } + charAffinityRewards_.WriteTo(ref output, _repeated_charAffinityRewards_codec); + if (mallPackage_ != null) { + output.WriteRawTag(82); + output.WriteMessage(MallPackage); + } + if (achievement_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Achievement); + } + if (travelerDuelQuest_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(TravelerDuelQuest); + } + if (travelerDuelChallengeQuest_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(TravelerDuelChallengeQuest); + } + if (starTower_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(StarTower); + } + if (starTowerBook_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(StarTowerBook); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (mail_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Mail); + } + if (InfinityTower != false) { + size += 1 + 1; + } + if (Friend != false) { + size += 1 + 1; + } + if (battlePass_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattlePass); + } + if (worldClassReward_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(WorldClassReward); + } + size += charAdvanceRewards_.CalculateSize(_repeated_charAdvanceRewards_codec); + if (friendEnergy_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FriendEnergy); + } + size += charAffinityRewards_.CalculateSize(_repeated_charAffinityRewards_codec); + if (mallPackage_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MallPackage); + } + if (achievement_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Achievement); + } + if (travelerDuelQuest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(TravelerDuelQuest); + } + if (travelerDuelChallengeQuest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(TravelerDuelChallengeQuest); + } + if (starTower_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StarTower); + } + if (starTowerBook_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StarTowerBook); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StateInfo other) { + if (other == null) { + return; + } + if (other.mail_ != null) { + if (mail_ == null) { + Mail = new global::Proto.MailState(); + } + Mail.MergeFrom(other.Mail); + } + if (other.InfinityTower != false) { + InfinityTower = other.InfinityTower; + } + if (other.Friend != false) { + Friend = other.Friend; + } + if (other.battlePass_ != null) { + if (battlePass_ == null) { + BattlePass = new global::Proto.BattlePassState(); + } + BattlePass.MergeFrom(other.BattlePass); + } + if (other.worldClassReward_ != null) { + if (worldClassReward_ == null) { + WorldClassReward = new global::Proto.WorldClassRewardState(); + } + WorldClassReward.MergeFrom(other.WorldClassReward); + } + charAdvanceRewards_.Add(other.charAdvanceRewards_); + if (other.friendEnergy_ != null) { + if (friendEnergy_ == null) { + FriendEnergy = new global::Proto.FriendEnergyState(); + } + FriendEnergy.MergeFrom(other.FriendEnergy); + } + charAffinityRewards_.Add(other.charAffinityRewards_); + if (other.mallPackage_ != null) { + if (mallPackage_ == null) { + MallPackage = new global::Proto.MallPackageState(); + } + MallPackage.MergeFrom(other.MallPackage); + } + if (other.achievement_ != null) { + if (achievement_ == null) { + Achievement = new global::Proto.AchievementState(); + } + Achievement.MergeFrom(other.Achievement); + } + if (other.travelerDuelQuest_ != null) { + if (travelerDuelQuest_ == null) { + TravelerDuelQuest = new global::Proto.QuestState(); + } + TravelerDuelQuest.MergeFrom(other.TravelerDuelQuest); + } + if (other.travelerDuelChallengeQuest_ != null) { + if (travelerDuelChallengeQuest_ == null) { + TravelerDuelChallengeQuest = new global::Proto.QuestState(); + } + TravelerDuelChallengeQuest.MergeFrom(other.TravelerDuelChallengeQuest); + } + if (other.starTower_ != null) { + if (starTower_ == null) { + StarTower = new global::Proto.StarTowerState(); + } + StarTower.MergeFrom(other.StarTower); + } + if (other.starTowerBook_ != null) { + if (starTowerBook_ == null) { + StarTowerBook = new global::Proto.StarTowerBookState(); + } + StarTowerBook.MergeFrom(other.StarTowerBook); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (mail_ == null) { + Mail = new global::Proto.MailState(); + } + input.ReadMessage(Mail); + break; + } + case 16: { + InfinityTower = input.ReadBool(); + break; + } + case 24: { + Friend = input.ReadBool(); + break; + } + case 34: { + if (battlePass_ == null) { + BattlePass = new global::Proto.BattlePassState(); + } + input.ReadMessage(BattlePass); + break; + } + case 42: { + if (worldClassReward_ == null) { + WorldClassReward = new global::Proto.WorldClassRewardState(); + } + input.ReadMessage(WorldClassReward); + break; + } + case 50: { + charAdvanceRewards_.AddEntriesFrom(input, _repeated_charAdvanceRewards_codec); + break; + } + case 58: { + if (friendEnergy_ == null) { + FriendEnergy = new global::Proto.FriendEnergyState(); + } + input.ReadMessage(FriendEnergy); + break; + } + case 66: { + charAffinityRewards_.AddEntriesFrom(input, _repeated_charAffinityRewards_codec); + break; + } + case 82: { + if (mallPackage_ == null) { + MallPackage = new global::Proto.MallPackageState(); + } + input.ReadMessage(MallPackage); + break; + } + case 122: { + if (achievement_ == null) { + Achievement = new global::Proto.AchievementState(); + } + input.ReadMessage(Achievement); + break; + } + case 130: { + if (travelerDuelQuest_ == null) { + TravelerDuelQuest = new global::Proto.QuestState(); + } + input.ReadMessage(TravelerDuelQuest); + break; + } + case 138: { + if (travelerDuelChallengeQuest_ == null) { + TravelerDuelChallengeQuest = new global::Proto.QuestState(); + } + input.ReadMessage(TravelerDuelChallengeQuest); + break; + } + case 146: { + if (starTower_ == null) { + StarTower = new global::Proto.StarTowerState(); + } + input.ReadMessage(StarTower); + break; + } + case 154: { + if (starTowerBook_ == null) { + StarTowerBook = new global::Proto.StarTowerBookState(); + } + input.ReadMessage(StarTowerBook); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (mail_ == null) { + Mail = new global::Proto.MailState(); + } + input.ReadMessage(Mail); + break; + } + case 16: { + InfinityTower = input.ReadBool(); + break; + } + case 24: { + Friend = input.ReadBool(); + break; + } + case 34: { + if (battlePass_ == null) { + BattlePass = new global::Proto.BattlePassState(); + } + input.ReadMessage(BattlePass); + break; + } + case 42: { + if (worldClassReward_ == null) { + WorldClassReward = new global::Proto.WorldClassRewardState(); + } + input.ReadMessage(WorldClassReward); + break; + } + case 50: { + charAdvanceRewards_.AddEntriesFrom(ref input, _repeated_charAdvanceRewards_codec); + break; + } + case 58: { + if (friendEnergy_ == null) { + FriendEnergy = new global::Proto.FriendEnergyState(); + } + input.ReadMessage(FriendEnergy); + break; + } + case 66: { + charAffinityRewards_.AddEntriesFrom(ref input, _repeated_charAffinityRewards_codec); + break; + } + case 82: { + if (mallPackage_ == null) { + MallPackage = new global::Proto.MallPackageState(); + } + input.ReadMessage(MallPackage); + break; + } + case 122: { + if (achievement_ == null) { + Achievement = new global::Proto.AchievementState(); + } + input.ReadMessage(Achievement); + break; + } + case 130: { + if (travelerDuelQuest_ == null) { + TravelerDuelQuest = new global::Proto.QuestState(); + } + input.ReadMessage(TravelerDuelQuest); + break; + } + case 138: { + if (travelerDuelChallengeQuest_ == null) { + TravelerDuelChallengeQuest = new global::Proto.QuestState(); + } + input.ReadMessage(TravelerDuelChallengeQuest); + break; + } + case 146: { + if (starTower_ == null) { + StarTower = new global::Proto.StarTowerState(); + } + input.ReadMessage(StarTower); + break; + } + case 154: { + if (starTowerBook_ == null) { + StarTowerBook = new global::Proto.StarTowerBookState(); + } + input.ReadMessage(StarTowerBook); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ItemTpl : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ItemTpl()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[38]; } + } + + [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 ItemTpl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemTpl(ItemTpl other) : this() { + tid_ = other.tid_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemTpl Clone() { + return new ItemTpl(this); + } + + /// Field number for the "Tid" field. + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// Field number for the "Qty" field. + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ItemTpl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ItemTpl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ItemTpl other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Item : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Item()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[39]; } + } + + [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 Item() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Item(Item other) : this() { + id_ = other.id_; + tid_ = other.tid_; + qty_ = other.qty_; + expire_ = other.expire_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Item Clone() { + return new Item(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// Field number for the "Tid" field. + public const int TidFieldNumber = 2; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// Field number for the "Qty" field. + public const int QtyFieldNumber = 3; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// Field number for the "Expire" field. + public const int ExpireFieldNumber = 4; + private long expire_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Expire { + get { return expire_; } + set { + expire_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Item); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Item other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (Expire != other.Expire) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (Expire != 0L) hash ^= Expire.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Qty); + } + if (Expire != 0L) { + output.WriteRawTag(32); + output.WriteInt64(Expire); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Qty); + } + if (Expire != 0L) { + output.WriteRawTag(32); + output.WriteInt64(Expire); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (Expire != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Expire); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Item other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.Expire != 0L) { + Expire = other.Expire; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + Qty = input.ReadInt32(); + break; + } + case 32: { + Expire = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + Qty = input.ReadInt32(); + break; + } + case 32: { + Expire = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Res : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Res()); + 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::Proto.PublicReflection.Descriptor.MessageTypes[40]; } + } + + [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 Res() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Res(Res other) : this() { + tid_ = other.tid_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Res Clone() { + return new Res(this); + } + + /// Field number for the "Tid" field. + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// Field number for the "Qty" field. + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// Field number for the "NextPackage" field. + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Res); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Res other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Res other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Title : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Title> _parser = new pb::MessageParser<Title>(() => new Title()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Title> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[41]; } + } + + [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 Title() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Title(Title other) : this() { + titleId_ = other.titleId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Title Clone() { + return new Title(this); + } + + /// <summary>Field number for the "TitleId" field.</summary> + public const int TitleIdFieldNumber = 1; + private uint titleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleId { + get { return titleId_; } + set { + titleId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Title); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Title other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TitleId != other.TitleId) return false; + if (NextPackage != other.NextPackage) 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 (TitleId != 0) hash ^= TitleId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (TitleId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TitleId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TitleId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(TitleId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TitleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Title other) { + if (other == null) { + return; + } + if (other.TitleId != 0) { + TitleId = other.TitleId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + TitleId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + TitleId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Char : pb::IMessage<Char> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Char> _parser = new pb::MessageParser<Char>(() => new Char()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Char> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[42]; } + } + + [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 Char() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Char(Char other) : this() { + tid_ = other.tid_; + exp_ = other.exp_; + datingLandmarkIds_ = other.datingLandmarkIds_.Clone(); + datingEventIds_ = other.datingEventIds_.Clone(); + datingEventRewardIds_ = other.datingEventRewardIds_.Clone(); + equipmentIds_ = other.equipmentIds_.Clone(); + level_ = other.level_; + skillLvs_ = other.skillLvs_.Clone(); + skin_ = other.skin_; + affinityLevel_ = other.affinityLevel_; + affinityExp_ = other.affinityExp_; + advance_ = other.advance_; + plots_ = other.plots_.Clone(); + affinityQuests_ = other.affinityQuests_ != null ? other.affinityQuests_.Clone() : null; + talentNodes_ = other.talentNodes_; + createTime_ = other.createTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Char Clone() { + return new Char(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "DatingLandmarkIds" field.</summary> + public const int DatingLandmarkIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_datingLandmarkIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> datingLandmarkIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> DatingLandmarkIds { + get { return datingLandmarkIds_; } + } + + /// <summary>Field number for the "DatingEventIds" field.</summary> + public const int DatingEventIdsFieldNumber = 4; + private static readonly pb::FieldCodec<uint> _repeated_datingEventIds_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField<uint> datingEventIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> DatingEventIds { + get { return datingEventIds_; } + } + + /// <summary>Field number for the "DatingEventRewardIds" field.</summary> + public const int DatingEventRewardIdsFieldNumber = 5; + private static readonly pb::FieldCodec<uint> _repeated_datingEventRewardIds_codec + = pb::FieldCodec.ForUInt32(42); + private readonly pbc::RepeatedField<uint> datingEventRewardIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> DatingEventRewardIds { + get { return datingEventRewardIds_; } + } + + /// <summary>Field number for the "EquipmentIds" field.</summary> + public const int EquipmentIdsFieldNumber = 6; + private static readonly pb::FieldCodec<ulong> _repeated_equipmentIds_codec + = pb::FieldCodec.ForUInt64(50); + private readonly pbc::RepeatedField<ulong> equipmentIds_ = new pbc::RepeatedField<ulong>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<ulong> EquipmentIds { + get { return equipmentIds_; } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 9; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "SkillLvs" field.</summary> + public const int SkillLvsFieldNumber = 10; + private static readonly pb::FieldCodec<uint> _repeated_skillLvs_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField<uint> skillLvs_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> SkillLvs { + get { return skillLvs_; } + } + + /// <summary>Field number for the "Skin" field.</summary> + public const int SkinFieldNumber = 12; + private uint skin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Skin { + get { return skin_; } + set { + skin_ = value; + } + } + + /// <summary>Field number for the "AffinityLevel" field.</summary> + public const int AffinityLevelFieldNumber = 13; + private uint affinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AffinityLevel { + get { return affinityLevel_; } + set { + affinityLevel_ = value; + } + } + + /// <summary>Field number for the "AffinityExp" field.</summary> + public const int AffinityExpFieldNumber = 14; + private uint affinityExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AffinityExp { + get { return affinityExp_; } + set { + affinityExp_ = value; + } + } + + /// <summary>Field number for the "Advance" field.</summary> + public const int AdvanceFieldNumber = 15; + private uint advance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Advance { + get { return advance_; } + set { + advance_ = value; + } + } + + /// <summary>Field number for the "Plots" field.</summary> + public const int PlotsFieldNumber = 16; + private static readonly pb::FieldCodec<uint> _repeated_plots_codec + = pb::FieldCodec.ForUInt32(130); + private readonly pbc::RepeatedField<uint> plots_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Plots { + get { return plots_; } + } + + /// <summary>Field number for the "AffinityQuests" field.</summary> + public const int AffinityQuestsFieldNumber = 17; + private global::Proto.Quests affinityQuests_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Quests AffinityQuests { + get { return affinityQuests_; } + set { + affinityQuests_ = value; + } + } + + /// <summary>Field number for the "TalentNodes" field.</summary> + public const int TalentNodesFieldNumber = 19; + private pb::ByteString talentNodes_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString TalentNodes { + get { return talentNodes_; } + set { + talentNodes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CreateTime" field.</summary> + public const int CreateTimeFieldNumber = 127; + private long createTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Char); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Char other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Exp != other.Exp) return false; + if(!datingLandmarkIds_.Equals(other.datingLandmarkIds_)) return false; + if(!datingEventIds_.Equals(other.datingEventIds_)) return false; + if(!datingEventRewardIds_.Equals(other.datingEventRewardIds_)) return false; + if(!equipmentIds_.Equals(other.equipmentIds_)) return false; + if (Level != other.Level) return false; + if(!skillLvs_.Equals(other.skillLvs_)) return false; + if (Skin != other.Skin) return false; + if (AffinityLevel != other.AffinityLevel) return false; + if (AffinityExp != other.AffinityExp) return false; + if (Advance != other.Advance) return false; + if(!plots_.Equals(other.plots_)) return false; + if (!object.Equals(AffinityQuests, other.AffinityQuests)) return false; + if (TalentNodes != other.TalentNodes) return false; + if (CreateTime != other.CreateTime) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + hash ^= datingLandmarkIds_.GetHashCode(); + hash ^= datingEventIds_.GetHashCode(); + hash ^= datingEventRewardIds_.GetHashCode(); + hash ^= equipmentIds_.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + hash ^= skillLvs_.GetHashCode(); + if (Skin != 0) hash ^= Skin.GetHashCode(); + if (AffinityLevel != 0) hash ^= AffinityLevel.GetHashCode(); + if (AffinityExp != 0) hash ^= AffinityExp.GetHashCode(); + if (Advance != 0) hash ^= Advance.GetHashCode(); + hash ^= plots_.GetHashCode(); + if (affinityQuests_ != null) hash ^= AffinityQuests.GetHashCode(); + if (TalentNodes.Length != 0) hash ^= TalentNodes.GetHashCode(); + if (CreateTime != 0L) hash ^= CreateTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + datingLandmarkIds_.WriteTo(output, _repeated_datingLandmarkIds_codec); + datingEventIds_.WriteTo(output, _repeated_datingEventIds_codec); + datingEventRewardIds_.WriteTo(output, _repeated_datingEventRewardIds_codec); + equipmentIds_.WriteTo(output, _repeated_equipmentIds_codec); + if (Level != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Level); + } + skillLvs_.WriteTo(output, _repeated_skillLvs_codec); + if (Skin != 0) { + output.WriteRawTag(96); + output.WriteUInt32(Skin); + } + if (AffinityLevel != 0) { + output.WriteRawTag(104); + output.WriteUInt32(AffinityLevel); + } + if (AffinityExp != 0) { + output.WriteRawTag(112); + output.WriteUInt32(AffinityExp); + } + if (Advance != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Advance); + } + plots_.WriteTo(output, _repeated_plots_codec); + if (affinityQuests_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(AffinityQuests); + } + if (TalentNodes.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteBytes(TalentNodes); + } + if (CreateTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(CreateTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + datingLandmarkIds_.WriteTo(ref output, _repeated_datingLandmarkIds_codec); + datingEventIds_.WriteTo(ref output, _repeated_datingEventIds_codec); + datingEventRewardIds_.WriteTo(ref output, _repeated_datingEventRewardIds_codec); + equipmentIds_.WriteTo(ref output, _repeated_equipmentIds_codec); + if (Level != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Level); + } + skillLvs_.WriteTo(ref output, _repeated_skillLvs_codec); + if (Skin != 0) { + output.WriteRawTag(96); + output.WriteUInt32(Skin); + } + if (AffinityLevel != 0) { + output.WriteRawTag(104); + output.WriteUInt32(AffinityLevel); + } + if (AffinityExp != 0) { + output.WriteRawTag(112); + output.WriteUInt32(AffinityExp); + } + if (Advance != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Advance); + } + plots_.WriteTo(ref output, _repeated_plots_codec); + if (affinityQuests_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(AffinityQuests); + } + if (TalentNodes.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteBytes(TalentNodes); + } + if (CreateTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(CreateTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + size += datingLandmarkIds_.CalculateSize(_repeated_datingLandmarkIds_codec); + size += datingEventIds_.CalculateSize(_repeated_datingEventIds_codec); + size += datingEventRewardIds_.CalculateSize(_repeated_datingEventRewardIds_codec); + size += equipmentIds_.CalculateSize(_repeated_equipmentIds_codec); + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + size += skillLvs_.CalculateSize(_repeated_skillLvs_codec); + if (Skin != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Skin); + } + if (AffinityLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AffinityLevel); + } + if (AffinityExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AffinityExp); + } + if (Advance != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Advance); + } + size += plots_.CalculateSize(_repeated_plots_codec); + if (affinityQuests_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AffinityQuests); + } + if (TalentNodes.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(TalentNodes); + } + if (CreateTime != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(CreateTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Char other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + datingLandmarkIds_.Add(other.datingLandmarkIds_); + datingEventIds_.Add(other.datingEventIds_); + datingEventRewardIds_.Add(other.datingEventRewardIds_); + equipmentIds_.Add(other.equipmentIds_); + if (other.Level != 0) { + Level = other.Level; + } + skillLvs_.Add(other.skillLvs_); + if (other.Skin != 0) { + Skin = other.Skin; + } + if (other.AffinityLevel != 0) { + AffinityLevel = other.AffinityLevel; + } + if (other.AffinityExp != 0) { + AffinityExp = other.AffinityExp; + } + if (other.Advance != 0) { + Advance = other.Advance; + } + plots_.Add(other.plots_); + if (other.affinityQuests_ != null) { + if (affinityQuests_ == null) { + AffinityQuests = new global::Proto.Quests(); + } + AffinityQuests.MergeFrom(other.AffinityQuests); + } + if (other.TalentNodes.Length != 0) { + TalentNodes = other.TalentNodes; + } + if (other.CreateTime != 0L) { + CreateTime = other.CreateTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: + case 24: { + datingLandmarkIds_.AddEntriesFrom(input, _repeated_datingLandmarkIds_codec); + break; + } + case 34: + case 32: { + datingEventIds_.AddEntriesFrom(input, _repeated_datingEventIds_codec); + break; + } + case 42: + case 40: { + datingEventRewardIds_.AddEntriesFrom(input, _repeated_datingEventRewardIds_codec); + break; + } + case 50: + case 48: { + equipmentIds_.AddEntriesFrom(input, _repeated_equipmentIds_codec); + break; + } + case 72: { + Level = input.ReadUInt32(); + break; + } + case 82: + case 80: { + skillLvs_.AddEntriesFrom(input, _repeated_skillLvs_codec); + break; + } + case 96: { + Skin = input.ReadUInt32(); + break; + } + case 104: { + AffinityLevel = input.ReadUInt32(); + break; + } + case 112: { + AffinityExp = input.ReadUInt32(); + break; + } + case 120: { + Advance = input.ReadUInt32(); + break; + } + case 130: + case 128: { + plots_.AddEntriesFrom(input, _repeated_plots_codec); + break; + } + case 138: { + if (affinityQuests_ == null) { + AffinityQuests = new global::Proto.Quests(); + } + input.ReadMessage(AffinityQuests); + break; + } + case 154: { + TalentNodes = input.ReadBytes(); + break; + } + case 1016: { + CreateTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: + case 24: { + datingLandmarkIds_.AddEntriesFrom(ref input, _repeated_datingLandmarkIds_codec); + break; + } + case 34: + case 32: { + datingEventIds_.AddEntriesFrom(ref input, _repeated_datingEventIds_codec); + break; + } + case 42: + case 40: { + datingEventRewardIds_.AddEntriesFrom(ref input, _repeated_datingEventRewardIds_codec); + break; + } + case 50: + case 48: { + equipmentIds_.AddEntriesFrom(ref input, _repeated_equipmentIds_codec); + break; + } + case 72: { + Level = input.ReadUInt32(); + break; + } + case 82: + case 80: { + skillLvs_.AddEntriesFrom(ref input, _repeated_skillLvs_codec); + break; + } + case 96: { + Skin = input.ReadUInt32(); + break; + } + case 104: { + AffinityLevel = input.ReadUInt32(); + break; + } + case 112: { + AffinityExp = input.ReadUInt32(); + break; + } + case 120: { + Advance = input.ReadUInt32(); + break; + } + case 130: + case 128: { + plots_.AddEntriesFrom(ref input, _repeated_plots_codec); + break; + } + case 138: { + if (affinityQuests_ == null) { + AffinityQuests = new global::Proto.Quests(); + } + input.ReadMessage(AffinityQuests); + break; + } + case 154: { + TalentNodes = input.ReadBytes(); + break; + } + case 1016: { + CreateTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Energy : pb::IMessage<Energy> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Energy> _parser = new pb::MessageParser<Energy>(() => new Energy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Energy> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[43]; } + } + + [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 Energy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Energy(Energy other) : this() { + cur_ = other.cur_; + next_ = other.next_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Energy Clone() { + return new Energy(this); + } + + /// <summary>Field number for the "Cur" field.</summary> + public const int CurFieldNumber = 1; + private uint cur_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Cur { + get { return cur_; } + set { + cur_ = value; + } + } + + /// <summary>Field number for the "Next" field.</summary> + public const int NextFieldNumber = 2; + private long next_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Next { + get { return next_; } + set { + next_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Energy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Energy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Cur != other.Cur) return false; + if (Next != other.Next) return false; + if (NextPackage != other.NextPackage) 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 (Cur != 0) hash ^= Cur.GetHashCode(); + if (Next != 0L) hash ^= Next.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (Next != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Next); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (Next != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Next); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Cur); + } + if (Next != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Next); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Energy other) { + if (other == null) { + return; + } + if (other.Cur != 0) { + Cur = other.Cur; + } + if (other.Next != 0L) { + Next = other.Next; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Cur = input.ReadUInt32(); + break; + } + case 16: { + Next = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Cur = input.ReadUInt32(); + break; + } + case 16: { + Next = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WorldClass : pb::IMessage<WorldClass> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<WorldClass> _parser = new pb::MessageParser<WorldClass>(() => new WorldClass()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<WorldClass> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[44]; } + } + + [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 WorldClass() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClass(WorldClass other) : this() { + addClass_ = other.addClass_; + expChange_ = other.expChange_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClass Clone() { + return new WorldClass(this); + } + + /// <summary>Field number for the "AddClass" field.</summary> + public const int AddClassFieldNumber = 1; + private uint addClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AddClass { + get { return addClass_; } + set { + addClass_ = value; + } + } + + /// <summary>Field number for the "ExpChange" field.</summary> + public const int ExpChangeFieldNumber = 2; + private int expChange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExpChange { + get { return expChange_; } + set { + expChange_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 WorldClass); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WorldClass other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AddClass != other.AddClass) return false; + if (ExpChange != other.ExpChange) return false; + if (NextPackage != other.NextPackage) 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 (AddClass != 0) hash ^= AddClass.GetHashCode(); + if (ExpChange != 0) hash ^= ExpChange.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (AddClass != 0) { + output.WriteRawTag(8); + output.WriteUInt32(AddClass); + } + if (ExpChange != 0) { + output.WriteRawTag(16); + output.WriteInt32(ExpChange); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (AddClass != 0) { + output.WriteRawTag(8); + output.WriteUInt32(AddClass); + } + if (ExpChange != 0) { + output.WriteRawTag(16); + output.WriteInt32(ExpChange); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (AddClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AddClass); + } + if (ExpChange != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpChange); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WorldClass other) { + if (other == null) { + return; + } + if (other.AddClass != 0) { + AddClass = other.AddClass; + } + if (other.ExpChange != 0) { + ExpChange = other.ExpChange; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + AddClass = input.ReadUInt32(); + break; + } + case 16: { + ExpChange = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + AddClass = input.ReadUInt32(); + break; + } + case 16: { + ExpChange = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Equipment : pb::IMessage<Equipment> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Equipment> _parser = new pb::MessageParser<Equipment>(() => new Equipment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Equipment> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[45]; } + } + + [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 Equipment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Equipment(Equipment other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Equipment Clone() { + return new Equipment(this); + } + + /// <summary>Field number for the "Info" field.</summary> + public const int InfoFieldNumber = 1; + private global::Proto.EquipmentInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.EquipmentInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Equipment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Equipment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Equipment other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.EquipmentInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.EquipmentInfo(); + } + input.ReadMessage(Info); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.EquipmentInfo(); + } + input.ReadMessage(Info); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [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::Proto.PublicReflection.Descriptor.MessageTypes[46]; } + } + + [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_; + level_ = other.level_; + exp_ = other.exp_; + phase_ = other.phase_; + star_ = other.star_; + read_ = other.read_; + createTime_ = other.createTime_; + nextPackage_ = other.nextPackage_; + _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 uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 3; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "Phase" field.</summary> + public const int PhaseFieldNumber = 4; + private uint phase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Phase { + get { return phase_; } + set { + phase_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 5; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "Read" field.</summary> + public const int ReadFieldNumber = 6; + private bool read_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Read { + get { return read_; } + set { + read_ = value; + } + } + + /// <summary>Field number for the "CreateTime" field.</summary> + public const int CreateTimeFieldNumber = 15; + private long createTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CreateTime { + get { return createTime_; } + set { + createTime_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 (Level != other.Level) return false; + if (Exp != other.Exp) return false; + if (Phase != other.Phase) return false; + if (Star != other.Star) return false; + if (Read != other.Read) return false; + if (CreateTime != other.CreateTime) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (Phase != 0) hash ^= Phase.GetHashCode(); + if (Star != 0) hash ^= Star.GetHashCode(); + if (Read != false) hash ^= Read.GetHashCode(); + if (CreateTime != 0L) hash ^= CreateTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (Phase != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Phase); + } + if (Star != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Star); + } + if (Read != false) { + output.WriteRawTag(48); + output.WriteBool(Read); + } + if (CreateTime != 0L) { + output.WriteRawTag(120); + output.WriteInt64(CreateTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (Phase != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Phase); + } + if (Star != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Star); + } + if (Read != false) { + output.WriteRawTag(48); + output.WriteBool(Read); + } + if (CreateTime != 0L) { + output.WriteRawTag(120); + output.WriteInt64(CreateTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (Phase != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (Read != false) { + size += 1 + 1; + } + if (CreateTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreateTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + 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.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Phase != 0) { + Phase = other.Phase; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.Read != false) { + Read = other.Read; + } + if (other.CreateTime != 0L) { + CreateTime = other.CreateTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 32: { + Phase = input.ReadUInt32(); + break; + } + case 40: { + Star = input.ReadUInt32(); + break; + } + case 48: { + Read = input.ReadBool(); + break; + } + case 120: { + CreateTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 32: { + Phase = input.ReadUInt32(); + break; + } + case 40: { + Star = input.ReadUInt32(); + break; + } + case 48: { + Read = input.ReadBool(); + break; + } + case 120: { + CreateTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Transform : pb::IMessage<Transform> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Transform> _parser = new pb::MessageParser<Transform>(() => new Transform()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Transform> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[47]; } + } + + [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 Transform() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transform(Transform other) : this() { + src_ = other.src_.Clone(); + dst_ = other.dst_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Transform Clone() { + return new Transform(this); + } + + /// <summary>Field number for the "Src" field.</summary> + public const int SrcFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_src_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> src_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Src { + get { return src_; } + } + + /// <summary>Field number for the "Dst" field.</summary> + public const int DstFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_dst_codec + = pb::FieldCodec.ForMessage(18, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> dst_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Dst { + get { return dst_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Transform); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Transform other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!src_.Equals(other.src_)) return false; + if(!dst_.Equals(other.dst_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= src_.GetHashCode(); + hash ^= dst_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + src_.WriteTo(output, _repeated_src_codec); + dst_.WriteTo(output, _repeated_dst_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + src_.WriteTo(ref output, _repeated_src_codec); + dst_.WriteTo(ref output, _repeated_dst_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += src_.CalculateSize(_repeated_src_codec); + size += dst_.CalculateSize(_repeated_dst_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Transform other) { + if (other == null) { + return; + } + src_.Add(other.src_); + dst_.Add(other.dst_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + src_.AddEntriesFrom(input, _repeated_src_codec); + break; + } + case 18: { + dst_.AddEntriesFrom(input, _repeated_dst_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + src_.AddEntriesFrom(ref input, _repeated_src_codec); + break; + } + case 18: { + dst_.AddEntriesFrom(ref input, _repeated_dst_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankTicket : pb::IMessage<StarTowerRankTicket> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankTicket> _parser = new pb::MessageParser<StarTowerRankTicket>(() => new StarTowerRankTicket()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankTicket> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[48]; } + } + + [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 StarTowerRankTicket() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankTicket(StarTowerRankTicket other) : this() { + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankTicket Clone() { + return new StarTowerRankTicket(this); + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 1; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerRankTicket); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankTicket other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Qty != 0) { + output.WriteRawTag(8); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Qty != 0) { + output.WriteRawTag(8); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankTicket other) { + if (other == null) { + return; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Honor : pb::IMessage<Honor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Honor> _parser = new pb::MessageParser<Honor>(() => new Honor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Honor> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[49]; } + } + + [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 Honor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Honor(Honor other) : this() { + newId_ = other.newId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Honor Clone() { + return new Honor(this); + } + + /// <summary>Field number for the "NewId" field.</summary> + public const int NewIdFieldNumber = 1; + private uint newId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint NewId { + get { return newId_; } + set { + newId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Honor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Honor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NewId != other.NewId) return false; + if (NextPackage != other.NextPackage) 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 (NewId != 0) hash ^= NewId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (NewId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(NewId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NewId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(NewId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NewId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NewId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Honor other) { + if (other == null) { + return; + } + if (other.NewId != 0) { + NewId = other.NewId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + NewId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + NewId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ChangeInfo : pb::IMessage<ChangeInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ChangeInfo> _parser = new pb::MessageParser<ChangeInfo>(() => new ChangeInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ChangeInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[50]; } + } + + [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 ChangeInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChangeInfo(ChangeInfo other) : this() { + props_ = other.props_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ChangeInfo Clone() { + return new ChangeInfo(this); + } + + /// <summary>Field number for the "Props" field.</summary> + public const int PropsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_props_codec + = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.Any.Parser); + private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> props_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> Props { + get { return props_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ChangeInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ChangeInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!props_.Equals(other.props_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= props_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + props_.WriteTo(output, _repeated_props_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + props_.WriteTo(ref output, _repeated_props_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += props_.CalculateSize(_repeated_props_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ChangeInfo other) { + if (other == null) { + return; + } + props_.Add(other.props_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + props_.AddEntriesFrom(input, _repeated_props_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + props_.AddEntriesFrom(ref input, _repeated_props_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormationInfo : pb::IMessage<FormationInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FormationInfo> _parser = new pb::MessageParser<FormationInfo>(() => new FormationInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FormationInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[51]; } + } + + [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 FormationInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormationInfo(FormationInfo other) : this() { + number_ = other.number_; + charIds_ = other.charIds_.Clone(); + discIds_ = other.discIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormationInfo Clone() { + return new FormationInfo(this); + } + + /// <summary>Field number for the "Number" field.</summary> + public const int NumberFieldNumber = 1; + private uint number_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Number { + get { return number_; } + set { + number_ = value; + } + } + + /// <summary>Field number for the "CharIds" field.</summary> + public const int CharIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> charIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> CharIds { + get { return charIds_; } + } + + /// <summary>Field number for the "DiscIds" field.</summary> + public const int DiscIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_discIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> discIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> DiscIds { + get { return discIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FormationInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormationInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Number != other.Number) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if(!discIds_.Equals(other.discIds_)) return false; + if (NextPackage != other.NextPackage) 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 (Number != 0) hash ^= Number.GetHashCode(); + hash ^= charIds_.GetHashCode(); + hash ^= discIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Number != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Number); + } + charIds_.WriteTo(output, _repeated_charIds_codec); + discIds_.WriteTo(output, _repeated_discIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Number != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Number); + } + charIds_.WriteTo(ref output, _repeated_charIds_codec); + discIds_.WriteTo(ref output, _repeated_discIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Number != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Number); + } + size += charIds_.CalculateSize(_repeated_charIds_codec); + size += discIds_.CalculateSize(_repeated_discIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormationInfo other) { + if (other == null) { + return; + } + if (other.Number != 0) { + Number = other.Number; + } + charIds_.Add(other.charIds_); + discIds_.Add(other.discIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Number = input.ReadUInt32(); + break; + } + case 18: + case 16: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 26: + case 24: { + discIds_.AddEntriesFrom(input, _repeated_discIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Number = input.ReadUInt32(); + break; + } + case 18: + case 16: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 26: + case 24: { + discIds_.AddEntriesFrom(ref input, _repeated_discIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormationRecord : pb::IMessage<FormationRecord> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FormationRecord> _parser = new pb::MessageParser<FormationRecord>(() => new FormationRecord()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FormationRecord> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[52]; } + } + + [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 FormationRecord() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormationRecord(FormationRecord other) : this() { + groupId_ = other.groupId_; + number_ = other.number_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormationRecord Clone() { + return new FormationRecord(this); + } + + /// <summary>Field number for the "GroupId" field.</summary> + public const int GroupIdFieldNumber = 1; + private uint groupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GroupId { + get { return groupId_; } + set { + groupId_ = value; + } + } + + /// <summary>Field number for the "Number" field.</summary> + public const int NumberFieldNumber = 2; + private uint number_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Number { + get { return number_; } + set { + number_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FormationRecord); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormationRecord other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GroupId != other.GroupId) return false; + if (Number != other.Number) return false; + if (NextPackage != other.NextPackage) 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (Number != 0) hash ^= Number.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(GroupId); + } + if (Number != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(GroupId); + } + if (Number != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId); + } + if (Number != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Number); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormationRecord other) { + if (other == null) { + return; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Number != 0) { + Number = other.Number; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + GroupId = input.ReadUInt32(); + break; + } + case 16: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + GroupId = input.ReadUInt32(); + break; + } + case 16: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerFormation : pb::IMessage<TowerFormation> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerFormation> _parser = new pb::MessageParser<TowerFormation>(() => new TowerFormation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerFormation> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[53]; } + } + + [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 TowerFormation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerFormation(TowerFormation other) : this() { + info_ = other.info_.Clone(); + record_ = other.record_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerFormation Clone() { + return new TowerFormation(this); + } + + /// <summary>Field number for the "Info" field.</summary> + public const int InfoFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.FormationInfo> _repeated_info_codec + = pb::FieldCodec.ForMessage(10, global::Proto.FormationInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.FormationInfo> info_ = new pbc::RepeatedField<global::Proto.FormationInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.FormationInfo> Info { + get { return info_; } + } + + /// <summary>Field number for the "Record" field.</summary> + public const int RecordFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.FormationRecord> _repeated_record_codec + = pb::FieldCodec.ForMessage(18, global::Proto.FormationRecord.Parser); + private readonly pbc::RepeatedField<global::Proto.FormationRecord> record_ = new pbc::RepeatedField<global::Proto.FormationRecord>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.FormationRecord> Record { + get { return record_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerFormation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerFormation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!info_.Equals(other.info_)) return false; + if(!record_.Equals(other.record_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= info_.GetHashCode(); + hash ^= record_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + info_.WriteTo(output, _repeated_info_codec); + record_.WriteTo(output, _repeated_record_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + info_.WriteTo(ref output, _repeated_info_codec); + record_.WriteTo(ref output, _repeated_record_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += info_.CalculateSize(_repeated_info_codec); + size += record_.CalculateSize(_repeated_record_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerFormation other) { + if (other == null) { + return; + } + info_.Add(other.info_); + record_.Add(other.record_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + info_.AddEntriesFrom(input, _repeated_info_codec); + break; + } + case 18: { + record_.AddEntriesFrom(input, _repeated_record_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + info_.AddEntriesFrom(ref input, _repeated_info_codec); + break; + } + case 18: { + record_.AddEntriesFrom(ref input, _repeated_record_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryChoice : pb::IMessage<StoryChoice> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryChoice> _parser = new pb::MessageParser<StoryChoice>(() => new StoryChoice()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryChoice> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[54]; } + } + + [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 StoryChoice() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryChoice(StoryChoice other) : this() { + group_ = other.group_; + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryChoice Clone() { + return new StoryChoice(this); + } + + /// <summary>Field number for the "Group" field.</summary> + public const int GroupFieldNumber = 1; + private uint group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "Value" field.</summary> + public const int ValueFieldNumber = 2; + private uint value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Value { + get { return value_; } + set { + value_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StoryChoice); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryChoice other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Group != other.Group) return false; + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Group != 0) hash ^= Group.GetHashCode(); + if (Value != 0) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Group != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Group); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Group != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Group); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Group); + } + if (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryChoice other) { + if (other == null) { + return; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Group = input.ReadUInt32(); + break; + } + case 16: { + Value = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Group = input.ReadUInt32(); + break; + } + case 16: { + Value = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Story : pb::IMessage<Story> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Story> _parser = new pb::MessageParser<Story>(() => new Story()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Story> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[55]; } + } + + [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 Story() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Story(Story other) : this() { + idx_ = other.idx_; + major_ = other.major_.Clone(); + personality_ = other.personality_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Story Clone() { + return new Story(this); + } + + /// <summary>Field number for the "Idx" field.</summary> + public const int IdxFieldNumber = 1; + private uint idx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Idx { + get { return idx_; } + set { + idx_ = value; + } + } + + /// <summary>Field number for the "Major" field.</summary> + public const int MajorFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.StoryChoice> _repeated_major_codec + = pb::FieldCodec.ForMessage(18, global::Proto.StoryChoice.Parser); + private readonly pbc::RepeatedField<global::Proto.StoryChoice> major_ = new pbc::RepeatedField<global::Proto.StoryChoice>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StoryChoice> Major { + get { return major_; } + } + + /// <summary>Field number for the "Personality" field.</summary> + public const int PersonalityFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.StoryChoice> _repeated_personality_codec + = pb::FieldCodec.ForMessage(26, global::Proto.StoryChoice.Parser); + private readonly pbc::RepeatedField<global::Proto.StoryChoice> personality_ = new pbc::RepeatedField<global::Proto.StoryChoice>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StoryChoice> Personality { + get { return personality_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Story); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Story other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Idx != other.Idx) return false; + if(!major_.Equals(other.major_)) return false; + if(!personality_.Equals(other.personality_)) return false; + if (NextPackage != other.NextPackage) 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 (Idx != 0) hash ^= Idx.GetHashCode(); + hash ^= major_.GetHashCode(); + hash ^= personality_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Idx != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Idx); + } + major_.WriteTo(output, _repeated_major_codec); + personality_.WriteTo(output, _repeated_personality_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Idx != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Idx); + } + major_.WriteTo(ref output, _repeated_major_codec); + personality_.WriteTo(ref output, _repeated_personality_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Idx != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx); + } + size += major_.CalculateSize(_repeated_major_codec); + size += personality_.CalculateSize(_repeated_personality_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Story other) { + if (other == null) { + return; + } + if (other.Idx != 0) { + Idx = other.Idx; + } + major_.Add(other.major_); + personality_.Add(other.personality_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Idx = input.ReadUInt32(); + break; + } + case 18: { + major_.AddEntriesFrom(input, _repeated_major_codec); + break; + } + case 26: { + personality_.AddEntriesFrom(input, _repeated_personality_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Idx = input.ReadUInt32(); + break; + } + case 18: { + major_.AddEntriesFrom(ref input, _repeated_major_codec); + break; + } + case 26: { + personality_.AddEntriesFrom(ref input, _repeated_personality_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryInfo : pb::IMessage<StoryInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryInfo> _parser = new pb::MessageParser<StoryInfo>(() => new StoryInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[56]; } + } + + [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 StoryInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryInfo(StoryInfo other) : this() { + evidences_ = other.evidences_.Clone(); + stories_ = other.stories_.Clone(); + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryInfo Clone() { + return new StoryInfo(this); + } + + /// <summary>Field number for the "Evidences" field.</summary> + public const int EvidencesFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_evidences_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> evidences_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Evidences { + get { return evidences_; } + } + + /// <summary>Field number for the "Stories" field.</summary> + public const int StoriesFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.Story> _repeated_stories_codec + = pb::FieldCodec.ForMessage(18, global::Proto.Story.Parser); + private readonly pbc::RepeatedField<global::Proto.Story> stories_ = new pbc::RepeatedField<global::Proto.Story>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.Story> Stories { + get { return stories_; } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 3; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StoryInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!evidences_.Equals(other.evidences_)) return false; + if(!stories_.Equals(other.stories_)) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= evidences_.GetHashCode(); + hash ^= stories_.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + evidences_.WriteTo(output, _repeated_evidences_codec); + stories_.WriteTo(output, _repeated_stories_codec); + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + evidences_.WriteTo(ref output, _repeated_evidences_codec); + stories_.WriteTo(ref output, _repeated_stories_codec); + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += evidences_.CalculateSize(_repeated_evidences_codec); + size += stories_.CalculateSize(_repeated_stories_codec); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryInfo other) { + if (other == null) { + return; + } + evidences_.Add(other.evidences_); + stories_.Add(other.stories_); + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + evidences_.AddEntriesFrom(input, _repeated_evidences_codec); + break; + } + case 18: { + stories_.AddEntriesFrom(input, _repeated_stories_codec); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + evidences_.AddEntriesFrom(ref input, _repeated_evidences_codec); + break; + } + case 18: { + stories_.AddEntriesFrom(ref input, _repeated_stories_codec); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RoomRestored : pb::IMessage<RoomRestored> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RoomRestored> _parser = new pb::MessageParser<RoomRestored>(() => new RoomRestored()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RoomRestored> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[57]; } + } + + [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 RoomRestored() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomRestored(RoomRestored other) : this() { + roomId_ = other.roomId_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomRestored Clone() { + return new RoomRestored(this); + } + + /// <summary>Field number for the "RoomId" field.</summary> + public const int RoomIdFieldNumber = 1; + private uint roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RoomRestored); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RoomRestored other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (RoomId != 0) hash ^= RoomId.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (RoomId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(RoomId); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (RoomId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(RoomId); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (RoomId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomId); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RoomRestored other) { + if (other == null) { + return; + } + if (other.RoomId != 0) { + RoomId = other.RoomId; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + RoomId = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + RoomId = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DropPkg : pb::IMessage<DropPkg> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DropPkg> _parser = new pb::MessageParser<DropPkg>(() => new DropPkg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DropPkg> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[58]; } + } + + [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 DropPkg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropPkg(DropPkg other) : this() { + drops_ = other.drops_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropPkg Clone() { + return new DropPkg(this); + } + + /// <summary>Field number for the "Drops" field.</summary> + public const int DropsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_drops_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> drops_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Drops { + get { return drops_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DropPkg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DropPkg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!drops_.Equals(other.drops_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= drops_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + drops_.WriteTo(output, _repeated_drops_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + drops_.WriteTo(ref output, _repeated_drops_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += drops_.CalculateSize(_repeated_drops_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DropPkg other) { + if (other == null) { + return; + } + drops_.Add(other.drops_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + drops_.AddEntriesFrom(input, _repeated_drops_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + drops_.AddEntriesFrom(ref input, _repeated_drops_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterDrop : pb::IMessage<MonsterDrop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterDrop> _parser = new pb::MessageParser<MonsterDrop>(() => new MonsterDrop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterDrop> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[59]; } + } + + [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 MonsterDrop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterDrop(MonsterDrop other) : this() { + monsterIndex_ = other.monsterIndex_; + dropPkgs_ = other.dropPkgs_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterDrop Clone() { + return new MonsterDrop(this); + } + + /// <summary>Field number for the "MonsterIndex" field.</summary> + public const int MonsterIndexFieldNumber = 1; + private uint monsterIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MonsterIndex { + get { return monsterIndex_; } + set { + monsterIndex_ = value; + } + } + + /// <summary>Field number for the "DropPkgs" field.</summary> + public const int DropPkgsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.DropPkg> _repeated_dropPkgs_codec + = pb::FieldCodec.ForMessage(18, global::Proto.DropPkg.Parser); + private readonly pbc::RepeatedField<global::Proto.DropPkg> dropPkgs_ = new pbc::RepeatedField<global::Proto.DropPkg>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.DropPkg> DropPkgs { + get { return dropPkgs_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MonsterDrop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterDrop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MonsterIndex != other.MonsterIndex) return false; + if(!dropPkgs_.Equals(other.dropPkgs_)) return false; + if (NextPackage != other.NextPackage) 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 (MonsterIndex != 0) hash ^= MonsterIndex.GetHashCode(); + hash ^= dropPkgs_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (MonsterIndex != 0) { + output.WriteRawTag(8); + output.WriteUInt32(MonsterIndex); + } + dropPkgs_.WriteTo(output, _repeated_dropPkgs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (MonsterIndex != 0) { + output.WriteRawTag(8); + output.WriteUInt32(MonsterIndex); + } + dropPkgs_.WriteTo(ref output, _repeated_dropPkgs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (MonsterIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MonsterIndex); + } + size += dropPkgs_.CalculateSize(_repeated_dropPkgs_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterDrop other) { + if (other == null) { + return; + } + if (other.MonsterIndex != 0) { + MonsterIndex = other.MonsterIndex; + } + dropPkgs_.Add(other.dropPkgs_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + MonsterIndex = input.ReadUInt32(); + break; + } + case 18: { + dropPkgs_.AddEntriesFrom(input, _repeated_dropPkgs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + MonsterIndex = input.ReadUInt32(); + break; + } + case 18: { + dropPkgs_.AddEntriesFrom(ref input, _repeated_dropPkgs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WorldClassUpdate : pb::IMessage<WorldClassUpdate> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<WorldClassUpdate> _parser = new pb::MessageParser<WorldClassUpdate>(() => new WorldClassUpdate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<WorldClassUpdate> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[60]; } + } + + [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 WorldClassUpdate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassUpdate(WorldClassUpdate other) : this() { + cur_ = other.cur_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClassUpdate Clone() { + return new WorldClassUpdate(this); + } + + /// <summary>Field number for the "Cur" field.</summary> + public const int CurFieldNumber = 1; + private uint cur_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Cur { + get { return cur_; } + set { + cur_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 WorldClassUpdate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WorldClassUpdate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Cur != other.Cur) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (Cur != 0) hash ^= Cur.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Cur); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Cur != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Cur); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WorldClassUpdate other) { + if (other == null) { + return; + } + if (other.Cur != 0) { + Cur = other.Cur; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Cur = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Cur = input.ReadUInt32(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ItemInfo : pb::IMessage<ItemInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ItemInfo> _parser = new pb::MessageParser<ItemInfo>(() => new ItemInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ItemInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[61]; } + } + + [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 ItemInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemInfo(ItemInfo other) : this() { + id_ = other.id_; + tid_ = other.tid_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemInfo Clone() { + return new ItemInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 2; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 3; + private uint qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ItemInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ItemInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ItemInfo other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + Qty = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + Qty = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevel : pb::IMessage<RegionBossLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevel> _parser = new pb::MessageParser<RegionBossLevel>(() => new RegionBossLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevel> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[62]; } + } + + [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 RegionBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevel(RegionBossLevel other) : this() { + id_ = other.id_; + star_ = other.star_; + first_ = other.first_; + threeStar_ = other.threeStar_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevel Clone() { + return new RegionBossLevel(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 2; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "First" field.</summary> + public const int FirstFieldNumber = 3; + private bool first_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool First { + get { return first_; } + set { + first_ = value; + } + } + + /// <summary>Field number for the "ThreeStar" field.</summary> + public const int ThreeStarFieldNumber = 4; + private bool threeStar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ThreeStar { + get { return threeStar_; } + set { + threeStar_ = value; + } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 5; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RegionBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Star != other.Star) return false; + if (First != other.First) return false; + if (ThreeStar != other.ThreeStar) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (First != false) hash ^= First.GetHashCode(); + if (ThreeStar != false) hash ^= ThreeStar.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (First != false) { + output.WriteRawTag(24); + output.WriteBool(First); + } + if (ThreeStar != false) { + output.WriteRawTag(32); + output.WriteBool(ThreeStar); + } + if (BuildId != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (First != false) { + output.WriteRawTag(24); + output.WriteBool(First); + } + if (ThreeStar != false) { + output.WriteRawTag(32); + output.WriteBool(ThreeStar); + } + if (BuildId != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (First != false) { + size += 1 + 1; + } + if (ThreeStar != false) { + size += 1 + 1; + } + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.First != false) { + First = other.First; + } + if (other.ThreeStar != false) { + ThreeStar = other.ThreeStar; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 24: { + First = input.ReadBool(); + break; + } + case 32: { + ThreeStar = input.ReadBool(); + break; + } + case 40: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 24: { + First = input.ReadBool(); + break; + } + case 32: { + ThreeStar = input.ReadBool(); + break; + } + case 40: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Friend : pb::IMessage<Friend> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Friend> _parser = new pb::MessageParser<Friend>(() => new Friend()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Friend> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[63]; } + } + + [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 Friend() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Friend(Friend other) : this() { + id_ = other.id_; + nickName_ = other.nickName_; + hashtag_ = other.hashtag_; + headIcon_ = other.headIcon_; + lastLoginTime_ = other.lastLoginTime_; + worldClass_ = other.worldClass_; + titlePrefix_ = other.titlePrefix_; + titleSuffix_ = other.titleSuffix_; + signature_ = other.signature_; + charIds_ = other.charIds_.Clone(); + honors_ = other.honors_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Friend Clone() { + return new Friend(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "NickName" field.</summary> + public const int NickNameFieldNumber = 2; + private string nickName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Hashtag" field.</summary> + public const int HashtagFieldNumber = 3; + private uint hashtag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Hashtag { + get { return hashtag_; } + set { + hashtag_ = value; + } + } + + /// <summary>Field number for the "HeadIcon" field.</summary> + public const int HeadIconFieldNumber = 4; + private uint headIcon_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint HeadIcon { + get { return headIcon_; } + set { + headIcon_ = value; + } + } + + /// <summary>Field number for the "LastLoginTime" field.</summary> + public const int LastLoginTimeFieldNumber = 5; + private long lastLoginTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastLoginTime { + get { return lastLoginTime_; } + set { + lastLoginTime_ = value; + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 6; + private uint worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "TitlePrefix" field.</summary> + public const int TitlePrefixFieldNumber = 7; + private uint titlePrefix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitlePrefix { + get { return titlePrefix_; } + set { + titlePrefix_ = value; + } + } + + /// <summary>Field number for the "TitleSuffix" field.</summary> + public const int TitleSuffixFieldNumber = 8; + private uint titleSuffix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleSuffix { + get { return titleSuffix_; } + set { + titleSuffix_ = value; + } + } + + /// <summary>Field number for the "Signature" field.</summary> + public const int SignatureFieldNumber = 9; + private string signature_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Signature { + get { return signature_; } + set { + signature_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharIds" field.</summary> + public const int CharIdsFieldNumber = 10; + private static readonly pb::FieldCodec<uint> _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField<uint> charIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> CharIds { + get { return charIds_; } + } + + /// <summary>Field number for the "Honors" field.</summary> + public const int HonorsFieldNumber = 15; + private static readonly pb::FieldCodec<global::Proto.HonorInfo> _repeated_honors_codec + = pb::FieldCodec.ForMessage(122, global::Proto.HonorInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.HonorInfo> honors_ = new pbc::RepeatedField<global::Proto.HonorInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.HonorInfo> Honors { + get { return honors_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Friend); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Friend other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NickName != other.NickName) return false; + if (Hashtag != other.Hashtag) return false; + if (HeadIcon != other.HeadIcon) return false; + if (LastLoginTime != other.LastLoginTime) return false; + if (WorldClass != other.WorldClass) return false; + if (TitlePrefix != other.TitlePrefix) return false; + if (TitleSuffix != other.TitleSuffix) return false; + if (Signature != other.Signature) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if(!honors_.Equals(other.honors_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (Hashtag != 0) hash ^= Hashtag.GetHashCode(); + if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); + if (LastLoginTime != 0L) hash ^= LastLoginTime.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); + if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); + if (Signature.Length != 0) hash ^= Signature.GetHashCode(); + hash ^= charIds_.GetHashCode(); + hash ^= honors_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (Hashtag != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Hashtag); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (LastLoginTime != 0L) { + output.WriteRawTag(40); + output.WriteInt64(LastLoginTime); + } + if (WorldClass != 0) { + output.WriteRawTag(48); + output.WriteUInt32(WorldClass); + } + if (TitlePrefix != 0) { + output.WriteRawTag(56); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitleSuffix); + } + if (Signature.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Signature); + } + charIds_.WriteTo(output, _repeated_charIds_codec); + honors_.WriteTo(output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (Hashtag != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Hashtag); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (LastLoginTime != 0L) { + output.WriteRawTag(40); + output.WriteInt64(LastLoginTime); + } + if (WorldClass != 0) { + output.WriteRawTag(48); + output.WriteUInt32(WorldClass); + } + if (TitlePrefix != 0) { + output.WriteRawTag(56); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitleSuffix); + } + if (Signature.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Signature); + } + charIds_.WriteTo(ref output, _repeated_charIds_codec); + honors_.WriteTo(ref output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (Hashtag != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Hashtag); + } + if (HeadIcon != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); + } + if (LastLoginTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastLoginTime); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldClass); + } + if (TitlePrefix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); + } + if (TitleSuffix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); + } + if (Signature.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Signature); + } + size += charIds_.CalculateSize(_repeated_charIds_codec); + size += honors_.CalculateSize(_repeated_honors_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Friend other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.Hashtag != 0) { + Hashtag = other.Hashtag; + } + if (other.HeadIcon != 0) { + HeadIcon = other.HeadIcon; + } + if (other.LastLoginTime != 0L) { + LastLoginTime = other.LastLoginTime; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.TitlePrefix != 0) { + TitlePrefix = other.TitlePrefix; + } + if (other.TitleSuffix != 0) { + TitleSuffix = other.TitleSuffix; + } + if (other.Signature.Length != 0) { + Signature = other.Signature; + } + charIds_.Add(other.charIds_); + honors_.Add(other.honors_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + Hashtag = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + LastLoginTime = input.ReadInt64(); + break; + } + case 48: { + WorldClass = input.ReadUInt32(); + break; + } + case 56: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 64: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 74: { + Signature = input.ReadString(); + break; + } + case 82: + case 80: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 122: { + honors_.AddEntriesFrom(input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + Hashtag = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + LastLoginTime = input.ReadInt64(); + break; + } + case 48: { + WorldClass = input.ReadUInt32(); + break; + } + case 56: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 64: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 74: { + Signature = input.ReadString(); + break; + } + case 82: + case 80: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 122: { + honors_.AddEntriesFrom(ref input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FriendDetail : pb::IMessage<FriendDetail> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FriendDetail> _parser = new pb::MessageParser<FriendDetail>(() => new FriendDetail()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FriendDetail> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[64]; } + } + + [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 FriendDetail() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendDetail(FriendDetail other) : this() { + base_ = other.base_ != null ? other.base_.Clone() : null; + star_ = other.star_; + sendEnergy_ = other.sendEnergy_; + getEnergy_ = other.getEnergy_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FriendDetail Clone() { + return new FriendDetail(this); + } + + /// <summary>Field number for the "Base" field.</summary> + public const int BaseFieldNumber = 1; + private global::Proto.Friend base_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Friend Base { + get { return base_; } + set { + base_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 2; + private bool star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "SendEnergy" field.</summary> + public const int SendEnergyFieldNumber = 3; + private bool sendEnergy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SendEnergy { + get { return sendEnergy_; } + set { + sendEnergy_ = value; + } + } + + /// <summary>Field number for the "GetEnergy" field.</summary> + public const int GetEnergyFieldNumber = 4; + private uint getEnergy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GetEnergy { + get { return getEnergy_; } + set { + getEnergy_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FriendDetail); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FriendDetail other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Base, other.Base)) return false; + if (Star != other.Star) return false; + if (SendEnergy != other.SendEnergy) return false; + if (GetEnergy != other.GetEnergy) return false; + if (NextPackage != other.NextPackage) 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 (base_ != null) hash ^= Base.GetHashCode(); + if (Star != false) hash ^= Star.GetHashCode(); + if (SendEnergy != false) hash ^= SendEnergy.GetHashCode(); + if (GetEnergy != 0) hash ^= GetEnergy.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (base_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Base); + } + if (Star != false) { + output.WriteRawTag(16); + output.WriteBool(Star); + } + if (SendEnergy != false) { + output.WriteRawTag(24); + output.WriteBool(SendEnergy); + } + if (GetEnergy != 0) { + output.WriteRawTag(32); + output.WriteUInt32(GetEnergy); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (base_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Base); + } + if (Star != false) { + output.WriteRawTag(16); + output.WriteBool(Star); + } + if (SendEnergy != false) { + output.WriteRawTag(24); + output.WriteBool(SendEnergy); + } + if (GetEnergy != 0) { + output.WriteRawTag(32); + output.WriteUInt32(GetEnergy); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (base_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Base); + } + if (Star != false) { + size += 1 + 1; + } + if (SendEnergy != false) { + size += 1 + 1; + } + if (GetEnergy != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GetEnergy); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FriendDetail other) { + if (other == null) { + return; + } + if (other.base_ != null) { + if (base_ == null) { + Base = new global::Proto.Friend(); + } + Base.MergeFrom(other.Base); + } + if (other.Star != false) { + Star = other.Star; + } + if (other.SendEnergy != false) { + SendEnergy = other.SendEnergy; + } + if (other.GetEnergy != 0) { + GetEnergy = other.GetEnergy; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (base_ == null) { + Base = new global::Proto.Friend(); + } + input.ReadMessage(Base); + break; + } + case 16: { + Star = input.ReadBool(); + break; + } + case 24: { + SendEnergy = input.ReadBool(); + break; + } + case 32: { + GetEnergy = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (base_ == null) { + Base = new global::Proto.Friend(); + } + input.ReadMessage(Base); + break; + } + case 16: { + Star = input.ReadBool(); + break; + } + case 24: { + SendEnergy = input.ReadBool(); + break; + } + case 32: { + GetEnergy = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BoughtGoods : pb::IMessage<BoughtGoods> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BoughtGoods> _parser = new pb::MessageParser<BoughtGoods>(() => new BoughtGoods()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BoughtGoods> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[65]; } + } + + [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 BoughtGoods() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoughtGoods(BoughtGoods other) : this() { + id_ = other.id_; + number_ = other.number_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoughtGoods Clone() { + return new BoughtGoods(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Number" field.</summary> + public const int NumberFieldNumber = 2; + private uint number_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Number { + get { return number_; } + set { + number_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BoughtGoods); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BoughtGoods other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Number != other.Number) return false; + if (NextPackage != other.NextPackage) 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 (Number != 0) hash ^= Number.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Number != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Number != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Number != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Number); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BoughtGoods other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Number != 0) { + Number = other.Number; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentShop : pb::IMessage<ResidentShop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentShop> _parser = new pb::MessageParser<ResidentShop>(() => new ResidentShop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentShop> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[66]; } + } + + [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 ResidentShop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShop(ResidentShop other) : this() { + id_ = other.id_; + refreshTime_ = other.refreshTime_; + infos_ = other.infos_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShop Clone() { + return new ResidentShop(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "RefreshTime" field.</summary> + public const int RefreshTimeFieldNumber = 2; + private long refreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RefreshTime { + get { return refreshTime_; } + set { + refreshTime_ = value; + } + } + + /// <summary>Field number for the "Infos" field.</summary> + public const int InfosFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.BoughtGoods> _repeated_infos_codec + = pb::FieldCodec.ForMessage(26, global::Proto.BoughtGoods.Parser); + private readonly pbc::RepeatedField<global::Proto.BoughtGoods> infos_ = new pbc::RepeatedField<global::Proto.BoughtGoods>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.BoughtGoods> Infos { + get { return infos_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ResidentShop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentShop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RefreshTime != other.RefreshTime) return false; + if(!infos_.Equals(other.infos_)) return false; + if (NextPackage != other.NextPackage) 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 (RefreshTime != 0L) hash ^= RefreshTime.GetHashCode(); + hash ^= infos_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (RefreshTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(RefreshTime); + } + infos_.WriteTo(output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (RefreshTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(RefreshTime); + } + infos_.WriteTo(ref output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (RefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RefreshTime); + } + size += infos_.CalculateSize(_repeated_infos_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentShop other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RefreshTime != 0L) { + RefreshTime = other.RefreshTime; + } + infos_.Add(other.infos_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + RefreshTime = input.ReadInt64(); + break; + } + case 26: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + RefreshTime = input.ReadInt64(); + break; + } + case 26: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HandbookInfo : pb::IMessage<HandbookInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HandbookInfo> _parser = new pb::MessageParser<HandbookInfo>(() => new HandbookInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HandbookInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[67]; } + } + + [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 HandbookInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HandbookInfo(HandbookInfo other) : this() { + type_ = other.type_; + data_ = other.data_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HandbookInfo Clone() { + return new HandbookInfo(this); + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 1; + private uint type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Data" field.</summary> + public const int DataFieldNumber = 2; + private pb::ByteString data_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Data { + get { return data_; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 HandbookInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HandbookInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (Data != other.Data) return false; + if (NextPackage != other.NextPackage) 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 (Type != 0) hash ^= Type.GetHashCode(); + if (Data.Length != 0) hash ^= Data.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Type != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Type); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Data); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Type != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Type); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Data); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type); + } + if (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HandbookInfo other) { + if (other == null) { + return; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Data.Length != 0) { + Data = other.Data; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Type = input.ReadUInt32(); + break; + } + case 18: { + Data = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Type = input.ReadUInt32(); + break; + } + case 18: { + Data = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class QuestState : pb::IMessage<QuestState> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<QuestState> _parser = new pb::MessageParser<QuestState>(() => new QuestState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<QuestState> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[68]; } + } + + [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 QuestState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QuestState(QuestState other) : this() { + type_ = other.type_; + new_ = other.new_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QuestState Clone() { + return new QuestState(this); + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 1; + private global::Proto.QuestType type_ = global::Proto.QuestType.UnknownQuest; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.QuestType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "New" field.</summary> + public const int NewFieldNumber = 2; + private bool new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool New { + get { return new_; } + set { + new_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 QuestState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QuestState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (New != other.New) return false; + if (NextPackage != other.NextPackage) 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 (Type != global::Proto.QuestType.UnknownQuest) hash ^= Type.GetHashCode(); + if (New != false) hash ^= New.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Type != global::Proto.QuestType.UnknownQuest) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + if (New != false) { + output.WriteRawTag(16); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Type != global::Proto.QuestType.UnknownQuest) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + if (New != false) { + output.WriteRawTag(16); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Type != global::Proto.QuestType.UnknownQuest) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (New != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QuestState other) { + if (other == null) { + return; + } + if (other.Type != global::Proto.QuestType.UnknownQuest) { + Type = other.Type; + } + if (other.New != false) { + New = other.New; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Type = (global::Proto.QuestType) input.ReadEnum(); + break; + } + case 16: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Type = (global::Proto.QuestType) input.ReadEnum(); + break; + } + case 16: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallPackageState : pb::IMessage<MallPackageState> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallPackageState> _parser = new pb::MessageParser<MallPackageState>(() => new MallPackageState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallPackageState> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[69]; } + } + + [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 MallPackageState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackageState(MallPackageState other) : this() { + new_ = other.new_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackageState Clone() { + return new MallPackageState(this); + } + + /// <summary>Field number for the "New" field.</summary> + public const int NewFieldNumber = 1; + private bool new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool New { + get { return new_; } + set { + new_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 MallPackageState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallPackageState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (New != other.New) return false; + if (NextPackage != other.NextPackage) 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 (New != false) hash ^= New.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (New != false) { + output.WriteRawTag(8); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (New != false) { + output.WriteRawTag(8); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (New != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallPackageState other) { + if (other == null) { + return; + } + if (other.New != false) { + New = other.New; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstance : pb::IMessage<DailyInstance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyInstance> _parser = new pb::MessageParser<DailyInstance>(() => new DailyInstance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyInstance> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[70]; } + } + + [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_; + star_ = other.star_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstance Clone() { + return new DailyInstance(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 2; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 15; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 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 (Star != other.Star) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (BuildId != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (BuildId != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + 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.Star != 0) { + Star = other.Star; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 120: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 120: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelBossLevel : pb::IMessage<TravelerDuelBossLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelBossLevel> _parser = new pb::MessageParser<TravelerDuelBossLevel>(() => new TravelerDuelBossLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelBossLevel> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[71]; } + } + + [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 TravelerDuelBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBossLevel(TravelerDuelBossLevel other) : this() { + id_ = other.id_; + star_ = other.star_; + buildId_ = other.buildId_; + difficulty_ = other.difficulty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBossLevel Clone() { + return new TravelerDuelBossLevel(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 2; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 3; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + public const int DifficultyFieldNumber = 4; + private uint difficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Star != other.Star) return false; + if (BuildId != other.BuildId) return false; + if (Difficulty != other.Difficulty) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + if (Difficulty != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Difficulty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (BuildId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId); + } + if (Difficulty != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Difficulty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Difficulty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelBossLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 32: { + Difficulty = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 24: { + BuildId = input.ReadUInt64(); + break; + } + case 32: { + Difficulty = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelChallengeInfo : pb::IMessage<TravelerDuelChallengeInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelChallengeInfo> _parser = new pb::MessageParser<TravelerDuelChallengeInfo>(() => new TravelerDuelChallengeInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelChallengeInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[72]; } + } + + [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 TravelerDuelChallengeInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeInfo(TravelerDuelChallengeInfo other) : this() { + unlock_ = other.unlock_; + id_ = other.id_; + openTime_ = other.openTime_; + closeTime_ = other.closeTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeInfo Clone() { + return new TravelerDuelChallengeInfo(this); + } + + /// <summary>Field number for the "Unlock" field.</summary> + public const int UnlockFieldNumber = 1; + private bool unlock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unlock { + get { return unlock_; } + set { + unlock_ = value; + } + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 2; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "OpenTime" field.</summary> + public const int OpenTimeFieldNumber = 3; + private long openTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long OpenTime { + get { return openTime_; } + set { + openTime_ = value; + } + } + + /// <summary>Field number for the "CloseTime" field.</summary> + public const int CloseTimeFieldNumber = 4; + private long closeTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CloseTime { + get { return closeTime_; } + set { + closeTime_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelChallengeInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelChallengeInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Unlock != other.Unlock) return false; + if (Id != other.Id) return false; + if (OpenTime != other.OpenTime) return false; + if (CloseTime != other.CloseTime) return false; + if (NextPackage != other.NextPackage) 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 (Unlock != false) hash ^= Unlock.GetHashCode(); + if (Id != 0) hash ^= Id.GetHashCode(); + if (OpenTime != 0L) hash ^= OpenTime.GetHashCode(); + if (CloseTime != 0L) hash ^= CloseTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Unlock != false) { + output.WriteRawTag(8); + output.WriteBool(Unlock); + } + if (Id != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Id); + } + if (OpenTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(OpenTime); + } + if (CloseTime != 0L) { + output.WriteRawTag(32); + output.WriteInt64(CloseTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Unlock != false) { + output.WriteRawTag(8); + output.WriteBool(Unlock); + } + if (Id != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Id); + } + if (OpenTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(OpenTime); + } + if (CloseTime != 0L) { + output.WriteRawTag(32); + output.WriteInt64(CloseTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Unlock != false) { + size += 1 + 1; + } + if (Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (OpenTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(OpenTime); + } + if (CloseTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CloseTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelChallengeInfo other) { + if (other == null) { + return; + } + if (other.Unlock != false) { + Unlock = other.Unlock; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.OpenTime != 0L) { + OpenTime = other.OpenTime; + } + if (other.CloseTime != 0L) { + CloseTime = other.CloseTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Unlock = input.ReadBool(); + break; + } + case 16: { + Id = input.ReadUInt32(); + break; + } + case 24: { + OpenTime = input.ReadInt64(); + break; + } + case 32: { + CloseTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Unlock = input.ReadBool(); + break; + } + case 16: { + Id = input.ReadUInt32(); + break; + } + case 24: { + OpenTime = input.ReadInt64(); + break; + } + case 32: { + CloseTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Activity : pb::IMessage<Activity> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Activity> _parser = new pb::MessageParser<Activity>(() => new Activity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Activity> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[73]; } + } + + [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 Activity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Activity(Activity other) : this() { + id_ = other.id_; + startTime_ = other.startTime_; + endTime_ = other.endTime_; + status_ = other.status_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Activity Clone() { + return new Activity(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "StartTime" field.</summary> + public const int StartTimeFieldNumber = 2; + private long startTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 3; + private long endTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EndTime { + get { return endTime_; } + set { + endTime_ = value; + } + } + + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 15; + private bool status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Status { + get { return status_; } + set { + status_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Activity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Activity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (StartTime != other.StartTime) return false; + if (EndTime != other.EndTime) return false; + if (Status != other.Status) return false; + if (NextPackage != other.NextPackage) 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 (StartTime != 0L) hash ^= StartTime.GetHashCode(); + if (EndTime != 0L) hash ^= EndTime.GetHashCode(); + if (Status != false) hash ^= Status.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (StartTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(StartTime); + } + if (EndTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(EndTime); + } + if (Status != false) { + output.WriteRawTag(120); + output.WriteBool(Status); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (StartTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(StartTime); + } + if (EndTime != 0L) { + output.WriteRawTag(24); + output.WriteInt64(EndTime); + } + if (Status != false) { + output.WriteRawTag(120); + output.WriteBool(Status); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (StartTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartTime); + } + if (EndTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTime); + } + if (Status != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Activity other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.StartTime != 0L) { + StartTime = other.StartTime; + } + if (other.EndTime != 0L) { + EndTime = other.EndTime; + } + if (other.Status != false) { + Status = other.Status; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + StartTime = input.ReadInt64(); + break; + } + case 24: { + EndTime = input.ReadInt64(); + break; + } + case 120: { + Status = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + StartTime = input.ReadInt64(); + break; + } + case 24: { + EndTime = input.ReadInt64(); + break; + } + case 120: { + Status = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ActivityQuest : pb::IMessage<ActivityQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ActivityQuest> _parser = new pb::MessageParser<ActivityQuest>(() => new ActivityQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ActivityQuest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[74]; } + } + + [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 ActivityQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityQuest(ActivityQuest other) : this() { + id_ = other.id_; + status_ = other.status_; + progress_ = other.progress_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityQuest Clone() { + return new ActivityQuest(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 2; + private uint status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Status { + get { return status_; } + set { + status_ = value; + } + } + + /// <summary>Field number for the "Progress" field.</summary> + public const int ProgressFieldNumber = 15; + private static readonly pb::FieldCodec<global::Proto.QuestProgress> _repeated_progress_codec + = pb::FieldCodec.ForMessage(122, global::Proto.QuestProgress.Parser); + private readonly pbc::RepeatedField<global::Proto.QuestProgress> progress_ = new pbc::RepeatedField<global::Proto.QuestProgress>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.QuestProgress> Progress { + get { return progress_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ActivityQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivityQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Status != other.Status) return false; + if(!progress_.Equals(other.progress_)) return false; + if (NextPackage != other.NextPackage) 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 (Status != 0) hash ^= Status.GetHashCode(); + hash ^= progress_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + progress_.WriteTo(output, _repeated_progress_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Status); + } + progress_.WriteTo(ref output, _repeated_progress_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Status); + } + size += progress_.CalculateSize(_repeated_progress_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivityQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Status != 0) { + Status = other.Status; + } + progress_.Add(other.progress_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 122: { + progress_.AddEntriesFrom(input, _repeated_progress_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Status = input.ReadUInt32(); + break; + } + case 122: { + progress_.AddEntriesFrom(ref input, _repeated_progress_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ActivityPeriodic : pb::IMessage<ActivityPeriodic> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ActivityPeriodic> _parser = new pb::MessageParser<ActivityPeriodic>(() => new ActivityPeriodic()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ActivityPeriodic> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[75]; } + } + + [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 ActivityPeriodic() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityPeriodic(ActivityPeriodic other) : this() { + activityId_ = other.activityId_; + finalStatus_ = other.finalStatus_; + quests_ = other.quests_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityPeriodic Clone() { + return new ActivityPeriodic(this); + } + + /// <summary>Field number for the "ActivityId" field.</summary> + public const int ActivityIdFieldNumber = 1; + private uint activityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ActivityId { + get { return activityId_; } + set { + activityId_ = value; + } + } + + /// <summary>Field number for the "FinalStatus" field.</summary> + public const int FinalStatusFieldNumber = 2; + private bool finalStatus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FinalStatus { + get { return finalStatus_; } + set { + finalStatus_ = value; + } + } + + /// <summary>Field number for the "Quests" field.</summary> + public const int QuestsFieldNumber = 15; + private static readonly pb::FieldCodec<global::Proto.ActivityQuest> _repeated_quests_codec + = pb::FieldCodec.ForMessage(122, global::Proto.ActivityQuest.Parser); + private readonly pbc::RepeatedField<global::Proto.ActivityQuest> quests_ = new pbc::RepeatedField<global::Proto.ActivityQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ActivityQuest> Quests { + get { return quests_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ActivityPeriodic); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivityPeriodic other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ActivityId != other.ActivityId) return false; + if (FinalStatus != other.FinalStatus) return false; + if(!quests_.Equals(other.quests_)) return false; + if (NextPackage != other.NextPackage) 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 (ActivityId != 0) hash ^= ActivityId.GetHashCode(); + if (FinalStatus != false) hash ^= FinalStatus.GetHashCode(); + hash ^= quests_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (ActivityId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ActivityId); + } + if (FinalStatus != false) { + output.WriteRawTag(16); + output.WriteBool(FinalStatus); + } + quests_.WriteTo(output, _repeated_quests_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ActivityId); + } + if (FinalStatus != false) { + output.WriteRawTag(16); + output.WriteBool(FinalStatus); + } + quests_.WriteTo(ref output, _repeated_quests_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ActivityId); + } + if (FinalStatus != false) { + size += 1 + 1; + } + size += quests_.CalculateSize(_repeated_quests_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivityPeriodic other) { + if (other == null) { + return; + } + if (other.ActivityId != 0) { + ActivityId = other.ActivityId; + } + if (other.FinalStatus != false) { + FinalStatus = other.FinalStatus; + } + quests_.Add(other.quests_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + ActivityId = input.ReadUInt32(); + break; + } + case 16: { + FinalStatus = input.ReadBool(); + break; + } + case 122: { + quests_.AddEntriesFrom(input, _repeated_quests_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + ActivityId = input.ReadUInt32(); + break; + } + case 16: { + FinalStatus = input.ReadBool(); + break; + } + case 122: { + quests_.AddEntriesFrom(ref input, _repeated_quests_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ActivityLogin : pb::IMessage<ActivityLogin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ActivityLogin> _parser = new pb::MessageParser<ActivityLogin>(() => new ActivityLogin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ActivityLogin> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[76]; } + } + + [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 ActivityLogin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityLogin(ActivityLogin other) : this() { + activityId_ = other.activityId_; + receive_ = other.receive_; + actual_ = other.actual_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivityLogin Clone() { + return new ActivityLogin(this); + } + + /// <summary>Field number for the "ActivityId" field.</summary> + public const int ActivityIdFieldNumber = 1; + private uint activityId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ActivityId { + get { return activityId_; } + set { + activityId_ = value; + } + } + + /// <summary>Field number for the "Receive" field.</summary> + public const int ReceiveFieldNumber = 2; + private uint receive_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Receive { + get { return receive_; } + set { + receive_ = value; + } + } + + /// <summary>Field number for the "Actual" field.</summary> + public const int ActualFieldNumber = 3; + private uint actual_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Actual { + get { return actual_; } + set { + actual_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ActivityLogin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivityLogin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ActivityId != other.ActivityId) return false; + if (Receive != other.Receive) return false; + if (Actual != other.Actual) return false; + if (NextPackage != other.NextPackage) 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 (ActivityId != 0) hash ^= ActivityId.GetHashCode(); + if (Receive != 0) hash ^= Receive.GetHashCode(); + if (Actual != 0) hash ^= Actual.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (ActivityId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ActivityId); + } + if (Receive != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Receive); + } + if (Actual != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Actual); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ActivityId); + } + if (Receive != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Receive); + } + if (Actual != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Actual); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ActivityId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ActivityId); + } + if (Receive != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Receive); + } + if (Actual != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Actual); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivityLogin other) { + if (other == null) { + return; + } + if (other.ActivityId != 0) { + ActivityId = other.ActivityId; + } + if (other.Receive != 0) { + Receive = other.Receive; + } + if (other.Actual != 0) { + Actual = other.Actual; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + ActivityId = input.ReadUInt32(); + break; + } + case 16: { + Receive = input.ReadUInt32(); + break; + } + case 24: { + Actual = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + ActivityId = input.ReadUInt32(); + break; + } + case 16: { + Receive = input.ReadUInt32(); + break; + } + case 24: { + Actual = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AffinityInfo : pb::IMessage<AffinityInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AffinityInfo> _parser = new pb::MessageParser<AffinityInfo>(() => new AffinityInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AffinityInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[77]; } + } + + [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 AffinityInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityInfo(AffinityInfo other) : this() { + charId_ = other.charId_; + affinityLevel_ = other.affinityLevel_; + affinityExp_ = other.affinityExp_; + rewards_ = other.rewards_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityInfo Clone() { + return new AffinityInfo(this); + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// <summary>Field number for the "AffinityLevel" field.</summary> + public const int AffinityLevelFieldNumber = 2; + private uint affinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AffinityLevel { + get { return affinityLevel_; } + set { + affinityLevel_ = value; + } + } + + /// <summary>Field number for the "AffinityExp" field.</summary> + public const int AffinityExpFieldNumber = 3; + private uint affinityExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AffinityExp { + get { return affinityExp_; } + set { + affinityExp_ = value; + } + } + + /// <summary>Field number for the "Rewards" field.</summary> + public const int RewardsFieldNumber = 4; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_rewards_codec + = pb::FieldCodec.ForMessage(34, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> rewards_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Rewards { + get { return rewards_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AffinityInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AffinityInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (AffinityLevel != other.AffinityLevel) return false; + if (AffinityExp != other.AffinityExp) return false; + if(!rewards_.Equals(other.rewards_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (AffinityLevel != 0) hash ^= AffinityLevel.GetHashCode(); + if (AffinityExp != 0) hash ^= AffinityExp.GetHashCode(); + hash ^= rewards_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (AffinityLevel != 0) { + output.WriteRawTag(16); + output.WriteUInt32(AffinityLevel); + } + if (AffinityExp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(AffinityExp); + } + rewards_.WriteTo(output, _repeated_rewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (AffinityLevel != 0) { + output.WriteRawTag(16); + output.WriteUInt32(AffinityLevel); + } + if (AffinityExp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(AffinityExp); + } + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (AffinityLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AffinityLevel); + } + if (AffinityExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AffinityExp); + } + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AffinityInfo other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.AffinityLevel != 0) { + AffinityLevel = other.AffinityLevel; + } + if (other.AffinityExp != 0) { + AffinityExp = other.AffinityExp; + } + rewards_.Add(other.rewards_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + AffinityLevel = input.ReadUInt32(); + break; + } + case 24: { + AffinityExp = input.ReadUInt32(); + break; + } + case 34: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + AffinityLevel = input.ReadUInt32(); + break; + } + case 24: { + AffinityExp = input.ReadUInt32(); + break; + } + case 34: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Chat : pb::IMessage<Chat> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Chat> _parser = new pb::MessageParser<Chat>(() => new Chat()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Chat> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[78]; } + } + + [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 Chat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chat(Chat other) : this() { + id_ = other.id_; + options_ = other.options_.Clone(); + process_ = other.process_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chat Clone() { + return new Chat(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Options" field.</summary> + public const int OptionsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_options_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> options_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Options { + get { return options_; } + } + + /// <summary>Field number for the "Process" field.</summary> + public const int ProcessFieldNumber = 3; + private uint process_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Process { + get { return process_; } + set { + process_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Chat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Chat other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!options_.Equals(other.options_)) return false; + if (Process != other.Process) return false; + if (NextPackage != other.NextPackage) 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(); + hash ^= options_.GetHashCode(); + if (Process != 0) hash ^= Process.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + options_.WriteTo(output, _repeated_options_codec); + if (Process != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Process); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + options_.WriteTo(ref output, _repeated_options_codec); + if (Process != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Process); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + size += options_.CalculateSize(_repeated_options_codec); + if (Process != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Process); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Chat other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + options_.Add(other.options_); + if (other.Process != 0) { + Process = other.Process; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 18: + case 16: { + options_.AddEntriesFrom(input, _repeated_options_codec); + break; + } + case 24: { + Process = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: + case 16: { + options_.AddEntriesFrom(ref input, _repeated_options_codec); + break; + } + case 24: { + Process = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Contacts : pb::IMessage<Contacts> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Contacts> _parser = new pb::MessageParser<Contacts>(() => new Contacts()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Contacts> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[79]; } + } + + [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 Contacts() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Contacts(Contacts other) : this() { + charId_ = other.charId_; + triggerTime_ = other.triggerTime_; + chats_ = other.chats_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Contacts Clone() { + return new Contacts(this); + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// <summary>Field number for the "TriggerTime" field.</summary> + public const int TriggerTimeFieldNumber = 2; + private long triggerTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TriggerTime { + get { return triggerTime_; } + set { + triggerTime_ = value; + } + } + + /// <summary>Field number for the "Chats" field.</summary> + public const int ChatsFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.Chat> _repeated_chats_codec + = pb::FieldCodec.ForMessage(26, global::Proto.Chat.Parser); + private readonly pbc::RepeatedField<global::Proto.Chat> chats_ = new pbc::RepeatedField<global::Proto.Chat>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.Chat> Chats { + get { return chats_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 Contacts); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Contacts other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (TriggerTime != other.TriggerTime) return false; + if(!chats_.Equals(other.chats_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (TriggerTime != 0L) hash ^= TriggerTime.GetHashCode(); + hash ^= chats_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (TriggerTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TriggerTime); + } + chats_.WriteTo(output, _repeated_chats_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (TriggerTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TriggerTime); + } + chats_.WriteTo(ref output, _repeated_chats_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (TriggerTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TriggerTime); + } + size += chats_.CalculateSize(_repeated_chats_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Contacts other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.TriggerTime != 0L) { + TriggerTime = other.TriggerTime; + } + chats_.Add(other.chats_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + TriggerTime = input.ReadInt64(); + break; + } + case 26: { + chats_.AddEntriesFrom(input, _repeated_chats_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + TriggerTime = input.ReadInt64(); + break; + } + case 26: { + chats_.AddEntriesFrom(ref input, _repeated_chats_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerLevelInfo : pb::IMessage<InfinityTowerLevelInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerLevelInfo> _parser = new pb::MessageParser<InfinityTowerLevelInfo>(() => new InfinityTowerLevelInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerLevelInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[80]; } + } + + [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 InfinityTowerLevelInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerLevelInfo(InfinityTowerLevelInfo other) : this() { + id_ = other.id_; + levelId_ = other.levelId_; + challengeIds_ = other.challengeIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerLevelInfo Clone() { + return new InfinityTowerLevelInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "LevelId" field.</summary> + public const int LevelIdFieldNumber = 2; + private uint levelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LevelId { + get { return levelId_; } + set { + levelId_ = value; + } + } + + /// <summary>Field number for the "ChallengeIds" field.</summary> + public const int ChallengeIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_challengeIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> challengeIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> ChallengeIds { + get { return challengeIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InfinityTowerLevelInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerLevelInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LevelId != other.LevelId) return false; + if(!challengeIds_.Equals(other.challengeIds_)) return false; + if (NextPackage != other.NextPackage) 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 (LevelId != 0) hash ^= LevelId.GetHashCode(); + hash ^= challengeIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (LevelId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LevelId); + } + challengeIds_.WriteTo(output, _repeated_challengeIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (LevelId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LevelId); + } + challengeIds_.WriteTo(ref output, _repeated_challengeIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (LevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LevelId); + } + size += challengeIds_.CalculateSize(_repeated_challengeIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerLevelInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LevelId != 0) { + LevelId = other.LevelId; + } + challengeIds_.Add(other.challengeIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + LevelId = input.ReadUInt32(); + break; + } + case 26: + case 24: { + challengeIds_.AddEntriesFrom(input, _repeated_challengeIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + LevelId = input.ReadUInt32(); + break; + } + case 26: + case 24: { + challengeIds_.AddEntriesFrom(ref input, _repeated_challengeIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CollectResp : pb::IMessage<CollectResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CollectResp> _parser = new pb::MessageParser<CollectResp>(() => new CollectResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CollectResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[81]; } + } + + [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 CollectResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CollectResp(CollectResp other) : this() { + status_ = other.status_; + items_ = other.items_ != null ? other.items_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CollectResp Clone() { + return new CollectResp(this); + } + + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 1; + private global::Proto.CollectResp.Types.StatusEnum status_ = global::Proto.CollectResp.Types.StatusEnum.Unpaid; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.CollectResp.Types.StatusEnum Status { + get { return status_; } + set { + status_ = value; + } + } + + /// <summary>Field number for the "Items" field.</summary> + public const int ItemsFieldNumber = 2; + private global::Proto.ChangeInfo items_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Items { + get { return items_; } + set { + items_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 CollectResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CollectResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Status != other.Status) return false; + if (!object.Equals(Items, other.Items)) return false; + if (NextPackage != other.NextPackage) 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 (Status != global::Proto.CollectResp.Types.StatusEnum.Unpaid) hash ^= Status.GetHashCode(); + if (items_ != null) hash ^= Items.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Status != global::Proto.CollectResp.Types.StatusEnum.Unpaid) { + output.WriteRawTag(8); + output.WriteEnum((int) Status); + } + if (items_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Items); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Status != global::Proto.CollectResp.Types.StatusEnum.Unpaid) { + output.WriteRawTag(8); + output.WriteEnum((int) Status); + } + if (items_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Items); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Status != global::Proto.CollectResp.Types.StatusEnum.Unpaid) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); + } + if (items_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Items); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CollectResp other) { + if (other == null) { + return; + } + if (other.Status != global::Proto.CollectResp.Types.StatusEnum.Unpaid) { + Status = other.Status; + } + if (other.items_ != null) { + if (items_ == null) { + Items = new global::Proto.ChangeInfo(); + } + Items.MergeFrom(other.Items); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Status = (global::Proto.CollectResp.Types.StatusEnum) input.ReadEnum(); + break; + } + case 18: { + if (items_ == null) { + Items = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Items); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Status = (global::Proto.CollectResp.Types.StatusEnum) input.ReadEnum(); + break; + } + case 18: { + if (items_ == null) { + Items = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Items); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the CollectResp message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum StatusEnum { + [pbr::OriginalName("Unpaid")] Unpaid = 0, + [pbr::OriginalName("Done")] Done = 1, + [pbr::OriginalName("Retry")] Retry = 2, + [pbr::OriginalName("Error")] Error = 3, + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentAttr : pb::IMessage<EquipmentAttr> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentAttr> _parser = new pb::MessageParser<EquipmentAttr>(() => new EquipmentAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentAttr> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[82]; } + } + + [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 EquipmentAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentAttr(EquipmentAttr other) : this() { + id_ = other.id_; + value_ = other.value_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentAttr Clone() { + return new EquipmentAttr(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Value" field.</summary> + public const int ValueFieldNumber = 2; + private int value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value { + get { return value_; } + set { + value_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EquipmentAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Value != other.Value) return false; + if (NextPackage != other.NextPackage) 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 (Value != 0) hash ^= Value.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteInt32(Value); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentAttr other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Value = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Value = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentInfo : pb::IMessage<EquipmentInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentInfo> _parser = new pb::MessageParser<EquipmentInfo>(() => new EquipmentInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[83]; } + } + + [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 EquipmentInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInfo(EquipmentInfo other) : this() { + id_ = other.id_; + tid_ = other.tid_; + exp_ = other.exp_; + lock_ = other.lock_; + tags_ = other.tags_.Clone(); + attrs_ = other.attrs_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInfo Clone() { + return new EquipmentInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 2; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 3; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "Lock" field.</summary> + public const int LockFieldNumber = 4; + private bool lock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Lock { + get { return lock_; } + set { + lock_ = value; + } + } + + /// <summary>Field number for the "Tags" field.</summary> + public const int TagsFieldNumber = 5; + private static readonly pb::FieldCodec<uint> _repeated_tags_codec + = pb::FieldCodec.ForUInt32(42); + private readonly pbc::RepeatedField<uint> tags_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Tags { + get { return tags_; } + } + + /// <summary>Field number for the "Attrs" field.</summary> + public const int AttrsFieldNumber = 6; + private static readonly pb::FieldCodec<global::Proto.EquipmentAttr> _repeated_attrs_codec + = pb::FieldCodec.ForMessage(50, global::Proto.EquipmentAttr.Parser); + private readonly pbc::RepeatedField<global::Proto.EquipmentAttr> attrs_ = new pbc::RepeatedField<global::Proto.EquipmentAttr>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.EquipmentAttr> Attrs { + get { return attrs_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EquipmentInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Tid != other.Tid) return false; + if (Exp != other.Exp) return false; + if (Lock != other.Lock) return false; + if(!tags_.Equals(other.tags_)) return false; + if(!attrs_.Equals(other.attrs_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Tid != 0) hash ^= Tid.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (Lock != false) hash ^= Lock.GetHashCode(); + hash ^= tags_.GetHashCode(); + hash ^= attrs_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (Lock != false) { + output.WriteRawTag(32); + output.WriteBool(Lock); + } + tags_.WriteTo(output, _repeated_tags_codec); + attrs_.WriteTo(output, _repeated_attrs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Tid != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Tid); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Exp); + } + if (Lock != false) { + output.WriteRawTag(32); + output.WriteBool(Lock); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + attrs_.WriteTo(ref output, _repeated_attrs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (Lock != false) { + size += 1 + 1; + } + size += tags_.CalculateSize(_repeated_tags_codec); + size += attrs_.CalculateSize(_repeated_attrs_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentInfo other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Lock != false) { + Lock = other.Lock; + } + tags_.Add(other.tags_); + attrs_.Add(other.attrs_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 32: { + Lock = input.ReadBool(); + break; + } + case 42: + case 40: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 50: { + attrs_.AddEntriesFrom(input, _repeated_attrs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + Tid = input.ReadUInt32(); + break; + } + case 24: { + Exp = input.ReadUInt32(); + break; + } + case 32: { + Lock = input.ReadBool(); + break; + } + case 42: + case 40: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 50: { + attrs_.AddEntriesFrom(ref input, _repeated_attrs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentInstance : pb::IMessage<EquipmentInstance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentInstance> _parser = new pb::MessageParser<EquipmentInstance>(() => new EquipmentInstance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentInstance> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[84]; } + } + + [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 EquipmentInstance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstance(EquipmentInstance other) : this() { + id_ = other.id_; + star_ = other.star_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstance Clone() { + return new EquipmentInstance(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 2; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 15; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 EquipmentInstance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentInstance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Star != other.Star) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (BuildId != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Star != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Star); + } + if (BuildId != 0UL) { + output.WriteRawTag(120); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentInstance other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 120: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Star = input.ReadUInt32(); + break; + } + case 120: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentInfo : pb::IMessage<AgentInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AgentInfo> _parser = new pb::MessageParser<AgentInfo>(() => new AgentInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AgentInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[85]; } + } + + [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 AgentInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentInfo(AgentInfo other) : this() { + id_ = other.id_; + processTime_ = other.processTime_; + charIds_ = other.charIds_.Clone(); + buildId_ = other.buildId_; + startTime_ = other.startTime_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentInfo Clone() { + return new AgentInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "ProcessTime" field.</summary> + public const int ProcessTimeFieldNumber = 2; + private uint processTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ProcessTime { + get { return processTime_; } + set { + processTime_ = value; + } + } + + /// <summary>Field number for the "CharIds" field.</summary> + public const int CharIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_charIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> charIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> CharIds { + get { return charIds_; } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 4; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "StartTime" field.</summary> + public const int StartTimeFieldNumber = 5; + private long startTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StartTime { + get { return startTime_; } + set { + startTime_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ProcessTime != other.ProcessTime) return false; + if(!charIds_.Equals(other.charIds_)) return false; + if (BuildId != other.BuildId) return false; + if (StartTime != other.StartTime) return false; + if (NextPackage != other.NextPackage) 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 (ProcessTime != 0) hash ^= ProcessTime.GetHashCode(); + hash ^= charIds_.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (StartTime != 0L) hash ^= StartTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (ProcessTime != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ProcessTime); + } + charIds_.WriteTo(output, _repeated_charIds_codec); + if (BuildId != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(BuildId); + } + if (StartTime != 0L) { + output.WriteRawTag(40); + output.WriteInt64(StartTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (ProcessTime != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ProcessTime); + } + charIds_.WriteTo(ref output, _repeated_charIds_codec); + if (BuildId != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(BuildId); + } + if (StartTime != 0L) { + output.WriteRawTag(40); + output.WriteInt64(StartTime); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (ProcessTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProcessTime); + } + size += charIds_.CalculateSize(_repeated_charIds_codec); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (StartTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartTime); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ProcessTime != 0) { + ProcessTime = other.ProcessTime; + } + charIds_.Add(other.charIds_); + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.StartTime != 0L) { + StartTime = other.StartTime; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + ProcessTime = input.ReadUInt32(); + break; + } + case 26: + case 24: { + charIds_.AddEntriesFrom(input, _repeated_charIds_codec); + break; + } + case 32: { + BuildId = input.ReadUInt64(); + break; + } + case 40: { + StartTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + ProcessTime = input.ReadUInt32(); + break; + } + case 26: + case 24: { + charIds_.AddEntriesFrom(ref input, _repeated_charIds_codec); + break; + } + case 32: { + BuildId = input.ReadUInt64(); + break; + } + case 40: { + StartTime = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentData : pb::IMessage<AgentData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AgentData> _parser = new pb::MessageParser<AgentData>(() => new AgentData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AgentData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[86]; } + } + + [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 AgentData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentData(AgentData other) : this() { + infos_ = other.infos_.Clone(); + newAgentIds_ = other.newAgentIds_.Clone(); + dailyIds_ = other.dailyIds_.Clone(); + weeklyIds_ = other.weeklyIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentData Clone() { + return new AgentData(this); + } + + /// <summary>Field number for the "Infos" field.</summary> + public const int InfosFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.AgentInfo> _repeated_infos_codec + = pb::FieldCodec.ForMessage(10, global::Proto.AgentInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.AgentInfo> infos_ = new pbc::RepeatedField<global::Proto.AgentInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.AgentInfo> Infos { + get { return infos_; } + } + + /// <summary>Field number for the "NewAgentIds" field.</summary> + public const int NewAgentIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_newAgentIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> newAgentIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> NewAgentIds { + get { return newAgentIds_; } + } + + /// <summary>Field number for the "DailyIds" field.</summary> + public const int DailyIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_dailyIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> dailyIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> DailyIds { + get { return dailyIds_; } + } + + /// <summary>Field number for the "WeeklyIds" field.</summary> + public const int WeeklyIdsFieldNumber = 4; + private static readonly pb::FieldCodec<uint> _repeated_weeklyIds_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField<uint> weeklyIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> WeeklyIds { + get { return weeklyIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 AgentData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!infos_.Equals(other.infos_)) return false; + if(!newAgentIds_.Equals(other.newAgentIds_)) return false; + if(!dailyIds_.Equals(other.dailyIds_)) return false; + if(!weeklyIds_.Equals(other.weeklyIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= infos_.GetHashCode(); + hash ^= newAgentIds_.GetHashCode(); + hash ^= dailyIds_.GetHashCode(); + hash ^= weeklyIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + infos_.WriteTo(output, _repeated_infos_codec); + newAgentIds_.WriteTo(output, _repeated_newAgentIds_codec); + dailyIds_.WriteTo(output, _repeated_dailyIds_codec); + weeklyIds_.WriteTo(output, _repeated_weeklyIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + infos_.WriteTo(ref output, _repeated_infos_codec); + newAgentIds_.WriteTo(ref output, _repeated_newAgentIds_codec); + dailyIds_.WriteTo(ref output, _repeated_dailyIds_codec); + weeklyIds_.WriteTo(ref output, _repeated_weeklyIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += infos_.CalculateSize(_repeated_infos_codec); + size += newAgentIds_.CalculateSize(_repeated_newAgentIds_codec); + size += dailyIds_.CalculateSize(_repeated_dailyIds_codec); + size += weeklyIds_.CalculateSize(_repeated_weeklyIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentData other) { + if (other == null) { + return; + } + infos_.Add(other.infos_); + newAgentIds_.Add(other.newAgentIds_); + dailyIds_.Add(other.dailyIds_); + weeklyIds_.Add(other.weeklyIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 18: + case 16: { + newAgentIds_.AddEntriesFrom(input, _repeated_newAgentIds_codec); + break; + } + case 26: + case 24: { + dailyIds_.AddEntriesFrom(input, _repeated_dailyIds_codec); + break; + } + case 34: + case 32: { + weeklyIds_.AddEntriesFrom(input, _repeated_weeklyIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 18: + case 16: { + newAgentIds_.AddEntriesFrom(ref input, _repeated_newAgentIds_codec); + break; + } + case 26: + case 24: { + dailyIds_.AddEntriesFrom(ref input, _repeated_dailyIds_codec); + break; + } + case 34: + case 32: { + weeklyIds_.AddEntriesFrom(ref input, _repeated_weeklyIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HonorInfo : pb::IMessage<HonorInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HonorInfo> _parser = new pb::MessageParser<HonorInfo>(() => new HonorInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HonorInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[87]; } + } + + [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 HonorInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HonorInfo(HonorInfo other) : this() { + id_ = other.id_; + affinityLV_ = other.affinityLV_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HonorInfo Clone() { + return new HonorInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "AffinityLV" field.</summary> + public const int AffinityLVFieldNumber = 2; + private uint affinityLV_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AffinityLV { + get { return affinityLV_; } + set { + affinityLV_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 HonorInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HonorInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (AffinityLV != other.AffinityLV) return false; + if (NextPackage != other.NextPackage) 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 (AffinityLV != 0) hash ^= AffinityLV.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (AffinityLV != 0) { + output.WriteRawTag(16); + output.WriteUInt32(AffinityLV); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (AffinityLV != 0) { + output.WriteRawTag(16); + output.WriteUInt32(AffinityLV); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (AffinityLV != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AffinityLV); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HonorInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.AffinityLV != 0) { + AffinityLV = other.AffinityLV; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + AffinityLV = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + AffinityLV = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorEvent : pb::IMessage<VampireSurvivorEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorEvent> _parser = new pb::MessageParser<VampireSurvivorEvent>(() => new VampireSurvivorEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorEvent> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[88]; } + } + + [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 VampireSurvivorEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorEvent(VampireSurvivorEvent other) : this() { + eventType_ = other.eventType_; + numbers_ = other.numbers_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorEvent Clone() { + return new VampireSurvivorEvent(this); + } + + /// <summary>Field number for the "EventType" field.</summary> + public const int EventTypeFieldNumber = 1; + private uint eventType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EventType { + get { return eventType_; } + set { + eventType_ = value; + } + } + + /// <summary>Field number for the "Numbers" field.</summary> + public const int NumbersFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_numbers_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> numbers_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Numbers { + get { return numbers_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EventType != other.EventType) return false; + if(!numbers_.Equals(other.numbers_)) return false; + if (NextPackage != other.NextPackage) 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 (EventType != 0) hash ^= EventType.GetHashCode(); + hash ^= numbers_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (EventType != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EventType); + } + numbers_.WriteTo(output, _repeated_numbers_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EventType != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EventType); + } + numbers_.WriteTo(ref output, _repeated_numbers_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EventType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventType); + } + size += numbers_.CalculateSize(_repeated_numbers_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorEvent other) { + if (other == null) { + return; + } + if (other.EventType != 0) { + EventType = other.EventType; + } + numbers_.Add(other.numbers_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + EventType = input.ReadUInt32(); + break; + } + case 18: + case 16: { + numbers_.AddEntriesFrom(input, _repeated_numbers_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + EventType = input.ReadUInt32(); + break; + } + case 18: + case 16: { + numbers_.AddEntriesFrom(ref input, _repeated_numbers_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorLevelReward : pb::IMessage<VampireSurvivorLevelReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorLevelReward> _parser = new pb::MessageParser<VampireSurvivorLevelReward>(() => new VampireSurvivorLevelReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorLevelReward> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[89]; } + } + + [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 VampireSurvivorLevelReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorLevelReward(VampireSurvivorLevelReward other) : this() { + level_ = other.level_; + pkg_ = other.pkg_ != null ? other.pkg_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorLevelReward Clone() { + return new VampireSurvivorLevelReward(this); + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 1; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "Pkg" field.</summary> + public const int PkgFieldNumber = 2; + private global::Proto.VampireSurvivorFateCardSelect pkg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorFateCardSelect Pkg { + get { return pkg_; } + set { + pkg_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorLevelReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorLevelReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Level != other.Level) return false; + if (!object.Equals(Pkg, other.Pkg)) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (pkg_ != null) hash ^= Pkg.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (pkg_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Pkg); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Level); + } + if (pkg_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Pkg); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (pkg_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Pkg); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorLevelReward other) { + if (other == null) { + return; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.pkg_ != null) { + if (pkg_ == null) { + Pkg = new global::Proto.VampireSurvivorFateCardSelect(); + } + Pkg.MergeFrom(other.Pkg); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Level = input.ReadUInt32(); + break; + } + case 18: { + if (pkg_ == null) { + Pkg = new global::Proto.VampireSurvivorFateCardSelect(); + } + input.ReadMessage(Pkg); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Level = input.ReadUInt32(); + break; + } + case 18: { + if (pkg_ == null) { + Pkg = new global::Proto.VampireSurvivorFateCardSelect(); + } + input.ReadMessage(Pkg); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorFateCardSelect : pb::IMessage<VampireSurvivorFateCardSelect> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorFateCardSelect> _parser = new pb::MessageParser<VampireSurvivorFateCardSelect>(() => new VampireSurvivorFateCardSelect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorFateCardSelect> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[90]; } + } + + [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 VampireSurvivorFateCardSelect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorFateCardSelect(VampireSurvivorFateCardSelect other) : this() { + ids_ = other.ids_.Clone(); + newIds_ = other.newIds_.Clone(); + reRoll_ = other.reRoll_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorFateCardSelect Clone() { + return new VampireSurvivorFateCardSelect(this); + } + + /// <summary>Field number for the "Ids" field.</summary> + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> ids_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Ids { + get { return ids_; } + } + + /// <summary>Field number for the "NewIds" field.</summary> + public const int NewIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_newIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> newIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> NewIds { + get { return newIds_; } + } + + /// <summary>Field number for the "ReRoll" field.</summary> + public const int ReRollFieldNumber = 3; + private uint reRoll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRoll { + get { return reRoll_; } + set { + reRoll_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorFateCardSelect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorFateCardSelect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if(!newIds_.Equals(other.newIds_)) return false; + if (ReRoll != other.ReRoll) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + hash ^= newIds_.GetHashCode(); + if (ReRoll != 0) hash ^= ReRoll.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + newIds_.WriteTo(output, _repeated_newIds_codec); + if (ReRoll != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + newIds_.WriteTo(ref output, _repeated_newIds_codec); + if (ReRoll != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + size += newIds_.CalculateSize(_repeated_newIds_codec); + if (ReRoll != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRoll); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorFateCardSelect other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + newIds_.Add(other.newIds_); + if (other.ReRoll != 0) { + ReRoll = other.ReRoll; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 18: + case 16: { + newIds_.AddEntriesFrom(input, _repeated_newIds_codec); + break; + } + case 24: { + ReRoll = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 18: + case 16: { + newIds_.AddEntriesFrom(ref input, _repeated_newIds_codec); + break; + } + case 24: { + ReRoll = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorRecordInfo : pb::IMessage<VampireSurvivorRecordInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorRecordInfo> _parser = new pb::MessageParser<VampireSurvivorRecordInfo>(() => new VampireSurvivorRecordInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorRecordInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicReflection.Descriptor.MessageTypes[91]; } + } + + [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 VampireSurvivorRecordInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRecordInfo(VampireSurvivorRecordInfo other) : this() { + passedIds_ = other.passedIds_.Clone(); + normals_ = other.normals_.Clone(); + season_ = other.season_ != null ? other.season_.Clone() : null; + seasonScore_ = other.seasonScore_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRecordInfo Clone() { + return new VampireSurvivorRecordInfo(this); + } + + /// <summary>Field number for the "PassedIds" field.</summary> + public const int PassedIdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_passedIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> passedIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> PassedIds { + get { return passedIds_; } + } + + /// <summary>Field number for the "Normals" field.</summary> + public const int NormalsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.VampireSurvivorRecordInfo.Types.Record> _repeated_normals_codec + = pb::FieldCodec.ForMessage(18, global::Proto.VampireSurvivorRecordInfo.Types.Record.Parser); + private readonly pbc::RepeatedField<global::Proto.VampireSurvivorRecordInfo.Types.Record> normals_ = new pbc::RepeatedField<global::Proto.VampireSurvivorRecordInfo.Types.Record>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.VampireSurvivorRecordInfo.Types.Record> Normals { + get { return normals_; } + } + + /// <summary>Field number for the "Season" field.</summary> + public const int SeasonFieldNumber = 3; + private global::Proto.VampireSurvivorRecordInfo.Types.Record season_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorRecordInfo.Types.Record Season { + get { return season_; } + set { + season_ = value; + } + } + + /// <summary>Field number for the "SeasonScore" field.</summary> + public const int SeasonScoreFieldNumber = 4; + private uint seasonScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SeasonScore { + get { return seasonScore_; } + set { + seasonScore_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorRecordInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorRecordInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!passedIds_.Equals(other.passedIds_)) return false; + if(!normals_.Equals(other.normals_)) return false; + if (!object.Equals(Season, other.Season)) return false; + if (SeasonScore != other.SeasonScore) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= passedIds_.GetHashCode(); + hash ^= normals_.GetHashCode(); + if (season_ != null) hash ^= Season.GetHashCode(); + if (SeasonScore != 0) hash ^= SeasonScore.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + passedIds_.WriteTo(output, _repeated_passedIds_codec); + normals_.WriteTo(output, _repeated_normals_codec); + if (season_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Season); + } + if (SeasonScore != 0) { + output.WriteRawTag(32); + output.WriteUInt32(SeasonScore); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + passedIds_.WriteTo(ref output, _repeated_passedIds_codec); + normals_.WriteTo(ref output, _repeated_normals_codec); + if (season_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Season); + } + if (SeasonScore != 0) { + output.WriteRawTag(32); + output.WriteUInt32(SeasonScore); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += passedIds_.CalculateSize(_repeated_passedIds_codec); + size += normals_.CalculateSize(_repeated_normals_codec); + if (season_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Season); + } + if (SeasonScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SeasonScore); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorRecordInfo other) { + if (other == null) { + return; + } + passedIds_.Add(other.passedIds_); + normals_.Add(other.normals_); + if (other.season_ != null) { + if (season_ == null) { + Season = new global::Proto.VampireSurvivorRecordInfo.Types.Record(); + } + Season.MergeFrom(other.Season); + } + if (other.SeasonScore != 0) { + SeasonScore = other.SeasonScore; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + passedIds_.AddEntriesFrom(input, _repeated_passedIds_codec); + break; + } + case 18: { + normals_.AddEntriesFrom(input, _repeated_normals_codec); + break; + } + case 26: { + if (season_ == null) { + Season = new global::Proto.VampireSurvivorRecordInfo.Types.Record(); + } + input.ReadMessage(Season); + break; + } + case 32: { + SeasonScore = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + passedIds_.AddEntriesFrom(ref input, _repeated_passedIds_codec); + break; + } + case 18: { + normals_.AddEntriesFrom(ref input, _repeated_normals_codec); + break; + } + case 26: { + if (season_ == null) { + Season = new global::Proto.VampireSurvivorRecordInfo.Types.Record(); + } + input.ReadMessage(Season); + break; + } + case 32: { + SeasonScore = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the VampireSurvivorRecordInfo message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Record : pb::IMessage<Record> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Record> _parser = new pb::MessageParser<Record>(() => new Record()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Record> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRecordInfo.Descriptor.NestedTypes[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 Record() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Record(Record other) : this() { + id_ = other.id_; + buildId1_ = other.buildId1_; + buildId2_ = other.buildId2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Record Clone() { + return new Record(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "BuildId1" field.</summary> + public const int BuildId1FieldNumber = 2; + private ulong buildId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId1 { + get { return buildId1_; } + set { + buildId1_ = value; + } + } + + /// <summary>Field number for the "BuildId2" field.</summary> + public const int BuildId2FieldNumber = 3; + private ulong buildId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId2 { + get { return buildId2_; } + set { + buildId2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Record); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Record other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BuildId1 != other.BuildId1) return false; + if (BuildId2 != other.BuildId2) 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 (BuildId1 != 0UL) hash ^= BuildId1.GetHashCode(); + if (BuildId2 != 0UL) hash ^= BuildId2.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.WriteUInt32(Id); + } + if (BuildId1 != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BuildId1); + } + if (BuildId2 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId2); + } + 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.WriteUInt32(Id); + } + if (BuildId1 != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BuildId1); + } + if (BuildId2 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId2); + } + 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.ComputeUInt32Size(Id); + } + if (BuildId1 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId1); + } + if (BuildId2 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Record other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BuildId1 != 0UL) { + BuildId1 = other.BuildId1; + } + if (other.BuildId2 != 0UL) { + BuildId2 = other.BuildId2; + } + _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.ReadUInt32(); + break; + } + case 16: { + BuildId1 = input.ReadUInt64(); + break; + } + case 24: { + BuildId2 = input.ReadUInt64(); + 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.ReadUInt32(); + break; + } + case 16: { + BuildId1 = input.ReadUInt64(); + break; + } + case 24: { + BuildId2 = input.ReadUInt64(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/PublicStarTower.cs b/Novaria.Common/Protos/PublicStarTower.cs new file mode 100644 index 0000000..9d398a2 --- /dev/null +++ b/Novaria.Common/Protos/PublicStarTower.cs @@ -0,0 +1,18786 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: public_star_tower.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 Proto { + + /// <summary>Holder for reflection information generated from public_star_tower.proto</summary> + public static partial class PublicStarTowerReflection { + + #region Descriptor + /// <summary>File descriptor for public_star_tower.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PublicStarTowerReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdwdWJsaWNfc3Rhcl90b3dlci5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "bxofdHJhdmVsZXJfZHVlbF9yYW5rX3VwbG9hZC5wcm90byKPAQoNU3RhclRv", + "d2VySW5mbxIiCgRNZXRhGAEgASgLMhQucHJvdG8uU3RhclRvd2VyTWV0YRIi", + "CgRSb29tGAIgASgLMhQucHJvdG8uU3RhclRvd2VyUm9vbRIgCgNCYWcYAyAB", + "KAsyEy5wcm90by5TdGFyVG93ZXJCYWcSFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "IpADCg1TdGFyVG93ZXJNZXRhEgoKAklkGAEgASgNEg4KBkNoYXJIcBgCIAEo", + "DRIRCglUZWFtTGV2ZWwYAyABKA0SDwoHVGVhbUV4cBgEIAEoDRIjCgVDaGFy", + "cxgFIAMoCzIULnByb3RvLlN0YXJUb3dlckNoYXISIwoFRGlzY3MYBiADKAsy", + "FC5wcm90by5TdGFyVG93ZXJEaXNjEg8KB0RhdGVMZW4YByABKA0SEgoKQ2xp", + "ZW50RGF0YRgIIAEoCRIdChVEaXNjU2tpbGxBY3RpdmVOdW1iZXIYCSABKA0S", + "FwoPSGFybW9ueVNraWxsSWRzGAogAygNEhgKEFRvd2VyR3Jvd3RoTm9kZXMY", + "CyADKA0SFwoPUmVzdXJyZWN0aW9uQ250GAwgASgNEhUKDVJhbmtUb3RhbFRp", + "bWUYDSABKA0SEQoJVG90YWxUaW1lGA4gASgNEhQKDFRvdGFsRGFtYWdlcxgP", + "IAMoBBIPCgdCdWlsZElkGBAgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDCJd", + "Cg1TdGFyVG93ZXJEaXNjEgoKAklkGAEgASgNEg0KBUxldmVsGAIgASgNEg0K", + "BVBoYXNlGAMgASgNEgwKBFN0YXIYBCABKA0SFAoLTmV4dFBhY2thZ2UY/w8g", + "ASgMIr4BCg1TdGFyVG93ZXJDaGFyEgoKAklkGAEgASgNEi0KCkVxdWlwbWVu", + "dHMYAiADKAsyGS5wcm90by5TdGFyVG93ZXJFcXVpcG1lbnQSDQoFTGV2ZWwY", + "AyABKA0SEAoIU2tpbGxMdnMYBCADKA0SFQoNQWZmaW5pdHlMZXZlbBgFIAEo", + "DRIPCgdBZHZhbmNlGAYgASgNEhMKC1RhbGVudE5vZGVzGAcgASgMEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDCJ3ChJTdGFyVG93ZXJFcXVpcG1lbnQSCwoDVGlk", + "GAEgASgNEgsKA0V4cBgCIAEoDRIMCgRUYWdzGAMgAygNEiMKBUF0dHJzGAQg", + "AygLMhQucHJvdG8uRXF1aXBtZW50QXR0chIUCgtOZXh0UGFja2FnZRj/DyAB", + "KAwiywEKDFN0YXJUb3dlckJhZxIlCghGYXRlQ2FyZBgBIAMoCzITLnByb3Rv", + "LkZhdGVDYXJkSW5mbxINCgVOb3RlcxgCIAMoDRIoCgpQb3RlbnRpYWxzGAMg", + "AygLMhQucHJvdG8uUG90ZW50aWFsSW5mbxIjCgVJdGVtcxgEIAMoCzIULnBy", + "b3RvLlRvd2VySXRlbUluZm8SIAoDUmVzGAUgAygLMhMucHJvdG8uVG93ZXJS", + "ZXNJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDCJ2Cg1TdGFyVG93ZXJSb29t", + "EiYKBERhdGEYASABKAsyGC5wcm90by5TdGFyVG93ZXJSb29tRGF0YRInCgVD", + "YXNlcxgCIAMoCzIYLnByb3RvLlN0YXJUb3dlclJvb21DYXNlEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCKQAQoRU3RhclRvd2VyUm9vbURhdGESDQoFRmxvb3IY", + "ASABKA0SDQoFTWFwSWQYAiABKA0SDwoHUGFyYW1JZBgDIAEoDRIQCghSb29t", + "VHlwZRgEIAEoDRIQCghNYXBQYXJhbRgFIAEoCRISCgpNYXBUYWJsZUlkGAYg", + "ASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCKcBgoRU3RhclRvd2VyUm9vbUNh", + "c2USCgoCSWQYASABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMEisKCkJhdHRs", + "ZUNhc2UYAiABKAsyFS5wcm90by5CYXR0bGVDYXNlRGF0YUgAEicKCERvb3JD", + "YXNlGAMgASgLMhMucHJvdG8uRG9vckNhc2VEYXRhSAASSwoaU2VsZWN0U3Bl", + "Y2lhbFBvdGVudGlhbENhc2UYBCABKAsyJS5wcm90by5TZWxlY3RTcGVjaWFs", + "UG90ZW50aWFsQ2FzZURhdGFIABI9ChNTZWxlY3RQb3RlbnRpYWxDYXNlGAUg", + "ASgLMh4ucHJvdG8uU2VsZWN0UG90ZW50aWFsQ2FzZURhdGFIABI7ChJTZWxl", + "Y3RGYXRlQ2FyZENhc2UYBiABKAsyHS5wcm90by5TZWxlY3RGYXRlQ2FyZENh", + "c2VEYXRhSAASMwoOU2VsZWN0Tm90ZUNhc2UYByABKAsyGS5wcm90by5TZWxl", + "Y3ROb3RlQ2FzZURhdGFIABJDChZTZWxlY3RPcHRpb25zRXZlbnRDYXNlGAgg", + "ASgLMiEucHJvdG8uU2VsZWN0T3B0aW9uc0V2ZW50Q2FzZURhdGFIABIzCg5S", + "ZWNvdmVyeUhQQ2FzZRgJIAEoCzIZLnByb3RvLlJlY292ZXJ5SFBDYXNlRGF0", + "YUgAEjkKEU5wY1JlY292ZXJ5SFBDYXNlGAogASgLMhwucHJvdG8uTnBjUmVj", + "b3ZlcnlIUENhc2VEYXRhSAASKwoKSGF3a2VyQ2FzZRgLIAEoCzIVLnByb3Rv", + "Lkhhd2tlckNhc2VEYXRhSAASQQoVU3RyZW5ndGhlbk1hY2hpbmVDYXNlGAwg", + "ASgLMiAucHJvdG8uU3RyZW5ndGhlbk1hY2hpbmVDYXNlRGF0YUgAEjcKEEhh", + "cm1vbnlTa2lsbENhc2UYDSABKAsyGy5wcm90by5IYXJtb255U2tpbGxDYXNl", + "RGF0YUgAEisKClN5bmNIUENhc2UYDyABKAsyFS5wcm90by5TeW5jSFBDYXNl", + "RGF0YUgAQgYKBERhdGEiSwoOQmF0dGxlQ2FzZURhdGESEQoJVGltZUxpbWl0", + "GAEgASgIEhAKCEZhdGVDYXJkGAIgASgIEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCJBCgxEb29yQ2FzZURhdGESDQoFRmxvb3IYASABKA0SDAoEVHlwZRgCIAEo", + "DRIUCgtOZXh0UGFja2FnZRj/DyABKAwijgEKHlNlbGVjdFNwZWNpYWxQb3Rl", + "bnRpYWxDYXNlRGF0YRILCgNJZHMYASADKA0SEQoJVGVhbUxldmVsGAIgASgN", + "Eg4KBk5ld0lkcxgDIAMoDRIRCglDYW5SZVJvbGwYByABKAgSEwoLUmVSb2xs", + "UHJpY2UYCCABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIr8BChdTZWxlY3RQ", + "b3RlbnRpYWxDYXNlRGF0YRIjCgVJbmZvcxgBIAMoCzIULnByb3RvLlBvdGVu", + "dGlhbEluZm8SEQoJVGVhbUxldmVsGAIgASgNEg4KBk5ld0lkcxgDIAMoDRIQ", + "CghMdWNreUlkcxgMIAMoDRIRCglDYW5SZVJvbGwYDSABKAgSEwoLUmVSb2xs", + "UHJpY2UYDiABKA0SDAoEVHlwZRgPIAEoDRIUCgtOZXh0UGFja2FnZRj/DyAB", + "KAwiZwoaU2VsZWN0T3B0aW9uc0V2ZW50Q2FzZURhdGESDQoFRXZ0SWQYASAB", + "KA0SDwoHT3B0aW9ucxgCIAMoDRITCgtGYWlsZWRJZHhlcxgDIAMoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiSwoSU2VsZWN0Tm90ZUNhc2VEYXRhEh8KBElu", + "Zm8YASADKAsyES5wcm90by5TZWxlY3ROb3RlEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCKBAQoWU2VsZWN0RmF0ZUNhcmRDYXNlRGF0YRILCgNJZHMYASADKA0S", + "DgoGTmV3SWRzGAIgAygNEgwKBEdpdmUYAyABKAgSEQoJQ2FuUmVSb2xsGAcg", + "ASgIEhMKC1JlUm9sbFByaWNlGAggASgNEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCI8ChJSZWNvdmVyeUhQQ2FzZURhdGESEAoIRWZmZWN0SWQYASABKA0SFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMIj8KFU5wY1JlY292ZXJ5SFBDYXNlRGF0YRIQ", + "CghFZmZlY3RJZBgBIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiJgoOU3lu", + "Y0hQQ2FzZURhdGESFAoLTmV4dFBhY2thZ2UY/w8gASgMIm8KC0hhd2tlckdv", + "b2RzEgsKA1NpZBgBIAEoDRILCgNJZHgYAiABKA0SDwoHQ2hhclBvcxgDIAEo", + "DRINCgVQcmljZRgEIAEoBRIQCghEaXNjb3VudBgFIAEoBRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwilwEKDkhhd2tlckNhc2VEYXRhEiAKBExpc3QYASADKAsy", + "Ei5wcm90by5IYXdrZXJHb29kcxIQCghQdXJjaGFzZRgCIAMoDRIRCglDYW5S", + "ZVJvbGwYByABKAgSEwoLUmVSb2xsUHJpY2UYCCABKA0SEwoLUmVSb2xsVGlt", + "ZXMYCSABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMIlQKEUludGVyYWN0SGF3", + "a2VyUmVxEhQKC05leHRQYWNrYWdlGP8PIAEoDBINCgNTaWQYASABKA1IABIQ", + "CgZSZVJvbGwYAiABKAhIAEIICgZBY3Rpb24iSQodSW50ZXJhY3RTdHJlbmd0", + "aGVuTWFjaGluZVJlc3ASEgoKQnV5U3VjY2VlZBgBIAEoCBIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwiZQoZU3RyZW5ndGhlbk1hY2hpbmVDYXNlRGF0YRINCgVU", + "aW1lcxgBIAEoDRIRCglGaXJzdEZyZWUYByABKAgSEAoIRGlzY291bnQYCCAB", + "KA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMImMKFEhhcm1vbnlTa2lsbENhc2VE", + "YXRhEg0KBVNraWxsGAEgASgNEhEKCUNhblJlUm9sbBgCIAEoCBITCgtSZVJv", + "bGxQcmljZRgDIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwipQEKEEludGVy", + "YWN0RW50ZXJSZXESDQoFTWFwSWQYASABKA0SDwoHUGFyYW1JZBgCIAEoDRIP", + "CgdEYXRlTGVuGAMgASgNEhIKCkNsaWVudERhdGEYBCABKAkSEAoITWFwUGFy", + "YW0YBSABKAkSEgoKTWFwVGFibGVJZBgGIAEoDRIQCghDaGVja3N1bRgHIAEo", + "BBIUCgtOZXh0UGFja2FnZRj/DyABKAwiTQoRSW50ZXJhY3RFbnRlclJlc3AS", + "IgoEUm9vbRgBIAEoCzIULnByb3RvLlN0YXJUb3dlclJvb20SFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIuECChRJbnRlcmFjdEJhdHRsZUVuZFJlcRIUCgtOZXh0", + "UGFja2FnZRj/DyABKAwSOgoHVmljdG9yeRgBIAEoCzInLnByb3RvLkludGVy", + "YWN0QmF0dGxlRW5kUmVxLlZpY3RvcnlEYXRhSAASEAoGRGVmZWF0GAIgASgI", + "SAAa2gEKC1ZpY3RvcnlEYXRhEgoKAkhQGAEgASgNEgwKBFRpbWUYAiABKA0S", + "DwoHRGF0ZUxlbhgDIAEoDRISCgpDbGllbnREYXRhGAQgASgJEisKDWZhdGVD", + "YXJkVXNhZ2UYBSADKAsyFC5wcm90by5GYXRlQ2FyZFVzYWdlEg8KB0RhbWFn", + "ZXMYBiADKA0SLwoGU2FtcGxlGA4gAygLMh8ucHJvdG8uVHJhdmVsZXJEdWVs", + "QmF0dGxlU2FtcGxlEh0KBkV2ZW50cxgPIAEoCzINLnByb3RvLkV2ZW50c0II", + "CgZSZXN1bHQihQIKFUludGVyYWN0QmF0dGxlRW5kUmVzcBIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwSOwoHVmljdG9yeRgBIAEoCzIoLnByb3RvLkludGVyYWN0", + "QmF0dGxlRW5kUmVzcC5WaWN0b3J5RGF0YUgAEjkKBkRlZmVhdBgCIAEoCzIn", + "LnByb3RvLkludGVyYWN0QmF0dGxlRW5kUmVzcC5EZWZlYXREYXRhSAAaOgoL", + "VmljdG9yeURhdGESCwoDRXhwGAEgASgNEgoKAkx2GAIgASgNEhIKCkJhdHRs", + "ZVRpbWUYCiABKA0aGAoKRGVmZWF0RGF0YRIKCgJMdhgBIAEoDUIICgZSZXN1", + "bHQiOQoVSW50ZXJhY3RSZWNvdmVyeUhQUmVxEgoKAkhwGAEgASgNEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDCJACg1GYXRlQ2FyZFVzYWdlEgoKAklkGAEgASgN", + "Eg0KBVRpbWVzGAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJWChFJbnRl", + "cmFjdFNlbGVjdFJlcRIUCgtOZXh0UGFja2FnZRj/DyABKAwSDwoFSW5kZXgY", + "ASABKA1IABIQCgZSZVJvbGwYAiABKAhIAEIICgZTZWxlY3Qi/gMKEkludGVy", + "YWN0U2VsZWN0UmVzcBIUCgtOZXh0UGFja2FnZRj/DyABKAwSMQoEUmVzcBgB", + "IAEoCzIhLnByb3RvLkludGVyYWN0U2VsZWN0UmVzcC5TdWNjZXNzSAASSwoa", + "U2VsZWN0U3BlY2lhbFBvdGVudGlhbENhc2UYAiABKAsyJS5wcm90by5TZWxl", + "Y3RTcGVjaWFsUG90ZW50aWFsQ2FzZURhdGFIABI9ChNTZWxlY3RQb3RlbnRp", + "YWxDYXNlGAMgASgLMh4ucHJvdG8uU2VsZWN0UG90ZW50aWFsQ2FzZURhdGFI", + "ABI7ChJTZWxlY3RGYXRlQ2FyZENhc2UYBCABKAsyHS5wcm90by5TZWxlY3RG", + "YXRlQ2FyZENhc2VEYXRhSAASKwoKSGF3a2VyQ2FzZRgFIAEoCzIVLnByb3Rv", + "Lkhhd2tlckNhc2VEYXRhSAASNwoQSGFybW9ueVNraWxsQ2FzZRgGIAEoCzIb", + "LnByb3RvLkhhcm1vbnlTa2lsbENhc2VEYXRhSAAaZgoHU3VjY2VzcxIdCgVJ", + "dGVtcxgBIAMoCzIOLnByb3RvLkl0ZW1UcGwSFQoNT3B0aW9uc1Jlc3VsdBgC", + "IAEoCBIlCghGYXRlQ2FyZBgDIAMoCzITLnByb3RvLkZhdGVDYXJkSW5mb0II", + "CgZSZXN1bHQiXAoMRmF0ZUNhcmRJbmZvEgsKA1RpZBgBIAEoDRILCgNRdHkY", + "AiABKAUSDgoGUmVtYWluGAMgASgFEgwKBFJvb20YBCABKAUSFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIkEKDVBvdGVudGlhbEluZm8SCwoDVGlkGAEgASgNEg0K", + "BUxldmVsGAIgASgFEhQKC05leHRQYWNrYWdlGP8PIAEoDCI6CghOb3RlSW5m", + "bxILCgNUaWQYASABKA0SCwoDUXR5GAIgASgFEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCI/Cg1Ub3dlckl0ZW1JbmZvEgsKA1RpZBgBIAEoDRILCgNRdHkYAiAB", + "KAUSFAoLTmV4dFBhY2thZ2UY/w8gASgMIj4KDFRvd2VyUmVzSW5mbxILCgNU", + "aWQYASABKA0SCwoDUXR5GAIgASgFEhQKC05leHRQYWNrYWdlGP8PIAEoDCJb", + "CgpTZWxlY3ROb3RlEgsKA0lkeBgBIAEoDRIMCgRMaXN0GAIgAygNEg0KBUZp", + "bmFsGAMgAygNEg0KBUJvbnVzGAQgAygNEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCKSAgoOU2V0dGxlRGF0YVJlc3ASIQoGQ2hhbmdlGAEgASgLMhEucHJvdG8u", + "Q2hhbmdlSW5mbxIoCgVCdWlsZBgCIAEoCzIZLnByb3RvLlN0YXJUb3dlckJ1", + "aWxkSW5mbxINCgVUb2tlbhgHIAEoCRIRCglCYXNlU2NvcmUYCCABKA0SEQoJ", + "VGltZVNjb3JlGAkgASgNEhIKCkZpbmFsU2NvcmUYCiABKA0SCwoDT2xkGAsg", + "ASgNEgsKA05ldxgMIAEoDRIRCglSYW5rVGltZXMYDSABKA0SEQoJVG90YWxU", + "aW1lGA4gASgNEhQKDFRvdGFsRGFtYWdlcxgPIAMoBBIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAwiiQEKCUJ1aWxkRGlzYxIOCgZEaXNjSWQYASABKA0SKgoMQ29t", + "bW9uU2tpbGxzGAIgAygLMhQucHJvdG8uRGlzY1NraWxsSW5mbxIqCgxQYXNz", + "aXZlU2tpbGwYAyABKAsyFC5wcm90by5EaXNjU2tpbGxJbmZvEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCJMCg5Ub3dlckJ1aWxkQ2hhchIOCgZDaGFySWQYASAB", + "KA0SFAoMUG90ZW50aWFsQ250GAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCJKCg5CdWlsZFBvdGVudGlhbBITCgtQb3RlbnRpYWxJZBgBIAEoDRINCgVM", + "ZXZlbBgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwilQEKElN0YXJUb3dl", + "ckJ1aWxkSW5mbxIpCgVCcmllZhgBIAEoCzIaLnByb3RvLlN0YXJUb3dlckJ1", + "aWxkQnJpZWYSKwoGRGV0YWlsGAIgASgLMhsucHJvdG8uU3RhclRvd2VyQnVp", + "bGREZXRhaWwSEQoJQnVpbGRDb2luGAMgASgNEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDCKtAQoTU3RhclRvd2VyQnVpbGRCcmllZhIKCgJJZBgBIAEoBBIMCgRO", + "YW1lGAIgASgJEgwKBExvY2sYAyABKAgSEgoKUHJlZmVyZW5jZRgEIAEoCBIN", + "CgVTY29yZRgFIAEoDRIPCgdEaXNjSWRzGAYgAygNEiQKBUNoYXJzGAcgAygL", + "MhUucHJvdG8uVG93ZXJCdWlsZENoYXISFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "IqABChRTdGFyVG93ZXJCdWlsZERldGFpbBIfCgVEaXNjcxgBIAMoCzIQLnBy", + "b3RvLkJ1aWxkRGlzYxIpCgpQb3RlbnRpYWxzGAIgAygLMhUucHJvdG8uQnVp", + "bGRQb3RlbnRpYWwSDQoFTm90ZXMYAyADKA0SFwoPSGFybW9ueVNraWxsSWRz", + "GAQgAygNEhQKC05leHRQYWNrYWdlGP8PIAEoDCJWCh9TdGFyVG93ZXJCb29r", + "Q2hhclBvdGVudGlhbEJyaWVmEg4KBkNoYXJJZBgBIAEoDRINCgVDb3VudBgC", + "IAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiSQoWU3RhclRvd2VyQm9va1Bv", + "dGVudGlhbBIKCgJJZBgBIAEoDRINCgVMZXZlbBgCIAEoDRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAwidQoaU3RhclRvd2VyQm9va0NoYXJQb3RlbnRpYWwSDgoG", + "Q2hhcklkGAEgASgNEjEKClBvdGVudGlhbHMYAiADKAsyHS5wcm90by5TdGFy", + "VG93ZXJCb29rUG90ZW50aWFsEhQKC05leHRQYWNrYWdlGP8PIAEoDCJACg1E", + "aXNjU2tpbGxJbmZvEgoKAklkGAEgASgNEg0KBUxldmVsGAIgASgNEhQKC05l", + "eHRQYWNrYWdlGP8PIAEoDCJfCg9Ub3dlckNoYW5nZURhdGESHQoVRGlzY1Nr", + "aWxsQWN0aXZlTnVtYmVyGAEgASgNEhcKD0hhcm1vbnlTa2lsbElkcxgCIAMo", + "DRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAFABYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.TravelerDuelRankUploadReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerInfo), global::Proto.StarTowerInfo.Parser, new[]{ "Meta", "Room", "Bag", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerMeta), global::Proto.StarTowerMeta.Parser, new[]{ "Id", "CharHp", "TeamLevel", "TeamExp", "Chars", "Discs", "DateLen", "ClientData", "DiscSkillActiveNumber", "HarmonySkillIds", "TowerGrowthNodes", "ResurrectionCnt", "RankTotalTime", "TotalTime", "TotalDamages", "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerDisc), global::Proto.StarTowerDisc.Parser, new[]{ "Id", "Level", "Phase", "Star", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerChar), global::Proto.StarTowerChar.Parser, new[]{ "Id", "Equipments", "Level", "SkillLvs", "AffinityLevel", "Advance", "TalentNodes", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerEquipment), global::Proto.StarTowerEquipment.Parser, new[]{ "Tid", "Exp", "Tags", "Attrs", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBag), global::Proto.StarTowerBag.Parser, new[]{ "FateCard", "Notes", "Potentials", "Items", "Res", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRoom), global::Proto.StarTowerRoom.Parser, new[]{ "Data", "Cases", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRoomData), global::Proto.StarTowerRoomData.Parser, new[]{ "Floor", "MapId", "ParamId", "RoomType", "MapParam", "MapTableId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRoomCase), global::Proto.StarTowerRoomCase.Parser, new[]{ "Id", "NextPackage", "BattleCase", "DoorCase", "SelectSpecialPotentialCase", "SelectPotentialCase", "SelectFateCardCase", "SelectNoteCase", "SelectOptionsEventCase", "RecoveryHPCase", "NpcRecoveryHPCase", "HawkerCase", "StrengthenMachineCase", "HarmonySkillCase", "SyncHPCase" }, new[]{ "Data" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BattleCaseData), global::Proto.BattleCaseData.Parser, new[]{ "TimeLimit", "FateCard", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DoorCaseData), global::Proto.DoorCaseData.Parser, new[]{ "Floor", "Type", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SelectSpecialPotentialCaseData), global::Proto.SelectSpecialPotentialCaseData.Parser, new[]{ "Ids", "TeamLevel", "NewIds", "CanReRoll", "ReRollPrice", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SelectPotentialCaseData), global::Proto.SelectPotentialCaseData.Parser, new[]{ "Infos", "TeamLevel", "NewIds", "LuckyIds", "CanReRoll", "ReRollPrice", "Type", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SelectOptionsEventCaseData), global::Proto.SelectOptionsEventCaseData.Parser, new[]{ "EvtId", "Options", "FailedIdxes", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SelectNoteCaseData), global::Proto.SelectNoteCaseData.Parser, new[]{ "Info", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SelectFateCardCaseData), global::Proto.SelectFateCardCaseData.Parser, new[]{ "Ids", "NewIds", "Give", "CanReRoll", "ReRollPrice", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RecoveryHPCaseData), global::Proto.RecoveryHPCaseData.Parser, new[]{ "EffectId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.NpcRecoveryHPCaseData), global::Proto.NpcRecoveryHPCaseData.Parser, new[]{ "EffectId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SyncHPCaseData), global::Proto.SyncHPCaseData.Parser, new[]{ "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.HawkerGoods), global::Proto.HawkerGoods.Parser, new[]{ "Sid", "Idx", "CharPos", "Price", "Discount", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.HawkerCaseData), global::Proto.HawkerCaseData.Parser, new[]{ "List", "Purchase", "CanReRoll", "ReRollPrice", "ReRollTimes", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractHawkerReq), global::Proto.InteractHawkerReq.Parser, new[]{ "NextPackage", "Sid", "ReRoll" }, new[]{ "Action" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractStrengthenMachineResp), global::Proto.InteractStrengthenMachineResp.Parser, new[]{ "BuySucceed", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StrengthenMachineCaseData), global::Proto.StrengthenMachineCaseData.Parser, new[]{ "Times", "FirstFree", "Discount", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.HarmonySkillCaseData), global::Proto.HarmonySkillCaseData.Parser, new[]{ "Skill", "CanReRoll", "ReRollPrice", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractEnterReq), global::Proto.InteractEnterReq.Parser, new[]{ "MapId", "ParamId", "DateLen", "ClientData", "MapParam", "MapTableId", "Checksum", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractEnterResp), global::Proto.InteractEnterResp.Parser, new[]{ "Room", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractBattleEndReq), global::Proto.InteractBattleEndReq.Parser, new[]{ "NextPackage", "Victory", "Defeat" }, new[]{ "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractBattleEndReq.Types.VictoryData), global::Proto.InteractBattleEndReq.Types.VictoryData.Parser, new[]{ "HP", "Time", "DateLen", "ClientData", "FateCardUsage", "Damages", "Sample", "Events" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractBattleEndResp), global::Proto.InteractBattleEndResp.Parser, new[]{ "NextPackage", "Victory", "Defeat" }, new[]{ "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractBattleEndResp.Types.VictoryData), global::Proto.InteractBattleEndResp.Types.VictoryData.Parser, new[]{ "Exp", "Lv", "BattleTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractBattleEndResp.Types.DefeatData), global::Proto.InteractBattleEndResp.Types.DefeatData.Parser, new[]{ "Lv" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractRecoveryHPReq), global::Proto.InteractRecoveryHPReq.Parser, new[]{ "Hp", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FateCardUsage), global::Proto.FateCardUsage.Parser, new[]{ "Id", "Times", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractSelectReq), global::Proto.InteractSelectReq.Parser, new[]{ "NextPackage", "Index", "ReRoll" }, new[]{ "Select" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractSelectResp), global::Proto.InteractSelectResp.Parser, new[]{ "NextPackage", "Resp", "SelectSpecialPotentialCase", "SelectPotentialCase", "SelectFateCardCase", "HawkerCase", "HarmonySkillCase" }, new[]{ "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.InteractSelectResp.Types.Success), global::Proto.InteractSelectResp.Types.Success.Parser, new[]{ "Items", "OptionsResult", "FateCard" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.FateCardInfo), global::Proto.FateCardInfo.Parser, new[]{ "Tid", "Qty", "Remain", "Room", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.PotentialInfo), global::Proto.PotentialInfo.Parser, new[]{ "Tid", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.NoteInfo), global::Proto.NoteInfo.Parser, new[]{ "Tid", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerItemInfo), global::Proto.TowerItemInfo.Parser, new[]{ "Tid", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerResInfo), global::Proto.TowerResInfo.Parser, new[]{ "Tid", "Qty", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SelectNote), global::Proto.SelectNote.Parser, new[]{ "Idx", "List", "Final", "Bonus", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SettleDataResp), global::Proto.SettleDataResp.Parser, new[]{ "Change", "Build", "Token", "BaseScore", "TimeScore", "FinalScore", "Old", "New", "RankTimes", "TotalTime", "TotalDamages", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BuildDisc), global::Proto.BuildDisc.Parser, new[]{ "DiscId", "CommonSkills", "PassiveSkill", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBuildChar), global::Proto.TowerBuildChar.Parser, new[]{ "CharId", "PotentialCnt", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.BuildPotential), global::Proto.BuildPotential.Parser, new[]{ "PotentialId", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildInfo), global::Proto.StarTowerBuildInfo.Parser, new[]{ "Brief", "Detail", "BuildCoin", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildBrief), global::Proto.StarTowerBuildBrief.Parser, new[]{ "Id", "Name", "Lock", "Preference", "Score", "DiscIds", "Chars", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildDetail), global::Proto.StarTowerBuildDetail.Parser, new[]{ "Discs", "Potentials", "Notes", "HarmonySkillIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookCharPotentialBrief), global::Proto.StarTowerBookCharPotentialBrief.Parser, new[]{ "CharId", "Count", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookPotential), global::Proto.StarTowerBookPotential.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookCharPotential), global::Proto.StarTowerBookCharPotential.Parser, new[]{ "CharId", "Potentials", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.DiscSkillInfo), global::Proto.DiscSkillInfo.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerChangeData), global::Proto.TowerChangeData.Parser, new[]{ "DiscSkillActiveNumber", "HarmonySkillIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerInfo : pb::IMessage<StarTowerInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerInfo> _parser = new pb::MessageParser<StarTowerInfo>(() => new StarTowerInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.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 StarTowerInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInfo(StarTowerInfo other) : this() { + meta_ = other.meta_ != null ? other.meta_.Clone() : null; + room_ = other.room_ != null ? other.room_.Clone() : null; + bag_ = other.bag_ != null ? other.bag_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInfo Clone() { + return new StarTowerInfo(this); + } + + /// <summary>Field number for the "Meta" field.</summary> + public const int MetaFieldNumber = 1; + private global::Proto.StarTowerMeta meta_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerMeta Meta { + get { return meta_; } + set { + meta_ = value; + } + } + + /// <summary>Field number for the "Room" field.</summary> + public const int RoomFieldNumber = 2; + private global::Proto.StarTowerRoom room_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerRoom Room { + get { return room_; } + set { + room_ = value; + } + } + + /// <summary>Field number for the "Bag" field.</summary> + public const int BagFieldNumber = 3; + private global::Proto.StarTowerBag bag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBag Bag { + get { return bag_; } + set { + bag_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Meta, other.Meta)) return false; + if (!object.Equals(Room, other.Room)) return false; + if (!object.Equals(Bag, other.Bag)) return false; + if (NextPackage != other.NextPackage) 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 (meta_ != null) hash ^= Meta.GetHashCode(); + if (room_ != null) hash ^= Room.GetHashCode(); + if (bag_ != null) hash ^= Bag.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (room_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Room); + } + if (bag_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Bag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (room_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Room); + } + if (bag_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Bag); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Meta); + } + if (room_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Room); + } + if (bag_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bag); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerInfo other) { + if (other == null) { + return; + } + if (other.meta_ != null) { + if (meta_ == null) { + Meta = new global::Proto.StarTowerMeta(); + } + Meta.MergeFrom(other.Meta); + } + if (other.room_ != null) { + if (room_ == null) { + Room = new global::Proto.StarTowerRoom(); + } + Room.MergeFrom(other.Room); + } + if (other.bag_ != null) { + if (bag_ == null) { + Bag = new global::Proto.StarTowerBag(); + } + Bag.MergeFrom(other.Bag); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (meta_ == null) { + Meta = new global::Proto.StarTowerMeta(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (room_ == null) { + Room = new global::Proto.StarTowerRoom(); + } + input.ReadMessage(Room); + break; + } + case 26: { + if (bag_ == null) { + Bag = new global::Proto.StarTowerBag(); + } + input.ReadMessage(Bag); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (meta_ == null) { + Meta = new global::Proto.StarTowerMeta(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (room_ == null) { + Room = new global::Proto.StarTowerRoom(); + } + input.ReadMessage(Room); + break; + } + case 26: { + if (bag_ == null) { + Bag = new global::Proto.StarTowerBag(); + } + input.ReadMessage(Bag); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerMeta : pb::IMessage<StarTowerMeta> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerMeta> _parser = new pb::MessageParser<StarTowerMeta>(() => new StarTowerMeta()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerMeta> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMeta() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMeta(StarTowerMeta other) : this() { + id_ = other.id_; + charHp_ = other.charHp_; + teamLevel_ = other.teamLevel_; + teamExp_ = other.teamExp_; + chars_ = other.chars_.Clone(); + discs_ = other.discs_.Clone(); + dateLen_ = other.dateLen_; + clientData_ = other.clientData_; + discSkillActiveNumber_ = other.discSkillActiveNumber_; + harmonySkillIds_ = other.harmonySkillIds_.Clone(); + towerGrowthNodes_ = other.towerGrowthNodes_.Clone(); + resurrectionCnt_ = other.resurrectionCnt_; + rankTotalTime_ = other.rankTotalTime_; + totalTime_ = other.totalTime_; + totalDamages_ = other.totalDamages_.Clone(); + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMeta Clone() { + return new StarTowerMeta(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "CharHp" field.</summary> + public const int CharHpFieldNumber = 2; + private uint charHp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharHp { + get { return charHp_; } + set { + charHp_ = value; + } + } + + /// <summary>Field number for the "TeamLevel" field.</summary> + public const int TeamLevelFieldNumber = 3; + private uint teamLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TeamLevel { + get { return teamLevel_; } + set { + teamLevel_ = value; + } + } + + /// <summary>Field number for the "TeamExp" field.</summary> + public const int TeamExpFieldNumber = 4; + private uint teamExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TeamExp { + get { return teamExp_; } + set { + teamExp_ = value; + } + } + + /// <summary>Field number for the "Chars" field.</summary> + public const int CharsFieldNumber = 5; + private static readonly pb::FieldCodec<global::Proto.StarTowerChar> _repeated_chars_codec + = pb::FieldCodec.ForMessage(42, global::Proto.StarTowerChar.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerChar> chars_ = new pbc::RepeatedField<global::Proto.StarTowerChar>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerChar> Chars { + get { return chars_; } + } + + /// <summary>Field number for the "Discs" field.</summary> + public const int DiscsFieldNumber = 6; + private static readonly pb::FieldCodec<global::Proto.StarTowerDisc> _repeated_discs_codec + = pb::FieldCodec.ForMessage(50, global::Proto.StarTowerDisc.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerDisc> discs_ = new pbc::RepeatedField<global::Proto.StarTowerDisc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerDisc> Discs { + get { return discs_; } + } + + /// <summary>Field number for the "DateLen" field.</summary> + public const int DateLenFieldNumber = 7; + private uint dateLen_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DateLen { + get { return dateLen_; } + set { + dateLen_ = value; + } + } + + /// <summary>Field number for the "ClientData" field.</summary> + public const int ClientDataFieldNumber = 8; + private string clientData_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientData { + get { return clientData_; } + set { + clientData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscSkillActiveNumber" field.</summary> + public const int DiscSkillActiveNumberFieldNumber = 9; + private uint discSkillActiveNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DiscSkillActiveNumber { + get { return discSkillActiveNumber_; } + set { + discSkillActiveNumber_ = value; + } + } + + /// <summary>Field number for the "HarmonySkillIds" field.</summary> + public const int HarmonySkillIdsFieldNumber = 10; + private static readonly pb::FieldCodec<uint> _repeated_harmonySkillIds_codec + = pb::FieldCodec.ForUInt32(82); + private readonly pbc::RepeatedField<uint> harmonySkillIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> HarmonySkillIds { + get { return harmonySkillIds_; } + } + + /// <summary>Field number for the "TowerGrowthNodes" field.</summary> + public const int TowerGrowthNodesFieldNumber = 11; + private static readonly pb::FieldCodec<uint> _repeated_towerGrowthNodes_codec + = pb::FieldCodec.ForUInt32(90); + private readonly pbc::RepeatedField<uint> towerGrowthNodes_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> TowerGrowthNodes { + get { return towerGrowthNodes_; } + } + + /// <summary>Field number for the "ResurrectionCnt" field.</summary> + public const int ResurrectionCntFieldNumber = 12; + private uint resurrectionCnt_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ResurrectionCnt { + get { return resurrectionCnt_; } + set { + resurrectionCnt_ = value; + } + } + + /// <summary>Field number for the "RankTotalTime" field.</summary> + public const int RankTotalTimeFieldNumber = 13; + private uint rankTotalTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RankTotalTime { + get { return rankTotalTime_; } + set { + rankTotalTime_ = value; + } + } + + /// <summary>Field number for the "TotalTime" field.</summary> + public const int TotalTimeFieldNumber = 14; + private uint totalTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TotalTime { + get { return totalTime_; } + set { + totalTime_ = value; + } + } + + /// <summary>Field number for the "TotalDamages" field.</summary> + public const int TotalDamagesFieldNumber = 15; + private static readonly pb::FieldCodec<ulong> _repeated_totalDamages_codec + = pb::FieldCodec.ForUInt64(122); + private readonly pbc::RepeatedField<ulong> totalDamages_ = new pbc::RepeatedField<ulong>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<ulong> TotalDamages { + get { return totalDamages_; } + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 16; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerMeta); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerMeta other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharHp != other.CharHp) return false; + if (TeamLevel != other.TeamLevel) return false; + if (TeamExp != other.TeamExp) return false; + if(!chars_.Equals(other.chars_)) return false; + if(!discs_.Equals(other.discs_)) return false; + if (DateLen != other.DateLen) return false; + if (ClientData != other.ClientData) return false; + if (DiscSkillActiveNumber != other.DiscSkillActiveNumber) return false; + if(!harmonySkillIds_.Equals(other.harmonySkillIds_)) return false; + if(!towerGrowthNodes_.Equals(other.towerGrowthNodes_)) return false; + if (ResurrectionCnt != other.ResurrectionCnt) return false; + if (RankTotalTime != other.RankTotalTime) return false; + if (TotalTime != other.TotalTime) return false; + if(!totalDamages_.Equals(other.totalDamages_)) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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 (CharHp != 0) hash ^= CharHp.GetHashCode(); + if (TeamLevel != 0) hash ^= TeamLevel.GetHashCode(); + if (TeamExp != 0) hash ^= TeamExp.GetHashCode(); + hash ^= chars_.GetHashCode(); + hash ^= discs_.GetHashCode(); + if (DateLen != 0) hash ^= DateLen.GetHashCode(); + if (ClientData.Length != 0) hash ^= ClientData.GetHashCode(); + if (DiscSkillActiveNumber != 0) hash ^= DiscSkillActiveNumber.GetHashCode(); + hash ^= harmonySkillIds_.GetHashCode(); + hash ^= towerGrowthNodes_.GetHashCode(); + if (ResurrectionCnt != 0) hash ^= ResurrectionCnt.GetHashCode(); + if (RankTotalTime != 0) hash ^= RankTotalTime.GetHashCode(); + if (TotalTime != 0) hash ^= TotalTime.GetHashCode(); + hash ^= totalDamages_.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (CharHp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(CharHp); + } + if (TeamLevel != 0) { + output.WriteRawTag(24); + output.WriteUInt32(TeamLevel); + } + if (TeamExp != 0) { + output.WriteRawTag(32); + output.WriteUInt32(TeamExp); + } + chars_.WriteTo(output, _repeated_chars_codec); + discs_.WriteTo(output, _repeated_discs_codec); + if (DateLen != 0) { + output.WriteRawTag(56); + output.WriteUInt32(DateLen); + } + if (ClientData.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ClientData); + } + if (DiscSkillActiveNumber != 0) { + output.WriteRawTag(72); + output.WriteUInt32(DiscSkillActiveNumber); + } + harmonySkillIds_.WriteTo(output, _repeated_harmonySkillIds_codec); + towerGrowthNodes_.WriteTo(output, _repeated_towerGrowthNodes_codec); + if (ResurrectionCnt != 0) { + output.WriteRawTag(96); + output.WriteUInt32(ResurrectionCnt); + } + if (RankTotalTime != 0) { + output.WriteRawTag(104); + output.WriteUInt32(RankTotalTime); + } + if (TotalTime != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TotalTime); + } + totalDamages_.WriteTo(output, _repeated_totalDamages_codec); + if (BuildId != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (CharHp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(CharHp); + } + if (TeamLevel != 0) { + output.WriteRawTag(24); + output.WriteUInt32(TeamLevel); + } + if (TeamExp != 0) { + output.WriteRawTag(32); + output.WriteUInt32(TeamExp); + } + chars_.WriteTo(ref output, _repeated_chars_codec); + discs_.WriteTo(ref output, _repeated_discs_codec); + if (DateLen != 0) { + output.WriteRawTag(56); + output.WriteUInt32(DateLen); + } + if (ClientData.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ClientData); + } + if (DiscSkillActiveNumber != 0) { + output.WriteRawTag(72); + output.WriteUInt32(DiscSkillActiveNumber); + } + harmonySkillIds_.WriteTo(ref output, _repeated_harmonySkillIds_codec); + towerGrowthNodes_.WriteTo(ref output, _repeated_towerGrowthNodes_codec); + if (ResurrectionCnt != 0) { + output.WriteRawTag(96); + output.WriteUInt32(ResurrectionCnt); + } + if (RankTotalTime != 0) { + output.WriteRawTag(104); + output.WriteUInt32(RankTotalTime); + } + if (TotalTime != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TotalTime); + } + totalDamages_.WriteTo(ref output, _repeated_totalDamages_codec); + if (BuildId != 0UL) { + output.WriteRawTag(128, 1); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (CharHp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharHp); + } + if (TeamLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TeamLevel); + } + if (TeamExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TeamExp); + } + size += chars_.CalculateSize(_repeated_chars_codec); + size += discs_.CalculateSize(_repeated_discs_codec); + if (DateLen != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DateLen); + } + if (ClientData.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientData); + } + if (DiscSkillActiveNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiscSkillActiveNumber); + } + size += harmonySkillIds_.CalculateSize(_repeated_harmonySkillIds_codec); + size += towerGrowthNodes_.CalculateSize(_repeated_towerGrowthNodes_codec); + if (ResurrectionCnt != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ResurrectionCnt); + } + if (RankTotalTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RankTotalTime); + } + if (TotalTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalTime); + } + size += totalDamages_.CalculateSize(_repeated_totalDamages_codec); + if (BuildId != 0UL) { + size += 2 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerMeta other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharHp != 0) { + CharHp = other.CharHp; + } + if (other.TeamLevel != 0) { + TeamLevel = other.TeamLevel; + } + if (other.TeamExp != 0) { + TeamExp = other.TeamExp; + } + chars_.Add(other.chars_); + discs_.Add(other.discs_); + if (other.DateLen != 0) { + DateLen = other.DateLen; + } + if (other.ClientData.Length != 0) { + ClientData = other.ClientData; + } + if (other.DiscSkillActiveNumber != 0) { + DiscSkillActiveNumber = other.DiscSkillActiveNumber; + } + harmonySkillIds_.Add(other.harmonySkillIds_); + towerGrowthNodes_.Add(other.towerGrowthNodes_); + if (other.ResurrectionCnt != 0) { + ResurrectionCnt = other.ResurrectionCnt; + } + if (other.RankTotalTime != 0) { + RankTotalTime = other.RankTotalTime; + } + if (other.TotalTime != 0) { + TotalTime = other.TotalTime; + } + totalDamages_.Add(other.totalDamages_); + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + CharHp = input.ReadUInt32(); + break; + } + case 24: { + TeamLevel = input.ReadUInt32(); + break; + } + case 32: { + TeamExp = input.ReadUInt32(); + break; + } + case 42: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 50: { + discs_.AddEntriesFrom(input, _repeated_discs_codec); + break; + } + case 56: { + DateLen = input.ReadUInt32(); + break; + } + case 66: { + ClientData = input.ReadString(); + break; + } + case 72: { + DiscSkillActiveNumber = input.ReadUInt32(); + break; + } + case 82: + case 80: { + harmonySkillIds_.AddEntriesFrom(input, _repeated_harmonySkillIds_codec); + break; + } + case 90: + case 88: { + towerGrowthNodes_.AddEntriesFrom(input, _repeated_towerGrowthNodes_codec); + break; + } + case 96: { + ResurrectionCnt = input.ReadUInt32(); + break; + } + case 104: { + RankTotalTime = input.ReadUInt32(); + break; + } + case 112: { + TotalTime = input.ReadUInt32(); + break; + } + case 122: + case 120: { + totalDamages_.AddEntriesFrom(input, _repeated_totalDamages_codec); + break; + } + case 128: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + CharHp = input.ReadUInt32(); + break; + } + case 24: { + TeamLevel = input.ReadUInt32(); + break; + } + case 32: { + TeamExp = input.ReadUInt32(); + break; + } + case 42: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 50: { + discs_.AddEntriesFrom(ref input, _repeated_discs_codec); + break; + } + case 56: { + DateLen = input.ReadUInt32(); + break; + } + case 66: { + ClientData = input.ReadString(); + break; + } + case 72: { + DiscSkillActiveNumber = input.ReadUInt32(); + break; + } + case 82: + case 80: { + harmonySkillIds_.AddEntriesFrom(ref input, _repeated_harmonySkillIds_codec); + break; + } + case 90: + case 88: { + towerGrowthNodes_.AddEntriesFrom(ref input, _repeated_towerGrowthNodes_codec); + break; + } + case 96: { + ResurrectionCnt = input.ReadUInt32(); + break; + } + case 104: { + RankTotalTime = input.ReadUInt32(); + break; + } + case 112: { + TotalTime = input.ReadUInt32(); + break; + } + case 122: + case 120: { + totalDamages_.AddEntriesFrom(ref input, _repeated_totalDamages_codec); + break; + } + case 128: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerDisc : pb::IMessage<StarTowerDisc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerDisc> _parser = new pb::MessageParser<StarTowerDisc>(() => new StarTowerDisc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerDisc> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerDisc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerDisc(StarTowerDisc other) : this() { + id_ = other.id_; + level_ = other.level_; + phase_ = other.phase_; + star_ = other.star_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerDisc Clone() { + return new StarTowerDisc(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "Phase" field.</summary> + public const int PhaseFieldNumber = 3; + private uint phase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Phase { + get { return phase_; } + set { + phase_ = value; + } + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 4; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerDisc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerDisc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (Phase != other.Phase) return false; + if (Star != other.Star) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Phase != 0) hash ^= Phase.GetHashCode(); + if (Star != 0) hash ^= Star.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (Phase != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Phase); + } + if (Star != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Star); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (Phase != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Phase); + } + if (Star != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Star); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (Phase != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerDisc other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Phase != 0) { + Phase = other.Phase; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 24: { + Phase = input.ReadUInt32(); + break; + } + case 32: { + Star = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 24: { + Phase = input.ReadUInt32(); + break; + } + case 32: { + Star = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerChar : pb::IMessage<StarTowerChar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerChar> _parser = new pb::MessageParser<StarTowerChar>(() => new StarTowerChar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerChar> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerChar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerChar(StarTowerChar other) : this() { + id_ = other.id_; + equipments_ = other.equipments_.Clone(); + level_ = other.level_; + skillLvs_ = other.skillLvs_.Clone(); + affinityLevel_ = other.affinityLevel_; + advance_ = other.advance_; + talentNodes_ = other.talentNodes_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerChar Clone() { + return new StarTowerChar(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Equipments" field.</summary> + public const int EquipmentsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.StarTowerEquipment> _repeated_equipments_codec + = pb::FieldCodec.ForMessage(18, global::Proto.StarTowerEquipment.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerEquipment> equipments_ = new pbc::RepeatedField<global::Proto.StarTowerEquipment>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerEquipment> Equipments { + get { return equipments_; } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 3; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "SkillLvs" field.</summary> + public const int SkillLvsFieldNumber = 4; + private static readonly pb::FieldCodec<uint> _repeated_skillLvs_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField<uint> skillLvs_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> SkillLvs { + get { return skillLvs_; } + } + + /// <summary>Field number for the "AffinityLevel" field.</summary> + public const int AffinityLevelFieldNumber = 5; + private uint affinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint AffinityLevel { + get { return affinityLevel_; } + set { + affinityLevel_ = value; + } + } + + /// <summary>Field number for the "Advance" field.</summary> + public const int AdvanceFieldNumber = 6; + private uint advance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Advance { + get { return advance_; } + set { + advance_ = value; + } + } + + /// <summary>Field number for the "TalentNodes" field.</summary> + public const int TalentNodesFieldNumber = 7; + private pb::ByteString talentNodes_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString TalentNodes { + get { return talentNodes_; } + set { + talentNodes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerChar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerChar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!equipments_.Equals(other.equipments_)) return false; + if (Level != other.Level) return false; + if(!skillLvs_.Equals(other.skillLvs_)) return false; + if (AffinityLevel != other.AffinityLevel) return false; + if (Advance != other.Advance) return false; + if (TalentNodes != other.TalentNodes) return false; + if (NextPackage != other.NextPackage) 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(); + hash ^= equipments_.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + hash ^= skillLvs_.GetHashCode(); + if (AffinityLevel != 0) hash ^= AffinityLevel.GetHashCode(); + if (Advance != 0) hash ^= Advance.GetHashCode(); + if (TalentNodes.Length != 0) hash ^= TalentNodes.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + equipments_.WriteTo(output, _repeated_equipments_codec); + if (Level != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Level); + } + skillLvs_.WriteTo(output, _repeated_skillLvs_codec); + if (AffinityLevel != 0) { + output.WriteRawTag(40); + output.WriteUInt32(AffinityLevel); + } + if (Advance != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Advance); + } + if (TalentNodes.Length != 0) { + output.WriteRawTag(58); + output.WriteBytes(TalentNodes); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + equipments_.WriteTo(ref output, _repeated_equipments_codec); + if (Level != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Level); + } + skillLvs_.WriteTo(ref output, _repeated_skillLvs_codec); + if (AffinityLevel != 0) { + output.WriteRawTag(40); + output.WriteUInt32(AffinityLevel); + } + if (Advance != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Advance); + } + if (TalentNodes.Length != 0) { + output.WriteRawTag(58); + output.WriteBytes(TalentNodes); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + size += equipments_.CalculateSize(_repeated_equipments_codec); + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + size += skillLvs_.CalculateSize(_repeated_skillLvs_codec); + if (AffinityLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AffinityLevel); + } + if (Advance != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Advance); + } + if (TalentNodes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(TalentNodes); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerChar other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + equipments_.Add(other.equipments_); + if (other.Level != 0) { + Level = other.Level; + } + skillLvs_.Add(other.skillLvs_); + if (other.AffinityLevel != 0) { + AffinityLevel = other.AffinityLevel; + } + if (other.Advance != 0) { + Advance = other.Advance; + } + if (other.TalentNodes.Length != 0) { + TalentNodes = other.TalentNodes; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 18: { + equipments_.AddEntriesFrom(input, _repeated_equipments_codec); + break; + } + case 24: { + Level = input.ReadUInt32(); + break; + } + case 34: + case 32: { + skillLvs_.AddEntriesFrom(input, _repeated_skillLvs_codec); + break; + } + case 40: { + AffinityLevel = input.ReadUInt32(); + break; + } + case 48: { + Advance = input.ReadUInt32(); + break; + } + case 58: { + TalentNodes = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + equipments_.AddEntriesFrom(ref input, _repeated_equipments_codec); + break; + } + case 24: { + Level = input.ReadUInt32(); + break; + } + case 34: + case 32: { + skillLvs_.AddEntriesFrom(ref input, _repeated_skillLvs_codec); + break; + } + case 40: { + AffinityLevel = input.ReadUInt32(); + break; + } + case 48: { + Advance = input.ReadUInt32(); + break; + } + case 58: { + TalentNodes = input.ReadBytes(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerEquipment : pb::IMessage<StarTowerEquipment> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerEquipment> _parser = new pb::MessageParser<StarTowerEquipment>(() => new StarTowerEquipment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerEquipment> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEquipment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEquipment(StarTowerEquipment other) : this() { + tid_ = other.tid_; + exp_ = other.exp_; + tags_ = other.tags_.Clone(); + attrs_ = other.attrs_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEquipment Clone() { + return new StarTowerEquipment(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "Tags" field.</summary> + public const int TagsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_tags_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> tags_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Tags { + get { return tags_; } + } + + /// <summary>Field number for the "Attrs" field.</summary> + public const int AttrsFieldNumber = 4; + private static readonly pb::FieldCodec<global::Proto.EquipmentAttr> _repeated_attrs_codec + = pb::FieldCodec.ForMessage(34, global::Proto.EquipmentAttr.Parser); + private readonly pbc::RepeatedField<global::Proto.EquipmentAttr> attrs_ = new pbc::RepeatedField<global::Proto.EquipmentAttr>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.EquipmentAttr> Attrs { + get { return attrs_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerEquipment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerEquipment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Exp != other.Exp) return false; + if(!tags_.Equals(other.tags_)) return false; + if(!attrs_.Equals(other.attrs_)) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + hash ^= tags_.GetHashCode(); + hash ^= attrs_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + tags_.WriteTo(output, _repeated_tags_codec); + attrs_.WriteTo(output, _repeated_attrs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + attrs_.WriteTo(ref output, _repeated_attrs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + size += tags_.CalculateSize(_repeated_tags_codec); + size += attrs_.CalculateSize(_repeated_attrs_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerEquipment other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + tags_.Add(other.tags_); + attrs_.Add(other.attrs_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: + case 24: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 34: { + attrs_.AddEntriesFrom(input, _repeated_attrs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 26: + case 24: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 34: { + attrs_.AddEntriesFrom(ref input, _repeated_attrs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBag : pb::IMessage<StarTowerBag> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBag> _parser = new pb::MessageParser<StarTowerBag>(() => new StarTowerBag()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBag> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBag(StarTowerBag other) : this() { + fateCard_ = other.fateCard_.Clone(); + notes_ = other.notes_.Clone(); + potentials_ = other.potentials_.Clone(); + items_ = other.items_.Clone(); + res_ = other.res_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBag Clone() { + return new StarTowerBag(this); + } + + /// <summary>Field number for the "FateCard" field.</summary> + public const int FateCardFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.FateCardInfo> _repeated_fateCard_codec + = pb::FieldCodec.ForMessage(10, global::Proto.FateCardInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.FateCardInfo> fateCard_ = new pbc::RepeatedField<global::Proto.FateCardInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.FateCardInfo> FateCard { + get { return fateCard_; } + } + + /// <summary>Field number for the "Notes" field.</summary> + public const int NotesFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_notes_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> notes_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Notes { + get { return notes_; } + } + + /// <summary>Field number for the "Potentials" field.</summary> + public const int PotentialsFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.PotentialInfo> _repeated_potentials_codec + = pb::FieldCodec.ForMessage(26, global::Proto.PotentialInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.PotentialInfo> potentials_ = new pbc::RepeatedField<global::Proto.PotentialInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.PotentialInfo> Potentials { + get { return potentials_; } + } + + /// <summary>Field number for the "Items" field.</summary> + public const int ItemsFieldNumber = 4; + private static readonly pb::FieldCodec<global::Proto.TowerItemInfo> _repeated_items_codec + = pb::FieldCodec.ForMessage(34, global::Proto.TowerItemInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.TowerItemInfo> items_ = new pbc::RepeatedField<global::Proto.TowerItemInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TowerItemInfo> Items { + get { return items_; } + } + + /// <summary>Field number for the "Res" field.</summary> + public const int ResFieldNumber = 5; + private static readonly pb::FieldCodec<global::Proto.TowerResInfo> _repeated_res_codec + = pb::FieldCodec.ForMessage(42, global::Proto.TowerResInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.TowerResInfo> res_ = new pbc::RepeatedField<global::Proto.TowerResInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TowerResInfo> Res { + get { return res_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!fateCard_.Equals(other.fateCard_)) return false; + if(!notes_.Equals(other.notes_)) return false; + if(!potentials_.Equals(other.potentials_)) return false; + if(!items_.Equals(other.items_)) return false; + if(!res_.Equals(other.res_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= fateCard_.GetHashCode(); + hash ^= notes_.GetHashCode(); + hash ^= potentials_.GetHashCode(); + hash ^= items_.GetHashCode(); + hash ^= res_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + fateCard_.WriteTo(output, _repeated_fateCard_codec); + notes_.WriteTo(output, _repeated_notes_codec); + potentials_.WriteTo(output, _repeated_potentials_codec); + items_.WriteTo(output, _repeated_items_codec); + res_.WriteTo(output, _repeated_res_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + fateCard_.WriteTo(ref output, _repeated_fateCard_codec); + notes_.WriteTo(ref output, _repeated_notes_codec); + potentials_.WriteTo(ref output, _repeated_potentials_codec); + items_.WriteTo(ref output, _repeated_items_codec); + res_.WriteTo(ref output, _repeated_res_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += fateCard_.CalculateSize(_repeated_fateCard_codec); + size += notes_.CalculateSize(_repeated_notes_codec); + size += potentials_.CalculateSize(_repeated_potentials_codec); + size += items_.CalculateSize(_repeated_items_codec); + size += res_.CalculateSize(_repeated_res_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBag other) { + if (other == null) { + return; + } + fateCard_.Add(other.fateCard_); + notes_.Add(other.notes_); + potentials_.Add(other.potentials_); + items_.Add(other.items_); + res_.Add(other.res_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + fateCard_.AddEntriesFrom(input, _repeated_fateCard_codec); + break; + } + case 18: + case 16: { + notes_.AddEntriesFrom(input, _repeated_notes_codec); + break; + } + case 26: { + potentials_.AddEntriesFrom(input, _repeated_potentials_codec); + break; + } + case 34: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 42: { + res_.AddEntriesFrom(input, _repeated_res_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + fateCard_.AddEntriesFrom(ref input, _repeated_fateCard_codec); + break; + } + case 18: + case 16: { + notes_.AddEntriesFrom(ref input, _repeated_notes_codec); + break; + } + case 26: { + potentials_.AddEntriesFrom(ref input, _repeated_potentials_codec); + break; + } + case 34: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 42: { + res_.AddEntriesFrom(ref input, _repeated_res_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRoom : pb::IMessage<StarTowerRoom> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRoom> _parser = new pb::MessageParser<StarTowerRoom>(() => new StarTowerRoom()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRoom> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoom() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoom(StarTowerRoom other) : this() { + data_ = other.data_ != null ? other.data_.Clone() : null; + cases_ = other.cases_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoom Clone() { + return new StarTowerRoom(this); + } + + /// <summary>Field number for the "Data" field.</summary> + public const int DataFieldNumber = 1; + private global::Proto.StarTowerRoomData data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerRoomData Data { + get { return data_; } + set { + data_ = value; + } + } + + /// <summary>Field number for the "Cases" field.</summary> + public const int CasesFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.StarTowerRoomCase> _repeated_cases_codec + = pb::FieldCodec.ForMessage(18, global::Proto.StarTowerRoomCase.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerRoomCase> cases_ = new pbc::RepeatedField<global::Proto.StarTowerRoomCase>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerRoomCase> Cases { + get { return cases_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerRoom); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRoom other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Data, other.Data)) return false; + if(!cases_.Equals(other.cases_)) return false; + if (NextPackage != other.NextPackage) 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 (data_ != null) hash ^= Data.GetHashCode(); + hash ^= cases_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (data_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Data); + } + cases_.WriteTo(output, _repeated_cases_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (data_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Data); + } + cases_.WriteTo(ref output, _repeated_cases_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); + } + size += cases_.CalculateSize(_repeated_cases_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRoom other) { + if (other == null) { + return; + } + if (other.data_ != null) { + if (data_ == null) { + Data = new global::Proto.StarTowerRoomData(); + } + Data.MergeFrom(other.Data); + } + cases_.Add(other.cases_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (data_ == null) { + Data = new global::Proto.StarTowerRoomData(); + } + input.ReadMessage(Data); + break; + } + case 18: { + cases_.AddEntriesFrom(input, _repeated_cases_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (data_ == null) { + Data = new global::Proto.StarTowerRoomData(); + } + input.ReadMessage(Data); + break; + } + case 18: { + cases_.AddEntriesFrom(ref input, _repeated_cases_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRoomData : pb::IMessage<StarTowerRoomData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRoomData> _parser = new pb::MessageParser<StarTowerRoomData>(() => new StarTowerRoomData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRoomData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[7]; } + } + + [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 StarTowerRoomData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoomData(StarTowerRoomData other) : this() { + floor_ = other.floor_; + mapId_ = other.mapId_; + paramId_ = other.paramId_; + roomType_ = other.roomType_; + mapParam_ = other.mapParam_; + mapTableId_ = other.mapTableId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoomData Clone() { + return new StarTowerRoomData(this); + } + + /// <summary>Field number for the "Floor" field.</summary> + public const int FloorFieldNumber = 1; + private uint floor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Floor { + get { return floor_; } + set { + floor_ = value; + } + } + + /// <summary>Field number for the "MapId" field.</summary> + public const int MapIdFieldNumber = 2; + private uint mapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapId { + get { return mapId_; } + set { + mapId_ = value; + } + } + + /// <summary>Field number for the "ParamId" field.</summary> + public const int ParamIdFieldNumber = 3; + private uint paramId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ParamId { + get { return paramId_; } + set { + paramId_ = value; + } + } + + /// <summary>Field number for the "RoomType" field.</summary> + public const int RoomTypeFieldNumber = 4; + private uint roomType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RoomType { + get { return roomType_; } + set { + roomType_ = value; + } + } + + /// <summary>Field number for the "MapParam" field.</summary> + public const int MapParamFieldNumber = 5; + private string mapParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MapParam { + get { return mapParam_; } + set { + mapParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MapTableId" field.</summary> + public const int MapTableIdFieldNumber = 6; + private uint mapTableId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapTableId { + get { return mapTableId_; } + set { + mapTableId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerRoomData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRoomData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Floor != other.Floor) return false; + if (MapId != other.MapId) return false; + if (ParamId != other.ParamId) return false; + if (RoomType != other.RoomType) return false; + if (MapParam != other.MapParam) return false; + if (MapTableId != other.MapTableId) return false; + if (NextPackage != other.NextPackage) 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 (Floor != 0) hash ^= Floor.GetHashCode(); + if (MapId != 0) hash ^= MapId.GetHashCode(); + if (ParamId != 0) hash ^= ParamId.GetHashCode(); + if (RoomType != 0) hash ^= RoomType.GetHashCode(); + if (MapParam.Length != 0) hash ^= MapParam.GetHashCode(); + if (MapTableId != 0) hash ^= MapTableId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Floor != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Floor); + } + if (MapId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(MapId); + } + if (ParamId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ParamId); + } + if (RoomType != 0) { + output.WriteRawTag(32); + output.WriteUInt32(RoomType); + } + if (MapParam.Length != 0) { + output.WriteRawTag(42); + output.WriteString(MapParam); + } + if (MapTableId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(MapTableId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Floor != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Floor); + } + if (MapId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(MapId); + } + if (ParamId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ParamId); + } + if (RoomType != 0) { + output.WriteRawTag(32); + output.WriteUInt32(RoomType); + } + if (MapParam.Length != 0) { + output.WriteRawTag(42); + output.WriteString(MapParam); + } + if (MapTableId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(MapTableId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Floor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Floor); + } + if (MapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId); + } + if (ParamId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParamId); + } + if (RoomType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RoomType); + } + if (MapParam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MapParam); + } + if (MapTableId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapTableId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRoomData other) { + if (other == null) { + return; + } + if (other.Floor != 0) { + Floor = other.Floor; + } + if (other.MapId != 0) { + MapId = other.MapId; + } + if (other.ParamId != 0) { + ParamId = other.ParamId; + } + if (other.RoomType != 0) { + RoomType = other.RoomType; + } + if (other.MapParam.Length != 0) { + MapParam = other.MapParam; + } + if (other.MapTableId != 0) { + MapTableId = other.MapTableId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Floor = input.ReadUInt32(); + break; + } + case 16: { + MapId = input.ReadUInt32(); + break; + } + case 24: { + ParamId = input.ReadUInt32(); + break; + } + case 32: { + RoomType = input.ReadUInt32(); + break; + } + case 42: { + MapParam = input.ReadString(); + break; + } + case 48: { + MapTableId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Floor = input.ReadUInt32(); + break; + } + case 16: { + MapId = input.ReadUInt32(); + break; + } + case 24: { + ParamId = input.ReadUInt32(); + break; + } + case 32: { + RoomType = input.ReadUInt32(); + break; + } + case 42: { + MapParam = input.ReadString(); + break; + } + case 48: { + MapTableId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRoomCase : pb::IMessage<StarTowerRoomCase> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRoomCase> _parser = new pb::MessageParser<StarTowerRoomCase>(() => new StarTowerRoomCase()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRoomCase> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[8]; } + } + + [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 StarTowerRoomCase() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoomCase(StarTowerRoomCase other) : this() { + id_ = other.id_; + nextPackage_ = other.nextPackage_; + switch (other.DataCase) { + case DataOneofCase.BattleCase: + BattleCase = other.BattleCase.Clone(); + break; + case DataOneofCase.DoorCase: + DoorCase = other.DoorCase.Clone(); + break; + case DataOneofCase.SelectSpecialPotentialCase: + SelectSpecialPotentialCase = other.SelectSpecialPotentialCase.Clone(); + break; + case DataOneofCase.SelectPotentialCase: + SelectPotentialCase = other.SelectPotentialCase.Clone(); + break; + case DataOneofCase.SelectFateCardCase: + SelectFateCardCase = other.SelectFateCardCase.Clone(); + break; + case DataOneofCase.SelectNoteCase: + SelectNoteCase = other.SelectNoteCase.Clone(); + break; + case DataOneofCase.SelectOptionsEventCase: + SelectOptionsEventCase = other.SelectOptionsEventCase.Clone(); + break; + case DataOneofCase.RecoveryHPCase: + RecoveryHPCase = other.RecoveryHPCase.Clone(); + break; + case DataOneofCase.NpcRecoveryHPCase: + NpcRecoveryHPCase = other.NpcRecoveryHPCase.Clone(); + break; + case DataOneofCase.HawkerCase: + HawkerCase = other.HawkerCase.Clone(); + break; + case DataOneofCase.StrengthenMachineCase: + StrengthenMachineCase = other.StrengthenMachineCase.Clone(); + break; + case DataOneofCase.HarmonySkillCase: + HarmonySkillCase = other.HarmonySkillCase.Clone(); + break; + case DataOneofCase.SyncHPCase: + SyncHPCase = other.SyncHPCase.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRoomCase Clone() { + return new StarTowerRoomCase(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BattleCase" field.</summary> + public const int BattleCaseFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.BattleCaseData BattleCase { + get { return dataCase_ == DataOneofCase.BattleCase ? (global::Proto.BattleCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.BattleCase; + } + } + + /// <summary>Field number for the "DoorCase" field.</summary> + public const int DoorCaseFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.DoorCaseData DoorCase { + get { return dataCase_ == DataOneofCase.DoorCase ? (global::Proto.DoorCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.DoorCase; + } + } + + /// <summary>Field number for the "SelectSpecialPotentialCase" field.</summary> + public const int SelectSpecialPotentialCaseFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectSpecialPotentialCaseData SelectSpecialPotentialCase { + get { return dataCase_ == DataOneofCase.SelectSpecialPotentialCase ? (global::Proto.SelectSpecialPotentialCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SelectSpecialPotentialCase; + } + } + + /// <summary>Field number for the "SelectPotentialCase" field.</summary> + public const int SelectPotentialCaseFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectPotentialCaseData SelectPotentialCase { + get { return dataCase_ == DataOneofCase.SelectPotentialCase ? (global::Proto.SelectPotentialCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SelectPotentialCase; + } + } + + /// <summary>Field number for the "SelectFateCardCase" field.</summary> + public const int SelectFateCardCaseFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectFateCardCaseData SelectFateCardCase { + get { return dataCase_ == DataOneofCase.SelectFateCardCase ? (global::Proto.SelectFateCardCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SelectFateCardCase; + } + } + + /// <summary>Field number for the "SelectNoteCase" field.</summary> + public const int SelectNoteCaseFieldNumber = 7; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectNoteCaseData SelectNoteCase { + get { return dataCase_ == DataOneofCase.SelectNoteCase ? (global::Proto.SelectNoteCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SelectNoteCase; + } + } + + /// <summary>Field number for the "SelectOptionsEventCase" field.</summary> + public const int SelectOptionsEventCaseFieldNumber = 8; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectOptionsEventCaseData SelectOptionsEventCase { + get { return dataCase_ == DataOneofCase.SelectOptionsEventCase ? (global::Proto.SelectOptionsEventCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SelectOptionsEventCase; + } + } + + /// <summary>Field number for the "RecoveryHPCase" field.</summary> + public const int RecoveryHPCaseFieldNumber = 9; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.RecoveryHPCaseData RecoveryHPCase { + get { return dataCase_ == DataOneofCase.RecoveryHPCase ? (global::Proto.RecoveryHPCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.RecoveryHPCase; + } + } + + /// <summary>Field number for the "NpcRecoveryHPCase" field.</summary> + public const int NpcRecoveryHPCaseFieldNumber = 10; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.NpcRecoveryHPCaseData NpcRecoveryHPCase { + get { return dataCase_ == DataOneofCase.NpcRecoveryHPCase ? (global::Proto.NpcRecoveryHPCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.NpcRecoveryHPCase; + } + } + + /// <summary>Field number for the "HawkerCase" field.</summary> + public const int HawkerCaseFieldNumber = 11; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.HawkerCaseData HawkerCase { + get { return dataCase_ == DataOneofCase.HawkerCase ? (global::Proto.HawkerCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.HawkerCase; + } + } + + /// <summary>Field number for the "StrengthenMachineCase" field.</summary> + public const int StrengthenMachineCaseFieldNumber = 12; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StrengthenMachineCaseData StrengthenMachineCase { + get { return dataCase_ == DataOneofCase.StrengthenMachineCase ? (global::Proto.StrengthenMachineCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.StrengthenMachineCase; + } + } + + /// <summary>Field number for the "HarmonySkillCase" field.</summary> + public const int HarmonySkillCaseFieldNumber = 13; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.HarmonySkillCaseData HarmonySkillCase { + get { return dataCase_ == DataOneofCase.HarmonySkillCase ? (global::Proto.HarmonySkillCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.HarmonySkillCase; + } + } + + /// <summary>Field number for the "SyncHPCase" field.</summary> + public const int SyncHPCaseFieldNumber = 15; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SyncHPCaseData SyncHPCase { + get { return dataCase_ == DataOneofCase.SyncHPCase ? (global::Proto.SyncHPCaseData) data_ : null; } + set { + data_ = value; + dataCase_ = value == null ? DataOneofCase.None : DataOneofCase.SyncHPCase; + } + } + + private object data_; + /// <summary>Enum of possible cases for the "Data" oneof.</summary> + public enum DataOneofCase { + None = 0, + BattleCase = 2, + DoorCase = 3, + SelectSpecialPotentialCase = 4, + SelectPotentialCase = 5, + SelectFateCardCase = 6, + SelectNoteCase = 7, + SelectOptionsEventCase = 8, + RecoveryHPCase = 9, + NpcRecoveryHPCase = 10, + HawkerCase = 11, + StrengthenMachineCase = 12, + HarmonySkillCase = 13, + SyncHPCase = 15, + } + private DataOneofCase dataCase_ = DataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DataOneofCase DataCase { + get { return dataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + dataCase_ = DataOneofCase.None; + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerRoomCase); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRoomCase other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(BattleCase, other.BattleCase)) return false; + if (!object.Equals(DoorCase, other.DoorCase)) return false; + if (!object.Equals(SelectSpecialPotentialCase, other.SelectSpecialPotentialCase)) return false; + if (!object.Equals(SelectPotentialCase, other.SelectPotentialCase)) return false; + if (!object.Equals(SelectFateCardCase, other.SelectFateCardCase)) return false; + if (!object.Equals(SelectNoteCase, other.SelectNoteCase)) return false; + if (!object.Equals(SelectOptionsEventCase, other.SelectOptionsEventCase)) return false; + if (!object.Equals(RecoveryHPCase, other.RecoveryHPCase)) return false; + if (!object.Equals(NpcRecoveryHPCase, other.NpcRecoveryHPCase)) return false; + if (!object.Equals(HawkerCase, other.HawkerCase)) return false; + if (!object.Equals(StrengthenMachineCase, other.StrengthenMachineCase)) return false; + if (!object.Equals(HarmonySkillCase, other.HarmonySkillCase)) return false; + if (!object.Equals(SyncHPCase, other.SyncHPCase)) return false; + if (DataCase != other.DataCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (dataCase_ == DataOneofCase.BattleCase) hash ^= BattleCase.GetHashCode(); + if (dataCase_ == DataOneofCase.DoorCase) hash ^= DoorCase.GetHashCode(); + if (dataCase_ == DataOneofCase.SelectSpecialPotentialCase) hash ^= SelectSpecialPotentialCase.GetHashCode(); + if (dataCase_ == DataOneofCase.SelectPotentialCase) hash ^= SelectPotentialCase.GetHashCode(); + if (dataCase_ == DataOneofCase.SelectFateCardCase) hash ^= SelectFateCardCase.GetHashCode(); + if (dataCase_ == DataOneofCase.SelectNoteCase) hash ^= SelectNoteCase.GetHashCode(); + if (dataCase_ == DataOneofCase.SelectOptionsEventCase) hash ^= SelectOptionsEventCase.GetHashCode(); + if (dataCase_ == DataOneofCase.RecoveryHPCase) hash ^= RecoveryHPCase.GetHashCode(); + if (dataCase_ == DataOneofCase.NpcRecoveryHPCase) hash ^= NpcRecoveryHPCase.GetHashCode(); + if (dataCase_ == DataOneofCase.HawkerCase) hash ^= HawkerCase.GetHashCode(); + if (dataCase_ == DataOneofCase.StrengthenMachineCase) hash ^= StrengthenMachineCase.GetHashCode(); + if (dataCase_ == DataOneofCase.HarmonySkillCase) hash ^= HarmonySkillCase.GetHashCode(); + if (dataCase_ == DataOneofCase.SyncHPCase) hash ^= SyncHPCase.GetHashCode(); + hash ^= (int) dataCase_; + 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.WriteUInt32(Id); + } + if (dataCase_ == DataOneofCase.BattleCase) { + output.WriteRawTag(18); + output.WriteMessage(BattleCase); + } + if (dataCase_ == DataOneofCase.DoorCase) { + output.WriteRawTag(26); + output.WriteMessage(DoorCase); + } + if (dataCase_ == DataOneofCase.SelectSpecialPotentialCase) { + output.WriteRawTag(34); + output.WriteMessage(SelectSpecialPotentialCase); + } + if (dataCase_ == DataOneofCase.SelectPotentialCase) { + output.WriteRawTag(42); + output.WriteMessage(SelectPotentialCase); + } + if (dataCase_ == DataOneofCase.SelectFateCardCase) { + output.WriteRawTag(50); + output.WriteMessage(SelectFateCardCase); + } + if (dataCase_ == DataOneofCase.SelectNoteCase) { + output.WriteRawTag(58); + output.WriteMessage(SelectNoteCase); + } + if (dataCase_ == DataOneofCase.SelectOptionsEventCase) { + output.WriteRawTag(66); + output.WriteMessage(SelectOptionsEventCase); + } + if (dataCase_ == DataOneofCase.RecoveryHPCase) { + output.WriteRawTag(74); + output.WriteMessage(RecoveryHPCase); + } + if (dataCase_ == DataOneofCase.NpcRecoveryHPCase) { + output.WriteRawTag(82); + output.WriteMessage(NpcRecoveryHPCase); + } + if (dataCase_ == DataOneofCase.HawkerCase) { + output.WriteRawTag(90); + output.WriteMessage(HawkerCase); + } + if (dataCase_ == DataOneofCase.StrengthenMachineCase) { + output.WriteRawTag(98); + output.WriteMessage(StrengthenMachineCase); + } + if (dataCase_ == DataOneofCase.HarmonySkillCase) { + output.WriteRawTag(106); + output.WriteMessage(HarmonySkillCase); + } + if (dataCase_ == DataOneofCase.SyncHPCase) { + output.WriteRawTag(122); + output.WriteMessage(SyncHPCase); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (dataCase_ == DataOneofCase.BattleCase) { + output.WriteRawTag(18); + output.WriteMessage(BattleCase); + } + if (dataCase_ == DataOneofCase.DoorCase) { + output.WriteRawTag(26); + output.WriteMessage(DoorCase); + } + if (dataCase_ == DataOneofCase.SelectSpecialPotentialCase) { + output.WriteRawTag(34); + output.WriteMessage(SelectSpecialPotentialCase); + } + if (dataCase_ == DataOneofCase.SelectPotentialCase) { + output.WriteRawTag(42); + output.WriteMessage(SelectPotentialCase); + } + if (dataCase_ == DataOneofCase.SelectFateCardCase) { + output.WriteRawTag(50); + output.WriteMessage(SelectFateCardCase); + } + if (dataCase_ == DataOneofCase.SelectNoteCase) { + output.WriteRawTag(58); + output.WriteMessage(SelectNoteCase); + } + if (dataCase_ == DataOneofCase.SelectOptionsEventCase) { + output.WriteRawTag(66); + output.WriteMessage(SelectOptionsEventCase); + } + if (dataCase_ == DataOneofCase.RecoveryHPCase) { + output.WriteRawTag(74); + output.WriteMessage(RecoveryHPCase); + } + if (dataCase_ == DataOneofCase.NpcRecoveryHPCase) { + output.WriteRawTag(82); + output.WriteMessage(NpcRecoveryHPCase); + } + if (dataCase_ == DataOneofCase.HawkerCase) { + output.WriteRawTag(90); + output.WriteMessage(HawkerCase); + } + if (dataCase_ == DataOneofCase.StrengthenMachineCase) { + output.WriteRawTag(98); + output.WriteMessage(StrengthenMachineCase); + } + if (dataCase_ == DataOneofCase.HarmonySkillCase) { + output.WriteRawTag(106); + output.WriteMessage(HarmonySkillCase); + } + if (dataCase_ == DataOneofCase.SyncHPCase) { + output.WriteRawTag(122); + output.WriteMessage(SyncHPCase); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (dataCase_ == DataOneofCase.BattleCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleCase); + } + if (dataCase_ == DataOneofCase.DoorCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DoorCase); + } + if (dataCase_ == DataOneofCase.SelectSpecialPotentialCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectSpecialPotentialCase); + } + if (dataCase_ == DataOneofCase.SelectPotentialCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectPotentialCase); + } + if (dataCase_ == DataOneofCase.SelectFateCardCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectFateCardCase); + } + if (dataCase_ == DataOneofCase.SelectNoteCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectNoteCase); + } + if (dataCase_ == DataOneofCase.SelectOptionsEventCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectOptionsEventCase); + } + if (dataCase_ == DataOneofCase.RecoveryHPCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecoveryHPCase); + } + if (dataCase_ == DataOneofCase.NpcRecoveryHPCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NpcRecoveryHPCase); + } + if (dataCase_ == DataOneofCase.HawkerCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HawkerCase); + } + if (dataCase_ == DataOneofCase.StrengthenMachineCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StrengthenMachineCase); + } + if (dataCase_ == DataOneofCase.HarmonySkillCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HarmonySkillCase); + } + if (dataCase_ == DataOneofCase.SyncHPCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SyncHPCase); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRoomCase other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.DataCase) { + case DataOneofCase.BattleCase: + if (BattleCase == null) { + BattleCase = new global::Proto.BattleCaseData(); + } + BattleCase.MergeFrom(other.BattleCase); + break; + case DataOneofCase.DoorCase: + if (DoorCase == null) { + DoorCase = new global::Proto.DoorCaseData(); + } + DoorCase.MergeFrom(other.DoorCase); + break; + case DataOneofCase.SelectSpecialPotentialCase: + if (SelectSpecialPotentialCase == null) { + SelectSpecialPotentialCase = new global::Proto.SelectSpecialPotentialCaseData(); + } + SelectSpecialPotentialCase.MergeFrom(other.SelectSpecialPotentialCase); + break; + case DataOneofCase.SelectPotentialCase: + if (SelectPotentialCase == null) { + SelectPotentialCase = new global::Proto.SelectPotentialCaseData(); + } + SelectPotentialCase.MergeFrom(other.SelectPotentialCase); + break; + case DataOneofCase.SelectFateCardCase: + if (SelectFateCardCase == null) { + SelectFateCardCase = new global::Proto.SelectFateCardCaseData(); + } + SelectFateCardCase.MergeFrom(other.SelectFateCardCase); + break; + case DataOneofCase.SelectNoteCase: + if (SelectNoteCase == null) { + SelectNoteCase = new global::Proto.SelectNoteCaseData(); + } + SelectNoteCase.MergeFrom(other.SelectNoteCase); + break; + case DataOneofCase.SelectOptionsEventCase: + if (SelectOptionsEventCase == null) { + SelectOptionsEventCase = new global::Proto.SelectOptionsEventCaseData(); + } + SelectOptionsEventCase.MergeFrom(other.SelectOptionsEventCase); + break; + case DataOneofCase.RecoveryHPCase: + if (RecoveryHPCase == null) { + RecoveryHPCase = new global::Proto.RecoveryHPCaseData(); + } + RecoveryHPCase.MergeFrom(other.RecoveryHPCase); + break; + case DataOneofCase.NpcRecoveryHPCase: + if (NpcRecoveryHPCase == null) { + NpcRecoveryHPCase = new global::Proto.NpcRecoveryHPCaseData(); + } + NpcRecoveryHPCase.MergeFrom(other.NpcRecoveryHPCase); + break; + case DataOneofCase.HawkerCase: + if (HawkerCase == null) { + HawkerCase = new global::Proto.HawkerCaseData(); + } + HawkerCase.MergeFrom(other.HawkerCase); + break; + case DataOneofCase.StrengthenMachineCase: + if (StrengthenMachineCase == null) { + StrengthenMachineCase = new global::Proto.StrengthenMachineCaseData(); + } + StrengthenMachineCase.MergeFrom(other.StrengthenMachineCase); + break; + case DataOneofCase.HarmonySkillCase: + if (HarmonySkillCase == null) { + HarmonySkillCase = new global::Proto.HarmonySkillCaseData(); + } + HarmonySkillCase.MergeFrom(other.HarmonySkillCase); + break; + case DataOneofCase.SyncHPCase: + if (SyncHPCase == null) { + SyncHPCase = new global::Proto.SyncHPCaseData(); + } + SyncHPCase.MergeFrom(other.SyncHPCase); + break; + } + + _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.ReadUInt32(); + break; + } + case 18: { + global::Proto.BattleCaseData subBuilder = new global::Proto.BattleCaseData(); + if (dataCase_ == DataOneofCase.BattleCase) { + subBuilder.MergeFrom(BattleCase); + } + input.ReadMessage(subBuilder); + BattleCase = subBuilder; + break; + } + case 26: { + global::Proto.DoorCaseData subBuilder = new global::Proto.DoorCaseData(); + if (dataCase_ == DataOneofCase.DoorCase) { + subBuilder.MergeFrom(DoorCase); + } + input.ReadMessage(subBuilder); + DoorCase = subBuilder; + break; + } + case 34: { + global::Proto.SelectSpecialPotentialCaseData subBuilder = new global::Proto.SelectSpecialPotentialCaseData(); + if (dataCase_ == DataOneofCase.SelectSpecialPotentialCase) { + subBuilder.MergeFrom(SelectSpecialPotentialCase); + } + input.ReadMessage(subBuilder); + SelectSpecialPotentialCase = subBuilder; + break; + } + case 42: { + global::Proto.SelectPotentialCaseData subBuilder = new global::Proto.SelectPotentialCaseData(); + if (dataCase_ == DataOneofCase.SelectPotentialCase) { + subBuilder.MergeFrom(SelectPotentialCase); + } + input.ReadMessage(subBuilder); + SelectPotentialCase = subBuilder; + break; + } + case 50: { + global::Proto.SelectFateCardCaseData subBuilder = new global::Proto.SelectFateCardCaseData(); + if (dataCase_ == DataOneofCase.SelectFateCardCase) { + subBuilder.MergeFrom(SelectFateCardCase); + } + input.ReadMessage(subBuilder); + SelectFateCardCase = subBuilder; + break; + } + case 58: { + global::Proto.SelectNoteCaseData subBuilder = new global::Proto.SelectNoteCaseData(); + if (dataCase_ == DataOneofCase.SelectNoteCase) { + subBuilder.MergeFrom(SelectNoteCase); + } + input.ReadMessage(subBuilder); + SelectNoteCase = subBuilder; + break; + } + case 66: { + global::Proto.SelectOptionsEventCaseData subBuilder = new global::Proto.SelectOptionsEventCaseData(); + if (dataCase_ == DataOneofCase.SelectOptionsEventCase) { + subBuilder.MergeFrom(SelectOptionsEventCase); + } + input.ReadMessage(subBuilder); + SelectOptionsEventCase = subBuilder; + break; + } + case 74: { + global::Proto.RecoveryHPCaseData subBuilder = new global::Proto.RecoveryHPCaseData(); + if (dataCase_ == DataOneofCase.RecoveryHPCase) { + subBuilder.MergeFrom(RecoveryHPCase); + } + input.ReadMessage(subBuilder); + RecoveryHPCase = subBuilder; + break; + } + case 82: { + global::Proto.NpcRecoveryHPCaseData subBuilder = new global::Proto.NpcRecoveryHPCaseData(); + if (dataCase_ == DataOneofCase.NpcRecoveryHPCase) { + subBuilder.MergeFrom(NpcRecoveryHPCase); + } + input.ReadMessage(subBuilder); + NpcRecoveryHPCase = subBuilder; + break; + } + case 90: { + global::Proto.HawkerCaseData subBuilder = new global::Proto.HawkerCaseData(); + if (dataCase_ == DataOneofCase.HawkerCase) { + subBuilder.MergeFrom(HawkerCase); + } + input.ReadMessage(subBuilder); + HawkerCase = subBuilder; + break; + } + case 98: { + global::Proto.StrengthenMachineCaseData subBuilder = new global::Proto.StrengthenMachineCaseData(); + if (dataCase_ == DataOneofCase.StrengthenMachineCase) { + subBuilder.MergeFrom(StrengthenMachineCase); + } + input.ReadMessage(subBuilder); + StrengthenMachineCase = subBuilder; + break; + } + case 106: { + global::Proto.HarmonySkillCaseData subBuilder = new global::Proto.HarmonySkillCaseData(); + if (dataCase_ == DataOneofCase.HarmonySkillCase) { + subBuilder.MergeFrom(HarmonySkillCase); + } + input.ReadMessage(subBuilder); + HarmonySkillCase = subBuilder; + break; + } + case 122: { + global::Proto.SyncHPCaseData subBuilder = new global::Proto.SyncHPCaseData(); + if (dataCase_ == DataOneofCase.SyncHPCase) { + subBuilder.MergeFrom(SyncHPCase); + } + input.ReadMessage(subBuilder); + SyncHPCase = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + global::Proto.BattleCaseData subBuilder = new global::Proto.BattleCaseData(); + if (dataCase_ == DataOneofCase.BattleCase) { + subBuilder.MergeFrom(BattleCase); + } + input.ReadMessage(subBuilder); + BattleCase = subBuilder; + break; + } + case 26: { + global::Proto.DoorCaseData subBuilder = new global::Proto.DoorCaseData(); + if (dataCase_ == DataOneofCase.DoorCase) { + subBuilder.MergeFrom(DoorCase); + } + input.ReadMessage(subBuilder); + DoorCase = subBuilder; + break; + } + case 34: { + global::Proto.SelectSpecialPotentialCaseData subBuilder = new global::Proto.SelectSpecialPotentialCaseData(); + if (dataCase_ == DataOneofCase.SelectSpecialPotentialCase) { + subBuilder.MergeFrom(SelectSpecialPotentialCase); + } + input.ReadMessage(subBuilder); + SelectSpecialPotentialCase = subBuilder; + break; + } + case 42: { + global::Proto.SelectPotentialCaseData subBuilder = new global::Proto.SelectPotentialCaseData(); + if (dataCase_ == DataOneofCase.SelectPotentialCase) { + subBuilder.MergeFrom(SelectPotentialCase); + } + input.ReadMessage(subBuilder); + SelectPotentialCase = subBuilder; + break; + } + case 50: { + global::Proto.SelectFateCardCaseData subBuilder = new global::Proto.SelectFateCardCaseData(); + if (dataCase_ == DataOneofCase.SelectFateCardCase) { + subBuilder.MergeFrom(SelectFateCardCase); + } + input.ReadMessage(subBuilder); + SelectFateCardCase = subBuilder; + break; + } + case 58: { + global::Proto.SelectNoteCaseData subBuilder = new global::Proto.SelectNoteCaseData(); + if (dataCase_ == DataOneofCase.SelectNoteCase) { + subBuilder.MergeFrom(SelectNoteCase); + } + input.ReadMessage(subBuilder); + SelectNoteCase = subBuilder; + break; + } + case 66: { + global::Proto.SelectOptionsEventCaseData subBuilder = new global::Proto.SelectOptionsEventCaseData(); + if (dataCase_ == DataOneofCase.SelectOptionsEventCase) { + subBuilder.MergeFrom(SelectOptionsEventCase); + } + input.ReadMessage(subBuilder); + SelectOptionsEventCase = subBuilder; + break; + } + case 74: { + global::Proto.RecoveryHPCaseData subBuilder = new global::Proto.RecoveryHPCaseData(); + if (dataCase_ == DataOneofCase.RecoveryHPCase) { + subBuilder.MergeFrom(RecoveryHPCase); + } + input.ReadMessage(subBuilder); + RecoveryHPCase = subBuilder; + break; + } + case 82: { + global::Proto.NpcRecoveryHPCaseData subBuilder = new global::Proto.NpcRecoveryHPCaseData(); + if (dataCase_ == DataOneofCase.NpcRecoveryHPCase) { + subBuilder.MergeFrom(NpcRecoveryHPCase); + } + input.ReadMessage(subBuilder); + NpcRecoveryHPCase = subBuilder; + break; + } + case 90: { + global::Proto.HawkerCaseData subBuilder = new global::Proto.HawkerCaseData(); + if (dataCase_ == DataOneofCase.HawkerCase) { + subBuilder.MergeFrom(HawkerCase); + } + input.ReadMessage(subBuilder); + HawkerCase = subBuilder; + break; + } + case 98: { + global::Proto.StrengthenMachineCaseData subBuilder = new global::Proto.StrengthenMachineCaseData(); + if (dataCase_ == DataOneofCase.StrengthenMachineCase) { + subBuilder.MergeFrom(StrengthenMachineCase); + } + input.ReadMessage(subBuilder); + StrengthenMachineCase = subBuilder; + break; + } + case 106: { + global::Proto.HarmonySkillCaseData subBuilder = new global::Proto.HarmonySkillCaseData(); + if (dataCase_ == DataOneofCase.HarmonySkillCase) { + subBuilder.MergeFrom(HarmonySkillCase); + } + input.ReadMessage(subBuilder); + HarmonySkillCase = subBuilder; + break; + } + case 122: { + global::Proto.SyncHPCaseData subBuilder = new global::Proto.SyncHPCaseData(); + if (dataCase_ == DataOneofCase.SyncHPCase) { + subBuilder.MergeFrom(SyncHPCase); + } + input.ReadMessage(subBuilder); + SyncHPCase = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattleCaseData : pb::IMessage<BattleCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BattleCaseData> _parser = new pb::MessageParser<BattleCaseData>(() => new BattleCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BattleCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[9]; } + } + + [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 BattleCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattleCaseData(BattleCaseData other) : this() { + timeLimit_ = other.timeLimit_; + fateCard_ = other.fateCard_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattleCaseData Clone() { + return new BattleCaseData(this); + } + + /// <summary>Field number for the "TimeLimit" field.</summary> + public const int TimeLimitFieldNumber = 1; + private bool timeLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool TimeLimit { + get { return timeLimit_; } + set { + timeLimit_ = value; + } + } + + /// <summary>Field number for the "FateCard" field.</summary> + public const int FateCardFieldNumber = 2; + private bool fateCard_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FateCard { + get { return fateCard_; } + set { + fateCard_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BattleCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattleCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TimeLimit != other.TimeLimit) return false; + if (FateCard != other.FateCard) return false; + if (NextPackage != other.NextPackage) 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 (TimeLimit != false) hash ^= TimeLimit.GetHashCode(); + if (FateCard != false) hash ^= FateCard.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (TimeLimit != false) { + output.WriteRawTag(8); + output.WriteBool(TimeLimit); + } + if (FateCard != false) { + output.WriteRawTag(16); + output.WriteBool(FateCard); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TimeLimit != false) { + output.WriteRawTag(8); + output.WriteBool(TimeLimit); + } + if (FateCard != false) { + output.WriteRawTag(16); + output.WriteBool(FateCard); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (TimeLimit != false) { + size += 1 + 1; + } + if (FateCard != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattleCaseData other) { + if (other == null) { + return; + } + if (other.TimeLimit != false) { + TimeLimit = other.TimeLimit; + } + if (other.FateCard != false) { + FateCard = other.FateCard; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + TimeLimit = input.ReadBool(); + break; + } + case 16: { + FateCard = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + TimeLimit = input.ReadBool(); + break; + } + case 16: { + FateCard = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DoorCaseData : pb::IMessage<DoorCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DoorCaseData> _parser = new pb::MessageParser<DoorCaseData>(() => new DoorCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DoorCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[10]; } + } + + [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 DoorCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DoorCaseData(DoorCaseData other) : this() { + floor_ = other.floor_; + type_ = other.type_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DoorCaseData Clone() { + return new DoorCaseData(this); + } + + /// <summary>Field number for the "Floor" field.</summary> + public const int FloorFieldNumber = 1; + private uint floor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Floor { + get { return floor_; } + set { + floor_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 2; + private uint type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DoorCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DoorCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Floor != other.Floor) return false; + if (Type != other.Type) return false; + if (NextPackage != other.NextPackage) 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 (Floor != 0) hash ^= Floor.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Floor != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Floor); + } + if (Type != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Floor != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Floor); + } + if (Type != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Floor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Floor); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DoorCaseData other) { + if (other == null) { + return; + } + if (other.Floor != 0) { + Floor = other.Floor; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Floor = input.ReadUInt32(); + break; + } + case 16: { + Type = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Floor = input.ReadUInt32(); + break; + } + case 16: { + Type = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SelectSpecialPotentialCaseData : pb::IMessage<SelectSpecialPotentialCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SelectSpecialPotentialCaseData> _parser = new pb::MessageParser<SelectSpecialPotentialCaseData>(() => new SelectSpecialPotentialCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SelectSpecialPotentialCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[11]; } + } + + [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 SelectSpecialPotentialCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectSpecialPotentialCaseData(SelectSpecialPotentialCaseData other) : this() { + ids_ = other.ids_.Clone(); + teamLevel_ = other.teamLevel_; + newIds_ = other.newIds_.Clone(); + canReRoll_ = other.canReRoll_; + reRollPrice_ = other.reRollPrice_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectSpecialPotentialCaseData Clone() { + return new SelectSpecialPotentialCaseData(this); + } + + /// <summary>Field number for the "Ids" field.</summary> + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> ids_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Ids { + get { return ids_; } + } + + /// <summary>Field number for the "TeamLevel" field.</summary> + public const int TeamLevelFieldNumber = 2; + private uint teamLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TeamLevel { + get { return teamLevel_; } + set { + teamLevel_ = value; + } + } + + /// <summary>Field number for the "NewIds" field.</summary> + public const int NewIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_newIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> newIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> NewIds { + get { return newIds_; } + } + + /// <summary>Field number for the "CanReRoll" field.</summary> + public const int CanReRollFieldNumber = 7; + private bool canReRoll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanReRoll { + get { return canReRoll_; } + set { + canReRoll_ = value; + } + } + + /// <summary>Field number for the "ReRollPrice" field.</summary> + public const int ReRollPriceFieldNumber = 8; + private uint reRollPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRollPrice { + get { return reRollPrice_; } + set { + reRollPrice_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SelectSpecialPotentialCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SelectSpecialPotentialCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if (TeamLevel != other.TeamLevel) return false; + if(!newIds_.Equals(other.newIds_)) return false; + if (CanReRoll != other.CanReRoll) return false; + if (ReRollPrice != other.ReRollPrice) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + if (TeamLevel != 0) hash ^= TeamLevel.GetHashCode(); + hash ^= newIds_.GetHashCode(); + if (CanReRoll != false) hash ^= CanReRoll.GetHashCode(); + if (ReRollPrice != 0) hash ^= ReRollPrice.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + if (TeamLevel != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TeamLevel); + } + newIds_.WriteTo(output, _repeated_newIds_codec); + if (CanReRoll != false) { + output.WriteRawTag(56); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ReRollPrice); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + if (TeamLevel != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TeamLevel); + } + newIds_.WriteTo(ref output, _repeated_newIds_codec); + if (CanReRoll != false) { + output.WriteRawTag(56); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ReRollPrice); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + if (TeamLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TeamLevel); + } + size += newIds_.CalculateSize(_repeated_newIds_codec); + if (CanReRoll != false) { + size += 1 + 1; + } + if (ReRollPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRollPrice); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SelectSpecialPotentialCaseData other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + if (other.TeamLevel != 0) { + TeamLevel = other.TeamLevel; + } + newIds_.Add(other.newIds_); + if (other.CanReRoll != false) { + CanReRoll = other.CanReRoll; + } + if (other.ReRollPrice != 0) { + ReRollPrice = other.ReRollPrice; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 16: { + TeamLevel = input.ReadUInt32(); + break; + } + case 26: + case 24: { + newIds_.AddEntriesFrom(input, _repeated_newIds_codec); + break; + } + case 56: { + CanReRoll = input.ReadBool(); + break; + } + case 64: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 16: { + TeamLevel = input.ReadUInt32(); + break; + } + case 26: + case 24: { + newIds_.AddEntriesFrom(ref input, _repeated_newIds_codec); + break; + } + case 56: { + CanReRoll = input.ReadBool(); + break; + } + case 64: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SelectPotentialCaseData : pb::IMessage<SelectPotentialCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SelectPotentialCaseData> _parser = new pb::MessageParser<SelectPotentialCaseData>(() => new SelectPotentialCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SelectPotentialCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[12]; } + } + + [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 SelectPotentialCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectPotentialCaseData(SelectPotentialCaseData other) : this() { + infos_ = other.infos_.Clone(); + teamLevel_ = other.teamLevel_; + newIds_ = other.newIds_.Clone(); + luckyIds_ = other.luckyIds_.Clone(); + canReRoll_ = other.canReRoll_; + reRollPrice_ = other.reRollPrice_; + type_ = other.type_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectPotentialCaseData Clone() { + return new SelectPotentialCaseData(this); + } + + /// <summary>Field number for the "Infos" field.</summary> + public const int InfosFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.PotentialInfo> _repeated_infos_codec + = pb::FieldCodec.ForMessage(10, global::Proto.PotentialInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.PotentialInfo> infos_ = new pbc::RepeatedField<global::Proto.PotentialInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.PotentialInfo> Infos { + get { return infos_; } + } + + /// <summary>Field number for the "TeamLevel" field.</summary> + public const int TeamLevelFieldNumber = 2; + private uint teamLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TeamLevel { + get { return teamLevel_; } + set { + teamLevel_ = value; + } + } + + /// <summary>Field number for the "NewIds" field.</summary> + public const int NewIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_newIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> newIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> NewIds { + get { return newIds_; } + } + + /// <summary>Field number for the "LuckyIds" field.</summary> + public const int LuckyIdsFieldNumber = 12; + private static readonly pb::FieldCodec<uint> _repeated_luckyIds_codec + = pb::FieldCodec.ForUInt32(98); + private readonly pbc::RepeatedField<uint> luckyIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> LuckyIds { + get { return luckyIds_; } + } + + /// <summary>Field number for the "CanReRoll" field.</summary> + public const int CanReRollFieldNumber = 13; + private bool canReRoll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanReRoll { + get { return canReRoll_; } + set { + canReRoll_ = value; + } + } + + /// <summary>Field number for the "ReRollPrice" field.</summary> + public const int ReRollPriceFieldNumber = 14; + private uint reRollPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRollPrice { + get { return reRollPrice_; } + set { + reRollPrice_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 15; + private uint type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SelectPotentialCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SelectPotentialCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!infos_.Equals(other.infos_)) return false; + if (TeamLevel != other.TeamLevel) return false; + if(!newIds_.Equals(other.newIds_)) return false; + if(!luckyIds_.Equals(other.luckyIds_)) return false; + if (CanReRoll != other.CanReRoll) return false; + if (ReRollPrice != other.ReRollPrice) return false; + if (Type != other.Type) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= infos_.GetHashCode(); + if (TeamLevel != 0) hash ^= TeamLevel.GetHashCode(); + hash ^= newIds_.GetHashCode(); + hash ^= luckyIds_.GetHashCode(); + if (CanReRoll != false) hash ^= CanReRoll.GetHashCode(); + if (ReRollPrice != 0) hash ^= ReRollPrice.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + infos_.WriteTo(output, _repeated_infos_codec); + if (TeamLevel != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TeamLevel); + } + newIds_.WriteTo(output, _repeated_newIds_codec); + luckyIds_.WriteTo(output, _repeated_luckyIds_codec); + if (CanReRoll != false) { + output.WriteRawTag(104); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(112); + output.WriteUInt32(ReRollPrice); + } + if (Type != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + infos_.WriteTo(ref output, _repeated_infos_codec); + if (TeamLevel != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TeamLevel); + } + newIds_.WriteTo(ref output, _repeated_newIds_codec); + luckyIds_.WriteTo(ref output, _repeated_luckyIds_codec); + if (CanReRoll != false) { + output.WriteRawTag(104); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(112); + output.WriteUInt32(ReRollPrice); + } + if (Type != 0) { + output.WriteRawTag(120); + output.WriteUInt32(Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += infos_.CalculateSize(_repeated_infos_codec); + if (TeamLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TeamLevel); + } + size += newIds_.CalculateSize(_repeated_newIds_codec); + size += luckyIds_.CalculateSize(_repeated_luckyIds_codec); + if (CanReRoll != false) { + size += 1 + 1; + } + if (ReRollPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRollPrice); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SelectPotentialCaseData other) { + if (other == null) { + return; + } + infos_.Add(other.infos_); + if (other.TeamLevel != 0) { + TeamLevel = other.TeamLevel; + } + newIds_.Add(other.newIds_); + luckyIds_.Add(other.luckyIds_); + if (other.CanReRoll != false) { + CanReRoll = other.CanReRoll; + } + if (other.ReRollPrice != 0) { + ReRollPrice = other.ReRollPrice; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 16: { + TeamLevel = input.ReadUInt32(); + break; + } + case 26: + case 24: { + newIds_.AddEntriesFrom(input, _repeated_newIds_codec); + break; + } + case 98: + case 96: { + luckyIds_.AddEntriesFrom(input, _repeated_luckyIds_codec); + break; + } + case 104: { + CanReRoll = input.ReadBool(); + break; + } + case 112: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 120: { + Type = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 16: { + TeamLevel = input.ReadUInt32(); + break; + } + case 26: + case 24: { + newIds_.AddEntriesFrom(ref input, _repeated_newIds_codec); + break; + } + case 98: + case 96: { + luckyIds_.AddEntriesFrom(ref input, _repeated_luckyIds_codec); + break; + } + case 104: { + CanReRoll = input.ReadBool(); + break; + } + case 112: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 120: { + Type = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SelectOptionsEventCaseData : pb::IMessage<SelectOptionsEventCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SelectOptionsEventCaseData> _parser = new pb::MessageParser<SelectOptionsEventCaseData>(() => new SelectOptionsEventCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SelectOptionsEventCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[13]; } + } + + [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 SelectOptionsEventCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectOptionsEventCaseData(SelectOptionsEventCaseData other) : this() { + evtId_ = other.evtId_; + options_ = other.options_.Clone(); + failedIdxes_ = other.failedIdxes_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectOptionsEventCaseData Clone() { + return new SelectOptionsEventCaseData(this); + } + + /// <summary>Field number for the "EvtId" field.</summary> + public const int EvtIdFieldNumber = 1; + private uint evtId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EvtId { + get { return evtId_; } + set { + evtId_ = value; + } + } + + /// <summary>Field number for the "Options" field.</summary> + public const int OptionsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_options_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> options_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Options { + get { return options_; } + } + + /// <summary>Field number for the "FailedIdxes" field.</summary> + public const int FailedIdxesFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_failedIdxes_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> failedIdxes_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> FailedIdxes { + get { return failedIdxes_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SelectOptionsEventCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SelectOptionsEventCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EvtId != other.EvtId) return false; + if(!options_.Equals(other.options_)) return false; + if(!failedIdxes_.Equals(other.failedIdxes_)) return false; + if (NextPackage != other.NextPackage) 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 (EvtId != 0) hash ^= EvtId.GetHashCode(); + hash ^= options_.GetHashCode(); + hash ^= failedIdxes_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (EvtId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EvtId); + } + options_.WriteTo(output, _repeated_options_codec); + failedIdxes_.WriteTo(output, _repeated_failedIdxes_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EvtId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EvtId); + } + options_.WriteTo(ref output, _repeated_options_codec); + failedIdxes_.WriteTo(ref output, _repeated_failedIdxes_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EvtId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EvtId); + } + size += options_.CalculateSize(_repeated_options_codec); + size += failedIdxes_.CalculateSize(_repeated_failedIdxes_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SelectOptionsEventCaseData other) { + if (other == null) { + return; + } + if (other.EvtId != 0) { + EvtId = other.EvtId; + } + options_.Add(other.options_); + failedIdxes_.Add(other.failedIdxes_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + EvtId = input.ReadUInt32(); + break; + } + case 18: + case 16: { + options_.AddEntriesFrom(input, _repeated_options_codec); + break; + } + case 26: + case 24: { + failedIdxes_.AddEntriesFrom(input, _repeated_failedIdxes_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + EvtId = input.ReadUInt32(); + break; + } + case 18: + case 16: { + options_.AddEntriesFrom(ref input, _repeated_options_codec); + break; + } + case 26: + case 24: { + failedIdxes_.AddEntriesFrom(ref input, _repeated_failedIdxes_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SelectNoteCaseData : pb::IMessage<SelectNoteCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SelectNoteCaseData> _parser = new pb::MessageParser<SelectNoteCaseData>(() => new SelectNoteCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SelectNoteCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[14]; } + } + + [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 SelectNoteCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectNoteCaseData(SelectNoteCaseData other) : this() { + info_ = other.info_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectNoteCaseData Clone() { + return new SelectNoteCaseData(this); + } + + /// <summary>Field number for the "Info" field.</summary> + public const int InfoFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.SelectNote> _repeated_info_codec + = pb::FieldCodec.ForMessage(10, global::Proto.SelectNote.Parser); + private readonly pbc::RepeatedField<global::Proto.SelectNote> info_ = new pbc::RepeatedField<global::Proto.SelectNote>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.SelectNote> Info { + get { return info_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SelectNoteCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SelectNoteCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!info_.Equals(other.info_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= info_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + info_.WriteTo(output, _repeated_info_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + info_.WriteTo(ref output, _repeated_info_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += info_.CalculateSize(_repeated_info_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SelectNoteCaseData other) { + if (other == null) { + return; + } + info_.Add(other.info_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + info_.AddEntriesFrom(input, _repeated_info_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + info_.AddEntriesFrom(ref input, _repeated_info_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SelectFateCardCaseData : pb::IMessage<SelectFateCardCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SelectFateCardCaseData> _parser = new pb::MessageParser<SelectFateCardCaseData>(() => new SelectFateCardCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SelectFateCardCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[15]; } + } + + [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 SelectFateCardCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectFateCardCaseData(SelectFateCardCaseData other) : this() { + ids_ = other.ids_.Clone(); + newIds_ = other.newIds_.Clone(); + give_ = other.give_; + canReRoll_ = other.canReRoll_; + reRollPrice_ = other.reRollPrice_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectFateCardCaseData Clone() { + return new SelectFateCardCaseData(this); + } + + /// <summary>Field number for the "Ids" field.</summary> + public const int IdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_ids_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> ids_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Ids { + get { return ids_; } + } + + /// <summary>Field number for the "NewIds" field.</summary> + public const int NewIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_newIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> newIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> NewIds { + get { return newIds_; } + } + + /// <summary>Field number for the "Give" field.</summary> + public const int GiveFieldNumber = 3; + private bool give_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Give { + get { return give_; } + set { + give_ = value; + } + } + + /// <summary>Field number for the "CanReRoll" field.</summary> + public const int CanReRollFieldNumber = 7; + private bool canReRoll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanReRoll { + get { return canReRoll_; } + set { + canReRoll_ = value; + } + } + + /// <summary>Field number for the "ReRollPrice" field.</summary> + public const int ReRollPriceFieldNumber = 8; + private uint reRollPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRollPrice { + get { return reRollPrice_; } + set { + reRollPrice_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SelectFateCardCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SelectFateCardCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!ids_.Equals(other.ids_)) return false; + if(!newIds_.Equals(other.newIds_)) return false; + if (Give != other.Give) return false; + if (CanReRoll != other.CanReRoll) return false; + if (ReRollPrice != other.ReRollPrice) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= ids_.GetHashCode(); + hash ^= newIds_.GetHashCode(); + if (Give != false) hash ^= Give.GetHashCode(); + if (CanReRoll != false) hash ^= CanReRoll.GetHashCode(); + if (ReRollPrice != 0) hash ^= ReRollPrice.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + ids_.WriteTo(output, _repeated_ids_codec); + newIds_.WriteTo(output, _repeated_newIds_codec); + if (Give != false) { + output.WriteRawTag(24); + output.WriteBool(Give); + } + if (CanReRoll != false) { + output.WriteRawTag(56); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ReRollPrice); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + ids_.WriteTo(ref output, _repeated_ids_codec); + newIds_.WriteTo(ref output, _repeated_newIds_codec); + if (Give != false) { + output.WriteRawTag(24); + output.WriteBool(Give); + } + if (CanReRoll != false) { + output.WriteRawTag(56); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ReRollPrice); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += ids_.CalculateSize(_repeated_ids_codec); + size += newIds_.CalculateSize(_repeated_newIds_codec); + if (Give != false) { + size += 1 + 1; + } + if (CanReRoll != false) { + size += 1 + 1; + } + if (ReRollPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRollPrice); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SelectFateCardCaseData other) { + if (other == null) { + return; + } + ids_.Add(other.ids_); + newIds_.Add(other.newIds_); + if (other.Give != false) { + Give = other.Give; + } + if (other.CanReRoll != false) { + CanReRoll = other.CanReRoll; + } + if (other.ReRollPrice != 0) { + ReRollPrice = other.ReRollPrice; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + ids_.AddEntriesFrom(input, _repeated_ids_codec); + break; + } + case 18: + case 16: { + newIds_.AddEntriesFrom(input, _repeated_newIds_codec); + break; + } + case 24: { + Give = input.ReadBool(); + break; + } + case 56: { + CanReRoll = input.ReadBool(); + break; + } + case 64: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + ids_.AddEntriesFrom(ref input, _repeated_ids_codec); + break; + } + case 18: + case 16: { + newIds_.AddEntriesFrom(ref input, _repeated_newIds_codec); + break; + } + case 24: { + Give = input.ReadBool(); + break; + } + case 56: { + CanReRoll = input.ReadBool(); + break; + } + case 64: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RecoveryHPCaseData : pb::IMessage<RecoveryHPCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RecoveryHPCaseData> _parser = new pb::MessageParser<RecoveryHPCaseData>(() => new RecoveryHPCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RecoveryHPCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[16]; } + } + + [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 RecoveryHPCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecoveryHPCaseData(RecoveryHPCaseData other) : this() { + effectId_ = other.effectId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RecoveryHPCaseData Clone() { + return new RecoveryHPCaseData(this); + } + + /// <summary>Field number for the "EffectId" field.</summary> + public const int EffectIdFieldNumber = 1; + private uint effectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EffectId { + get { return effectId_; } + set { + effectId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RecoveryHPCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RecoveryHPCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EffectId != other.EffectId) return false; + if (NextPackage != other.NextPackage) 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 (EffectId != 0) hash ^= EffectId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (EffectId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EffectId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EffectId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EffectId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EffectId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EffectId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RecoveryHPCaseData other) { + if (other == null) { + return; + } + if (other.EffectId != 0) { + EffectId = other.EffectId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + EffectId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + EffectId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NpcRecoveryHPCaseData : pb::IMessage<NpcRecoveryHPCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<NpcRecoveryHPCaseData> _parser = new pb::MessageParser<NpcRecoveryHPCaseData>(() => new NpcRecoveryHPCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<NpcRecoveryHPCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[17]; } + } + + [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 NpcRecoveryHPCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcRecoveryHPCaseData(NpcRecoveryHPCaseData other) : this() { + effectId_ = other.effectId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcRecoveryHPCaseData Clone() { + return new NpcRecoveryHPCaseData(this); + } + + /// <summary>Field number for the "EffectId" field.</summary> + public const int EffectIdFieldNumber = 1; + private uint effectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EffectId { + get { return effectId_; } + set { + effectId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 NpcRecoveryHPCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NpcRecoveryHPCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EffectId != other.EffectId) return false; + if (NextPackage != other.NextPackage) 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 (EffectId != 0) hash ^= EffectId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (EffectId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EffectId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EffectId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EffectId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EffectId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EffectId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NpcRecoveryHPCaseData other) { + if (other == null) { + return; + } + if (other.EffectId != 0) { + EffectId = other.EffectId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + EffectId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + EffectId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SyncHPCaseData : pb::IMessage<SyncHPCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SyncHPCaseData> _parser = new pb::MessageParser<SyncHPCaseData>(() => new SyncHPCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SyncHPCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[18]; } + } + + [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 SyncHPCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SyncHPCaseData(SyncHPCaseData other) : this() { + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SyncHPCaseData Clone() { + return new SyncHPCaseData(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SyncHPCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SyncHPCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) 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 (NextPackage.Length != 0) hash ^= NextPackage.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 (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SyncHPCaseData other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 16378: { + NextPackage = input.ReadBytes(); + 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 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HawkerGoods : pb::IMessage<HawkerGoods> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HawkerGoods> _parser = new pb::MessageParser<HawkerGoods>(() => new HawkerGoods()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HawkerGoods> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[19]; } + } + + [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 HawkerGoods() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HawkerGoods(HawkerGoods other) : this() { + sid_ = other.sid_; + idx_ = other.idx_; + charPos_ = other.charPos_; + price_ = other.price_; + discount_ = other.discount_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HawkerGoods Clone() { + return new HawkerGoods(this); + } + + /// <summary>Field number for the "Sid" field.</summary> + public const int SidFieldNumber = 1; + private uint sid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Sid { + get { return sid_; } + set { + sid_ = value; + } + } + + /// <summary>Field number for the "Idx" field.</summary> + public const int IdxFieldNumber = 2; + private uint idx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Idx { + get { return idx_; } + set { + idx_ = value; + } + } + + /// <summary>Field number for the "CharPos" field.</summary> + public const int CharPosFieldNumber = 3; + private uint charPos_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharPos { + get { return charPos_; } + set { + charPos_ = value; + } + } + + /// <summary>Field number for the "Price" field.</summary> + public const int PriceFieldNumber = 4; + private int price_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Price { + get { return price_; } + set { + price_ = value; + } + } + + /// <summary>Field number for the "Discount" field.</summary> + public const int DiscountFieldNumber = 5; + private int discount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Discount { + get { return discount_; } + set { + discount_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 HawkerGoods); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HawkerGoods other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Sid != other.Sid) return false; + if (Idx != other.Idx) return false; + if (CharPos != other.CharPos) return false; + if (Price != other.Price) return false; + if (Discount != other.Discount) return false; + if (NextPackage != other.NextPackage) 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 (Sid != 0) hash ^= Sid.GetHashCode(); + if (Idx != 0) hash ^= Idx.GetHashCode(); + if (CharPos != 0) hash ^= CharPos.GetHashCode(); + if (Price != 0) hash ^= Price.GetHashCode(); + if (Discount != 0) hash ^= Discount.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Sid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Sid); + } + if (Idx != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Idx); + } + if (CharPos != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CharPos); + } + if (Price != 0) { + output.WriteRawTag(32); + output.WriteInt32(Price); + } + if (Discount != 0) { + output.WriteRawTag(40); + output.WriteInt32(Discount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Sid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Sid); + } + if (Idx != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Idx); + } + if (CharPos != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CharPos); + } + if (Price != 0) { + output.WriteRawTag(32); + output.WriteInt32(Price); + } + if (Discount != 0) { + output.WriteRawTag(40); + output.WriteInt32(Discount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Sid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Sid); + } + if (Idx != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx); + } + if (CharPos != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharPos); + } + if (Price != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); + } + if (Discount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Discount); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HawkerGoods other) { + if (other == null) { + return; + } + if (other.Sid != 0) { + Sid = other.Sid; + } + if (other.Idx != 0) { + Idx = other.Idx; + } + if (other.CharPos != 0) { + CharPos = other.CharPos; + } + if (other.Price != 0) { + Price = other.Price; + } + if (other.Discount != 0) { + Discount = other.Discount; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Sid = input.ReadUInt32(); + break; + } + case 16: { + Idx = input.ReadUInt32(); + break; + } + case 24: { + CharPos = input.ReadUInt32(); + break; + } + case 32: { + Price = input.ReadInt32(); + break; + } + case 40: { + Discount = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Sid = input.ReadUInt32(); + break; + } + case 16: { + Idx = input.ReadUInt32(); + break; + } + case 24: { + CharPos = input.ReadUInt32(); + break; + } + case 32: { + Price = input.ReadInt32(); + break; + } + case 40: { + Discount = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HawkerCaseData : pb::IMessage<HawkerCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HawkerCaseData> _parser = new pb::MessageParser<HawkerCaseData>(() => new HawkerCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HawkerCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[20]; } + } + + [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 HawkerCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HawkerCaseData(HawkerCaseData other) : this() { + list_ = other.list_.Clone(); + purchase_ = other.purchase_.Clone(); + canReRoll_ = other.canReRoll_; + reRollPrice_ = other.reRollPrice_; + reRollTimes_ = other.reRollTimes_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HawkerCaseData Clone() { + return new HawkerCaseData(this); + } + + /// <summary>Field number for the "List" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.HawkerGoods> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.HawkerGoods.Parser); + private readonly pbc::RepeatedField<global::Proto.HawkerGoods> list_ = new pbc::RepeatedField<global::Proto.HawkerGoods>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.HawkerGoods> List { + get { return list_; } + } + + /// <summary>Field number for the "Purchase" field.</summary> + public const int PurchaseFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_purchase_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> purchase_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Purchase { + get { return purchase_; } + } + + /// <summary>Field number for the "CanReRoll" field.</summary> + public const int CanReRollFieldNumber = 7; + private bool canReRoll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanReRoll { + get { return canReRoll_; } + set { + canReRoll_ = value; + } + } + + /// <summary>Field number for the "ReRollPrice" field.</summary> + public const int ReRollPriceFieldNumber = 8; + private uint reRollPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRollPrice { + get { return reRollPrice_; } + set { + reRollPrice_ = value; + } + } + + /// <summary>Field number for the "ReRollTimes" field.</summary> + public const int ReRollTimesFieldNumber = 9; + private uint reRollTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRollTimes { + get { return reRollTimes_; } + set { + reRollTimes_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 HawkerCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HawkerCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if(!purchase_.Equals(other.purchase_)) return false; + if (CanReRoll != other.CanReRoll) return false; + if (ReRollPrice != other.ReRollPrice) return false; + if (ReRollTimes != other.ReRollTimes) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + hash ^= purchase_.GetHashCode(); + if (CanReRoll != false) hash ^= CanReRoll.GetHashCode(); + if (ReRollPrice != 0) hash ^= ReRollPrice.GetHashCode(); + if (ReRollTimes != 0) hash ^= ReRollTimes.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + purchase_.WriteTo(output, _repeated_purchase_codec); + if (CanReRoll != false) { + output.WriteRawTag(56); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ReRollPrice); + } + if (ReRollTimes != 0) { + output.WriteRawTag(72); + output.WriteUInt32(ReRollTimes); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + purchase_.WriteTo(ref output, _repeated_purchase_codec); + if (CanReRoll != false) { + output.WriteRawTag(56); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(64); + output.WriteUInt32(ReRollPrice); + } + if (ReRollTimes != 0) { + output.WriteRawTag(72); + output.WriteUInt32(ReRollTimes); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + size += purchase_.CalculateSize(_repeated_purchase_codec); + if (CanReRoll != false) { + size += 1 + 1; + } + if (ReRollPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRollPrice); + } + if (ReRollTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRollTimes); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HawkerCaseData other) { + if (other == null) { + return; + } + list_.Add(other.list_); + purchase_.Add(other.purchase_); + if (other.CanReRoll != false) { + CanReRoll = other.CanReRoll; + } + if (other.ReRollPrice != 0) { + ReRollPrice = other.ReRollPrice; + } + if (other.ReRollTimes != 0) { + ReRollTimes = other.ReRollTimes; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 18: + case 16: { + purchase_.AddEntriesFrom(input, _repeated_purchase_codec); + break; + } + case 56: { + CanReRoll = input.ReadBool(); + break; + } + case 64: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 72: { + ReRollTimes = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 18: + case 16: { + purchase_.AddEntriesFrom(ref input, _repeated_purchase_codec); + break; + } + case 56: { + CanReRoll = input.ReadBool(); + break; + } + case 64: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 72: { + ReRollTimes = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractHawkerReq : pb::IMessage<InteractHawkerReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractHawkerReq> _parser = new pb::MessageParser<InteractHawkerReq>(() => new InteractHawkerReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractHawkerReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[21]; } + } + + [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 InteractHawkerReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractHawkerReq(InteractHawkerReq other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ActionCase) { + case ActionOneofCase.Sid: + Sid = other.Sid; + break; + case ActionOneofCase.ReRoll: + ReRoll = other.ReRoll; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractHawkerReq Clone() { + return new InteractHawkerReq(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Sid" field.</summary> + public const int SidFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Sid { + get { return HasSid ? (uint) action_ : 0; } + set { + action_ = value; + actionCase_ = ActionOneofCase.Sid; + } + } + /// <summary>Gets whether the "Sid" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSid { + get { return actionCase_ == ActionOneofCase.Sid; } + } + /// <summary> Clears the value of the oneof if it's currently set to "Sid" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSid() { + if (HasSid) { + ClearAction(); + } + } + + /// <summary>Field number for the "ReRoll" field.</summary> + public const int ReRollFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReRoll { + get { return HasReRoll ? (bool) action_ : false; } + set { + action_ = value; + actionCase_ = ActionOneofCase.ReRoll; + } + } + /// <summary>Gets whether the "ReRoll" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReRoll { + get { return actionCase_ == ActionOneofCase.ReRoll; } + } + /// <summary> Clears the value of the oneof if it's currently set to "ReRoll" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReRoll() { + if (HasReRoll) { + ClearAction(); + } + } + + private object action_; + /// <summary>Enum of possible cases for the "Action" oneof.</summary> + public enum ActionOneofCase { + None = 0, + Sid = 1, + ReRoll = 2, + } + private ActionOneofCase actionCase_ = ActionOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActionOneofCase ActionCase { + get { return actionCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAction() { + actionCase_ = ActionOneofCase.None; + action_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InteractHawkerReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractHawkerReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (Sid != other.Sid) return false; + if (ReRoll != other.ReRoll) return false; + if (ActionCase != other.ActionCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (HasSid) hash ^= Sid.GetHashCode(); + if (HasReRoll) hash ^= ReRoll.GetHashCode(); + hash ^= (int) actionCase_; + 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 (HasSid) { + output.WriteRawTag(8); + output.WriteUInt32(Sid); + } + if (HasReRoll) { + output.WriteRawTag(16); + output.WriteBool(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (HasSid) { + output.WriteRawTag(8); + output.WriteUInt32(Sid); + } + if (HasReRoll) { + output.WriteRawTag(16); + output.WriteBool(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (HasSid) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Sid); + } + if (HasReRoll) { + 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(InteractHawkerReq other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ActionCase) { + case ActionOneofCase.Sid: + Sid = other.Sid; + break; + case ActionOneofCase.ReRoll: + ReRoll = other.ReRoll; + break; + } + + _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: { + Sid = input.ReadUInt32(); + break; + } + case 16: { + ReRoll = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Sid = input.ReadUInt32(); + break; + } + case 16: { + ReRoll = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractStrengthenMachineResp : pb::IMessage<InteractStrengthenMachineResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractStrengthenMachineResp> _parser = new pb::MessageParser<InteractStrengthenMachineResp>(() => new InteractStrengthenMachineResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractStrengthenMachineResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[22]; } + } + + [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 InteractStrengthenMachineResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractStrengthenMachineResp(InteractStrengthenMachineResp other) : this() { + buySucceed_ = other.buySucceed_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractStrengthenMachineResp Clone() { + return new InteractStrengthenMachineResp(this); + } + + /// <summary>Field number for the "BuySucceed" field.</summary> + public const int BuySucceedFieldNumber = 1; + private bool buySucceed_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BuySucceed { + get { return buySucceed_; } + set { + buySucceed_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InteractStrengthenMachineResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractStrengthenMachineResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BuySucceed != other.BuySucceed) return false; + if (NextPackage != other.NextPackage) 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 (BuySucceed != false) hash ^= BuySucceed.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (BuySucceed != false) { + output.WriteRawTag(8); + output.WriteBool(BuySucceed); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BuySucceed != false) { + output.WriteRawTag(8); + output.WriteBool(BuySucceed); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BuySucceed != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractStrengthenMachineResp other) { + if (other == null) { + return; + } + if (other.BuySucceed != false) { + BuySucceed = other.BuySucceed; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + BuySucceed = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + BuySucceed = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StrengthenMachineCaseData : pb::IMessage<StrengthenMachineCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StrengthenMachineCaseData> _parser = new pb::MessageParser<StrengthenMachineCaseData>(() => new StrengthenMachineCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StrengthenMachineCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[23]; } + } + + [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 StrengthenMachineCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StrengthenMachineCaseData(StrengthenMachineCaseData other) : this() { + times_ = other.times_; + firstFree_ = other.firstFree_; + discount_ = other.discount_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StrengthenMachineCaseData Clone() { + return new StrengthenMachineCaseData(this); + } + + /// <summary>Field number for the "Times" field.</summary> + public const int TimesFieldNumber = 1; + private uint times_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Times { + get { return times_; } + set { + times_ = value; + } + } + + /// <summary>Field number for the "FirstFree" field.</summary> + public const int FirstFreeFieldNumber = 7; + private bool firstFree_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FirstFree { + get { return firstFree_; } + set { + firstFree_ = value; + } + } + + /// <summary>Field number for the "Discount" field.</summary> + public const int DiscountFieldNumber = 8; + private uint discount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Discount { + get { return discount_; } + set { + discount_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StrengthenMachineCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StrengthenMachineCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Times != other.Times) return false; + if (FirstFree != other.FirstFree) return false; + if (Discount != other.Discount) return false; + if (NextPackage != other.NextPackage) 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 (Times != 0) hash ^= Times.GetHashCode(); + if (FirstFree != false) hash ^= FirstFree.GetHashCode(); + if (Discount != 0) hash ^= Discount.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Times != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Times); + } + if (FirstFree != false) { + output.WriteRawTag(56); + output.WriteBool(FirstFree); + } + if (Discount != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Discount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Times != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Times); + } + if (FirstFree != false) { + output.WriteRawTag(56); + output.WriteBool(FirstFree); + } + if (Discount != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Discount); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Times != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Times); + } + if (FirstFree != false) { + size += 1 + 1; + } + if (Discount != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Discount); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StrengthenMachineCaseData other) { + if (other == null) { + return; + } + if (other.Times != 0) { + Times = other.Times; + } + if (other.FirstFree != false) { + FirstFree = other.FirstFree; + } + if (other.Discount != 0) { + Discount = other.Discount; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Times = input.ReadUInt32(); + break; + } + case 56: { + FirstFree = input.ReadBool(); + break; + } + case 64: { + Discount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Times = input.ReadUInt32(); + break; + } + case 56: { + FirstFree = input.ReadBool(); + break; + } + case 64: { + Discount = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HarmonySkillCaseData : pb::IMessage<HarmonySkillCaseData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HarmonySkillCaseData> _parser = new pb::MessageParser<HarmonySkillCaseData>(() => new HarmonySkillCaseData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HarmonySkillCaseData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[24]; } + } + + [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 HarmonySkillCaseData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HarmonySkillCaseData(HarmonySkillCaseData other) : this() { + skill_ = other.skill_; + canReRoll_ = other.canReRoll_; + reRollPrice_ = other.reRollPrice_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HarmonySkillCaseData Clone() { + return new HarmonySkillCaseData(this); + } + + /// <summary>Field number for the "Skill" field.</summary> + public const int SkillFieldNumber = 1; + private uint skill_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Skill { + get { return skill_; } + set { + skill_ = value; + } + } + + /// <summary>Field number for the "CanReRoll" field.</summary> + public const int CanReRollFieldNumber = 2; + private bool canReRoll_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CanReRoll { + get { return canReRoll_; } + set { + canReRoll_ = value; + } + } + + /// <summary>Field number for the "ReRollPrice" field.</summary> + public const int ReRollPriceFieldNumber = 3; + private uint reRollPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ReRollPrice { + get { return reRollPrice_; } + set { + reRollPrice_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 HarmonySkillCaseData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HarmonySkillCaseData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Skill != other.Skill) return false; + if (CanReRoll != other.CanReRoll) return false; + if (ReRollPrice != other.ReRollPrice) return false; + if (NextPackage != other.NextPackage) 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 (Skill != 0) hash ^= Skill.GetHashCode(); + if (CanReRoll != false) hash ^= CanReRoll.GetHashCode(); + if (ReRollPrice != 0) hash ^= ReRollPrice.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Skill != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Skill); + } + if (CanReRoll != false) { + output.WriteRawTag(16); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ReRollPrice); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Skill != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Skill); + } + if (CanReRoll != false) { + output.WriteRawTag(16); + output.WriteBool(CanReRoll); + } + if (ReRollPrice != 0) { + output.WriteRawTag(24); + output.WriteUInt32(ReRollPrice); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Skill != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Skill); + } + if (CanReRoll != false) { + size += 1 + 1; + } + if (ReRollPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReRollPrice); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HarmonySkillCaseData other) { + if (other == null) { + return; + } + if (other.Skill != 0) { + Skill = other.Skill; + } + if (other.CanReRoll != false) { + CanReRoll = other.CanReRoll; + } + if (other.ReRollPrice != 0) { + ReRollPrice = other.ReRollPrice; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Skill = input.ReadUInt32(); + break; + } + case 16: { + CanReRoll = input.ReadBool(); + break; + } + case 24: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Skill = input.ReadUInt32(); + break; + } + case 16: { + CanReRoll = input.ReadBool(); + break; + } + case 24: { + ReRollPrice = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractEnterReq : pb::IMessage<InteractEnterReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractEnterReq> _parser = new pb::MessageParser<InteractEnterReq>(() => new InteractEnterReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractEnterReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[25]; } + } + + [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 InteractEnterReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractEnterReq(InteractEnterReq other) : this() { + mapId_ = other.mapId_; + paramId_ = other.paramId_; + dateLen_ = other.dateLen_; + clientData_ = other.clientData_; + mapParam_ = other.mapParam_; + mapTableId_ = other.mapTableId_; + checksum_ = other.checksum_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractEnterReq Clone() { + return new InteractEnterReq(this); + } + + /// <summary>Field number for the "MapId" field.</summary> + public const int MapIdFieldNumber = 1; + private uint mapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapId { + get { return mapId_; } + set { + mapId_ = value; + } + } + + /// <summary>Field number for the "ParamId" field.</summary> + public const int ParamIdFieldNumber = 2; + private uint paramId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ParamId { + get { return paramId_; } + set { + paramId_ = value; + } + } + + /// <summary>Field number for the "DateLen" field.</summary> + public const int DateLenFieldNumber = 3; + private uint dateLen_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DateLen { + get { return dateLen_; } + set { + dateLen_ = value; + } + } + + /// <summary>Field number for the "ClientData" field.</summary> + public const int ClientDataFieldNumber = 4; + private string clientData_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientData { + get { return clientData_; } + set { + clientData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MapParam" field.</summary> + public const int MapParamFieldNumber = 5; + private string mapParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MapParam { + get { return mapParam_; } + set { + mapParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MapTableId" field.</summary> + public const int MapTableIdFieldNumber = 6; + private uint mapTableId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapTableId { + get { return mapTableId_; } + set { + mapTableId_ = value; + } + } + + /// <summary>Field number for the "Checksum" field.</summary> + public const int ChecksumFieldNumber = 7; + private ulong checksum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Checksum { + get { return checksum_; } + set { + checksum_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InteractEnterReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractEnterReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MapId != other.MapId) return false; + if (ParamId != other.ParamId) return false; + if (DateLen != other.DateLen) return false; + if (ClientData != other.ClientData) return false; + if (MapParam != other.MapParam) return false; + if (MapTableId != other.MapTableId) return false; + if (Checksum != other.Checksum) return false; + if (NextPackage != other.NextPackage) 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 (MapId != 0) hash ^= MapId.GetHashCode(); + if (ParamId != 0) hash ^= ParamId.GetHashCode(); + if (DateLen != 0) hash ^= DateLen.GetHashCode(); + if (ClientData.Length != 0) hash ^= ClientData.GetHashCode(); + if (MapParam.Length != 0) hash ^= MapParam.GetHashCode(); + if (MapTableId != 0) hash ^= MapTableId.GetHashCode(); + if (Checksum != 0UL) hash ^= Checksum.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (MapId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(MapId); + } + if (ParamId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ParamId); + } + if (DateLen != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DateLen); + } + if (ClientData.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ClientData); + } + if (MapParam.Length != 0) { + output.WriteRawTag(42); + output.WriteString(MapParam); + } + if (MapTableId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(MapTableId); + } + if (Checksum != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(Checksum); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (MapId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(MapId); + } + if (ParamId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ParamId); + } + if (DateLen != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DateLen); + } + if (ClientData.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ClientData); + } + if (MapParam.Length != 0) { + output.WriteRawTag(42); + output.WriteString(MapParam); + } + if (MapTableId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(MapTableId); + } + if (Checksum != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(Checksum); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (MapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId); + } + if (ParamId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParamId); + } + if (DateLen != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DateLen); + } + if (ClientData.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientData); + } + if (MapParam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MapParam); + } + if (MapTableId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapTableId); + } + if (Checksum != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Checksum); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractEnterReq other) { + if (other == null) { + return; + } + if (other.MapId != 0) { + MapId = other.MapId; + } + if (other.ParamId != 0) { + ParamId = other.ParamId; + } + if (other.DateLen != 0) { + DateLen = other.DateLen; + } + if (other.ClientData.Length != 0) { + ClientData = other.ClientData; + } + if (other.MapParam.Length != 0) { + MapParam = other.MapParam; + } + if (other.MapTableId != 0) { + MapTableId = other.MapTableId; + } + if (other.Checksum != 0UL) { + Checksum = other.Checksum; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + MapId = input.ReadUInt32(); + break; + } + case 16: { + ParamId = input.ReadUInt32(); + break; + } + case 24: { + DateLen = input.ReadUInt32(); + break; + } + case 34: { + ClientData = input.ReadString(); + break; + } + case 42: { + MapParam = input.ReadString(); + break; + } + case 48: { + MapTableId = input.ReadUInt32(); + break; + } + case 56: { + Checksum = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + MapId = input.ReadUInt32(); + break; + } + case 16: { + ParamId = input.ReadUInt32(); + break; + } + case 24: { + DateLen = input.ReadUInt32(); + break; + } + case 34: { + ClientData = input.ReadString(); + break; + } + case 42: { + MapParam = input.ReadString(); + break; + } + case 48: { + MapTableId = input.ReadUInt32(); + break; + } + case 56: { + Checksum = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractEnterResp : pb::IMessage<InteractEnterResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractEnterResp> _parser = new pb::MessageParser<InteractEnterResp>(() => new InteractEnterResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractEnterResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[26]; } + } + + [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 InteractEnterResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractEnterResp(InteractEnterResp other) : this() { + room_ = other.room_ != null ? other.room_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractEnterResp Clone() { + return new InteractEnterResp(this); + } + + /// <summary>Field number for the "Room" field.</summary> + public const int RoomFieldNumber = 1; + private global::Proto.StarTowerRoom room_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerRoom Room { + get { return room_; } + set { + room_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InteractEnterResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractEnterResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Room, other.Room)) return false; + if (NextPackage != other.NextPackage) 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 (room_ != null) hash ^= Room.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (room_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Room); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (room_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Room); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (room_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Room); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractEnterResp other) { + if (other == null) { + return; + } + if (other.room_ != null) { + if (room_ == null) { + Room = new global::Proto.StarTowerRoom(); + } + Room.MergeFrom(other.Room); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (room_ == null) { + Room = new global::Proto.StarTowerRoom(); + } + input.ReadMessage(Room); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (room_ == null) { + Room = new global::Proto.StarTowerRoom(); + } + input.ReadMessage(Room); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractBattleEndReq : pb::IMessage<InteractBattleEndReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractBattleEndReq> _parser = new pb::MessageParser<InteractBattleEndReq>(() => new InteractBattleEndReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractBattleEndReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[27]; } + } + + [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 InteractBattleEndReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractBattleEndReq(InteractBattleEndReq other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ResultCase) { + case ResultOneofCase.Victory: + Victory = other.Victory.Clone(); + break; + case ResultOneofCase.Defeat: + Defeat = other.Defeat; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractBattleEndReq Clone() { + return new InteractBattleEndReq(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Victory" field.</summary> + public const int VictoryFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractBattleEndReq.Types.VictoryData Victory { + get { return resultCase_ == ResultOneofCase.Victory ? (global::Proto.InteractBattleEndReq.Types.VictoryData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Victory; + } + } + + /// <summary>Field number for the "Defeat" field.</summary> + public const int DefeatFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Defeat { + get { return HasDefeat ? (bool) result_ : false; } + set { + result_ = value; + resultCase_ = ResultOneofCase.Defeat; + } + } + /// <summary>Gets whether the "Defeat" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDefeat { + get { return resultCase_ == ResultOneofCase.Defeat; } + } + /// <summary> Clears the value of the oneof if it's currently set to "Defeat" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDefeat() { + if (HasDefeat) { + ClearResult(); + } + } + + private object result_; + /// <summary>Enum of possible cases for the "Result" oneof.</summary> + public enum ResultOneofCase { + None = 0, + Victory = 1, + Defeat = 2, + } + private ResultOneofCase resultCase_ = ResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultOneofCase ResultCase { + get { return resultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + resultCase_ = ResultOneofCase.None; + result_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InteractBattleEndReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractBattleEndReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Victory, other.Victory)) return false; + if (Defeat != other.Defeat) return false; + if (ResultCase != other.ResultCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (resultCase_ == ResultOneofCase.Victory) hash ^= Victory.GetHashCode(); + if (HasDefeat) hash ^= Defeat.GetHashCode(); + hash ^= (int) resultCase_; + 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 (resultCase_ == ResultOneofCase.Victory) { + output.WriteRawTag(10); + output.WriteMessage(Victory); + } + if (HasDefeat) { + output.WriteRawTag(16); + output.WriteBool(Defeat); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resultCase_ == ResultOneofCase.Victory) { + output.WriteRawTag(10); + output.WriteMessage(Victory); + } + if (HasDefeat) { + output.WriteRawTag(16); + output.WriteBool(Defeat); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (resultCase_ == ResultOneofCase.Victory) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Victory); + } + if (HasDefeat) { + 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(InteractBattleEndReq other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ResultCase) { + case ResultOneofCase.Victory: + if (Victory == null) { + Victory = new global::Proto.InteractBattleEndReq.Types.VictoryData(); + } + Victory.MergeFrom(other.Victory); + break; + case ResultOneofCase.Defeat: + Defeat = other.Defeat; + break; + } + + _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 10: { + global::Proto.InteractBattleEndReq.Types.VictoryData subBuilder = new global::Proto.InteractBattleEndReq.Types.VictoryData(); + if (resultCase_ == ResultOneofCase.Victory) { + subBuilder.MergeFrom(Victory); + } + input.ReadMessage(subBuilder); + Victory = subBuilder; + break; + } + case 16: { + Defeat = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.InteractBattleEndReq.Types.VictoryData subBuilder = new global::Proto.InteractBattleEndReq.Types.VictoryData(); + if (resultCase_ == ResultOneofCase.Victory) { + subBuilder.MergeFrom(Victory); + } + input.ReadMessage(subBuilder); + Victory = subBuilder; + break; + } + case 16: { + Defeat = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the InteractBattleEndReq message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VictoryData : pb::IMessage<VictoryData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VictoryData> _parser = new pb::MessageParser<VictoryData>(() => new VictoryData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VictoryData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.InteractBattleEndReq.Descriptor.NestedTypes[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 VictoryData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VictoryData(VictoryData other) : this() { + hP_ = other.hP_; + time_ = other.time_; + dateLen_ = other.dateLen_; + clientData_ = other.clientData_; + fateCardUsage_ = other.fateCardUsage_.Clone(); + damages_ = other.damages_.Clone(); + sample_ = other.sample_.Clone(); + events_ = other.events_ != null ? other.events_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VictoryData Clone() { + return new VictoryData(this); + } + + /// <summary>Field number for the "HP" field.</summary> + public const int HPFieldNumber = 1; + private uint hP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint HP { + get { return hP_; } + set { + hP_ = value; + } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 2; + private uint time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Time { + get { return time_; } + set { + time_ = value; + } + } + + /// <summary>Field number for the "DateLen" field.</summary> + public const int DateLenFieldNumber = 3; + private uint dateLen_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DateLen { + get { return dateLen_; } + set { + dateLen_ = value; + } + } + + /// <summary>Field number for the "ClientData" field.</summary> + public const int ClientDataFieldNumber = 4; + private string clientData_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientData { + get { return clientData_; } + set { + clientData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "fateCardUsage" field.</summary> + public const int FateCardUsageFieldNumber = 5; + private static readonly pb::FieldCodec<global::Proto.FateCardUsage> _repeated_fateCardUsage_codec + = pb::FieldCodec.ForMessage(42, global::Proto.FateCardUsage.Parser); + private readonly pbc::RepeatedField<global::Proto.FateCardUsage> fateCardUsage_ = new pbc::RepeatedField<global::Proto.FateCardUsage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.FateCardUsage> FateCardUsage { + get { return fateCardUsage_; } + } + + /// <summary>Field number for the "Damages" field.</summary> + public const int DamagesFieldNumber = 6; + private static readonly pb::FieldCodec<uint> _repeated_damages_codec + = pb::FieldCodec.ForUInt32(50); + private readonly pbc::RepeatedField<uint> damages_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Damages { + get { return damages_; } + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 14; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(114, global::Proto.TravelerDuelBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "Events" field.</summary> + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VictoryData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VictoryData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (HP != other.HP) return false; + if (Time != other.Time) return false; + if (DateLen != other.DateLen) return false; + if (ClientData != other.ClientData) return false; + if(!fateCardUsage_.Equals(other.fateCardUsage_)) return false; + if(!damages_.Equals(other.damages_)) return false; + if(!sample_.Equals(other.sample_)) return false; + if (!object.Equals(Events, other.Events)) 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 (HP != 0) hash ^= HP.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (DateLen != 0) hash ^= DateLen.GetHashCode(); + if (ClientData.Length != 0) hash ^= ClientData.GetHashCode(); + hash ^= fateCardUsage_.GetHashCode(); + hash ^= damages_.GetHashCode(); + hash ^= sample_.GetHashCode(); + if (events_ != null) hash ^= Events.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 (HP != 0) { + output.WriteRawTag(8); + output.WriteUInt32(HP); + } + if (Time != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Time); + } + if (DateLen != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DateLen); + } + if (ClientData.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ClientData); + } + fateCardUsage_.WriteTo(output, _repeated_fateCardUsage_codec); + damages_.WriteTo(output, _repeated_damages_codec); + sample_.WriteTo(output, _repeated_sample_codec); + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + 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 (HP != 0) { + output.WriteRawTag(8); + output.WriteUInt32(HP); + } + if (Time != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Time); + } + if (DateLen != 0) { + output.WriteRawTag(24); + output.WriteUInt32(DateLen); + } + if (ClientData.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ClientData); + } + fateCardUsage_.WriteTo(ref output, _repeated_fateCardUsage_codec); + damages_.WriteTo(ref output, _repeated_damages_codec); + sample_.WriteTo(ref output, _repeated_sample_codec); + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + 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 (HP != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HP); + } + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time); + } + if (DateLen != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DateLen); + } + if (ClientData.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientData); + } + size += fateCardUsage_.CalculateSize(_repeated_fateCardUsage_codec); + size += damages_.CalculateSize(_repeated_damages_codec); + size += sample_.CalculateSize(_repeated_sample_codec); + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VictoryData other) { + if (other == null) { + return; + } + if (other.HP != 0) { + HP = other.HP; + } + if (other.Time != 0) { + Time = other.Time; + } + if (other.DateLen != 0) { + DateLen = other.DateLen; + } + if (other.ClientData.Length != 0) { + ClientData = other.ClientData; + } + fateCardUsage_.Add(other.fateCardUsage_); + damages_.Add(other.damages_); + sample_.Add(other.sample_); + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + _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: { + HP = input.ReadUInt32(); + break; + } + case 16: { + Time = input.ReadUInt32(); + break; + } + case 24: { + DateLen = input.ReadUInt32(); + break; + } + case 34: { + ClientData = input.ReadString(); + break; + } + case 42: { + fateCardUsage_.AddEntriesFrom(input, _repeated_fateCardUsage_codec); + break; + } + case 50: + case 48: { + damages_.AddEntriesFrom(input, _repeated_damages_codec); + break; + } + case 114: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + 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: { + HP = input.ReadUInt32(); + break; + } + case 16: { + Time = input.ReadUInt32(); + break; + } + case 24: { + DateLen = input.ReadUInt32(); + break; + } + case 34: { + ClientData = input.ReadString(); + break; + } + case 42: { + fateCardUsage_.AddEntriesFrom(ref input, _repeated_fateCardUsage_codec); + break; + } + case 50: + case 48: { + damages_.AddEntriesFrom(ref input, _repeated_damages_codec); + break; + } + case 114: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractBattleEndResp : pb::IMessage<InteractBattleEndResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractBattleEndResp> _parser = new pb::MessageParser<InteractBattleEndResp>(() => new InteractBattleEndResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractBattleEndResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[28]; } + } + + [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 InteractBattleEndResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractBattleEndResp(InteractBattleEndResp other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ResultCase) { + case ResultOneofCase.Victory: + Victory = other.Victory.Clone(); + break; + case ResultOneofCase.Defeat: + Defeat = other.Defeat.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractBattleEndResp Clone() { + return new InteractBattleEndResp(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Victory" field.</summary> + public const int VictoryFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractBattleEndResp.Types.VictoryData Victory { + get { return resultCase_ == ResultOneofCase.Victory ? (global::Proto.InteractBattleEndResp.Types.VictoryData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Victory; + } + } + + /// <summary>Field number for the "Defeat" field.</summary> + public const int DefeatFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractBattleEndResp.Types.DefeatData Defeat { + get { return resultCase_ == ResultOneofCase.Defeat ? (global::Proto.InteractBattleEndResp.Types.DefeatData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Defeat; + } + } + + private object result_; + /// <summary>Enum of possible cases for the "Result" oneof.</summary> + public enum ResultOneofCase { + None = 0, + Victory = 1, + Defeat = 2, + } + private ResultOneofCase resultCase_ = ResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultOneofCase ResultCase { + get { return resultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + resultCase_ = ResultOneofCase.None; + result_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InteractBattleEndResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractBattleEndResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Victory, other.Victory)) return false; + if (!object.Equals(Defeat, other.Defeat)) return false; + if (ResultCase != other.ResultCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (resultCase_ == ResultOneofCase.Victory) hash ^= Victory.GetHashCode(); + if (resultCase_ == ResultOneofCase.Defeat) hash ^= Defeat.GetHashCode(); + hash ^= (int) resultCase_; + 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 (resultCase_ == ResultOneofCase.Victory) { + output.WriteRawTag(10); + output.WriteMessage(Victory); + } + if (resultCase_ == ResultOneofCase.Defeat) { + output.WriteRawTag(18); + output.WriteMessage(Defeat); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resultCase_ == ResultOneofCase.Victory) { + output.WriteRawTag(10); + output.WriteMessage(Victory); + } + if (resultCase_ == ResultOneofCase.Defeat) { + output.WriteRawTag(18); + output.WriteMessage(Defeat); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (resultCase_ == ResultOneofCase.Victory) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Victory); + } + if (resultCase_ == ResultOneofCase.Defeat) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Defeat); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractBattleEndResp other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ResultCase) { + case ResultOneofCase.Victory: + if (Victory == null) { + Victory = new global::Proto.InteractBattleEndResp.Types.VictoryData(); + } + Victory.MergeFrom(other.Victory); + break; + case ResultOneofCase.Defeat: + if (Defeat == null) { + Defeat = new global::Proto.InteractBattleEndResp.Types.DefeatData(); + } + Defeat.MergeFrom(other.Defeat); + break; + } + + _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 10: { + global::Proto.InteractBattleEndResp.Types.VictoryData subBuilder = new global::Proto.InteractBattleEndResp.Types.VictoryData(); + if (resultCase_ == ResultOneofCase.Victory) { + subBuilder.MergeFrom(Victory); + } + input.ReadMessage(subBuilder); + Victory = subBuilder; + break; + } + case 18: { + global::Proto.InteractBattleEndResp.Types.DefeatData subBuilder = new global::Proto.InteractBattleEndResp.Types.DefeatData(); + if (resultCase_ == ResultOneofCase.Defeat) { + subBuilder.MergeFrom(Defeat); + } + input.ReadMessage(subBuilder); + Defeat = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.InteractBattleEndResp.Types.VictoryData subBuilder = new global::Proto.InteractBattleEndResp.Types.VictoryData(); + if (resultCase_ == ResultOneofCase.Victory) { + subBuilder.MergeFrom(Victory); + } + input.ReadMessage(subBuilder); + Victory = subBuilder; + break; + } + case 18: { + global::Proto.InteractBattleEndResp.Types.DefeatData subBuilder = new global::Proto.InteractBattleEndResp.Types.DefeatData(); + if (resultCase_ == ResultOneofCase.Defeat) { + subBuilder.MergeFrom(Defeat); + } + input.ReadMessage(subBuilder); + Defeat = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the InteractBattleEndResp message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VictoryData : pb::IMessage<VictoryData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VictoryData> _parser = new pb::MessageParser<VictoryData>(() => new VictoryData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VictoryData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.InteractBattleEndResp.Descriptor.NestedTypes[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 VictoryData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VictoryData(VictoryData other) : this() { + exp_ = other.exp_; + lv_ = other.lv_; + battleTime_ = other.battleTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VictoryData Clone() { + return new VictoryData(this); + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 1; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "Lv" field.</summary> + public const int LvFieldNumber = 2; + private uint lv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Lv { + get { return lv_; } + set { + lv_ = value; + } + } + + /// <summary>Field number for the "BattleTime" field.</summary> + public const int BattleTimeFieldNumber = 10; + private uint battleTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BattleTime { + get { return battleTime_; } + set { + battleTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VictoryData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VictoryData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Exp != other.Exp) return false; + if (Lv != other.Lv) return false; + if (BattleTime != other.BattleTime) 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 (Exp != 0) hash ^= Exp.GetHashCode(); + if (Lv != 0) hash ^= Lv.GetHashCode(); + if (BattleTime != 0) hash ^= BattleTime.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 (Exp != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Exp); + } + if (Lv != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Lv); + } + if (BattleTime != 0) { + output.WriteRawTag(80); + output.WriteUInt32(BattleTime); + } + 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 (Exp != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Exp); + } + if (Lv != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Lv); + } + if (BattleTime != 0) { + output.WriteRawTag(80); + output.WriteUInt32(BattleTime); + } + 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 (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (Lv != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Lv); + } + if (BattleTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BattleTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VictoryData other) { + if (other == null) { + return; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Lv != 0) { + Lv = other.Lv; + } + if (other.BattleTime != 0) { + BattleTime = other.BattleTime; + } + _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: { + Exp = input.ReadUInt32(); + break; + } + case 16: { + Lv = input.ReadUInt32(); + break; + } + case 80: { + BattleTime = input.ReadUInt32(); + 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: { + Exp = input.ReadUInt32(); + break; + } + case 16: { + Lv = input.ReadUInt32(); + break; + } + case 80: { + BattleTime = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DefeatData : pb::IMessage<DefeatData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DefeatData> _parser = new pb::MessageParser<DefeatData>(() => new DefeatData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DefeatData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.InteractBattleEndResp.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DefeatData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DefeatData(DefeatData other) : this() { + lv_ = other.lv_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DefeatData Clone() { + return new DefeatData(this); + } + + /// <summary>Field number for the "Lv" field.</summary> + public const int LvFieldNumber = 1; + private uint lv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Lv { + get { return lv_; } + set { + lv_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DefeatData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DefeatData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Lv != other.Lv) 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 (Lv != 0) hash ^= Lv.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 (Lv != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Lv); + } + 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 (Lv != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Lv); + } + 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 (Lv != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Lv); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DefeatData other) { + if (other == null) { + return; + } + if (other.Lv != 0) { + Lv = other.Lv; + } + _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: { + Lv = input.ReadUInt32(); + 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: { + Lv = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractRecoveryHPReq : pb::IMessage<InteractRecoveryHPReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractRecoveryHPReq> _parser = new pb::MessageParser<InteractRecoveryHPReq>(() => new InteractRecoveryHPReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractRecoveryHPReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[29]; } + } + + [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 InteractRecoveryHPReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractRecoveryHPReq(InteractRecoveryHPReq other) : this() { + hp_ = other.hp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractRecoveryHPReq Clone() { + return new InteractRecoveryHPReq(this); + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 1; + private uint hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 InteractRecoveryHPReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractRecoveryHPReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Hp != other.Hp) return false; + if (NextPackage != other.NextPackage) 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 (Hp != 0) hash ^= Hp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Hp != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Hp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Hp != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Hp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Hp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Hp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractRecoveryHPReq other) { + if (other == null) { + return; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Hp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Hp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FateCardUsage : pb::IMessage<FateCardUsage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FateCardUsage> _parser = new pb::MessageParser<FateCardUsage>(() => new FateCardUsage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FateCardUsage> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[30]; } + } + + [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 FateCardUsage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FateCardUsage(FateCardUsage other) : this() { + id_ = other.id_; + times_ = other.times_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FateCardUsage Clone() { + return new FateCardUsage(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Times" field.</summary> + public const int TimesFieldNumber = 2; + private uint times_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Times { + get { return times_; } + set { + times_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FateCardUsage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FateCardUsage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Times != other.Times) return false; + if (NextPackage != other.NextPackage) 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 (Times != 0) hash ^= Times.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Times != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Times); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Times != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Times); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Times != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Times); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FateCardUsage other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Times != 0) { + Times = other.Times; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Times = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Times = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractSelectReq : pb::IMessage<InteractSelectReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractSelectReq> _parser = new pb::MessageParser<InteractSelectReq>(() => new InteractSelectReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractSelectReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[31]; } + } + + [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 InteractSelectReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractSelectReq(InteractSelectReq other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.SelectCase) { + case SelectOneofCase.Index: + Index = other.Index; + break; + case SelectOneofCase.ReRoll: + ReRoll = other.ReRoll; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractSelectReq Clone() { + return new InteractSelectReq(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Index" field.</summary> + public const int IndexFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return HasIndex ? (uint) select_ : 0; } + set { + select_ = value; + selectCase_ = SelectOneofCase.Index; + } + } + /// <summary>Gets whether the "Index" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndex { + get { return selectCase_ == SelectOneofCase.Index; } + } + /// <summary> Clears the value of the oneof if it's currently set to "Index" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndex() { + if (HasIndex) { + ClearSelect(); + } + } + + /// <summary>Field number for the "ReRoll" field.</summary> + public const int ReRollFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReRoll { + get { return HasReRoll ? (bool) select_ : false; } + set { + select_ = value; + selectCase_ = SelectOneofCase.ReRoll; + } + } + /// <summary>Gets whether the "ReRoll" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReRoll { + get { return selectCase_ == SelectOneofCase.ReRoll; } + } + /// <summary> Clears the value of the oneof if it's currently set to "ReRoll" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReRoll() { + if (HasReRoll) { + ClearSelect(); + } + } + + private object select_; + /// <summary>Enum of possible cases for the "Select" oneof.</summary> + public enum SelectOneofCase { + None = 0, + Index = 1, + ReRoll = 2, + } + private SelectOneofCase selectCase_ = SelectOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectOneofCase SelectCase { + get { return selectCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSelect() { + selectCase_ = SelectOneofCase.None; + select_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InteractSelectReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractSelectReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (Index != other.Index) return false; + if (ReRoll != other.ReRoll) return false; + if (SelectCase != other.SelectCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (HasIndex) hash ^= Index.GetHashCode(); + if (HasReRoll) hash ^= ReRoll.GetHashCode(); + hash ^= (int) selectCase_; + 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 (HasIndex) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (HasReRoll) { + output.WriteRawTag(16); + output.WriteBool(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (HasIndex) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (HasReRoll) { + output.WriteRawTag(16); + output.WriteBool(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (HasIndex) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (HasReRoll) { + 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(InteractSelectReq other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.SelectCase) { + case SelectOneofCase.Index: + Index = other.Index; + break; + case SelectOneofCase.ReRoll: + ReRoll = other.ReRoll; + break; + } + + _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: { + Index = input.ReadUInt32(); + break; + } + case 16: { + ReRoll = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Index = input.ReadUInt32(); + break; + } + case 16: { + ReRoll = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractSelectResp : pb::IMessage<InteractSelectResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractSelectResp> _parser = new pb::MessageParser<InteractSelectResp>(() => new InteractSelectResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractSelectResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[32]; } + } + + [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 InteractSelectResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractSelectResp(InteractSelectResp other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ResultCase) { + case ResultOneofCase.Resp: + Resp = other.Resp.Clone(); + break; + case ResultOneofCase.SelectSpecialPotentialCase: + SelectSpecialPotentialCase = other.SelectSpecialPotentialCase.Clone(); + break; + case ResultOneofCase.SelectPotentialCase: + SelectPotentialCase = other.SelectPotentialCase.Clone(); + break; + case ResultOneofCase.SelectFateCardCase: + SelectFateCardCase = other.SelectFateCardCase.Clone(); + break; + case ResultOneofCase.HawkerCase: + HawkerCase = other.HawkerCase.Clone(); + break; + case ResultOneofCase.HarmonySkillCase: + HarmonySkillCase = other.HarmonySkillCase.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractSelectResp Clone() { + return new InteractSelectResp(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Resp" field.</summary> + public const int RespFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractSelectResp.Types.Success Resp { + get { return resultCase_ == ResultOneofCase.Resp ? (global::Proto.InteractSelectResp.Types.Success) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Resp; + } + } + + /// <summary>Field number for the "SelectSpecialPotentialCase" field.</summary> + public const int SelectSpecialPotentialCaseFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectSpecialPotentialCaseData SelectSpecialPotentialCase { + get { return resultCase_ == ResultOneofCase.SelectSpecialPotentialCase ? (global::Proto.SelectSpecialPotentialCaseData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.SelectSpecialPotentialCase; + } + } + + /// <summary>Field number for the "SelectPotentialCase" field.</summary> + public const int SelectPotentialCaseFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectPotentialCaseData SelectPotentialCase { + get { return resultCase_ == ResultOneofCase.SelectPotentialCase ? (global::Proto.SelectPotentialCaseData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.SelectPotentialCase; + } + } + + /// <summary>Field number for the "SelectFateCardCase" field.</summary> + public const int SelectFateCardCaseFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SelectFateCardCaseData SelectFateCardCase { + get { return resultCase_ == ResultOneofCase.SelectFateCardCase ? (global::Proto.SelectFateCardCaseData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.SelectFateCardCase; + } + } + + /// <summary>Field number for the "HawkerCase" field.</summary> + public const int HawkerCaseFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.HawkerCaseData HawkerCase { + get { return resultCase_ == ResultOneofCase.HawkerCase ? (global::Proto.HawkerCaseData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.HawkerCase; + } + } + + /// <summary>Field number for the "HarmonySkillCase" field.</summary> + public const int HarmonySkillCaseFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.HarmonySkillCaseData HarmonySkillCase { + get { return resultCase_ == ResultOneofCase.HarmonySkillCase ? (global::Proto.HarmonySkillCaseData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.HarmonySkillCase; + } + } + + private object result_; + /// <summary>Enum of possible cases for the "Result" oneof.</summary> + public enum ResultOneofCase { + None = 0, + Resp = 1, + SelectSpecialPotentialCase = 2, + SelectPotentialCase = 3, + SelectFateCardCase = 4, + HawkerCase = 5, + HarmonySkillCase = 6, + } + private ResultOneofCase resultCase_ = ResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultOneofCase ResultCase { + get { return resultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + resultCase_ = ResultOneofCase.None; + result_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InteractSelectResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractSelectResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Resp, other.Resp)) return false; + if (!object.Equals(SelectSpecialPotentialCase, other.SelectSpecialPotentialCase)) return false; + if (!object.Equals(SelectPotentialCase, other.SelectPotentialCase)) return false; + if (!object.Equals(SelectFateCardCase, other.SelectFateCardCase)) return false; + if (!object.Equals(HawkerCase, other.HawkerCase)) return false; + if (!object.Equals(HarmonySkillCase, other.HarmonySkillCase)) return false; + if (ResultCase != other.ResultCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (resultCase_ == ResultOneofCase.Resp) hash ^= Resp.GetHashCode(); + if (resultCase_ == ResultOneofCase.SelectSpecialPotentialCase) hash ^= SelectSpecialPotentialCase.GetHashCode(); + if (resultCase_ == ResultOneofCase.SelectPotentialCase) hash ^= SelectPotentialCase.GetHashCode(); + if (resultCase_ == ResultOneofCase.SelectFateCardCase) hash ^= SelectFateCardCase.GetHashCode(); + if (resultCase_ == ResultOneofCase.HawkerCase) hash ^= HawkerCase.GetHashCode(); + if (resultCase_ == ResultOneofCase.HarmonySkillCase) hash ^= HarmonySkillCase.GetHashCode(); + hash ^= (int) resultCase_; + 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 (resultCase_ == ResultOneofCase.Resp) { + output.WriteRawTag(10); + output.WriteMessage(Resp); + } + if (resultCase_ == ResultOneofCase.SelectSpecialPotentialCase) { + output.WriteRawTag(18); + output.WriteMessage(SelectSpecialPotentialCase); + } + if (resultCase_ == ResultOneofCase.SelectPotentialCase) { + output.WriteRawTag(26); + output.WriteMessage(SelectPotentialCase); + } + if (resultCase_ == ResultOneofCase.SelectFateCardCase) { + output.WriteRawTag(34); + output.WriteMessage(SelectFateCardCase); + } + if (resultCase_ == ResultOneofCase.HawkerCase) { + output.WriteRawTag(42); + output.WriteMessage(HawkerCase); + } + if (resultCase_ == ResultOneofCase.HarmonySkillCase) { + output.WriteRawTag(50); + output.WriteMessage(HarmonySkillCase); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resultCase_ == ResultOneofCase.Resp) { + output.WriteRawTag(10); + output.WriteMessage(Resp); + } + if (resultCase_ == ResultOneofCase.SelectSpecialPotentialCase) { + output.WriteRawTag(18); + output.WriteMessage(SelectSpecialPotentialCase); + } + if (resultCase_ == ResultOneofCase.SelectPotentialCase) { + output.WriteRawTag(26); + output.WriteMessage(SelectPotentialCase); + } + if (resultCase_ == ResultOneofCase.SelectFateCardCase) { + output.WriteRawTag(34); + output.WriteMessage(SelectFateCardCase); + } + if (resultCase_ == ResultOneofCase.HawkerCase) { + output.WriteRawTag(42); + output.WriteMessage(HawkerCase); + } + if (resultCase_ == ResultOneofCase.HarmonySkillCase) { + output.WriteRawTag(50); + output.WriteMessage(HarmonySkillCase); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (resultCase_ == ResultOneofCase.Resp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Resp); + } + if (resultCase_ == ResultOneofCase.SelectSpecialPotentialCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectSpecialPotentialCase); + } + if (resultCase_ == ResultOneofCase.SelectPotentialCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectPotentialCase); + } + if (resultCase_ == ResultOneofCase.SelectFateCardCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectFateCardCase); + } + if (resultCase_ == ResultOneofCase.HawkerCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HawkerCase); + } + if (resultCase_ == ResultOneofCase.HarmonySkillCase) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HarmonySkillCase); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractSelectResp other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ResultCase) { + case ResultOneofCase.Resp: + if (Resp == null) { + Resp = new global::Proto.InteractSelectResp.Types.Success(); + } + Resp.MergeFrom(other.Resp); + break; + case ResultOneofCase.SelectSpecialPotentialCase: + if (SelectSpecialPotentialCase == null) { + SelectSpecialPotentialCase = new global::Proto.SelectSpecialPotentialCaseData(); + } + SelectSpecialPotentialCase.MergeFrom(other.SelectSpecialPotentialCase); + break; + case ResultOneofCase.SelectPotentialCase: + if (SelectPotentialCase == null) { + SelectPotentialCase = new global::Proto.SelectPotentialCaseData(); + } + SelectPotentialCase.MergeFrom(other.SelectPotentialCase); + break; + case ResultOneofCase.SelectFateCardCase: + if (SelectFateCardCase == null) { + SelectFateCardCase = new global::Proto.SelectFateCardCaseData(); + } + SelectFateCardCase.MergeFrom(other.SelectFateCardCase); + break; + case ResultOneofCase.HawkerCase: + if (HawkerCase == null) { + HawkerCase = new global::Proto.HawkerCaseData(); + } + HawkerCase.MergeFrom(other.HawkerCase); + break; + case ResultOneofCase.HarmonySkillCase: + if (HarmonySkillCase == null) { + HarmonySkillCase = new global::Proto.HarmonySkillCaseData(); + } + HarmonySkillCase.MergeFrom(other.HarmonySkillCase); + break; + } + + _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 10: { + global::Proto.InteractSelectResp.Types.Success subBuilder = new global::Proto.InteractSelectResp.Types.Success(); + if (resultCase_ == ResultOneofCase.Resp) { + subBuilder.MergeFrom(Resp); + } + input.ReadMessage(subBuilder); + Resp = subBuilder; + break; + } + case 18: { + global::Proto.SelectSpecialPotentialCaseData subBuilder = new global::Proto.SelectSpecialPotentialCaseData(); + if (resultCase_ == ResultOneofCase.SelectSpecialPotentialCase) { + subBuilder.MergeFrom(SelectSpecialPotentialCase); + } + input.ReadMessage(subBuilder); + SelectSpecialPotentialCase = subBuilder; + break; + } + case 26: { + global::Proto.SelectPotentialCaseData subBuilder = new global::Proto.SelectPotentialCaseData(); + if (resultCase_ == ResultOneofCase.SelectPotentialCase) { + subBuilder.MergeFrom(SelectPotentialCase); + } + input.ReadMessage(subBuilder); + SelectPotentialCase = subBuilder; + break; + } + case 34: { + global::Proto.SelectFateCardCaseData subBuilder = new global::Proto.SelectFateCardCaseData(); + if (resultCase_ == ResultOneofCase.SelectFateCardCase) { + subBuilder.MergeFrom(SelectFateCardCase); + } + input.ReadMessage(subBuilder); + SelectFateCardCase = subBuilder; + break; + } + case 42: { + global::Proto.HawkerCaseData subBuilder = new global::Proto.HawkerCaseData(); + if (resultCase_ == ResultOneofCase.HawkerCase) { + subBuilder.MergeFrom(HawkerCase); + } + input.ReadMessage(subBuilder); + HawkerCase = subBuilder; + break; + } + case 50: { + global::Proto.HarmonySkillCaseData subBuilder = new global::Proto.HarmonySkillCaseData(); + if (resultCase_ == ResultOneofCase.HarmonySkillCase) { + subBuilder.MergeFrom(HarmonySkillCase); + } + input.ReadMessage(subBuilder); + HarmonySkillCase = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.InteractSelectResp.Types.Success subBuilder = new global::Proto.InteractSelectResp.Types.Success(); + if (resultCase_ == ResultOneofCase.Resp) { + subBuilder.MergeFrom(Resp); + } + input.ReadMessage(subBuilder); + Resp = subBuilder; + break; + } + case 18: { + global::Proto.SelectSpecialPotentialCaseData subBuilder = new global::Proto.SelectSpecialPotentialCaseData(); + if (resultCase_ == ResultOneofCase.SelectSpecialPotentialCase) { + subBuilder.MergeFrom(SelectSpecialPotentialCase); + } + input.ReadMessage(subBuilder); + SelectSpecialPotentialCase = subBuilder; + break; + } + case 26: { + global::Proto.SelectPotentialCaseData subBuilder = new global::Proto.SelectPotentialCaseData(); + if (resultCase_ == ResultOneofCase.SelectPotentialCase) { + subBuilder.MergeFrom(SelectPotentialCase); + } + input.ReadMessage(subBuilder); + SelectPotentialCase = subBuilder; + break; + } + case 34: { + global::Proto.SelectFateCardCaseData subBuilder = new global::Proto.SelectFateCardCaseData(); + if (resultCase_ == ResultOneofCase.SelectFateCardCase) { + subBuilder.MergeFrom(SelectFateCardCase); + } + input.ReadMessage(subBuilder); + SelectFateCardCase = subBuilder; + break; + } + case 42: { + global::Proto.HawkerCaseData subBuilder = new global::Proto.HawkerCaseData(); + if (resultCase_ == ResultOneofCase.HawkerCase) { + subBuilder.MergeFrom(HawkerCase); + } + input.ReadMessage(subBuilder); + HawkerCase = subBuilder; + break; + } + case 50: { + global::Proto.HarmonySkillCaseData subBuilder = new global::Proto.HarmonySkillCaseData(); + if (resultCase_ == ResultOneofCase.HarmonySkillCase) { + subBuilder.MergeFrom(HarmonySkillCase); + } + input.ReadMessage(subBuilder); + HarmonySkillCase = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the InteractSelectResp message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Success : pb::IMessage<Success> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Success> _parser = new pb::MessageParser<Success>(() => new Success()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Success> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.InteractSelectResp.Descriptor.NestedTypes[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 Success() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Success(Success other) : this() { + items_ = other.items_.Clone(); + optionsResult_ = other.optionsResult_; + fateCard_ = other.fateCard_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Success Clone() { + return new Success(this); + } + + /// <summary>Field number for the "Items" field.</summary> + public const int ItemsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_items_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> items_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Items { + get { return items_; } + } + + /// <summary>Field number for the "OptionsResult" field.</summary> + public const int OptionsResultFieldNumber = 2; + private bool optionsResult_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool OptionsResult { + get { return optionsResult_; } + set { + optionsResult_ = value; + } + } + + /// <summary>Field number for the "FateCard" field.</summary> + public const int FateCardFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.FateCardInfo> _repeated_fateCard_codec + = pb::FieldCodec.ForMessage(26, global::Proto.FateCardInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.FateCardInfo> fateCard_ = new pbc::RepeatedField<global::Proto.FateCardInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.FateCardInfo> FateCard { + get { return fateCard_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Success); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Success other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!items_.Equals(other.items_)) return false; + if (OptionsResult != other.OptionsResult) return false; + if(!fateCard_.Equals(other.fateCard_)) 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; + hash ^= items_.GetHashCode(); + if (OptionsResult != false) hash ^= OptionsResult.GetHashCode(); + hash ^= fateCard_.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 + items_.WriteTo(output, _repeated_items_codec); + if (OptionsResult != false) { + output.WriteRawTag(16); + output.WriteBool(OptionsResult); + } + fateCard_.WriteTo(output, _repeated_fateCard_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) { + items_.WriteTo(ref output, _repeated_items_codec); + if (OptionsResult != false) { + output.WriteRawTag(16); + output.WriteBool(OptionsResult); + } + fateCard_.WriteTo(ref output, _repeated_fateCard_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; + size += items_.CalculateSize(_repeated_items_codec); + if (OptionsResult != false) { + size += 1 + 1; + } + size += fateCard_.CalculateSize(_repeated_fateCard_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Success other) { + if (other == null) { + return; + } + items_.Add(other.items_); + if (other.OptionsResult != false) { + OptionsResult = other.OptionsResult; + } + fateCard_.Add(other.fateCard_); + _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 10: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 16: { + OptionsResult = input.ReadBool(); + break; + } + case 26: { + fateCard_.AddEntriesFrom(input, _repeated_fateCard_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 10: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 16: { + OptionsResult = input.ReadBool(); + break; + } + case 26: { + fateCard_.AddEntriesFrom(ref input, _repeated_fateCard_codec); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FateCardInfo : pb::IMessage<FateCardInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FateCardInfo> _parser = new pb::MessageParser<FateCardInfo>(() => new FateCardInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FateCardInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[33]; } + } + + [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 FateCardInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FateCardInfo(FateCardInfo other) : this() { + tid_ = other.tid_; + qty_ = other.qty_; + remain_ = other.remain_; + room_ = other.room_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FateCardInfo Clone() { + return new FateCardInfo(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "Remain" field.</summary> + public const int RemainFieldNumber = 3; + private int remain_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Remain { + get { return remain_; } + set { + remain_ = value; + } + } + + /// <summary>Field number for the "Room" field.</summary> + public const int RoomFieldNumber = 4; + private int room_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Room { + get { return room_; } + set { + room_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 FateCardInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FateCardInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (Remain != other.Remain) return false; + if (Room != other.Room) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (Remain != 0) hash ^= Remain.GetHashCode(); + if (Room != 0) hash ^= Room.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (Remain != 0) { + output.WriteRawTag(24); + output.WriteInt32(Remain); + } + if (Room != 0) { + output.WriteRawTag(32); + output.WriteInt32(Room); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (Remain != 0) { + output.WriteRawTag(24); + output.WriteInt32(Remain); + } + if (Room != 0) { + output.WriteRawTag(32); + output.WriteInt32(Room); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (Remain != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Remain); + } + if (Room != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Room); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FateCardInfo other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.Remain != 0) { + Remain = other.Remain; + } + if (other.Room != 0) { + Room = other.Room; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 24: { + Remain = input.ReadInt32(); + break; + } + case 32: { + Room = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 24: { + Remain = input.ReadInt32(); + break; + } + case 32: { + Room = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PotentialInfo : pb::IMessage<PotentialInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PotentialInfo> _parser = new pb::MessageParser<PotentialInfo>(() => new PotentialInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PotentialInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[34]; } + } + + [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 PotentialInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PotentialInfo(PotentialInfo other) : this() { + tid_ = other.tid_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PotentialInfo Clone() { + return new PotentialInfo(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + 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 "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 PotentialInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PotentialInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PotentialInfo other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NoteInfo : pb::IMessage<NoteInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<NoteInfo> _parser = new pb::MessageParser<NoteInfo>(() => new NoteInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<NoteInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[35]; } + } + + [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 NoteInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoteInfo(NoteInfo other) : this() { + tid_ = other.tid_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoteInfo Clone() { + return new NoteInfo(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 NoteInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NoteInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NoteInfo other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerItemInfo : pb::IMessage<TowerItemInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerItemInfo> _parser = new pb::MessageParser<TowerItemInfo>(() => new TowerItemInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerItemInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[36]; } + } + + [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 TowerItemInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerItemInfo(TowerItemInfo other) : this() { + tid_ = other.tid_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerItemInfo Clone() { + return new TowerItemInfo(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerItemInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerItemInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerItemInfo other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerResInfo : pb::IMessage<TowerResInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerResInfo> _parser = new pb::MessageParser<TowerResInfo>(() => new TowerResInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerResInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[37]; } + } + + [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 TowerResInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerResInfo(TowerResInfo other) : this() { + tid_ = other.tid_; + qty_ = other.qty_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerResInfo Clone() { + return new TowerResInfo(this); + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 1; + private uint tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 2; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerResInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerResInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Tid != other.Tid) return false; + if (Qty != other.Qty) return false; + if (NextPackage != other.NextPackage) 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 (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(16); + output.WriteInt32(Qty); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerResInfo other) { + if (other == null) { + return; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Tid = input.ReadUInt32(); + break; + } + case 16: { + Qty = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SelectNote : pb::IMessage<SelectNote> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SelectNote> _parser = new pb::MessageParser<SelectNote>(() => new SelectNote()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SelectNote> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[38]; } + } + + [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 SelectNote() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectNote(SelectNote other) : this() { + idx_ = other.idx_; + list_ = other.list_.Clone(); + final_ = other.final_.Clone(); + bonus_ = other.bonus_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectNote Clone() { + return new SelectNote(this); + } + + /// <summary>Field number for the "Idx" field.</summary> + public const int IdxFieldNumber = 1; + private uint idx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Idx { + get { return idx_; } + set { + idx_ = value; + } + } + + /// <summary>Field number for the "List" field.</summary> + public const int ListFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_list_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> list_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> List { + get { return list_; } + } + + /// <summary>Field number for the "Final" field.</summary> + public const int FinalFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_final_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> final_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Final { + get { return final_; } + } + + /// <summary>Field number for the "Bonus" field.</summary> + public const int BonusFieldNumber = 4; + private static readonly pb::FieldCodec<uint> _repeated_bonus_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField<uint> bonus_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Bonus { + get { return bonus_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SelectNote); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SelectNote other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Idx != other.Idx) return false; + if(!list_.Equals(other.list_)) return false; + if(!final_.Equals(other.final_)) return false; + if(!bonus_.Equals(other.bonus_)) return false; + if (NextPackage != other.NextPackage) 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 (Idx != 0) hash ^= Idx.GetHashCode(); + hash ^= list_.GetHashCode(); + hash ^= final_.GetHashCode(); + hash ^= bonus_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Idx != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Idx); + } + list_.WriteTo(output, _repeated_list_codec); + final_.WriteTo(output, _repeated_final_codec); + bonus_.WriteTo(output, _repeated_bonus_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Idx != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Idx); + } + list_.WriteTo(ref output, _repeated_list_codec); + final_.WriteTo(ref output, _repeated_final_codec); + bonus_.WriteTo(ref output, _repeated_bonus_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Idx != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx); + } + size += list_.CalculateSize(_repeated_list_codec); + size += final_.CalculateSize(_repeated_final_codec); + size += bonus_.CalculateSize(_repeated_bonus_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SelectNote other) { + if (other == null) { + return; + } + if (other.Idx != 0) { + Idx = other.Idx; + } + list_.Add(other.list_); + final_.Add(other.final_); + bonus_.Add(other.bonus_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Idx = input.ReadUInt32(); + break; + } + case 18: + case 16: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 26: + case 24: { + final_.AddEntriesFrom(input, _repeated_final_codec); + break; + } + case 34: + case 32: { + bonus_.AddEntriesFrom(input, _repeated_bonus_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Idx = input.ReadUInt32(); + break; + } + case 18: + case 16: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 26: + case 24: { + final_.AddEntriesFrom(ref input, _repeated_final_codec); + break; + } + case 34: + case 32: { + bonus_.AddEntriesFrom(ref input, _repeated_bonus_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SettleDataResp : pb::IMessage<SettleDataResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SettleDataResp> _parser = new pb::MessageParser<SettleDataResp>(() => new SettleDataResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SettleDataResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[39]; } + } + + [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 SettleDataResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SettleDataResp(SettleDataResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + build_ = other.build_ != null ? other.build_.Clone() : null; + token_ = other.token_; + baseScore_ = other.baseScore_; + timeScore_ = other.timeScore_; + finalScore_ = other.finalScore_; + old_ = other.old_; + new_ = other.new_; + rankTimes_ = other.rankTimes_; + totalTime_ = other.totalTime_; + totalDamages_ = other.totalDamages_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SettleDataResp Clone() { + return new SettleDataResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "Build" field.</summary> + public const int BuildFieldNumber = 2; + private global::Proto.StarTowerBuildInfo build_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBuildInfo Build { + get { return build_; } + set { + build_ = value; + } + } + + /// <summary>Field number for the "Token" field.</summary> + public const int TokenFieldNumber = 7; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BaseScore" field.</summary> + public const int BaseScoreFieldNumber = 8; + private uint baseScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BaseScore { + get { return baseScore_; } + set { + baseScore_ = value; + } + } + + /// <summary>Field number for the "TimeScore" field.</summary> + public const int TimeScoreFieldNumber = 9; + private uint timeScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TimeScore { + get { return timeScore_; } + set { + timeScore_ = value; + } + } + + /// <summary>Field number for the "FinalScore" field.</summary> + public const int FinalScoreFieldNumber = 10; + private uint finalScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FinalScore { + get { return finalScore_; } + set { + finalScore_ = value; + } + } + + /// <summary>Field number for the "Old" field.</summary> + public const int OldFieldNumber = 11; + private uint old_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Old { + get { return old_; } + set { + old_ = value; + } + } + + /// <summary>Field number for the "New" field.</summary> + public const int NewFieldNumber = 12; + private uint new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint New { + get { return new_; } + set { + new_ = value; + } + } + + /// <summary>Field number for the "RankTimes" field.</summary> + public const int RankTimesFieldNumber = 13; + private uint rankTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RankTimes { + get { return rankTimes_; } + set { + rankTimes_ = value; + } + } + + /// <summary>Field number for the "TotalTime" field.</summary> + public const int TotalTimeFieldNumber = 14; + private uint totalTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TotalTime { + get { return totalTime_; } + set { + totalTime_ = value; + } + } + + /// <summary>Field number for the "TotalDamages" field.</summary> + public const int TotalDamagesFieldNumber = 15; + private static readonly pb::FieldCodec<ulong> _repeated_totalDamages_codec + = pb::FieldCodec.ForUInt64(122); + private readonly pbc::RepeatedField<ulong> totalDamages_ = new pbc::RepeatedField<ulong>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<ulong> TotalDamages { + get { return totalDamages_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SettleDataResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SettleDataResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if (!object.Equals(Build, other.Build)) return false; + if (Token != other.Token) return false; + if (BaseScore != other.BaseScore) return false; + if (TimeScore != other.TimeScore) return false; + if (FinalScore != other.FinalScore) return false; + if (Old != other.Old) return false; + if (New != other.New) return false; + if (RankTimes != other.RankTimes) return false; + if (TotalTime != other.TotalTime) return false; + if(!totalDamages_.Equals(other.totalDamages_)) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + if (build_ != null) hash ^= Build.GetHashCode(); + if (Token.Length != 0) hash ^= Token.GetHashCode(); + if (BaseScore != 0) hash ^= BaseScore.GetHashCode(); + if (TimeScore != 0) hash ^= TimeScore.GetHashCode(); + if (FinalScore != 0) hash ^= FinalScore.GetHashCode(); + if (Old != 0) hash ^= Old.GetHashCode(); + if (New != 0) hash ^= New.GetHashCode(); + if (RankTimes != 0) hash ^= RankTimes.GetHashCode(); + if (TotalTime != 0) hash ^= TotalTime.GetHashCode(); + hash ^= totalDamages_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (build_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Build); + } + if (Token.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Token); + } + if (BaseScore != 0) { + output.WriteRawTag(64); + output.WriteUInt32(BaseScore); + } + if (TimeScore != 0) { + output.WriteRawTag(72); + output.WriteUInt32(TimeScore); + } + if (FinalScore != 0) { + output.WriteRawTag(80); + output.WriteUInt32(FinalScore); + } + if (Old != 0) { + output.WriteRawTag(88); + output.WriteUInt32(Old); + } + if (New != 0) { + output.WriteRawTag(96); + output.WriteUInt32(New); + } + if (RankTimes != 0) { + output.WriteRawTag(104); + output.WriteUInt32(RankTimes); + } + if (TotalTime != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TotalTime); + } + totalDamages_.WriteTo(output, _repeated_totalDamages_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (build_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Build); + } + if (Token.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Token); + } + if (BaseScore != 0) { + output.WriteRawTag(64); + output.WriteUInt32(BaseScore); + } + if (TimeScore != 0) { + output.WriteRawTag(72); + output.WriteUInt32(TimeScore); + } + if (FinalScore != 0) { + output.WriteRawTag(80); + output.WriteUInt32(FinalScore); + } + if (Old != 0) { + output.WriteRawTag(88); + output.WriteUInt32(Old); + } + if (New != 0) { + output.WriteRawTag(96); + output.WriteUInt32(New); + } + if (RankTimes != 0) { + output.WriteRawTag(104); + output.WriteUInt32(RankTimes); + } + if (TotalTime != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TotalTime); + } + totalDamages_.WriteTo(ref output, _repeated_totalDamages_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (build_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Build); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (BaseScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BaseScore); + } + if (TimeScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TimeScore); + } + if (FinalScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalScore); + } + if (Old != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Old); + } + if (New != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(New); + } + if (RankTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RankTimes); + } + if (TotalTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalTime); + } + size += totalDamages_.CalculateSize(_repeated_totalDamages_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SettleDataResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.build_ != null) { + if (build_ == null) { + Build = new global::Proto.StarTowerBuildInfo(); + } + Build.MergeFrom(other.Build); + } + if (other.Token.Length != 0) { + Token = other.Token; + } + if (other.BaseScore != 0) { + BaseScore = other.BaseScore; + } + if (other.TimeScore != 0) { + TimeScore = other.TimeScore; + } + if (other.FinalScore != 0) { + FinalScore = other.FinalScore; + } + if (other.Old != 0) { + Old = other.Old; + } + if (other.New != 0) { + New = other.New; + } + if (other.RankTimes != 0) { + RankTimes = other.RankTimes; + } + if (other.TotalTime != 0) { + TotalTime = other.TotalTime; + } + totalDamages_.Add(other.totalDamages_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: { + if (build_ == null) { + Build = new global::Proto.StarTowerBuildInfo(); + } + input.ReadMessage(Build); + break; + } + case 58: { + Token = input.ReadString(); + break; + } + case 64: { + BaseScore = input.ReadUInt32(); + break; + } + case 72: { + TimeScore = input.ReadUInt32(); + break; + } + case 80: { + FinalScore = input.ReadUInt32(); + break; + } + case 88: { + Old = input.ReadUInt32(); + break; + } + case 96: { + New = input.ReadUInt32(); + break; + } + case 104: { + RankTimes = input.ReadUInt32(); + break; + } + case 112: { + TotalTime = input.ReadUInt32(); + break; + } + case 122: + case 120: { + totalDamages_.AddEntriesFrom(input, _repeated_totalDamages_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: { + if (build_ == null) { + Build = new global::Proto.StarTowerBuildInfo(); + } + input.ReadMessage(Build); + break; + } + case 58: { + Token = input.ReadString(); + break; + } + case 64: { + BaseScore = input.ReadUInt32(); + break; + } + case 72: { + TimeScore = input.ReadUInt32(); + break; + } + case 80: { + FinalScore = input.ReadUInt32(); + break; + } + case 88: { + Old = input.ReadUInt32(); + break; + } + case 96: { + New = input.ReadUInt32(); + break; + } + case 104: { + RankTimes = input.ReadUInt32(); + break; + } + case 112: { + TotalTime = input.ReadUInt32(); + break; + } + case 122: + case 120: { + totalDamages_.AddEntriesFrom(ref input, _repeated_totalDamages_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BuildDisc : pb::IMessage<BuildDisc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BuildDisc> _parser = new pb::MessageParser<BuildDisc>(() => new BuildDisc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BuildDisc> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[40]; } + } + + [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 BuildDisc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildDisc(BuildDisc other) : this() { + discId_ = other.discId_; + commonSkills_ = other.commonSkills_.Clone(); + passiveSkill_ = other.passiveSkill_ != null ? other.passiveSkill_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildDisc Clone() { + return new BuildDisc(this); + } + + /// <summary>Field number for the "DiscId" field.</summary> + public const int DiscIdFieldNumber = 1; + private uint discId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DiscId { + get { return discId_; } + set { + discId_ = value; + } + } + + /// <summary>Field number for the "CommonSkills" field.</summary> + public const int CommonSkillsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.DiscSkillInfo> _repeated_commonSkills_codec + = pb::FieldCodec.ForMessage(18, global::Proto.DiscSkillInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.DiscSkillInfo> commonSkills_ = new pbc::RepeatedField<global::Proto.DiscSkillInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.DiscSkillInfo> CommonSkills { + get { return commonSkills_; } + } + + /// <summary>Field number for the "PassiveSkill" field.</summary> + public const int PassiveSkillFieldNumber = 3; + private global::Proto.DiscSkillInfo passiveSkill_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.DiscSkillInfo PassiveSkill { + get { return passiveSkill_; } + set { + passiveSkill_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BuildDisc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BuildDisc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DiscId != other.DiscId) return false; + if(!commonSkills_.Equals(other.commonSkills_)) return false; + if (!object.Equals(PassiveSkill, other.PassiveSkill)) return false; + if (NextPackage != other.NextPackage) 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 (DiscId != 0) hash ^= DiscId.GetHashCode(); + hash ^= commonSkills_.GetHashCode(); + if (passiveSkill_ != null) hash ^= PassiveSkill.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (DiscId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DiscId); + } + commonSkills_.WriteTo(output, _repeated_commonSkills_codec); + if (passiveSkill_ != null) { + output.WriteRawTag(26); + output.WriteMessage(PassiveSkill); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (DiscId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DiscId); + } + commonSkills_.WriteTo(ref output, _repeated_commonSkills_codec); + if (passiveSkill_ != null) { + output.WriteRawTag(26); + output.WriteMessage(PassiveSkill); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (DiscId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiscId); + } + size += commonSkills_.CalculateSize(_repeated_commonSkills_codec); + if (passiveSkill_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PassiveSkill); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BuildDisc other) { + if (other == null) { + return; + } + if (other.DiscId != 0) { + DiscId = other.DiscId; + } + commonSkills_.Add(other.commonSkills_); + if (other.passiveSkill_ != null) { + if (passiveSkill_ == null) { + PassiveSkill = new global::Proto.DiscSkillInfo(); + } + PassiveSkill.MergeFrom(other.PassiveSkill); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + DiscId = input.ReadUInt32(); + break; + } + case 18: { + commonSkills_.AddEntriesFrom(input, _repeated_commonSkills_codec); + break; + } + case 26: { + if (passiveSkill_ == null) { + PassiveSkill = new global::Proto.DiscSkillInfo(); + } + input.ReadMessage(PassiveSkill); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + DiscId = input.ReadUInt32(); + break; + } + case 18: { + commonSkills_.AddEntriesFrom(ref input, _repeated_commonSkills_codec); + break; + } + case 26: { + if (passiveSkill_ == null) { + PassiveSkill = new global::Proto.DiscSkillInfo(); + } + input.ReadMessage(PassiveSkill); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerBuildChar : pb::IMessage<TowerBuildChar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerBuildChar> _parser = new pb::MessageParser<TowerBuildChar>(() => new TowerBuildChar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerBuildChar> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[41]; } + } + + [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 TowerBuildChar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBuildChar(TowerBuildChar other) : this() { + charId_ = other.charId_; + potentialCnt_ = other.potentialCnt_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBuildChar Clone() { + return new TowerBuildChar(this); + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// <summary>Field number for the "PotentialCnt" field.</summary> + public const int PotentialCntFieldNumber = 2; + private uint potentialCnt_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PotentialCnt { + get { return potentialCnt_; } + set { + potentialCnt_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerBuildChar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerBuildChar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (PotentialCnt != other.PotentialCnt) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (PotentialCnt != 0) hash ^= PotentialCnt.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (PotentialCnt != 0) { + output.WriteRawTag(16); + output.WriteUInt32(PotentialCnt); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (PotentialCnt != 0) { + output.WriteRawTag(16); + output.WriteUInt32(PotentialCnt); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (PotentialCnt != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PotentialCnt); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerBuildChar other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.PotentialCnt != 0) { + PotentialCnt = other.PotentialCnt; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + PotentialCnt = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + PotentialCnt = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BuildPotential : pb::IMessage<BuildPotential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BuildPotential> _parser = new pb::MessageParser<BuildPotential>(() => new BuildPotential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BuildPotential> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[42]; } + } + + [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 BuildPotential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildPotential(BuildPotential other) : this() { + potentialId_ = other.potentialId_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuildPotential Clone() { + return new BuildPotential(this); + } + + /// <summary>Field number for the "PotentialId" field.</summary> + public const int PotentialIdFieldNumber = 1; + private uint potentialId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PotentialId { + get { return potentialId_; } + set { + potentialId_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 BuildPotential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BuildPotential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PotentialId != other.PotentialId) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (PotentialId != 0) hash ^= PotentialId.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (PotentialId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(PotentialId); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (PotentialId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(PotentialId); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (PotentialId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PotentialId); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BuildPotential other) { + if (other == null) { + return; + } + if (other.PotentialId != 0) { + PotentialId = other.PotentialId; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + PotentialId = input.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + PotentialId = input.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildInfo : pb::IMessage<StarTowerBuildInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildInfo> _parser = new pb::MessageParser<StarTowerBuildInfo>(() => new StarTowerBuildInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[43]; } + } + + [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 StarTowerBuildInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildInfo(StarTowerBuildInfo other) : this() { + brief_ = other.brief_ != null ? other.brief_.Clone() : null; + detail_ = other.detail_ != null ? other.detail_.Clone() : null; + buildCoin_ = other.buildCoin_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildInfo Clone() { + return new StarTowerBuildInfo(this); + } + + /// <summary>Field number for the "Brief" field.</summary> + public const int BriefFieldNumber = 1; + private global::Proto.StarTowerBuildBrief brief_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBuildBrief Brief { + get { return brief_; } + set { + brief_ = value; + } + } + + /// <summary>Field number for the "Detail" field.</summary> + public const int DetailFieldNumber = 2; + private global::Proto.StarTowerBuildDetail detail_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBuildDetail Detail { + get { return detail_; } + set { + detail_ = value; + } + } + + /// <summary>Field number for the "BuildCoin" field.</summary> + public const int BuildCoinFieldNumber = 3; + private uint buildCoin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BuildCoin { + get { return buildCoin_; } + set { + buildCoin_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Brief, other.Brief)) return false; + if (!object.Equals(Detail, other.Detail)) return false; + if (BuildCoin != other.BuildCoin) return false; + if (NextPackage != other.NextPackage) 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 (brief_ != null) hash ^= Brief.GetHashCode(); + if (detail_ != null) hash ^= Detail.GetHashCode(); + if (BuildCoin != 0) hash ^= BuildCoin.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (brief_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Brief); + } + if (detail_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Detail); + } + if (BuildCoin != 0) { + output.WriteRawTag(24); + output.WriteUInt32(BuildCoin); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (brief_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Brief); + } + if (detail_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Detail); + } + if (BuildCoin != 0) { + output.WriteRawTag(24); + output.WriteUInt32(BuildCoin); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (brief_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Brief); + } + if (detail_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Detail); + } + if (BuildCoin != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuildCoin); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildInfo other) { + if (other == null) { + return; + } + if (other.brief_ != null) { + if (brief_ == null) { + Brief = new global::Proto.StarTowerBuildBrief(); + } + Brief.MergeFrom(other.Brief); + } + if (other.detail_ != null) { + if (detail_ == null) { + Detail = new global::Proto.StarTowerBuildDetail(); + } + Detail.MergeFrom(other.Detail); + } + if (other.BuildCoin != 0) { + BuildCoin = other.BuildCoin; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (brief_ == null) { + Brief = new global::Proto.StarTowerBuildBrief(); + } + input.ReadMessage(Brief); + break; + } + case 18: { + if (detail_ == null) { + Detail = new global::Proto.StarTowerBuildDetail(); + } + input.ReadMessage(Detail); + break; + } + case 24: { + BuildCoin = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (brief_ == null) { + Brief = new global::Proto.StarTowerBuildBrief(); + } + input.ReadMessage(Brief); + break; + } + case 18: { + if (detail_ == null) { + Detail = new global::Proto.StarTowerBuildDetail(); + } + input.ReadMessage(Detail); + break; + } + case 24: { + BuildCoin = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildBrief : pb::IMessage<StarTowerBuildBrief> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildBrief> _parser = new pb::MessageParser<StarTowerBuildBrief>(() => new StarTowerBuildBrief()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildBrief> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[44]; } + } + + [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 StarTowerBuildBrief() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildBrief(StarTowerBuildBrief other) : this() { + id_ = other.id_; + name_ = other.name_; + lock_ = other.lock_; + preference_ = other.preference_; + score_ = other.score_; + discIds_ = other.discIds_.Clone(); + chars_ = other.chars_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildBrief Clone() { + return new StarTowerBuildBrief(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong 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 "Lock" field.</summary> + public const int LockFieldNumber = 3; + private bool lock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Lock { + get { return lock_; } + set { + lock_ = value; + } + } + + /// <summary>Field number for the "Preference" field.</summary> + public const int PreferenceFieldNumber = 4; + private bool preference_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Preference { + get { return preference_; } + set { + preference_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 5; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "DiscIds" field.</summary> + public const int DiscIdsFieldNumber = 6; + private static readonly pb::FieldCodec<uint> _repeated_discIds_codec + = pb::FieldCodec.ForUInt32(50); + private readonly pbc::RepeatedField<uint> discIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> DiscIds { + get { return discIds_; } + } + + /// <summary>Field number for the "Chars" field.</summary> + public const int CharsFieldNumber = 7; + private static readonly pb::FieldCodec<global::Proto.TowerBuildChar> _repeated_chars_codec + = pb::FieldCodec.ForMessage(58, global::Proto.TowerBuildChar.Parser); + private readonly pbc::RepeatedField<global::Proto.TowerBuildChar> chars_ = new pbc::RepeatedField<global::Proto.TowerBuildChar>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TowerBuildChar> Chars { + get { return chars_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildBrief); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildBrief 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 (Lock != other.Lock) return false; + if (Preference != other.Preference) return false; + if (Score != other.Score) return false; + if(!discIds_.Equals(other.discIds_)) return false; + if(!chars_.Equals(other.chars_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Lock != false) hash ^= Lock.GetHashCode(); + if (Preference != false) hash ^= Preference.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + hash ^= discIds_.GetHashCode(); + hash ^= chars_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Lock != false) { + output.WriteRawTag(24); + output.WriteBool(Lock); + } + if (Preference != false) { + output.WriteRawTag(32); + output.WriteBool(Preference); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + discIds_.WriteTo(output, _repeated_discIds_codec); + chars_.WriteTo(output, _repeated_chars_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Lock != false) { + output.WriteRawTag(24); + output.WriteBool(Lock); + } + if (Preference != false) { + output.WriteRawTag(32); + output.WriteBool(Preference); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + discIds_.WriteTo(ref output, _repeated_discIds_codec); + chars_.WriteTo(ref output, _repeated_chars_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Lock != false) { + size += 1 + 1; + } + if (Preference != false) { + size += 1 + 1; + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + size += discIds_.CalculateSize(_repeated_discIds_codec); + size += chars_.CalculateSize(_repeated_chars_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildBrief other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Lock != false) { + Lock = other.Lock; + } + if (other.Preference != false) { + Preference = other.Preference; + } + if (other.Score != 0) { + Score = other.Score; + } + discIds_.Add(other.discIds_); + chars_.Add(other.chars_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Lock = input.ReadBool(); + break; + } + case 32: { + Preference = input.ReadBool(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 50: + case 48: { + discIds_.AddEntriesFrom(input, _repeated_discIds_codec); + break; + } + case 58: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Lock = input.ReadBool(); + break; + } + case 32: { + Preference = input.ReadBool(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 50: + case 48: { + discIds_.AddEntriesFrom(ref input, _repeated_discIds_codec); + break; + } + case 58: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildDetail : pb::IMessage<StarTowerBuildDetail> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildDetail> _parser = new pb::MessageParser<StarTowerBuildDetail>(() => new StarTowerBuildDetail()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildDetail> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[45]; } + } + + [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 StarTowerBuildDetail() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetail(StarTowerBuildDetail other) : this() { + discs_ = other.discs_.Clone(); + potentials_ = other.potentials_.Clone(); + notes_ = other.notes_.Clone(); + harmonySkillIds_ = other.harmonySkillIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetail Clone() { + return new StarTowerBuildDetail(this); + } + + /// <summary>Field number for the "Discs" field.</summary> + public const int DiscsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.BuildDisc> _repeated_discs_codec + = pb::FieldCodec.ForMessage(10, global::Proto.BuildDisc.Parser); + private readonly pbc::RepeatedField<global::Proto.BuildDisc> discs_ = new pbc::RepeatedField<global::Proto.BuildDisc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.BuildDisc> Discs { + get { return discs_; } + } + + /// <summary>Field number for the "Potentials" field.</summary> + public const int PotentialsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.BuildPotential> _repeated_potentials_codec + = pb::FieldCodec.ForMessage(18, global::Proto.BuildPotential.Parser); + private readonly pbc::RepeatedField<global::Proto.BuildPotential> potentials_ = new pbc::RepeatedField<global::Proto.BuildPotential>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.BuildPotential> Potentials { + get { return potentials_; } + } + + /// <summary>Field number for the "Notes" field.</summary> + public const int NotesFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_notes_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> notes_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Notes { + get { return notes_; } + } + + /// <summary>Field number for the "HarmonySkillIds" field.</summary> + public const int HarmonySkillIdsFieldNumber = 4; + private static readonly pb::FieldCodec<uint> _repeated_harmonySkillIds_codec + = pb::FieldCodec.ForUInt32(34); + private readonly pbc::RepeatedField<uint> harmonySkillIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> HarmonySkillIds { + get { return harmonySkillIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildDetail); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildDetail other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!discs_.Equals(other.discs_)) return false; + if(!potentials_.Equals(other.potentials_)) return false; + if(!notes_.Equals(other.notes_)) return false; + if(!harmonySkillIds_.Equals(other.harmonySkillIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= discs_.GetHashCode(); + hash ^= potentials_.GetHashCode(); + hash ^= notes_.GetHashCode(); + hash ^= harmonySkillIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + discs_.WriteTo(output, _repeated_discs_codec); + potentials_.WriteTo(output, _repeated_potentials_codec); + notes_.WriteTo(output, _repeated_notes_codec); + harmonySkillIds_.WriteTo(output, _repeated_harmonySkillIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + discs_.WriteTo(ref output, _repeated_discs_codec); + potentials_.WriteTo(ref output, _repeated_potentials_codec); + notes_.WriteTo(ref output, _repeated_notes_codec); + harmonySkillIds_.WriteTo(ref output, _repeated_harmonySkillIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += discs_.CalculateSize(_repeated_discs_codec); + size += potentials_.CalculateSize(_repeated_potentials_codec); + size += notes_.CalculateSize(_repeated_notes_codec); + size += harmonySkillIds_.CalculateSize(_repeated_harmonySkillIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildDetail other) { + if (other == null) { + return; + } + discs_.Add(other.discs_); + potentials_.Add(other.potentials_); + notes_.Add(other.notes_); + harmonySkillIds_.Add(other.harmonySkillIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + discs_.AddEntriesFrom(input, _repeated_discs_codec); + break; + } + case 18: { + potentials_.AddEntriesFrom(input, _repeated_potentials_codec); + break; + } + case 26: + case 24: { + notes_.AddEntriesFrom(input, _repeated_notes_codec); + break; + } + case 34: + case 32: { + harmonySkillIds_.AddEntriesFrom(input, _repeated_harmonySkillIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + discs_.AddEntriesFrom(ref input, _repeated_discs_codec); + break; + } + case 18: { + potentials_.AddEntriesFrom(ref input, _repeated_potentials_codec); + break; + } + case 26: + case 24: { + notes_.AddEntriesFrom(ref input, _repeated_notes_codec); + break; + } + case 34: + case 32: { + harmonySkillIds_.AddEntriesFrom(ref input, _repeated_harmonySkillIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookCharPotentialBrief : pb::IMessage<StarTowerBookCharPotentialBrief> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookCharPotentialBrief> _parser = new pb::MessageParser<StarTowerBookCharPotentialBrief>(() => new StarTowerBookCharPotentialBrief()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookCharPotentialBrief> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[46]; } + } + + [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 StarTowerBookCharPotentialBrief() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookCharPotentialBrief(StarTowerBookCharPotentialBrief other) : this() { + charId_ = other.charId_; + count_ = other.count_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookCharPotentialBrief Clone() { + return new StarTowerBookCharPotentialBrief(this); + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// <summary>Field number for the "Count" field.</summary> + public const int CountFieldNumber = 2; + private uint count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Count { + get { return count_; } + set { + count_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookCharPotentialBrief); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookCharPotentialBrief other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if (Count != other.Count) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Count != 0) hash ^= Count.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Count != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Count); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + if (Count != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Count); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + if (Count != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Count); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookCharPotentialBrief other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Count != 0) { + Count = other.Count; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + Count = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 16: { + Count = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookPotential : pb::IMessage<StarTowerBookPotential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookPotential> _parser = new pb::MessageParser<StarTowerBookPotential>(() => new StarTowerBookPotential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookPotential> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[47]; } + } + + [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 StarTowerBookPotential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotential(StarTowerBookPotential other) : this() { + id_ = other.id_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotential Clone() { + return new StarTowerBookPotential(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookPotential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookPotential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookPotential other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookCharPotential : pb::IMessage<StarTowerBookCharPotential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookCharPotential> _parser = new pb::MessageParser<StarTowerBookCharPotential>(() => new StarTowerBookCharPotential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookCharPotential> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[48]; } + } + + [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 StarTowerBookCharPotential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookCharPotential(StarTowerBookCharPotential other) : this() { + charId_ = other.charId_; + potentials_ = other.potentials_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookCharPotential Clone() { + return new StarTowerBookCharPotential(this); + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 1; + private uint charId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharId { + get { return charId_; } + set { + charId_ = value; + } + } + + /// <summary>Field number for the "Potentials" field.</summary> + public const int PotentialsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.StarTowerBookPotential> _repeated_potentials_codec + = pb::FieldCodec.ForMessage(18, global::Proto.StarTowerBookPotential.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerBookPotential> potentials_ = new pbc::RepeatedField<global::Proto.StarTowerBookPotential>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerBookPotential> Potentials { + get { return potentials_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookCharPotential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookCharPotential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CharId != other.CharId) return false; + if(!potentials_.Equals(other.potentials_)) return false; + if (NextPackage != other.NextPackage) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + hash ^= potentials_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + potentials_.WriteTo(output, _repeated_potentials_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(CharId); + } + potentials_.WriteTo(ref output, _repeated_potentials_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); + } + size += potentials_.CalculateSize(_repeated_potentials_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookCharPotential other) { + if (other == null) { + return; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + potentials_.Add(other.potentials_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + potentials_.AddEntriesFrom(input, _repeated_potentials_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + CharId = input.ReadUInt32(); + break; + } + case 18: { + potentials_.AddEntriesFrom(ref input, _repeated_potentials_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscSkillInfo : pb::IMessage<DiscSkillInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscSkillInfo> _parser = new pb::MessageParser<DiscSkillInfo>(() => new DiscSkillInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscSkillInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[49]; } + } + + [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 DiscSkillInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscSkillInfo(DiscSkillInfo other) : this() { + id_ = other.id_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscSkillInfo Clone() { + return new DiscSkillInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 DiscSkillInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscSkillInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscSkillInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerChangeData : pb::IMessage<TowerChangeData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerChangeData> _parser = new pb::MessageParser<TowerChangeData>(() => new TowerChangeData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerChangeData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.PublicStarTowerReflection.Descriptor.MessageTypes[50]; } + } + + [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 TowerChangeData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerChangeData(TowerChangeData other) : this() { + discSkillActiveNumber_ = other.discSkillActiveNumber_; + harmonySkillIds_ = other.harmonySkillIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerChangeData Clone() { + return new TowerChangeData(this); + } + + /// <summary>Field number for the "DiscSkillActiveNumber" field.</summary> + public const int DiscSkillActiveNumberFieldNumber = 1; + private uint discSkillActiveNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DiscSkillActiveNumber { + get { return discSkillActiveNumber_; } + set { + discSkillActiveNumber_ = value; + } + } + + /// <summary>Field number for the "HarmonySkillIds" field.</summary> + public const int HarmonySkillIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_harmonySkillIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> harmonySkillIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> HarmonySkillIds { + get { return harmonySkillIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerChangeData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerChangeData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DiscSkillActiveNumber != other.DiscSkillActiveNumber) return false; + if(!harmonySkillIds_.Equals(other.harmonySkillIds_)) return false; + if (NextPackage != other.NextPackage) 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 (DiscSkillActiveNumber != 0) hash ^= DiscSkillActiveNumber.GetHashCode(); + hash ^= harmonySkillIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (DiscSkillActiveNumber != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DiscSkillActiveNumber); + } + harmonySkillIds_.WriteTo(output, _repeated_harmonySkillIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (DiscSkillActiveNumber != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DiscSkillActiveNumber); + } + harmonySkillIds_.WriteTo(ref output, _repeated_harmonySkillIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (DiscSkillActiveNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiscSkillActiveNumber); + } + size += harmonySkillIds_.CalculateSize(_repeated_harmonySkillIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerChangeData other) { + if (other == null) { + return; + } + if (other.DiscSkillActiveNumber != 0) { + DiscSkillActiveNumber = other.DiscSkillActiveNumber; + } + harmonySkillIds_.Add(other.harmonySkillIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + DiscSkillActiveNumber = input.ReadUInt32(); + break; + } + case 18: + case 16: { + harmonySkillIds_.AddEntriesFrom(input, _repeated_harmonySkillIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + DiscSkillActiveNumber = input.ReadUInt32(); + break; + } + case 18: + case 16: { + harmonySkillIds_.AddEntriesFrom(ref input, _repeated_harmonySkillIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/CharacterArchiveContent.cs b/Novaria.Common/Protos/QuestDailyActiveRewardRecevie.cs similarity index 57% rename from Novaria.Common/Protos/CharacterArchiveContent.cs rename to Novaria.Common/Protos/QuestDailyActiveRewardRecevie.cs index 0f3b411..1b8769c 100644 --- a/Novaria.Common/Protos/CharacterArchiveContent.cs +++ b/Novaria.Common/Protos/QuestDailyActiveRewardRecevie.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CharacterArchiveContent.proto +// source: quest_daily_active_reward_recevie.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,30 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from CharacterArchiveContent.proto</summary> - public static partial class CharacterArchiveContentReflection { + /// <summary>Holder for reflection information generated from quest_daily_active_reward_recevie.proto</summary> + public static partial class QuestDailyActiveRewardRecevieReflection { #region Descriptor - /// <summary>File descriptor for CharacterArchiveContent.proto</summary> + /// <summary>File descriptor for quest_daily_active_reward_recevie.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static CharacterArchiveContentReflection() { + static QuestDailyActiveRewardRecevieReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Ch1DaGFyYWN0ZXJBcmNoaXZlQ29udGVudC5wcm90byJFChdDaGFyYWN0ZXJB", - "cmNoaXZlQ29udGVudBIKCgJpZBgBIAEoBRINCgV0aXRsZRgCIAEoCRIPCgdj", - "b250ZW50GAMgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "CidxdWVzdF9kYWlseV9hY3RpdmVfcmV3YXJkX3JlY2V2aWUucHJvdG8SBXBy", + "b3RvGgxwdWJsaWMucHJvdG8ibwohUXVlc3REYWlseUFjdGl2ZVJld2FyZFJl", + "Y2VpdmVSZXNwEhEKCUFjdGl2ZUlkcxgBIAMoDRIhCgZDaGFuZ2UYAiABKAsy", + "ES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchiveContent), global::Nova.Client.CharacterArchiveContent.Parser, new[]{ "Id", "Title", "Content" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.QuestDailyActiveRewardReceiveResp), global::Proto.QuestDailyActiveRewardReceiveResp.Parser, new[]{ "ActiveIds", "Change", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +40,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class CharacterArchiveContent : pb::IMessage<CharacterArchiveContent> + public sealed partial class QuestDailyActiveRewardReceiveResp : pb::IMessage<QuestDailyActiveRewardReceiveResp> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<CharacterArchiveContent> _parser = new pb::MessageParser<CharacterArchiveContent>(() => new CharacterArchiveContent()); + private static readonly pb::MessageParser<QuestDailyActiveRewardReceiveResp> _parser = new pb::MessageParser<QuestDailyActiveRewardReceiveResp>(() => new QuestDailyActiveRewardReceiveResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<CharacterArchiveContent> Parser { get { return _parser; } } + public static pb::MessageParser<QuestDailyActiveRewardReceiveResp> 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.CharacterArchiveContentReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.QuestDailyActiveRewardRecevieReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +65,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveContent() { + public QuestDailyActiveRewardReceiveResp() { OnConstruction(); } @@ -71,73 +73,72 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveContent(CharacterArchiveContent other) : this() { - id_ = other.id_; - title_ = other.title_; - content_ = other.content_; + public QuestDailyActiveRewardReceiveResp(QuestDailyActiveRewardReceiveResp other) : this() { + activeIds_ = other.activeIds_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CharacterArchiveContent Clone() { - return new CharacterArchiveContent(this); + public QuestDailyActiveRewardReceiveResp Clone() { + return new QuestDailyActiveRewardReceiveResp(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "ActiveIds" field.</summary> + public const int ActiveIdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_activeIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> activeIds_ = new pbc::RepeatedField<uint>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField<uint> ActiveIds { + get { return activeIds_; } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } set { - id_ = value; + change_ = value; } } - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "content" field.</summary> - public const int ContentFieldNumber = 3; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 CharacterArchiveContent); + return Equals(other as QuestDailyActiveRewardReceiveResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CharacterArchiveContent other) { + public bool Equals(QuestDailyActiveRewardReceiveResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Content != other.Content) return false; + if(!activeIds_.Equals(other.activeIds_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); + hash ^= activeIds_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +167,14 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (Title.Length != 0) { + activeIds_.WriteTo(output, _repeated_activeIds_codec); + if (change_ != null) { output.WriteRawTag(18); - output.WriteString(Title); + output.WriteMessage(Change); } - if (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +186,14 @@ namespace Nova.Client { [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 (Title.Length != 0) { + activeIds_.WriteTo(ref output, _repeated_activeIds_codec); + if (change_ != null) { output.WriteRawTag(18); - output.WriteString(Title); + output.WriteMessage(Change); } - if (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +205,12 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += activeIds_.CalculateSize(_repeated_activeIds_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +220,19 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CharacterArchiveContent other) { + public void MergeFrom(QuestDailyActiveRewardReceiveResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + activeIds_.Add(other.activeIds_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Content.Length != 0) { - Content = other.Content; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -259,16 +253,20 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + activeIds_.AddEntriesFrom(input, _repeated_activeIds_codec); break; } case 18: { - Title = input.ReadString(); + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 26: { - Content = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -290,16 +288,20 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + activeIds_.AddEntriesFrom(ref input, _repeated_activeIds_codec); break; } case 18: { - Title = input.ReadString(); + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 26: { - Content = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/QuestDailyRewardRecevie.cs b/Novaria.Common/Protos/QuestDailyRewardRecevie.cs new file mode 100644 index 0000000..9f25954 --- /dev/null +++ b/Novaria.Common/Protos/QuestDailyRewardRecevie.cs @@ -0,0 +1,38 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: quest_daily_reward_recevie.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 Proto { + + /// <summary>Holder for reflection information generated from quest_daily_reward_recevie.proto</summary> + public static partial class QuestDailyRewardRecevieReflection { + + #region Descriptor + /// <summary>File descriptor for quest_daily_reward_recevie.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QuestDailyRewardRecevieReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBxdWVzdF9kYWlseV9yZXdhcmRfcmVjZXZpZS5wcm90bxIFcHJvdG8aDHB1", + "YmxpYy5wcm90b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/QuestTourGuideRewardReceive.cs b/Novaria.Common/Protos/QuestTourGuideRewardReceive.cs new file mode 100644 index 0000000..344ccde --- /dev/null +++ b/Novaria.Common/Protos/QuestTourGuideRewardReceive.cs @@ -0,0 +1,316 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: quest_tour_guide_reward_receive.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 Proto { + + /// <summary>Holder for reflection information generated from quest_tour_guide_reward_receive.proto</summary> + public static partial class QuestTourGuideRewardReceiveReflection { + + #region Descriptor + /// <summary>File descriptor for quest_tour_guide_reward_receive.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QuestTourGuideRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiVxdWVzdF90b3VyX2d1aWRlX3Jld2FyZF9yZWNlaXZlLnByb3RvEgVwcm90", + "bxoMcHVibGljLnByb3RvInQKGFRvdXJHdWlkZVF1ZXN0UmV3YXJkUmVzcBIf", + "CgdSZXdhcmRzGAEgAygLMg4ucHJvdG8uSXRlbVRwbBIhCgZDaGFuZ2UYDyAB", + "KAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNrYWdlGP8PIAEoDFAA", + "YgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TourGuideQuestRewardResp), global::Proto.TourGuideQuestRewardResp.Parser, new[]{ "Rewards", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TourGuideQuestRewardResp : pb::IMessage<TourGuideQuestRewardResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TourGuideQuestRewardResp> _parser = new pb::MessageParser<TourGuideQuestRewardResp>(() => new TourGuideQuestRewardResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TourGuideQuestRewardResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.QuestTourGuideRewardReceiveReflection.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 TourGuideQuestRewardResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuestRewardResp(TourGuideQuestRewardResp other) : this() { + rewards_ = other.rewards_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuestRewardResp Clone() { + return new TourGuideQuestRewardResp(this); + } + + /// <summary>Field number for the "Rewards" field.</summary> + public const int RewardsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_rewards_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> rewards_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Rewards { + get { return rewards_; } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 15; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TourGuideQuestRewardResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TourGuideQuestRewardResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!rewards_.Equals(other.rewards_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= rewards_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + rewards_.WriteTo(output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TourGuideQuestRewardResp other) { + if (other == null) { + return; + } + rewards_.Add(other.rewards_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/QuestTowerGuideGroupRewardReceive.cs b/Novaria.Common/Protos/QuestTowerGuideGroupRewardReceive.cs new file mode 100644 index 0000000..3b7020e --- /dev/null +++ b/Novaria.Common/Protos/QuestTowerGuideGroupRewardReceive.cs @@ -0,0 +1,316 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: quest_tower_guide_group_reward_receive.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 Proto { + + /// <summary>Holder for reflection information generated from quest_tower_guide_group_reward_receive.proto</summary> + public static partial class QuestTowerGuideGroupRewardReceiveReflection { + + #region Descriptor + /// <summary>File descriptor for quest_tower_guide_group_reward_receive.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QuestTowerGuideGroupRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CixxdWVzdF90b3dlcl9ndWlkZV9ncm91cF9yZXdhcmRfcmVjZWl2ZS5wcm90", + "bxIFcHJvdG8aDHB1YmxpYy5wcm90byJ5Ch1Ub3VyR3VpZGVRdWVzdEdyb3Vw", + "UmV3YXJkUmVzcBIfCgdSZXdhcmRzGAEgAygLMg4ucHJvdG8uSXRlbVRwbBIh", + "CgZDaGFuZ2UYDyABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TourGuideQuestGroupRewardResp), global::Proto.TourGuideQuestGroupRewardResp.Parser, new[]{ "Rewards", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TourGuideQuestGroupRewardResp : pb::IMessage<TourGuideQuestGroupRewardResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TourGuideQuestGroupRewardResp> _parser = new pb::MessageParser<TourGuideQuestGroupRewardResp>(() => new TourGuideQuestGroupRewardResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TourGuideQuestGroupRewardResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.QuestTowerGuideGroupRewardReceiveReflection.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 TourGuideQuestGroupRewardResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuestGroupRewardResp(TourGuideQuestGroupRewardResp other) : this() { + rewards_ = other.rewards_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuestGroupRewardResp Clone() { + return new TourGuideQuestGroupRewardResp(this); + } + + /// <summary>Field number for the "Rewards" field.</summary> + public const int RewardsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_rewards_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> rewards_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> Rewards { + get { return rewards_; } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 15; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TourGuideQuestGroupRewardResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TourGuideQuestGroupRewardResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!rewards_.Equals(other.rewards_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= rewards_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + rewards_.WriteTo(output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TourGuideQuestGroupRewardResp other) { + if (other == null) { + return; + } + rewards_.Add(other.rewards_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/QuestTowerRewardRecevie.cs b/Novaria.Common/Protos/QuestTowerRewardRecevie.cs new file mode 100644 index 0000000..efbc7b1 --- /dev/null +++ b/Novaria.Common/Protos/QuestTowerRewardRecevie.cs @@ -0,0 +1,38 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: quest_tower_reward_recevie.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 Proto { + + /// <summary>Holder for reflection information generated from quest_tower_reward_recevie.proto</summary> + public static partial class QuestTowerRewardRecevieReflection { + + #region Descriptor + /// <summary>File descriptor for quest_tower_reward_recevie.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QuestTowerRewardRecevieReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBxdWVzdF90b3dlcl9yZXdhcmRfcmVjZXZpZS5wcm90bxIFcHJvdG8aDHB1", + "YmxpYy5wcm90b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/RandomLevelMonster.cs b/Novaria.Common/Protos/RandomLevelMonster.cs deleted file mode 100644 index 24d9d94..0000000 --- a/Novaria.Common/Protos/RandomLevelMonster.cs +++ /dev/null @@ -1,2055 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RandomLevelMonster.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 RandomLevelMonster.proto</summary> - public static partial class RandomLevelMonsterReflection { - - #region Descriptor - /// <summary>File descriptor for RandomLevelMonster.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RandomLevelMonsterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhSYW5kb21MZXZlbE1vbnN0ZXIucHJvdG8i0QYKElJhbmRvbUxldmVsTW9u", - "c3RlchIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEg8KB2VwaWNfbHYYAyAB", - "KAUSEgoKYmxvb2RfdHlwZRgEIAEoBRINCgVlX2VfdBgFIAEoBRIOCgZmX2Nf", - "aWQYBiABKAUSDgoGZl9hX2lkGAcgASgFEhAKCG1vdl90eXBlGAggASgFEg8K", - "B3J1bl9zcGQYCSABKAUSFwoPdHJhbnNfc3BkX3NjYWxlGAogASgFEhAKCHdh", - "bGtfc3BkGAsgASgFEg8KB21vdl9hY2MYDCABKAUSEgoKdmlzaW9uX3JuZxgN", - "IAEoBRISCgp2aXNpb25fZGVnGA4gASgFEhAKCGhlYXJfcm5nGA8gASgFEg8K", - "B3JlZl9ybmcYECABKAUSDwoHYWN0X3JuZxgRIAEoBRITCgtkaXNfYWN0X3Ju", - "ZxgSIAEoBRIPCgdyb3Rfc3BkGBMgASgFEhAKCHRlbXBsZXRlGBQgASgFEg0K", - "BXdfZV9wGBUgASgFEg0KBWZfZV9wGBYgASgFEg0KBXNfZV9wGBcgASgFEg0K", - "BWFfZV9wGBggASgFEg0KBWxfZV9wGBkgASgFEg0KBWRfZV9wGBogASgFEg0K", - "BXdfZV9lGBsgASgFEg0KBWZfZV9lGBwgASgFEg0KBXNfZV9lGB0gASgFEg0K", - "BWFfZV9lGB4gASgFEg0KBWxfZV9lGB8gASgFEg0KBWRfZV9lGCAgASgFEg0K", - "BXdfZV9yGCEgASgFEg0KBWZfZV9yGCIgASgFEg0KBXNfZV9yGCMgASgFEg0K", - "BWFfZV9yGCQgASgFEg0KBWxfZV9yGCUgASgFEg0KBWRfZV9yGCYgASgFEhAK", - "CGJ1ZmZfaWRzGCcgAygFEg4KBndlaWdodBgoIAEoBRIUCgx0cmFwX3RhZ19p", - "ZHMYKSADKAUSDwoHZmFjdGlvbhgqIAEoBRISCgpzdXBfY2hhcmdlGCsgASgF", - "EhMKC2lzX3Nob3dfcm5nGCwgASgIEhQKDHRyYXBfYXR0cl9pZBgtIAEoBRIM", - "CgR0YWcxGC4gASgJEgwKBHRhZzIYLyABKAkSDAoEdGFnMxgwIAEoCRIMCgR0", - "YWc0GDEgASgJEgwKBHRhZzUYMiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RandomLevelMonster), global::Nova.Client.RandomLevelMonster.Parser, new[]{ "Id", "Name", "EpicLv", "BloodType", "EET", "FCId", "FAId", "MovType", "RunSpd", "TransSpdScale", "WalkSpd", "MovAcc", "VisionRng", "VisionDeg", "HearRng", "RefRng", "ActRng", "DisActRng", "RotSpd", "Templete", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "BuffIds", "Weight", "TrapTagIds", "Faction", "SupCharge", "IsShowRng", "TrapAttrId", "Tag1", "Tag2", "Tag3", "Tag4", "Tag5" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RandomLevelMonster : pb::IMessage<RandomLevelMonster> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<RandomLevelMonster> _parser = new pb::MessageParser<RandomLevelMonster>(() => new RandomLevelMonster()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<RandomLevelMonster> 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.RandomLevelMonsterReflection.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 RandomLevelMonster() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RandomLevelMonster(RandomLevelMonster other) : this() { - id_ = other.id_; - name_ = other.name_; - epicLv_ = other.epicLv_; - bloodType_ = other.bloodType_; - eET_ = other.eET_; - fCId_ = other.fCId_; - fAId_ = other.fAId_; - movType_ = other.movType_; - runSpd_ = other.runSpd_; - transSpdScale_ = other.transSpdScale_; - walkSpd_ = other.walkSpd_; - movAcc_ = other.movAcc_; - visionRng_ = other.visionRng_; - visionDeg_ = other.visionDeg_; - hearRng_ = other.hearRng_; - refRng_ = other.refRng_; - actRng_ = other.actRng_; - disActRng_ = other.disActRng_; - rotSpd_ = other.rotSpd_; - templete_ = other.templete_; - wEP_ = other.wEP_; - fEP_ = other.fEP_; - sEP_ = other.sEP_; - aEP_ = other.aEP_; - lEP_ = other.lEP_; - dEP_ = other.dEP_; - wEE_ = other.wEE_; - fEE_ = other.fEE_; - sEE_ = other.sEE_; - aEE_ = other.aEE_; - lEE_ = other.lEE_; - dEE_ = other.dEE_; - wER_ = other.wER_; - fER_ = other.fER_; - sER_ = other.sER_; - aER_ = other.aER_; - lER_ = other.lER_; - dER_ = other.dER_; - buffIds_ = other.buffIds_.Clone(); - weight_ = other.weight_; - trapTagIds_ = other.trapTagIds_.Clone(); - faction_ = other.faction_; - supCharge_ = other.supCharge_; - isShowRng_ = other.isShowRng_; - trapAttrId_ = other.trapAttrId_; - tag1_ = other.tag1_; - tag2_ = other.tag2_; - tag3_ = other.tag3_; - tag4_ = other.tag4_; - tag5_ = other.tag5_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RandomLevelMonster Clone() { - return new RandomLevelMonster(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 "epic_lv" field.</summary> - public const int EpicLvFieldNumber = 3; - private int epicLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EpicLv { - get { return epicLv_; } - set { - epicLv_ = value; - } - } - - /// <summary>Field number for the "blood_type" field.</summary> - public const int BloodTypeFieldNumber = 4; - private int bloodType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BloodType { - get { return bloodType_; } - set { - bloodType_ = value; - } - } - - /// <summary>Field number for the "e_e_t" field.</summary> - public const int EETFieldNumber = 5; - 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 "f_c_id" field.</summary> - public const int FCIdFieldNumber = 6; - private int fCId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FCId { - get { return fCId_; } - set { - fCId_ = value; - } - } - - /// <summary>Field number for the "f_a_id" field.</summary> - public const int FAIdFieldNumber = 7; - private int fAId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FAId { - get { return fAId_; } - set { - fAId_ = value; - } - } - - /// <summary>Field number for the "mov_type" field.</summary> - public const int MovTypeFieldNumber = 8; - private int movType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovType { - get { return movType_; } - set { - movType_ = value; - } - } - - /// <summary>Field number for the "run_spd" field.</summary> - public const int RunSpdFieldNumber = 9; - private int runSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RunSpd { - get { return runSpd_; } - set { - runSpd_ = value; - } - } - - /// <summary>Field number for the "trans_spd_scale" field.</summary> - public const int TransSpdScaleFieldNumber = 10; - private int transSpdScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TransSpdScale { - get { return transSpdScale_; } - set { - transSpdScale_ = value; - } - } - - /// <summary>Field number for the "walk_spd" field.</summary> - public const int WalkSpdFieldNumber = 11; - private int walkSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WalkSpd { - get { return walkSpd_; } - set { - walkSpd_ = value; - } - } - - /// <summary>Field number for the "mov_acc" field.</summary> - public const int MovAccFieldNumber = 12; - private int movAcc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovAcc { - get { return movAcc_; } - set { - movAcc_ = value; - } - } - - /// <summary>Field number for the "vision_rng" field.</summary> - public const int VisionRngFieldNumber = 13; - private int visionRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionRng { - get { return visionRng_; } - set { - visionRng_ = value; - } - } - - /// <summary>Field number for the "vision_deg" field.</summary> - public const int VisionDegFieldNumber = 14; - private int visionDeg_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int VisionDeg { - get { return visionDeg_; } - set { - visionDeg_ = value; - } - } - - /// <summary>Field number for the "hear_rng" field.</summary> - public const int HearRngFieldNumber = 15; - private int hearRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HearRng { - get { return hearRng_; } - set { - hearRng_ = value; - } - } - - /// <summary>Field number for the "ref_rng" field.</summary> - public const int RefRngFieldNumber = 16; - private int refRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefRng { - get { return refRng_; } - set { - refRng_ = value; - } - } - - /// <summary>Field number for the "act_rng" field.</summary> - public const int ActRngFieldNumber = 17; - private int actRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ActRng { - get { return actRng_; } - set { - actRng_ = value; - } - } - - /// <summary>Field number for the "dis_act_rng" field.</summary> - public const int DisActRngFieldNumber = 18; - private int disActRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DisActRng { - get { return disActRng_; } - set { - disActRng_ = value; - } - } - - /// <summary>Field number for the "rot_spd" field.</summary> - public const int RotSpdFieldNumber = 19; - private int rotSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RotSpd { - get { return rotSpd_; } - set { - rotSpd_ = value; - } - } - - /// <summary>Field number for the "templete" field.</summary> - public const int TempleteFieldNumber = 20; - private int templete_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Templete { - get { return templete_; } - set { - templete_ = value; - } - } - - /// <summary>Field number for the "w_e_p" field.</summary> - public const int WEPFieldNumber = 21; - private int wEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEP { - get { return wEP_; } - set { - wEP_ = value; - } - } - - /// <summary>Field number for the "f_e_p" field.</summary> - public const int FEPFieldNumber = 22; - private int fEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEP { - get { return fEP_; } - set { - fEP_ = value; - } - } - - /// <summary>Field number for the "s_e_p" field.</summary> - public const int SEPFieldNumber = 23; - private int sEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEP { - get { return sEP_; } - set { - sEP_ = value; - } - } - - /// <summary>Field number for the "a_e_p" field.</summary> - public const int AEPFieldNumber = 24; - private int aEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEP { - get { return aEP_; } - set { - aEP_ = value; - } - } - - /// <summary>Field number for the "l_e_p" field.</summary> - public const int LEPFieldNumber = 25; - private int lEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEP { - get { return lEP_; } - set { - lEP_ = value; - } - } - - /// <summary>Field number for the "d_e_p" field.</summary> - public const int DEPFieldNumber = 26; - private int dEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEP { - get { return dEP_; } - set { - dEP_ = value; - } - } - - /// <summary>Field number for the "w_e_e" field.</summary> - public const int WEEFieldNumber = 27; - private int wEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEE { - get { return wEE_; } - set { - wEE_ = value; - } - } - - /// <summary>Field number for the "f_e_e" field.</summary> - public const int FEEFieldNumber = 28; - private int fEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEE { - get { return fEE_; } - set { - fEE_ = value; - } - } - - /// <summary>Field number for the "s_e_e" field.</summary> - public const int SEEFieldNumber = 29; - private int sEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEE { - get { return sEE_; } - set { - sEE_ = value; - } - } - - /// <summary>Field number for the "a_e_e" field.</summary> - public const int AEEFieldNumber = 30; - private int aEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEE { - get { return aEE_; } - set { - aEE_ = value; - } - } - - /// <summary>Field number for the "l_e_e" field.</summary> - public const int LEEFieldNumber = 31; - private int lEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEE { - get { return lEE_; } - set { - lEE_ = value; - } - } - - /// <summary>Field number for the "d_e_e" field.</summary> - public const int DEEFieldNumber = 32; - private int dEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEE { - get { return dEE_; } - set { - dEE_ = value; - } - } - - /// <summary>Field number for the "w_e_r" field.</summary> - public const int WERFieldNumber = 33; - private int wER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WER { - get { return wER_; } - set { - wER_ = value; - } - } - - /// <summary>Field number for the "f_e_r" field.</summary> - public const int FERFieldNumber = 34; - private int fER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FER { - get { return fER_; } - set { - fER_ = value; - } - } - - /// <summary>Field number for the "s_e_r" field.</summary> - public const int SERFieldNumber = 35; - private int sER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SER { - get { return sER_; } - set { - sER_ = value; - } - } - - /// <summary>Field number for the "a_e_r" field.</summary> - public const int AERFieldNumber = 36; - private int aER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AER { - get { return aER_; } - set { - aER_ = value; - } - } - - /// <summary>Field number for the "l_e_r" field.</summary> - public const int LERFieldNumber = 37; - private int lER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LER { - get { return lER_; } - set { - lER_ = value; - } - } - - /// <summary>Field number for the "d_e_r" field.</summary> - public const int DERFieldNumber = 38; - private int dER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DER { - get { return dER_; } - set { - dER_ = value; - } - } - - /// <summary>Field number for the "buff_ids" field.</summary> - public const int BuffIdsFieldNumber = 39; - private static readonly pb::FieldCodec<int> _repeated_buffIds_codec - = pb::FieldCodec.ForInt32(314); - private readonly pbc::RepeatedField<int> buffIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> BuffIds { - get { return buffIds_; } - } - - /// <summary>Field number for the "weight" field.</summary> - public const int WeightFieldNumber = 40; - private int weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// <summary>Field number for the "trap_tag_ids" field.</summary> - public const int TrapTagIdsFieldNumber = 41; - private static readonly pb::FieldCodec<int> _repeated_trapTagIds_codec - = pb::FieldCodec.ForInt32(330); - private readonly pbc::RepeatedField<int> trapTagIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> TrapTagIds { - get { return trapTagIds_; } - } - - /// <summary>Field number for the "faction" field.</summary> - public const int FactionFieldNumber = 42; - private int faction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Faction { - get { return faction_; } - set { - faction_ = value; - } - } - - /// <summary>Field number for the "sup_charge" field.</summary> - public const int SupChargeFieldNumber = 43; - private int supCharge_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SupCharge { - get { return supCharge_; } - set { - supCharge_ = value; - } - } - - /// <summary>Field number for the "is_show_rng" field.</summary> - public const int IsShowRngFieldNumber = 44; - private bool isShowRng_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsShowRng { - get { return isShowRng_; } - set { - isShowRng_ = value; - } - } - - /// <summary>Field number for the "trap_attr_id" field.</summary> - public const int TrapAttrIdFieldNumber = 45; - private int trapAttrId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TrapAttrId { - get { return trapAttrId_; } - set { - trapAttrId_ = value; - } - } - - /// <summary>Field number for the "tag1" field.</summary> - public const int Tag1FieldNumber = 46; - private string tag1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag1 { - get { return tag1_; } - set { - tag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "tag2" field.</summary> - public const int Tag2FieldNumber = 47; - private string tag2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag2 { - get { return tag2_; } - set { - tag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "tag3" field.</summary> - public const int Tag3FieldNumber = 48; - private string tag3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag3 { - get { return tag3_; } - set { - tag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "tag4" field.</summary> - public const int Tag4FieldNumber = 49; - private string tag4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag4 { - get { return tag4_; } - set { - tag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "tag5" field.</summary> - public const int Tag5FieldNumber = 50; - private string tag5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag5 { - get { return tag5_; } - set { - tag5_ = 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 RandomLevelMonster); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RandomLevelMonster 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 (EpicLv != other.EpicLv) return false; - if (BloodType != other.BloodType) return false; - if (EET != other.EET) return false; - if (FCId != other.FCId) return false; - if (FAId != other.FAId) return false; - if (MovType != other.MovType) return false; - if (RunSpd != other.RunSpd) return false; - if (TransSpdScale != other.TransSpdScale) return false; - if (WalkSpd != other.WalkSpd) return false; - if (MovAcc != other.MovAcc) return false; - if (VisionRng != other.VisionRng) return false; - if (VisionDeg != other.VisionDeg) return false; - if (HearRng != other.HearRng) return false; - if (RefRng != other.RefRng) return false; - if (ActRng != other.ActRng) return false; - if (DisActRng != other.DisActRng) return false; - if (RotSpd != other.RotSpd) return false; - if (Templete != other.Templete) return false; - if (WEP != other.WEP) return false; - if (FEP != other.FEP) return false; - if (SEP != other.SEP) return false; - if (AEP != other.AEP) return false; - if (LEP != other.LEP) return false; - if (DEP != other.DEP) return false; - if (WEE != other.WEE) return false; - if (FEE != other.FEE) return false; - if (SEE != other.SEE) return false; - if (AEE != other.AEE) return false; - if (LEE != other.LEE) return false; - if (DEE != other.DEE) return false; - if (WER != other.WER) return false; - if (FER != other.FER) return false; - if (SER != other.SER) return false; - if (AER != other.AER) return false; - if (LER != other.LER) return false; - if (DER != other.DER) return false; - if(!buffIds_.Equals(other.buffIds_)) return false; - if (Weight != other.Weight) return false; - if(!trapTagIds_.Equals(other.trapTagIds_)) return false; - if (Faction != other.Faction) return false; - if (SupCharge != other.SupCharge) return false; - if (IsShowRng != other.IsShowRng) return false; - if (TrapAttrId != other.TrapAttrId) return false; - if (Tag1 != other.Tag1) return false; - if (Tag2 != other.Tag2) return false; - if (Tag3 != other.Tag3) return false; - if (Tag4 != other.Tag4) return false; - if (Tag5 != other.Tag5) 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 (EpicLv != 0) hash ^= EpicLv.GetHashCode(); - if (BloodType != 0) hash ^= BloodType.GetHashCode(); - if (EET != 0) hash ^= EET.GetHashCode(); - if (FCId != 0) hash ^= FCId.GetHashCode(); - if (FAId != 0) hash ^= FAId.GetHashCode(); - if (MovType != 0) hash ^= MovType.GetHashCode(); - if (RunSpd != 0) hash ^= RunSpd.GetHashCode(); - if (TransSpdScale != 0) hash ^= TransSpdScale.GetHashCode(); - if (WalkSpd != 0) hash ^= WalkSpd.GetHashCode(); - if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); - if (VisionRng != 0) hash ^= VisionRng.GetHashCode(); - if (VisionDeg != 0) hash ^= VisionDeg.GetHashCode(); - if (HearRng != 0) hash ^= HearRng.GetHashCode(); - if (RefRng != 0) hash ^= RefRng.GetHashCode(); - if (ActRng != 0) hash ^= ActRng.GetHashCode(); - if (DisActRng != 0) hash ^= DisActRng.GetHashCode(); - if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); - if (Templete != 0) hash ^= Templete.GetHashCode(); - if (WEP != 0) hash ^= WEP.GetHashCode(); - if (FEP != 0) hash ^= FEP.GetHashCode(); - if (SEP != 0) hash ^= SEP.GetHashCode(); - if (AEP != 0) hash ^= AEP.GetHashCode(); - if (LEP != 0) hash ^= LEP.GetHashCode(); - if (DEP != 0) hash ^= DEP.GetHashCode(); - if (WEE != 0) hash ^= WEE.GetHashCode(); - if (FEE != 0) hash ^= FEE.GetHashCode(); - if (SEE != 0) hash ^= SEE.GetHashCode(); - if (AEE != 0) hash ^= AEE.GetHashCode(); - if (LEE != 0) hash ^= LEE.GetHashCode(); - if (DEE != 0) hash ^= DEE.GetHashCode(); - if (WER != 0) hash ^= WER.GetHashCode(); - if (FER != 0) hash ^= FER.GetHashCode(); - if (SER != 0) hash ^= SER.GetHashCode(); - if (AER != 0) hash ^= AER.GetHashCode(); - if (LER != 0) hash ^= LER.GetHashCode(); - if (DER != 0) hash ^= DER.GetHashCode(); - hash ^= buffIds_.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); - hash ^= trapTagIds_.GetHashCode(); - if (Faction != 0) hash ^= Faction.GetHashCode(); - if (SupCharge != 0) hash ^= SupCharge.GetHashCode(); - if (IsShowRng != false) hash ^= IsShowRng.GetHashCode(); - if (TrapAttrId != 0) hash ^= TrapAttrId.GetHashCode(); - if (Tag1.Length != 0) hash ^= Tag1.GetHashCode(); - if (Tag2.Length != 0) hash ^= Tag2.GetHashCode(); - if (Tag3.Length != 0) hash ^= Tag3.GetHashCode(); - if (Tag4.Length != 0) hash ^= Tag4.GetHashCode(); - if (Tag5.Length != 0) hash ^= Tag5.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 (EpicLv != 0) { - output.WriteRawTag(24); - output.WriteInt32(EpicLv); - } - if (BloodType != 0) { - output.WriteRawTag(32); - output.WriteInt32(BloodType); - } - if (EET != 0) { - output.WriteRawTag(40); - output.WriteInt32(EET); - } - if (FCId != 0) { - output.WriteRawTag(48); - output.WriteInt32(FCId); - } - if (FAId != 0) { - output.WriteRawTag(56); - output.WriteInt32(FAId); - } - if (MovType != 0) { - output.WriteRawTag(64); - output.WriteInt32(MovType); - } - if (RunSpd != 0) { - output.WriteRawTag(72); - output.WriteInt32(RunSpd); - } - if (TransSpdScale != 0) { - output.WriteRawTag(80); - output.WriteInt32(TransSpdScale); - } - if (WalkSpd != 0) { - output.WriteRawTag(88); - output.WriteInt32(WalkSpd); - } - if (MovAcc != 0) { - output.WriteRawTag(96); - output.WriteInt32(MovAcc); - } - if (VisionRng != 0) { - output.WriteRawTag(104); - output.WriteInt32(VisionRng); - } - if (VisionDeg != 0) { - output.WriteRawTag(112); - output.WriteInt32(VisionDeg); - } - if (HearRng != 0) { - output.WriteRawTag(120); - output.WriteInt32(HearRng); - } - if (RefRng != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(RefRng); - } - if (ActRng != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ActRng); - } - if (DisActRng != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(DisActRng); - } - if (RotSpd != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(RotSpd); - } - if (Templete != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Templete); - } - if (WEP != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(DEP); - } - if (WEE != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(DER); - } - buffIds_.WriteTo(output, _repeated_buffIds_codec); - if (Weight != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(Weight); - } - trapTagIds_.WriteTo(output, _repeated_trapTagIds_codec); - if (Faction != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(Faction); - } - if (SupCharge != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(SupCharge); - } - if (IsShowRng != false) { - output.WriteRawTag(224, 2); - output.WriteBool(IsShowRng); - } - if (TrapAttrId != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(TrapAttrId); - } - if (Tag1.Length != 0) { - output.WriteRawTag(242, 2); - output.WriteString(Tag1); - } - if (Tag2.Length != 0) { - output.WriteRawTag(250, 2); - output.WriteString(Tag2); - } - if (Tag3.Length != 0) { - output.WriteRawTag(130, 3); - output.WriteString(Tag3); - } - if (Tag4.Length != 0) { - output.WriteRawTag(138, 3); - output.WriteString(Tag4); - } - if (Tag5.Length != 0) { - output.WriteRawTag(146, 3); - output.WriteString(Tag5); - } - 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 (EpicLv != 0) { - output.WriteRawTag(24); - output.WriteInt32(EpicLv); - } - if (BloodType != 0) { - output.WriteRawTag(32); - output.WriteInt32(BloodType); - } - if (EET != 0) { - output.WriteRawTag(40); - output.WriteInt32(EET); - } - if (FCId != 0) { - output.WriteRawTag(48); - output.WriteInt32(FCId); - } - if (FAId != 0) { - output.WriteRawTag(56); - output.WriteInt32(FAId); - } - if (MovType != 0) { - output.WriteRawTag(64); - output.WriteInt32(MovType); - } - if (RunSpd != 0) { - output.WriteRawTag(72); - output.WriteInt32(RunSpd); - } - if (TransSpdScale != 0) { - output.WriteRawTag(80); - output.WriteInt32(TransSpdScale); - } - if (WalkSpd != 0) { - output.WriteRawTag(88); - output.WriteInt32(WalkSpd); - } - if (MovAcc != 0) { - output.WriteRawTag(96); - output.WriteInt32(MovAcc); - } - if (VisionRng != 0) { - output.WriteRawTag(104); - output.WriteInt32(VisionRng); - } - if (VisionDeg != 0) { - output.WriteRawTag(112); - output.WriteInt32(VisionDeg); - } - if (HearRng != 0) { - output.WriteRawTag(120); - output.WriteInt32(HearRng); - } - if (RefRng != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(RefRng); - } - if (ActRng != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ActRng); - } - if (DisActRng != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(DisActRng); - } - if (RotSpd != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(RotSpd); - } - if (Templete != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Templete); - } - if (WEP != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(DEP); - } - if (WEE != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(DER); - } - buffIds_.WriteTo(ref output, _repeated_buffIds_codec); - if (Weight != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(Weight); - } - trapTagIds_.WriteTo(ref output, _repeated_trapTagIds_codec); - if (Faction != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(Faction); - } - if (SupCharge != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(SupCharge); - } - if (IsShowRng != false) { - output.WriteRawTag(224, 2); - output.WriteBool(IsShowRng); - } - if (TrapAttrId != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(TrapAttrId); - } - if (Tag1.Length != 0) { - output.WriteRawTag(242, 2); - output.WriteString(Tag1); - } - if (Tag2.Length != 0) { - output.WriteRawTag(250, 2); - output.WriteString(Tag2); - } - if (Tag3.Length != 0) { - output.WriteRawTag(130, 3); - output.WriteString(Tag3); - } - if (Tag4.Length != 0) { - output.WriteRawTag(138, 3); - output.WriteString(Tag4); - } - if (Tag5.Length != 0) { - output.WriteRawTag(146, 3); - output.WriteString(Tag5); - } - 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 (EpicLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EpicLv); - } - if (BloodType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BloodType); - } - if (EET != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); - } - if (FCId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FCId); - } - if (FAId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FAId); - } - if (MovType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovType); - } - if (RunSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunSpd); - } - if (TransSpdScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TransSpdScale); - } - if (WalkSpd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkSpd); - } - if (MovAcc != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); - } - if (VisionRng != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(VisionRng); - } - if (VisionDeg != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(VisionDeg); - } - if (HearRng != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HearRng); - } - if (RefRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RefRng); - } - if (ActRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ActRng); - } - if (DisActRng != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisActRng); - } - if (RotSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); - } - if (Templete != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Templete); - } - if (WEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); - } - if (FEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); - } - if (SEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); - } - if (AEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); - } - if (LEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); - } - if (DEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); - } - if (WEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); - } - if (FEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); - } - if (SEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); - } - if (AEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); - } - if (LEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); - } - if (DEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); - } - if (WER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); - } - if (FER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); - } - if (SER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); - } - if (AER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); - } - if (LER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); - } - if (DER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); - } - size += buffIds_.CalculateSize(_repeated_buffIds_codec); - if (Weight != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Weight); - } - size += trapTagIds_.CalculateSize(_repeated_trapTagIds_codec); - if (Faction != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Faction); - } - if (SupCharge != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SupCharge); - } - if (IsShowRng != false) { - size += 2 + 1; - } - if (TrapAttrId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TrapAttrId); - } - if (Tag1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag1); - } - if (Tag2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag2); - } - if (Tag3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag3); - } - if (Tag4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag4); - } - if (Tag5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag5); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RandomLevelMonster other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.EpicLv != 0) { - EpicLv = other.EpicLv; - } - if (other.BloodType != 0) { - BloodType = other.BloodType; - } - if (other.EET != 0) { - EET = other.EET; - } - if (other.FCId != 0) { - FCId = other.FCId; - } - if (other.FAId != 0) { - FAId = other.FAId; - } - if (other.MovType != 0) { - MovType = other.MovType; - } - if (other.RunSpd != 0) { - RunSpd = other.RunSpd; - } - if (other.TransSpdScale != 0) { - TransSpdScale = other.TransSpdScale; - } - if (other.WalkSpd != 0) { - WalkSpd = other.WalkSpd; - } - if (other.MovAcc != 0) { - MovAcc = other.MovAcc; - } - if (other.VisionRng != 0) { - VisionRng = other.VisionRng; - } - if (other.VisionDeg != 0) { - VisionDeg = other.VisionDeg; - } - if (other.HearRng != 0) { - HearRng = other.HearRng; - } - if (other.RefRng != 0) { - RefRng = other.RefRng; - } - if (other.ActRng != 0) { - ActRng = other.ActRng; - } - if (other.DisActRng != 0) { - DisActRng = other.DisActRng; - } - if (other.RotSpd != 0) { - RotSpd = other.RotSpd; - } - if (other.Templete != 0) { - Templete = other.Templete; - } - if (other.WEP != 0) { - WEP = other.WEP; - } - if (other.FEP != 0) { - FEP = other.FEP; - } - if (other.SEP != 0) { - SEP = other.SEP; - } - if (other.AEP != 0) { - AEP = other.AEP; - } - if (other.LEP != 0) { - LEP = other.LEP; - } - if (other.DEP != 0) { - DEP = other.DEP; - } - if (other.WEE != 0) { - WEE = other.WEE; - } - if (other.FEE != 0) { - FEE = other.FEE; - } - if (other.SEE != 0) { - SEE = other.SEE; - } - if (other.AEE != 0) { - AEE = other.AEE; - } - if (other.LEE != 0) { - LEE = other.LEE; - } - if (other.DEE != 0) { - DEE = other.DEE; - } - if (other.WER != 0) { - WER = other.WER; - } - if (other.FER != 0) { - FER = other.FER; - } - if (other.SER != 0) { - SER = other.SER; - } - if (other.AER != 0) { - AER = other.AER; - } - if (other.LER != 0) { - LER = other.LER; - } - if (other.DER != 0) { - DER = other.DER; - } - buffIds_.Add(other.buffIds_); - if (other.Weight != 0) { - Weight = other.Weight; - } - trapTagIds_.Add(other.trapTagIds_); - if (other.Faction != 0) { - Faction = other.Faction; - } - if (other.SupCharge != 0) { - SupCharge = other.SupCharge; - } - if (other.IsShowRng != false) { - IsShowRng = other.IsShowRng; - } - if (other.TrapAttrId != 0) { - TrapAttrId = other.TrapAttrId; - } - if (other.Tag1.Length != 0) { - Tag1 = other.Tag1; - } - if (other.Tag2.Length != 0) { - Tag2 = other.Tag2; - } - if (other.Tag3.Length != 0) { - Tag3 = other.Tag3; - } - if (other.Tag4.Length != 0) { - Tag4 = other.Tag4; - } - if (other.Tag5.Length != 0) { - Tag5 = other.Tag5; - } - _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: { - EpicLv = input.ReadInt32(); - break; - } - case 32: { - BloodType = input.ReadInt32(); - break; - } - case 40: { - EET = input.ReadInt32(); - break; - } - case 48: { - FCId = input.ReadInt32(); - break; - } - case 56: { - FAId = input.ReadInt32(); - break; - } - case 64: { - MovType = input.ReadInt32(); - break; - } - case 72: { - RunSpd = input.ReadInt32(); - break; - } - case 80: { - TransSpdScale = input.ReadInt32(); - break; - } - case 88: { - WalkSpd = input.ReadInt32(); - break; - } - case 96: { - MovAcc = input.ReadInt32(); - break; - } - case 104: { - VisionRng = input.ReadInt32(); - break; - } - case 112: { - VisionDeg = input.ReadInt32(); - break; - } - case 120: { - HearRng = input.ReadInt32(); - break; - } - case 128: { - RefRng = input.ReadInt32(); - break; - } - case 136: { - ActRng = input.ReadInt32(); - break; - } - case 144: { - DisActRng = input.ReadInt32(); - break; - } - case 152: { - RotSpd = input.ReadInt32(); - break; - } - case 160: { - Templete = input.ReadInt32(); - break; - } - case 168: { - WEP = input.ReadInt32(); - break; - } - case 176: { - FEP = input.ReadInt32(); - break; - } - case 184: { - SEP = input.ReadInt32(); - break; - } - case 192: { - AEP = input.ReadInt32(); - break; - } - case 200: { - LEP = input.ReadInt32(); - break; - } - case 208: { - DEP = input.ReadInt32(); - break; - } - case 216: { - WEE = input.ReadInt32(); - break; - } - case 224: { - FEE = input.ReadInt32(); - break; - } - case 232: { - SEE = input.ReadInt32(); - break; - } - case 240: { - AEE = input.ReadInt32(); - break; - } - case 248: { - LEE = input.ReadInt32(); - break; - } - case 256: { - DEE = input.ReadInt32(); - break; - } - case 264: { - WER = input.ReadInt32(); - break; - } - case 272: { - FER = input.ReadInt32(); - break; - } - case 280: { - SER = input.ReadInt32(); - break; - } - case 288: { - AER = input.ReadInt32(); - break; - } - case 296: { - LER = input.ReadInt32(); - break; - } - case 304: { - DER = input.ReadInt32(); - break; - } - case 314: - case 312: { - buffIds_.AddEntriesFrom(input, _repeated_buffIds_codec); - break; - } - case 320: { - Weight = input.ReadInt32(); - break; - } - case 330: - case 328: { - trapTagIds_.AddEntriesFrom(input, _repeated_trapTagIds_codec); - break; - } - case 336: { - Faction = input.ReadInt32(); - break; - } - case 344: { - SupCharge = input.ReadInt32(); - break; - } - case 352: { - IsShowRng = input.ReadBool(); - break; - } - case 360: { - TrapAttrId = input.ReadInt32(); - break; - } - case 370: { - Tag1 = input.ReadString(); - break; - } - case 378: { - Tag2 = input.ReadString(); - break; - } - case 386: { - Tag3 = input.ReadString(); - break; - } - case 394: { - Tag4 = input.ReadString(); - break; - } - case 402: { - Tag5 = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - EpicLv = input.ReadInt32(); - break; - } - case 32: { - BloodType = input.ReadInt32(); - break; - } - case 40: { - EET = input.ReadInt32(); - break; - } - case 48: { - FCId = input.ReadInt32(); - break; - } - case 56: { - FAId = input.ReadInt32(); - break; - } - case 64: { - MovType = input.ReadInt32(); - break; - } - case 72: { - RunSpd = input.ReadInt32(); - break; - } - case 80: { - TransSpdScale = input.ReadInt32(); - break; - } - case 88: { - WalkSpd = input.ReadInt32(); - break; - } - case 96: { - MovAcc = input.ReadInt32(); - break; - } - case 104: { - VisionRng = input.ReadInt32(); - break; - } - case 112: { - VisionDeg = input.ReadInt32(); - break; - } - case 120: { - HearRng = input.ReadInt32(); - break; - } - case 128: { - RefRng = input.ReadInt32(); - break; - } - case 136: { - ActRng = input.ReadInt32(); - break; - } - case 144: { - DisActRng = input.ReadInt32(); - break; - } - case 152: { - RotSpd = input.ReadInt32(); - break; - } - case 160: { - Templete = input.ReadInt32(); - break; - } - case 168: { - WEP = input.ReadInt32(); - break; - } - case 176: { - FEP = input.ReadInt32(); - break; - } - case 184: { - SEP = input.ReadInt32(); - break; - } - case 192: { - AEP = input.ReadInt32(); - break; - } - case 200: { - LEP = input.ReadInt32(); - break; - } - case 208: { - DEP = input.ReadInt32(); - break; - } - case 216: { - WEE = input.ReadInt32(); - break; - } - case 224: { - FEE = input.ReadInt32(); - break; - } - case 232: { - SEE = input.ReadInt32(); - break; - } - case 240: { - AEE = input.ReadInt32(); - break; - } - case 248: { - LEE = input.ReadInt32(); - break; - } - case 256: { - DEE = input.ReadInt32(); - break; - } - case 264: { - WER = input.ReadInt32(); - break; - } - case 272: { - FER = input.ReadInt32(); - break; - } - case 280: { - SER = input.ReadInt32(); - break; - } - case 288: { - AER = input.ReadInt32(); - break; - } - case 296: { - LER = input.ReadInt32(); - break; - } - case 304: { - DER = input.ReadInt32(); - break; - } - case 314: - case 312: { - buffIds_.AddEntriesFrom(ref input, _repeated_buffIds_codec); - break; - } - case 320: { - Weight = input.ReadInt32(); - break; - } - case 330: - case 328: { - trapTagIds_.AddEntriesFrom(ref input, _repeated_trapTagIds_codec); - break; - } - case 336: { - Faction = input.ReadInt32(); - break; - } - case 344: { - SupCharge = input.ReadInt32(); - break; - } - case 352: { - IsShowRng = input.ReadBool(); - break; - } - case 360: { - TrapAttrId = input.ReadInt32(); - break; - } - case 370: { - Tag1 = input.ReadString(); - break; - } - case 378: { - Tag2 = input.ReadString(); - break; - } - case 386: { - Tag3 = input.ReadString(); - break; - } - case 394: { - Tag4 = input.ReadString(); - break; - } - case 402: { - Tag5 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Rank.cs b/Novaria.Common/Protos/Rank.cs deleted file mode 100644 index 14f5f11..0000000 --- a/Novaria.Common/Protos/Rank.cs +++ /dev/null @@ -1,278 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Rank.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 Rank.proto</summary> - public static partial class RankReflection { - - #region Descriptor - /// <summary>File descriptor for Rank.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RankReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpSYW5rLnByb3RvIiIKBFJhbmsSDQoFcmFua18YASABKAUSCwoDZXhwGAIg", - "ASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Rank), global::Nova.Client.Rank.Parser, new[]{ "Rank_", "Exp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Rank : pb::IMessage<Rank> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Rank> _parser = new pb::MessageParser<Rank>(() => new Rank()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Rank> 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.RankReflection.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 Rank() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Rank(Rank other) : this() { - rank_ = other.rank_; - exp_ = other.exp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Rank Clone() { - return new Rank(this); - } - - /// <summary>Field number for the "rank_" field.</summary> - public const int Rank_FieldNumber = 1; - private int rank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rank_ { - get { return rank_; } - set { - rank_ = value; - } - } - - /// <summary>Field number for the "exp" field.</summary> - public const int ExpFieldNumber = 2; - private int exp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } - set { - exp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Rank); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Rank other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Rank_ != other.Rank_) return false; - if (Exp != other.Exp) 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 (Rank_ != 0) hash ^= Rank_.GetHashCode(); - if (Exp != 0) hash ^= Exp.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 (Rank_ != 0) { - output.WriteRawTag(8); - output.WriteInt32(Rank_); - } - if (Exp != 0) { - output.WriteRawTag(16); - output.WriteInt32(Exp); - } - 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 (Rank_ != 0) { - output.WriteRawTag(8); - output.WriteInt32(Rank_); - } - if (Exp != 0) { - output.WriteRawTag(16); - output.WriteInt32(Exp); - } - 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 (Rank_ != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rank_); - } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Rank other) { - if (other == null) { - return; - } - if (other.Rank_ != 0) { - Rank_ = other.Rank_; - } - if (other.Exp != 0) { - Exp = other.Exp; - } - _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: { - Rank_ = input.ReadInt32(); - break; - } - case 16: { - Exp = 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: { - Rank_ = input.ReadInt32(); - break; - } - case 16: { - Exp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Recorder.cs b/Novaria.Common/Protos/Recorder.cs deleted file mode 100644 index ae2b4e9..0000000 --- a/Novaria.Common/Protos/Recorder.cs +++ /dev/null @@ -1,4181 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Recorder.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 Recorder.proto</summary> - public static partial class RecorderReflection { - - #region Descriptor - /// <summary>File descriptor for Recorder.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RecorderReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5SZWNvcmRlci5wcm90byKhEAoIUmVjb3JkZXISEQoJbWF4X2ZyYW1lGAEg", - "ASgNEhAKCGZsb29yX2lkGAIgASgNEiEKCHNwYXduZXJzGAMgAygLMg8uUmVj", - "b3JkZXIuU3Bhd24SIQoHZGFtYWdlcxgEIAMoCzIQLlJlY29yZGVyLkRhbWFn", - "ZRIfCgZkZWF0aHMYBSADKAsyDy5SZWNvcmRlci5EZWF0aBpsCgVTcGF3bhIQ", - "CghmcmFtZV9pZBgBIAEoDRImCghlbnRfdHlwZRgCIAEoDjIULlJlY29yZGVy", - "LkVudGl0eVR5cGUSCgoCaWQYAyABKA0SEAoIcHJvdG9faWQYBCABKA0SCwoD", - "aF9wGAUgASgFGskBCgZEYW1hZ2USCgoCaWQYASABKA0SEAoIZnJhbWVfaWQY", - "AiABKA0SJgoIZG1nX3R5cGUYAyABKA4yFC5SZWNvcmRlci5EYW1hZ2VUeXBl", - "Eg0KBXZhbHVlGAQgASgFEhYKDmhpdF9kYW1hZ2VfaV9kGAUgASgFEhAKCGlz", - "X2NyaXRlGAYgASgIEiAKBGZyb20YByABKAsyEi5SZWNvcmRlci5BdHRhY2tl", - "chIeCgJ0bxgIIAEoCzISLlJlY29yZGVyLkRlZmVuZGVyGsoFCghBdHRhY2tl", - "chIKCgJpZBgBIAEoDRIQCghwcm90b19pZBgCIAEoDRIoCgllbnRfY2xhc3MY", - "AyABKA4yFS5SZWNvcmRlci5FbnRpdHlDbGFzcxILCgNhdGsYBCABKAISGwoT", - "c2tpbGxfcGVyY2VudF9hbWVuZBgFIAEoAhIiChp0YWxlbnRfZ3JvdXBfcGVy", - "Y2VudF9hbWVuZBgGIAEoAhIXCg9za2lsbF9hYnNfYW1lbmQYByABKAISHgoW", - "dGFsZW50X2dyb3VwX2Fic19hbWVuZBgIIAEoAhIcChRwZXJrX2ludGVuc2l0", - "eV9yYXRpbxgJIAEoAhIWCg5zbG90X2RtZ19yYXRpbxgKIAEoAhILCgNlX2UY", - "CyABKAISFQoNZ2VuX2RtZ19yYXRpbxgMIAEoAhIQCghkbWdfcGx1cxgNIAEo", - "AhISCgpjcml0X3JhdGlvGA4gASgCEhcKD2ZpbmFsX2RtZ19yYXRpbxgPIAEo", - "AhIWCg5maW5hbF9kbWdfcGx1cxgQIAEoAhIRCgljcml0X3JhdGUYESABKAIS", - "EgoKZGVmX3BpZXJjZRgSIAEoAhISCgpkZWZfaWdub3JlGBMgASgCEg0KBXdf", - "ZV9wGBQgASgFEg0KBWZfZV9wGBUgASgFEg0KBXNfZV9wGBYgASgFEg0KBWFf", - "ZV9wGBcgASgFEg0KBWxfZV9wGBggASgFEg0KBWRfZV9wGBkgASgFEg0KBXdf", - "ZV9pGBogASgCEg0KBWZfZV9pGBsgASgCEg0KBXNfZV9pGBwgASgCEg0KBWFf", - "ZV9pGB0gASgCEg0KBWxfZV9pGB4gASgCEg0KBWRfZV9pGB8gASgCEhEKCWJ1", - "ZmZfaV9kcxggIAMoBRITCgtlZmZlY3RfaV9kcxgiIAMoBRInCgphdHRyaWJ1", - "dGVzGCMgAygLMhMuUmVjb3JkZXIuQXR0cmlidXRlGlkKCUF0dHJpYnV0ZRIO", - "CgZvcmlnaW4YASABKAISEgoKYmFzZV9hbWVuZBgCIAEoAhIVCg1wZXJjZW50", - "X2FtZW5kGAMgASgCEhEKCWFic19hbWVuZBgEIAEoAhrcAwoIRGVmZW5kZXIS", - "CgoCaWQYASABKA0SEAoIcHJvdG9faWQYAiABKA0SKAoJZW50X2NsYXNzGAMg", - "ASgOMhUuUmVjb3JkZXIuRW50aXR5Q2xhc3MSCwoDaF9wGAQgASgFEg8KB21h", - "eF9oX3AYBSABKAUSEAoIZXJfYW1lbmQYBiABKAISEQoJZGVmX2FtZW5kGAcg", - "ASgCEhoKEnJjZF9zbG90X2RtZ19yYXRpbxgIIAEoAhIRCgllX2Vfcl9jX2QY", - "CSABKAISGQoRZ2VuX2RtZ19yY2RfcmF0aW8YCiABKAISFAoMZG1nX3BsdXNf", - "cmNkGAsgASgCEg8KB3NyY19kZWYYDCABKAISFwoPY3JpdF9yZXNpc3RhbmNl", - "GA0gASgCEg0KBXdfZV9yGA4gASgFEg0KBWZfZV9yGA8gASgFEg0KBXNfZV9y", - "GBAgASgFEg0KBWFfZV9yGBEgASgFEg0KBWxfZV9yGBIgASgFEg0KBWRfZV9y", - "GBMgASgFEhAKCHN1cHByZXNzGBQgASgCEhEKCWJ1ZmZfaV9kcxgVIAMoBRIT", - "CgtlZmZlY3RfaV9kcxgXIAMoBRInCgphdHRyaWJ1dGVzGBggAygLMhMuUmVj", - "b3JkZXIuQXR0cmlidXRlGiUKBURlYXRoEhAKCGZyYW1lX2lkGAEgASgNEgoK", - "AmlkGAIgASgNIjkKCkVudGl0eVR5cGUSCgoGUExBWUVSEAASCAoEQk9TUxAB", - "EgoKBkxFQURFUhACEgkKBUVMSVRFEAMivwEKCkRhbWFnZVR5cGUSCgoGTk9S", - "TUFMEAASCAoESEVBTBABEggKBFJFQUwQAhIKCgZESVJFQ1QQAxIPCgtESVJF", - "Q1RfSEVBTBAEEgcKA0RPVBAFEgwKCERPVF9IRUFMEAYSDQoJSFBfQUJTT1JC", - "EAcSDQoJSFBfUkVEVUNFEAgSDgoKSFBfUkVDT1ZFUhAJEg0KCUhQX1JFVkVS", - "VBAKEhAKDERBTUFHRV9ERUxBWRALEg4KCkhFQUxfREVMQVkQDCIkCgtFbnRp", - "dHlDbGFzcxIICgRST0xFEAASCwoHTU9OU1RFUhABQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder), global::Nova.Client.Recorder.Parser, new[]{ "MaxFrame", "FloorId", "Spawners", "Damages", "Deaths" }, null, new[]{ typeof(global::Nova.Client.Recorder.Types.EntityType), typeof(global::Nova.Client.Recorder.Types.DamageType), typeof(global::Nova.Client.Recorder.Types.EntityClass) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder.Types.Spawn), global::Nova.Client.Recorder.Types.Spawn.Parser, new[]{ "FrameId", "EntType", "Id", "ProtoId", "HP" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder.Types.Damage), global::Nova.Client.Recorder.Types.Damage.Parser, new[]{ "Id", "FrameId", "DmgType", "Value", "HitDamageID", "IsCrite", "From", "To" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder.Types.Attacker), global::Nova.Client.Recorder.Types.Attacker.Parser, new[]{ "Id", "ProtoId", "EntClass", "Atk", "SkillPercentAmend", "TalentGroupPercentAmend", "SkillAbsAmend", "TalentGroupAbsAmend", "PerkIntensityRatio", "SlotDmgRatio", "EE", "GenDmgRatio", "DmgPlus", "CritRatio", "FinalDmgRatio", "FinalDmgPlus", "CritRate", "DefPierce", "DefIgnore", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEI", "FEI", "SEI", "AEI", "LEI", "DEI", "BuffIDs", "EffectIDs", "Attributes" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder.Types.Attribute), global::Nova.Client.Recorder.Types.Attribute.Parser, new[]{ "Origin", "BaseAmend", "PercentAmend", "AbsAmend" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder.Types.Defender), global::Nova.Client.Recorder.Types.Defender.Parser, new[]{ "Id", "ProtoId", "EntClass", "HP", "MaxHP", "ErAmend", "DefAmend", "RcdSlotDmgRatio", "EERCD", "GenDmgRcdRatio", "DmgPlusRcd", "SrcDef", "CritResistance", "WER", "FER", "SER", "AER", "LER", "DER", "Suppress", "BuffIDs", "EffectIDs", "Attributes" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorder.Types.Death), global::Nova.Client.Recorder.Types.Death.Parser, new[]{ "FrameId", "Id" }, null, null, null, null)}) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Recorder : pb::IMessage<Recorder> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Recorder> _parser = new pb::MessageParser<Recorder>(() => new Recorder()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Recorder> 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.RecorderReflection.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 Recorder() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Recorder(Recorder other) : this() { - maxFrame_ = other.maxFrame_; - floorId_ = other.floorId_; - spawners_ = other.spawners_.Clone(); - damages_ = other.damages_.Clone(); - deaths_ = other.deaths_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Recorder Clone() { - return new Recorder(this); - } - - /// <summary>Field number for the "max_frame" field.</summary> - public const int MaxFrameFieldNumber = 1; - private uint maxFrame_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MaxFrame { - get { return maxFrame_; } - set { - maxFrame_ = value; - } - } - - /// <summary>Field number for the "floor_id" field.</summary> - public const int FloorIdFieldNumber = 2; - private uint floorId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint FloorId { - get { return floorId_; } - set { - floorId_ = value; - } - } - - /// <summary>Field number for the "spawners" field.</summary> - public const int SpawnersFieldNumber = 3; - private static readonly pb::FieldCodec<global::Nova.Client.Recorder.Types.Spawn> _repeated_spawners_codec - = pb::FieldCodec.ForMessage(26, global::Nova.Client.Recorder.Types.Spawn.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorder.Types.Spawn> spawners_ = new pbc::RepeatedField<global::Nova.Client.Recorder.Types.Spawn>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorder.Types.Spawn> Spawners { - get { return spawners_; } - } - - /// <summary>Field number for the "damages" field.</summary> - public const int DamagesFieldNumber = 4; - private static readonly pb::FieldCodec<global::Nova.Client.Recorder.Types.Damage> _repeated_damages_codec - = pb::FieldCodec.ForMessage(34, global::Nova.Client.Recorder.Types.Damage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorder.Types.Damage> damages_ = new pbc::RepeatedField<global::Nova.Client.Recorder.Types.Damage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorder.Types.Damage> Damages { - get { return damages_; } - } - - /// <summary>Field number for the "deaths" field.</summary> - public const int DeathsFieldNumber = 5; - private static readonly pb::FieldCodec<global::Nova.Client.Recorder.Types.Death> _repeated_deaths_codec - = pb::FieldCodec.ForMessage(42, global::Nova.Client.Recorder.Types.Death.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorder.Types.Death> deaths_ = new pbc::RepeatedField<global::Nova.Client.Recorder.Types.Death>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorder.Types.Death> Deaths { - get { return deaths_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Recorder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Recorder other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MaxFrame != other.MaxFrame) return false; - if (FloorId != other.FloorId) return false; - if(!spawners_.Equals(other.spawners_)) return false; - if(!damages_.Equals(other.damages_)) return false; - if(!deaths_.Equals(other.deaths_)) 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 (MaxFrame != 0) hash ^= MaxFrame.GetHashCode(); - if (FloorId != 0) hash ^= FloorId.GetHashCode(); - hash ^= spawners_.GetHashCode(); - hash ^= damages_.GetHashCode(); - hash ^= deaths_.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 (MaxFrame != 0) { - output.WriteRawTag(8); - output.WriteUInt32(MaxFrame); - } - if (FloorId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(FloorId); - } - spawners_.WriteTo(output, _repeated_spawners_codec); - damages_.WriteTo(output, _repeated_damages_codec); - deaths_.WriteTo(output, _repeated_deaths_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 (MaxFrame != 0) { - output.WriteRawTag(8); - output.WriteUInt32(MaxFrame); - } - if (FloorId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(FloorId); - } - spawners_.WriteTo(ref output, _repeated_spawners_codec); - damages_.WriteTo(ref output, _repeated_damages_codec); - deaths_.WriteTo(ref output, _repeated_deaths_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 (MaxFrame != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxFrame); - } - if (FloorId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FloorId); - } - size += spawners_.CalculateSize(_repeated_spawners_codec); - size += damages_.CalculateSize(_repeated_damages_codec); - size += deaths_.CalculateSize(_repeated_deaths_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Recorder other) { - if (other == null) { - return; - } - if (other.MaxFrame != 0) { - MaxFrame = other.MaxFrame; - } - if (other.FloorId != 0) { - FloorId = other.FloorId; - } - spawners_.Add(other.spawners_); - damages_.Add(other.damages_); - deaths_.Add(other.deaths_); - _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: { - MaxFrame = input.ReadUInt32(); - break; - } - case 16: { - FloorId = input.ReadUInt32(); - break; - } - case 26: { - spawners_.AddEntriesFrom(input, _repeated_spawners_codec); - break; - } - case 34: { - damages_.AddEntriesFrom(input, _repeated_damages_codec); - break; - } - case 42: { - deaths_.AddEntriesFrom(input, _repeated_deaths_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: { - MaxFrame = input.ReadUInt32(); - break; - } - case 16: { - FloorId = input.ReadUInt32(); - break; - } - case 26: { - spawners_.AddEntriesFrom(ref input, _repeated_spawners_codec); - break; - } - case 34: { - damages_.AddEntriesFrom(ref input, _repeated_damages_codec); - break; - } - case 42: { - deaths_.AddEntriesFrom(ref input, _repeated_deaths_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// <summary>Container for nested types declared in the Recorder message type.</summary> - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - public enum EntityType { - [pbr::OriginalName("PLAYER")] Player = 0, - [pbr::OriginalName("BOSS")] Boss = 1, - [pbr::OriginalName("LEADER")] Leader = 2, - [pbr::OriginalName("ELITE")] Elite = 3, - } - - public enum DamageType { - [pbr::OriginalName("NORMAL")] Normal = 0, - [pbr::OriginalName("HEAL")] Heal = 1, - [pbr::OriginalName("REAL")] Real = 2, - [pbr::OriginalName("DIRECT")] Direct = 3, - [pbr::OriginalName("DIRECT_HEAL")] DirectHeal = 4, - [pbr::OriginalName("DOT")] Dot = 5, - [pbr::OriginalName("DOT_HEAL")] DotHeal = 6, - [pbr::OriginalName("HP_ABSORB")] HpAbsorb = 7, - [pbr::OriginalName("HP_REDUCE")] HpReduce = 8, - [pbr::OriginalName("HP_RECOVER")] HpRecover = 9, - [pbr::OriginalName("HP_REVERT")] HpRevert = 10, - [pbr::OriginalName("DAMAGE_DELAY")] DamageDelay = 11, - [pbr::OriginalName("HEAL_DELAY")] HealDelay = 12, - } - - public enum EntityClass { - [pbr::OriginalName("ROLE")] Role = 0, - [pbr::OriginalName("MONSTER")] Monster = 1, - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Spawn : pb::IMessage<Spawn> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Spawn> _parser = new pb::MessageParser<Spawn>(() => new Spawn()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Spawn> 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.Recorder.Descriptor.NestedTypes[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 Spawn() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Spawn(Spawn other) : this() { - frameId_ = other.frameId_; - entType_ = other.entType_; - id_ = other.id_; - protoId_ = other.protoId_; - hP_ = other.hP_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Spawn Clone() { - return new Spawn(this); - } - - /// <summary>Field number for the "frame_id" field.</summary> - public const int FrameIdFieldNumber = 1; - private uint frameId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint FrameId { - get { return frameId_; } - set { - frameId_ = value; - } - } - - /// <summary>Field number for the "ent_type" field.</summary> - public const int EntTypeFieldNumber = 2; - private global::Nova.Client.Recorder.Types.EntityType entType_ = global::Nova.Client.Recorder.Types.EntityType.Player; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorder.Types.EntityType EntType { - get { return entType_; } - set { - entType_ = value; - } - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 3; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "proto_id" field.</summary> - public const int ProtoIdFieldNumber = 4; - private uint protoId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint ProtoId { - get { return protoId_; } - set { - protoId_ = value; - } - } - - /// <summary>Field number for the "h_p" field.</summary> - public const int HPFieldNumber = 5; - private int hP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HP { - get { return hP_; } - set { - hP_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Spawn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Spawn other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (FrameId != other.FrameId) return false; - if (EntType != other.EntType) return false; - if (Id != other.Id) return false; - if (ProtoId != other.ProtoId) return false; - if (HP != other.HP) 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 (FrameId != 0) hash ^= FrameId.GetHashCode(); - if (EntType != global::Nova.Client.Recorder.Types.EntityType.Player) hash ^= EntType.GetHashCode(); - if (Id != 0) hash ^= Id.GetHashCode(); - if (ProtoId != 0) hash ^= ProtoId.GetHashCode(); - if (HP != 0) hash ^= HP.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 (FrameId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(FrameId); - } - if (EntType != global::Nova.Client.Recorder.Types.EntityType.Player) { - output.WriteRawTag(16); - output.WriteEnum((int) EntType); - } - if (Id != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Id); - } - if (ProtoId != 0) { - output.WriteRawTag(32); - output.WriteUInt32(ProtoId); - } - if (HP != 0) { - output.WriteRawTag(40); - output.WriteInt32(HP); - } - 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 (FrameId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(FrameId); - } - if (EntType != global::Nova.Client.Recorder.Types.EntityType.Player) { - output.WriteRawTag(16); - output.WriteEnum((int) EntType); - } - if (Id != 0) { - output.WriteRawTag(24); - output.WriteUInt32(Id); - } - if (ProtoId != 0) { - output.WriteRawTag(32); - output.WriteUInt32(ProtoId); - } - if (HP != 0) { - output.WriteRawTag(40); - output.WriteInt32(HP); - } - 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 (FrameId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameId); - } - if (EntType != global::Nova.Client.Recorder.Types.EntityType.Player) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EntType); - } - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); - } - if (ProtoId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProtoId); - } - if (HP != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HP); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Spawn other) { - if (other == null) { - return; - } - if (other.FrameId != 0) { - FrameId = other.FrameId; - } - if (other.EntType != global::Nova.Client.Recorder.Types.EntityType.Player) { - EntType = other.EntType; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ProtoId != 0) { - ProtoId = other.ProtoId; - } - if (other.HP != 0) { - HP = other.HP; - } - _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: { - FrameId = input.ReadUInt32(); - break; - } - case 16: { - EntType = (global::Nova.Client.Recorder.Types.EntityType) input.ReadEnum(); - break; - } - case 24: { - Id = input.ReadUInt32(); - break; - } - case 32: { - ProtoId = input.ReadUInt32(); - break; - } - case 40: { - HP = 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: { - FrameId = input.ReadUInt32(); - break; - } - case 16: { - EntType = (global::Nova.Client.Recorder.Types.EntityType) input.ReadEnum(); - break; - } - case 24: { - Id = input.ReadUInt32(); - break; - } - case 32: { - ProtoId = input.ReadUInt32(); - break; - } - case 40: { - HP = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Damage : pb::IMessage<Damage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Damage> _parser = new pb::MessageParser<Damage>(() => new Damage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Damage> 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.Recorder.Descriptor.NestedTypes[1]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Damage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Damage(Damage other) : this() { - id_ = other.id_; - frameId_ = other.frameId_; - dmgType_ = other.dmgType_; - value_ = other.value_; - hitDamageID_ = other.hitDamageID_; - isCrite_ = other.isCrite_; - from_ = other.from_ != null ? other.from_.Clone() : null; - to_ = other.to_ != null ? other.to_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Damage Clone() { - return new Damage(this); - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "frame_id" field.</summary> - public const int FrameIdFieldNumber = 2; - private uint frameId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint FrameId { - get { return frameId_; } - set { - frameId_ = value; - } - } - - /// <summary>Field number for the "dmg_type" field.</summary> - public const int DmgTypeFieldNumber = 3; - private global::Nova.Client.Recorder.Types.DamageType dmgType_ = global::Nova.Client.Recorder.Types.DamageType.Normal; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorder.Types.DamageType DmgType { - get { return dmgType_; } - set { - dmgType_ = value; - } - } - - /// <summary>Field number for the "value" field.</summary> - public const int ValueFieldNumber = 4; - private int value_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Value { - get { return value_; } - set { - value_ = value; - } - } - - /// <summary>Field number for the "hit_damage_i_d" field.</summary> - public const int HitDamageIDFieldNumber = 5; - private int hitDamageID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HitDamageID { - get { return hitDamageID_; } - set { - hitDamageID_ = value; - } - } - - /// <summary>Field number for the "is_crite" field.</summary> - public const int IsCriteFieldNumber = 6; - private bool isCrite_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsCrite { - get { return isCrite_; } - set { - isCrite_ = value; - } - } - - /// <summary>Field number for the "from" field.</summary> - public const int FromFieldNumber = 7; - private global::Nova.Client.Recorder.Types.Attacker from_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorder.Types.Attacker From { - get { return from_; } - set { - from_ = value; - } - } - - /// <summary>Field number for the "to" field.</summary> - public const int ToFieldNumber = 8; - private global::Nova.Client.Recorder.Types.Defender to_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorder.Types.Defender To { - get { return to_; } - set { - to_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Damage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Damage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (FrameId != other.FrameId) return false; - if (DmgType != other.DmgType) return false; - if (Value != other.Value) return false; - if (HitDamageID != other.HitDamageID) return false; - if (IsCrite != other.IsCrite) return false; - if (!object.Equals(From, other.From)) return false; - if (!object.Equals(To, other.To)) 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 (FrameId != 0) hash ^= FrameId.GetHashCode(); - if (DmgType != global::Nova.Client.Recorder.Types.DamageType.Normal) hash ^= DmgType.GetHashCode(); - if (Value != 0) hash ^= Value.GetHashCode(); - if (HitDamageID != 0) hash ^= HitDamageID.GetHashCode(); - if (IsCrite != false) hash ^= IsCrite.GetHashCode(); - if (from_ != null) hash ^= From.GetHashCode(); - if (to_ != null) hash ^= To.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.WriteUInt32(Id); - } - if (FrameId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(FrameId); - } - if (DmgType != global::Nova.Client.Recorder.Types.DamageType.Normal) { - output.WriteRawTag(24); - output.WriteEnum((int) DmgType); - } - if (Value != 0) { - output.WriteRawTag(32); - output.WriteInt32(Value); - } - if (HitDamageID != 0) { - output.WriteRawTag(40); - output.WriteInt32(HitDamageID); - } - if (IsCrite != false) { - output.WriteRawTag(48); - output.WriteBool(IsCrite); - } - if (from_ != null) { - output.WriteRawTag(58); - output.WriteMessage(From); - } - if (to_ != null) { - output.WriteRawTag(66); - output.WriteMessage(To); - } - 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.WriteUInt32(Id); - } - if (FrameId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(FrameId); - } - if (DmgType != global::Nova.Client.Recorder.Types.DamageType.Normal) { - output.WriteRawTag(24); - output.WriteEnum((int) DmgType); - } - if (Value != 0) { - output.WriteRawTag(32); - output.WriteInt32(Value); - } - if (HitDamageID != 0) { - output.WriteRawTag(40); - output.WriteInt32(HitDamageID); - } - if (IsCrite != false) { - output.WriteRawTag(48); - output.WriteBool(IsCrite); - } - if (from_ != null) { - output.WriteRawTag(58); - output.WriteMessage(From); - } - if (to_ != null) { - output.WriteRawTag(66); - output.WriteMessage(To); - } - 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.ComputeUInt32Size(Id); - } - if (FrameId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameId); - } - if (DmgType != global::Nova.Client.Recorder.Types.DamageType.Normal) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DmgType); - } - if (Value != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); - } - if (HitDamageID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HitDamageID); - } - if (IsCrite != false) { - size += 1 + 1; - } - if (from_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(From); - } - if (to_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(To); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Damage other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.FrameId != 0) { - FrameId = other.FrameId; - } - if (other.DmgType != global::Nova.Client.Recorder.Types.DamageType.Normal) { - DmgType = other.DmgType; - } - if (other.Value != 0) { - Value = other.Value; - } - if (other.HitDamageID != 0) { - HitDamageID = other.HitDamageID; - } - if (other.IsCrite != false) { - IsCrite = other.IsCrite; - } - if (other.from_ != null) { - if (from_ == null) { - From = new global::Nova.Client.Recorder.Types.Attacker(); - } - From.MergeFrom(other.From); - } - if (other.to_ != null) { - if (to_ == null) { - To = new global::Nova.Client.Recorder.Types.Defender(); - } - To.MergeFrom(other.To); - } - _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.ReadUInt32(); - break; - } - case 16: { - FrameId = input.ReadUInt32(); - break; - } - case 24: { - DmgType = (global::Nova.Client.Recorder.Types.DamageType) input.ReadEnum(); - break; - } - case 32: { - Value = input.ReadInt32(); - break; - } - case 40: { - HitDamageID = input.ReadInt32(); - break; - } - case 48: { - IsCrite = input.ReadBool(); - break; - } - case 58: { - if (from_ == null) { - From = new global::Nova.Client.Recorder.Types.Attacker(); - } - input.ReadMessage(From); - break; - } - case 66: { - if (to_ == null) { - To = new global::Nova.Client.Recorder.Types.Defender(); - } - input.ReadMessage(To); - 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.ReadUInt32(); - break; - } - case 16: { - FrameId = input.ReadUInt32(); - break; - } - case 24: { - DmgType = (global::Nova.Client.Recorder.Types.DamageType) input.ReadEnum(); - break; - } - case 32: { - Value = input.ReadInt32(); - break; - } - case 40: { - HitDamageID = input.ReadInt32(); - break; - } - case 48: { - IsCrite = input.ReadBool(); - break; - } - case 58: { - if (from_ == null) { - From = new global::Nova.Client.Recorder.Types.Attacker(); - } - input.ReadMessage(From); - break; - } - case 66: { - if (to_ == null) { - To = new global::Nova.Client.Recorder.Types.Defender(); - } - input.ReadMessage(To); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Attacker : pb::IMessage<Attacker> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Attacker> _parser = new pb::MessageParser<Attacker>(() => new Attacker()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Attacker> 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.Recorder.Descriptor.NestedTypes[2]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attacker() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attacker(Attacker other) : this() { - id_ = other.id_; - protoId_ = other.protoId_; - entClass_ = other.entClass_; - atk_ = other.atk_; - skillPercentAmend_ = other.skillPercentAmend_; - talentGroupPercentAmend_ = other.talentGroupPercentAmend_; - skillAbsAmend_ = other.skillAbsAmend_; - talentGroupAbsAmend_ = other.talentGroupAbsAmend_; - perkIntensityRatio_ = other.perkIntensityRatio_; - slotDmgRatio_ = other.slotDmgRatio_; - eE_ = other.eE_; - genDmgRatio_ = other.genDmgRatio_; - dmgPlus_ = other.dmgPlus_; - critRatio_ = other.critRatio_; - finalDmgRatio_ = other.finalDmgRatio_; - finalDmgPlus_ = other.finalDmgPlus_; - critRate_ = other.critRate_; - defPierce_ = other.defPierce_; - defIgnore_ = other.defIgnore_; - wEP_ = other.wEP_; - fEP_ = other.fEP_; - sEP_ = other.sEP_; - aEP_ = other.aEP_; - lEP_ = other.lEP_; - dEP_ = other.dEP_; - wEI_ = other.wEI_; - fEI_ = other.fEI_; - sEI_ = other.sEI_; - aEI_ = other.aEI_; - lEI_ = other.lEI_; - dEI_ = other.dEI_; - buffIDs_ = other.buffIDs_.Clone(); - effectIDs_ = other.effectIDs_.Clone(); - attributes_ = other.attributes_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attacker Clone() { - return new Attacker(this); - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "proto_id" field.</summary> - public const int ProtoIdFieldNumber = 2; - private uint protoId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint ProtoId { - get { return protoId_; } - set { - protoId_ = value; - } - } - - /// <summary>Field number for the "ent_class" field.</summary> - public const int EntClassFieldNumber = 3; - private global::Nova.Client.Recorder.Types.EntityClass entClass_ = global::Nova.Client.Recorder.Types.EntityClass.Role; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorder.Types.EntityClass EntClass { - get { return entClass_; } - set { - entClass_ = value; - } - } - - /// <summary>Field number for the "atk" field.</summary> - public const int AtkFieldNumber = 4; - private float atk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Atk { - get { return atk_; } - set { - atk_ = value; - } - } - - /// <summary>Field number for the "skill_percent_amend" field.</summary> - public const int SkillPercentAmendFieldNumber = 5; - private float skillPercentAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SkillPercentAmend { - get { return skillPercentAmend_; } - set { - skillPercentAmend_ = value; - } - } - - /// <summary>Field number for the "talent_group_percent_amend" field.</summary> - public const int TalentGroupPercentAmendFieldNumber = 6; - private float talentGroupPercentAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float TalentGroupPercentAmend { - get { return talentGroupPercentAmend_; } - set { - talentGroupPercentAmend_ = value; - } - } - - /// <summary>Field number for the "skill_abs_amend" field.</summary> - public const int SkillAbsAmendFieldNumber = 7; - private float skillAbsAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SkillAbsAmend { - get { return skillAbsAmend_; } - set { - skillAbsAmend_ = value; - } - } - - /// <summary>Field number for the "talent_group_abs_amend" field.</summary> - public const int TalentGroupAbsAmendFieldNumber = 8; - private float talentGroupAbsAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float TalentGroupAbsAmend { - get { return talentGroupAbsAmend_; } - set { - talentGroupAbsAmend_ = value; - } - } - - /// <summary>Field number for the "perk_intensity_ratio" field.</summary> - public const int PerkIntensityRatioFieldNumber = 9; - private float perkIntensityRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float PerkIntensityRatio { - get { return perkIntensityRatio_; } - set { - perkIntensityRatio_ = value; - } - } - - /// <summary>Field number for the "slot_dmg_ratio" field.</summary> - public const int SlotDmgRatioFieldNumber = 10; - private float slotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SlotDmgRatio { - get { return slotDmgRatio_; } - set { - slotDmgRatio_ = value; - } - } - - /// <summary>Field number for the "e_e" field.</summary> - public const int EEFieldNumber = 11; - private float eE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float EE { - get { return eE_; } - set { - eE_ = value; - } - } - - /// <summary>Field number for the "gen_dmg_ratio" field.</summary> - public const int GenDmgRatioFieldNumber = 12; - private float genDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float GenDmgRatio { - get { return genDmgRatio_; } - set { - genDmgRatio_ = value; - } - } - - /// <summary>Field number for the "dmg_plus" field.</summary> - public const int DmgPlusFieldNumber = 13; - private float dmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DmgPlus { - get { return dmgPlus_; } - set { - dmgPlus_ = value; - } - } - - /// <summary>Field number for the "crit_ratio" field.</summary> - public const int CritRatioFieldNumber = 14; - private float critRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float CritRatio { - get { return critRatio_; } - set { - critRatio_ = value; - } - } - - /// <summary>Field number for the "final_dmg_ratio" field.</summary> - public const int FinalDmgRatioFieldNumber = 15; - private float finalDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float FinalDmgRatio { - get { return finalDmgRatio_; } - set { - finalDmgRatio_ = value; - } - } - - /// <summary>Field number for the "final_dmg_plus" field.</summary> - public const int FinalDmgPlusFieldNumber = 16; - private float finalDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float FinalDmgPlus { - get { return finalDmgPlus_; } - set { - finalDmgPlus_ = value; - } - } - - /// <summary>Field number for the "crit_rate" field.</summary> - public const int CritRateFieldNumber = 17; - private float critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// <summary>Field number for the "def_pierce" field.</summary> - public const int DefPierceFieldNumber = 18; - private float defPierce_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DefPierce { - get { return defPierce_; } - set { - defPierce_ = value; - } - } - - /// <summary>Field number for the "def_ignore" field.</summary> - public const int DefIgnoreFieldNumber = 19; - private float defIgnore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DefIgnore { - get { return defIgnore_; } - set { - defIgnore_ = value; - } - } - - /// <summary>Field number for the "w_e_p" field.</summary> - public const int WEPFieldNumber = 20; - private int wEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEP { - get { return wEP_; } - set { - wEP_ = value; - } - } - - /// <summary>Field number for the "f_e_p" field.</summary> - public const int FEPFieldNumber = 21; - private int fEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEP { - get { return fEP_; } - set { - fEP_ = value; - } - } - - /// <summary>Field number for the "s_e_p" field.</summary> - public const int SEPFieldNumber = 22; - private int sEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEP { - get { return sEP_; } - set { - sEP_ = value; - } - } - - /// <summary>Field number for the "a_e_p" field.</summary> - public const int AEPFieldNumber = 23; - private int aEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEP { - get { return aEP_; } - set { - aEP_ = value; - } - } - - /// <summary>Field number for the "l_e_p" field.</summary> - public const int LEPFieldNumber = 24; - private int lEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEP { - get { return lEP_; } - set { - lEP_ = value; - } - } - - /// <summary>Field number for the "d_e_p" field.</summary> - public const int DEPFieldNumber = 25; - private int dEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEP { - get { return dEP_; } - set { - dEP_ = value; - } - } - - /// <summary>Field number for the "w_e_i" field.</summary> - public const int WEIFieldNumber = 26; - private float wEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float WEI { - get { return wEI_; } - set { - wEI_ = value; - } - } - - /// <summary>Field number for the "f_e_i" field.</summary> - public const int FEIFieldNumber = 27; - private float fEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float FEI { - get { return fEI_; } - set { - fEI_ = value; - } - } - - /// <summary>Field number for the "s_e_i" field.</summary> - public const int SEIFieldNumber = 28; - private float sEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SEI { - get { return sEI_; } - set { - sEI_ = value; - } - } - - /// <summary>Field number for the "a_e_i" field.</summary> - public const int AEIFieldNumber = 29; - private float aEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float AEI { - get { return aEI_; } - set { - aEI_ = value; - } - } - - /// <summary>Field number for the "l_e_i" field.</summary> - public const int LEIFieldNumber = 30; - private float lEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float LEI { - get { return lEI_; } - set { - lEI_ = value; - } - } - - /// <summary>Field number for the "d_e_i" field.</summary> - public const int DEIFieldNumber = 31; - private float dEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DEI { - get { return dEI_; } - set { - dEI_ = value; - } - } - - /// <summary>Field number for the "buff_i_ds" field.</summary> - public const int BuffIDsFieldNumber = 32; - private static readonly pb::FieldCodec<int> _repeated_buffIDs_codec - = pb::FieldCodec.ForInt32(258); - private readonly pbc::RepeatedField<int> buffIDs_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> BuffIDs { - get { return buffIDs_; } - } - - /// <summary>Field number for the "effect_i_ds" field.</summary> - public const int EffectIDsFieldNumber = 34; - private static readonly pb::FieldCodec<int> _repeated_effectIDs_codec - = pb::FieldCodec.ForInt32(274); - private readonly pbc::RepeatedField<int> effectIDs_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EffectIDs { - get { return effectIDs_; } - } - - /// <summary>Field number for the "attributes" field.</summary> - public const int AttributesFieldNumber = 35; - private static readonly pb::FieldCodec<global::Nova.Client.Recorder.Types.Attribute> _repeated_attributes_codec - = pb::FieldCodec.ForMessage(282, global::Nova.Client.Recorder.Types.Attribute.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorder.Types.Attribute> attributes_ = new pbc::RepeatedField<global::Nova.Client.Recorder.Types.Attribute>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorder.Types.Attribute> Attributes { - get { return attributes_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Attacker); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Attacker other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ProtoId != other.ProtoId) return false; - if (EntClass != other.EntClass) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Atk, other.Atk)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SkillPercentAmend, other.SkillPercentAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TalentGroupPercentAmend, other.TalentGroupPercentAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SkillAbsAmend, other.SkillAbsAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TalentGroupAbsAmend, other.TalentGroupAbsAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PerkIntensityRatio, other.PerkIntensityRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SlotDmgRatio, other.SlotDmgRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EE, other.EE)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(GenDmgRatio, other.GenDmgRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DmgPlus, other.DmgPlus)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CritRatio, other.CritRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FinalDmgRatio, other.FinalDmgRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FinalDmgPlus, other.FinalDmgPlus)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CritRate, other.CritRate)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DefPierce, other.DefPierce)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DefIgnore, other.DefIgnore)) return false; - if (WEP != other.WEP) return false; - if (FEP != other.FEP) return false; - if (SEP != other.SEP) return false; - if (AEP != other.AEP) return false; - if (LEP != other.LEP) return false; - if (DEP != other.DEP) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(WEI, other.WEI)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FEI, other.FEI)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SEI, other.SEI)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AEI, other.AEI)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LEI, other.LEI)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DEI, other.DEI)) return false; - if(!buffIDs_.Equals(other.buffIDs_)) return false; - if(!effectIDs_.Equals(other.effectIDs_)) return false; - if(!attributes_.Equals(other.attributes_)) 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 (ProtoId != 0) hash ^= ProtoId.GetHashCode(); - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) hash ^= EntClass.GetHashCode(); - if (Atk != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Atk); - if (SkillPercentAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SkillPercentAmend); - if (TalentGroupPercentAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TalentGroupPercentAmend); - if (SkillAbsAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SkillAbsAmend); - if (TalentGroupAbsAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(TalentGroupAbsAmend); - if (PerkIntensityRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PerkIntensityRatio); - if (SlotDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SlotDmgRatio); - if (EE != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(EE); - if (GenDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GenDmgRatio); - if (DmgPlus != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DmgPlus); - if (CritRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CritRatio); - if (FinalDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FinalDmgRatio); - if (FinalDmgPlus != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FinalDmgPlus); - if (CritRate != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CritRate); - if (DefPierce != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DefPierce); - if (DefIgnore != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DefIgnore); - if (WEP != 0) hash ^= WEP.GetHashCode(); - if (FEP != 0) hash ^= FEP.GetHashCode(); - if (SEP != 0) hash ^= SEP.GetHashCode(); - if (AEP != 0) hash ^= AEP.GetHashCode(); - if (LEP != 0) hash ^= LEP.GetHashCode(); - if (DEP != 0) hash ^= DEP.GetHashCode(); - if (WEI != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(WEI); - if (FEI != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FEI); - if (SEI != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SEI); - if (AEI != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AEI); - if (LEI != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LEI); - if (DEI != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DEI); - hash ^= buffIDs_.GetHashCode(); - hash ^= effectIDs_.GetHashCode(); - hash ^= attributes_.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.WriteUInt32(Id); - } - if (ProtoId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(ProtoId); - } - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - output.WriteRawTag(24); - output.WriteEnum((int) EntClass); - } - if (Atk != 0F) { - output.WriteRawTag(37); - output.WriteFloat(Atk); - } - if (SkillPercentAmend != 0F) { - output.WriteRawTag(45); - output.WriteFloat(SkillPercentAmend); - } - if (TalentGroupPercentAmend != 0F) { - output.WriteRawTag(53); - output.WriteFloat(TalentGroupPercentAmend); - } - if (SkillAbsAmend != 0F) { - output.WriteRawTag(61); - output.WriteFloat(SkillAbsAmend); - } - if (TalentGroupAbsAmend != 0F) { - output.WriteRawTag(69); - output.WriteFloat(TalentGroupAbsAmend); - } - if (PerkIntensityRatio != 0F) { - output.WriteRawTag(77); - output.WriteFloat(PerkIntensityRatio); - } - if (SlotDmgRatio != 0F) { - output.WriteRawTag(85); - output.WriteFloat(SlotDmgRatio); - } - if (EE != 0F) { - output.WriteRawTag(93); - output.WriteFloat(EE); - } - if (GenDmgRatio != 0F) { - output.WriteRawTag(101); - output.WriteFloat(GenDmgRatio); - } - if (DmgPlus != 0F) { - output.WriteRawTag(109); - output.WriteFloat(DmgPlus); - } - if (CritRatio != 0F) { - output.WriteRawTag(117); - output.WriteFloat(CritRatio); - } - if (FinalDmgRatio != 0F) { - output.WriteRawTag(125); - output.WriteFloat(FinalDmgRatio); - } - if (FinalDmgPlus != 0F) { - output.WriteRawTag(133, 1); - output.WriteFloat(FinalDmgPlus); - } - if (CritRate != 0F) { - output.WriteRawTag(141, 1); - output.WriteFloat(CritRate); - } - if (DefPierce != 0F) { - output.WriteRawTag(149, 1); - output.WriteFloat(DefPierce); - } - if (DefIgnore != 0F) { - output.WriteRawTag(157, 1); - output.WriteFloat(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(DEP); - } - if (WEI != 0F) { - output.WriteRawTag(213, 1); - output.WriteFloat(WEI); - } - if (FEI != 0F) { - output.WriteRawTag(221, 1); - output.WriteFloat(FEI); - } - if (SEI != 0F) { - output.WriteRawTag(229, 1); - output.WriteFloat(SEI); - } - if (AEI != 0F) { - output.WriteRawTag(237, 1); - output.WriteFloat(AEI); - } - if (LEI != 0F) { - output.WriteRawTag(245, 1); - output.WriteFloat(LEI); - } - if (DEI != 0F) { - output.WriteRawTag(253, 1); - output.WriteFloat(DEI); - } - buffIDs_.WriteTo(output, _repeated_buffIDs_codec); - effectIDs_.WriteTo(output, _repeated_effectIDs_codec); - attributes_.WriteTo(output, _repeated_attributes_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.WriteUInt32(Id); - } - if (ProtoId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(ProtoId); - } - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - output.WriteRawTag(24); - output.WriteEnum((int) EntClass); - } - if (Atk != 0F) { - output.WriteRawTag(37); - output.WriteFloat(Atk); - } - if (SkillPercentAmend != 0F) { - output.WriteRawTag(45); - output.WriteFloat(SkillPercentAmend); - } - if (TalentGroupPercentAmend != 0F) { - output.WriteRawTag(53); - output.WriteFloat(TalentGroupPercentAmend); - } - if (SkillAbsAmend != 0F) { - output.WriteRawTag(61); - output.WriteFloat(SkillAbsAmend); - } - if (TalentGroupAbsAmend != 0F) { - output.WriteRawTag(69); - output.WriteFloat(TalentGroupAbsAmend); - } - if (PerkIntensityRatio != 0F) { - output.WriteRawTag(77); - output.WriteFloat(PerkIntensityRatio); - } - if (SlotDmgRatio != 0F) { - output.WriteRawTag(85); - output.WriteFloat(SlotDmgRatio); - } - if (EE != 0F) { - output.WriteRawTag(93); - output.WriteFloat(EE); - } - if (GenDmgRatio != 0F) { - output.WriteRawTag(101); - output.WriteFloat(GenDmgRatio); - } - if (DmgPlus != 0F) { - output.WriteRawTag(109); - output.WriteFloat(DmgPlus); - } - if (CritRatio != 0F) { - output.WriteRawTag(117); - output.WriteFloat(CritRatio); - } - if (FinalDmgRatio != 0F) { - output.WriteRawTag(125); - output.WriteFloat(FinalDmgRatio); - } - if (FinalDmgPlus != 0F) { - output.WriteRawTag(133, 1); - output.WriteFloat(FinalDmgPlus); - } - if (CritRate != 0F) { - output.WriteRawTag(141, 1); - output.WriteFloat(CritRate); - } - if (DefPierce != 0F) { - output.WriteRawTag(149, 1); - output.WriteFloat(DefPierce); - } - if (DefIgnore != 0F) { - output.WriteRawTag(157, 1); - output.WriteFloat(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(DEP); - } - if (WEI != 0F) { - output.WriteRawTag(213, 1); - output.WriteFloat(WEI); - } - if (FEI != 0F) { - output.WriteRawTag(221, 1); - output.WriteFloat(FEI); - } - if (SEI != 0F) { - output.WriteRawTag(229, 1); - output.WriteFloat(SEI); - } - if (AEI != 0F) { - output.WriteRawTag(237, 1); - output.WriteFloat(AEI); - } - if (LEI != 0F) { - output.WriteRawTag(245, 1); - output.WriteFloat(LEI); - } - if (DEI != 0F) { - output.WriteRawTag(253, 1); - output.WriteFloat(DEI); - } - buffIDs_.WriteTo(ref output, _repeated_buffIDs_codec); - effectIDs_.WriteTo(ref output, _repeated_effectIDs_codec); - attributes_.WriteTo(ref output, _repeated_attributes_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.ComputeUInt32Size(Id); - } - if (ProtoId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProtoId); - } - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EntClass); - } - if (Atk != 0F) { - size += 1 + 4; - } - if (SkillPercentAmend != 0F) { - size += 1 + 4; - } - if (TalentGroupPercentAmend != 0F) { - size += 1 + 4; - } - if (SkillAbsAmend != 0F) { - size += 1 + 4; - } - if (TalentGroupAbsAmend != 0F) { - size += 1 + 4; - } - if (PerkIntensityRatio != 0F) { - size += 1 + 4; - } - if (SlotDmgRatio != 0F) { - size += 1 + 4; - } - if (EE != 0F) { - size += 1 + 4; - } - if (GenDmgRatio != 0F) { - size += 1 + 4; - } - if (DmgPlus != 0F) { - size += 1 + 4; - } - if (CritRatio != 0F) { - size += 1 + 4; - } - if (FinalDmgRatio != 0F) { - size += 1 + 4; - } - if (FinalDmgPlus != 0F) { - size += 2 + 4; - } - if (CritRate != 0F) { - size += 2 + 4; - } - if (DefPierce != 0F) { - size += 2 + 4; - } - if (DefIgnore != 0F) { - size += 2 + 4; - } - if (WEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); - } - if (FEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); - } - if (SEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); - } - if (AEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); - } - if (LEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); - } - if (DEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); - } - if (WEI != 0F) { - size += 2 + 4; - } - if (FEI != 0F) { - size += 2 + 4; - } - if (SEI != 0F) { - size += 2 + 4; - } - if (AEI != 0F) { - size += 2 + 4; - } - if (LEI != 0F) { - size += 2 + 4; - } - if (DEI != 0F) { - size += 2 + 4; - } - size += buffIDs_.CalculateSize(_repeated_buffIDs_codec); - size += effectIDs_.CalculateSize(_repeated_effectIDs_codec); - size += attributes_.CalculateSize(_repeated_attributes_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Attacker other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ProtoId != 0) { - ProtoId = other.ProtoId; - } - if (other.EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - EntClass = other.EntClass; - } - if (other.Atk != 0F) { - Atk = other.Atk; - } - if (other.SkillPercentAmend != 0F) { - SkillPercentAmend = other.SkillPercentAmend; - } - if (other.TalentGroupPercentAmend != 0F) { - TalentGroupPercentAmend = other.TalentGroupPercentAmend; - } - if (other.SkillAbsAmend != 0F) { - SkillAbsAmend = other.SkillAbsAmend; - } - if (other.TalentGroupAbsAmend != 0F) { - TalentGroupAbsAmend = other.TalentGroupAbsAmend; - } - if (other.PerkIntensityRatio != 0F) { - PerkIntensityRatio = other.PerkIntensityRatio; - } - if (other.SlotDmgRatio != 0F) { - SlotDmgRatio = other.SlotDmgRatio; - } - if (other.EE != 0F) { - EE = other.EE; - } - if (other.GenDmgRatio != 0F) { - GenDmgRatio = other.GenDmgRatio; - } - if (other.DmgPlus != 0F) { - DmgPlus = other.DmgPlus; - } - if (other.CritRatio != 0F) { - CritRatio = other.CritRatio; - } - if (other.FinalDmgRatio != 0F) { - FinalDmgRatio = other.FinalDmgRatio; - } - if (other.FinalDmgPlus != 0F) { - FinalDmgPlus = other.FinalDmgPlus; - } - if (other.CritRate != 0F) { - CritRate = other.CritRate; - } - if (other.DefPierce != 0F) { - DefPierce = other.DefPierce; - } - if (other.DefIgnore != 0F) { - DefIgnore = other.DefIgnore; - } - if (other.WEP != 0) { - WEP = other.WEP; - } - if (other.FEP != 0) { - FEP = other.FEP; - } - if (other.SEP != 0) { - SEP = other.SEP; - } - if (other.AEP != 0) { - AEP = other.AEP; - } - if (other.LEP != 0) { - LEP = other.LEP; - } - if (other.DEP != 0) { - DEP = other.DEP; - } - if (other.WEI != 0F) { - WEI = other.WEI; - } - if (other.FEI != 0F) { - FEI = other.FEI; - } - if (other.SEI != 0F) { - SEI = other.SEI; - } - if (other.AEI != 0F) { - AEI = other.AEI; - } - if (other.LEI != 0F) { - LEI = other.LEI; - } - if (other.DEI != 0F) { - DEI = other.DEI; - } - buffIDs_.Add(other.buffIDs_); - effectIDs_.Add(other.effectIDs_); - attributes_.Add(other.attributes_); - _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.ReadUInt32(); - break; - } - case 16: { - ProtoId = input.ReadUInt32(); - break; - } - case 24: { - EntClass = (global::Nova.Client.Recorder.Types.EntityClass) input.ReadEnum(); - break; - } - case 37: { - Atk = input.ReadFloat(); - break; - } - case 45: { - SkillPercentAmend = input.ReadFloat(); - break; - } - case 53: { - TalentGroupPercentAmend = input.ReadFloat(); - break; - } - case 61: { - SkillAbsAmend = input.ReadFloat(); - break; - } - case 69: { - TalentGroupAbsAmend = input.ReadFloat(); - break; - } - case 77: { - PerkIntensityRatio = input.ReadFloat(); - break; - } - case 85: { - SlotDmgRatio = input.ReadFloat(); - break; - } - case 93: { - EE = input.ReadFloat(); - break; - } - case 101: { - GenDmgRatio = input.ReadFloat(); - break; - } - case 109: { - DmgPlus = input.ReadFloat(); - break; - } - case 117: { - CritRatio = input.ReadFloat(); - break; - } - case 125: { - FinalDmgRatio = input.ReadFloat(); - break; - } - case 133: { - FinalDmgPlus = input.ReadFloat(); - break; - } - case 141: { - CritRate = input.ReadFloat(); - break; - } - case 149: { - DefPierce = input.ReadFloat(); - break; - } - case 157: { - DefIgnore = input.ReadFloat(); - break; - } - case 160: { - WEP = input.ReadInt32(); - break; - } - case 168: { - FEP = input.ReadInt32(); - break; - } - case 176: { - SEP = input.ReadInt32(); - break; - } - case 184: { - AEP = input.ReadInt32(); - break; - } - case 192: { - LEP = input.ReadInt32(); - break; - } - case 200: { - DEP = input.ReadInt32(); - break; - } - case 213: { - WEI = input.ReadFloat(); - break; - } - case 221: { - FEI = input.ReadFloat(); - break; - } - case 229: { - SEI = input.ReadFloat(); - break; - } - case 237: { - AEI = input.ReadFloat(); - break; - } - case 245: { - LEI = input.ReadFloat(); - break; - } - case 253: { - DEI = input.ReadFloat(); - break; - } - case 258: - case 256: { - buffIDs_.AddEntriesFrom(input, _repeated_buffIDs_codec); - break; - } - case 274: - case 272: { - effectIDs_.AddEntriesFrom(input, _repeated_effectIDs_codec); - break; - } - case 282: { - attributes_.AddEntriesFrom(input, _repeated_attributes_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.ReadUInt32(); - break; - } - case 16: { - ProtoId = input.ReadUInt32(); - break; - } - case 24: { - EntClass = (global::Nova.Client.Recorder.Types.EntityClass) input.ReadEnum(); - break; - } - case 37: { - Atk = input.ReadFloat(); - break; - } - case 45: { - SkillPercentAmend = input.ReadFloat(); - break; - } - case 53: { - TalentGroupPercentAmend = input.ReadFloat(); - break; - } - case 61: { - SkillAbsAmend = input.ReadFloat(); - break; - } - case 69: { - TalentGroupAbsAmend = input.ReadFloat(); - break; - } - case 77: { - PerkIntensityRatio = input.ReadFloat(); - break; - } - case 85: { - SlotDmgRatio = input.ReadFloat(); - break; - } - case 93: { - EE = input.ReadFloat(); - break; - } - case 101: { - GenDmgRatio = input.ReadFloat(); - break; - } - case 109: { - DmgPlus = input.ReadFloat(); - break; - } - case 117: { - CritRatio = input.ReadFloat(); - break; - } - case 125: { - FinalDmgRatio = input.ReadFloat(); - break; - } - case 133: { - FinalDmgPlus = input.ReadFloat(); - break; - } - case 141: { - CritRate = input.ReadFloat(); - break; - } - case 149: { - DefPierce = input.ReadFloat(); - break; - } - case 157: { - DefIgnore = input.ReadFloat(); - break; - } - case 160: { - WEP = input.ReadInt32(); - break; - } - case 168: { - FEP = input.ReadInt32(); - break; - } - case 176: { - SEP = input.ReadInt32(); - break; - } - case 184: { - AEP = input.ReadInt32(); - break; - } - case 192: { - LEP = input.ReadInt32(); - break; - } - case 200: { - DEP = input.ReadInt32(); - break; - } - case 213: { - WEI = input.ReadFloat(); - break; - } - case 221: { - FEI = input.ReadFloat(); - break; - } - case 229: { - SEI = input.ReadFloat(); - break; - } - case 237: { - AEI = input.ReadFloat(); - break; - } - case 245: { - LEI = input.ReadFloat(); - break; - } - case 253: { - DEI = input.ReadFloat(); - break; - } - case 258: - case 256: { - buffIDs_.AddEntriesFrom(ref input, _repeated_buffIDs_codec); - break; - } - case 274: - case 272: { - effectIDs_.AddEntriesFrom(ref input, _repeated_effectIDs_codec); - break; - } - case 282: { - attributes_.AddEntriesFrom(ref input, _repeated_attributes_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Attribute : pb::IMessage<Attribute> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Attribute> _parser = new pb::MessageParser<Attribute>(() => new Attribute()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Attribute> 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.Recorder.Descriptor.NestedTypes[3]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attribute(Attribute other) : this() { - origin_ = other.origin_; - baseAmend_ = other.baseAmend_; - percentAmend_ = other.percentAmend_; - absAmend_ = other.absAmend_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Attribute Clone() { - return new Attribute(this); - } - - /// <summary>Field number for the "origin" field.</summary> - public const int OriginFieldNumber = 1; - private float origin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Origin { - get { return origin_; } - set { - origin_ = value; - } - } - - /// <summary>Field number for the "base_amend" field.</summary> - public const int BaseAmendFieldNumber = 2; - private float baseAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float BaseAmend { - get { return baseAmend_; } - set { - baseAmend_ = value; - } - } - - /// <summary>Field number for the "percent_amend" field.</summary> - public const int PercentAmendFieldNumber = 3; - private float percentAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float PercentAmend { - get { return percentAmend_; } - set { - percentAmend_ = value; - } - } - - /// <summary>Field number for the "abs_amend" field.</summary> - public const int AbsAmendFieldNumber = 4; - private float absAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float AbsAmend { - get { return absAmend_; } - set { - absAmend_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Attribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Attribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Origin, other.Origin)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BaseAmend, other.BaseAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PercentAmend, other.PercentAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AbsAmend, other.AbsAmend)) 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 (Origin != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Origin); - if (BaseAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BaseAmend); - if (PercentAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PercentAmend); - if (AbsAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AbsAmend); - 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 (Origin != 0F) { - output.WriteRawTag(13); - output.WriteFloat(Origin); - } - if (BaseAmend != 0F) { - output.WriteRawTag(21); - output.WriteFloat(BaseAmend); - } - if (PercentAmend != 0F) { - output.WriteRawTag(29); - output.WriteFloat(PercentAmend); - } - if (AbsAmend != 0F) { - output.WriteRawTag(37); - output.WriteFloat(AbsAmend); - } - 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 (Origin != 0F) { - output.WriteRawTag(13); - output.WriteFloat(Origin); - } - if (BaseAmend != 0F) { - output.WriteRawTag(21); - output.WriteFloat(BaseAmend); - } - if (PercentAmend != 0F) { - output.WriteRawTag(29); - output.WriteFloat(PercentAmend); - } - if (AbsAmend != 0F) { - output.WriteRawTag(37); - output.WriteFloat(AbsAmend); - } - 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 (Origin != 0F) { - size += 1 + 4; - } - if (BaseAmend != 0F) { - size += 1 + 4; - } - if (PercentAmend != 0F) { - size += 1 + 4; - } - if (AbsAmend != 0F) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Attribute other) { - if (other == null) { - return; - } - if (other.Origin != 0F) { - Origin = other.Origin; - } - if (other.BaseAmend != 0F) { - BaseAmend = other.BaseAmend; - } - if (other.PercentAmend != 0F) { - PercentAmend = other.PercentAmend; - } - if (other.AbsAmend != 0F) { - AbsAmend = other.AbsAmend; - } - _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 13: { - Origin = input.ReadFloat(); - break; - } - case 21: { - BaseAmend = input.ReadFloat(); - break; - } - case 29: { - PercentAmend = input.ReadFloat(); - break; - } - case 37: { - AbsAmend = input.ReadFloat(); - 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 13: { - Origin = input.ReadFloat(); - break; - } - case 21: { - BaseAmend = input.ReadFloat(); - break; - } - case 29: { - PercentAmend = input.ReadFloat(); - break; - } - case 37: { - AbsAmend = input.ReadFloat(); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Defender : pb::IMessage<Defender> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Defender> _parser = new pb::MessageParser<Defender>(() => new Defender()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Defender> 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.Recorder.Descriptor.NestedTypes[4]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Defender() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Defender(Defender other) : this() { - id_ = other.id_; - protoId_ = other.protoId_; - entClass_ = other.entClass_; - hP_ = other.hP_; - maxHP_ = other.maxHP_; - erAmend_ = other.erAmend_; - defAmend_ = other.defAmend_; - rcdSlotDmgRatio_ = other.rcdSlotDmgRatio_; - eERCD_ = other.eERCD_; - genDmgRcdRatio_ = other.genDmgRcdRatio_; - dmgPlusRcd_ = other.dmgPlusRcd_; - srcDef_ = other.srcDef_; - critResistance_ = other.critResistance_; - wER_ = other.wER_; - fER_ = other.fER_; - sER_ = other.sER_; - aER_ = other.aER_; - lER_ = other.lER_; - dER_ = other.dER_; - suppress_ = other.suppress_; - buffIDs_ = other.buffIDs_.Clone(); - effectIDs_ = other.effectIDs_.Clone(); - attributes_ = other.attributes_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Defender Clone() { - return new Defender(this); - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "proto_id" field.</summary> - public const int ProtoIdFieldNumber = 2; - private uint protoId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint ProtoId { - get { return protoId_; } - set { - protoId_ = value; - } - } - - /// <summary>Field number for the "ent_class" field.</summary> - public const int EntClassFieldNumber = 3; - private global::Nova.Client.Recorder.Types.EntityClass entClass_ = global::Nova.Client.Recorder.Types.EntityClass.Role; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorder.Types.EntityClass EntClass { - get { return entClass_; } - set { - entClass_ = value; - } - } - - /// <summary>Field number for the "h_p" field.</summary> - public const int HPFieldNumber = 4; - private int hP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HP { - get { return hP_; } - set { - hP_ = value; - } - } - - /// <summary>Field number for the "max_h_p" field.</summary> - public const int MaxHPFieldNumber = 5; - private int maxHP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxHP { - get { return maxHP_; } - set { - maxHP_ = value; - } - } - - /// <summary>Field number for the "er_amend" field.</summary> - public const int ErAmendFieldNumber = 6; - private float erAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float ErAmend { - get { return erAmend_; } - set { - erAmend_ = value; - } - } - - /// <summary>Field number for the "def_amend" field.</summary> - public const int DefAmendFieldNumber = 7; - private float defAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DefAmend { - get { return defAmend_; } - set { - defAmend_ = value; - } - } - - /// <summary>Field number for the "rcd_slot_dmg_ratio" field.</summary> - public const int RcdSlotDmgRatioFieldNumber = 8; - private float rcdSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float RcdSlotDmgRatio { - get { return rcdSlotDmgRatio_; } - set { - rcdSlotDmgRatio_ = value; - } - } - - /// <summary>Field number for the "e_e_r_c_d" field.</summary> - public const int EERCDFieldNumber = 9; - private float eERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float EERCD { - get { return eERCD_; } - set { - eERCD_ = value; - } - } - - /// <summary>Field number for the "gen_dmg_rcd_ratio" field.</summary> - public const int GenDmgRcdRatioFieldNumber = 10; - private float genDmgRcdRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float GenDmgRcdRatio { - get { return genDmgRcdRatio_; } - set { - genDmgRcdRatio_ = value; - } - } - - /// <summary>Field number for the "dmg_plus_rcd" field.</summary> - public const int DmgPlusRcdFieldNumber = 11; - private float dmgPlusRcd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float DmgPlusRcd { - get { return dmgPlusRcd_; } - set { - dmgPlusRcd_ = value; - } - } - - /// <summary>Field number for the "src_def" field.</summary> - public const int SrcDefFieldNumber = 12; - private float srcDef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float SrcDef { - get { return srcDef_; } - set { - srcDef_ = value; - } - } - - /// <summary>Field number for the "crit_resistance" field.</summary> - public const int CritResistanceFieldNumber = 13; - private float critResistance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float CritResistance { - get { return critResistance_; } - set { - critResistance_ = value; - } - } - - /// <summary>Field number for the "w_e_r" field.</summary> - public const int WERFieldNumber = 14; - private int wER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WER { - get { return wER_; } - set { - wER_ = value; - } - } - - /// <summary>Field number for the "f_e_r" field.</summary> - public const int FERFieldNumber = 15; - private int fER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FER { - get { return fER_; } - set { - fER_ = value; - } - } - - /// <summary>Field number for the "s_e_r" field.</summary> - public const int SERFieldNumber = 16; - private int sER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SER { - get { return sER_; } - set { - sER_ = value; - } - } - - /// <summary>Field number for the "a_e_r" field.</summary> - public const int AERFieldNumber = 17; - private int aER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AER { - get { return aER_; } - set { - aER_ = value; - } - } - - /// <summary>Field number for the "l_e_r" field.</summary> - public const int LERFieldNumber = 18; - private int lER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LER { - get { return lER_; } - set { - lER_ = value; - } - } - - /// <summary>Field number for the "d_e_r" field.</summary> - public const int DERFieldNumber = 19; - private int dER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DER { - get { return dER_; } - set { - dER_ = value; - } - } - - /// <summary>Field number for the "suppress" field.</summary> - public const int SuppressFieldNumber = 20; - private float suppress_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Suppress { - get { return suppress_; } - set { - suppress_ = value; - } - } - - /// <summary>Field number for the "buff_i_ds" field.</summary> - public const int BuffIDsFieldNumber = 21; - private static readonly pb::FieldCodec<int> _repeated_buffIDs_codec - = pb::FieldCodec.ForInt32(170); - private readonly pbc::RepeatedField<int> buffIDs_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> BuffIDs { - get { return buffIDs_; } - } - - /// <summary>Field number for the "effect_i_ds" field.</summary> - public const int EffectIDsFieldNumber = 23; - private static readonly pb::FieldCodec<int> _repeated_effectIDs_codec - = pb::FieldCodec.ForInt32(186); - private readonly pbc::RepeatedField<int> effectIDs_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EffectIDs { - get { return effectIDs_; } - } - - /// <summary>Field number for the "attributes" field.</summary> - public const int AttributesFieldNumber = 24; - private static readonly pb::FieldCodec<global::Nova.Client.Recorder.Types.Attribute> _repeated_attributes_codec - = pb::FieldCodec.ForMessage(194, global::Nova.Client.Recorder.Types.Attribute.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorder.Types.Attribute> attributes_ = new pbc::RepeatedField<global::Nova.Client.Recorder.Types.Attribute>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorder.Types.Attribute> Attributes { - get { return attributes_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Defender); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Defender other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ProtoId != other.ProtoId) return false; - if (EntClass != other.EntClass) return false; - if (HP != other.HP) return false; - if (MaxHP != other.MaxHP) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ErAmend, other.ErAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DefAmend, other.DefAmend)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RcdSlotDmgRatio, other.RcdSlotDmgRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EERCD, other.EERCD)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(GenDmgRcdRatio, other.GenDmgRcdRatio)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DmgPlusRcd, other.DmgPlusRcd)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SrcDef, other.SrcDef)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CritResistance, other.CritResistance)) return false; - if (WER != other.WER) return false; - if (FER != other.FER) return false; - if (SER != other.SER) return false; - if (AER != other.AER) return false; - if (LER != other.LER) return false; - if (DER != other.DER) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Suppress, other.Suppress)) return false; - if(!buffIDs_.Equals(other.buffIDs_)) return false; - if(!effectIDs_.Equals(other.effectIDs_)) return false; - if(!attributes_.Equals(other.attributes_)) 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 (ProtoId != 0) hash ^= ProtoId.GetHashCode(); - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) hash ^= EntClass.GetHashCode(); - if (HP != 0) hash ^= HP.GetHashCode(); - if (MaxHP != 0) hash ^= MaxHP.GetHashCode(); - if (ErAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ErAmend); - if (DefAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DefAmend); - if (RcdSlotDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RcdSlotDmgRatio); - if (EERCD != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(EERCD); - if (GenDmgRcdRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(GenDmgRcdRatio); - if (DmgPlusRcd != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DmgPlusRcd); - if (SrcDef != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SrcDef); - if (CritResistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CritResistance); - if (WER != 0) hash ^= WER.GetHashCode(); - if (FER != 0) hash ^= FER.GetHashCode(); - if (SER != 0) hash ^= SER.GetHashCode(); - if (AER != 0) hash ^= AER.GetHashCode(); - if (LER != 0) hash ^= LER.GetHashCode(); - if (DER != 0) hash ^= DER.GetHashCode(); - if (Suppress != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Suppress); - hash ^= buffIDs_.GetHashCode(); - hash ^= effectIDs_.GetHashCode(); - hash ^= attributes_.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.WriteUInt32(Id); - } - if (ProtoId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(ProtoId); - } - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - output.WriteRawTag(24); - output.WriteEnum((int) EntClass); - } - if (HP != 0) { - output.WriteRawTag(32); - output.WriteInt32(HP); - } - if (MaxHP != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxHP); - } - if (ErAmend != 0F) { - output.WriteRawTag(53); - output.WriteFloat(ErAmend); - } - if (DefAmend != 0F) { - output.WriteRawTag(61); - output.WriteFloat(DefAmend); - } - if (RcdSlotDmgRatio != 0F) { - output.WriteRawTag(69); - output.WriteFloat(RcdSlotDmgRatio); - } - if (EERCD != 0F) { - output.WriteRawTag(77); - output.WriteFloat(EERCD); - } - if (GenDmgRcdRatio != 0F) { - output.WriteRawTag(85); - output.WriteFloat(GenDmgRcdRatio); - } - if (DmgPlusRcd != 0F) { - output.WriteRawTag(93); - output.WriteFloat(DmgPlusRcd); - } - if (SrcDef != 0F) { - output.WriteRawTag(101); - output.WriteFloat(SrcDef); - } - if (CritResistance != 0F) { - output.WriteRawTag(109); - output.WriteFloat(CritResistance); - } - if (WER != 0) { - output.WriteRawTag(112); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(120); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(DER); - } - if (Suppress != 0F) { - output.WriteRawTag(165, 1); - output.WriteFloat(Suppress); - } - buffIDs_.WriteTo(output, _repeated_buffIDs_codec); - effectIDs_.WriteTo(output, _repeated_effectIDs_codec); - attributes_.WriteTo(output, _repeated_attributes_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.WriteUInt32(Id); - } - if (ProtoId != 0) { - output.WriteRawTag(16); - output.WriteUInt32(ProtoId); - } - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - output.WriteRawTag(24); - output.WriteEnum((int) EntClass); - } - if (HP != 0) { - output.WriteRawTag(32); - output.WriteInt32(HP); - } - if (MaxHP != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxHP); - } - if (ErAmend != 0F) { - output.WriteRawTag(53); - output.WriteFloat(ErAmend); - } - if (DefAmend != 0F) { - output.WriteRawTag(61); - output.WriteFloat(DefAmend); - } - if (RcdSlotDmgRatio != 0F) { - output.WriteRawTag(69); - output.WriteFloat(RcdSlotDmgRatio); - } - if (EERCD != 0F) { - output.WriteRawTag(77); - output.WriteFloat(EERCD); - } - if (GenDmgRcdRatio != 0F) { - output.WriteRawTag(85); - output.WriteFloat(GenDmgRcdRatio); - } - if (DmgPlusRcd != 0F) { - output.WriteRawTag(93); - output.WriteFloat(DmgPlusRcd); - } - if (SrcDef != 0F) { - output.WriteRawTag(101); - output.WriteFloat(SrcDef); - } - if (CritResistance != 0F) { - output.WriteRawTag(109); - output.WriteFloat(CritResistance); - } - if (WER != 0) { - output.WriteRawTag(112); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(120); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(DER); - } - if (Suppress != 0F) { - output.WriteRawTag(165, 1); - output.WriteFloat(Suppress); - } - buffIDs_.WriteTo(ref output, _repeated_buffIDs_codec); - effectIDs_.WriteTo(ref output, _repeated_effectIDs_codec); - attributes_.WriteTo(ref output, _repeated_attributes_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.ComputeUInt32Size(Id); - } - if (ProtoId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ProtoId); - } - if (EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EntClass); - } - if (HP != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HP); - } - if (MaxHP != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxHP); - } - if (ErAmend != 0F) { - size += 1 + 4; - } - if (DefAmend != 0F) { - size += 1 + 4; - } - if (RcdSlotDmgRatio != 0F) { - size += 1 + 4; - } - if (EERCD != 0F) { - size += 1 + 4; - } - if (GenDmgRcdRatio != 0F) { - size += 1 + 4; - } - if (DmgPlusRcd != 0F) { - size += 1 + 4; - } - if (SrcDef != 0F) { - size += 1 + 4; - } - if (CritResistance != 0F) { - size += 1 + 4; - } - if (WER != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WER); - } - if (FER != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FER); - } - if (SER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); - } - if (AER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); - } - if (LER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); - } - if (DER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); - } - if (Suppress != 0F) { - size += 2 + 4; - } - size += buffIDs_.CalculateSize(_repeated_buffIDs_codec); - size += effectIDs_.CalculateSize(_repeated_effectIDs_codec); - size += attributes_.CalculateSize(_repeated_attributes_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Defender other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ProtoId != 0) { - ProtoId = other.ProtoId; - } - if (other.EntClass != global::Nova.Client.Recorder.Types.EntityClass.Role) { - EntClass = other.EntClass; - } - if (other.HP != 0) { - HP = other.HP; - } - if (other.MaxHP != 0) { - MaxHP = other.MaxHP; - } - if (other.ErAmend != 0F) { - ErAmend = other.ErAmend; - } - if (other.DefAmend != 0F) { - DefAmend = other.DefAmend; - } - if (other.RcdSlotDmgRatio != 0F) { - RcdSlotDmgRatio = other.RcdSlotDmgRatio; - } - if (other.EERCD != 0F) { - EERCD = other.EERCD; - } - if (other.GenDmgRcdRatio != 0F) { - GenDmgRcdRatio = other.GenDmgRcdRatio; - } - if (other.DmgPlusRcd != 0F) { - DmgPlusRcd = other.DmgPlusRcd; - } - if (other.SrcDef != 0F) { - SrcDef = other.SrcDef; - } - if (other.CritResistance != 0F) { - CritResistance = other.CritResistance; - } - if (other.WER != 0) { - WER = other.WER; - } - if (other.FER != 0) { - FER = other.FER; - } - if (other.SER != 0) { - SER = other.SER; - } - if (other.AER != 0) { - AER = other.AER; - } - if (other.LER != 0) { - LER = other.LER; - } - if (other.DER != 0) { - DER = other.DER; - } - if (other.Suppress != 0F) { - Suppress = other.Suppress; - } - buffIDs_.Add(other.buffIDs_); - effectIDs_.Add(other.effectIDs_); - attributes_.Add(other.attributes_); - _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.ReadUInt32(); - break; - } - case 16: { - ProtoId = input.ReadUInt32(); - break; - } - case 24: { - EntClass = (global::Nova.Client.Recorder.Types.EntityClass) input.ReadEnum(); - break; - } - case 32: { - HP = input.ReadInt32(); - break; - } - case 40: { - MaxHP = input.ReadInt32(); - break; - } - case 53: { - ErAmend = input.ReadFloat(); - break; - } - case 61: { - DefAmend = input.ReadFloat(); - break; - } - case 69: { - RcdSlotDmgRatio = input.ReadFloat(); - break; - } - case 77: { - EERCD = input.ReadFloat(); - break; - } - case 85: { - GenDmgRcdRatio = input.ReadFloat(); - break; - } - case 93: { - DmgPlusRcd = input.ReadFloat(); - break; - } - case 101: { - SrcDef = input.ReadFloat(); - break; - } - case 109: { - CritResistance = input.ReadFloat(); - break; - } - case 112: { - WER = input.ReadInt32(); - break; - } - case 120: { - FER = input.ReadInt32(); - break; - } - case 128: { - SER = input.ReadInt32(); - break; - } - case 136: { - AER = input.ReadInt32(); - break; - } - case 144: { - LER = input.ReadInt32(); - break; - } - case 152: { - DER = input.ReadInt32(); - break; - } - case 165: { - Suppress = input.ReadFloat(); - break; - } - case 170: - case 168: { - buffIDs_.AddEntriesFrom(input, _repeated_buffIDs_codec); - break; - } - case 186: - case 184: { - effectIDs_.AddEntriesFrom(input, _repeated_effectIDs_codec); - break; - } - case 194: { - attributes_.AddEntriesFrom(input, _repeated_attributes_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.ReadUInt32(); - break; - } - case 16: { - ProtoId = input.ReadUInt32(); - break; - } - case 24: { - EntClass = (global::Nova.Client.Recorder.Types.EntityClass) input.ReadEnum(); - break; - } - case 32: { - HP = input.ReadInt32(); - break; - } - case 40: { - MaxHP = input.ReadInt32(); - break; - } - case 53: { - ErAmend = input.ReadFloat(); - break; - } - case 61: { - DefAmend = input.ReadFloat(); - break; - } - case 69: { - RcdSlotDmgRatio = input.ReadFloat(); - break; - } - case 77: { - EERCD = input.ReadFloat(); - break; - } - case 85: { - GenDmgRcdRatio = input.ReadFloat(); - break; - } - case 93: { - DmgPlusRcd = input.ReadFloat(); - break; - } - case 101: { - SrcDef = input.ReadFloat(); - break; - } - case 109: { - CritResistance = input.ReadFloat(); - break; - } - case 112: { - WER = input.ReadInt32(); - break; - } - case 120: { - FER = input.ReadInt32(); - break; - } - case 128: { - SER = input.ReadInt32(); - break; - } - case 136: { - AER = input.ReadInt32(); - break; - } - case 144: { - LER = input.ReadInt32(); - break; - } - case 152: { - DER = input.ReadInt32(); - break; - } - case 165: { - Suppress = input.ReadFloat(); - break; - } - case 170: - case 168: { - buffIDs_.AddEntriesFrom(ref input, _repeated_buffIDs_codec); - break; - } - case 186: - case 184: { - effectIDs_.AddEntriesFrom(ref input, _repeated_effectIDs_codec); - break; - } - case 194: { - attributes_.AddEntriesFrom(ref input, _repeated_attributes_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Death : pb::IMessage<Death> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Death> _parser = new pb::MessageParser<Death>(() => new Death()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Death> 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.Recorder.Descriptor.NestedTypes[5]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Death() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Death(Death other) : this() { - frameId_ = other.frameId_; - id_ = other.id_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Death Clone() { - return new Death(this); - } - - /// <summary>Field number for the "frame_id" field.</summary> - public const int FrameIdFieldNumber = 1; - private uint frameId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint FrameId { - get { return frameId_; } - set { - frameId_ = value; - } - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 2; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Death); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Death other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (FrameId != other.FrameId) return false; - if (Id != other.Id) 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 (FrameId != 0) hash ^= FrameId.GetHashCode(); - if (Id != 0) hash ^= Id.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 (FrameId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(FrameId); - } - if (Id != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Id); - } - 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 (FrameId != 0) { - output.WriteRawTag(8); - output.WriteUInt32(FrameId); - } - if (Id != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Id); - } - 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 (FrameId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameId); - } - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Death other) { - if (other == null) { - return; - } - if (other.FrameId != 0) { - FrameId = other.FrameId; - } - if (other.Id != 0) { - Id = other.Id; - } - _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: { - FrameId = input.ReadUInt32(); - break; - } - case 16: { - Id = input.ReadUInt32(); - 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: { - FrameId = input.ReadUInt32(); - break; - } - case 16: { - Id = input.ReadUInt32(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Recorders.cs b/Novaria.Common/Protos/Recorders.cs deleted file mode 100644 index 7d6426a..0000000 --- a/Novaria.Common/Protos/Recorders.cs +++ /dev/null @@ -1,4279 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Recorders.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 Recorders.proto</summary> - public static partial class RecordersReflection { - - #region Descriptor - /// <summary>File descriptor for Recorders.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RecordersReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9SZWNvcmRlcnMucHJvdG8aDlJlY29yZGVyLnByb3RvIpsRCglSZWNvcmRl", - "cnMSJgoIbHZsX3R5cGUYASABKA4yFC5SZWNvcmRlcnMuTGV2ZWxUeXBlEgwK", - "BHVfaWQYAiABKAQSEAoIdG93ZXJfaWQYAyABKA0SIgoJcm9sZV9saXN0GAQg", - "AygLMg8uUmVjb3JkZXJzLlJvbGUSIgoJZGlzY19saXN0GAUgAygLMg8uUmVj", - "b3JkZXJzLkRpc2MSIAoNcmVjb3JkZXJfbGlzdBgGIAMoCzIJLlJlY29yZGVy", - "GqQOCgRSb2xlEgoKAmlkGAEgASgNEg0KBWxldmVsGAIgASgFEhMKC2JyZWFr", - "X2NvdW50GAMgASgFEgoKAmhwGAQgASgFEgsKA2F0axgFIAEoBRILCgNkZWYY", - "BiABKAUSDQoFbV9kZWYYByABKAUSEQoJY3JpdF9yYXRlGAggASgFEhcKD2Ny", - "aXRfcmVzaXN0YW5jZRgJIAEoBRISCgpjcml0X3Bvd2VyGAogASgFEhAKCGhp", - "dF9yYXRlGAsgASgFEgsKA2V2ZBgMIAEoBRISCgpkZWZfcGllcmNlGA0gASgF", - "EhIKCmRlZl9pZ25vcmUYDiABKAUSDQoFd19lX3AYDyABKAUSDQoFZl9lX3AY", - "ECABKAUSDQoFc19lX3AYESABKAUSDQoFYV9lX3AYEiABKAUSDQoFbF9lX3AY", - "EyABKAUSDQoFZF9lX3AYFCABKAUSDQoFd19lX2UYFSABKAUSDQoFZl9lX2UY", - "FiABKAUSDQoFc19lX2UYFyABKAUSDQoFYV9lX2UYGCABKAUSDQoFbF9lX2UY", - "GSABKAUSDQoFZF9lX2UYGiABKAUSDQoFd19lX3IYGyABKAUSDQoFZl9lX3IY", - "HCABKAUSDQoFc19lX3IYHSABKAUSDQoFYV9lX3IYHiABKAUSDQoFbF9lX3IY", - "HyABKAUSDQoFZF9lX3IYICABKAUSDQoFd19lX2kYISABKAUSDQoFZl9lX2kY", - "IiABKAUSDQoFc19lX2kYIyABKAUSDQoFYV9lX2kYJCABKAUSDQoFbF9lX2kY", - "JSABKAUSDQoFZF9lX2kYJiABKAUSFAoMc2hpZWxkX2JvbnVzGCcgASgFEh0K", - "FWluY29taW5nX3NoaWVsZF9ib251cxgoIAEoBRIPCgdza2luX2lkGCkgASgF", - "EhAKCHN1cHByZXNzGCogASgFEhgKEG5vcm1hbF9kbWdfcmF0aW8YKyABKAUS", - "FwoPc2tpbGxfZG1nX3JhdGlvGCwgASgFEhcKD3VsdHJhX2RtZ19yYXRpbxgt", - "IAEoBRIXCg9vdGhlcl9kbWdfcmF0aW8YLiABKAUSHAoUcmNkX25vcm1hbF9k", - "bWdfcmF0aW8YLyABKAUSGwoTcmNkX3NraWxsX2RtZ19yYXRpbxgwIAEoBRIb", - "ChNyY2RfdWx0cmFfZG1nX3JhdGlvGDEgASgFEhsKE3JjZF9vdGhlcl9kbWdf", - "cmF0aW8YMiABKAUSFgoObWFya19kbWdfcmF0aW8YMyABKAUSGAoQc3VtbW9u", - "X2RtZ19yYXRpbxg0IAEoBRIcChRyY2Rfc3VtbW9uX2RtZ19yYXRpbxg1IAEo", - "BRIcChRwcm9qZWN0aWxlX2RtZ19yYXRpbxg2IAEoBRIgChhyY2RfcHJvamVj", - "dGlsZV9kbWdfcmF0aW8YNyABKAUSEwoLZ19lX25fZF9tX2cYOCABKAUSFQoN", - "ZF9tX2dfcF9sX3Vfcxg5IAEoBRIXCg9mX2lfbl9hX2xfZF9tX2cYOiABKAUS", - "HwoXZl9pX25fYV9sX2RfbV9nX3BfbF91X3MYOyABKAUSEwoLd19lX2Vfcl9j", - "X2QYPCABKAUSEwoLZl9lX2Vfcl9jX2QYPSABKAUSEwoLc19lX2Vfcl9jX2QY", - "PiABKAUSEwoLYV9lX2Vfcl9jX2QYPyABKAUSEwoLbF9lX2Vfcl9jX2QYQCAB", - "KAUSEwoLZF9lX2Vfcl9jX2QYQSABKAUSGQoRZ19lX25fZF9tX2dfcl9jX2QY", - "QiABKAUSGwoTZF9tX2dfcF9sX3Vfc19yX2NfZBhDIAEoBRIZChFlbmVyZ3lf", - "Y29udl9yYXRpbxhEIAEoBRIZChFlbmVyZ3lfZWZmaWNpZW5jeRhFIAEoBRIY", - "ChBub3JtYWxfY3JpdF9yYXRlGEYgASgFEhcKD3NraWxsX2NyaXRfcmF0ZRhH", - "IAEoBRIXCg91bHRyYV9jcml0X3JhdGUYSCABKAUSFgoObWFya19jcml0X3Jh", - "dGUYSSABKAUSGAoQc3VtbW9uX2NyaXRfcmF0ZRhKIAEoBRIcChRwcm9qZWN0", - "aWxlX2NyaXRfcmF0ZRhLIAEoBRIXCg9vdGhlcl9jcml0X3JhdGUYTCABKAUS", - "GQoRbm9ybWFsX2NyaXRfcG93ZXIYTSABKAUSGAoQc2tpbGxfY3JpdF9wb3dl", - "chhOIAEoBRIYChB1bHRyYV9jcml0X3Bvd2VyGE8gASgFEhcKD21hcmtfY3Jp", - "dF9wb3dlchhQIAEoBRIZChFzdW1tb25fY3JpdF9wb3dlchhRIAEoBRIdChVw", - "cm9qZWN0aWxlX2NyaXRfcG93ZXIYUiABKAUSGAoQb3RoZXJfY3JpdF9wb3dl", - "chhTIAEoBRIPCgdhdHRyX2lkGFQgASgJEhgKEHNraWxsX2xldmVsX2xpc3QY", - "VSADKAUSGAoQdGFsZW50X2luZm9fbGlzdBhWIAMoCBpQCgREaXNjEgoKAmlk", - "GAEgASgNEg0KBWxldmVsGAIgASgNEi0KD2Rpc2Nfc2tpbGxfbGlzdBgDIAMo", - "CzIULlJlY29yZGVycy5EaXNjU2tpbGwaJgoJRGlzY1NraWxsEgoKAmlkGAEg", - "ASgNEg0KBWxldmVsGAIgASgNIjsKCUxldmVsVHlwZRIOCgpTVEFSX1RPV0VS", - "EAASEQoNVFJBVkVMRVJfRFVFTBABEgsKB1ZBTVBJUkUQAkIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RecorderReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorders), global::Nova.Client.Recorders.Parser, new[]{ "LvlType", "UId", "TowerId", "RoleList", "DiscList", "RecorderList" }, null, new[]{ typeof(global::Nova.Client.Recorders.Types.LevelType) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorders.Types.Role), global::Nova.Client.Recorders.Types.Role.Parser, new[]{ "Id", "Level", "BreakCount", "Hp", "Atk", "Def", "MDef", "CritRate", "CritResistance", "CritPower", "HitRate", "Evd", "DefPierce", "DefIgnore", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "WEI", "FEI", "SEI", "AEI", "LEI", "DEI", "ShieldBonus", "IncomingShieldBonus", "SkinId", "Suppress", "NormalDmgRatio", "SkillDmgRatio", "UltraDmgRatio", "OtherDmgRatio", "RcdNormalDmgRatio", "RcdSkillDmgRatio", "RcdUltraDmgRatio", "RcdOtherDmgRatio", "MarkDmgRatio", "SummonDmgRatio", "RcdSummonDmgRatio", "ProjectileDmgRatio", "RcdProjectileDmgRatio", "GENDMG", "DMGPLUS", "FINALDMG", "FINALDMGPLUS", "WEERCD", "FEERCD", "SEERCD", "AEERCD", "LEERCD", "DEERCD", "GENDMGRCD", "DMGPLUSRCD", "EnergyConvRatio", "EnergyEfficiency", "NormalCritRate", "SkillCritRate", "UltraCritRate", "MarkCritRate", "SummonCritRate", "ProjectileCritRate", "OtherCritRate", "NormalCritPower", "SkillCritPower", "UltraCritPower", "MarkCritPower", "SummonCritPower", "ProjectileCritPower", "OtherCritPower", "AttrId", "SkillLevelList", "TalentInfoList" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorders.Types.Disc), global::Nova.Client.Recorders.Types.Disc.Parser, new[]{ "Id", "Level", "DiscSkillList" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Recorders.Types.DiscSkill), global::Nova.Client.Recorders.Types.DiscSkill.Parser, new[]{ "Id", "Level" }, null, null, null, null)}) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Recorders : pb::IMessage<Recorders> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Recorders> _parser = new pb::MessageParser<Recorders>(() => new Recorders()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Recorders> 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.RecordersReflection.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 Recorders() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Recorders(Recorders other) : this() { - lvlType_ = other.lvlType_; - uId_ = other.uId_; - towerId_ = other.towerId_; - roleList_ = other.roleList_.Clone(); - discList_ = other.discList_.Clone(); - recorderList_ = other.recorderList_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Recorders Clone() { - return new Recorders(this); - } - - /// <summary>Field number for the "lvl_type" field.</summary> - public const int LvlTypeFieldNumber = 1; - private global::Nova.Client.Recorders.Types.LevelType lvlType_ = global::Nova.Client.Recorders.Types.LevelType.StarTower; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Nova.Client.Recorders.Types.LevelType LvlType { - get { return lvlType_; } - set { - lvlType_ = value; - } - } - - /// <summary>Field number for the "u_id" field.</summary> - public const int UIdFieldNumber = 2; - private ulong uId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ulong UId { - get { return uId_; } - set { - uId_ = value; - } - } - - /// <summary>Field number for the "tower_id" field.</summary> - public const int TowerIdFieldNumber = 3; - private uint towerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint TowerId { - get { return towerId_; } - set { - towerId_ = value; - } - } - - /// <summary>Field number for the "role_list" field.</summary> - public const int RoleListFieldNumber = 4; - private static readonly pb::FieldCodec<global::Nova.Client.Recorders.Types.Role> _repeated_roleList_codec - = pb::FieldCodec.ForMessage(34, global::Nova.Client.Recorders.Types.Role.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorders.Types.Role> roleList_ = new pbc::RepeatedField<global::Nova.Client.Recorders.Types.Role>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorders.Types.Role> RoleList { - get { return roleList_; } - } - - /// <summary>Field number for the "disc_list" field.</summary> - public const int DiscListFieldNumber = 5; - private static readonly pb::FieldCodec<global::Nova.Client.Recorders.Types.Disc> _repeated_discList_codec - = pb::FieldCodec.ForMessage(42, global::Nova.Client.Recorders.Types.Disc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorders.Types.Disc> discList_ = new pbc::RepeatedField<global::Nova.Client.Recorders.Types.Disc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorders.Types.Disc> DiscList { - get { return discList_; } - } - - /// <summary>Field number for the "recorder_list" field.</summary> - public const int RecorderListFieldNumber = 6; - private static readonly pb::FieldCodec<global::Nova.Client.Recorder> _repeated_recorderList_codec - = pb::FieldCodec.ForMessage(50, global::Nova.Client.Recorder.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorder> recorderList_ = new pbc::RepeatedField<global::Nova.Client.Recorder>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorder> RecorderList { - get { return recorderList_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Recorders); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Recorders other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (LvlType != other.LvlType) return false; - if (UId != other.UId) return false; - if (TowerId != other.TowerId) return false; - if(!roleList_.Equals(other.roleList_)) return false; - if(!discList_.Equals(other.discList_)) return false; - if(!recorderList_.Equals(other.recorderList_)) 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 (LvlType != global::Nova.Client.Recorders.Types.LevelType.StarTower) hash ^= LvlType.GetHashCode(); - if (UId != 0UL) hash ^= UId.GetHashCode(); - if (TowerId != 0) hash ^= TowerId.GetHashCode(); - hash ^= roleList_.GetHashCode(); - hash ^= discList_.GetHashCode(); - hash ^= recorderList_.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 (LvlType != global::Nova.Client.Recorders.Types.LevelType.StarTower) { - output.WriteRawTag(8); - output.WriteEnum((int) LvlType); - } - if (UId != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(UId); - } - if (TowerId != 0) { - output.WriteRawTag(24); - output.WriteUInt32(TowerId); - } - roleList_.WriteTo(output, _repeated_roleList_codec); - discList_.WriteTo(output, _repeated_discList_codec); - recorderList_.WriteTo(output, _repeated_recorderList_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 (LvlType != global::Nova.Client.Recorders.Types.LevelType.StarTower) { - output.WriteRawTag(8); - output.WriteEnum((int) LvlType); - } - if (UId != 0UL) { - output.WriteRawTag(16); - output.WriteUInt64(UId); - } - if (TowerId != 0) { - output.WriteRawTag(24); - output.WriteUInt32(TowerId); - } - roleList_.WriteTo(ref output, _repeated_roleList_codec); - discList_.WriteTo(ref output, _repeated_discList_codec); - recorderList_.WriteTo(ref output, _repeated_recorderList_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 (LvlType != global::Nova.Client.Recorders.Types.LevelType.StarTower) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LvlType); - } - if (UId != 0UL) { - size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UId); - } - if (TowerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TowerId); - } - size += roleList_.CalculateSize(_repeated_roleList_codec); - size += discList_.CalculateSize(_repeated_discList_codec); - size += recorderList_.CalculateSize(_repeated_recorderList_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Recorders other) { - if (other == null) { - return; - } - if (other.LvlType != global::Nova.Client.Recorders.Types.LevelType.StarTower) { - LvlType = other.LvlType; - } - if (other.UId != 0UL) { - UId = other.UId; - } - if (other.TowerId != 0) { - TowerId = other.TowerId; - } - roleList_.Add(other.roleList_); - discList_.Add(other.discList_); - recorderList_.Add(other.recorderList_); - _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: { - LvlType = (global::Nova.Client.Recorders.Types.LevelType) input.ReadEnum(); - break; - } - case 16: { - UId = input.ReadUInt64(); - break; - } - case 24: { - TowerId = input.ReadUInt32(); - break; - } - case 34: { - roleList_.AddEntriesFrom(input, _repeated_roleList_codec); - break; - } - case 42: { - discList_.AddEntriesFrom(input, _repeated_discList_codec); - break; - } - case 50: { - recorderList_.AddEntriesFrom(input, _repeated_recorderList_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: { - LvlType = (global::Nova.Client.Recorders.Types.LevelType) input.ReadEnum(); - break; - } - case 16: { - UId = input.ReadUInt64(); - break; - } - case 24: { - TowerId = input.ReadUInt32(); - break; - } - case 34: { - roleList_.AddEntriesFrom(ref input, _repeated_roleList_codec); - break; - } - case 42: { - discList_.AddEntriesFrom(ref input, _repeated_discList_codec); - break; - } - case 50: { - recorderList_.AddEntriesFrom(ref input, _repeated_recorderList_codec); - break; - } - } - } - } - #endif - - #region Nested types - /// <summary>Container for nested types declared in the Recorders message type.</summary> - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - public enum LevelType { - [pbr::OriginalName("STAR_TOWER")] StarTower = 0, - [pbr::OriginalName("TRAVELER_DUEL")] TravelerDuel = 1, - [pbr::OriginalName("VAMPIRE")] Vampire = 2, - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Role : pb::IMessage<Role> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Role> _parser = new pb::MessageParser<Role>(() => new Role()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Role> 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.Recorders.Descriptor.NestedTypes[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 Role() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Role(Role other) : this() { - id_ = other.id_; - level_ = other.level_; - breakCount_ = other.breakCount_; - hp_ = other.hp_; - atk_ = other.atk_; - def_ = other.def_; - mDef_ = other.mDef_; - critRate_ = other.critRate_; - critResistance_ = other.critResistance_; - critPower_ = other.critPower_; - hitRate_ = other.hitRate_; - evd_ = other.evd_; - defPierce_ = other.defPierce_; - defIgnore_ = other.defIgnore_; - wEP_ = other.wEP_; - fEP_ = other.fEP_; - sEP_ = other.sEP_; - aEP_ = other.aEP_; - lEP_ = other.lEP_; - dEP_ = other.dEP_; - wEE_ = other.wEE_; - fEE_ = other.fEE_; - sEE_ = other.sEE_; - aEE_ = other.aEE_; - lEE_ = other.lEE_; - dEE_ = other.dEE_; - wER_ = other.wER_; - fER_ = other.fER_; - sER_ = other.sER_; - aER_ = other.aER_; - lER_ = other.lER_; - dER_ = other.dER_; - wEI_ = other.wEI_; - fEI_ = other.fEI_; - sEI_ = other.sEI_; - aEI_ = other.aEI_; - lEI_ = other.lEI_; - dEI_ = other.dEI_; - shieldBonus_ = other.shieldBonus_; - incomingShieldBonus_ = other.incomingShieldBonus_; - skinId_ = other.skinId_; - suppress_ = other.suppress_; - normalDmgRatio_ = other.normalDmgRatio_; - skillDmgRatio_ = other.skillDmgRatio_; - ultraDmgRatio_ = other.ultraDmgRatio_; - otherDmgRatio_ = other.otherDmgRatio_; - rcdNormalDmgRatio_ = other.rcdNormalDmgRatio_; - rcdSkillDmgRatio_ = other.rcdSkillDmgRatio_; - rcdUltraDmgRatio_ = other.rcdUltraDmgRatio_; - rcdOtherDmgRatio_ = other.rcdOtherDmgRatio_; - markDmgRatio_ = other.markDmgRatio_; - summonDmgRatio_ = other.summonDmgRatio_; - rcdSummonDmgRatio_ = other.rcdSummonDmgRatio_; - projectileDmgRatio_ = other.projectileDmgRatio_; - rcdProjectileDmgRatio_ = other.rcdProjectileDmgRatio_; - gENDMG_ = other.gENDMG_; - dMGPLUS_ = other.dMGPLUS_; - fINALDMG_ = other.fINALDMG_; - fINALDMGPLUS_ = other.fINALDMGPLUS_; - wEERCD_ = other.wEERCD_; - fEERCD_ = other.fEERCD_; - sEERCD_ = other.sEERCD_; - aEERCD_ = other.aEERCD_; - lEERCD_ = other.lEERCD_; - dEERCD_ = other.dEERCD_; - gENDMGRCD_ = other.gENDMGRCD_; - dMGPLUSRCD_ = other.dMGPLUSRCD_; - energyConvRatio_ = other.energyConvRatio_; - energyEfficiency_ = other.energyEfficiency_; - normalCritRate_ = other.normalCritRate_; - skillCritRate_ = other.skillCritRate_; - ultraCritRate_ = other.ultraCritRate_; - markCritRate_ = other.markCritRate_; - summonCritRate_ = other.summonCritRate_; - projectileCritRate_ = other.projectileCritRate_; - otherCritRate_ = other.otherCritRate_; - normalCritPower_ = other.normalCritPower_; - skillCritPower_ = other.skillCritPower_; - ultraCritPower_ = other.ultraCritPower_; - markCritPower_ = other.markCritPower_; - summonCritPower_ = other.summonCritPower_; - projectileCritPower_ = other.projectileCritPower_; - otherCritPower_ = other.otherCritPower_; - attrId_ = other.attrId_; - skillLevelList_ = other.skillLevelList_.Clone(); - talentInfoList_ = other.talentInfoList_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Role Clone() { - return new Role(this); - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "level" field.</summary> - public const int LevelFieldNumber = 2; - 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 "break_count" field.</summary> - public const int BreakCountFieldNumber = 3; - private int breakCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BreakCount { - get { return breakCount_; } - set { - breakCount_ = value; - } - } - - /// <summary>Field number for the "hp" field.</summary> - public const int HpFieldNumber = 4; - private int hp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Hp { - get { return hp_; } - set { - hp_ = value; - } - } - - /// <summary>Field number for the "atk" field.</summary> - public const int AtkFieldNumber = 5; - private int atk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Atk { - get { return atk_; } - set { - atk_ = value; - } - } - - /// <summary>Field number for the "def" field.</summary> - public const int DefFieldNumber = 6; - private int def_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Def { - get { return def_; } - set { - def_ = value; - } - } - - /// <summary>Field number for the "m_def" field.</summary> - public const int MDefFieldNumber = 7; - private int mDef_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MDef { - get { return mDef_; } - set { - mDef_ = value; - } - } - - /// <summary>Field number for the "crit_rate" field.</summary> - public const int CritRateFieldNumber = 8; - private int critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// <summary>Field number for the "crit_resistance" field.</summary> - public const int CritResistanceFieldNumber = 9; - private int critResistance_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritResistance { - get { return critResistance_; } - set { - critResistance_ = value; - } - } - - /// <summary>Field number for the "crit_power" field.</summary> - public const int CritPowerFieldNumber = 10; - private int critPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritPower { - get { return critPower_; } - set { - critPower_ = value; - } - } - - /// <summary>Field number for the "hit_rate" field.</summary> - public const int HitRateFieldNumber = 11; - private int hitRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HitRate { - get { return hitRate_; } - set { - hitRate_ = value; - } - } - - /// <summary>Field number for the "evd" field.</summary> - public const int EvdFieldNumber = 12; - private int evd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Evd { - get { return evd_; } - set { - evd_ = value; - } - } - - /// <summary>Field number for the "def_pierce" field.</summary> - public const int DefPierceFieldNumber = 13; - private int defPierce_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefPierce { - get { return defPierce_; } - set { - defPierce_ = value; - } - } - - /// <summary>Field number for the "def_ignore" field.</summary> - public const int DefIgnoreFieldNumber = 14; - private int defIgnore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DefIgnore { - get { return defIgnore_; } - set { - defIgnore_ = value; - } - } - - /// <summary>Field number for the "w_e_p" field.</summary> - public const int WEPFieldNumber = 15; - private int wEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEP { - get { return wEP_; } - set { - wEP_ = value; - } - } - - /// <summary>Field number for the "f_e_p" field.</summary> - public const int FEPFieldNumber = 16; - private int fEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEP { - get { return fEP_; } - set { - fEP_ = value; - } - } - - /// <summary>Field number for the "s_e_p" field.</summary> - public const int SEPFieldNumber = 17; - private int sEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEP { - get { return sEP_; } - set { - sEP_ = value; - } - } - - /// <summary>Field number for the "a_e_p" field.</summary> - public const int AEPFieldNumber = 18; - private int aEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEP { - get { return aEP_; } - set { - aEP_ = value; - } - } - - /// <summary>Field number for the "l_e_p" field.</summary> - public const int LEPFieldNumber = 19; - private int lEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEP { - get { return lEP_; } - set { - lEP_ = value; - } - } - - /// <summary>Field number for the "d_e_p" field.</summary> - public const int DEPFieldNumber = 20; - private int dEP_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEP { - get { return dEP_; } - set { - dEP_ = value; - } - } - - /// <summary>Field number for the "w_e_e" field.</summary> - public const int WEEFieldNumber = 21; - private int wEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEE { - get { return wEE_; } - set { - wEE_ = value; - } - } - - /// <summary>Field number for the "f_e_e" field.</summary> - public const int FEEFieldNumber = 22; - private int fEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEE { - get { return fEE_; } - set { - fEE_ = value; - } - } - - /// <summary>Field number for the "s_e_e" field.</summary> - public const int SEEFieldNumber = 23; - private int sEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEE { - get { return sEE_; } - set { - sEE_ = value; - } - } - - /// <summary>Field number for the "a_e_e" field.</summary> - public const int AEEFieldNumber = 24; - private int aEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEE { - get { return aEE_; } - set { - aEE_ = value; - } - } - - /// <summary>Field number for the "l_e_e" field.</summary> - public const int LEEFieldNumber = 25; - private int lEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEE { - get { return lEE_; } - set { - lEE_ = value; - } - } - - /// <summary>Field number for the "d_e_e" field.</summary> - public const int DEEFieldNumber = 26; - private int dEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEE { - get { return dEE_; } - set { - dEE_ = value; - } - } - - /// <summary>Field number for the "w_e_r" field.</summary> - public const int WERFieldNumber = 27; - private int wER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WER { - get { return wER_; } - set { - wER_ = value; - } - } - - /// <summary>Field number for the "f_e_r" field.</summary> - public const int FERFieldNumber = 28; - private int fER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FER { - get { return fER_; } - set { - fER_ = value; - } - } - - /// <summary>Field number for the "s_e_r" field.</summary> - public const int SERFieldNumber = 29; - private int sER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SER { - get { return sER_; } - set { - sER_ = value; - } - } - - /// <summary>Field number for the "a_e_r" field.</summary> - public const int AERFieldNumber = 30; - private int aER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AER { - get { return aER_; } - set { - aER_ = value; - } - } - - /// <summary>Field number for the "l_e_r" field.</summary> - public const int LERFieldNumber = 31; - private int lER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LER { - get { return lER_; } - set { - lER_ = value; - } - } - - /// <summary>Field number for the "d_e_r" field.</summary> - public const int DERFieldNumber = 32; - private int dER_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DER { - get { return dER_; } - set { - dER_ = value; - } - } - - /// <summary>Field number for the "w_e_i" field.</summary> - public const int WEIFieldNumber = 33; - private int wEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEI { - get { return wEI_; } - set { - wEI_ = value; - } - } - - /// <summary>Field number for the "f_e_i" field.</summary> - public const int FEIFieldNumber = 34; - private int fEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEI { - get { return fEI_; } - set { - fEI_ = value; - } - } - - /// <summary>Field number for the "s_e_i" field.</summary> - public const int SEIFieldNumber = 35; - private int sEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEI { - get { return sEI_; } - set { - sEI_ = value; - } - } - - /// <summary>Field number for the "a_e_i" field.</summary> - public const int AEIFieldNumber = 36; - private int aEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEI { - get { return aEI_; } - set { - aEI_ = value; - } - } - - /// <summary>Field number for the "l_e_i" field.</summary> - public const int LEIFieldNumber = 37; - private int lEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEI { - get { return lEI_; } - set { - lEI_ = value; - } - } - - /// <summary>Field number for the "d_e_i" field.</summary> - public const int DEIFieldNumber = 38; - private int dEI_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEI { - get { return dEI_; } - set { - dEI_ = value; - } - } - - /// <summary>Field number for the "shield_bonus" field.</summary> - public const int ShieldBonusFieldNumber = 39; - private int shieldBonus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShieldBonus { - get { return shieldBonus_; } - set { - shieldBonus_ = value; - } - } - - /// <summary>Field number for the "incoming_shield_bonus" field.</summary> - public const int IncomingShieldBonusFieldNumber = 40; - private int incomingShieldBonus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IncomingShieldBonus { - get { return incomingShieldBonus_; } - set { - incomingShieldBonus_ = value; - } - } - - /// <summary>Field number for the "skin_id" field.</summary> - public const int SkinIdFieldNumber = 41; - private int skinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkinId { - get { return skinId_; } - set { - skinId_ = value; - } - } - - /// <summary>Field number for the "suppress" field.</summary> - public const int SuppressFieldNumber = 42; - private int suppress_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Suppress { - get { return suppress_; } - set { - suppress_ = value; - } - } - - /// <summary>Field number for the "normal_dmg_ratio" field.</summary> - public const int NormalDmgRatioFieldNumber = 43; - private int normalDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalDmgRatio { - get { return normalDmgRatio_; } - set { - normalDmgRatio_ = value; - } - } - - /// <summary>Field number for the "skill_dmg_ratio" field.</summary> - public const int SkillDmgRatioFieldNumber = 44; - private int skillDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillDmgRatio { - get { return skillDmgRatio_; } - set { - skillDmgRatio_ = value; - } - } - - /// <summary>Field number for the "ultra_dmg_ratio" field.</summary> - public const int UltraDmgRatioFieldNumber = 45; - private int ultraDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraDmgRatio { - get { return ultraDmgRatio_; } - set { - ultraDmgRatio_ = value; - } - } - - /// <summary>Field number for the "other_dmg_ratio" field.</summary> - public const int OtherDmgRatioFieldNumber = 46; - private int otherDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherDmgRatio { - get { return otherDmgRatio_; } - set { - otherDmgRatio_ = value; - } - } - - /// <summary>Field number for the "rcd_normal_dmg_ratio" field.</summary> - public const int RcdNormalDmgRatioFieldNumber = 47; - private int rcdNormalDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RcdNormalDmgRatio { - get { return rcdNormalDmgRatio_; } - set { - rcdNormalDmgRatio_ = value; - } - } - - /// <summary>Field number for the "rcd_skill_dmg_ratio" field.</summary> - public const int RcdSkillDmgRatioFieldNumber = 48; - private int rcdSkillDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RcdSkillDmgRatio { - get { return rcdSkillDmgRatio_; } - set { - rcdSkillDmgRatio_ = value; - } - } - - /// <summary>Field number for the "rcd_ultra_dmg_ratio" field.</summary> - public const int RcdUltraDmgRatioFieldNumber = 49; - private int rcdUltraDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RcdUltraDmgRatio { - get { return rcdUltraDmgRatio_; } - set { - rcdUltraDmgRatio_ = value; - } - } - - /// <summary>Field number for the "rcd_other_dmg_ratio" field.</summary> - public const int RcdOtherDmgRatioFieldNumber = 50; - private int rcdOtherDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RcdOtherDmgRatio { - get { return rcdOtherDmgRatio_; } - set { - rcdOtherDmgRatio_ = value; - } - } - - /// <summary>Field number for the "mark_dmg_ratio" field.</summary> - public const int MarkDmgRatioFieldNumber = 51; - private int markDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkDmgRatio { - get { return markDmgRatio_; } - set { - markDmgRatio_ = value; - } - } - - /// <summary>Field number for the "summon_dmg_ratio" field.</summary> - public const int SummonDmgRatioFieldNumber = 52; - private int summonDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonDmgRatio { - get { return summonDmgRatio_; } - set { - summonDmgRatio_ = value; - } - } - - /// <summary>Field number for the "rcd_summon_dmg_ratio" field.</summary> - public const int RcdSummonDmgRatioFieldNumber = 53; - private int rcdSummonDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RcdSummonDmgRatio { - get { return rcdSummonDmgRatio_; } - set { - rcdSummonDmgRatio_ = value; - } - } - - /// <summary>Field number for the "projectile_dmg_ratio" field.</summary> - public const int ProjectileDmgRatioFieldNumber = 54; - private int projectileDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileDmgRatio { - get { return projectileDmgRatio_; } - set { - projectileDmgRatio_ = value; - } - } - - /// <summary>Field number for the "rcd_projectile_dmg_ratio" field.</summary> - public const int RcdProjectileDmgRatioFieldNumber = 55; - private int rcdProjectileDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RcdProjectileDmgRatio { - get { return rcdProjectileDmgRatio_; } - set { - rcdProjectileDmgRatio_ = value; - } - } - - /// <summary>Field number for the "g_e_n_d_m_g" field.</summary> - public const int GENDMGFieldNumber = 56; - private int gENDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GENDMG { - get { return gENDMG_; } - set { - gENDMG_ = value; - } - } - - /// <summary>Field number for the "d_m_g_p_l_u_s" field.</summary> - public const int DMGPLUSFieldNumber = 57; - private int dMGPLUS_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DMGPLUS { - get { return dMGPLUS_; } - set { - dMGPLUS_ = value; - } - } - - /// <summary>Field number for the "f_i_n_a_l_d_m_g" field.</summary> - public const int FINALDMGFieldNumber = 58; - private int fINALDMG_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FINALDMG { - get { return fINALDMG_; } - set { - fINALDMG_ = value; - } - } - - /// <summary>Field number for the "f_i_n_a_l_d_m_g_p_l_u_s" field.</summary> - public const int FINALDMGPLUSFieldNumber = 59; - private int fINALDMGPLUS_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FINALDMGPLUS { - get { return fINALDMGPLUS_; } - set { - fINALDMGPLUS_ = value; - } - } - - /// <summary>Field number for the "w_e_e_r_c_d" field.</summary> - public const int WEERCDFieldNumber = 60; - private int wEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WEERCD { - get { return wEERCD_; } - set { - wEERCD_ = value; - } - } - - /// <summary>Field number for the "f_e_e_r_c_d" field.</summary> - public const int FEERCDFieldNumber = 61; - private int fEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FEERCD { - get { return fEERCD_; } - set { - fEERCD_ = value; - } - } - - /// <summary>Field number for the "s_e_e_r_c_d" field.</summary> - public const int SEERCDFieldNumber = 62; - private int sEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SEERCD { - get { return sEERCD_; } - set { - sEERCD_ = value; - } - } - - /// <summary>Field number for the "a_e_e_r_c_d" field.</summary> - public const int AEERCDFieldNumber = 63; - private int aEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AEERCD { - get { return aEERCD_; } - set { - aEERCD_ = value; - } - } - - /// <summary>Field number for the "l_e_e_r_c_d" field.</summary> - public const int LEERCDFieldNumber = 64; - private int lEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LEERCD { - get { return lEERCD_; } - set { - lEERCD_ = value; - } - } - - /// <summary>Field number for the "d_e_e_r_c_d" field.</summary> - public const int DEERCDFieldNumber = 65; - private int dEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DEERCD { - get { return dEERCD_; } - set { - dEERCD_ = value; - } - } - - /// <summary>Field number for the "g_e_n_d_m_g_r_c_d" field.</summary> - public const int GENDMGRCDFieldNumber = 66; - private int gENDMGRCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GENDMGRCD { - get { return gENDMGRCD_; } - set { - gENDMGRCD_ = value; - } - } - - /// <summary>Field number for the "d_m_g_p_l_u_s_r_c_d" field.</summary> - public const int DMGPLUSRCDFieldNumber = 67; - private int dMGPLUSRCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DMGPLUSRCD { - get { return dMGPLUSRCD_; } - set { - dMGPLUSRCD_ = value; - } - } - - /// <summary>Field number for the "energy_conv_ratio" field.</summary> - public const int EnergyConvRatioFieldNumber = 68; - private int energyConvRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyConvRatio { - get { return energyConvRatio_; } - set { - energyConvRatio_ = value; - } - } - - /// <summary>Field number for the "energy_efficiency" field.</summary> - public const int EnergyEfficiencyFieldNumber = 69; - private int energyEfficiency_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyEfficiency { - get { return energyEfficiency_; } - set { - energyEfficiency_ = value; - } - } - - /// <summary>Field number for the "normal_crit_rate" field.</summary> - public const int NormalCritRateFieldNumber = 70; - private int normalCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalCritRate { - get { return normalCritRate_; } - set { - normalCritRate_ = value; - } - } - - /// <summary>Field number for the "skill_crit_rate" field.</summary> - public const int SkillCritRateFieldNumber = 71; - private int skillCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCritRate { - get { return skillCritRate_; } - set { - skillCritRate_ = value; - } - } - - /// <summary>Field number for the "ultra_crit_rate" field.</summary> - public const int UltraCritRateFieldNumber = 72; - private int ultraCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraCritRate { - get { return ultraCritRate_; } - set { - ultraCritRate_ = value; - } - } - - /// <summary>Field number for the "mark_crit_rate" field.</summary> - public const int MarkCritRateFieldNumber = 73; - private int markCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkCritRate { - get { return markCritRate_; } - set { - markCritRate_ = value; - } - } - - /// <summary>Field number for the "summon_crit_rate" field.</summary> - public const int SummonCritRateFieldNumber = 74; - private int summonCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonCritRate { - get { return summonCritRate_; } - set { - summonCritRate_ = value; - } - } - - /// <summary>Field number for the "projectile_crit_rate" field.</summary> - public const int ProjectileCritRateFieldNumber = 75; - private int projectileCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileCritRate { - get { return projectileCritRate_; } - set { - projectileCritRate_ = value; - } - } - - /// <summary>Field number for the "other_crit_rate" field.</summary> - public const int OtherCritRateFieldNumber = 76; - private int otherCritRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherCritRate { - get { return otherCritRate_; } - set { - otherCritRate_ = value; - } - } - - /// <summary>Field number for the "normal_crit_power" field.</summary> - public const int NormalCritPowerFieldNumber = 77; - private int normalCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalCritPower { - get { return normalCritPower_; } - set { - normalCritPower_ = value; - } - } - - /// <summary>Field number for the "skill_crit_power" field.</summary> - public const int SkillCritPowerFieldNumber = 78; - private int skillCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCritPower { - get { return skillCritPower_; } - set { - skillCritPower_ = value; - } - } - - /// <summary>Field number for the "ultra_crit_power" field.</summary> - public const int UltraCritPowerFieldNumber = 79; - private int ultraCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraCritPower { - get { return ultraCritPower_; } - set { - ultraCritPower_ = value; - } - } - - /// <summary>Field number for the "mark_crit_power" field.</summary> - public const int MarkCritPowerFieldNumber = 80; - private int markCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MarkCritPower { - get { return markCritPower_; } - set { - markCritPower_ = value; - } - } - - /// <summary>Field number for the "summon_crit_power" field.</summary> - public const int SummonCritPowerFieldNumber = 81; - private int summonCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SummonCritPower { - get { return summonCritPower_; } - set { - summonCritPower_ = value; - } - } - - /// <summary>Field number for the "projectile_crit_power" field.</summary> - public const int ProjectileCritPowerFieldNumber = 82; - private int projectileCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ProjectileCritPower { - get { return projectileCritPower_; } - set { - projectileCritPower_ = value; - } - } - - /// <summary>Field number for the "other_crit_power" field.</summary> - public const int OtherCritPowerFieldNumber = 83; - private int otherCritPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OtherCritPower { - get { return otherCritPower_; } - set { - otherCritPower_ = value; - } - } - - /// <summary>Field number for the "attr_id" field.</summary> - public const int AttrIdFieldNumber = 84; - private string attrId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttrId { - get { return attrId_; } - set { - attrId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "skill_level_list" field.</summary> - public const int SkillLevelListFieldNumber = 85; - private static readonly pb::FieldCodec<int> _repeated_skillLevelList_codec - = pb::FieldCodec.ForInt32(682); - private readonly pbc::RepeatedField<int> skillLevelList_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> SkillLevelList { - get { return skillLevelList_; } - } - - /// <summary>Field number for the "talent_info_list" field.</summary> - public const int TalentInfoListFieldNumber = 86; - private static readonly pb::FieldCodec<bool> _repeated_talentInfoList_codec - = pb::FieldCodec.ForBool(690); - private readonly pbc::RepeatedField<bool> talentInfoList_ = new pbc::RepeatedField<bool>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<bool> TalentInfoList { - get { return talentInfoList_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Role); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Role other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Level != other.Level) return false; - if (BreakCount != other.BreakCount) return false; - if (Hp != other.Hp) return false; - if (Atk != other.Atk) return false; - if (Def != other.Def) return false; - if (MDef != other.MDef) return false; - if (CritRate != other.CritRate) return false; - if (CritResistance != other.CritResistance) return false; - if (CritPower != other.CritPower) return false; - if (HitRate != other.HitRate) return false; - if (Evd != other.Evd) return false; - if (DefPierce != other.DefPierce) return false; - if (DefIgnore != other.DefIgnore) return false; - if (WEP != other.WEP) return false; - if (FEP != other.FEP) return false; - if (SEP != other.SEP) return false; - if (AEP != other.AEP) return false; - if (LEP != other.LEP) return false; - if (DEP != other.DEP) return false; - if (WEE != other.WEE) return false; - if (FEE != other.FEE) return false; - if (SEE != other.SEE) return false; - if (AEE != other.AEE) return false; - if (LEE != other.LEE) return false; - if (DEE != other.DEE) return false; - if (WER != other.WER) return false; - if (FER != other.FER) return false; - if (SER != other.SER) return false; - if (AER != other.AER) return false; - if (LER != other.LER) return false; - if (DER != other.DER) return false; - if (WEI != other.WEI) return false; - if (FEI != other.FEI) return false; - if (SEI != other.SEI) return false; - if (AEI != other.AEI) return false; - if (LEI != other.LEI) return false; - if (DEI != other.DEI) return false; - if (ShieldBonus != other.ShieldBonus) return false; - if (IncomingShieldBonus != other.IncomingShieldBonus) return false; - if (SkinId != other.SkinId) return false; - if (Suppress != other.Suppress) return false; - if (NormalDmgRatio != other.NormalDmgRatio) return false; - if (SkillDmgRatio != other.SkillDmgRatio) return false; - if (UltraDmgRatio != other.UltraDmgRatio) return false; - if (OtherDmgRatio != other.OtherDmgRatio) return false; - if (RcdNormalDmgRatio != other.RcdNormalDmgRatio) return false; - if (RcdSkillDmgRatio != other.RcdSkillDmgRatio) return false; - if (RcdUltraDmgRatio != other.RcdUltraDmgRatio) return false; - if (RcdOtherDmgRatio != other.RcdOtherDmgRatio) return false; - if (MarkDmgRatio != other.MarkDmgRatio) return false; - if (SummonDmgRatio != other.SummonDmgRatio) return false; - if (RcdSummonDmgRatio != other.RcdSummonDmgRatio) return false; - if (ProjectileDmgRatio != other.ProjectileDmgRatio) return false; - if (RcdProjectileDmgRatio != other.RcdProjectileDmgRatio) return false; - if (GENDMG != other.GENDMG) return false; - if (DMGPLUS != other.DMGPLUS) return false; - if (FINALDMG != other.FINALDMG) return false; - if (FINALDMGPLUS != other.FINALDMGPLUS) return false; - if (WEERCD != other.WEERCD) return false; - if (FEERCD != other.FEERCD) return false; - if (SEERCD != other.SEERCD) return false; - if (AEERCD != other.AEERCD) return false; - if (LEERCD != other.LEERCD) return false; - if (DEERCD != other.DEERCD) return false; - if (GENDMGRCD != other.GENDMGRCD) return false; - if (DMGPLUSRCD != other.DMGPLUSRCD) return false; - if (EnergyConvRatio != other.EnergyConvRatio) return false; - if (EnergyEfficiency != other.EnergyEfficiency) return false; - if (NormalCritRate != other.NormalCritRate) return false; - if (SkillCritRate != other.SkillCritRate) return false; - if (UltraCritRate != other.UltraCritRate) return false; - if (MarkCritRate != other.MarkCritRate) return false; - if (SummonCritRate != other.SummonCritRate) return false; - if (ProjectileCritRate != other.ProjectileCritRate) return false; - if (OtherCritRate != other.OtherCritRate) return false; - if (NormalCritPower != other.NormalCritPower) return false; - if (SkillCritPower != other.SkillCritPower) return false; - if (UltraCritPower != other.UltraCritPower) return false; - if (MarkCritPower != other.MarkCritPower) return false; - if (SummonCritPower != other.SummonCritPower) return false; - if (ProjectileCritPower != other.ProjectileCritPower) return false; - if (OtherCritPower != other.OtherCritPower) return false; - if (AttrId != other.AttrId) return false; - if(!skillLevelList_.Equals(other.skillLevelList_)) return false; - if(!talentInfoList_.Equals(other.talentInfoList_)) 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 (Level != 0) hash ^= Level.GetHashCode(); - if (BreakCount != 0) hash ^= BreakCount.GetHashCode(); - if (Hp != 0) hash ^= Hp.GetHashCode(); - if (Atk != 0) hash ^= Atk.GetHashCode(); - if (Def != 0) hash ^= Def.GetHashCode(); - if (MDef != 0) hash ^= MDef.GetHashCode(); - if (CritRate != 0) hash ^= CritRate.GetHashCode(); - if (CritResistance != 0) hash ^= CritResistance.GetHashCode(); - if (CritPower != 0) hash ^= CritPower.GetHashCode(); - if (HitRate != 0) hash ^= HitRate.GetHashCode(); - if (Evd != 0) hash ^= Evd.GetHashCode(); - if (DefPierce != 0) hash ^= DefPierce.GetHashCode(); - if (DefIgnore != 0) hash ^= DefIgnore.GetHashCode(); - if (WEP != 0) hash ^= WEP.GetHashCode(); - if (FEP != 0) hash ^= FEP.GetHashCode(); - if (SEP != 0) hash ^= SEP.GetHashCode(); - if (AEP != 0) hash ^= AEP.GetHashCode(); - if (LEP != 0) hash ^= LEP.GetHashCode(); - if (DEP != 0) hash ^= DEP.GetHashCode(); - if (WEE != 0) hash ^= WEE.GetHashCode(); - if (FEE != 0) hash ^= FEE.GetHashCode(); - if (SEE != 0) hash ^= SEE.GetHashCode(); - if (AEE != 0) hash ^= AEE.GetHashCode(); - if (LEE != 0) hash ^= LEE.GetHashCode(); - if (DEE != 0) hash ^= DEE.GetHashCode(); - if (WER != 0) hash ^= WER.GetHashCode(); - if (FER != 0) hash ^= FER.GetHashCode(); - if (SER != 0) hash ^= SER.GetHashCode(); - if (AER != 0) hash ^= AER.GetHashCode(); - if (LER != 0) hash ^= LER.GetHashCode(); - if (DER != 0) hash ^= DER.GetHashCode(); - if (WEI != 0) hash ^= WEI.GetHashCode(); - if (FEI != 0) hash ^= FEI.GetHashCode(); - if (SEI != 0) hash ^= SEI.GetHashCode(); - if (AEI != 0) hash ^= AEI.GetHashCode(); - if (LEI != 0) hash ^= LEI.GetHashCode(); - if (DEI != 0) hash ^= DEI.GetHashCode(); - if (ShieldBonus != 0) hash ^= ShieldBonus.GetHashCode(); - if (IncomingShieldBonus != 0) hash ^= IncomingShieldBonus.GetHashCode(); - if (SkinId != 0) hash ^= SkinId.GetHashCode(); - if (Suppress != 0) hash ^= Suppress.GetHashCode(); - if (NormalDmgRatio != 0) hash ^= NormalDmgRatio.GetHashCode(); - if (SkillDmgRatio != 0) hash ^= SkillDmgRatio.GetHashCode(); - if (UltraDmgRatio != 0) hash ^= UltraDmgRatio.GetHashCode(); - if (OtherDmgRatio != 0) hash ^= OtherDmgRatio.GetHashCode(); - if (RcdNormalDmgRatio != 0) hash ^= RcdNormalDmgRatio.GetHashCode(); - if (RcdSkillDmgRatio != 0) hash ^= RcdSkillDmgRatio.GetHashCode(); - if (RcdUltraDmgRatio != 0) hash ^= RcdUltraDmgRatio.GetHashCode(); - if (RcdOtherDmgRatio != 0) hash ^= RcdOtherDmgRatio.GetHashCode(); - if (MarkDmgRatio != 0) hash ^= MarkDmgRatio.GetHashCode(); - if (SummonDmgRatio != 0) hash ^= SummonDmgRatio.GetHashCode(); - if (RcdSummonDmgRatio != 0) hash ^= RcdSummonDmgRatio.GetHashCode(); - if (ProjectileDmgRatio != 0) hash ^= ProjectileDmgRatio.GetHashCode(); - if (RcdProjectileDmgRatio != 0) hash ^= RcdProjectileDmgRatio.GetHashCode(); - if (GENDMG != 0) hash ^= GENDMG.GetHashCode(); - if (DMGPLUS != 0) hash ^= DMGPLUS.GetHashCode(); - if (FINALDMG != 0) hash ^= FINALDMG.GetHashCode(); - if (FINALDMGPLUS != 0) hash ^= FINALDMGPLUS.GetHashCode(); - if (WEERCD != 0) hash ^= WEERCD.GetHashCode(); - if (FEERCD != 0) hash ^= FEERCD.GetHashCode(); - if (SEERCD != 0) hash ^= SEERCD.GetHashCode(); - if (AEERCD != 0) hash ^= AEERCD.GetHashCode(); - if (LEERCD != 0) hash ^= LEERCD.GetHashCode(); - if (DEERCD != 0) hash ^= DEERCD.GetHashCode(); - if (GENDMGRCD != 0) hash ^= GENDMGRCD.GetHashCode(); - if (DMGPLUSRCD != 0) hash ^= DMGPLUSRCD.GetHashCode(); - if (EnergyConvRatio != 0) hash ^= EnergyConvRatio.GetHashCode(); - if (EnergyEfficiency != 0) hash ^= EnergyEfficiency.GetHashCode(); - if (NormalCritRate != 0) hash ^= NormalCritRate.GetHashCode(); - if (SkillCritRate != 0) hash ^= SkillCritRate.GetHashCode(); - if (UltraCritRate != 0) hash ^= UltraCritRate.GetHashCode(); - if (MarkCritRate != 0) hash ^= MarkCritRate.GetHashCode(); - if (SummonCritRate != 0) hash ^= SummonCritRate.GetHashCode(); - if (ProjectileCritRate != 0) hash ^= ProjectileCritRate.GetHashCode(); - if (OtherCritRate != 0) hash ^= OtherCritRate.GetHashCode(); - if (NormalCritPower != 0) hash ^= NormalCritPower.GetHashCode(); - if (SkillCritPower != 0) hash ^= SkillCritPower.GetHashCode(); - if (UltraCritPower != 0) hash ^= UltraCritPower.GetHashCode(); - if (MarkCritPower != 0) hash ^= MarkCritPower.GetHashCode(); - if (SummonCritPower != 0) hash ^= SummonCritPower.GetHashCode(); - if (ProjectileCritPower != 0) hash ^= ProjectileCritPower.GetHashCode(); - if (OtherCritPower != 0) hash ^= OtherCritPower.GetHashCode(); - if (AttrId.Length != 0) hash ^= AttrId.GetHashCode(); - hash ^= skillLevelList_.GetHashCode(); - hash ^= talentInfoList_.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.WriteUInt32(Id); - } - if (Level != 0) { - output.WriteRawTag(16); - output.WriteInt32(Level); - } - if (BreakCount != 0) { - output.WriteRawTag(24); - output.WriteInt32(BreakCount); - } - if (Hp != 0) { - output.WriteRawTag(32); - output.WriteInt32(Hp); - } - if (Atk != 0) { - output.WriteRawTag(40); - output.WriteInt32(Atk); - } - if (Def != 0) { - output.WriteRawTag(48); - output.WriteInt32(Def); - } - if (MDef != 0) { - output.WriteRawTag(56); - output.WriteInt32(MDef); - } - if (CritRate != 0) { - output.WriteRawTag(64); - output.WriteInt32(CritRate); - } - if (CritResistance != 0) { - output.WriteRawTag(72); - output.WriteInt32(CritResistance); - } - if (CritPower != 0) { - output.WriteRawTag(80); - output.WriteInt32(CritPower); - } - if (HitRate != 0) { - output.WriteRawTag(88); - output.WriteInt32(HitRate); - } - if (Evd != 0) { - output.WriteRawTag(96); - output.WriteInt32(Evd); - } - if (DefPierce != 0) { - output.WriteRawTag(104); - output.WriteInt32(DefPierce); - } - if (DefIgnore != 0) { - output.WriteRawTag(112); - output.WriteInt32(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(120); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DEP); - } - if (WEE != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(DER); - } - if (WEI != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(WEI); - } - if (FEI != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(FEI); - } - if (SEI != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(SEI); - } - if (AEI != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(AEI); - } - if (LEI != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(LEI); - } - if (DEI != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(DEI); - } - if (ShieldBonus != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(ShieldBonus); - } - if (IncomingShieldBonus != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(IncomingShieldBonus); - } - if (SkinId != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(SkinId); - } - if (Suppress != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(Suppress); - } - if (NormalDmgRatio != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(NormalDmgRatio); - } - if (SkillDmgRatio != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(SkillDmgRatio); - } - if (UltraDmgRatio != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(UltraDmgRatio); - } - if (OtherDmgRatio != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(OtherDmgRatio); - } - if (RcdNormalDmgRatio != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(RcdNormalDmgRatio); - } - if (RcdSkillDmgRatio != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(RcdSkillDmgRatio); - } - if (RcdUltraDmgRatio != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(RcdUltraDmgRatio); - } - if (RcdOtherDmgRatio != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(RcdOtherDmgRatio); - } - if (MarkDmgRatio != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(MarkDmgRatio); - } - if (SummonDmgRatio != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(SummonDmgRatio); - } - if (RcdSummonDmgRatio != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(RcdSummonDmgRatio); - } - if (ProjectileDmgRatio != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(ProjectileDmgRatio); - } - if (RcdProjectileDmgRatio != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(RcdProjectileDmgRatio); - } - if (GENDMG != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(GENDMG); - } - if (DMGPLUS != 0) { - output.WriteRawTag(200, 3); - output.WriteInt32(DMGPLUS); - } - if (FINALDMG != 0) { - output.WriteRawTag(208, 3); - output.WriteInt32(FINALDMG); - } - if (FINALDMGPLUS != 0) { - output.WriteRawTag(216, 3); - output.WriteInt32(FINALDMGPLUS); - } - if (WEERCD != 0) { - output.WriteRawTag(224, 3); - output.WriteInt32(WEERCD); - } - if (FEERCD != 0) { - output.WriteRawTag(232, 3); - output.WriteInt32(FEERCD); - } - if (SEERCD != 0) { - output.WriteRawTag(240, 3); - output.WriteInt32(SEERCD); - } - if (AEERCD != 0) { - output.WriteRawTag(248, 3); - output.WriteInt32(AEERCD); - } - if (LEERCD != 0) { - output.WriteRawTag(128, 4); - output.WriteInt32(LEERCD); - } - if (DEERCD != 0) { - output.WriteRawTag(136, 4); - output.WriteInt32(DEERCD); - } - if (GENDMGRCD != 0) { - output.WriteRawTag(144, 4); - output.WriteInt32(GENDMGRCD); - } - if (DMGPLUSRCD != 0) { - output.WriteRawTag(152, 4); - output.WriteInt32(DMGPLUSRCD); - } - if (EnergyConvRatio != 0) { - output.WriteRawTag(160, 4); - output.WriteInt32(EnergyConvRatio); - } - if (EnergyEfficiency != 0) { - output.WriteRawTag(168, 4); - output.WriteInt32(EnergyEfficiency); - } - if (NormalCritRate != 0) { - output.WriteRawTag(176, 4); - output.WriteInt32(NormalCritRate); - } - if (SkillCritRate != 0) { - output.WriteRawTag(184, 4); - output.WriteInt32(SkillCritRate); - } - if (UltraCritRate != 0) { - output.WriteRawTag(192, 4); - output.WriteInt32(UltraCritRate); - } - if (MarkCritRate != 0) { - output.WriteRawTag(200, 4); - output.WriteInt32(MarkCritRate); - } - if (SummonCritRate != 0) { - output.WriteRawTag(208, 4); - output.WriteInt32(SummonCritRate); - } - if (ProjectileCritRate != 0) { - output.WriteRawTag(216, 4); - output.WriteInt32(ProjectileCritRate); - } - if (OtherCritRate != 0) { - output.WriteRawTag(224, 4); - output.WriteInt32(OtherCritRate); - } - if (NormalCritPower != 0) { - output.WriteRawTag(232, 4); - output.WriteInt32(NormalCritPower); - } - if (SkillCritPower != 0) { - output.WriteRawTag(240, 4); - output.WriteInt32(SkillCritPower); - } - if (UltraCritPower != 0) { - output.WriteRawTag(248, 4); - output.WriteInt32(UltraCritPower); - } - if (MarkCritPower != 0) { - output.WriteRawTag(128, 5); - output.WriteInt32(MarkCritPower); - } - if (SummonCritPower != 0) { - output.WriteRawTag(136, 5); - output.WriteInt32(SummonCritPower); - } - if (ProjectileCritPower != 0) { - output.WriteRawTag(144, 5); - output.WriteInt32(ProjectileCritPower); - } - if (OtherCritPower != 0) { - output.WriteRawTag(152, 5); - output.WriteInt32(OtherCritPower); - } - if (AttrId.Length != 0) { - output.WriteRawTag(162, 5); - output.WriteString(AttrId); - } - skillLevelList_.WriteTo(output, _repeated_skillLevelList_codec); - talentInfoList_.WriteTo(output, _repeated_talentInfoList_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.WriteUInt32(Id); - } - if (Level != 0) { - output.WriteRawTag(16); - output.WriteInt32(Level); - } - if (BreakCount != 0) { - output.WriteRawTag(24); - output.WriteInt32(BreakCount); - } - if (Hp != 0) { - output.WriteRawTag(32); - output.WriteInt32(Hp); - } - if (Atk != 0) { - output.WriteRawTag(40); - output.WriteInt32(Atk); - } - if (Def != 0) { - output.WriteRawTag(48); - output.WriteInt32(Def); - } - if (MDef != 0) { - output.WriteRawTag(56); - output.WriteInt32(MDef); - } - if (CritRate != 0) { - output.WriteRawTag(64); - output.WriteInt32(CritRate); - } - if (CritResistance != 0) { - output.WriteRawTag(72); - output.WriteInt32(CritResistance); - } - if (CritPower != 0) { - output.WriteRawTag(80); - output.WriteInt32(CritPower); - } - if (HitRate != 0) { - output.WriteRawTag(88); - output.WriteInt32(HitRate); - } - if (Evd != 0) { - output.WriteRawTag(96); - output.WriteInt32(Evd); - } - if (DefPierce != 0) { - output.WriteRawTag(104); - output.WriteInt32(DefPierce); - } - if (DefIgnore != 0) { - output.WriteRawTag(112); - output.WriteInt32(DefIgnore); - } - if (WEP != 0) { - output.WriteRawTag(120); - output.WriteInt32(WEP); - } - if (FEP != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(FEP); - } - if (SEP != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(SEP); - } - if (AEP != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(AEP); - } - if (LEP != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(LEP); - } - if (DEP != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DEP); - } - if (WEE != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(WEE); - } - if (FEE != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(FEE); - } - if (SEE != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(SEE); - } - if (AEE != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(AEE); - } - if (LEE != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(LEE); - } - if (DEE != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(DEE); - } - if (WER != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(WER); - } - if (FER != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(FER); - } - if (SER != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(SER); - } - if (AER != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(AER); - } - if (LER != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(LER); - } - if (DER != 0) { - output.WriteRawTag(128, 2); - output.WriteInt32(DER); - } - if (WEI != 0) { - output.WriteRawTag(136, 2); - output.WriteInt32(WEI); - } - if (FEI != 0) { - output.WriteRawTag(144, 2); - output.WriteInt32(FEI); - } - if (SEI != 0) { - output.WriteRawTag(152, 2); - output.WriteInt32(SEI); - } - if (AEI != 0) { - output.WriteRawTag(160, 2); - output.WriteInt32(AEI); - } - if (LEI != 0) { - output.WriteRawTag(168, 2); - output.WriteInt32(LEI); - } - if (DEI != 0) { - output.WriteRawTag(176, 2); - output.WriteInt32(DEI); - } - if (ShieldBonus != 0) { - output.WriteRawTag(184, 2); - output.WriteInt32(ShieldBonus); - } - if (IncomingShieldBonus != 0) { - output.WriteRawTag(192, 2); - output.WriteInt32(IncomingShieldBonus); - } - if (SkinId != 0) { - output.WriteRawTag(200, 2); - output.WriteInt32(SkinId); - } - if (Suppress != 0) { - output.WriteRawTag(208, 2); - output.WriteInt32(Suppress); - } - if (NormalDmgRatio != 0) { - output.WriteRawTag(216, 2); - output.WriteInt32(NormalDmgRatio); - } - if (SkillDmgRatio != 0) { - output.WriteRawTag(224, 2); - output.WriteInt32(SkillDmgRatio); - } - if (UltraDmgRatio != 0) { - output.WriteRawTag(232, 2); - output.WriteInt32(UltraDmgRatio); - } - if (OtherDmgRatio != 0) { - output.WriteRawTag(240, 2); - output.WriteInt32(OtherDmgRatio); - } - if (RcdNormalDmgRatio != 0) { - output.WriteRawTag(248, 2); - output.WriteInt32(RcdNormalDmgRatio); - } - if (RcdSkillDmgRatio != 0) { - output.WriteRawTag(128, 3); - output.WriteInt32(RcdSkillDmgRatio); - } - if (RcdUltraDmgRatio != 0) { - output.WriteRawTag(136, 3); - output.WriteInt32(RcdUltraDmgRatio); - } - if (RcdOtherDmgRatio != 0) { - output.WriteRawTag(144, 3); - output.WriteInt32(RcdOtherDmgRatio); - } - if (MarkDmgRatio != 0) { - output.WriteRawTag(152, 3); - output.WriteInt32(MarkDmgRatio); - } - if (SummonDmgRatio != 0) { - output.WriteRawTag(160, 3); - output.WriteInt32(SummonDmgRatio); - } - if (RcdSummonDmgRatio != 0) { - output.WriteRawTag(168, 3); - output.WriteInt32(RcdSummonDmgRatio); - } - if (ProjectileDmgRatio != 0) { - output.WriteRawTag(176, 3); - output.WriteInt32(ProjectileDmgRatio); - } - if (RcdProjectileDmgRatio != 0) { - output.WriteRawTag(184, 3); - output.WriteInt32(RcdProjectileDmgRatio); - } - if (GENDMG != 0) { - output.WriteRawTag(192, 3); - output.WriteInt32(GENDMG); - } - if (DMGPLUS != 0) { - output.WriteRawTag(200, 3); - output.WriteInt32(DMGPLUS); - } - if (FINALDMG != 0) { - output.WriteRawTag(208, 3); - output.WriteInt32(FINALDMG); - } - if (FINALDMGPLUS != 0) { - output.WriteRawTag(216, 3); - output.WriteInt32(FINALDMGPLUS); - } - if (WEERCD != 0) { - output.WriteRawTag(224, 3); - output.WriteInt32(WEERCD); - } - if (FEERCD != 0) { - output.WriteRawTag(232, 3); - output.WriteInt32(FEERCD); - } - if (SEERCD != 0) { - output.WriteRawTag(240, 3); - output.WriteInt32(SEERCD); - } - if (AEERCD != 0) { - output.WriteRawTag(248, 3); - output.WriteInt32(AEERCD); - } - if (LEERCD != 0) { - output.WriteRawTag(128, 4); - output.WriteInt32(LEERCD); - } - if (DEERCD != 0) { - output.WriteRawTag(136, 4); - output.WriteInt32(DEERCD); - } - if (GENDMGRCD != 0) { - output.WriteRawTag(144, 4); - output.WriteInt32(GENDMGRCD); - } - if (DMGPLUSRCD != 0) { - output.WriteRawTag(152, 4); - output.WriteInt32(DMGPLUSRCD); - } - if (EnergyConvRatio != 0) { - output.WriteRawTag(160, 4); - output.WriteInt32(EnergyConvRatio); - } - if (EnergyEfficiency != 0) { - output.WriteRawTag(168, 4); - output.WriteInt32(EnergyEfficiency); - } - if (NormalCritRate != 0) { - output.WriteRawTag(176, 4); - output.WriteInt32(NormalCritRate); - } - if (SkillCritRate != 0) { - output.WriteRawTag(184, 4); - output.WriteInt32(SkillCritRate); - } - if (UltraCritRate != 0) { - output.WriteRawTag(192, 4); - output.WriteInt32(UltraCritRate); - } - if (MarkCritRate != 0) { - output.WriteRawTag(200, 4); - output.WriteInt32(MarkCritRate); - } - if (SummonCritRate != 0) { - output.WriteRawTag(208, 4); - output.WriteInt32(SummonCritRate); - } - if (ProjectileCritRate != 0) { - output.WriteRawTag(216, 4); - output.WriteInt32(ProjectileCritRate); - } - if (OtherCritRate != 0) { - output.WriteRawTag(224, 4); - output.WriteInt32(OtherCritRate); - } - if (NormalCritPower != 0) { - output.WriteRawTag(232, 4); - output.WriteInt32(NormalCritPower); - } - if (SkillCritPower != 0) { - output.WriteRawTag(240, 4); - output.WriteInt32(SkillCritPower); - } - if (UltraCritPower != 0) { - output.WriteRawTag(248, 4); - output.WriteInt32(UltraCritPower); - } - if (MarkCritPower != 0) { - output.WriteRawTag(128, 5); - output.WriteInt32(MarkCritPower); - } - if (SummonCritPower != 0) { - output.WriteRawTag(136, 5); - output.WriteInt32(SummonCritPower); - } - if (ProjectileCritPower != 0) { - output.WriteRawTag(144, 5); - output.WriteInt32(ProjectileCritPower); - } - if (OtherCritPower != 0) { - output.WriteRawTag(152, 5); - output.WriteInt32(OtherCritPower); - } - if (AttrId.Length != 0) { - output.WriteRawTag(162, 5); - output.WriteString(AttrId); - } - skillLevelList_.WriteTo(ref output, _repeated_skillLevelList_codec); - talentInfoList_.WriteTo(ref output, _repeated_talentInfoList_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.ComputeUInt32Size(Id); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (BreakCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BreakCount); - } - if (Hp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hp); - } - if (Atk != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Atk); - } - if (Def != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Def); - } - if (MDef != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MDef); - } - if (CritRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritRate); - } - if (CritResistance != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritResistance); - } - if (CritPower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritPower); - } - if (HitRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HitRate); - } - if (Evd != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Evd); - } - if (DefPierce != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefPierce); - } - if (DefIgnore != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefIgnore); - } - if (WEP != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WEP); - } - if (FEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); - } - if (SEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); - } - if (AEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); - } - if (LEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); - } - if (DEP != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); - } - if (WEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); - } - if (FEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); - } - if (SEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); - } - if (AEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); - } - if (LEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); - } - if (DEE != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); - } - if (WER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); - } - if (FER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); - } - if (SER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); - } - if (AER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); - } - if (LER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); - } - if (DER != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); - } - if (WEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEI); - } - if (FEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEI); - } - if (SEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEI); - } - if (AEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEI); - } - if (LEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEI); - } - if (DEI != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEI); - } - if (ShieldBonus != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ShieldBonus); - } - if (IncomingShieldBonus != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(IncomingShieldBonus); - } - if (SkinId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinId); - } - if (Suppress != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Suppress); - } - if (NormalDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalDmgRatio); - } - if (SkillDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillDmgRatio); - } - if (UltraDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraDmgRatio); - } - if (OtherDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherDmgRatio); - } - if (RcdNormalDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RcdNormalDmgRatio); - } - if (RcdSkillDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RcdSkillDmgRatio); - } - if (RcdUltraDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RcdUltraDmgRatio); - } - if (RcdOtherDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RcdOtherDmgRatio); - } - if (MarkDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkDmgRatio); - } - if (SummonDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonDmgRatio); - } - if (RcdSummonDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RcdSummonDmgRatio); - } - if (ProjectileDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileDmgRatio); - } - if (RcdProjectileDmgRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RcdProjectileDmgRatio); - } - if (GENDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GENDMG); - } - if (DMGPLUS != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DMGPLUS); - } - if (FINALDMG != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FINALDMG); - } - if (FINALDMGPLUS != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FINALDMGPLUS); - } - if (WEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEERCD); - } - if (FEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEERCD); - } - if (SEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEERCD); - } - if (AEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEERCD); - } - if (LEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEERCD); - } - if (DEERCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEERCD); - } - if (GENDMGRCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GENDMGRCD); - } - if (DMGPLUSRCD != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DMGPLUSRCD); - } - if (EnergyConvRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyConvRatio); - } - if (EnergyEfficiency != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyEfficiency); - } - if (NormalCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalCritRate); - } - if (SkillCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillCritRate); - } - if (UltraCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraCritRate); - } - if (MarkCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkCritRate); - } - if (SummonCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonCritRate); - } - if (ProjectileCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritRate); - } - if (OtherCritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherCritRate); - } - if (NormalCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalCritPower); - } - if (SkillCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillCritPower); - } - if (UltraCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraCritPower); - } - if (MarkCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkCritPower); - } - if (SummonCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonCritPower); - } - if (ProjectileCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritPower); - } - if (OtherCritPower != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherCritPower); - } - if (AttrId.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AttrId); - } - size += skillLevelList_.CalculateSize(_repeated_skillLevelList_codec); - size += talentInfoList_.CalculateSize(_repeated_talentInfoList_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Role other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.BreakCount != 0) { - BreakCount = other.BreakCount; - } - if (other.Hp != 0) { - Hp = other.Hp; - } - if (other.Atk != 0) { - Atk = other.Atk; - } - if (other.Def != 0) { - Def = other.Def; - } - if (other.MDef != 0) { - MDef = other.MDef; - } - if (other.CritRate != 0) { - CritRate = other.CritRate; - } - if (other.CritResistance != 0) { - CritResistance = other.CritResistance; - } - if (other.CritPower != 0) { - CritPower = other.CritPower; - } - if (other.HitRate != 0) { - HitRate = other.HitRate; - } - if (other.Evd != 0) { - Evd = other.Evd; - } - if (other.DefPierce != 0) { - DefPierce = other.DefPierce; - } - if (other.DefIgnore != 0) { - DefIgnore = other.DefIgnore; - } - if (other.WEP != 0) { - WEP = other.WEP; - } - if (other.FEP != 0) { - FEP = other.FEP; - } - if (other.SEP != 0) { - SEP = other.SEP; - } - if (other.AEP != 0) { - AEP = other.AEP; - } - if (other.LEP != 0) { - LEP = other.LEP; - } - if (other.DEP != 0) { - DEP = other.DEP; - } - if (other.WEE != 0) { - WEE = other.WEE; - } - if (other.FEE != 0) { - FEE = other.FEE; - } - if (other.SEE != 0) { - SEE = other.SEE; - } - if (other.AEE != 0) { - AEE = other.AEE; - } - if (other.LEE != 0) { - LEE = other.LEE; - } - if (other.DEE != 0) { - DEE = other.DEE; - } - if (other.WER != 0) { - WER = other.WER; - } - if (other.FER != 0) { - FER = other.FER; - } - if (other.SER != 0) { - SER = other.SER; - } - if (other.AER != 0) { - AER = other.AER; - } - if (other.LER != 0) { - LER = other.LER; - } - if (other.DER != 0) { - DER = other.DER; - } - if (other.WEI != 0) { - WEI = other.WEI; - } - if (other.FEI != 0) { - FEI = other.FEI; - } - if (other.SEI != 0) { - SEI = other.SEI; - } - if (other.AEI != 0) { - AEI = other.AEI; - } - if (other.LEI != 0) { - LEI = other.LEI; - } - if (other.DEI != 0) { - DEI = other.DEI; - } - if (other.ShieldBonus != 0) { - ShieldBonus = other.ShieldBonus; - } - if (other.IncomingShieldBonus != 0) { - IncomingShieldBonus = other.IncomingShieldBonus; - } - if (other.SkinId != 0) { - SkinId = other.SkinId; - } - if (other.Suppress != 0) { - Suppress = other.Suppress; - } - if (other.NormalDmgRatio != 0) { - NormalDmgRatio = other.NormalDmgRatio; - } - if (other.SkillDmgRatio != 0) { - SkillDmgRatio = other.SkillDmgRatio; - } - if (other.UltraDmgRatio != 0) { - UltraDmgRatio = other.UltraDmgRatio; - } - if (other.OtherDmgRatio != 0) { - OtherDmgRatio = other.OtherDmgRatio; - } - if (other.RcdNormalDmgRatio != 0) { - RcdNormalDmgRatio = other.RcdNormalDmgRatio; - } - if (other.RcdSkillDmgRatio != 0) { - RcdSkillDmgRatio = other.RcdSkillDmgRatio; - } - if (other.RcdUltraDmgRatio != 0) { - RcdUltraDmgRatio = other.RcdUltraDmgRatio; - } - if (other.RcdOtherDmgRatio != 0) { - RcdOtherDmgRatio = other.RcdOtherDmgRatio; - } - if (other.MarkDmgRatio != 0) { - MarkDmgRatio = other.MarkDmgRatio; - } - if (other.SummonDmgRatio != 0) { - SummonDmgRatio = other.SummonDmgRatio; - } - if (other.RcdSummonDmgRatio != 0) { - RcdSummonDmgRatio = other.RcdSummonDmgRatio; - } - if (other.ProjectileDmgRatio != 0) { - ProjectileDmgRatio = other.ProjectileDmgRatio; - } - if (other.RcdProjectileDmgRatio != 0) { - RcdProjectileDmgRatio = other.RcdProjectileDmgRatio; - } - if (other.GENDMG != 0) { - GENDMG = other.GENDMG; - } - if (other.DMGPLUS != 0) { - DMGPLUS = other.DMGPLUS; - } - if (other.FINALDMG != 0) { - FINALDMG = other.FINALDMG; - } - if (other.FINALDMGPLUS != 0) { - FINALDMGPLUS = other.FINALDMGPLUS; - } - if (other.WEERCD != 0) { - WEERCD = other.WEERCD; - } - if (other.FEERCD != 0) { - FEERCD = other.FEERCD; - } - if (other.SEERCD != 0) { - SEERCD = other.SEERCD; - } - if (other.AEERCD != 0) { - AEERCD = other.AEERCD; - } - if (other.LEERCD != 0) { - LEERCD = other.LEERCD; - } - if (other.DEERCD != 0) { - DEERCD = other.DEERCD; - } - if (other.GENDMGRCD != 0) { - GENDMGRCD = other.GENDMGRCD; - } - if (other.DMGPLUSRCD != 0) { - DMGPLUSRCD = other.DMGPLUSRCD; - } - if (other.EnergyConvRatio != 0) { - EnergyConvRatio = other.EnergyConvRatio; - } - if (other.EnergyEfficiency != 0) { - EnergyEfficiency = other.EnergyEfficiency; - } - if (other.NormalCritRate != 0) { - NormalCritRate = other.NormalCritRate; - } - if (other.SkillCritRate != 0) { - SkillCritRate = other.SkillCritRate; - } - if (other.UltraCritRate != 0) { - UltraCritRate = other.UltraCritRate; - } - if (other.MarkCritRate != 0) { - MarkCritRate = other.MarkCritRate; - } - if (other.SummonCritRate != 0) { - SummonCritRate = other.SummonCritRate; - } - if (other.ProjectileCritRate != 0) { - ProjectileCritRate = other.ProjectileCritRate; - } - if (other.OtherCritRate != 0) { - OtherCritRate = other.OtherCritRate; - } - if (other.NormalCritPower != 0) { - NormalCritPower = other.NormalCritPower; - } - if (other.SkillCritPower != 0) { - SkillCritPower = other.SkillCritPower; - } - if (other.UltraCritPower != 0) { - UltraCritPower = other.UltraCritPower; - } - if (other.MarkCritPower != 0) { - MarkCritPower = other.MarkCritPower; - } - if (other.SummonCritPower != 0) { - SummonCritPower = other.SummonCritPower; - } - if (other.ProjectileCritPower != 0) { - ProjectileCritPower = other.ProjectileCritPower; - } - if (other.OtherCritPower != 0) { - OtherCritPower = other.OtherCritPower; - } - if (other.AttrId.Length != 0) { - AttrId = other.AttrId; - } - skillLevelList_.Add(other.skillLevelList_); - talentInfoList_.Add(other.talentInfoList_); - _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.ReadUInt32(); - break; - } - case 16: { - Level = input.ReadInt32(); - break; - } - case 24: { - BreakCount = input.ReadInt32(); - break; - } - case 32: { - Hp = input.ReadInt32(); - break; - } - case 40: { - Atk = input.ReadInt32(); - break; - } - case 48: { - Def = input.ReadInt32(); - break; - } - case 56: { - MDef = input.ReadInt32(); - break; - } - case 64: { - CritRate = input.ReadInt32(); - break; - } - case 72: { - CritResistance = input.ReadInt32(); - break; - } - case 80: { - CritPower = input.ReadInt32(); - break; - } - case 88: { - HitRate = input.ReadInt32(); - break; - } - case 96: { - Evd = input.ReadInt32(); - break; - } - case 104: { - DefPierce = input.ReadInt32(); - break; - } - case 112: { - DefIgnore = input.ReadInt32(); - break; - } - case 120: { - WEP = input.ReadInt32(); - break; - } - case 128: { - FEP = input.ReadInt32(); - break; - } - case 136: { - SEP = input.ReadInt32(); - break; - } - case 144: { - AEP = input.ReadInt32(); - break; - } - case 152: { - LEP = input.ReadInt32(); - break; - } - case 160: { - DEP = input.ReadInt32(); - break; - } - case 168: { - WEE = input.ReadInt32(); - break; - } - case 176: { - FEE = input.ReadInt32(); - break; - } - case 184: { - SEE = input.ReadInt32(); - break; - } - case 192: { - AEE = input.ReadInt32(); - break; - } - case 200: { - LEE = input.ReadInt32(); - break; - } - case 208: { - DEE = input.ReadInt32(); - break; - } - case 216: { - WER = input.ReadInt32(); - break; - } - case 224: { - FER = input.ReadInt32(); - break; - } - case 232: { - SER = input.ReadInt32(); - break; - } - case 240: { - AER = input.ReadInt32(); - break; - } - case 248: { - LER = input.ReadInt32(); - break; - } - case 256: { - DER = input.ReadInt32(); - break; - } - case 264: { - WEI = input.ReadInt32(); - break; - } - case 272: { - FEI = input.ReadInt32(); - break; - } - case 280: { - SEI = input.ReadInt32(); - break; - } - case 288: { - AEI = input.ReadInt32(); - break; - } - case 296: { - LEI = input.ReadInt32(); - break; - } - case 304: { - DEI = input.ReadInt32(); - break; - } - case 312: { - ShieldBonus = input.ReadInt32(); - break; - } - case 320: { - IncomingShieldBonus = input.ReadInt32(); - break; - } - case 328: { - SkinId = input.ReadInt32(); - break; - } - case 336: { - Suppress = input.ReadInt32(); - break; - } - case 344: { - NormalDmgRatio = input.ReadInt32(); - break; - } - case 352: { - SkillDmgRatio = input.ReadInt32(); - break; - } - case 360: { - UltraDmgRatio = input.ReadInt32(); - break; - } - case 368: { - OtherDmgRatio = input.ReadInt32(); - break; - } - case 376: { - RcdNormalDmgRatio = input.ReadInt32(); - break; - } - case 384: { - RcdSkillDmgRatio = input.ReadInt32(); - break; - } - case 392: { - RcdUltraDmgRatio = input.ReadInt32(); - break; - } - case 400: { - RcdOtherDmgRatio = input.ReadInt32(); - break; - } - case 408: { - MarkDmgRatio = input.ReadInt32(); - break; - } - case 416: { - SummonDmgRatio = input.ReadInt32(); - break; - } - case 424: { - RcdSummonDmgRatio = input.ReadInt32(); - break; - } - case 432: { - ProjectileDmgRatio = input.ReadInt32(); - break; - } - case 440: { - RcdProjectileDmgRatio = input.ReadInt32(); - break; - } - case 448: { - GENDMG = input.ReadInt32(); - break; - } - case 456: { - DMGPLUS = input.ReadInt32(); - break; - } - case 464: { - FINALDMG = input.ReadInt32(); - break; - } - case 472: { - FINALDMGPLUS = input.ReadInt32(); - break; - } - case 480: { - WEERCD = input.ReadInt32(); - break; - } - case 488: { - FEERCD = input.ReadInt32(); - break; - } - case 496: { - SEERCD = input.ReadInt32(); - break; - } - case 504: { - AEERCD = input.ReadInt32(); - break; - } - case 512: { - LEERCD = input.ReadInt32(); - break; - } - case 520: { - DEERCD = input.ReadInt32(); - break; - } - case 528: { - GENDMGRCD = input.ReadInt32(); - break; - } - case 536: { - DMGPLUSRCD = input.ReadInt32(); - break; - } - case 544: { - EnergyConvRatio = input.ReadInt32(); - break; - } - case 552: { - EnergyEfficiency = input.ReadInt32(); - break; - } - case 560: { - NormalCritRate = input.ReadInt32(); - break; - } - case 568: { - SkillCritRate = input.ReadInt32(); - break; - } - case 576: { - UltraCritRate = input.ReadInt32(); - break; - } - case 584: { - MarkCritRate = input.ReadInt32(); - break; - } - case 592: { - SummonCritRate = input.ReadInt32(); - break; - } - case 600: { - ProjectileCritRate = input.ReadInt32(); - break; - } - case 608: { - OtherCritRate = input.ReadInt32(); - break; - } - case 616: { - NormalCritPower = input.ReadInt32(); - break; - } - case 624: { - SkillCritPower = input.ReadInt32(); - break; - } - case 632: { - UltraCritPower = input.ReadInt32(); - break; - } - case 640: { - MarkCritPower = input.ReadInt32(); - break; - } - case 648: { - SummonCritPower = input.ReadInt32(); - break; - } - case 656: { - ProjectileCritPower = input.ReadInt32(); - break; - } - case 664: { - OtherCritPower = input.ReadInt32(); - break; - } - case 674: { - AttrId = input.ReadString(); - break; - } - case 682: - case 680: { - skillLevelList_.AddEntriesFrom(input, _repeated_skillLevelList_codec); - break; - } - case 690: - case 688: { - talentInfoList_.AddEntriesFrom(input, _repeated_talentInfoList_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.ReadUInt32(); - break; - } - case 16: { - Level = input.ReadInt32(); - break; - } - case 24: { - BreakCount = input.ReadInt32(); - break; - } - case 32: { - Hp = input.ReadInt32(); - break; - } - case 40: { - Atk = input.ReadInt32(); - break; - } - case 48: { - Def = input.ReadInt32(); - break; - } - case 56: { - MDef = input.ReadInt32(); - break; - } - case 64: { - CritRate = input.ReadInt32(); - break; - } - case 72: { - CritResistance = input.ReadInt32(); - break; - } - case 80: { - CritPower = input.ReadInt32(); - break; - } - case 88: { - HitRate = input.ReadInt32(); - break; - } - case 96: { - Evd = input.ReadInt32(); - break; - } - case 104: { - DefPierce = input.ReadInt32(); - break; - } - case 112: { - DefIgnore = input.ReadInt32(); - break; - } - case 120: { - WEP = input.ReadInt32(); - break; - } - case 128: { - FEP = input.ReadInt32(); - break; - } - case 136: { - SEP = input.ReadInt32(); - break; - } - case 144: { - AEP = input.ReadInt32(); - break; - } - case 152: { - LEP = input.ReadInt32(); - break; - } - case 160: { - DEP = input.ReadInt32(); - break; - } - case 168: { - WEE = input.ReadInt32(); - break; - } - case 176: { - FEE = input.ReadInt32(); - break; - } - case 184: { - SEE = input.ReadInt32(); - break; - } - case 192: { - AEE = input.ReadInt32(); - break; - } - case 200: { - LEE = input.ReadInt32(); - break; - } - case 208: { - DEE = input.ReadInt32(); - break; - } - case 216: { - WER = input.ReadInt32(); - break; - } - case 224: { - FER = input.ReadInt32(); - break; - } - case 232: { - SER = input.ReadInt32(); - break; - } - case 240: { - AER = input.ReadInt32(); - break; - } - case 248: { - LER = input.ReadInt32(); - break; - } - case 256: { - DER = input.ReadInt32(); - break; - } - case 264: { - WEI = input.ReadInt32(); - break; - } - case 272: { - FEI = input.ReadInt32(); - break; - } - case 280: { - SEI = input.ReadInt32(); - break; - } - case 288: { - AEI = input.ReadInt32(); - break; - } - case 296: { - LEI = input.ReadInt32(); - break; - } - case 304: { - DEI = input.ReadInt32(); - break; - } - case 312: { - ShieldBonus = input.ReadInt32(); - break; - } - case 320: { - IncomingShieldBonus = input.ReadInt32(); - break; - } - case 328: { - SkinId = input.ReadInt32(); - break; - } - case 336: { - Suppress = input.ReadInt32(); - break; - } - case 344: { - NormalDmgRatio = input.ReadInt32(); - break; - } - case 352: { - SkillDmgRatio = input.ReadInt32(); - break; - } - case 360: { - UltraDmgRatio = input.ReadInt32(); - break; - } - case 368: { - OtherDmgRatio = input.ReadInt32(); - break; - } - case 376: { - RcdNormalDmgRatio = input.ReadInt32(); - break; - } - case 384: { - RcdSkillDmgRatio = input.ReadInt32(); - break; - } - case 392: { - RcdUltraDmgRatio = input.ReadInt32(); - break; - } - case 400: { - RcdOtherDmgRatio = input.ReadInt32(); - break; - } - case 408: { - MarkDmgRatio = input.ReadInt32(); - break; - } - case 416: { - SummonDmgRatio = input.ReadInt32(); - break; - } - case 424: { - RcdSummonDmgRatio = input.ReadInt32(); - break; - } - case 432: { - ProjectileDmgRatio = input.ReadInt32(); - break; - } - case 440: { - RcdProjectileDmgRatio = input.ReadInt32(); - break; - } - case 448: { - GENDMG = input.ReadInt32(); - break; - } - case 456: { - DMGPLUS = input.ReadInt32(); - break; - } - case 464: { - FINALDMG = input.ReadInt32(); - break; - } - case 472: { - FINALDMGPLUS = input.ReadInt32(); - break; - } - case 480: { - WEERCD = input.ReadInt32(); - break; - } - case 488: { - FEERCD = input.ReadInt32(); - break; - } - case 496: { - SEERCD = input.ReadInt32(); - break; - } - case 504: { - AEERCD = input.ReadInt32(); - break; - } - case 512: { - LEERCD = input.ReadInt32(); - break; - } - case 520: { - DEERCD = input.ReadInt32(); - break; - } - case 528: { - GENDMGRCD = input.ReadInt32(); - break; - } - case 536: { - DMGPLUSRCD = input.ReadInt32(); - break; - } - case 544: { - EnergyConvRatio = input.ReadInt32(); - break; - } - case 552: { - EnergyEfficiency = input.ReadInt32(); - break; - } - case 560: { - NormalCritRate = input.ReadInt32(); - break; - } - case 568: { - SkillCritRate = input.ReadInt32(); - break; - } - case 576: { - UltraCritRate = input.ReadInt32(); - break; - } - case 584: { - MarkCritRate = input.ReadInt32(); - break; - } - case 592: { - SummonCritRate = input.ReadInt32(); - break; - } - case 600: { - ProjectileCritRate = input.ReadInt32(); - break; - } - case 608: { - OtherCritRate = input.ReadInt32(); - break; - } - case 616: { - NormalCritPower = input.ReadInt32(); - break; - } - case 624: { - SkillCritPower = input.ReadInt32(); - break; - } - case 632: { - UltraCritPower = input.ReadInt32(); - break; - } - case 640: { - MarkCritPower = input.ReadInt32(); - break; - } - case 648: { - SummonCritPower = input.ReadInt32(); - break; - } - case 656: { - ProjectileCritPower = input.ReadInt32(); - break; - } - case 664: { - OtherCritPower = input.ReadInt32(); - break; - } - case 674: { - AttrId = input.ReadString(); - break; - } - case 682: - case 680: { - skillLevelList_.AddEntriesFrom(ref input, _repeated_skillLevelList_codec); - break; - } - case 690: - case 688: { - talentInfoList_.AddEntriesFrom(ref input, _repeated_talentInfoList_codec); - break; - } - } - } - } - #endif - - } - - [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.Recorders.Descriptor.NestedTypes[1]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Disc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Disc(Disc other) : this() { - id_ = other.id_; - level_ = other.level_; - discSkillList_ = other.discSkillList_.Clone(); - _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 uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "level" field.</summary> - public const int LevelFieldNumber = 2; - private uint level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Level { - get { return level_; } - set { - level_ = value; - } - } - - /// <summary>Field number for the "disc_skill_list" field.</summary> - public const int DiscSkillListFieldNumber = 3; - private static readonly pb::FieldCodec<global::Nova.Client.Recorders.Types.DiscSkill> _repeated_discSkillList_codec - = pb::FieldCodec.ForMessage(26, global::Nova.Client.Recorders.Types.DiscSkill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Recorders.Types.DiscSkill> discSkillList_ = new pbc::RepeatedField<global::Nova.Client.Recorders.Types.DiscSkill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Recorders.Types.DiscSkill> DiscSkillList { - get { return discSkillList_; } - } - - [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 (Level != other.Level) return false; - if(!discSkillList_.Equals(other.discSkillList_)) 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 (Level != 0) hash ^= Level.GetHashCode(); - hash ^= discSkillList_.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.WriteUInt32(Id); - } - if (Level != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Level); - } - discSkillList_.WriteTo(output, _repeated_discSkillList_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.WriteUInt32(Id); - } - if (Level != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Level); - } - discSkillList_.WriteTo(ref output, _repeated_discSkillList_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.ComputeUInt32Size(Id); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); - } - size += discSkillList_.CalculateSize(_repeated_discSkillList_codec); - 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.Level != 0) { - Level = other.Level; - } - discSkillList_.Add(other.discSkillList_); - _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.ReadUInt32(); - break; - } - case 16: { - Level = input.ReadUInt32(); - break; - } - case 26: { - discSkillList_.AddEntriesFrom(input, _repeated_discSkillList_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.ReadUInt32(); - break; - } - case 16: { - Level = input.ReadUInt32(); - break; - } - case 26: { - discSkillList_.AddEntriesFrom(ref input, _repeated_discSkillList_codec); - break; - } - } - } - } - #endif - - } - - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DiscSkill : pb::IMessage<DiscSkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<DiscSkill> _parser = new pb::MessageParser<DiscSkill>(() => new DiscSkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<DiscSkill> 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.Recorders.Descriptor.NestedTypes[2]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscSkill(DiscSkill other) : this() { - id_ = other.id_; - level_ = other.level_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DiscSkill Clone() { - return new DiscSkill(this); - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { return id_; } - set { - id_ = value; - } - } - - /// <summary>Field number for the "level" field.</summary> - public const int LevelFieldNumber = 2; - private uint level_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Level { - get { return level_; } - set { - level_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DiscSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DiscSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Level != other.Level) 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 (Level != 0) hash ^= Level.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.WriteUInt32(Id); - } - if (Level != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Level); - } - 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.WriteUInt32(Id); - } - if (Level != 0) { - output.WriteRawTag(16); - output.WriteUInt32(Level); - } - 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.ComputeUInt32Size(Id); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DiscSkill other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Level != 0) { - Level = other.Level; - } - _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.ReadUInt32(); - break; - } - case 16: { - Level = input.ReadUInt32(); - 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.ReadUInt32(); - break; - } - case 16: { - Level = input.ReadUInt32(); - break; - } - } - } - } - #endif - - } - - } - #endregion - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ProductionType.cs b/Novaria.Common/Protos/RedeemCode.cs similarity index 59% rename from Novaria.Common/Protos/ProductionType.cs rename to Novaria.Common/Protos/RedeemCode.cs index 41016a1..54b0bf5 100644 --- a/Novaria.Common/Protos/ProductionType.cs +++ b/Novaria.Common/Protos/RedeemCode.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProductionType.proto +// source: redeem_code.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from ProductionType.proto</summary> - public static partial class ProductionTypeReflection { + /// <summary>Holder for reflection information generated from redeem_code.proto</summary> + public static partial class RedeemCodeReflection { #region Descriptor - /// <summary>File descriptor for ProductionType.proto</summary> + /// <summary>File descriptor for redeem_code.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static ProductionTypeReflection() { + static RedeemCodeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChRQcm9kdWN0aW9uVHlwZS5wcm90byJACg5Qcm9kdWN0aW9uVHlwZRIKCgJp", - "ZBgBIAEoBRIRCgl0eXBlX25hbWUYAiABKAkSDwoHc29ydF9pZBgDIAEoBUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "ChFyZWRlZW1fY29kZS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byJoCg5S", + "ZWRlZW1Db2RlUmVzcBIdCgVJdGVtcxgBIAMoCzIOLnByb3RvLkl0ZW1UcGwS", + "IQoGQ2hhbmdlGAIgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ProductionType), global::Nova.Client.ProductionType.Parser, new[]{ "Id", "TypeName", "SortId" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RedeemCodeResp), global::Proto.RedeemCodeResp.Parser, new[]{ "Items", "Change", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ProductionType : pb::IMessage<ProductionType> + public sealed partial class RedeemCodeResp : pb::IMessage<RedeemCodeResp> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<ProductionType> _parser = new pb::MessageParser<ProductionType>(() => new ProductionType()); + private static readonly pb::MessageParser<RedeemCodeResp> _parser = new pb::MessageParser<RedeemCodeResp>(() => new RedeemCodeResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<ProductionType> Parser { get { return _parser; } } + public static pb::MessageParser<RedeemCodeResp> 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.ProductionTypeReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.RedeemCodeReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductionType() { + public RedeemCodeResp() { OnConstruction(); } @@ -71,73 +72,72 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductionType(ProductionType other) : this() { - id_ = other.id_; - typeName_ = other.typeName_; - sortId_ = other.sortId_; + public RedeemCodeResp(RedeemCodeResp other) : this() { + items_ = other.items_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductionType Clone() { - return new ProductionType(this); + public RedeemCodeResp Clone() { + return new RedeemCodeResp(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "Items" field.</summary> + public const int ItemsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_items_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> items_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField<global::Proto.ItemTpl> Items { + get { return items_; } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } set { - id_ = value; + change_ = value; } } - /// <summary>Field number for the "type_name" field.</summary> - public const int TypeNameFieldNumber = 2; - private string typeName_ = ""; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TypeName { - get { return typeName_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "sort_id" field.</summary> - public const int SortIdFieldNumber = 3; - private int sortId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortId { - get { return sortId_; } - set { - sortId_ = value; + nextPackage_ = 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 ProductionType); + return Equals(other as RedeemCodeResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProductionType other) { + public bool Equals(RedeemCodeResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (TypeName != other.TypeName) return false; - if (SortId != other.SortId) return false; + if(!items_.Equals(other.items_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (TypeName.Length != 0) hash ^= TypeName.GetHashCode(); - if (SortId != 0) hash ^= SortId.GetHashCode(); + hash ^= items_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,14 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (TypeName.Length != 0) { + items_.WriteTo(output, _repeated_items_codec); + if (change_ != null) { output.WriteRawTag(18); - output.WriteString(TypeName); + output.WriteMessage(Change); } - if (SortId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SortId); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +185,14 @@ namespace Nova.Client { [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 (TypeName.Length != 0) { + items_.WriteTo(ref output, _repeated_items_codec); + if (change_ != null) { output.WriteRawTag(18); - output.WriteString(TypeName); + output.WriteMessage(Change); } - if (SortId != 0) { - output.WriteRawTag(24); - output.WriteInt32(SortId); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +204,12 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += items_.CalculateSize(_repeated_items_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } - if (TypeName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); - } - if (SortId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +219,19 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProductionType other) { + public void MergeFrom(RedeemCodeResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + items_.Add(other.items_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); } - if (other.TypeName.Length != 0) { - TypeName = other.TypeName; - } - if (other.SortId != 0) { - SortId = other.SortId; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -259,16 +252,19 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + items_.AddEntriesFrom(input, _repeated_items_codec); break; } case 18: { - TypeName = input.ReadString(); + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 24: { - SortId = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -290,16 +286,19 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); break; } case 18: { - TypeName = input.ReadString(); + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 24: { - SortId = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/RegionBoss.cs b/Novaria.Common/Protos/RegionBoss.cs deleted file mode 100644 index 4c80486..0000000 --- a/Novaria.Common/Protos/RegionBoss.cs +++ /dev/null @@ -1,700 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RegionBoss.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 RegionBoss.proto</summary> - public static partial class RegionBossReflection { - - #region Descriptor - /// <summary>File descriptor for RegionBoss.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RegionBossReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBSZWdpb25Cb3NzLnByb3RvIogCCgpSZWdpb25Cb3NzEgoKAmlkGAEgASgF", - "EhIKCm1vbnN0ZXJfaWQYAiABKAUSEwoLcmVnaW9uX3R5cGUYAyABKAUSDAoE", - "bmFtZRgEIAEoCRIMCgRpY29uGAUgASgJEhgKEHVubG9ja19jb25kaXRpb24Y", - "BiABKAkSFgoObmVlZF9yb2d1ZWxpa2UYByABKAUSDAoEc29ydBgIIAEoBRIQ", - "CghvcGVuX2RheRgJIAMoBRIVCg1vcGVuX2RheV9kZXNjGAogASgJEg0KBWVf", - "ZV90GAsgAygFEg8KB2VwaXNvZGUYDCABKAkSDQoFaW1hZ2UYDSABKAkSEQoJ", - "ZHJvcF9pdGVtGA4gAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBoss), global::Nova.Client.RegionBoss.Parser, new[]{ "Id", "MonsterId", "RegionType", "Name", "Icon", "UnlockCondition", "NeedRoguelike", "Sort", "OpenDay", "OpenDayDesc", "EET", "Episode", "Image", "DropItem" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RegionBoss : pb::IMessage<RegionBoss> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<RegionBoss> _parser = new pb::MessageParser<RegionBoss>(() => new RegionBoss()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<RegionBoss> 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.RegionBossReflection.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 RegionBoss() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegionBoss(RegionBoss other) : this() { - id_ = other.id_; - monsterId_ = other.monsterId_; - regionType_ = other.regionType_; - name_ = other.name_; - icon_ = other.icon_; - unlockCondition_ = other.unlockCondition_; - needRoguelike_ = other.needRoguelike_; - sort_ = other.sort_; - openDay_ = other.openDay_.Clone(); - openDayDesc_ = other.openDayDesc_; - eET_ = other.eET_.Clone(); - episode_ = other.episode_; - image_ = other.image_; - dropItem_ = other.dropItem_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegionBoss Clone() { - return new RegionBoss(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 "monster_id" field.</summary> - public const int MonsterIdFieldNumber = 2; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// <summary>Field number for the "region_type" field.</summary> - public const int RegionTypeFieldNumber = 3; - private int regionType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RegionType { - get { return regionType_; } - set { - regionType_ = 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 "icon" field.</summary> - public const int IconFieldNumber = 5; - 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 "unlock_condition" field.</summary> - public const int UnlockConditionFieldNumber = 6; - private string unlockCondition_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockCondition { - get { return unlockCondition_; } - set { - unlockCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "need_roguelike" field.</summary> - public const int NeedRoguelikeFieldNumber = 7; - private int needRoguelike_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedRoguelike { - get { return needRoguelike_; } - set { - needRoguelike_ = value; - } - } - - /// <summary>Field number for the "sort" field.</summary> - public const int SortFieldNumber = 8; - 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 "open_day" field.</summary> - public const int OpenDayFieldNumber = 9; - private static readonly pb::FieldCodec<int> _repeated_openDay_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField<int> openDay_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> OpenDay { - get { return openDay_; } - } - - /// <summary>Field number for the "open_day_desc" field.</summary> - public const int OpenDayDescFieldNumber = 10; - private string openDayDesc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenDayDesc { - get { return openDayDesc_; } - set { - openDayDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "e_e_t" field.</summary> - public const int EETFieldNumber = 11; - private static readonly pb::FieldCodec<int> _repeated_eET_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EET { - get { return eET_; } - } - - /// <summary>Field number for the "episode" field.</summary> - public const int EpisodeFieldNumber = 12; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "image" field.</summary> - public const int ImageFieldNumber = 13; - 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 "drop_item" field.</summary> - public const int DropItemFieldNumber = 14; - private static readonly pb::FieldCodec<int> _repeated_dropItem_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField<int> dropItem_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> DropItem { - get { return dropItem_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RegionBoss); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RegionBoss other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (MonsterId != other.MonsterId) return false; - if (RegionType != other.RegionType) return false; - if (Name != other.Name) return false; - if (Icon != other.Icon) return false; - if (UnlockCondition != other.UnlockCondition) return false; - if (NeedRoguelike != other.NeedRoguelike) return false; - if (Sort != other.Sort) return false; - if(!openDay_.Equals(other.openDay_)) return false; - if (OpenDayDesc != other.OpenDayDesc) return false; - if(!eET_.Equals(other.eET_)) return false; - if (Episode != other.Episode) return false; - if (Image != other.Image) return false; - if(!dropItem_.Equals(other.dropItem_)) 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 (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (RegionType != 0) hash ^= RegionType.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (UnlockCondition.Length != 0) hash ^= UnlockCondition.GetHashCode(); - if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - hash ^= openDay_.GetHashCode(); - if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.GetHashCode(); - hash ^= eET_.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Image.Length != 0) hash ^= Image.GetHashCode(); - hash ^= dropItem_.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 (MonsterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterId); - } - if (RegionType != 0) { - output.WriteRawTag(24); - output.WriteInt32(RegionType); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon); - } - if (UnlockCondition.Length != 0) { - output.WriteRawTag(50); - output.WriteString(UnlockCondition); - } - if (NeedRoguelike != 0) { - output.WriteRawTag(56); - output.WriteInt32(NeedRoguelike); - } - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - openDay_.WriteTo(output, _repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - output.WriteRawTag(82); - output.WriteString(OpenDayDesc); - } - eET_.WriteTo(output, _repeated_eET_codec); - if (Episode.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Image); - } - dropItem_.WriteTo(output, _repeated_dropItem_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 (MonsterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterId); - } - if (RegionType != 0) { - output.WriteRawTag(24); - output.WriteInt32(RegionType); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Icon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon); - } - if (UnlockCondition.Length != 0) { - output.WriteRawTag(50); - output.WriteString(UnlockCondition); - } - if (NeedRoguelike != 0) { - output.WriteRawTag(56); - output.WriteInt32(NeedRoguelike); - } - if (Sort != 0) { - output.WriteRawTag(64); - output.WriteInt32(Sort); - } - openDay_.WriteTo(ref output, _repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - output.WriteRawTag(82); - output.WriteString(OpenDayDesc); - } - eET_.WriteTo(ref output, _repeated_eET_codec); - if (Episode.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Image); - } - dropItem_.WriteTo(ref output, _repeated_dropItem_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 (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (RegionType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionType); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (UnlockCondition.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockCondition); - } - if (NeedRoguelike != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - size += openDay_.CalculateSize(_repeated_openDay_codec); - if (OpenDayDesc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc); - } - size += eET_.CalculateSize(_repeated_eET_codec); - if (Episode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Image.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); - } - size += dropItem_.CalculateSize(_repeated_dropItem_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RegionBoss other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.RegionType != 0) { - RegionType = other.RegionType; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.UnlockCondition.Length != 0) { - UnlockCondition = other.UnlockCondition; - } - if (other.NeedRoguelike != 0) { - NeedRoguelike = other.NeedRoguelike; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - openDay_.Add(other.openDay_); - if (other.OpenDayDesc.Length != 0) { - OpenDayDesc = other.OpenDayDesc; - } - eET_.Add(other.eET_); - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Image.Length != 0) { - Image = other.Image; - } - dropItem_.Add(other.dropItem_); - _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: { - MonsterId = input.ReadInt32(); - break; - } - case 24: { - RegionType = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Icon = input.ReadString(); - break; - } - case 50: { - UnlockCondition = input.ReadString(); - break; - } - case 56: { - NeedRoguelike = input.ReadInt32(); - break; - } - case 64: { - Sort = input.ReadInt32(); - break; - } - case 74: - case 72: { - openDay_.AddEntriesFrom(input, _repeated_openDay_codec); - break; - } - case 82: { - OpenDayDesc = input.ReadString(); - break; - } - case 90: - case 88: { - eET_.AddEntriesFrom(input, _repeated_eET_codec); - break; - } - case 98: { - Episode = input.ReadString(); - break; - } - case 106: { - Image = input.ReadString(); - break; - } - case 114: - case 112: { - dropItem_.AddEntriesFrom(input, _repeated_dropItem_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: { - MonsterId = input.ReadInt32(); - break; - } - case 24: { - RegionType = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Icon = input.ReadString(); - break; - } - case 50: { - UnlockCondition = input.ReadString(); - break; - } - case 56: { - NeedRoguelike = input.ReadInt32(); - break; - } - case 64: { - Sort = input.ReadInt32(); - break; - } - case 74: - case 72: { - openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec); - break; - } - case 82: { - OpenDayDesc = input.ReadString(); - break; - } - case 90: - case 88: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - case 98: { - Episode = input.ReadString(); - break; - } - case 106: { - Image = input.ReadString(); - break; - } - case 114: - case 112: { - dropItem_.AddEntriesFrom(ref input, _repeated_dropItem_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/RegionBossAffix.cs b/Novaria.Common/Protos/RegionBossAffix.cs deleted file mode 100644 index e6e700c..0000000 --- a/Novaria.Common/Protos/RegionBossAffix.cs +++ /dev/null @@ -1,560 +0,0 @@ -// <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 diff --git a/Novaria.Common/Protos/RegionBossFloor.cs b/Novaria.Common/Protos/RegionBossFloor.cs deleted file mode 100644 index 1e538a2..0000000 --- a/Novaria.Common/Protos/RegionBossFloor.cs +++ /dev/null @@ -1,504 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RegionBossFloor.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 RegionBossFloor.proto</summary> - public static partial class RegionBossFloorReflection { - - #region Descriptor - /// <summary>File descriptor for RegionBossFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RegionBossFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVSZWdpb25Cb3NzRmxvb3IucHJvdG8iswEKD1JlZ2lvbkJvc3NGbG9vchIK", - "CgJpZBgBIAEoBRISCgpzY2VuZV9uYW1lGAIgASgJEhoKEmNvbmZpZ19wcmVm", - "YWJfbmFtZRgDIAEoCRINCgV0aGVtZRgEIAEoBRINCgViX2dfbRgFIAEoCRIb", - "ChNsZWF2ZV90cmlnZ2VyX2V2ZW50GAYgASgJEhIKCm1vbnN0ZXJfbHYYByAB", - "KAUSFQoNZHVuZ2Vvbl9kZWxheRgIIAEoBUIOqgILTm92YS5DbGllbnRiBnBy", - "b3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBossFloor), global::Nova.Client.RegionBossFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterLv", "DungeonDelay" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RegionBossFloor : pb::IMessage<RegionBossFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<RegionBossFloor> _parser = new pb::MessageParser<RegionBossFloor>(() => new RegionBossFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<RegionBossFloor> 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.RegionBossFloorReflection.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 RegionBossFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegionBossFloor(RegionBossFloor other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - monsterLv_ = other.monsterLv_; - dungeonDelay_ = other.dungeonDelay_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegionBossFloor Clone() { - return new RegionBossFloor(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 "scene_name" field.</summary> - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "config_prefab_name" field.</summary> - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "theme" field.</summary> - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// <summary>Field number for the "b_g_m" field.</summary> - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "leave_trigger_event" field.</summary> - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "monster_lv" field.</summary> - public const int MonsterLvFieldNumber = 7; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - /// <summary>Field number for the "dungeon_delay" field.</summary> - public const int DungeonDelayFieldNumber = 8; - private int dungeonDelay_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DungeonDelay { - get { return dungeonDelay_; } - set { - dungeonDelay_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RegionBossFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RegionBossFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; - if (MonsterLv != other.MonsterLv) return false; - if (DungeonDelay != other.DungeonDelay) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); - if (DungeonDelay != 0) hash ^= DungeonDelay.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - if (DungeonDelay != 0) { - output.WriteRawTag(64); - output.WriteInt32(DungeonDelay); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - if (DungeonDelay != 0) { - output.WriteRawTag(64); - output.WriteInt32(DungeonDelay); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (DungeonDelay != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DungeonDelay); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RegionBossFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - if (other.DungeonDelay != 0) { - DungeonDelay = other.DungeonDelay; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - case 64: { - DungeonDelay = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - case 64: { - DungeonDelay = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/RegionBossLevel.cs b/Novaria.Common/Protos/RegionBossLevel.cs deleted file mode 100644 index 50c432c..0000000 --- a/Novaria.Common/Protos/RegionBossLevel.cs +++ /dev/null @@ -1,1358 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RegionBossLevel.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 RegionBossLevel.proto</summary> - public static partial class RegionBossLevelReflection { - - #region Descriptor - /// <summary>File descriptor for RegionBossLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RegionBossLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVSZWdpb25Cb3NzTGV2ZWwucHJvdG8i6wUKD1JlZ2lvbkJvc3NMZXZlbBIK", - "CgJpZBgBIAEoBRIWCg5yZWdpb25fYm9zc19pZBgCIAEoBRISCgpkaWZmaWN1", - "bHR5GAMgASgFEhMKC3JlZ2lvbl90eXBlGAQgASgFEgwKBG5hbWUYBSABKAkS", - "DAoEZGVzYxgGIAEoCRIMCgRpY29uGAcgASgJEhcKD3N1Z2dlc3RlZF9wb3dl", - "chgIIAEoBRIUCgxwcmVfbGV2ZWxfaWQYCSABKAUSFgoOYm9zc19zaG93X3Rp", - "bWUYCiABKAUSFgoOcHJlX2xldmVsX3N0YXIYCyABKAUSGAoQbmVlZF93b3Js", - "ZF9jbGFzcxgMIAEoBRIWCg5uZWVkX3JvZ3VlbGlrZRgNIAEoBRIQCghmbG9v", - "cl9pZBgOIAEoBRIaChJvbmVfc3Rhcl9jb25kaXRpb24YDyABKAkSGgoSdHdv", - "X3N0YXJfY29uZGl0aW9uGBAgASgJEhwKFHRocmVlX3N0YXJfY29uZGl0aW9u", - "GBEgASgJEg8KB2Ryb3BfaWQYEiABKAUSFgoOZW5lcmd5X2NvbnN1bWUYEyAB", - "KAUSGgoSYmFzZV9hd2FyZF9wcmV2aWV3GBQgASgJEhcKD2VudHJ5X2dyb3Vw", - "X2lkMRgVIAEoBRIaChJlbnRyeV9ncm91cF9sZXZlbDEYFiABKAUSFwoPZW50", - "cnlfZ3JvdXBfaWQyGBcgASgFEhoKEmVudHJ5X2dyb3VwX2xldmVsMhgYIAEo", - "BRIXCg9lbnRyeV9ncm91cF9pZDMYGSABKAUSGgoSZW50cnlfZ3JvdXBfbGV2", - "ZWwzGBogASgFEhcKD2VudHJ5X2dyb3VwX2lkNBgbIAEoBRIaChJlbnRyeV9n", - "cm91cF9sZXZlbDQYHCABKAUSFwoPZW50cnlfZ3JvdXBfaWQ1GB0gASgFEhoK", - "EmVudHJ5X2dyb3VwX2xldmVsNRgeIAEoBRIaChJleHRyYV9kcm9wX3ByZXZp", - "ZXcYHyADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBossLevel), global::Nova.Client.RegionBossLevel.Parser, new[]{ "Id", "RegionBossId", "Difficulty", "RegionType", "Name", "Desc", "Icon", "SuggestedPower", "PreLevelId", "BossShowTime", "PreLevelStar", "NeedWorldClass", "NeedRoguelike", "FloorId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "DropId", "EnergyConsume", "BaseAwardPreview", "EntryGroupId1", "EntryGroupLevel1", "EntryGroupId2", "EntryGroupLevel2", "EntryGroupId3", "EntryGroupLevel3", "EntryGroupId4", "EntryGroupLevel4", "EntryGroupId5", "EntryGroupLevel5", "ExtraDropPreview" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class RegionBossLevel : pb::IMessage<RegionBossLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<RegionBossLevel> _parser = new pb::MessageParser<RegionBossLevel>(() => new RegionBossLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<RegionBossLevel> 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.RegionBossLevelReflection.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 RegionBossLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegionBossLevel(RegionBossLevel other) : this() { - id_ = other.id_; - regionBossId_ = other.regionBossId_; - difficulty_ = other.difficulty_; - regionType_ = other.regionType_; - name_ = other.name_; - desc_ = other.desc_; - icon_ = other.icon_; - suggestedPower_ = other.suggestedPower_; - preLevelId_ = other.preLevelId_; - bossShowTime_ = other.bossShowTime_; - preLevelStar_ = other.preLevelStar_; - needWorldClass_ = other.needWorldClass_; - needRoguelike_ = other.needRoguelike_; - floorId_ = other.floorId_; - oneStarCondition_ = other.oneStarCondition_; - twoStarCondition_ = other.twoStarCondition_; - threeStarCondition_ = other.threeStarCondition_; - dropId_ = other.dropId_; - energyConsume_ = other.energyConsume_; - baseAwardPreview_ = other.baseAwardPreview_; - entryGroupId1_ = other.entryGroupId1_; - entryGroupLevel1_ = other.entryGroupLevel1_; - entryGroupId2_ = other.entryGroupId2_; - entryGroupLevel2_ = other.entryGroupLevel2_; - entryGroupId3_ = other.entryGroupId3_; - entryGroupLevel3_ = other.entryGroupLevel3_; - entryGroupId4_ = other.entryGroupId4_; - entryGroupLevel4_ = other.entryGroupLevel4_; - entryGroupId5_ = other.entryGroupId5_; - entryGroupLevel5_ = other.entryGroupLevel5_; - extraDropPreview_ = other.extraDropPreview_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RegionBossLevel Clone() { - return new RegionBossLevel(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 "region_boss_id" field.</summary> - public const int RegionBossIdFieldNumber = 2; - private int regionBossId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RegionBossId { - get { return regionBossId_; } - set { - regionBossId_ = value; - } - } - - /// <summary>Field number for the "difficulty" field.</summary> - 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; - } - } - - /// <summary>Field number for the "region_type" field.</summary> - public const int RegionTypeFieldNumber = 4; - private int regionType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RegionType { - get { return regionType_; } - set { - regionType_ = value; - } - } - - /// <summary>Field number for the "name" field.</summary> - public const int NameFieldNumber = 5; - 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 = 6; - 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 = 7; - 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 "suggested_power" field.</summary> - public const int SuggestedPowerFieldNumber = 8; - private int suggestedPower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SuggestedPower { - get { return suggestedPower_; } - set { - suggestedPower_ = value; - } - } - - /// <summary>Field number for the "pre_level_id" field.</summary> - public const int PreLevelIdFieldNumber = 9; - private int preLevelId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreLevelId { - get { return preLevelId_; } - set { - preLevelId_ = value; - } - } - - /// <summary>Field number for the "boss_show_time" field.</summary> - public const int BossShowTimeFieldNumber = 10; - private int bossShowTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BossShowTime { - get { return bossShowTime_; } - set { - bossShowTime_ = value; - } - } - - /// <summary>Field number for the "pre_level_star" field.</summary> - public const int PreLevelStarFieldNumber = 11; - private int preLevelStar_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreLevelStar { - get { return preLevelStar_; } - set { - preLevelStar_ = value; - } - } - - /// <summary>Field number for the "need_world_class" field.</summary> - public const int NeedWorldClassFieldNumber = 12; - private int needWorldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedWorldClass { - get { return needWorldClass_; } - set { - needWorldClass_ = value; - } - } - - /// <summary>Field number for the "need_roguelike" field.</summary> - public const int NeedRoguelikeFieldNumber = 13; - private int needRoguelike_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedRoguelike { - get { return needRoguelike_; } - set { - needRoguelike_ = value; - } - } - - /// <summary>Field number for the "floor_id" field.</summary> - public const int FloorIdFieldNumber = 14; - private int floorId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FloorId { - get { return floorId_; } - set { - floorId_ = value; - } - } - - /// <summary>Field number for the "one_star_condition" field.</summary> - public const int OneStarConditionFieldNumber = 15; - private string oneStarCondition_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OneStarCondition { - get { return oneStarCondition_; } - set { - oneStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "two_star_condition" field.</summary> - public const int TwoStarConditionFieldNumber = 16; - private string twoStarCondition_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TwoStarCondition { - get { return twoStarCondition_; } - set { - twoStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "three_star_condition" field.</summary> - public const int ThreeStarConditionFieldNumber = 17; - private string threeStarCondition_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ThreeStarCondition { - get { return threeStarCondition_; } - set { - threeStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "drop_id" field.</summary> - public const int DropIdFieldNumber = 18; - private int dropId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropId { - get { return dropId_; } - set { - dropId_ = value; - } - } - - /// <summary>Field number for the "energy_consume" field.</summary> - public const int EnergyConsumeFieldNumber = 19; - private int energyConsume_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnergyConsume { - get { return energyConsume_; } - set { - energyConsume_ = value; - } - } - - /// <summary>Field number for the "base_award_preview" field.</summary> - public const int BaseAwardPreviewFieldNumber = 20; - private string baseAwardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BaseAwardPreview { - get { return baseAwardPreview_; } - set { - baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "entry_group_id1" field.</summary> - public const int EntryGroupId1FieldNumber = 21; - private int entryGroupId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupId1 { - get { return entryGroupId1_; } - set { - entryGroupId1_ = value; - } - } - - /// <summary>Field number for the "entry_group_level1" field.</summary> - public const int EntryGroupLevel1FieldNumber = 22; - private int entryGroupLevel1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupLevel1 { - get { return entryGroupLevel1_; } - set { - entryGroupLevel1_ = value; - } - } - - /// <summary>Field number for the "entry_group_id2" field.</summary> - public const int EntryGroupId2FieldNumber = 23; - private int entryGroupId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupId2 { - get { return entryGroupId2_; } - set { - entryGroupId2_ = value; - } - } - - /// <summary>Field number for the "entry_group_level2" field.</summary> - public const int EntryGroupLevel2FieldNumber = 24; - private int entryGroupLevel2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupLevel2 { - get { return entryGroupLevel2_; } - set { - entryGroupLevel2_ = value; - } - } - - /// <summary>Field number for the "entry_group_id3" field.</summary> - public const int EntryGroupId3FieldNumber = 25; - private int entryGroupId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupId3 { - get { return entryGroupId3_; } - set { - entryGroupId3_ = value; - } - } - - /// <summary>Field number for the "entry_group_level3" field.</summary> - public const int EntryGroupLevel3FieldNumber = 26; - private int entryGroupLevel3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupLevel3 { - get { return entryGroupLevel3_; } - set { - entryGroupLevel3_ = value; - } - } - - /// <summary>Field number for the "entry_group_id4" field.</summary> - public const int EntryGroupId4FieldNumber = 27; - private int entryGroupId4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupId4 { - get { return entryGroupId4_; } - set { - entryGroupId4_ = value; - } - } - - /// <summary>Field number for the "entry_group_level4" field.</summary> - public const int EntryGroupLevel4FieldNumber = 28; - private int entryGroupLevel4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupLevel4 { - get { return entryGroupLevel4_; } - set { - entryGroupLevel4_ = value; - } - } - - /// <summary>Field number for the "entry_group_id5" field.</summary> - public const int EntryGroupId5FieldNumber = 29; - private int entryGroupId5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupId5 { - get { return entryGroupId5_; } - set { - entryGroupId5_ = value; - } - } - - /// <summary>Field number for the "entry_group_level5" field.</summary> - public const int EntryGroupLevel5FieldNumber = 30; - private int entryGroupLevel5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryGroupLevel5 { - get { return entryGroupLevel5_; } - set { - entryGroupLevel5_ = value; - } - } - - /// <summary>Field number for the "extra_drop_preview" field.</summary> - public const int ExtraDropPreviewFieldNumber = 31; - private static readonly pb::FieldCodec<int> _repeated_extraDropPreview_codec - = pb::FieldCodec.ForInt32(250); - private readonly pbc::RepeatedField<int> extraDropPreview_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> ExtraDropPreview { - get { return extraDropPreview_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RegionBossLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RegionBossLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (RegionBossId != other.RegionBossId) return false; - if (Difficulty != other.Difficulty) return false; - if (RegionType != other.RegionType) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (SuggestedPower != other.SuggestedPower) return false; - if (PreLevelId != other.PreLevelId) return false; - if (BossShowTime != other.BossShowTime) return false; - if (PreLevelStar != other.PreLevelStar) return false; - if (NeedWorldClass != other.NeedWorldClass) return false; - if (NeedRoguelike != other.NeedRoguelike) return false; - if (FloorId != other.FloorId) return false; - if (OneStarCondition != other.OneStarCondition) return false; - if (TwoStarCondition != other.TwoStarCondition) return false; - if (ThreeStarCondition != other.ThreeStarCondition) return false; - if (DropId != other.DropId) return false; - if (EnergyConsume != other.EnergyConsume) return false; - if (BaseAwardPreview != other.BaseAwardPreview) return false; - if (EntryGroupId1 != other.EntryGroupId1) return false; - if (EntryGroupLevel1 != other.EntryGroupLevel1) return false; - if (EntryGroupId2 != other.EntryGroupId2) return false; - if (EntryGroupLevel2 != other.EntryGroupLevel2) return false; - if (EntryGroupId3 != other.EntryGroupId3) return false; - if (EntryGroupLevel3 != other.EntryGroupLevel3) return false; - if (EntryGroupId4 != other.EntryGroupId4) return false; - if (EntryGroupLevel4 != other.EntryGroupLevel4) return false; - if (EntryGroupId5 != other.EntryGroupId5) return false; - if (EntryGroupLevel5 != other.EntryGroupLevel5) return false; - if(!extraDropPreview_.Equals(other.extraDropPreview_)) 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 (RegionBossId != 0) hash ^= RegionBossId.GetHashCode(); - if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); - if (RegionType != 0) hash ^= RegionType.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (SuggestedPower != 0) hash ^= SuggestedPower.GetHashCode(); - if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); - if (BossShowTime != 0) hash ^= BossShowTime.GetHashCode(); - if (PreLevelStar != 0) hash ^= PreLevelStar.GetHashCode(); - if (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); - if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode(); - if (FloorId != 0) hash ^= FloorId.GetHashCode(); - if (OneStarCondition.Length != 0) hash ^= OneStarCondition.GetHashCode(); - if (TwoStarCondition.Length != 0) hash ^= TwoStarCondition.GetHashCode(); - if (ThreeStarCondition.Length != 0) hash ^= ThreeStarCondition.GetHashCode(); - if (DropId != 0) hash ^= DropId.GetHashCode(); - if (EnergyConsume != 0) hash ^= EnergyConsume.GetHashCode(); - if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode(); - if (EntryGroupId1 != 0) hash ^= EntryGroupId1.GetHashCode(); - if (EntryGroupLevel1 != 0) hash ^= EntryGroupLevel1.GetHashCode(); - if (EntryGroupId2 != 0) hash ^= EntryGroupId2.GetHashCode(); - if (EntryGroupLevel2 != 0) hash ^= EntryGroupLevel2.GetHashCode(); - if (EntryGroupId3 != 0) hash ^= EntryGroupId3.GetHashCode(); - if (EntryGroupLevel3 != 0) hash ^= EntryGroupLevel3.GetHashCode(); - if (EntryGroupId4 != 0) hash ^= EntryGroupId4.GetHashCode(); - if (EntryGroupLevel4 != 0) hash ^= EntryGroupLevel4.GetHashCode(); - if (EntryGroupId5 != 0) hash ^= EntryGroupId5.GetHashCode(); - if (EntryGroupLevel5 != 0) hash ^= EntryGroupLevel5.GetHashCode(); - hash ^= extraDropPreview_.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 (RegionBossId != 0) { - output.WriteRawTag(16); - output.WriteInt32(RegionBossId); - } - if (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (RegionType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RegionType); - } - if (Name.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Icon); - } - if (SuggestedPower != 0) { - output.WriteRawTag(64); - output.WriteInt32(SuggestedPower); - } - if (PreLevelId != 0) { - output.WriteRawTag(72); - output.WriteInt32(PreLevelId); - } - if (BossShowTime != 0) { - output.WriteRawTag(80); - output.WriteInt32(BossShowTime); - } - if (PreLevelStar != 0) { - output.WriteRawTag(88); - output.WriteInt32(PreLevelStar); - } - if (NeedWorldClass != 0) { - output.WriteRawTag(96); - output.WriteInt32(NeedWorldClass); - } - if (NeedRoguelike != 0) { - output.WriteRawTag(104); - output.WriteInt32(NeedRoguelike); - } - if (FloorId != 0) { - output.WriteRawTag(112); - output.WriteInt32(FloorId); - } - if (OneStarCondition.Length != 0) { - output.WriteRawTag(122); - output.WriteString(OneStarCondition); - } - if (TwoStarCondition.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(TwoStarCondition); - } - if (ThreeStarCondition.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(ThreeStarCondition); - } - if (DropId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(DropId); - } - if (EnergyConsume != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(EnergyConsume); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(BaseAwardPreview); - } - if (EntryGroupId1 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(EntryGroupId1); - } - if (EntryGroupLevel1 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(EntryGroupLevel1); - } - if (EntryGroupId2 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(EntryGroupId2); - } - if (EntryGroupLevel2 != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(EntryGroupLevel2); - } - if (EntryGroupId3 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(EntryGroupId3); - } - if (EntryGroupLevel3 != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(EntryGroupLevel3); - } - if (EntryGroupId4 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(EntryGroupId4); - } - if (EntryGroupLevel4 != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(EntryGroupLevel4); - } - if (EntryGroupId5 != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(EntryGroupId5); - } - if (EntryGroupLevel5 != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(EntryGroupLevel5); - } - extraDropPreview_.WriteTo(output, _repeated_extraDropPreview_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 (RegionBossId != 0) { - output.WriteRawTag(16); - output.WriteInt32(RegionBossId); - } - if (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (RegionType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RegionType); - } - if (Name.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Icon); - } - if (SuggestedPower != 0) { - output.WriteRawTag(64); - output.WriteInt32(SuggestedPower); - } - if (PreLevelId != 0) { - output.WriteRawTag(72); - output.WriteInt32(PreLevelId); - } - if (BossShowTime != 0) { - output.WriteRawTag(80); - output.WriteInt32(BossShowTime); - } - if (PreLevelStar != 0) { - output.WriteRawTag(88); - output.WriteInt32(PreLevelStar); - } - if (NeedWorldClass != 0) { - output.WriteRawTag(96); - output.WriteInt32(NeedWorldClass); - } - if (NeedRoguelike != 0) { - output.WriteRawTag(104); - output.WriteInt32(NeedRoguelike); - } - if (FloorId != 0) { - output.WriteRawTag(112); - output.WriteInt32(FloorId); - } - if (OneStarCondition.Length != 0) { - output.WriteRawTag(122); - output.WriteString(OneStarCondition); - } - if (TwoStarCondition.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(TwoStarCondition); - } - if (ThreeStarCondition.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(ThreeStarCondition); - } - if (DropId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(DropId); - } - if (EnergyConsume != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(EnergyConsume); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(BaseAwardPreview); - } - if (EntryGroupId1 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(EntryGroupId1); - } - if (EntryGroupLevel1 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(EntryGroupLevel1); - } - if (EntryGroupId2 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(EntryGroupId2); - } - if (EntryGroupLevel2 != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(EntryGroupLevel2); - } - if (EntryGroupId3 != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(EntryGroupId3); - } - if (EntryGroupLevel3 != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(EntryGroupLevel3); - } - if (EntryGroupId4 != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(EntryGroupId4); - } - if (EntryGroupLevel4 != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(EntryGroupLevel4); - } - if (EntryGroupId5 != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(EntryGroupId5); - } - if (EntryGroupLevel5 != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(EntryGroupLevel5); - } - extraDropPreview_.WriteTo(ref output, _repeated_extraDropPreview_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 (RegionBossId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionBossId); - } - if (Difficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); - } - if (RegionType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionType); - } - 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 (SuggestedPower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuggestedPower); - } - if (PreLevelId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); - } - if (BossShowTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossShowTime); - } - if (PreLevelStar != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelStar); - } - if (NeedWorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); - } - if (NeedRoguelike != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike); - } - if (FloorId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); - } - if (OneStarCondition.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OneStarCondition); - } - if (TwoStarCondition.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(TwoStarCondition); - } - if (ThreeStarCondition.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ThreeStarCondition); - } - if (DropId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropId); - } - if (EnergyConsume != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyConsume); - } - if (BaseAwardPreview.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); - } - if (EntryGroupId1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId1); - } - if (EntryGroupLevel1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel1); - } - if (EntryGroupId2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId2); - } - if (EntryGroupLevel2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel2); - } - if (EntryGroupId3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId3); - } - if (EntryGroupLevel3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel3); - } - if (EntryGroupId4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId4); - } - if (EntryGroupLevel4 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel4); - } - if (EntryGroupId5 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId5); - } - if (EntryGroupLevel5 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel5); - } - size += extraDropPreview_.CalculateSize(_repeated_extraDropPreview_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RegionBossLevel other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.RegionBossId != 0) { - RegionBossId = other.RegionBossId; - } - if (other.Difficulty != 0) { - Difficulty = other.Difficulty; - } - if (other.RegionType != 0) { - RegionType = other.RegionType; - } - 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.SuggestedPower != 0) { - SuggestedPower = other.SuggestedPower; - } - if (other.PreLevelId != 0) { - PreLevelId = other.PreLevelId; - } - if (other.BossShowTime != 0) { - BossShowTime = other.BossShowTime; - } - if (other.PreLevelStar != 0) { - PreLevelStar = other.PreLevelStar; - } - if (other.NeedWorldClass != 0) { - NeedWorldClass = other.NeedWorldClass; - } - if (other.NeedRoguelike != 0) { - NeedRoguelike = other.NeedRoguelike; - } - if (other.FloorId != 0) { - FloorId = other.FloorId; - } - if (other.OneStarCondition.Length != 0) { - OneStarCondition = other.OneStarCondition; - } - if (other.TwoStarCondition.Length != 0) { - TwoStarCondition = other.TwoStarCondition; - } - if (other.ThreeStarCondition.Length != 0) { - ThreeStarCondition = other.ThreeStarCondition; - } - if (other.DropId != 0) { - DropId = other.DropId; - } - if (other.EnergyConsume != 0) { - EnergyConsume = other.EnergyConsume; - } - if (other.BaseAwardPreview.Length != 0) { - BaseAwardPreview = other.BaseAwardPreview; - } - if (other.EntryGroupId1 != 0) { - EntryGroupId1 = other.EntryGroupId1; - } - if (other.EntryGroupLevel1 != 0) { - EntryGroupLevel1 = other.EntryGroupLevel1; - } - if (other.EntryGroupId2 != 0) { - EntryGroupId2 = other.EntryGroupId2; - } - if (other.EntryGroupLevel2 != 0) { - EntryGroupLevel2 = other.EntryGroupLevel2; - } - if (other.EntryGroupId3 != 0) { - EntryGroupId3 = other.EntryGroupId3; - } - if (other.EntryGroupLevel3 != 0) { - EntryGroupLevel3 = other.EntryGroupLevel3; - } - if (other.EntryGroupId4 != 0) { - EntryGroupId4 = other.EntryGroupId4; - } - if (other.EntryGroupLevel4 != 0) { - EntryGroupLevel4 = other.EntryGroupLevel4; - } - if (other.EntryGroupId5 != 0) { - EntryGroupId5 = other.EntryGroupId5; - } - if (other.EntryGroupLevel5 != 0) { - EntryGroupLevel5 = other.EntryGroupLevel5; - } - extraDropPreview_.Add(other.extraDropPreview_); - _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: { - RegionBossId = input.ReadInt32(); - break; - } - case 24: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - RegionType = input.ReadInt32(); - break; - } - case 42: { - Name = input.ReadString(); - break; - } - case 50: { - Desc = input.ReadString(); - break; - } - case 58: { - Icon = input.ReadString(); - break; - } - case 64: { - SuggestedPower = input.ReadInt32(); - break; - } - case 72: { - PreLevelId = input.ReadInt32(); - break; - } - case 80: { - BossShowTime = input.ReadInt32(); - break; - } - case 88: { - PreLevelStar = input.ReadInt32(); - break; - } - case 96: { - NeedWorldClass = input.ReadInt32(); - break; - } - case 104: { - NeedRoguelike = input.ReadInt32(); - break; - } - case 112: { - FloorId = input.ReadInt32(); - break; - } - case 122: { - OneStarCondition = input.ReadString(); - break; - } - case 130: { - TwoStarCondition = input.ReadString(); - break; - } - case 138: { - ThreeStarCondition = input.ReadString(); - break; - } - case 144: { - DropId = input.ReadInt32(); - break; - } - case 152: { - EnergyConsume = input.ReadInt32(); - break; - } - case 162: { - BaseAwardPreview = input.ReadString(); - break; - } - case 168: { - EntryGroupId1 = input.ReadInt32(); - break; - } - case 176: { - EntryGroupLevel1 = input.ReadInt32(); - break; - } - case 184: { - EntryGroupId2 = input.ReadInt32(); - break; - } - case 192: { - EntryGroupLevel2 = input.ReadInt32(); - break; - } - case 200: { - EntryGroupId3 = input.ReadInt32(); - break; - } - case 208: { - EntryGroupLevel3 = input.ReadInt32(); - break; - } - case 216: { - EntryGroupId4 = input.ReadInt32(); - break; - } - case 224: { - EntryGroupLevel4 = input.ReadInt32(); - break; - } - case 232: { - EntryGroupId5 = input.ReadInt32(); - break; - } - case 240: { - EntryGroupLevel5 = input.ReadInt32(); - break; - } - case 250: - case 248: { - extraDropPreview_.AddEntriesFrom(input, _repeated_extraDropPreview_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: { - RegionBossId = input.ReadInt32(); - break; - } - case 24: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - RegionType = input.ReadInt32(); - break; - } - case 42: { - Name = input.ReadString(); - break; - } - case 50: { - Desc = input.ReadString(); - break; - } - case 58: { - Icon = input.ReadString(); - break; - } - case 64: { - SuggestedPower = input.ReadInt32(); - break; - } - case 72: { - PreLevelId = input.ReadInt32(); - break; - } - case 80: { - BossShowTime = input.ReadInt32(); - break; - } - case 88: { - PreLevelStar = input.ReadInt32(); - break; - } - case 96: { - NeedWorldClass = input.ReadInt32(); - break; - } - case 104: { - NeedRoguelike = input.ReadInt32(); - break; - } - case 112: { - FloorId = input.ReadInt32(); - break; - } - case 122: { - OneStarCondition = input.ReadString(); - break; - } - case 130: { - TwoStarCondition = input.ReadString(); - break; - } - case 138: { - ThreeStarCondition = input.ReadString(); - break; - } - case 144: { - DropId = input.ReadInt32(); - break; - } - case 152: { - EnergyConsume = input.ReadInt32(); - break; - } - case 162: { - BaseAwardPreview = input.ReadString(); - break; - } - case 168: { - EntryGroupId1 = input.ReadInt32(); - break; - } - case 176: { - EntryGroupLevel1 = input.ReadInt32(); - break; - } - case 184: { - EntryGroupId2 = input.ReadInt32(); - break; - } - case 192: { - EntryGroupLevel2 = input.ReadInt32(); - break; - } - case 200: { - EntryGroupId3 = input.ReadInt32(); - break; - } - case 208: { - EntryGroupLevel3 = input.ReadInt32(); - break; - } - case 216: { - EntryGroupId4 = input.ReadInt32(); - break; - } - case 224: { - EntryGroupLevel4 = input.ReadInt32(); - break; - } - case 232: { - EntryGroupId5 = input.ReadInt32(); - break; - } - case 240: { - EntryGroupLevel5 = input.ReadInt32(); - break; - } - case 250: - case 248: { - extraDropPreview_.AddEntriesFrom(ref input, _repeated_extraDropPreview_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/WeightParameter.cs b/Novaria.Common/Protos/RegionBossLevelApply.cs similarity index 65% rename from Novaria.Common/Protos/WeightParameter.cs rename to Novaria.Common/Protos/RegionBossLevelApply.cs index cc6f60d..e75e677 100644 --- a/Novaria.Common/Protos/WeightParameter.cs +++ b/Novaria.Common/Protos/RegionBossLevelApply.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: WeightParameter.proto +// source: region_boss_level_apply.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from WeightParameter.proto</summary> - public static partial class WeightParameterReflection { + /// <summary>Holder for reflection information generated from region_boss_level_apply.proto</summary> + public static partial class RegionBossLevelApplyReflection { #region Descriptor - /// <summary>File descriptor for WeightParameter.proto</summary> + /// <summary>File descriptor for region_boss_level_apply.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static WeightParameterReflection() { + static RegionBossLevelApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChVXZWlnaHRQYXJhbWV0ZXIucHJvdG8iQQoPV2VpZ2h0UGFyYW1ldGVyEgoK", - "AmlkGAEgASgFEhIKCnByb3BvcnRpb24YAiABKAUSDgoGZWZmZWN0GAMgASgF", - "Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "Ch1yZWdpb25fYm9zc19sZXZlbF9hcHBseS5wcm90bxIFcHJvdG8aDHB1Ymxp", + "Yy5wcm90byJMChdSZWdpb25Cb3NzTGV2ZWxBcHBseVJlcRIKCgJJZBgBIAEo", + "DRIPCgdCdWlsZElkGAIgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.WeightParameter), global::Nova.Client.WeightParameter.Parser, new[]{ "Id", "Proportion", "Effect" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevelApplyReq), global::Proto.RegionBossLevelApplyReq.Parser, new[]{ "Id", "BuildId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class WeightParameter : pb::IMessage<WeightParameter> + public sealed partial class RegionBossLevelApplyReq : pb::IMessage<RegionBossLevelApplyReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<WeightParameter> _parser = new pb::MessageParser<WeightParameter>(() => new WeightParameter()); + private static readonly pb::MessageParser<RegionBossLevelApplyReq> _parser = new pb::MessageParser<RegionBossLevelApplyReq>(() => new RegionBossLevelApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<WeightParameter> Parser { get { return _parser; } } + public static pb::MessageParser<RegionBossLevelApplyReq> 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.WeightParameterReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.RegionBossLevelApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WeightParameter() { + public RegionBossLevelApplyReq() { OnConstruction(); } @@ -71,64 +72,64 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WeightParameter(WeightParameter other) : this() { + public RegionBossLevelApplyReq(RegionBossLevelApplyReq other) : this() { id_ = other.id_; - proportion_ = other.proportion_; - effect_ = other.effect_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WeightParameter Clone() { - return new WeightParameter(this); + public RegionBossLevelApplyReq Clone() { + return new RegionBossLevelApplyReq(this); } - /// <summary>Field number for the "id" field.</summary> + /// <summary>Field number for the "Id" field.</summary> public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// <summary>Field number for the "proportion" field.</summary> - public const int ProportionFieldNumber = 2; - private int proportion_; + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 2; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Proportion { - get { return proportion_; } + public ulong BuildId { + get { return buildId_; } set { - proportion_ = value; + buildId_ = value; } } - /// <summary>Field number for the "effect" field.</summary> - public const int EffectFieldNumber = 3; - private int effect_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Effect { - get { return effect_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - effect_ = value; + nextPackage_ = 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 WeightParameter); + return Equals(other as RegionBossLevelApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(WeightParameter other) { + public bool Equals(RegionBossLevelApplyReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -136,8 +137,8 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (Proportion != other.Proportion) return false; - if (Effect != other.Effect) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -146,8 +147,8 @@ namespace Nova.Client { public override int GetHashCode() { int hash = 1; if (Id != 0) hash ^= Id.GetHashCode(); - if (Proportion != 0) hash ^= Proportion.GetHashCode(); - if (Effect != 0) hash ^= Effect.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -168,15 +169,15 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (Proportion != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(Proportion); + output.WriteUInt64(BuildId); } - if (Effect != 0) { - output.WriteRawTag(24); - output.WriteInt32(Effect); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -190,15 +191,15 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (Proportion != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(Proportion); + output.WriteUInt64(BuildId); } - if (Effect != 0) { - output.WriteRawTag(24); - output.WriteInt32(Effect); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -211,13 +212,13 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (Proportion != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Proportion); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (Effect != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(WeightParameter other) { + public void MergeFrom(RegionBossLevelApplyReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.Proportion != 0) { - Proportion = other.Proportion; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.Effect != 0) { - Effect = other.Effect; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +261,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - Proportion = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - Effect = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +292,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - Proportion = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - Effect = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/RegionBossLevelSettle.cs b/Novaria.Common/Protos/RegionBossLevelSettle.cs new file mode 100644 index 0000000..1bd02c5 --- /dev/null +++ b/Novaria.Common/Protos/RegionBossLevelSettle.cs @@ -0,0 +1,792 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: region_boss_level_settle.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 Proto { + + /// <summary>Holder for reflection information generated from region_boss_level_settle.proto</summary> + public static partial class RegionBossLevelSettleReflection { + + #region Descriptor + /// <summary>File descriptor for region_boss_level_settle.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RegionBossLevelSettleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch5yZWdpb25fYm9zc19sZXZlbF9zZXR0bGUucHJvdG8SBXByb3RvGgxwdWJs", + "aWMucHJvdG8iXQoYUmVnaW9uQm9zc0xldmVsU2V0dGxlUmVxEgwKBFN0YXIY", + "ASABKA0SHQoGRXZlbnRzGA8gASgLMg0ucHJvdG8uRXZlbnRzEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCKaAgoZUmVnaW9uQm9zc0xldmVsU2V0dGxlUmVzcBIN", + "CgVGaXJzdBgBIAEoCBIRCglUaHJlZVN0YXIYAiABKAgSIQoGQ2hhbmdlGAMg", + "ASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIiCgpBd2FyZEl0ZW1zGAQgAygLMg4u", + "cHJvdG8uSXRlbVRwbBIiCgpGaXJzdEl0ZW1zGAUgAygLMg4ucHJvdG8uSXRl", + "bVRwbBImCg5UaHJlZVN0YXJJdGVtcxgGIAMoCzIOLnByb3RvLkl0ZW1UcGwS", + "CwoDRXhwGAcgASgNEiUKDVN1cnByaXNlSXRlbXMYCCADKAsyDi5wcm90by5J", + "dGVtVHBsEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevelSettleReq), global::Proto.RegionBossLevelSettleReq.Parser, new[]{ "Star", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevelSettleResp), global::Proto.RegionBossLevelSettleResp.Parser, new[]{ "First", "ThreeStar", "Change", "AwardItems", "FirstItems", "ThreeStarItems", "Exp", "SurpriseItems", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevelSettleReq : pb::IMessage<RegionBossLevelSettleReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevelSettleReq> _parser = new pb::MessageParser<RegionBossLevelSettleReq>(() => new RegionBossLevelSettleReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevelSettleReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.RegionBossLevelSettleReflection.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 RegionBossLevelSettleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSettleReq(RegionBossLevelSettleReq other) : this() { + star_ = other.star_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSettleReq Clone() { + return new RegionBossLevelSettleReq(this); + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 1; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "Events" field.</summary> + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RegionBossLevelSettleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevelSettleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Star != other.Star) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevelSettleReq other) { + if (other == null) { + return; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Star = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Star = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevelSettleResp : pb::IMessage<RegionBossLevelSettleResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevelSettleResp> _parser = new pb::MessageParser<RegionBossLevelSettleResp>(() => new RegionBossLevelSettleResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevelSettleResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.RegionBossLevelSettleReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSettleResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSettleResp(RegionBossLevelSettleResp other) : this() { + first_ = other.first_; + threeStar_ = other.threeStar_; + change_ = other.change_ != null ? other.change_.Clone() : null; + awardItems_ = other.awardItems_.Clone(); + firstItems_ = other.firstItems_.Clone(); + threeStarItems_ = other.threeStarItems_.Clone(); + exp_ = other.exp_; + surpriseItems_ = other.surpriseItems_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSettleResp Clone() { + return new RegionBossLevelSettleResp(this); + } + + /// <summary>Field number for the "First" field.</summary> + public const int FirstFieldNumber = 1; + private bool first_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool First { + get { return first_; } + set { + first_ = value; + } + } + + /// <summary>Field number for the "ThreeStar" field.</summary> + public const int ThreeStarFieldNumber = 2; + private bool threeStar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ThreeStar { + get { return threeStar_; } + set { + threeStar_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "AwardItems" field.</summary> + public const int AwardItemsFieldNumber = 4; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_awardItems_codec + = pb::FieldCodec.ForMessage(34, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> awardItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> AwardItems { + get { return awardItems_; } + } + + /// <summary>Field number for the "FirstItems" field.</summary> + public const int FirstItemsFieldNumber = 5; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_firstItems_codec + = pb::FieldCodec.ForMessage(42, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> firstItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> FirstItems { + get { return firstItems_; } + } + + /// <summary>Field number for the "ThreeStarItems" field.</summary> + public const int ThreeStarItemsFieldNumber = 6; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_threeStarItems_codec + = pb::FieldCodec.ForMessage(50, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> threeStarItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> ThreeStarItems { + get { return threeStarItems_; } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 7; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "SurpriseItems" field.</summary> + public const int SurpriseItemsFieldNumber = 8; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_surpriseItems_codec + = pb::FieldCodec.ForMessage(66, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> surpriseItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> SurpriseItems { + get { return surpriseItems_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RegionBossLevelSettleResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevelSettleResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (First != other.First) return false; + if (ThreeStar != other.ThreeStar) return false; + if (!object.Equals(Change, other.Change)) return false; + if(!awardItems_.Equals(other.awardItems_)) return false; + if(!firstItems_.Equals(other.firstItems_)) return false; + if(!threeStarItems_.Equals(other.threeStarItems_)) return false; + if (Exp != other.Exp) return false; + if(!surpriseItems_.Equals(other.surpriseItems_)) return false; + if (NextPackage != other.NextPackage) 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 (First != false) hash ^= First.GetHashCode(); + if (ThreeStar != false) hash ^= ThreeStar.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + hash ^= awardItems_.GetHashCode(); + hash ^= firstItems_.GetHashCode(); + hash ^= threeStarItems_.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + hash ^= surpriseItems_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (First != false) { + output.WriteRawTag(8); + output.WriteBool(First); + } + if (ThreeStar != false) { + output.WriteRawTag(16); + output.WriteBool(ThreeStar); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + awardItems_.WriteTo(output, _repeated_awardItems_codec); + firstItems_.WriteTo(output, _repeated_firstItems_codec); + threeStarItems_.WriteTo(output, _repeated_threeStarItems_codec); + if (Exp != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Exp); + } + surpriseItems_.WriteTo(output, _repeated_surpriseItems_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (First != false) { + output.WriteRawTag(8); + output.WriteBool(First); + } + if (ThreeStar != false) { + output.WriteRawTag(16); + output.WriteBool(ThreeStar); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + awardItems_.WriteTo(ref output, _repeated_awardItems_codec); + firstItems_.WriteTo(ref output, _repeated_firstItems_codec); + threeStarItems_.WriteTo(ref output, _repeated_threeStarItems_codec); + if (Exp != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Exp); + } + surpriseItems_.WriteTo(ref output, _repeated_surpriseItems_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (First != false) { + size += 1 + 1; + } + if (ThreeStar != false) { + size += 1 + 1; + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + size += awardItems_.CalculateSize(_repeated_awardItems_codec); + size += firstItems_.CalculateSize(_repeated_firstItems_codec); + size += threeStarItems_.CalculateSize(_repeated_threeStarItems_codec); + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + size += surpriseItems_.CalculateSize(_repeated_surpriseItems_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevelSettleResp other) { + if (other == null) { + return; + } + if (other.First != false) { + First = other.First; + } + if (other.ThreeStar != false) { + ThreeStar = other.ThreeStar; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + awardItems_.Add(other.awardItems_); + firstItems_.Add(other.firstItems_); + threeStarItems_.Add(other.threeStarItems_); + if (other.Exp != 0) { + Exp = other.Exp; + } + surpriseItems_.Add(other.surpriseItems_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + First = input.ReadBool(); + break; + } + case 16: { + ThreeStar = input.ReadBool(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 34: { + awardItems_.AddEntriesFrom(input, _repeated_awardItems_codec); + break; + } + case 42: { + firstItems_.AddEntriesFrom(input, _repeated_firstItems_codec); + break; + } + case 50: { + threeStarItems_.AddEntriesFrom(input, _repeated_threeStarItems_codec); + break; + } + case 56: { + Exp = input.ReadUInt32(); + break; + } + case 66: { + surpriseItems_.AddEntriesFrom(input, _repeated_surpriseItems_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + First = input.ReadBool(); + break; + } + case 16: { + ThreeStar = input.ReadBool(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 34: { + awardItems_.AddEntriesFrom(ref input, _repeated_awardItems_codec); + break; + } + case 42: { + firstItems_.AddEntriesFrom(ref input, _repeated_firstItems_codec); + break; + } + case 50: { + threeStarItems_.AddEntriesFrom(ref input, _repeated_threeStarItems_codec); + break; + } + case 56: { + Exp = input.ReadUInt32(); + break; + } + case 66: { + surpriseItems_.AddEntriesFrom(ref input, _repeated_surpriseItems_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/RegionBossLevelSweep.cs b/Novaria.Common/Protos/RegionBossLevelSweep.cs new file mode 100644 index 0000000..e668f4c --- /dev/null +++ b/Novaria.Common/Protos/RegionBossLevelSweep.cs @@ -0,0 +1,902 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: region_boss_level_sweep.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 Proto { + + /// <summary>Holder for reflection information generated from region_boss_level_sweep.proto</summary> + public static partial class RegionBossLevelSweepReflection { + + #region Descriptor + /// <summary>File descriptor for region_boss_level_sweep.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RegionBossLevelSweepReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1yZWdpb25fYm9zc19sZXZlbF9zd2VlcC5wcm90bxIFcHJvdG8aDHB1Ymxp", + "Yy5wcm90byJpChdSZWdpb25Cb3NzTGV2ZWxTd2VlcFJlcRIKCgJJZBgBIAEo", + "DRINCgVUaW1lcxgCIAEoDRIdCgZFdmVudHMYDyABKAsyDS5wcm90by5FdmVu", + "dHMSFAoLTmV4dFBhY2thZ2UY/w8gASgMIogBChhSZWdpb25Cb3NzTGV2ZWxT", + "d2VlcFJlc3ASIQoGQ2hhbmdlGAEgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIz", + "CgdSZXdhcmRzGAIgAygLMiIucHJvdG8uUmVnaW9uQm9zc0xldmVsU3dlZXBS", + "ZXdhcmRzEhQKC05leHRQYWNrYWdlGP8PIAEoDCJkChtSZWdpb25Cb3NzTGV2", + "ZWxTd2VlcFJld2FyZHMSIgoKQXdhcmRJdGVtcxgBIAMoCzIOLnByb3RvLkl0", + "ZW1UcGwSCwoDRXhwGAIgASgNEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevelSweepReq), global::Proto.RegionBossLevelSweepReq.Parser, new[]{ "Id", "Times", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevelSweepResp), global::Proto.RegionBossLevelSweepResp.Parser, new[]{ "Change", "Rewards", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RegionBossLevelSweepRewards), global::Proto.RegionBossLevelSweepRewards.Parser, new[]{ "AwardItems", "Exp", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevelSweepReq : pb::IMessage<RegionBossLevelSweepReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevelSweepReq> _parser = new pb::MessageParser<RegionBossLevelSweepReq>(() => new RegionBossLevelSweepReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevelSweepReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.RegionBossLevelSweepReflection.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 RegionBossLevelSweepReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepReq(RegionBossLevelSweepReq other) : this() { + id_ = other.id_; + times_ = other.times_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepReq Clone() { + return new RegionBossLevelSweepReq(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Times" field.</summary> + public const int TimesFieldNumber = 2; + private uint times_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Times { + get { return times_; } + set { + times_ = value; + } + } + + /// <summary>Field number for the "Events" field.</summary> + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RegionBossLevelSweepReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevelSweepReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Times != other.Times) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (Times != 0) hash ^= Times.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Times != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Times); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Times != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Times); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Times != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Times); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevelSweepReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Times != 0) { + Times = other.Times; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Times = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Times = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevelSweepResp : pb::IMessage<RegionBossLevelSweepResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevelSweepResp> _parser = new pb::MessageParser<RegionBossLevelSweepResp>(() => new RegionBossLevelSweepResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevelSweepResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.RegionBossLevelSweepReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepResp(RegionBossLevelSweepResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + rewards_ = other.rewards_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepResp Clone() { + return new RegionBossLevelSweepResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "Rewards" field.</summary> + public const int RewardsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.RegionBossLevelSweepRewards> _repeated_rewards_codec + = pb::FieldCodec.ForMessage(18, global::Proto.RegionBossLevelSweepRewards.Parser); + private readonly pbc::RepeatedField<global::Proto.RegionBossLevelSweepRewards> rewards_ = new pbc::RepeatedField<global::Proto.RegionBossLevelSweepRewards>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.RegionBossLevelSweepRewards> Rewards { + get { return rewards_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RegionBossLevelSweepResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevelSweepResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if(!rewards_.Equals(other.rewards_)) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + hash ^= rewards_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + rewards_.WriteTo(output, _repeated_rewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + rewards_.WriteTo(ref output, _repeated_rewards_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + size += rewards_.CalculateSize(_repeated_rewards_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevelSweepResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + rewards_.Add(other.rewards_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: { + rewards_.AddEntriesFrom(input, _repeated_rewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: { + rewards_.AddEntriesFrom(ref input, _repeated_rewards_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevelSweepRewards : pb::IMessage<RegionBossLevelSweepRewards> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevelSweepRewards> _parser = new pb::MessageParser<RegionBossLevelSweepRewards>(() => new RegionBossLevelSweepRewards()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevelSweepRewards> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.RegionBossLevelSweepReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepRewards() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepRewards(RegionBossLevelSweepRewards other) : this() { + awardItems_ = other.awardItems_.Clone(); + exp_ = other.exp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevelSweepRewards Clone() { + return new RegionBossLevelSweepRewards(this); + } + + /// <summary>Field number for the "AwardItems" field.</summary> + public const int AwardItemsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_awardItems_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> awardItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> AwardItems { + get { return awardItems_; } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private uint exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RegionBossLevelSweepRewards); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevelSweepRewards other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!awardItems_.Equals(other.awardItems_)) return false; + if (Exp != other.Exp) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= awardItems_.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + awardItems_.WriteTo(output, _repeated_awardItems_codec); + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + awardItems_.WriteTo(ref output, _repeated_awardItems_codec); + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Exp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += awardItems_.CalculateSize(_repeated_awardItems_codec); + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Exp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevelSweepRewards other) { + if (other == null) { + return; + } + awardItems_.Add(other.awardItems_); + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + awardItems_.AddEntriesFrom(input, _repeated_awardItems_codec); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + awardItems_.AddEntriesFrom(ref input, _repeated_awardItems_codec); + break; + } + case 16: { + Exp = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ResidentGoods.cs b/Novaria.Common/Protos/ResidentGoods.cs deleted file mode 100644 index 561d431..0000000 --- a/Novaria.Common/Protos/ResidentGoods.cs +++ /dev/null @@ -1,954 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ResidentGoods.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 ResidentGoods.proto</summary> - public static partial class ResidentGoodsReflection { - - #region Descriptor - /// <summary>File descriptor for ResidentGoods.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ResidentGoodsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNSZXNpZGVudEdvb2RzLnByb3RvIsMDCg1SZXNpZGVudEdvb2RzEgoKAmlk", - "GAEgASgFEgwKBG5hbWUYAiABKAkSDAoEZGVzYxgDIAEoCRIPCgdzaG9wX2lk", - "GAQgASgFEhMKC3NhbGVfbnVtYmVyGAUgASgFEg8KB2l0ZW1faWQYBiABKAUS", - "FQoNaXRlbV9xdWFudGl0eRgHIAEoBRIVCg1tYXhpbXVtX2xpbWl0GAggASgF", - "EhgKEGN1cnJlbmN5X2l0ZW1faWQYCSABKAUSDQoFcHJpY2UYCiABKAUSFgoO", - "b3JpZ2luYWxfcHJpY2UYCyABKAUSEAoIZGlzY291bnQYDCABKAUSGAoQYXBw", - "ZWFyX2NvbmRfdHlwZRgNIAEoBRIaChJhcHBlYXJfY29uZF9wYXJhbXMYDiAB", - "KAkSGgoScHVyY2hhc2VfY29uZF90eXBlGA8gASgFEhwKFHB1cmNoYXNlX2Nv", - "bmRfcGFyYW1zGBAgASgJEhUKDXVwX3NoZWxmX3RpbWUYESABKAkSFwoPZG93", - "bl9zaGVsZl90aW1lGBIgASgJEhwKFHVubG9ja19wdXJjaGFzZV90aW1lGBMg", - "ASgJEhQKDGRpc3BsYXlfbW9kZRgUIAEoBUIOqgILTm92YS5DbGllbnRiBnBy", - "b3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ResidentGoods), global::Nova.Client.ResidentGoods.Parser, new[]{ "Id", "Name", "Desc", "ShopId", "SaleNumber", "ItemId", "ItemQuantity", "MaximumLimit", "CurrencyItemId", "Price", "OriginalPrice", "Discount", "AppearCondType", "AppearCondParams", "PurchaseCondType", "PurchaseCondParams", "UpShelfTime", "DownShelfTime", "UnlockPurchaseTime", "DisplayMode" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ResidentGoods : pb::IMessage<ResidentGoods> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<ResidentGoods> _parser = new pb::MessageParser<ResidentGoods>(() => new ResidentGoods()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<ResidentGoods> 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.ResidentGoodsReflection.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 ResidentGoods() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ResidentGoods(ResidentGoods other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - shopId_ = other.shopId_; - saleNumber_ = other.saleNumber_; - itemId_ = other.itemId_; - itemQuantity_ = other.itemQuantity_; - maximumLimit_ = other.maximumLimit_; - currencyItemId_ = other.currencyItemId_; - price_ = other.price_; - originalPrice_ = other.originalPrice_; - discount_ = other.discount_; - appearCondType_ = other.appearCondType_; - appearCondParams_ = other.appearCondParams_; - purchaseCondType_ = other.purchaseCondType_; - purchaseCondParams_ = other.purchaseCondParams_; - upShelfTime_ = other.upShelfTime_; - downShelfTime_ = other.downShelfTime_; - unlockPurchaseTime_ = other.unlockPurchaseTime_; - displayMode_ = other.displayMode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ResidentGoods Clone() { - return new ResidentGoods(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 "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "shop_id" field.</summary> - public const int ShopIdFieldNumber = 4; - private int shopId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShopId { - get { return shopId_; } - set { - shopId_ = value; - } - } - - /// <summary>Field number for the "sale_number" field.</summary> - public const int SaleNumberFieldNumber = 5; - private int saleNumber_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SaleNumber { - get { return saleNumber_; } - set { - saleNumber_ = value; - } - } - - /// <summary>Field number for the "item_id" field.</summary> - public const int ItemIdFieldNumber = 6; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// <summary>Field number for the "item_quantity" field.</summary> - public const int ItemQuantityFieldNumber = 7; - private int itemQuantity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQuantity { - get { return itemQuantity_; } - set { - itemQuantity_ = value; - } - } - - /// <summary>Field number for the "maximum_limit" field.</summary> - public const int MaximumLimitFieldNumber = 8; - private int maximumLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaximumLimit { - get { return maximumLimit_; } - set { - maximumLimit_ = value; - } - } - - /// <summary>Field number for the "currency_item_id" field.</summary> - public const int CurrencyItemIdFieldNumber = 9; - private int currencyItemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyItemId { - get { return currencyItemId_; } - set { - currencyItemId_ = value; - } - } - - /// <summary>Field number for the "price" field.</summary> - public const int PriceFieldNumber = 10; - private int price_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Price { - get { return price_; } - set { - price_ = value; - } - } - - /// <summary>Field number for the "original_price" field.</summary> - public const int OriginalPriceFieldNumber = 11; - private int originalPrice_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OriginalPrice { - get { return originalPrice_; } - set { - originalPrice_ = value; - } - } - - /// <summary>Field number for the "discount" field.</summary> - public const int DiscountFieldNumber = 12; - private int discount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Discount { - get { return discount_; } - set { - discount_ = value; - } - } - - /// <summary>Field number for the "appear_cond_type" field.</summary> - public const int AppearCondTypeFieldNumber = 13; - private int appearCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AppearCondType { - get { return appearCondType_; } - set { - appearCondType_ = value; - } - } - - /// <summary>Field number for the "appear_cond_params" field.</summary> - public const int AppearCondParamsFieldNumber = 14; - private string appearCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AppearCondParams { - get { return appearCondParams_; } - set { - appearCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "purchase_cond_type" field.</summary> - public const int PurchaseCondTypeFieldNumber = 15; - private int purchaseCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PurchaseCondType { - get { return purchaseCondType_; } - set { - purchaseCondType_ = value; - } - } - - /// <summary>Field number for the "purchase_cond_params" field.</summary> - public const int PurchaseCondParamsFieldNumber = 16; - private string purchaseCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PurchaseCondParams { - get { return purchaseCondParams_; } - set { - purchaseCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "up_shelf_time" field.</summary> - public const int UpShelfTimeFieldNumber = 17; - private string upShelfTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UpShelfTime { - get { return upShelfTime_; } - set { - upShelfTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "down_shelf_time" field.</summary> - public const int DownShelfTimeFieldNumber = 18; - private string downShelfTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DownShelfTime { - get { return downShelfTime_; } - set { - downShelfTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "unlock_purchase_time" field.</summary> - public const int UnlockPurchaseTimeFieldNumber = 19; - private string unlockPurchaseTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockPurchaseTime { - get { return unlockPurchaseTime_; } - set { - unlockPurchaseTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "display_mode" field.</summary> - public const int DisplayModeFieldNumber = 20; - private int displayMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DisplayMode { - get { return displayMode_; } - set { - displayMode_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ResidentGoods); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ResidentGoods 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 (Desc != other.Desc) return false; - if (ShopId != other.ShopId) return false; - if (SaleNumber != other.SaleNumber) return false; - if (ItemId != other.ItemId) return false; - if (ItemQuantity != other.ItemQuantity) return false; - if (MaximumLimit != other.MaximumLimit) return false; - if (CurrencyItemId != other.CurrencyItemId) return false; - if (Price != other.Price) return false; - if (OriginalPrice != other.OriginalPrice) return false; - if (Discount != other.Discount) return false; - if (AppearCondType != other.AppearCondType) return false; - if (AppearCondParams != other.AppearCondParams) return false; - if (PurchaseCondType != other.PurchaseCondType) return false; - if (PurchaseCondParams != other.PurchaseCondParams) return false; - if (UpShelfTime != other.UpShelfTime) return false; - if (DownShelfTime != other.DownShelfTime) return false; - if (UnlockPurchaseTime != other.UnlockPurchaseTime) return false; - if (DisplayMode != other.DisplayMode) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (ShopId != 0) hash ^= ShopId.GetHashCode(); - if (SaleNumber != 0) hash ^= SaleNumber.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemQuantity != 0) hash ^= ItemQuantity.GetHashCode(); - if (MaximumLimit != 0) hash ^= MaximumLimit.GetHashCode(); - if (CurrencyItemId != 0) hash ^= CurrencyItemId.GetHashCode(); - if (Price != 0) hash ^= Price.GetHashCode(); - if (OriginalPrice != 0) hash ^= OriginalPrice.GetHashCode(); - if (Discount != 0) hash ^= Discount.GetHashCode(); - if (AppearCondType != 0) hash ^= AppearCondType.GetHashCode(); - if (AppearCondParams.Length != 0) hash ^= AppearCondParams.GetHashCode(); - if (PurchaseCondType != 0) hash ^= PurchaseCondType.GetHashCode(); - if (PurchaseCondParams.Length != 0) hash ^= PurchaseCondParams.GetHashCode(); - if (UpShelfTime.Length != 0) hash ^= UpShelfTime.GetHashCode(); - if (DownShelfTime.Length != 0) hash ^= DownShelfTime.GetHashCode(); - if (UnlockPurchaseTime.Length != 0) hash ^= UnlockPurchaseTime.GetHashCode(); - if (DisplayMode != 0) hash ^= DisplayMode.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (ShopId != 0) { - output.WriteRawTag(32); - output.WriteInt32(ShopId); - } - if (SaleNumber != 0) { - output.WriteRawTag(40); - output.WriteInt32(SaleNumber); - } - if (ItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ItemId); - } - if (ItemQuantity != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemQuantity); - } - if (MaximumLimit != 0) { - output.WriteRawTag(64); - output.WriteInt32(MaximumLimit); - } - if (CurrencyItemId != 0) { - output.WriteRawTag(72); - output.WriteInt32(CurrencyItemId); - } - if (Price != 0) { - output.WriteRawTag(80); - output.WriteInt32(Price); - } - if (OriginalPrice != 0) { - output.WriteRawTag(88); - output.WriteInt32(OriginalPrice); - } - if (Discount != 0) { - output.WriteRawTag(96); - output.WriteInt32(Discount); - } - if (AppearCondType != 0) { - output.WriteRawTag(104); - output.WriteInt32(AppearCondType); - } - if (AppearCondParams.Length != 0) { - output.WriteRawTag(114); - output.WriteString(AppearCondParams); - } - if (PurchaseCondType != 0) { - output.WriteRawTag(120); - output.WriteInt32(PurchaseCondType); - } - if (PurchaseCondParams.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(PurchaseCondParams); - } - if (UpShelfTime.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(UpShelfTime); - } - if (DownShelfTime.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(DownShelfTime); - } - if (UnlockPurchaseTime.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(UnlockPurchaseTime); - } - if (DisplayMode != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DisplayMode); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (ShopId != 0) { - output.WriteRawTag(32); - output.WriteInt32(ShopId); - } - if (SaleNumber != 0) { - output.WriteRawTag(40); - output.WriteInt32(SaleNumber); - } - if (ItemId != 0) { - output.WriteRawTag(48); - output.WriteInt32(ItemId); - } - if (ItemQuantity != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemQuantity); - } - if (MaximumLimit != 0) { - output.WriteRawTag(64); - output.WriteInt32(MaximumLimit); - } - if (CurrencyItemId != 0) { - output.WriteRawTag(72); - output.WriteInt32(CurrencyItemId); - } - if (Price != 0) { - output.WriteRawTag(80); - output.WriteInt32(Price); - } - if (OriginalPrice != 0) { - output.WriteRawTag(88); - output.WriteInt32(OriginalPrice); - } - if (Discount != 0) { - output.WriteRawTag(96); - output.WriteInt32(Discount); - } - if (AppearCondType != 0) { - output.WriteRawTag(104); - output.WriteInt32(AppearCondType); - } - if (AppearCondParams.Length != 0) { - output.WriteRawTag(114); - output.WriteString(AppearCondParams); - } - if (PurchaseCondType != 0) { - output.WriteRawTag(120); - output.WriteInt32(PurchaseCondType); - } - if (PurchaseCondParams.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(PurchaseCondParams); - } - if (UpShelfTime.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(UpShelfTime); - } - if (DownShelfTime.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(DownShelfTime); - } - if (UnlockPurchaseTime.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(UnlockPurchaseTime); - } - if (DisplayMode != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(DisplayMode); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (ShopId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopId); - } - if (SaleNumber != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SaleNumber); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemQuantity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQuantity); - } - if (MaximumLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximumLimit); - } - if (CurrencyItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemId); - } - if (Price != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); - } - if (OriginalPrice != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OriginalPrice); - } - if (Discount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Discount); - } - if (AppearCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AppearCondType); - } - if (AppearCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AppearCondParams); - } - if (PurchaseCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PurchaseCondType); - } - if (PurchaseCondParams.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(PurchaseCondParams); - } - if (UpShelfTime.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(UpShelfTime); - } - if (DownShelfTime.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(DownShelfTime); - } - if (UnlockPurchaseTime.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(UnlockPurchaseTime); - } - if (DisplayMode != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ResidentGoods other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.ShopId != 0) { - ShopId = other.ShopId; - } - if (other.SaleNumber != 0) { - SaleNumber = other.SaleNumber; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemQuantity != 0) { - ItemQuantity = other.ItemQuantity; - } - if (other.MaximumLimit != 0) { - MaximumLimit = other.MaximumLimit; - } - if (other.CurrencyItemId != 0) { - CurrencyItemId = other.CurrencyItemId; - } - if (other.Price != 0) { - Price = other.Price; - } - if (other.OriginalPrice != 0) { - OriginalPrice = other.OriginalPrice; - } - if (other.Discount != 0) { - Discount = other.Discount; - } - if (other.AppearCondType != 0) { - AppearCondType = other.AppearCondType; - } - if (other.AppearCondParams.Length != 0) { - AppearCondParams = other.AppearCondParams; - } - if (other.PurchaseCondType != 0) { - PurchaseCondType = other.PurchaseCondType; - } - if (other.PurchaseCondParams.Length != 0) { - PurchaseCondParams = other.PurchaseCondParams; - } - if (other.UpShelfTime.Length != 0) { - UpShelfTime = other.UpShelfTime; - } - if (other.DownShelfTime.Length != 0) { - DownShelfTime = other.DownShelfTime; - } - if (other.UnlockPurchaseTime.Length != 0) { - UnlockPurchaseTime = other.UnlockPurchaseTime; - } - if (other.DisplayMode != 0) { - DisplayMode = other.DisplayMode; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - ShopId = input.ReadInt32(); - break; - } - case 40: { - SaleNumber = input.ReadInt32(); - break; - } - case 48: { - ItemId = input.ReadInt32(); - break; - } - case 56: { - ItemQuantity = input.ReadInt32(); - break; - } - case 64: { - MaximumLimit = input.ReadInt32(); - break; - } - case 72: { - CurrencyItemId = input.ReadInt32(); - break; - } - case 80: { - Price = input.ReadInt32(); - break; - } - case 88: { - OriginalPrice = input.ReadInt32(); - break; - } - case 96: { - Discount = input.ReadInt32(); - break; - } - case 104: { - AppearCondType = input.ReadInt32(); - break; - } - case 114: { - AppearCondParams = input.ReadString(); - break; - } - case 120: { - PurchaseCondType = input.ReadInt32(); - break; - } - case 130: { - PurchaseCondParams = input.ReadString(); - break; - } - case 138: { - UpShelfTime = input.ReadString(); - break; - } - case 146: { - DownShelfTime = input.ReadString(); - break; - } - case 154: { - UnlockPurchaseTime = input.ReadString(); - break; - } - case 160: { - DisplayMode = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - ShopId = input.ReadInt32(); - break; - } - case 40: { - SaleNumber = input.ReadInt32(); - break; - } - case 48: { - ItemId = input.ReadInt32(); - break; - } - case 56: { - ItemQuantity = input.ReadInt32(); - break; - } - case 64: { - MaximumLimit = input.ReadInt32(); - break; - } - case 72: { - CurrencyItemId = input.ReadInt32(); - break; - } - case 80: { - Price = input.ReadInt32(); - break; - } - case 88: { - OriginalPrice = input.ReadInt32(); - break; - } - case 96: { - Discount = input.ReadInt32(); - break; - } - case 104: { - AppearCondType = input.ReadInt32(); - break; - } - case 114: { - AppearCondParams = input.ReadString(); - break; - } - case 120: { - PurchaseCondType = input.ReadInt32(); - break; - } - case 130: { - PurchaseCondParams = input.ReadString(); - break; - } - case 138: { - UpShelfTime = input.ReadString(); - break; - } - case 146: { - DownShelfTime = input.ReadString(); - break; - } - case 154: { - UnlockPurchaseTime = input.ReadString(); - break; - } - case 160: { - DisplayMode = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ResidentShop.cs b/Novaria.Common/Protos/ResidentShop.cs deleted file mode 100644 index 619e95b..0000000 --- a/Novaria.Common/Protos/ResidentShop.cs +++ /dev/null @@ -1,616 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ResidentShop.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 ResidentShop.proto</summary> - public static partial class ResidentShopReflection { - - #region Descriptor - /// <summary>File descriptor for ResidentShop.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ResidentShopReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJSZXNpZGVudFNob3AucHJvdG8i7QEKDFJlc2lkZW50U2hvcBIKCgJpZBgB", - "IAEoBRIRCglzaG9wX2NvaW4YAiABKAUSDAoEdHlwZRgDIAEoBRIMCgRuYW1l", - "GAQgASgJEhAKCHNlcXVlbmNlGAUgASgFEhkKEXJlZnJlc2hfdGltZV90eXBl", - "GAYgASgFEhgKEHJlZnJlc2hfaW50ZXJ2YWwYByABKAUSGAoQdW5sb2NrX2Nv", - "bmRfdHlwZRgIIAEoBRIaChJ1bmxvY2tfY29uZF9wYXJhbXMYCSABKAkSEQoJ", - "b3Blbl90aW1lGAogASgJEhIKCmNsb3NlX3RpbWUYCyABKAlCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ResidentShop), global::Nova.Client.ResidentShop.Parser, new[]{ "Id", "ShopCoin", "Type", "Name", "Sequence", "RefreshTimeType", "RefreshInterval", "UnlockCondType", "UnlockCondParams", "OpenTime", "CloseTime" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ResidentShop : pb::IMessage<ResidentShop> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<ResidentShop> _parser = new pb::MessageParser<ResidentShop>(() => new ResidentShop()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<ResidentShop> 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.ResidentShopReflection.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 ResidentShop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ResidentShop(ResidentShop other) : this() { - id_ = other.id_; - shopCoin_ = other.shopCoin_; - type_ = other.type_; - name_ = other.name_; - sequence_ = other.sequence_; - refreshTimeType_ = other.refreshTimeType_; - refreshInterval_ = other.refreshInterval_; - unlockCondType_ = other.unlockCondType_; - unlockCondParams_ = other.unlockCondParams_; - openTime_ = other.openTime_; - closeTime_ = other.closeTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ResidentShop Clone() { - return new ResidentShop(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 "shop_coin" field.</summary> - public const int ShopCoinFieldNumber = 2; - private int shopCoin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShopCoin { - get { return shopCoin_; } - set { - shopCoin_ = value; - } - } - - /// <summary>Field number for the "type" field.</summary> - public const int TypeFieldNumber = 3; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = 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 "sequence" field.</summary> - public const int SequenceFieldNumber = 5; - private int sequence_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sequence { - get { return sequence_; } - set { - sequence_ = value; - } - } - - /// <summary>Field number for the "refresh_time_type" field.</summary> - public const int RefreshTimeTypeFieldNumber = 6; - private int refreshTimeType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshTimeType { - get { return refreshTimeType_; } - set { - refreshTimeType_ = value; - } - } - - /// <summary>Field number for the "refresh_interval" field.</summary> - public const int RefreshIntervalFieldNumber = 7; - private int refreshInterval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefreshInterval { - get { return refreshInterval_; } - set { - refreshInterval_ = value; - } - } - - /// <summary>Field number for the "unlock_cond_type" field.</summary> - public const int UnlockCondTypeFieldNumber = 8; - private int unlockCondType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockCondType { - get { return unlockCondType_; } - set { - unlockCondType_ = value; - } - } - - /// <summary>Field number for the "unlock_cond_params" field.</summary> - public const int UnlockCondParamsFieldNumber = 9; - private string unlockCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockCondParams { - get { return unlockCondParams_; } - set { - unlockCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "open_time" field.</summary> - public const int OpenTimeFieldNumber = 10; - private string openTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenTime { - get { return openTime_; } - set { - openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "close_time" field.</summary> - public const int CloseTimeFieldNumber = 11; - private string closeTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CloseTime { - get { return closeTime_; } - set { - closeTime_ = 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 ResidentShop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ResidentShop other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ShopCoin != other.ShopCoin) return false; - if (Type != other.Type) return false; - if (Name != other.Name) return false; - if (Sequence != other.Sequence) return false; - if (RefreshTimeType != other.RefreshTimeType) return false; - if (RefreshInterval != other.RefreshInterval) return false; - if (UnlockCondType != other.UnlockCondType) return false; - if (UnlockCondParams != other.UnlockCondParams) return false; - if (OpenTime != other.OpenTime) return false; - if (CloseTime != other.CloseTime) 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 (ShopCoin != 0) hash ^= ShopCoin.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Sequence != 0) hash ^= Sequence.GetHashCode(); - if (RefreshTimeType != 0) hash ^= RefreshTimeType.GetHashCode(); - if (RefreshInterval != 0) hash ^= RefreshInterval.GetHashCode(); - if (UnlockCondType != 0) hash ^= UnlockCondType.GetHashCode(); - if (UnlockCondParams.Length != 0) hash ^= UnlockCondParams.GetHashCode(); - if (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); - if (CloseTime.Length != 0) hash ^= CloseTime.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 (ShopCoin != 0) { - output.WriteRawTag(16); - output.WriteInt32(ShopCoin); - } - if (Type != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Sequence != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sequence); - } - if (RefreshTimeType != 0) { - output.WriteRawTag(48); - output.WriteInt32(RefreshTimeType); - } - if (RefreshInterval != 0) { - output.WriteRawTag(56); - output.WriteInt32(RefreshInterval); - } - if (UnlockCondType != 0) { - output.WriteRawTag(64); - output.WriteInt32(UnlockCondType); - } - if (UnlockCondParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(UnlockCondParams); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(82); - output.WriteString(OpenTime); - } - if (CloseTime.Length != 0) { - output.WriteRawTag(90); - output.WriteString(CloseTime); - } - 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 (ShopCoin != 0) { - output.WriteRawTag(16); - output.WriteInt32(ShopCoin); - } - if (Type != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (Sequence != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sequence); - } - if (RefreshTimeType != 0) { - output.WriteRawTag(48); - output.WriteInt32(RefreshTimeType); - } - if (RefreshInterval != 0) { - output.WriteRawTag(56); - output.WriteInt32(RefreshInterval); - } - if (UnlockCondType != 0) { - output.WriteRawTag(64); - output.WriteInt32(UnlockCondType); - } - if (UnlockCondParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(UnlockCondParams); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(82); - output.WriteString(OpenTime); - } - if (CloseTime.Length != 0) { - output.WriteRawTag(90); - output.WriteString(CloseTime); - } - 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 (ShopCoin != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopCoin); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Sequence != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sequence); - } - if (RefreshTimeType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTimeType); - } - if (RefreshInterval != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshInterval); - } - if (UnlockCondType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockCondType); - } - if (UnlockCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockCondParams); - } - if (OpenTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); - } - if (CloseTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CloseTime); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ResidentShop other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ShopCoin != 0) { - ShopCoin = other.ShopCoin; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Sequence != 0) { - Sequence = other.Sequence; - } - if (other.RefreshTimeType != 0) { - RefreshTimeType = other.RefreshTimeType; - } - if (other.RefreshInterval != 0) { - RefreshInterval = other.RefreshInterval; - } - if (other.UnlockCondType != 0) { - UnlockCondType = other.UnlockCondType; - } - if (other.UnlockCondParams.Length != 0) { - UnlockCondParams = other.UnlockCondParams; - } - if (other.OpenTime.Length != 0) { - OpenTime = other.OpenTime; - } - if (other.CloseTime.Length != 0) { - CloseTime = other.CloseTime; - } - _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: { - ShopCoin = input.ReadInt32(); - break; - } - case 24: { - Type = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - Sequence = input.ReadInt32(); - break; - } - case 48: { - RefreshTimeType = input.ReadInt32(); - break; - } - case 56: { - RefreshInterval = input.ReadInt32(); - break; - } - case 64: { - UnlockCondType = input.ReadInt32(); - break; - } - case 74: { - UnlockCondParams = input.ReadString(); - break; - } - case 82: { - OpenTime = input.ReadString(); - break; - } - case 90: { - CloseTime = 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: { - ShopCoin = input.ReadInt32(); - break; - } - case 24: { - Type = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - Sequence = input.ReadInt32(); - break; - } - case 48: { - RefreshTimeType = input.ReadInt32(); - break; - } - case 56: { - RefreshInterval = input.ReadInt32(); - break; - } - case 64: { - UnlockCondType = input.ReadInt32(); - break; - } - case 74: { - UnlockCondParams = input.ReadString(); - break; - } - case 82: { - OpenTime = input.ReadString(); - break; - } - case 90: { - CloseTime = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ResidentShopGet.cs b/Novaria.Common/Protos/ResidentShopGet.cs new file mode 100644 index 0000000..013031f --- /dev/null +++ b/Novaria.Common/Protos/ResidentShopGet.cs @@ -0,0 +1,497 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: resident_shop_get.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 Proto { + + /// <summary>Holder for reflection information generated from resident_shop_get.proto</summary> + public static partial class ResidentShopGetReflection { + + #region Descriptor + /// <summary>File descriptor for resident_shop_get.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ResidentShopGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdyZXNpZGVudF9zaG9wX2dldC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byI7ChJSZXNpZGVudFNob3BHZXRSZXESDwoHU2hvcElkcxgBIAMoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAwiTwoTUmVzaWRlbnRTaG9wR2V0UmVzcBIiCgVT", + "aG9wcxgBIAMoCzITLnByb3RvLlJlc2lkZW50U2hvcBIUCgtOZXh0UGFja2Fn", + "ZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ResidentShopGetReq), global::Proto.ResidentShopGetReq.Parser, new[]{ "ShopIds", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ResidentShopGetResp), global::Proto.ResidentShopGetResp.Parser, new[]{ "Shops", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentShopGetReq : pb::IMessage<ResidentShopGetReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentShopGetReq> _parser = new pb::MessageParser<ResidentShopGetReq>(() => new ResidentShopGetReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentShopGetReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.ResidentShopGetReflection.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 ResidentShopGetReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopGetReq(ResidentShopGetReq other) : this() { + shopIds_ = other.shopIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopGetReq Clone() { + return new ResidentShopGetReq(this); + } + + /// <summary>Field number for the "ShopIds" field.</summary> + public const int ShopIdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_shopIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> shopIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> ShopIds { + get { return shopIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ResidentShopGetReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentShopGetReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!shopIds_.Equals(other.shopIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= shopIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + shopIds_.WriteTo(output, _repeated_shopIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + shopIds_.WriteTo(ref output, _repeated_shopIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += shopIds_.CalculateSize(_repeated_shopIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentShopGetReq other) { + if (other == null) { + return; + } + shopIds_.Add(other.shopIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + shopIds_.AddEntriesFrom(input, _repeated_shopIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + shopIds_.AddEntriesFrom(ref input, _repeated_shopIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentShopGetResp : pb::IMessage<ResidentShopGetResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentShopGetResp> _parser = new pb::MessageParser<ResidentShopGetResp>(() => new ResidentShopGetResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentShopGetResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.ResidentShopGetReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopGetResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopGetResp(ResidentShopGetResp other) : this() { + shops_ = other.shops_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopGetResp Clone() { + return new ResidentShopGetResp(this); + } + + /// <summary>Field number for the "Shops" field.</summary> + public const int ShopsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ResidentShop> _repeated_shops_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ResidentShop.Parser); + private readonly pbc::RepeatedField<global::Proto.ResidentShop> shops_ = new pbc::RepeatedField<global::Proto.ResidentShop>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ResidentShop> Shops { + get { return shops_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ResidentShopGetResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentShopGetResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!shops_.Equals(other.shops_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= shops_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + shops_.WriteTo(output, _repeated_shops_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + shops_.WriteTo(ref output, _repeated_shops_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += shops_.CalculateSize(_repeated_shops_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentShopGetResp other) { + if (other == null) { + return; + } + shops_.Add(other.shops_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + shops_.AddEntriesFrom(input, _repeated_shops_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + shops_.AddEntriesFrom(ref input, _repeated_shops_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ResidentShopPurchase.cs b/Novaria.Common/Protos/ResidentShopPurchase.cs new file mode 100644 index 0000000..cefd21c --- /dev/null +++ b/Novaria.Common/Protos/ResidentShopPurchase.cs @@ -0,0 +1,760 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: resident_shop_purchase.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 Proto { + + /// <summary>Holder for reflection information generated from resident_shop_purchase.proto</summary> + public static partial class ResidentShopPurchaseReflection { + + #region Descriptor + /// <summary>File descriptor for resident_shop_purchase.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ResidentShopPurchaseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChxyZXNpZGVudF9zaG9wX3B1cmNoYXNlLnByb3RvEgVwcm90bxoMcHVibGlj", + "LnByb3RvInUKF1Jlc2lkZW50U2hvcFB1cmNoYXNlUmVxEg4KBlNob3BJZBgB", + "IAEoDRITCgtSZWZyZXNoVGltZRgCIAEoAxIPCgdHb29kc0lkGAMgASgNEg4K", + "Bk51bWJlchgEIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiogEKGFJlc2lk", + "ZW50U2hvcFB1cmNoYXNlUmVzcBIRCglJc1JlZnJlc2gYASABKAgSIQoEU2hv", + "cBgCIAEoCzITLnByb3RvLlJlc2lkZW50U2hvcBIXCg9QdXJjaGFzZWROdW1i", + "ZXIYAyABKA0SIQoGQ2hhbmdlGAQgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ResidentShopPurchaseReq), global::Proto.ResidentShopPurchaseReq.Parser, new[]{ "ShopId", "RefreshTime", "GoodsId", "Number", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.ResidentShopPurchaseResp), global::Proto.ResidentShopPurchaseResp.Parser, new[]{ "IsRefresh", "Shop", "PurchasedNumber", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentShopPurchaseReq : pb::IMessage<ResidentShopPurchaseReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentShopPurchaseReq> _parser = new pb::MessageParser<ResidentShopPurchaseReq>(() => new ResidentShopPurchaseReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentShopPurchaseReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.ResidentShopPurchaseReflection.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 ResidentShopPurchaseReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopPurchaseReq(ResidentShopPurchaseReq other) : this() { + shopId_ = other.shopId_; + refreshTime_ = other.refreshTime_; + goodsId_ = other.goodsId_; + number_ = other.number_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopPurchaseReq Clone() { + return new ResidentShopPurchaseReq(this); + } + + /// <summary>Field number for the "ShopId" field.</summary> + public const int ShopIdFieldNumber = 1; + private uint shopId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ShopId { + get { return shopId_; } + set { + shopId_ = value; + } + } + + /// <summary>Field number for the "RefreshTime" field.</summary> + public const int RefreshTimeFieldNumber = 2; + private long refreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RefreshTime { + get { return refreshTime_; } + set { + refreshTime_ = value; + } + } + + /// <summary>Field number for the "GoodsId" field.</summary> + public const int GoodsIdFieldNumber = 3; + private uint goodsId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GoodsId { + get { return goodsId_; } + set { + goodsId_ = value; + } + } + + /// <summary>Field number for the "Number" field.</summary> + public const int NumberFieldNumber = 4; + private uint number_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Number { + get { return number_; } + set { + number_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ResidentShopPurchaseReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentShopPurchaseReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ShopId != other.ShopId) return false; + if (RefreshTime != other.RefreshTime) return false; + if (GoodsId != other.GoodsId) return false; + if (Number != other.Number) return false; + if (NextPackage != other.NextPackage) 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 (ShopId != 0) hash ^= ShopId.GetHashCode(); + if (RefreshTime != 0L) hash ^= RefreshTime.GetHashCode(); + if (GoodsId != 0) hash ^= GoodsId.GetHashCode(); + if (Number != 0) hash ^= Number.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (ShopId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ShopId); + } + if (RefreshTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(RefreshTime); + } + if (GoodsId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(GoodsId); + } + if (Number != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ShopId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(ShopId); + } + if (RefreshTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(RefreshTime); + } + if (GoodsId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(GoodsId); + } + if (Number != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (ShopId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopId); + } + if (RefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RefreshTime); + } + if (GoodsId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoodsId); + } + if (Number != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Number); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentShopPurchaseReq other) { + if (other == null) { + return; + } + if (other.ShopId != 0) { + ShopId = other.ShopId; + } + if (other.RefreshTime != 0L) { + RefreshTime = other.RefreshTime; + } + if (other.GoodsId != 0) { + GoodsId = other.GoodsId; + } + if (other.Number != 0) { + Number = other.Number; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + ShopId = input.ReadUInt32(); + break; + } + case 16: { + RefreshTime = input.ReadInt64(); + break; + } + case 24: { + GoodsId = input.ReadUInt32(); + break; + } + case 32: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + ShopId = input.ReadUInt32(); + break; + } + case 16: { + RefreshTime = input.ReadInt64(); + break; + } + case 24: { + GoodsId = input.ReadUInt32(); + break; + } + case 32: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentShopPurchaseResp : pb::IMessage<ResidentShopPurchaseResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentShopPurchaseResp> _parser = new pb::MessageParser<ResidentShopPurchaseResp>(() => new ResidentShopPurchaseResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentShopPurchaseResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.ResidentShopPurchaseReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopPurchaseResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopPurchaseResp(ResidentShopPurchaseResp other) : this() { + isRefresh_ = other.isRefresh_; + shop_ = other.shop_ != null ? other.shop_.Clone() : null; + purchasedNumber_ = other.purchasedNumber_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShopPurchaseResp Clone() { + return new ResidentShopPurchaseResp(this); + } + + /// <summary>Field number for the "IsRefresh" field.</summary> + public const int IsRefreshFieldNumber = 1; + private bool isRefresh_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsRefresh { + get { return isRefresh_; } + set { + isRefresh_ = value; + } + } + + /// <summary>Field number for the "Shop" field.</summary> + public const int ShopFieldNumber = 2; + private global::Proto.ResidentShop shop_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ResidentShop Shop { + get { return shop_; } + set { + shop_ = value; + } + } + + /// <summary>Field number for the "PurchasedNumber" field.</summary> + public const int PurchasedNumberFieldNumber = 3; + private uint purchasedNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PurchasedNumber { + get { return purchasedNumber_; } + set { + purchasedNumber_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 4; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 ResidentShopPurchaseResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentShopPurchaseResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsRefresh != other.IsRefresh) return false; + if (!object.Equals(Shop, other.Shop)) return false; + if (PurchasedNumber != other.PurchasedNumber) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (IsRefresh != false) hash ^= IsRefresh.GetHashCode(); + if (shop_ != null) hash ^= Shop.GetHashCode(); + if (PurchasedNumber != 0) hash ^= PurchasedNumber.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (IsRefresh != false) { + output.WriteRawTag(8); + output.WriteBool(IsRefresh); + } + if (shop_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Shop); + } + if (PurchasedNumber != 0) { + output.WriteRawTag(24); + output.WriteUInt32(PurchasedNumber); + } + if (change_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (IsRefresh != false) { + output.WriteRawTag(8); + output.WriteBool(IsRefresh); + } + if (shop_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Shop); + } + if (PurchasedNumber != 0) { + output.WriteRawTag(24); + output.WriteUInt32(PurchasedNumber); + } + if (change_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (IsRefresh != false) { + size += 1 + 1; + } + if (shop_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Shop); + } + if (PurchasedNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PurchasedNumber); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentShopPurchaseResp other) { + if (other == null) { + return; + } + if (other.IsRefresh != false) { + IsRefresh = other.IsRefresh; + } + if (other.shop_ != null) { + if (shop_ == null) { + Shop = new global::Proto.ResidentShop(); + } + Shop.MergeFrom(other.Shop); + } + if (other.PurchasedNumber != 0) { + PurchasedNumber = other.PurchasedNumber; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + IsRefresh = input.ReadBool(); + break; + } + case 18: { + if (shop_ == null) { + Shop = new global::Proto.ResidentShop(); + } + input.ReadMessage(Shop); + break; + } + case 24: { + PurchasedNumber = input.ReadUInt32(); + break; + } + case 34: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + IsRefresh = input.ReadBool(); + break; + } + case 18: { + if (shop_ == null) { + Shop = new global::Proto.ResidentShop(); + } + input.ReadMessage(Shop); + break; + } + case 24: { + PurchasedNumber = input.ReadUInt32(); + break; + } + case 34: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/ScriptParameter.cs b/Novaria.Common/Protos/ScriptParameter.cs deleted file mode 100644 index fb3dc35..0000000 --- a/Novaria.Common/Protos/ScriptParameter.cs +++ /dev/null @@ -1,354 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ScriptParameter.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 ScriptParameter.proto</summary> - public static partial class ScriptParameterReflection { - - #region Descriptor - /// <summary>File descriptor for ScriptParameter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ScriptParameterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVTY3JpcHRQYXJhbWV0ZXIucHJvdG8iYwoPU2NyaXB0UGFyYW1ldGVyEgoK", - "AmlkGAEgASgFEhcKD2xldmVsX3R5cGVfZGF0YRgCIAEoBRISCgpsZXZlbF9k", - "YXRhGAMgASgFEhcKD21haW5fb3Jfc3VwcG9ydBgEIAEoBUIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ScriptParameter), global::Nova.Client.ScriptParameter.Parser, new[]{ "Id", "LevelTypeData", "LevelData", "MainOrSupport" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ScriptParameter : pb::IMessage<ScriptParameter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<ScriptParameter> _parser = new pb::MessageParser<ScriptParameter>(() => new ScriptParameter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<ScriptParameter> 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.ScriptParameterReflection.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 ScriptParameter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScriptParameter(ScriptParameter other) : this() { - id_ = other.id_; - levelTypeData_ = other.levelTypeData_; - levelData_ = other.levelData_; - mainOrSupport_ = other.mainOrSupport_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ScriptParameter Clone() { - return new ScriptParameter(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 "level_type_data" field.</summary> - public const int LevelTypeDataFieldNumber = 2; - private int levelTypeData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTypeData { - get { return levelTypeData_; } - set { - levelTypeData_ = value; - } - } - - /// <summary>Field number for the "level_data" field.</summary> - public const int LevelDataFieldNumber = 3; - private int levelData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelData { - get { return levelData_; } - set { - levelData_ = value; - } - } - - /// <summary>Field number for the "main_or_support" field.</summary> - public const int MainOrSupportFieldNumber = 4; - private int mainOrSupport_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainOrSupport { - get { return mainOrSupport_; } - set { - mainOrSupport_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ScriptParameter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ScriptParameter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (LevelTypeData != other.LevelTypeData) return false; - if (LevelData != other.LevelData) return false; - if (MainOrSupport != other.MainOrSupport) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); - if (LevelData != 0) hash ^= LevelData.GetHashCode(); - if (MainOrSupport != 0) hash ^= MainOrSupport.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 (LevelTypeData != 0) { - output.WriteRawTag(16); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(32); - output.WriteInt32(MainOrSupport); - } - 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 (LevelTypeData != 0) { - output.WriteRawTag(16); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(32); - output.WriteInt32(MainOrSupport); - } - 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 (LevelTypeData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); - } - if (LevelData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); - } - if (MainOrSupport != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ScriptParameter other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.LevelTypeData != 0) { - LevelTypeData = other.LevelTypeData; - } - if (other.LevelData != 0) { - LevelData = other.LevelData; - } - if (other.MainOrSupport != 0) { - MainOrSupport = other.MainOrSupport; - } - _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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 24: { - LevelData = input.ReadInt32(); - break; - } - case 32: { - MainOrSupport = 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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 24: { - LevelData = input.ReadInt32(); - break; - } - case 32: { - MainOrSupport = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Shield.cs b/Novaria.Common/Protos/Shield.cs deleted file mode 100644 index 955b742..0000000 --- a/Novaria.Common/Protos/Shield.cs +++ /dev/null @@ -1,616 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Shield.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 Shield.proto</summary> - public static partial class ShieldReflection { - - #region Descriptor - /// <summary>File descriptor for Shield.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ShieldReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxTaGllbGQucHJvdG8i7AEKBlNoaWVsZBIKCgJpZBgBIAEoBRIMCgRuYW1l", - "GAIgASgJEhcKD2xldmVsX3R5cGVfZGF0YRgDIAEoBRISCgpsZXZlbF9kYXRh", - "GAQgASgFEhcKD21haW5fb3Jfc3VwcG9ydBgFIAEoBRITCgtiaW5kX2VmZmVj", - "dBgGIAEoCRITCgtzaGllbGRfdGFnMRgHIAEoBRITCgtzaGllbGRfdGFnMhgI", - "IAEoBRITCgtzaGllbGRfdGFnMxgJIAEoBRIaChJ0aW1lX3N1cGVycG9zaXRp", - "b24YCiABKAUSEgoKbm90X3JlbW92ZRgLIAEoCEIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Shield), global::Nova.Client.Shield.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "BindEffect", "ShieldTag1", "ShieldTag2", "ShieldTag3", "TimeSuperposition", "NotRemove" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Shield : pb::IMessage<Shield> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Shield> _parser = new pb::MessageParser<Shield>(() => new Shield()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Shield> 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.ShieldReflection.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 Shield() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Shield(Shield other) : this() { - id_ = other.id_; - name_ = other.name_; - levelTypeData_ = other.levelTypeData_; - levelData_ = other.levelData_; - mainOrSupport_ = other.mainOrSupport_; - bindEffect_ = other.bindEffect_; - shieldTag1_ = other.shieldTag1_; - shieldTag2_ = other.shieldTag2_; - shieldTag3_ = other.shieldTag3_; - timeSuperposition_ = other.timeSuperposition_; - notRemove_ = other.notRemove_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Shield Clone() { - return new Shield(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 "level_type_data" field.</summary> - public const int LevelTypeDataFieldNumber = 3; - private int levelTypeData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTypeData { - get { return levelTypeData_; } - set { - levelTypeData_ = value; - } - } - - /// <summary>Field number for the "level_data" field.</summary> - public const int LevelDataFieldNumber = 4; - private int levelData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelData { - get { return levelData_; } - set { - levelData_ = value; - } - } - - /// <summary>Field number for the "main_or_support" field.</summary> - public const int MainOrSupportFieldNumber = 5; - private int mainOrSupport_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainOrSupport { - get { return mainOrSupport_; } - set { - mainOrSupport_ = value; - } - } - - /// <summary>Field number for the "bind_effect" field.</summary> - public const int BindEffectFieldNumber = 6; - private string bindEffect_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BindEffect { - get { return bindEffect_; } - set { - bindEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "shield_tag1" field.</summary> - public const int ShieldTag1FieldNumber = 7; - private int shieldTag1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShieldTag1 { - get { return shieldTag1_; } - set { - shieldTag1_ = value; - } - } - - /// <summary>Field number for the "shield_tag2" field.</summary> - public const int ShieldTag2FieldNumber = 8; - private int shieldTag2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShieldTag2 { - get { return shieldTag2_; } - set { - shieldTag2_ = value; - } - } - - /// <summary>Field number for the "shield_tag3" field.</summary> - public const int ShieldTag3FieldNumber = 9; - private int shieldTag3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShieldTag3 { - get { return shieldTag3_; } - set { - shieldTag3_ = value; - } - } - - /// <summary>Field number for the "time_superposition" field.</summary> - public const int TimeSuperpositionFieldNumber = 10; - 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 "not_remove" field.</summary> - public const int NotRemoveFieldNumber = 11; - private bool notRemove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool NotRemove { - get { return notRemove_; } - set { - notRemove_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Shield); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Shield 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 (LevelTypeData != other.LevelTypeData) return false; - if (LevelData != other.LevelData) return false; - if (MainOrSupport != other.MainOrSupport) return false; - if (BindEffect != other.BindEffect) return false; - if (ShieldTag1 != other.ShieldTag1) return false; - if (ShieldTag2 != other.ShieldTag2) return false; - if (ShieldTag3 != other.ShieldTag3) return false; - if (TimeSuperposition != other.TimeSuperposition) return false; - if (NotRemove != other.NotRemove) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); - if (LevelData != 0) hash ^= LevelData.GetHashCode(); - if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); - if (BindEffect.Length != 0) hash ^= BindEffect.GetHashCode(); - if (ShieldTag1 != 0) hash ^= ShieldTag1.GetHashCode(); - if (ShieldTag2 != 0) hash ^= ShieldTag2.GetHashCode(); - if (ShieldTag3 != 0) hash ^= ShieldTag3.GetHashCode(); - if (TimeSuperposition != 0) hash ^= TimeSuperposition.GetHashCode(); - if (NotRemove != false) hash ^= NotRemove.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 (LevelTypeData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainOrSupport); - } - if (BindEffect.Length != 0) { - output.WriteRawTag(50); - output.WriteString(BindEffect); - } - if (ShieldTag1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(ShieldTag1); - } - if (ShieldTag2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(ShieldTag2); - } - if (ShieldTag3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(ShieldTag3); - } - if (TimeSuperposition != 0) { - output.WriteRawTag(80); - output.WriteInt32(TimeSuperposition); - } - if (NotRemove != false) { - output.WriteRawTag(88); - output.WriteBool(NotRemove); - } - 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 (LevelTypeData != 0) { - output.WriteRawTag(24); - output.WriteInt32(LevelTypeData); - } - if (LevelData != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelData); - } - if (MainOrSupport != 0) { - output.WriteRawTag(40); - output.WriteInt32(MainOrSupport); - } - if (BindEffect.Length != 0) { - output.WriteRawTag(50); - output.WriteString(BindEffect); - } - if (ShieldTag1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(ShieldTag1); - } - if (ShieldTag2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(ShieldTag2); - } - if (ShieldTag3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(ShieldTag3); - } - if (TimeSuperposition != 0) { - output.WriteRawTag(80); - output.WriteInt32(TimeSuperposition); - } - if (NotRemove != false) { - output.WriteRawTag(88); - output.WriteBool(NotRemove); - } - 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 (LevelTypeData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); - } - if (LevelData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); - } - if (MainOrSupport != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); - } - if (BindEffect.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BindEffect); - } - if (ShieldTag1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldTag1); - } - if (ShieldTag2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldTag2); - } - if (ShieldTag3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldTag3); - } - if (TimeSuperposition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeSuperposition); - } - if (NotRemove != 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(Shield other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.LevelTypeData != 0) { - LevelTypeData = other.LevelTypeData; - } - if (other.LevelData != 0) { - LevelData = other.LevelData; - } - if (other.MainOrSupport != 0) { - MainOrSupport = other.MainOrSupport; - } - if (other.BindEffect.Length != 0) { - BindEffect = other.BindEffect; - } - if (other.ShieldTag1 != 0) { - ShieldTag1 = other.ShieldTag1; - } - if (other.ShieldTag2 != 0) { - ShieldTag2 = other.ShieldTag2; - } - if (other.ShieldTag3 != 0) { - ShieldTag3 = other.ShieldTag3; - } - if (other.TimeSuperposition != 0) { - TimeSuperposition = other.TimeSuperposition; - } - if (other.NotRemove != false) { - NotRemove = other.NotRemove; - } - _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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 32: { - LevelData = input.ReadInt32(); - break; - } - case 40: { - MainOrSupport = input.ReadInt32(); - break; - } - case 50: { - BindEffect = input.ReadString(); - break; - } - case 56: { - ShieldTag1 = input.ReadInt32(); - break; - } - case 64: { - ShieldTag2 = input.ReadInt32(); - break; - } - case 72: { - ShieldTag3 = input.ReadInt32(); - break; - } - case 80: { - TimeSuperposition = input.ReadInt32(); - break; - } - case 88: { - NotRemove = 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: { - LevelTypeData = input.ReadInt32(); - break; - } - case 32: { - LevelData = input.ReadInt32(); - break; - } - case 40: { - MainOrSupport = input.ReadInt32(); - break; - } - case 50: { - BindEffect = input.ReadString(); - break; - } - case 56: { - ShieldTag1 = input.ReadInt32(); - break; - } - case 64: { - ShieldTag2 = input.ReadInt32(); - break; - } - case 72: { - ShieldTag3 = input.ReadInt32(); - break; - } - case 80: { - TimeSuperposition = input.ReadInt32(); - break; - } - case 88: { - NotRemove = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ShieldValue.cs b/Novaria.Common/Protos/ShieldValue.cs deleted file mode 100644 index 7fbe46b..0000000 --- a/Novaria.Common/Protos/ShieldValue.cs +++ /dev/null @@ -1,579 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ShieldValue.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 ShieldValue.proto</summary> - public static partial class ShieldValueReflection { - - #region Descriptor - /// <summary>File descriptor for ShieldValue.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ShieldValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFTaGllbGRWYWx1ZS5wcm90byLpAQoLU2hpZWxkVmFsdWUSCgoCaWQYASAB", - "KAUSDAoEbmFtZRgCIAEoCRIXCg9hYnNvcnB0aW9uX2Jhc2UYAyABKAUSGAoQ", - "cmVmZXJlbmNlX3RhcmdldBgEIAEoBRIYChByZWZlcmVuY2VfYXR0cmliGAUg", - "ASgFEhcKD3JlZmVyZW5jZV9zY2FsZRgGIAEoBRIMCgR0aW1lGAcgASgFEhwK", - "FHNoaWVsZF9sYW1pbmF0ZWRfbnVtGAggASgFEhoKEnRpbWVfc3VwZXJwb3Np", - "dGlvbhgJIAEoBRISCgpub3RfcmVtb3ZlGAogASgIQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ShieldValue), global::Nova.Client.ShieldValue.Parser, new[]{ "Id", "Name", "AbsorptionBase", "ReferenceTarget", "ReferenceAttrib", "ReferenceScale", "Time", "ShieldLaminatedNum", "TimeSuperposition", "NotRemove" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ShieldValue : pb::IMessage<ShieldValue> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<ShieldValue> _parser = new pb::MessageParser<ShieldValue>(() => new ShieldValue()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<ShieldValue> 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.ShieldValueReflection.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 ShieldValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShieldValue(ShieldValue other) : this() { - id_ = other.id_; - name_ = other.name_; - absorptionBase_ = other.absorptionBase_; - referenceTarget_ = other.referenceTarget_; - referenceAttrib_ = other.referenceAttrib_; - referenceScale_ = other.referenceScale_; - time_ = other.time_; - shieldLaminatedNum_ = other.shieldLaminatedNum_; - timeSuperposition_ = other.timeSuperposition_; - notRemove_ = other.notRemove_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShieldValue Clone() { - return new ShieldValue(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 "absorption_base" field.</summary> - public const int AbsorptionBaseFieldNumber = 3; - private int absorptionBase_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AbsorptionBase { - get { return absorptionBase_; } - set { - absorptionBase_ = value; - } - } - - /// <summary>Field number for the "reference_target" field.</summary> - public const int ReferenceTargetFieldNumber = 4; - private int referenceTarget_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ReferenceTarget { - get { return referenceTarget_; } - set { - referenceTarget_ = value; - } - } - - /// <summary>Field number for the "reference_attrib" field.</summary> - public const int ReferenceAttribFieldNumber = 5; - private int referenceAttrib_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ReferenceAttrib { - get { return referenceAttrib_; } - set { - referenceAttrib_ = value; - } - } - - /// <summary>Field number for the "reference_scale" field.</summary> - public const int ReferenceScaleFieldNumber = 6; - private int referenceScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ReferenceScale { - get { return referenceScale_; } - set { - referenceScale_ = value; - } - } - - /// <summary>Field number for the "time" field.</summary> - public const int TimeFieldNumber = 7; - 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 "shield_laminated_num" field.</summary> - public const int ShieldLaminatedNumFieldNumber = 8; - private int shieldLaminatedNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShieldLaminatedNum { - get { return shieldLaminatedNum_; } - set { - shieldLaminatedNum_ = value; - } - } - - /// <summary>Field number for the "time_superposition" field.</summary> - public const int TimeSuperpositionFieldNumber = 9; - 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 "not_remove" field.</summary> - public const int NotRemoveFieldNumber = 10; - private bool notRemove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool NotRemove { - get { return notRemove_; } - set { - notRemove_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ShieldValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ShieldValue 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 (AbsorptionBase != other.AbsorptionBase) return false; - if (ReferenceTarget != other.ReferenceTarget) return false; - if (ReferenceAttrib != other.ReferenceAttrib) return false; - if (ReferenceScale != other.ReferenceScale) return false; - if (Time != other.Time) return false; - if (ShieldLaminatedNum != other.ShieldLaminatedNum) return false; - if (TimeSuperposition != other.TimeSuperposition) return false; - if (NotRemove != other.NotRemove) 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 (AbsorptionBase != 0) hash ^= AbsorptionBase.GetHashCode(); - if (ReferenceTarget != 0) hash ^= ReferenceTarget.GetHashCode(); - if (ReferenceAttrib != 0) hash ^= ReferenceAttrib.GetHashCode(); - if (ReferenceScale != 0) hash ^= ReferenceScale.GetHashCode(); - if (Time != 0) hash ^= Time.GetHashCode(); - if (ShieldLaminatedNum != 0) hash ^= ShieldLaminatedNum.GetHashCode(); - if (TimeSuperposition != 0) hash ^= TimeSuperposition.GetHashCode(); - if (NotRemove != false) hash ^= NotRemove.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 (AbsorptionBase != 0) { - output.WriteRawTag(24); - output.WriteInt32(AbsorptionBase); - } - if (ReferenceTarget != 0) { - output.WriteRawTag(32); - output.WriteInt32(ReferenceTarget); - } - if (ReferenceAttrib != 0) { - output.WriteRawTag(40); - output.WriteInt32(ReferenceAttrib); - } - if (ReferenceScale != 0) { - output.WriteRawTag(48); - output.WriteInt32(ReferenceScale); - } - if (Time != 0) { - output.WriteRawTag(56); - output.WriteInt32(Time); - } - if (ShieldLaminatedNum != 0) { - output.WriteRawTag(64); - output.WriteInt32(ShieldLaminatedNum); - } - if (TimeSuperposition != 0) { - output.WriteRawTag(72); - output.WriteInt32(TimeSuperposition); - } - if (NotRemove != false) { - output.WriteRawTag(80); - output.WriteBool(NotRemove); - } - 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 (AbsorptionBase != 0) { - output.WriteRawTag(24); - output.WriteInt32(AbsorptionBase); - } - if (ReferenceTarget != 0) { - output.WriteRawTag(32); - output.WriteInt32(ReferenceTarget); - } - if (ReferenceAttrib != 0) { - output.WriteRawTag(40); - output.WriteInt32(ReferenceAttrib); - } - if (ReferenceScale != 0) { - output.WriteRawTag(48); - output.WriteInt32(ReferenceScale); - } - if (Time != 0) { - output.WriteRawTag(56); - output.WriteInt32(Time); - } - if (ShieldLaminatedNum != 0) { - output.WriteRawTag(64); - output.WriteInt32(ShieldLaminatedNum); - } - if (TimeSuperposition != 0) { - output.WriteRawTag(72); - output.WriteInt32(TimeSuperposition); - } - if (NotRemove != false) { - output.WriteRawTag(80); - output.WriteBool(NotRemove); - } - 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 (AbsorptionBase != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AbsorptionBase); - } - if (ReferenceTarget != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReferenceTarget); - } - if (ReferenceAttrib != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReferenceAttrib); - } - if (ReferenceScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReferenceScale); - } - if (Time != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Time); - } - if (ShieldLaminatedNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldLaminatedNum); - } - if (TimeSuperposition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeSuperposition); - } - if (NotRemove != 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(ShieldValue other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.AbsorptionBase != 0) { - AbsorptionBase = other.AbsorptionBase; - } - if (other.ReferenceTarget != 0) { - ReferenceTarget = other.ReferenceTarget; - } - if (other.ReferenceAttrib != 0) { - ReferenceAttrib = other.ReferenceAttrib; - } - if (other.ReferenceScale != 0) { - ReferenceScale = other.ReferenceScale; - } - if (other.Time != 0) { - Time = other.Time; - } - if (other.ShieldLaminatedNum != 0) { - ShieldLaminatedNum = other.ShieldLaminatedNum; - } - if (other.TimeSuperposition != 0) { - TimeSuperposition = other.TimeSuperposition; - } - if (other.NotRemove != false) { - NotRemove = other.NotRemove; - } - _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: { - AbsorptionBase = input.ReadInt32(); - break; - } - case 32: { - ReferenceTarget = input.ReadInt32(); - break; - } - case 40: { - ReferenceAttrib = input.ReadInt32(); - break; - } - case 48: { - ReferenceScale = input.ReadInt32(); - break; - } - case 56: { - Time = input.ReadInt32(); - break; - } - case 64: { - ShieldLaminatedNum = input.ReadInt32(); - break; - } - case 72: { - TimeSuperposition = input.ReadInt32(); - break; - } - case 80: { - NotRemove = 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: { - AbsorptionBase = input.ReadInt32(); - break; - } - case 32: { - ReferenceTarget = input.ReadInt32(); - break; - } - case 40: { - ReferenceAttrib = input.ReadInt32(); - break; - } - case 48: { - ReferenceScale = input.ReadInt32(); - break; - } - case 56: { - Time = input.ReadInt32(); - break; - } - case 64: { - ShieldLaminatedNum = input.ReadInt32(); - break; - } - case 72: { - TimeSuperposition = input.ReadInt32(); - break; - } - case 80: { - NotRemove = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Skill.cs b/Novaria.Common/Protos/Skill.cs deleted file mode 100644 index b3b2a31..0000000 --- a/Novaria.Common/Protos/Skill.cs +++ /dev/null @@ -1,1214 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Skill.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 Skill.proto</summary> - public static partial class SkillReflection { - - #region Descriptor - /// <summary>File descriptor for Skill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtTa2lsbC5wcm90byKCBAoFU2tpbGwSCgoCaWQYASABKAUSDQoFdGl0bGUY", - "AiABKAkSEAoIZl9jX3BhdGgYAyABKAkSDAoEdHlwZRgEIAEoBRIMCgRkZXNj", - "GAUgASgJEgwKBGljb24YBiABKAkSEQoJc2tpbGxfY19kGAcgASgFEhEKCW1h", - "eF9sZXZlbBgIIAEoBRIVCg1yZWxhdGVkX3NraWxsGAkgASgJEhYKDnNlY3Rp", - "b25fYW1vdW50GAogASgFEhQKDHVzZV9pbnRlcnZhbBgLIAEoBRIVCg11c2Vf", - "dGltZV9oaW50GAwgASgFEhQKDHVsdHJhX2VuZXJneRgNIAEoBRIZChFjaGVj", - "a19jX2RfcmVzdG9yZRgOIAEoCBIYChBmb3JjZV9ydW5fZmluaXNoGA8gASgI", - "EhgKEGdldF9lbmVyZ3lfbGltaXQYECABKAUSDgoGcGFyYW0xGBEgASgJEg4K", - "BnBhcmFtMhgSIAEoCRIOCgZwYXJhbTMYEyABKAkSDgoGcGFyYW00GBQgASgJ", - "Eg4KBnBhcmFtNRgVIAEoCRIOCgZwYXJhbTYYFiABKAkSDgoGcGFyYW03GBcg", - "ASgJEg4KBnBhcmFtOBgYIAEoCRIOCgZwYXJhbTkYGSABKAkSDwoHcGFyYW0x", - "MBgaIAEoCRIaChJpc19jbGVhbl9za2lsbF9jX2QYGyABKAhCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Skill), global::Nova.Client.Skill.Parser, new[]{ "Id", "Title", "FCPath", "Type", "Desc", "Icon", "SkillCD", "MaxLevel", "RelatedSkill", "SectionAmount", "UseInterval", "UseTimeHint", "UltraEnergy", "CheckCDRestore", "ForceRunFinish", "GetEnergyLimit", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10", "IsCleanSkillCD" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Skill : pb::IMessage<Skill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Skill> _parser = new pb::MessageParser<Skill>(() => new Skill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Skill> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Nova.Client.SkillReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Skill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Skill(Skill other) : this() { - id_ = other.id_; - title_ = other.title_; - fCPath_ = other.fCPath_; - type_ = other.type_; - desc_ = other.desc_; - icon_ = other.icon_; - skillCD_ = other.skillCD_; - maxLevel_ = other.maxLevel_; - relatedSkill_ = other.relatedSkill_; - sectionAmount_ = other.sectionAmount_; - useInterval_ = other.useInterval_; - useTimeHint_ = other.useTimeHint_; - ultraEnergy_ = other.ultraEnergy_; - checkCDRestore_ = other.checkCDRestore_; - forceRunFinish_ = other.forceRunFinish_; - getEnergyLimit_ = other.getEnergyLimit_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - param5_ = other.param5_; - param6_ = other.param6_; - param7_ = other.param7_; - param8_ = other.param8_; - param9_ = other.param9_; - param10_ = other.param10_; - isCleanSkillCD_ = other.isCleanSkillCD_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Skill Clone() { - return new Skill(this); - } - - /// <summary>Field number for the "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 "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "f_c_path" field.</summary> - public const int FCPathFieldNumber = 3; - private string fCPath_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FCPath { - get { return fCPath_; } - set { - fCPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "type" field.</summary> - public const int TypeFieldNumber = 4; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = 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 "skill_c_d" field.</summary> - public const int SkillCDFieldNumber = 7; - private int skillCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillCD { - get { return skillCD_; } - set { - skillCD_ = value; - } - } - - /// <summary>Field number for the "max_level" field.</summary> - public const int MaxLevelFieldNumber = 8; - private int maxLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxLevel { - get { return maxLevel_; } - set { - maxLevel_ = value; - } - } - - /// <summary>Field number for the "related_skill" field.</summary> - public const int RelatedSkillFieldNumber = 9; - private string relatedSkill_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RelatedSkill { - get { return relatedSkill_; } - set { - relatedSkill_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "section_amount" field.</summary> - public const int SectionAmountFieldNumber = 10; - private int sectionAmount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SectionAmount { - get { return sectionAmount_; } - set { - sectionAmount_ = value; - } - } - - /// <summary>Field number for the "use_interval" field.</summary> - public const int UseIntervalFieldNumber = 11; - private int useInterval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UseInterval { - get { return useInterval_; } - set { - useInterval_ = value; - } - } - - /// <summary>Field number for the "use_time_hint" field.</summary> - public const int UseTimeHintFieldNumber = 12; - private int useTimeHint_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UseTimeHint { - get { return useTimeHint_; } - set { - useTimeHint_ = value; - } - } - - /// <summary>Field number for the "ultra_energy" field.</summary> - public const int UltraEnergyFieldNumber = 13; - private int ultraEnergy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UltraEnergy { - get { return ultraEnergy_; } - set { - ultraEnergy_ = value; - } - } - - /// <summary>Field number for the "check_c_d_restore" field.</summary> - public const int CheckCDRestoreFieldNumber = 14; - private bool checkCDRestore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool CheckCDRestore { - get { return checkCDRestore_; } - set { - checkCDRestore_ = value; - } - } - - /// <summary>Field number for the "force_run_finish" field.</summary> - public const int ForceRunFinishFieldNumber = 15; - private bool forceRunFinish_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ForceRunFinish { - get { return forceRunFinish_; } - set { - forceRunFinish_ = value; - } - } - - /// <summary>Field number for the "get_energy_limit" field.</summary> - public const int GetEnergyLimitFieldNumber = 16; - private int getEnergyLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GetEnergyLimit { - get { return getEnergyLimit_; } - set { - getEnergyLimit_ = value; - } - } - - /// <summary>Field number for the "param1" field.</summary> - public const int Param1FieldNumber = 17; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param2" field.</summary> - public const int Param2FieldNumber = 18; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param3" field.</summary> - public const int Param3FieldNumber = 19; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param4" field.</summary> - public const int Param4FieldNumber = 20; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param5" field.</summary> - public const int Param5FieldNumber = 21; - private string param5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param5 { - get { return param5_; } - set { - param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param6" field.</summary> - public const int Param6FieldNumber = 22; - private string param6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param6 { - get { return param6_; } - set { - param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param7" field.</summary> - public const int Param7FieldNumber = 23; - private string param7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param7 { - get { return param7_; } - set { - param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param8" field.</summary> - public const int Param8FieldNumber = 24; - private string param8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param8 { - get { return param8_; } - set { - param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param9" field.</summary> - public const int Param9FieldNumber = 25; - private string param9_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param9 { - get { return param9_; } - set { - param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param10" field.</summary> - public const int Param10FieldNumber = 26; - private string param10_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param10 { - get { return param10_; } - set { - param10_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "is_clean_skill_c_d" field.</summary> - public const int IsCleanSkillCDFieldNumber = 27; - private bool isCleanSkillCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsCleanSkillCD { - get { return isCleanSkillCD_; } - set { - isCleanSkillCD_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Skill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Skill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (FCPath != other.FCPath) return false; - if (Type != other.Type) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (SkillCD != other.SkillCD) return false; - if (MaxLevel != other.MaxLevel) return false; - if (RelatedSkill != other.RelatedSkill) return false; - if (SectionAmount != other.SectionAmount) return false; - if (UseInterval != other.UseInterval) return false; - if (UseTimeHint != other.UseTimeHint) return false; - if (UltraEnergy != other.UltraEnergy) return false; - if (CheckCDRestore != other.CheckCDRestore) return false; - if (ForceRunFinish != other.ForceRunFinish) return false; - if (GetEnergyLimit != other.GetEnergyLimit) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) return false; - if (Param5 != other.Param5) return false; - if (Param6 != other.Param6) return false; - if (Param7 != other.Param7) return false; - if (Param8 != other.Param8) return false; - if (Param9 != other.Param9) return false; - if (Param10 != other.Param10) return false; - if (IsCleanSkillCD != other.IsCleanSkillCD) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (FCPath.Length != 0) hash ^= FCPath.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (SkillCD != 0) hash ^= SkillCD.GetHashCode(); - if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); - if (RelatedSkill.Length != 0) hash ^= RelatedSkill.GetHashCode(); - if (SectionAmount != 0) hash ^= SectionAmount.GetHashCode(); - if (UseInterval != 0) hash ^= UseInterval.GetHashCode(); - if (UseTimeHint != 0) hash ^= UseTimeHint.GetHashCode(); - if (UltraEnergy != 0) hash ^= UltraEnergy.GetHashCode(); - if (CheckCDRestore != false) hash ^= CheckCDRestore.GetHashCode(); - if (ForceRunFinish != false) hash ^= ForceRunFinish.GetHashCode(); - if (GetEnergyLimit != 0) hash ^= GetEnergyLimit.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.GetHashCode(); - if (Param5.Length != 0) hash ^= Param5.GetHashCode(); - if (Param6.Length != 0) hash ^= Param6.GetHashCode(); - if (Param7.Length != 0) hash ^= Param7.GetHashCode(); - if (Param8.Length != 0) hash ^= Param8.GetHashCode(); - if (Param9.Length != 0) hash ^= Param9.GetHashCode(); - if (Param10.Length != 0) hash ^= Param10.GetHashCode(); - if (IsCleanSkillCD != false) hash ^= IsCleanSkillCD.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (FCPath.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FCPath); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (Desc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Icon); - } - if (SkillCD != 0) { - output.WriteRawTag(56); - output.WriteInt32(SkillCD); - } - if (MaxLevel != 0) { - output.WriteRawTag(64); - output.WriteInt32(MaxLevel); - } - if (RelatedSkill.Length != 0) { - output.WriteRawTag(74); - output.WriteString(RelatedSkill); - } - if (SectionAmount != 0) { - output.WriteRawTag(80); - output.WriteInt32(SectionAmount); - } - if (UseInterval != 0) { - output.WriteRawTag(88); - output.WriteInt32(UseInterval); - } - if (UseTimeHint != 0) { - output.WriteRawTag(96); - output.WriteInt32(UseTimeHint); - } - if (UltraEnergy != 0) { - output.WriteRawTag(104); - output.WriteInt32(UltraEnergy); - } - if (CheckCDRestore != false) { - output.WriteRawTag(112); - output.WriteBool(CheckCDRestore); - } - if (ForceRunFinish != false) { - output.WriteRawTag(120); - output.WriteBool(ForceRunFinish); - } - if (GetEnergyLimit != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(GetEnergyLimit); - } - if (Param1.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Param10); - } - if (IsCleanSkillCD != false) { - output.WriteRawTag(216, 1); - output.WriteBool(IsCleanSkillCD); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (FCPath.Length != 0) { - output.WriteRawTag(26); - output.WriteString(FCPath); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (Desc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Icon); - } - if (SkillCD != 0) { - output.WriteRawTag(56); - output.WriteInt32(SkillCD); - } - if (MaxLevel != 0) { - output.WriteRawTag(64); - output.WriteInt32(MaxLevel); - } - if (RelatedSkill.Length != 0) { - output.WriteRawTag(74); - output.WriteString(RelatedSkill); - } - if (SectionAmount != 0) { - output.WriteRawTag(80); - output.WriteInt32(SectionAmount); - } - if (UseInterval != 0) { - output.WriteRawTag(88); - output.WriteInt32(UseInterval); - } - if (UseTimeHint != 0) { - output.WriteRawTag(96); - output.WriteInt32(UseTimeHint); - } - if (UltraEnergy != 0) { - output.WriteRawTag(104); - output.WriteInt32(UltraEnergy); - } - if (CheckCDRestore != false) { - output.WriteRawTag(112); - output.WriteBool(CheckCDRestore); - } - if (ForceRunFinish != false) { - output.WriteRawTag(120); - output.WriteBool(ForceRunFinish); - } - if (GetEnergyLimit != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(GetEnergyLimit); - } - if (Param1.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(210, 1); - output.WriteString(Param10); - } - if (IsCleanSkillCD != false) { - output.WriteRawTag(216, 1); - output.WriteBool(IsCleanSkillCD); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (FCPath.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FCPath); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (SkillCD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillCD); - } - if (MaxLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); - } - if (RelatedSkill.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RelatedSkill); - } - if (SectionAmount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SectionAmount); - } - if (UseInterval != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseInterval); - } - if (UseTimeHint != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseTimeHint); - } - if (UltraEnergy != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UltraEnergy); - } - if (CheckCDRestore != false) { - size += 1 + 1; - } - if (ForceRunFinish != false) { - size += 1 + 1; - } - if (GetEnergyLimit != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(GetEnergyLimit); - } - if (Param1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (Param5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); - } - if (Param6.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); - } - if (Param7.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); - } - if (Param8.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); - } - if (Param9.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); - } - if (Param10.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); - } - if (IsCleanSkillCD != false) { - size += 2 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Skill other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.FCPath.Length != 0) { - FCPath = other.FCPath; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.SkillCD != 0) { - SkillCD = other.SkillCD; - } - if (other.MaxLevel != 0) { - MaxLevel = other.MaxLevel; - } - if (other.RelatedSkill.Length != 0) { - RelatedSkill = other.RelatedSkill; - } - if (other.SectionAmount != 0) { - SectionAmount = other.SectionAmount; - } - if (other.UseInterval != 0) { - UseInterval = other.UseInterval; - } - if (other.UseTimeHint != 0) { - UseTimeHint = other.UseTimeHint; - } - if (other.UltraEnergy != 0) { - UltraEnergy = other.UltraEnergy; - } - if (other.CheckCDRestore != false) { - CheckCDRestore = other.CheckCDRestore; - } - if (other.ForceRunFinish != false) { - ForceRunFinish = other.ForceRunFinish; - } - if (other.GetEnergyLimit != 0) { - GetEnergyLimit = other.GetEnergyLimit; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - if (other.Param5.Length != 0) { - Param5 = other.Param5; - } - if (other.Param6.Length != 0) { - Param6 = other.Param6; - } - if (other.Param7.Length != 0) { - Param7 = other.Param7; - } - if (other.Param8.Length != 0) { - Param8 = other.Param8; - } - if (other.Param9.Length != 0) { - Param9 = other.Param9; - } - if (other.Param10.Length != 0) { - Param10 = other.Param10; - } - if (other.IsCleanSkillCD != false) { - IsCleanSkillCD = other.IsCleanSkillCD; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - FCPath = input.ReadString(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Icon = input.ReadString(); - break; - } - case 56: { - SkillCD = input.ReadInt32(); - break; - } - case 64: { - MaxLevel = input.ReadInt32(); - break; - } - case 74: { - RelatedSkill = input.ReadString(); - break; - } - case 80: { - SectionAmount = input.ReadInt32(); - break; - } - case 88: { - UseInterval = input.ReadInt32(); - break; - } - case 96: { - UseTimeHint = input.ReadInt32(); - break; - } - case 104: { - UltraEnergy = input.ReadInt32(); - break; - } - case 112: { - CheckCDRestore = input.ReadBool(); - break; - } - case 120: { - ForceRunFinish = input.ReadBool(); - break; - } - case 128: { - GetEnergyLimit = input.ReadInt32(); - break; - } - case 138: { - Param1 = input.ReadString(); - break; - } - case 146: { - Param2 = input.ReadString(); - break; - } - case 154: { - Param3 = input.ReadString(); - break; - } - case 162: { - Param4 = input.ReadString(); - break; - } - case 170: { - Param5 = input.ReadString(); - break; - } - case 178: { - Param6 = input.ReadString(); - break; - } - case 186: { - Param7 = input.ReadString(); - break; - } - case 194: { - Param8 = input.ReadString(); - break; - } - case 202: { - Param9 = input.ReadString(); - break; - } - case 210: { - Param10 = input.ReadString(); - break; - } - case 216: { - IsCleanSkillCD = 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: { - Title = input.ReadString(); - break; - } - case 26: { - FCPath = input.ReadString(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Icon = input.ReadString(); - break; - } - case 56: { - SkillCD = input.ReadInt32(); - break; - } - case 64: { - MaxLevel = input.ReadInt32(); - break; - } - case 74: { - RelatedSkill = input.ReadString(); - break; - } - case 80: { - SectionAmount = input.ReadInt32(); - break; - } - case 88: { - UseInterval = input.ReadInt32(); - break; - } - case 96: { - UseTimeHint = input.ReadInt32(); - break; - } - case 104: { - UltraEnergy = input.ReadInt32(); - break; - } - case 112: { - CheckCDRestore = input.ReadBool(); - break; - } - case 120: { - ForceRunFinish = input.ReadBool(); - break; - } - case 128: { - GetEnergyLimit = input.ReadInt32(); - break; - } - case 138: { - Param1 = input.ReadString(); - break; - } - case 146: { - Param2 = input.ReadString(); - break; - } - case 154: { - Param3 = input.ReadString(); - break; - } - case 162: { - Param4 = input.ReadString(); - break; - } - case 170: { - Param5 = input.ReadString(); - break; - } - case 178: { - Param6 = input.ReadString(); - break; - } - case 186: { - Param7 = input.ReadString(); - break; - } - case 194: { - Param8 = input.ReadString(); - break; - } - case 202: { - Param9 = input.ReadString(); - break; - } - case 210: { - Param10 = input.ReadString(); - break; - } - case 216: { - IsCleanSkillCD = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTower.cs b/Novaria.Common/Protos/StarTower.cs deleted file mode 100644 index a916c4c..0000000 --- a/Novaria.Common/Protos/StarTower.cs +++ /dev/null @@ -1,1217 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTower.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 StarTower.proto</summary> - public static partial class StarTowerReflection { - - #region Descriptor - /// <summary>File descriptor for StarTower.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9TdGFyVG93ZXIucHJvdG8i2QQKCVN0YXJUb3dlchIKCgJpZBgBIAEoBRIM", - "CgRuYW1lGAIgASgJEgwKBGRlc2MYAyABKAkSEAoIZ3JvdXBfaWQYBCABKAUS", - "FgoOcHJlX2NvbmRpdGlvbnMYBSABKAkSIAoYcHJldmlld19tb25zdGVyX2dy", - "b3VwX2lkGAYgASgFEhIKCmRpZmZpY3VsdHkYByABKAUSGAoQdmFsdWVfZGlm", - "ZmljdWx0eRgIIAEoBRIRCglyZWNvbW1lbmQYCSABKAUSEwoLY3VycmVuY3lf", - "aWQYCiABKAUSFwoPc3RhZ2VfZ3JvdXBfaWRzGAsgAygFEhEKCWZsb29yX251", - "bRgMIAMoBRIZChF0ZWFtX2V4cF9ncm91cF9pZBgNIAEoBRINCgVlX2VfdBgO", - "IAMoBRIRCglub3RfZV9lX3QYDyADKAUSDwoHZXBpc29kZRgQIAEoCRINCgVp", - "bWFnZRgRIAEoCRIQCghuX3BfY19pZBgSIAEoBRIWCg5yZXdhcmRfcHJldmll", - "dxgTIAEoCRIQCghzaG9wX25wYxgUIAEoBRIWCg5zdGFuZF9zaG9wX25wYxgV", - "IAEoBRITCgt1cGdyYWRlX25wYxgWIAEoBRISCgpyZXNxdWVfbnBjGBcgASgF", - "EhIKCmRhbmdlcl9ucGMYGCABKAUSEgoKaG9ycm9yX25wYxgZIAEoBRIYChBk", - "YW5nZXJfZW5kX2V2ZW50GBogASgFEhgKEGhvcnJvcl9lbmRfZXZlbnQYGyAB", - "KAUSIAoYZGVzdHJ1Y3RpYmxlX29iamVjdF90eXBlGBwgASgFQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTower), global::Nova.Client.StarTower.Parser, new[]{ "Id", "Name", "Desc", "GroupId", "PreConditions", "PreviewMonsterGroupId", "Difficulty", "ValueDifficulty", "Recommend", "CurrencyId", "StageGroupIds", "FloorNum", "TeamExpGroupId", "EET", "NotEET", "Episode", "Image", "NPCId", "RewardPreview", "ShopNpc", "StandShopNpc", "UpgradeNpc", "ResqueNpc", "DangerNpc", "HorrorNpc", "DangerEndEvent", "HorrorEndEvent", "DestructibleObjectType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTower : pb::IMessage<StarTower> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTower> _parser = new pb::MessageParser<StarTower>(() => new StarTower()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTower> 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.StarTowerReflection.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 StarTower() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTower(StarTower other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - groupId_ = other.groupId_; - preConditions_ = other.preConditions_; - previewMonsterGroupId_ = other.previewMonsterGroupId_; - difficulty_ = other.difficulty_; - valueDifficulty_ = other.valueDifficulty_; - recommend_ = other.recommend_; - currencyId_ = other.currencyId_; - stageGroupIds_ = other.stageGroupIds_.Clone(); - floorNum_ = other.floorNum_.Clone(); - teamExpGroupId_ = other.teamExpGroupId_; - eET_ = other.eET_.Clone(); - notEET_ = other.notEET_.Clone(); - episode_ = other.episode_; - image_ = other.image_; - nPCId_ = other.nPCId_; - rewardPreview_ = other.rewardPreview_; - shopNpc_ = other.shopNpc_; - standShopNpc_ = other.standShopNpc_; - upgradeNpc_ = other.upgradeNpc_; - resqueNpc_ = other.resqueNpc_; - dangerNpc_ = other.dangerNpc_; - horrorNpc_ = other.horrorNpc_; - dangerEndEvent_ = other.dangerEndEvent_; - horrorEndEvent_ = other.horrorEndEvent_; - destructibleObjectType_ = other.destructibleObjectType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTower Clone() { - return new StarTower(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 "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "group_id" field.</summary> - public const int GroupIdFieldNumber = 4; - 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 "pre_conditions" field.</summary> - public const int PreConditionsFieldNumber = 5; - private string preConditions_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PreConditions { - get { return preConditions_; } - set { - preConditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "preview_monster_group_id" field.</summary> - public const int PreviewMonsterGroupIdFieldNumber = 6; - private int previewMonsterGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreviewMonsterGroupId { - get { return previewMonsterGroupId_; } - set { - previewMonsterGroupId_ = value; - } - } - - /// <summary>Field number for the "difficulty" field.</summary> - public const int DifficultyFieldNumber = 7; - private int difficulty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Difficulty { - get { return difficulty_; } - set { - difficulty_ = value; - } - } - - /// <summary>Field number for the "value_difficulty" field.</summary> - public const int ValueDifficultyFieldNumber = 8; - private int valueDifficulty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ValueDifficulty { - get { return valueDifficulty_; } - set { - valueDifficulty_ = value; - } - } - - /// <summary>Field number for the "recommend" field.</summary> - public const int RecommendFieldNumber = 9; - private int recommend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Recommend { - get { return recommend_; } - set { - recommend_ = value; - } - } - - /// <summary>Field number for the "currency_id" field.</summary> - public const int CurrencyIdFieldNumber = 10; - private int currencyId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrencyId { - get { return currencyId_; } - set { - currencyId_ = value; - } - } - - /// <summary>Field number for the "stage_group_ids" field.</summary> - public const int StageGroupIdsFieldNumber = 11; - private static readonly pb::FieldCodec<int> _repeated_stageGroupIds_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField<int> stageGroupIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> StageGroupIds { - get { return stageGroupIds_; } - } - - /// <summary>Field number for the "floor_num" field.</summary> - public const int FloorNumFieldNumber = 12; - private static readonly pb::FieldCodec<int> _repeated_floorNum_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField<int> floorNum_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> FloorNum { - get { return floorNum_; } - } - - /// <summary>Field number for the "team_exp_group_id" field.</summary> - public const int TeamExpGroupIdFieldNumber = 13; - private int teamExpGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TeamExpGroupId { - get { return teamExpGroupId_; } - set { - teamExpGroupId_ = value; - } - } - - /// <summary>Field number for the "e_e_t" field.</summary> - public const int EETFieldNumber = 14; - private static readonly pb::FieldCodec<int> _repeated_eET_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EET { - get { return eET_; } - } - - /// <summary>Field number for the "not_e_e_t" field.</summary> - public const int NotEETFieldNumber = 15; - private static readonly pb::FieldCodec<int> _repeated_notEET_codec - = pb::FieldCodec.ForInt32(122); - private readonly pbc::RepeatedField<int> notEET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> NotEET { - get { return notEET_; } - } - - /// <summary>Field number for the "episode" field.</summary> - public const int EpisodeFieldNumber = 16; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "image" field.</summary> - public const int ImageFieldNumber = 17; - 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 "n_p_c_id" field.</summary> - public const int NPCIdFieldNumber = 18; - private int nPCId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NPCId { - get { return nPCId_; } - set { - nPCId_ = value; - } - } - - /// <summary>Field number for the "reward_preview" field.</summary> - public const int RewardPreviewFieldNumber = 19; - private string rewardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardPreview { - get { return rewardPreview_; } - set { - rewardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "shop_npc" field.</summary> - public const int ShopNpcFieldNumber = 20; - private int shopNpc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShopNpc { - get { return shopNpc_; } - set { - shopNpc_ = value; - } - } - - /// <summary>Field number for the "stand_shop_npc" field.</summary> - public const int StandShopNpcFieldNumber = 21; - private int standShopNpc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StandShopNpc { - get { return standShopNpc_; } - set { - standShopNpc_ = value; - } - } - - /// <summary>Field number for the "upgrade_npc" field.</summary> - public const int UpgradeNpcFieldNumber = 22; - private int upgradeNpc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UpgradeNpc { - get { return upgradeNpc_; } - set { - upgradeNpc_ = value; - } - } - - /// <summary>Field number for the "resque_npc" field.</summary> - public const int ResqueNpcFieldNumber = 23; - private int resqueNpc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ResqueNpc { - get { return resqueNpc_; } - set { - resqueNpc_ = value; - } - } - - /// <summary>Field number for the "danger_npc" field.</summary> - public const int DangerNpcFieldNumber = 24; - private int dangerNpc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DangerNpc { - get { return dangerNpc_; } - set { - dangerNpc_ = value; - } - } - - /// <summary>Field number for the "horror_npc" field.</summary> - public const int HorrorNpcFieldNumber = 25; - private int horrorNpc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HorrorNpc { - get { return horrorNpc_; } - set { - horrorNpc_ = value; - } - } - - /// <summary>Field number for the "danger_end_event" field.</summary> - public const int DangerEndEventFieldNumber = 26; - private int dangerEndEvent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DangerEndEvent { - get { return dangerEndEvent_; } - set { - dangerEndEvent_ = value; - } - } - - /// <summary>Field number for the "horror_end_event" field.</summary> - public const int HorrorEndEventFieldNumber = 27; - private int horrorEndEvent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HorrorEndEvent { - get { return horrorEndEvent_; } - set { - horrorEndEvent_ = value; - } - } - - /// <summary>Field number for the "destructible_object_type" field.</summary> - public const int DestructibleObjectTypeFieldNumber = 28; - private int destructibleObjectType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DestructibleObjectType { - get { return destructibleObjectType_; } - set { - destructibleObjectType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTower); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTower 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 (Desc != other.Desc) return false; - if (GroupId != other.GroupId) return false; - if (PreConditions != other.PreConditions) return false; - if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; - if (Difficulty != other.Difficulty) return false; - if (ValueDifficulty != other.ValueDifficulty) return false; - if (Recommend != other.Recommend) return false; - if (CurrencyId != other.CurrencyId) return false; - if(!stageGroupIds_.Equals(other.stageGroupIds_)) return false; - if(!floorNum_.Equals(other.floorNum_)) return false; - if (TeamExpGroupId != other.TeamExpGroupId) return false; - if(!eET_.Equals(other.eET_)) return false; - if(!notEET_.Equals(other.notEET_)) return false; - if (Episode != other.Episode) return false; - if (Image != other.Image) return false; - if (NPCId != other.NPCId) return false; - if (RewardPreview != other.RewardPreview) return false; - if (ShopNpc != other.ShopNpc) return false; - if (StandShopNpc != other.StandShopNpc) return false; - if (UpgradeNpc != other.UpgradeNpc) return false; - if (ResqueNpc != other.ResqueNpc) return false; - if (DangerNpc != other.DangerNpc) return false; - if (HorrorNpc != other.HorrorNpc) return false; - if (DangerEndEvent != other.DangerEndEvent) return false; - if (HorrorEndEvent != other.HorrorEndEvent) return false; - if (DestructibleObjectType != other.DestructibleObjectType) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (PreConditions.Length != 0) hash ^= PreConditions.GetHashCode(); - if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); - if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); - if (ValueDifficulty != 0) hash ^= ValueDifficulty.GetHashCode(); - if (Recommend != 0) hash ^= Recommend.GetHashCode(); - if (CurrencyId != 0) hash ^= CurrencyId.GetHashCode(); - hash ^= stageGroupIds_.GetHashCode(); - hash ^= floorNum_.GetHashCode(); - if (TeamExpGroupId != 0) hash ^= TeamExpGroupId.GetHashCode(); - hash ^= eET_.GetHashCode(); - hash ^= notEET_.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Image.Length != 0) hash ^= Image.GetHashCode(); - if (NPCId != 0) hash ^= NPCId.GetHashCode(); - if (RewardPreview.Length != 0) hash ^= RewardPreview.GetHashCode(); - if (ShopNpc != 0) hash ^= ShopNpc.GetHashCode(); - if (StandShopNpc != 0) hash ^= StandShopNpc.GetHashCode(); - if (UpgradeNpc != 0) hash ^= UpgradeNpc.GetHashCode(); - if (ResqueNpc != 0) hash ^= ResqueNpc.GetHashCode(); - if (DangerNpc != 0) hash ^= DangerNpc.GetHashCode(); - if (HorrorNpc != 0) hash ^= HorrorNpc.GetHashCode(); - if (DangerEndEvent != 0) hash ^= DangerEndEvent.GetHashCode(); - if (HorrorEndEvent != 0) hash ^= HorrorEndEvent.GetHashCode(); - if (DestructibleObjectType != 0) hash ^= DestructibleObjectType.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (GroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(GroupId); - } - if (PreConditions.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PreConditions); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(48); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Difficulty != 0) { - output.WriteRawTag(56); - output.WriteInt32(Difficulty); - } - if (ValueDifficulty != 0) { - output.WriteRawTag(64); - output.WriteInt32(ValueDifficulty); - } - if (Recommend != 0) { - output.WriteRawTag(72); - output.WriteInt32(Recommend); - } - if (CurrencyId != 0) { - output.WriteRawTag(80); - output.WriteInt32(CurrencyId); - } - stageGroupIds_.WriteTo(output, _repeated_stageGroupIds_codec); - floorNum_.WriteTo(output, _repeated_floorNum_codec); - if (TeamExpGroupId != 0) { - output.WriteRawTag(104); - output.WriteInt32(TeamExpGroupId); - } - eET_.WriteTo(output, _repeated_eET_codec); - notEET_.WriteTo(output, _repeated_notEET_codec); - if (Episode.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Image); - } - if (NPCId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NPCId); - } - if (RewardPreview.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(RewardPreview); - } - if (ShopNpc != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(ShopNpc); - } - if (StandShopNpc != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(StandShopNpc); - } - if (UpgradeNpc != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(UpgradeNpc); - } - if (ResqueNpc != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ResqueNpc); - } - if (DangerNpc != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(DangerNpc); - } - if (HorrorNpc != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(HorrorNpc); - } - if (DangerEndEvent != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(DangerEndEvent); - } - if (HorrorEndEvent != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(HorrorEndEvent); - } - if (DestructibleObjectType != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(DestructibleObjectType); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (GroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(GroupId); - } - if (PreConditions.Length != 0) { - output.WriteRawTag(42); - output.WriteString(PreConditions); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(48); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Difficulty != 0) { - output.WriteRawTag(56); - output.WriteInt32(Difficulty); - } - if (ValueDifficulty != 0) { - output.WriteRawTag(64); - output.WriteInt32(ValueDifficulty); - } - if (Recommend != 0) { - output.WriteRawTag(72); - output.WriteInt32(Recommend); - } - if (CurrencyId != 0) { - output.WriteRawTag(80); - output.WriteInt32(CurrencyId); - } - stageGroupIds_.WriteTo(ref output, _repeated_stageGroupIds_codec); - floorNum_.WriteTo(ref output, _repeated_floorNum_codec); - if (TeamExpGroupId != 0) { - output.WriteRawTag(104); - output.WriteInt32(TeamExpGroupId); - } - eET_.WriteTo(ref output, _repeated_eET_codec); - notEET_.WriteTo(ref output, _repeated_notEET_codec); - if (Episode.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Image); - } - if (NPCId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(NPCId); - } - if (RewardPreview.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(RewardPreview); - } - if (ShopNpc != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(ShopNpc); - } - if (StandShopNpc != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(StandShopNpc); - } - if (UpgradeNpc != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(UpgradeNpc); - } - if (ResqueNpc != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(ResqueNpc); - } - if (DangerNpc != 0) { - output.WriteRawTag(192, 1); - output.WriteInt32(DangerNpc); - } - if (HorrorNpc != 0) { - output.WriteRawTag(200, 1); - output.WriteInt32(HorrorNpc); - } - if (DangerEndEvent != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(DangerEndEvent); - } - if (HorrorEndEvent != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(HorrorEndEvent); - } - if (DestructibleObjectType != 0) { - output.WriteRawTag(224, 1); - output.WriteInt32(DestructibleObjectType); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (PreConditions.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PreConditions); - } - if (PreviewMonsterGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); - } - if (Difficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); - } - if (ValueDifficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ValueDifficulty); - } - if (Recommend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Recommend); - } - if (CurrencyId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyId); - } - size += stageGroupIds_.CalculateSize(_repeated_stageGroupIds_codec); - size += floorNum_.CalculateSize(_repeated_floorNum_codec); - if (TeamExpGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TeamExpGroupId); - } - size += eET_.CalculateSize(_repeated_eET_codec); - size += notEET_.CalculateSize(_repeated_notEET_codec); - if (Episode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Image.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Image); - } - if (NPCId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NPCId); - } - if (RewardPreview.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview); - } - if (ShopNpc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ShopNpc); - } - if (StandShopNpc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(StandShopNpc); - } - if (UpgradeNpc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(UpgradeNpc); - } - if (ResqueNpc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ResqueNpc); - } - if (DangerNpc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DangerNpc); - } - if (HorrorNpc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HorrorNpc); - } - if (DangerEndEvent != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DangerEndEvent); - } - if (HorrorEndEvent != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(HorrorEndEvent); - } - if (DestructibleObjectType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DestructibleObjectType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTower other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.PreConditions.Length != 0) { - PreConditions = other.PreConditions; - } - if (other.PreviewMonsterGroupId != 0) { - PreviewMonsterGroupId = other.PreviewMonsterGroupId; - } - if (other.Difficulty != 0) { - Difficulty = other.Difficulty; - } - if (other.ValueDifficulty != 0) { - ValueDifficulty = other.ValueDifficulty; - } - if (other.Recommend != 0) { - Recommend = other.Recommend; - } - if (other.CurrencyId != 0) { - CurrencyId = other.CurrencyId; - } - stageGroupIds_.Add(other.stageGroupIds_); - floorNum_.Add(other.floorNum_); - if (other.TeamExpGroupId != 0) { - TeamExpGroupId = other.TeamExpGroupId; - } - eET_.Add(other.eET_); - notEET_.Add(other.notEET_); - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Image.Length != 0) { - Image = other.Image; - } - if (other.NPCId != 0) { - NPCId = other.NPCId; - } - if (other.RewardPreview.Length != 0) { - RewardPreview = other.RewardPreview; - } - if (other.ShopNpc != 0) { - ShopNpc = other.ShopNpc; - } - if (other.StandShopNpc != 0) { - StandShopNpc = other.StandShopNpc; - } - if (other.UpgradeNpc != 0) { - UpgradeNpc = other.UpgradeNpc; - } - if (other.ResqueNpc != 0) { - ResqueNpc = other.ResqueNpc; - } - if (other.DangerNpc != 0) { - DangerNpc = other.DangerNpc; - } - if (other.HorrorNpc != 0) { - HorrorNpc = other.HorrorNpc; - } - if (other.DangerEndEvent != 0) { - DangerEndEvent = other.DangerEndEvent; - } - if (other.HorrorEndEvent != 0) { - HorrorEndEvent = other.HorrorEndEvent; - } - if (other.DestructibleObjectType != 0) { - DestructibleObjectType = other.DestructibleObjectType; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - GroupId = input.ReadInt32(); - break; - } - case 42: { - PreConditions = input.ReadString(); - break; - } - case 48: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 56: { - Difficulty = input.ReadInt32(); - break; - } - case 64: { - ValueDifficulty = input.ReadInt32(); - break; - } - case 72: { - Recommend = input.ReadInt32(); - break; - } - case 80: { - CurrencyId = input.ReadInt32(); - break; - } - case 90: - case 88: { - stageGroupIds_.AddEntriesFrom(input, _repeated_stageGroupIds_codec); - break; - } - case 98: - case 96: { - floorNum_.AddEntriesFrom(input, _repeated_floorNum_codec); - break; - } - case 104: { - TeamExpGroupId = input.ReadInt32(); - break; - } - case 114: - case 112: { - eET_.AddEntriesFrom(input, _repeated_eET_codec); - break; - } - case 122: - case 120: { - notEET_.AddEntriesFrom(input, _repeated_notEET_codec); - break; - } - case 130: { - Episode = input.ReadString(); - break; - } - case 138: { - Image = input.ReadString(); - break; - } - case 144: { - NPCId = input.ReadInt32(); - break; - } - case 154: { - RewardPreview = input.ReadString(); - break; - } - case 160: { - ShopNpc = input.ReadInt32(); - break; - } - case 168: { - StandShopNpc = input.ReadInt32(); - break; - } - case 176: { - UpgradeNpc = input.ReadInt32(); - break; - } - case 184: { - ResqueNpc = input.ReadInt32(); - break; - } - case 192: { - DangerNpc = input.ReadInt32(); - break; - } - case 200: { - HorrorNpc = input.ReadInt32(); - break; - } - case 208: { - DangerEndEvent = input.ReadInt32(); - break; - } - case 216: { - HorrorEndEvent = input.ReadInt32(); - break; - } - case 224: { - DestructibleObjectType = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - GroupId = input.ReadInt32(); - break; - } - case 42: { - PreConditions = input.ReadString(); - break; - } - case 48: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 56: { - Difficulty = input.ReadInt32(); - break; - } - case 64: { - ValueDifficulty = input.ReadInt32(); - break; - } - case 72: { - Recommend = input.ReadInt32(); - break; - } - case 80: { - CurrencyId = input.ReadInt32(); - break; - } - case 90: - case 88: { - stageGroupIds_.AddEntriesFrom(ref input, _repeated_stageGroupIds_codec); - break; - } - case 98: - case 96: { - floorNum_.AddEntriesFrom(ref input, _repeated_floorNum_codec); - break; - } - case 104: { - TeamExpGroupId = input.ReadInt32(); - break; - } - case 114: - case 112: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - case 122: - case 120: { - notEET_.AddEntriesFrom(ref input, _repeated_notEET_codec); - break; - } - case 130: { - Episode = input.ReadString(); - break; - } - case 138: { - Image = input.ReadString(); - break; - } - case 144: { - NPCId = input.ReadInt32(); - break; - } - case 154: { - RewardPreview = input.ReadString(); - break; - } - case 160: { - ShopNpc = input.ReadInt32(); - break; - } - case 168: { - StandShopNpc = input.ReadInt32(); - break; - } - case 176: { - UpgradeNpc = input.ReadInt32(); - break; - } - case 184: { - ResqueNpc = input.ReadInt32(); - break; - } - case 192: { - DangerNpc = input.ReadInt32(); - break; - } - case 200: { - HorrorNpc = input.ReadInt32(); - break; - } - case 208: { - DangerEndEvent = input.ReadInt32(); - break; - } - case 216: { - HorrorEndEvent = input.ReadInt32(); - break; - } - case 224: { - DestructibleObjectType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerApply.cs b/Novaria.Common/Protos/StarTowerApply.cs new file mode 100644 index 0000000..ad1f072 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerApply.cs @@ -0,0 +1,1088 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_apply.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_apply.proto</summary> + public static partial class StarTowerApplyReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_apply.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerApplyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZzdGFyX3Rvd2VyX2FwcGx5LnByb3RvEgVwcm90bxoMcHVibGljLnByb3Rv", + "GhdwdWJsaWNfc3Rhcl90b3dlci5wcm90byKvAQoRU3RhclRvd2VyQXBwbHlS", + "ZXESCgoCSWQYASABKA0SEwoLRm9ybWF0aW9uSWQYAiABKA0SDgoGQ2hhckhw", + "GAMgASgNEg0KBU1hcElkGAQgASgNEg8KB1BhcmFtSWQYBSABKA0SEAoITWFw", + "UGFyYW0YBiABKAkSEgoKTWFwVGFibGVJZBgHIAEoDRINCgVTd2VlcBgPIAEo", + "CBIUCgtOZXh0UGFja2FnZRj/DyABKAwi8QEKElN0YXJUb3dlckFwcGx5UmVz", + "cBIiCgRJbmZvGAEgASgLMhQucHJvdG8uU3RhclRvd2VySW5mbxIOCgZMYXN0", + "SWQYAiABKA0SEAoIUmVwb3J0SWQYAyABKAQSDwoHQ29pblF0eRgEIAEoDRIN", + "CgVOb3RlcxgFIAMoDRISCgpGYXRlQ2FyZElkGAYgASgNEhMKC05ld0ZhdGVD", + "YXJkGAcgASgIEhMKC1N3ZWVwVGlja2V0GAggASgNEiEKBkNoYW5nZRgPIAEo", + "CzIRLnByb3RvLkNoYW5nZUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABi", + "BnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerApplyReq), global::Proto.StarTowerApplyReq.Parser, new[]{ "Id", "FormationId", "CharHp", "MapId", "ParamId", "MapParam", "MapTableId", "Sweep", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerApplyResp), global::Proto.StarTowerApplyResp.Parser, new[]{ "Info", "LastId", "ReportId", "CoinQty", "Notes", "FateCardId", "NewFateCard", "SweepTicket", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerApplyReq : pb::IMessage<StarTowerApplyReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerApplyReq> _parser = new pb::MessageParser<StarTowerApplyReq>(() => new StarTowerApplyReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerApplyReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerApplyReflection.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 StarTowerApplyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerApplyReq(StarTowerApplyReq other) : this() { + id_ = other.id_; + formationId_ = other.formationId_; + charHp_ = other.charHp_; + mapId_ = other.mapId_; + paramId_ = other.paramId_; + mapParam_ = other.mapParam_; + mapTableId_ = other.mapTableId_; + sweep_ = other.sweep_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerApplyReq Clone() { + return new StarTowerApplyReq(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "FormationId" field.</summary> + public const int FormationIdFieldNumber = 2; + private uint formationId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FormationId { + get { return formationId_; } + set { + formationId_ = value; + } + } + + /// <summary>Field number for the "CharHp" field.</summary> + public const int CharHpFieldNumber = 3; + private uint charHp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CharHp { + get { return charHp_; } + set { + charHp_ = value; + } + } + + /// <summary>Field number for the "MapId" field.</summary> + public const int MapIdFieldNumber = 4; + private uint mapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapId { + get { return mapId_; } + set { + mapId_ = value; + } + } + + /// <summary>Field number for the "ParamId" field.</summary> + public const int ParamIdFieldNumber = 5; + private uint paramId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ParamId { + get { return paramId_; } + set { + paramId_ = value; + } + } + + /// <summary>Field number for the "MapParam" field.</summary> + public const int MapParamFieldNumber = 6; + private string mapParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MapParam { + get { return mapParam_; } + set { + mapParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MapTableId" field.</summary> + public const int MapTableIdFieldNumber = 7; + private uint mapTableId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapTableId { + get { return mapTableId_; } + set { + mapTableId_ = value; + } + } + + /// <summary>Field number for the "Sweep" field.</summary> + public const int SweepFieldNumber = 15; + private bool sweep_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Sweep { + get { return sweep_; } + set { + sweep_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerApplyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerApplyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (FormationId != other.FormationId) return false; + if (CharHp != other.CharHp) return false; + if (MapId != other.MapId) return false; + if (ParamId != other.ParamId) return false; + if (MapParam != other.MapParam) return false; + if (MapTableId != other.MapTableId) return false; + if (Sweep != other.Sweep) return false; + if (NextPackage != other.NextPackage) 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 (FormationId != 0) hash ^= FormationId.GetHashCode(); + if (CharHp != 0) hash ^= CharHp.GetHashCode(); + if (MapId != 0) hash ^= MapId.GetHashCode(); + if (ParamId != 0) hash ^= ParamId.GetHashCode(); + if (MapParam.Length != 0) hash ^= MapParam.GetHashCode(); + if (MapTableId != 0) hash ^= MapTableId.GetHashCode(); + if (Sweep != false) hash ^= Sweep.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (FormationId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(FormationId); + } + if (CharHp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CharHp); + } + if (MapId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(MapId); + } + if (ParamId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(ParamId); + } + if (MapParam.Length != 0) { + output.WriteRawTag(50); + output.WriteString(MapParam); + } + if (MapTableId != 0) { + output.WriteRawTag(56); + output.WriteUInt32(MapTableId); + } + if (Sweep != false) { + output.WriteRawTag(120); + output.WriteBool(Sweep); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (FormationId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(FormationId); + } + if (CharHp != 0) { + output.WriteRawTag(24); + output.WriteUInt32(CharHp); + } + if (MapId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(MapId); + } + if (ParamId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(ParamId); + } + if (MapParam.Length != 0) { + output.WriteRawTag(50); + output.WriteString(MapParam); + } + if (MapTableId != 0) { + output.WriteRawTag(56); + output.WriteUInt32(MapTableId); + } + if (Sweep != false) { + output.WriteRawTag(120); + output.WriteBool(Sweep); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (FormationId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FormationId); + } + if (CharHp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharHp); + } + if (MapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId); + } + if (ParamId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ParamId); + } + if (MapParam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MapParam); + } + if (MapTableId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapTableId); + } + if (Sweep != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerApplyReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.FormationId != 0) { + FormationId = other.FormationId; + } + if (other.CharHp != 0) { + CharHp = other.CharHp; + } + if (other.MapId != 0) { + MapId = other.MapId; + } + if (other.ParamId != 0) { + ParamId = other.ParamId; + } + if (other.MapParam.Length != 0) { + MapParam = other.MapParam; + } + if (other.MapTableId != 0) { + MapTableId = other.MapTableId; + } + if (other.Sweep != false) { + Sweep = other.Sweep; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + FormationId = input.ReadUInt32(); + break; + } + case 24: { + CharHp = input.ReadUInt32(); + break; + } + case 32: { + MapId = input.ReadUInt32(); + break; + } + case 40: { + ParamId = input.ReadUInt32(); + break; + } + case 50: { + MapParam = input.ReadString(); + break; + } + case 56: { + MapTableId = input.ReadUInt32(); + break; + } + case 120: { + Sweep = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + FormationId = input.ReadUInt32(); + break; + } + case 24: { + CharHp = input.ReadUInt32(); + break; + } + case 32: { + MapId = input.ReadUInt32(); + break; + } + case 40: { + ParamId = input.ReadUInt32(); + break; + } + case 50: { + MapParam = input.ReadString(); + break; + } + case 56: { + MapTableId = input.ReadUInt32(); + break; + } + case 120: { + Sweep = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerApplyResp : pb::IMessage<StarTowerApplyResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerApplyResp> _parser = new pb::MessageParser<StarTowerApplyResp>(() => new StarTowerApplyResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerApplyResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerApplyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerApplyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerApplyResp(StarTowerApplyResp other) : this() { + info_ = other.info_ != null ? other.info_.Clone() : null; + lastId_ = other.lastId_; + reportId_ = other.reportId_; + coinQty_ = other.coinQty_; + notes_ = other.notes_.Clone(); + fateCardId_ = other.fateCardId_; + newFateCard_ = other.newFateCard_; + sweepTicket_ = other.sweepTicket_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerApplyResp Clone() { + return new StarTowerApplyResp(this); + } + + /// <summary>Field number for the "Info" field.</summary> + public const int InfoFieldNumber = 1; + private global::Proto.StarTowerInfo info_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerInfo Info { + get { return info_; } + set { + info_ = value; + } + } + + /// <summary>Field number for the "LastId" field.</summary> + public const int LastIdFieldNumber = 2; + private uint lastId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LastId { + get { return lastId_; } + set { + lastId_ = value; + } + } + + /// <summary>Field number for the "ReportId" field.</summary> + public const int ReportIdFieldNumber = 3; + private ulong reportId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong ReportId { + get { return reportId_; } + set { + reportId_ = value; + } + } + + /// <summary>Field number for the "CoinQty" field.</summary> + public const int CoinQtyFieldNumber = 4; + private uint coinQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CoinQty { + get { return coinQty_; } + set { + coinQty_ = value; + } + } + + /// <summary>Field number for the "Notes" field.</summary> + public const int NotesFieldNumber = 5; + private static readonly pb::FieldCodec<uint> _repeated_notes_codec + = pb::FieldCodec.ForUInt32(42); + private readonly pbc::RepeatedField<uint> notes_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Notes { + get { return notes_; } + } + + /// <summary>Field number for the "FateCardId" field.</summary> + public const int FateCardIdFieldNumber = 6; + private uint fateCardId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FateCardId { + get { return fateCardId_; } + set { + fateCardId_ = value; + } + } + + /// <summary>Field number for the "NewFateCard" field.</summary> + public const int NewFateCardFieldNumber = 7; + private bool newFateCard_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NewFateCard { + get { return newFateCard_; } + set { + newFateCard_ = value; + } + } + + /// <summary>Field number for the "SweepTicket" field.</summary> + public const int SweepTicketFieldNumber = 8; + private uint sweepTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SweepTicket { + get { return sweepTicket_; } + set { + sweepTicket_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 15; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerApplyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerApplyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Info, other.Info)) return false; + if (LastId != other.LastId) return false; + if (ReportId != other.ReportId) return false; + if (CoinQty != other.CoinQty) return false; + if(!notes_.Equals(other.notes_)) return false; + if (FateCardId != other.FateCardId) return false; + if (NewFateCard != other.NewFateCard) return false; + if (SweepTicket != other.SweepTicket) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (info_ != null) hash ^= Info.GetHashCode(); + if (LastId != 0) hash ^= LastId.GetHashCode(); + if (ReportId != 0UL) hash ^= ReportId.GetHashCode(); + if (CoinQty != 0) hash ^= CoinQty.GetHashCode(); + hash ^= notes_.GetHashCode(); + if (FateCardId != 0) hash ^= FateCardId.GetHashCode(); + if (NewFateCard != false) hash ^= NewFateCard.GetHashCode(); + if (SweepTicket != 0) hash ^= SweepTicket.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (LastId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LastId); + } + if (ReportId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(ReportId); + } + if (CoinQty != 0) { + output.WriteRawTag(32); + output.WriteUInt32(CoinQty); + } + notes_.WriteTo(output, _repeated_notes_codec); + if (FateCardId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(FateCardId); + } + if (NewFateCard != false) { + output.WriteRawTag(56); + output.WriteBool(NewFateCard); + } + if (SweepTicket != 0) { + output.WriteRawTag(64); + output.WriteUInt32(SweepTicket); + } + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Info); + } + if (LastId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(LastId); + } + if (ReportId != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(ReportId); + } + if (CoinQty != 0) { + output.WriteRawTag(32); + output.WriteUInt32(CoinQty); + } + notes_.WriteTo(ref output, _repeated_notes_codec); + if (FateCardId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(FateCardId); + } + if (NewFateCard != false) { + output.WriteRawTag(56); + output.WriteBool(NewFateCard); + } + if (SweepTicket != 0) { + output.WriteRawTag(64); + output.WriteUInt32(SweepTicket); + } + if (change_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (info_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Info); + } + if (LastId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LastId); + } + if (ReportId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ReportId); + } + if (CoinQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CoinQty); + } + size += notes_.CalculateSize(_repeated_notes_codec); + if (FateCardId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FateCardId); + } + if (NewFateCard != false) { + size += 1 + 1; + } + if (SweepTicket != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SweepTicket); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerApplyResp other) { + if (other == null) { + return; + } + if (other.info_ != null) { + if (info_ == null) { + Info = new global::Proto.StarTowerInfo(); + } + Info.MergeFrom(other.Info); + } + if (other.LastId != 0) { + LastId = other.LastId; + } + if (other.ReportId != 0UL) { + ReportId = other.ReportId; + } + if (other.CoinQty != 0) { + CoinQty = other.CoinQty; + } + notes_.Add(other.notes_); + if (other.FateCardId != 0) { + FateCardId = other.FateCardId; + } + if (other.NewFateCard != false) { + NewFateCard = other.NewFateCard; + } + if (other.SweepTicket != 0) { + SweepTicket = other.SweepTicket; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (info_ == null) { + Info = new global::Proto.StarTowerInfo(); + } + input.ReadMessage(Info); + break; + } + case 16: { + LastId = input.ReadUInt32(); + break; + } + case 24: { + ReportId = input.ReadUInt64(); + break; + } + case 32: { + CoinQty = input.ReadUInt32(); + break; + } + case 42: + case 40: { + notes_.AddEntriesFrom(input, _repeated_notes_codec); + break; + } + case 48: { + FateCardId = input.ReadUInt32(); + break; + } + case 56: { + NewFateCard = input.ReadBool(); + break; + } + case 64: { + SweepTicket = input.ReadUInt32(); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (info_ == null) { + Info = new global::Proto.StarTowerInfo(); + } + input.ReadMessage(Info); + break; + } + case 16: { + LastId = input.ReadUInt32(); + break; + } + case 24: { + ReportId = input.ReadUInt64(); + break; + } + case 32: { + CoinQty = input.ReadUInt32(); + break; + } + case 42: + case 40: { + notes_.AddEntriesFrom(ref input, _repeated_notes_codec); + break; + } + case 48: { + FateCardId = input.ReadUInt32(); + break; + } + case 56: { + NewFateCard = input.ReadBool(); + break; + } + case 64: { + SweepTicket = input.ReadUInt32(); + break; + } + case 122: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBattleThreshold.cs b/Novaria.Common/Protos/StarTowerBattleThreshold.cs deleted file mode 100644 index e5eb527..0000000 --- a/Novaria.Common/Protos/StarTowerBattleThreshold.cs +++ /dev/null @@ -1,955 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBattleThreshold.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 StarTowerBattleThreshold.proto</summary> - public static partial class StarTowerBattleThresholdReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBattleThreshold.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBattleThresholdReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5TdGFyVG93ZXJCYXR0bGVUaHJlc2hvbGQucHJvdG8i8QMKGFN0YXJUb3dl", - "ckJhdHRsZVRocmVzaG9sZBISCgptaXNzaW9uX2lkGAEgASgFEg8KB3ZlcnNp", - "b24YAiABKAUSFAoMZnJvbV9zcmNfYXRrGAMgASgFEiEKGWZyb21fcGVya19p", - "bnRlbnNpdHlfcmF0aW8YBCABKAUSGwoTZnJvbV9zbG90X2RtZ19yYXRpbxgF", - "IAEoBRIQCghmcm9tX2VfZRgGIAEoBRIaChJmcm9tX2dlbl9kbWdfcmF0aW8Y", - "ByABKAUSFQoNZnJvbV9kbWdfcGx1cxgIIAEoBRIXCg9mcm9tX2NyaXRfcmF0", - "aW8YCSABKAUSHAoUZnJvbV9maW5hbF9kbWdfcmF0aW8YCiABKAUSGwoTZnJv", - "bV9maW5hbF9kbWdfcGx1cxgLIAEoBRITCgt0b19lcl9hbWVuZBgMIAEoBRIU", - "Cgx0b19kZWZfYW1lbmQYDSABKAUSHQoVdG9fcmNkX3Nsb3RfZG1nX3JhdGlv", - "GA4gASgFEhQKDHRvX2VfZV9yX2NfZBgPIAEoBRIcChR0b19nZW5fZG1nX3Jj", - "ZF9yYXRpbxgQIAEoBRIXCg90b19kbWdfcGx1c19yY2QYESABKAUSCwoDZG1n", - "GBIgASgFEhEKCWNyaXRfcmF0ZRgTIAEoBRIKCgJocBgUIAEoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBattleThreshold), global::Nova.Client.StarTowerBattleThreshold.Parser, new[]{ "MissionId", "Version", "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBattleThreshold : pb::IMessage<StarTowerBattleThreshold> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBattleThreshold> _parser = new pb::MessageParser<StarTowerBattleThreshold>(() => new StarTowerBattleThreshold()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBattleThreshold> 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.StarTowerBattleThresholdReflection.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 StarTowerBattleThreshold() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBattleThreshold(StarTowerBattleThreshold other) : this() { - missionId_ = other.missionId_; - version_ = other.version_; - fromSrcAtk_ = other.fromSrcAtk_; - fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; - fromSlotDmgRatio_ = other.fromSlotDmgRatio_; - fromEE_ = other.fromEE_; - fromGenDmgRatio_ = other.fromGenDmgRatio_; - fromDmgPlus_ = other.fromDmgPlus_; - fromCritRatio_ = other.fromCritRatio_; - fromFinalDmgRatio_ = other.fromFinalDmgRatio_; - fromFinalDmgPlus_ = other.fromFinalDmgPlus_; - toErAmend_ = other.toErAmend_; - toDefAmend_ = other.toDefAmend_; - toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; - toEERCD_ = other.toEERCD_; - toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; - toDmgPlusRcd_ = other.toDmgPlusRcd_; - dmg_ = other.dmg_; - critRate_ = other.critRate_; - hp_ = other.hp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBattleThreshold Clone() { - return new StarTowerBattleThreshold(this); - } - - /// <summary>Field number for the "mission_id" field.</summary> - public const int MissionIdFieldNumber = 1; - private int missionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MissionId { - get { return missionId_; } - set { - missionId_ = value; - } - } - - /// <summary>Field number for the "version" field.</summary> - public const int VersionFieldNumber = 2; - private int version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Version { - get { return version_; } - set { - version_ = value; - } - } - - /// <summary>Field number for the "from_src_atk" field.</summary> - public const int FromSrcAtkFieldNumber = 3; - private int fromSrcAtk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromSrcAtk { - get { return fromSrcAtk_; } - set { - fromSrcAtk_ = value; - } - } - - /// <summary>Field number for the "from_perk_intensity_ratio" field.</summary> - public const int FromPerkIntensityRatioFieldNumber = 4; - private int fromPerkIntensityRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromPerkIntensityRatio { - get { return fromPerkIntensityRatio_; } - set { - fromPerkIntensityRatio_ = value; - } - } - - /// <summary>Field number for the "from_slot_dmg_ratio" field.</summary> - public const int FromSlotDmgRatioFieldNumber = 5; - private int fromSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromSlotDmgRatio { - get { return fromSlotDmgRatio_; } - set { - fromSlotDmgRatio_ = value; - } - } - - /// <summary>Field number for the "from_e_e" field.</summary> - public const int FromEEFieldNumber = 6; - private int fromEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromEE { - get { return fromEE_; } - set { - fromEE_ = value; - } - } - - /// <summary>Field number for the "from_gen_dmg_ratio" field.</summary> - public const int FromGenDmgRatioFieldNumber = 7; - private int fromGenDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromGenDmgRatio { - get { return fromGenDmgRatio_; } - set { - fromGenDmgRatio_ = value; - } - } - - /// <summary>Field number for the "from_dmg_plus" field.</summary> - public const int FromDmgPlusFieldNumber = 8; - private int fromDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromDmgPlus { - get { return fromDmgPlus_; } - set { - fromDmgPlus_ = value; - } - } - - /// <summary>Field number for the "from_crit_ratio" field.</summary> - public const int FromCritRatioFieldNumber = 9; - private int fromCritRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromCritRatio { - get { return fromCritRatio_; } - set { - fromCritRatio_ = value; - } - } - - /// <summary>Field number for the "from_final_dmg_ratio" field.</summary> - public const int FromFinalDmgRatioFieldNumber = 10; - private int fromFinalDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromFinalDmgRatio { - get { return fromFinalDmgRatio_; } - set { - fromFinalDmgRatio_ = value; - } - } - - /// <summary>Field number for the "from_final_dmg_plus" field.</summary> - public const int FromFinalDmgPlusFieldNumber = 11; - private int fromFinalDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromFinalDmgPlus { - get { return fromFinalDmgPlus_; } - set { - fromFinalDmgPlus_ = value; - } - } - - /// <summary>Field number for the "to_er_amend" field.</summary> - public const int ToErAmendFieldNumber = 12; - private int toErAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToErAmend { - get { return toErAmend_; } - set { - toErAmend_ = value; - } - } - - /// <summary>Field number for the "to_def_amend" field.</summary> - public const int ToDefAmendFieldNumber = 13; - private int toDefAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToDefAmend { - get { return toDefAmend_; } - set { - toDefAmend_ = value; - } - } - - /// <summary>Field number for the "to_rcd_slot_dmg_ratio" field.</summary> - public const int ToRcdSlotDmgRatioFieldNumber = 14; - private int toRcdSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToRcdSlotDmgRatio { - get { return toRcdSlotDmgRatio_; } - set { - toRcdSlotDmgRatio_ = value; - } - } - - /// <summary>Field number for the "to_e_e_r_c_d" field.</summary> - public const int ToEERCDFieldNumber = 15; - private int toEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToEERCD { - get { return toEERCD_; } - set { - toEERCD_ = value; - } - } - - /// <summary>Field number for the "to_gen_dmg_rcd_ratio" field.</summary> - public const int ToGenDmgRcdRatioFieldNumber = 16; - private int toGenDmgRcdRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToGenDmgRcdRatio { - get { return toGenDmgRcdRatio_; } - set { - toGenDmgRcdRatio_ = value; - } - } - - /// <summary>Field number for the "to_dmg_plus_rcd" field.</summary> - public const int ToDmgPlusRcdFieldNumber = 17; - private int toDmgPlusRcd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToDmgPlusRcd { - get { return toDmgPlusRcd_; } - set { - toDmgPlusRcd_ = value; - } - } - - /// <summary>Field number for the "dmg" field.</summary> - public const int DmgFieldNumber = 18; - private int dmg_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Dmg { - get { return dmg_; } - set { - dmg_ = value; - } - } - - /// <summary>Field number for the "crit_rate" field.</summary> - public const int CritRateFieldNumber = 19; - private int critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// <summary>Field number for the "hp" field.</summary> - public const int HpFieldNumber = 20; - private int hp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Hp { - get { return hp_; } - set { - hp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBattleThreshold); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBattleThreshold other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MissionId != other.MissionId) return false; - if (Version != other.Version) return false; - if (FromSrcAtk != other.FromSrcAtk) return false; - if (FromPerkIntensityRatio != other.FromPerkIntensityRatio) return false; - if (FromSlotDmgRatio != other.FromSlotDmgRatio) return false; - if (FromEE != other.FromEE) return false; - if (FromGenDmgRatio != other.FromGenDmgRatio) return false; - if (FromDmgPlus != other.FromDmgPlus) return false; - if (FromCritRatio != other.FromCritRatio) return false; - if (FromFinalDmgRatio != other.FromFinalDmgRatio) return false; - if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; - if (ToErAmend != other.ToErAmend) return false; - if (ToDefAmend != other.ToDefAmend) return false; - if (ToRcdSlotDmgRatio != other.ToRcdSlotDmgRatio) return false; - if (ToEERCD != other.ToEERCD) return false; - if (ToGenDmgRcdRatio != other.ToGenDmgRcdRatio) return false; - if (ToDmgPlusRcd != other.ToDmgPlusRcd) return false; - if (Dmg != other.Dmg) return false; - if (CritRate != other.CritRate) return false; - if (Hp != other.Hp) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); - if (Version != 0) hash ^= Version.GetHashCode(); - if (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); - if (FromPerkIntensityRatio != 0) hash ^= FromPerkIntensityRatio.GetHashCode(); - if (FromSlotDmgRatio != 0) hash ^= FromSlotDmgRatio.GetHashCode(); - if (FromEE != 0) hash ^= FromEE.GetHashCode(); - if (FromGenDmgRatio != 0) hash ^= FromGenDmgRatio.GetHashCode(); - if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); - if (FromCritRatio != 0) hash ^= FromCritRatio.GetHashCode(); - if (FromFinalDmgRatio != 0) hash ^= FromFinalDmgRatio.GetHashCode(); - if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); - if (ToErAmend != 0) hash ^= ToErAmend.GetHashCode(); - if (ToDefAmend != 0) hash ^= ToDefAmend.GetHashCode(); - if (ToRcdSlotDmgRatio != 0) hash ^= ToRcdSlotDmgRatio.GetHashCode(); - if (ToEERCD != 0) hash ^= ToEERCD.GetHashCode(); - if (ToGenDmgRcdRatio != 0) hash ^= ToGenDmgRcdRatio.GetHashCode(); - if (ToDmgPlusRcd != 0) hash ^= ToDmgPlusRcd.GetHashCode(); - if (Dmg != 0) hash ^= Dmg.GetHashCode(); - if (CritRate != 0) hash ^= CritRate.GetHashCode(); - if (Hp != 0) hash ^= Hp.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 (MissionId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MissionId); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteInt32(Version); - } - if (FromSrcAtk != 0) { - output.WriteRawTag(24); - output.WriteInt32(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - output.WriteRawTag(32); - output.WriteInt32(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - output.WriteRawTag(40); - output.WriteInt32(FromSlotDmgRatio); - } - if (FromEE != 0) { - output.WriteRawTag(48); - output.WriteInt32(FromEE); - } - if (FromGenDmgRatio != 0) { - output.WriteRawTag(56); - output.WriteInt32(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - output.WriteRawTag(64); - output.WriteInt32(FromDmgPlus); - } - if (FromCritRatio != 0) { - output.WriteRawTag(72); - output.WriteInt32(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - output.WriteRawTag(88); - output.WriteInt32(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - output.WriteRawTag(96); - output.WriteInt32(ToErAmend); - } - if (ToDefAmend != 0) { - output.WriteRawTag(104); - output.WriteInt32(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - output.WriteRawTag(120); - output.WriteInt32(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ToDmgPlusRcd); - } - if (Dmg != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Dmg); - } - if (CritRate != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(CritRate); - } - if (Hp != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Hp); - } - 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 (MissionId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MissionId); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteInt32(Version); - } - if (FromSrcAtk != 0) { - output.WriteRawTag(24); - output.WriteInt32(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - output.WriteRawTag(32); - output.WriteInt32(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - output.WriteRawTag(40); - output.WriteInt32(FromSlotDmgRatio); - } - if (FromEE != 0) { - output.WriteRawTag(48); - output.WriteInt32(FromEE); - } - if (FromGenDmgRatio != 0) { - output.WriteRawTag(56); - output.WriteInt32(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - output.WriteRawTag(64); - output.WriteInt32(FromDmgPlus); - } - if (FromCritRatio != 0) { - output.WriteRawTag(72); - output.WriteInt32(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - output.WriteRawTag(88); - output.WriteInt32(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - output.WriteRawTag(96); - output.WriteInt32(ToErAmend); - } - if (ToDefAmend != 0) { - output.WriteRawTag(104); - output.WriteInt32(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - output.WriteRawTag(120); - output.WriteInt32(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ToDmgPlusRcd); - } - if (Dmg != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Dmg); - } - if (CritRate != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(CritRate); - } - if (Hp != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Hp); - } - 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 (MissionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); - } - if (Version != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); - } - if (FromSrcAtk != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSlotDmgRatio); - } - if (FromEE != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromEE); - } - if (FromGenDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); - } - if (FromCritRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToErAmend); - } - if (ToDefAmend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToDmgPlusRcd); - } - if (Dmg != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); - } - if (CritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritRate); - } - if (Hp != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerBattleThreshold other) { - if (other == null) { - return; - } - if (other.MissionId != 0) { - MissionId = other.MissionId; - } - if (other.Version != 0) { - Version = other.Version; - } - if (other.FromSrcAtk != 0) { - FromSrcAtk = other.FromSrcAtk; - } - if (other.FromPerkIntensityRatio != 0) { - FromPerkIntensityRatio = other.FromPerkIntensityRatio; - } - if (other.FromSlotDmgRatio != 0) { - FromSlotDmgRatio = other.FromSlotDmgRatio; - } - if (other.FromEE != 0) { - FromEE = other.FromEE; - } - if (other.FromGenDmgRatio != 0) { - FromGenDmgRatio = other.FromGenDmgRatio; - } - if (other.FromDmgPlus != 0) { - FromDmgPlus = other.FromDmgPlus; - } - if (other.FromCritRatio != 0) { - FromCritRatio = other.FromCritRatio; - } - if (other.FromFinalDmgRatio != 0) { - FromFinalDmgRatio = other.FromFinalDmgRatio; - } - if (other.FromFinalDmgPlus != 0) { - FromFinalDmgPlus = other.FromFinalDmgPlus; - } - if (other.ToErAmend != 0) { - ToErAmend = other.ToErAmend; - } - if (other.ToDefAmend != 0) { - ToDefAmend = other.ToDefAmend; - } - if (other.ToRcdSlotDmgRatio != 0) { - ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; - } - if (other.ToEERCD != 0) { - ToEERCD = other.ToEERCD; - } - if (other.ToGenDmgRcdRatio != 0) { - ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; - } - if (other.ToDmgPlusRcd != 0) { - ToDmgPlusRcd = other.ToDmgPlusRcd; - } - if (other.Dmg != 0) { - Dmg = other.Dmg; - } - if (other.CritRate != 0) { - CritRate = other.CritRate; - } - if (other.Hp != 0) { - Hp = other.Hp; - } - _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: { - MissionId = input.ReadInt32(); - break; - } - case 16: { - Version = input.ReadInt32(); - break; - } - case 24: { - FromSrcAtk = input.ReadInt32(); - break; - } - case 32: { - FromPerkIntensityRatio = input.ReadInt32(); - break; - } - case 40: { - FromSlotDmgRatio = input.ReadInt32(); - break; - } - case 48: { - FromEE = input.ReadInt32(); - break; - } - case 56: { - FromGenDmgRatio = input.ReadInt32(); - break; - } - case 64: { - FromDmgPlus = input.ReadInt32(); - break; - } - case 72: { - FromCritRatio = input.ReadInt32(); - break; - } - case 80: { - FromFinalDmgRatio = input.ReadInt32(); - break; - } - case 88: { - FromFinalDmgPlus = input.ReadInt32(); - break; - } - case 96: { - ToErAmend = input.ReadInt32(); - break; - } - case 104: { - ToDefAmend = input.ReadInt32(); - break; - } - case 112: { - ToRcdSlotDmgRatio = input.ReadInt32(); - break; - } - case 120: { - ToEERCD = input.ReadInt32(); - break; - } - case 128: { - ToGenDmgRcdRatio = input.ReadInt32(); - break; - } - case 136: { - ToDmgPlusRcd = input.ReadInt32(); - break; - } - case 144: { - Dmg = input.ReadInt32(); - break; - } - case 152: { - CritRate = input.ReadInt32(); - break; - } - case 160: { - Hp = 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: { - MissionId = input.ReadInt32(); - break; - } - case 16: { - Version = input.ReadInt32(); - break; - } - case 24: { - FromSrcAtk = input.ReadInt32(); - break; - } - case 32: { - FromPerkIntensityRatio = input.ReadInt32(); - break; - } - case 40: { - FromSlotDmgRatio = input.ReadInt32(); - break; - } - case 48: { - FromEE = input.ReadInt32(); - break; - } - case 56: { - FromGenDmgRatio = input.ReadInt32(); - break; - } - case 64: { - FromDmgPlus = input.ReadInt32(); - break; - } - case 72: { - FromCritRatio = input.ReadInt32(); - break; - } - case 80: { - FromFinalDmgRatio = input.ReadInt32(); - break; - } - case 88: { - FromFinalDmgPlus = input.ReadInt32(); - break; - } - case 96: { - ToErAmend = input.ReadInt32(); - break; - } - case 104: { - ToDefAmend = input.ReadInt32(); - break; - } - case 112: { - ToRcdSlotDmgRatio = input.ReadInt32(); - break; - } - case 120: { - ToEERCD = input.ReadInt32(); - break; - } - case 128: { - ToGenDmgRcdRatio = input.ReadInt32(); - break; - } - case 136: { - ToDmgPlusRcd = input.ReadInt32(); - break; - } - case 144: { - Dmg = input.ReadInt32(); - break; - } - case 152: { - CritRate = input.ReadInt32(); - break; - } - case 160: { - Hp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookCharPotentialGet.cs b/Novaria.Common/Protos/StarTowerBookCharPotentialGet.cs new file mode 100644 index 0000000..469df7e --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBookCharPotentialGet.cs @@ -0,0 +1,299 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_book_char_potential_get.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_book_char_potential_get.proto</summary> + public static partial class StarTowerBookCharPotentialGetReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_book_char_potential_get.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBookCharPotentialGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CihzdGFyX3Rvd2VyX2Jvb2tfY2hhcl9wb3RlbnRpYWxfZ2V0LnByb3RvEgVw", + "cm90bxoMcHVibGljLnByb3RvGhdwdWJsaWNfc3Rhcl90b3dlci5wcm90byJ9", + "Ch1TdGFyVG93ZXJCb29rUG90ZW50aWFsR2V0UmVzcBIxCgpQb3RlbnRpYWxz", + "GAEgAygLMh0ucHJvdG8uU3RhclRvd2VyQm9va1BvdGVudGlhbBITCgtSZWNl", + "aXZlZElkcxgCIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAFABYgZwcm90", + "bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookPotentialGetResp), global::Proto.StarTowerBookPotentialGetResp.Parser, new[]{ "Potentials", "ReceivedIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookPotentialGetResp : pb::IMessage<StarTowerBookPotentialGetResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookPotentialGetResp> _parser = new pb::MessageParser<StarTowerBookPotentialGetResp>(() => new StarTowerBookPotentialGetResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookPotentialGetResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBookCharPotentialGetReflection.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 StarTowerBookPotentialGetResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialGetResp(StarTowerBookPotentialGetResp other) : this() { + potentials_ = other.potentials_.Clone(); + receivedIds_ = other.receivedIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialGetResp Clone() { + return new StarTowerBookPotentialGetResp(this); + } + + /// <summary>Field number for the "Potentials" field.</summary> + public const int PotentialsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.StarTowerBookPotential> _repeated_potentials_codec + = pb::FieldCodec.ForMessage(10, global::Proto.StarTowerBookPotential.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerBookPotential> potentials_ = new pbc::RepeatedField<global::Proto.StarTowerBookPotential>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerBookPotential> Potentials { + get { return potentials_; } + } + + /// <summary>Field number for the "ReceivedIds" field.</summary> + public const int ReceivedIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_receivedIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> receivedIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> ReceivedIds { + get { return receivedIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookPotentialGetResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookPotentialGetResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!potentials_.Equals(other.potentials_)) return false; + if(!receivedIds_.Equals(other.receivedIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= potentials_.GetHashCode(); + hash ^= receivedIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + potentials_.WriteTo(output, _repeated_potentials_codec); + receivedIds_.WriteTo(output, _repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + potentials_.WriteTo(ref output, _repeated_potentials_codec); + receivedIds_.WriteTo(ref output, _repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += potentials_.CalculateSize(_repeated_potentials_codec); + size += receivedIds_.CalculateSize(_repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookPotentialGetResp other) { + if (other == null) { + return; + } + potentials_.Add(other.potentials_); + receivedIds_.Add(other.receivedIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + potentials_.AddEntriesFrom(input, _repeated_potentials_codec); + break; + } + case 18: + case 16: { + receivedIds_.AddEntriesFrom(input, _repeated_receivedIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + potentials_.AddEntriesFrom(ref input, _repeated_potentials_codec); + break; + } + case 18: + case 16: { + receivedIds_.AddEntriesFrom(ref input, _repeated_receivedIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookEntrance.cs b/Novaria.Common/Protos/StarTowerBookEntrance.cs deleted file mode 100644 index 13c570a..0000000 --- a/Novaria.Common/Protos/StarTowerBookEntrance.cs +++ /dev/null @@ -1,354 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBookEntrance.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 StarTowerBookEntrance.proto</summary> - public static partial class StarTowerBookEntranceReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBookEntrance.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBookEntranceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtTdGFyVG93ZXJCb29rRW50cmFuY2UucHJvdG8iUQoVU3RhclRvd2VyQm9v", - "a0VudHJhbmNlEgoKAmlkGAEgASgFEgwKBGljb24YAiABKAkSEAoIcG9zaXRp", - "b24YAyABKAkSDAoEZGVzYxgEIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookEntrance), global::Nova.Client.StarTowerBookEntrance.Parser, new[]{ "Id", "Icon", "Position", "Desc" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBookEntrance : pb::IMessage<StarTowerBookEntrance> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBookEntrance> _parser = new pb::MessageParser<StarTowerBookEntrance>(() => new StarTowerBookEntrance()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBookEntrance> 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.StarTowerBookEntranceReflection.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 StarTowerBookEntrance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookEntrance(StarTowerBookEntrance other) : this() { - id_ = other.id_; - icon_ = other.icon_; - position_ = other.position_; - desc_ = other.desc_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookEntrance Clone() { - return new StarTowerBookEntrance(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 "icon" field.</summary> - public const int IconFieldNumber = 2; - 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 "position" field.</summary> - public const int PositionFieldNumber = 3; - private string position_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Position { - get { return position_; } - set { - position_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 4; - 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBookEntrance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBookEntrance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Icon != other.Icon) return false; - if (Position != other.Position) return false; - if (Desc != other.Desc) 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 (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Position.Length != 0) hash ^= Position.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.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 (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - if (Position.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Position); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - 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 (Icon.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Icon); - } - if (Position.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Position); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - 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 (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Position.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Position); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerBookEntrance other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Position.Length != 0) { - Position = other.Position; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - _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: { - Icon = input.ReadString(); - break; - } - case 26: { - Position = input.ReadString(); - break; - } - case 34: { - Desc = 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 18: { - Icon = input.ReadString(); - break; - } - case 26: { - Position = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookEventGet.cs b/Novaria.Common/Protos/StarTowerBookEventGet.cs new file mode 100644 index 0000000..1fb8151 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBookEventGet.cs @@ -0,0 +1,299 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_book_event_get.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_book_event_get.proto</summary> + public static partial class StarTowerBookEventGetReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_book_event_get.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBookEventGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch9zdGFyX3Rvd2VyX2Jvb2tfZXZlbnRfZ2V0LnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvGhdwdWJsaWNfc3Rhcl90b3dlci5wcm90byJWChlTdGFyVG93", + "ZXJCb29rRXZlbnRHZXRSZXNwEhAKCEV2ZW50SWRzGAEgAygNEhEKCVJld2Fy", + "ZElkcxgCIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAFABYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookEventGetResp), global::Proto.StarTowerBookEventGetResp.Parser, new[]{ "EventIds", "RewardIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookEventGetResp : pb::IMessage<StarTowerBookEventGetResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookEventGetResp> _parser = new pb::MessageParser<StarTowerBookEventGetResp>(() => new StarTowerBookEventGetResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookEventGetResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBookEventGetReflection.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 StarTowerBookEventGetResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventGetResp(StarTowerBookEventGetResp other) : this() { + eventIds_ = other.eventIds_.Clone(); + rewardIds_ = other.rewardIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventGetResp Clone() { + return new StarTowerBookEventGetResp(this); + } + + /// <summary>Field number for the "EventIds" field.</summary> + public const int EventIdsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_eventIds_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> eventIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> EventIds { + get { return eventIds_; } + } + + /// <summary>Field number for the "RewardIds" field.</summary> + public const int RewardIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_rewardIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> rewardIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> RewardIds { + get { return rewardIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookEventGetResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookEventGetResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!eventIds_.Equals(other.eventIds_)) return false; + if(!rewardIds_.Equals(other.rewardIds_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= eventIds_.GetHashCode(); + hash ^= rewardIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + eventIds_.WriteTo(output, _repeated_eventIds_codec); + rewardIds_.WriteTo(output, _repeated_rewardIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + eventIds_.WriteTo(ref output, _repeated_eventIds_codec); + rewardIds_.WriteTo(ref output, _repeated_rewardIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += eventIds_.CalculateSize(_repeated_eventIds_codec); + size += rewardIds_.CalculateSize(_repeated_rewardIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookEventGetResp other) { + if (other == null) { + return; + } + eventIds_.Add(other.eventIds_); + rewardIds_.Add(other.rewardIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + eventIds_.AddEntriesFrom(input, _repeated_eventIds_codec); + break; + } + case 18: + case 16: { + rewardIds_.AddEntriesFrom(input, _repeated_rewardIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + eventIds_.AddEntriesFrom(ref input, _repeated_eventIds_codec); + break; + } + case 18: + case 16: { + rewardIds_.AddEntriesFrom(ref input, _repeated_rewardIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookEventReward.cs b/Novaria.Common/Protos/StarTowerBookEventReward.cs deleted file mode 100644 index 003bd02..0000000 --- a/Novaria.Common/Protos/StarTowerBookEventReward.cs +++ /dev/null @@ -1,541 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBookEventReward.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 StarTowerBookEventReward.proto</summary> - public static partial class StarTowerBookEventRewardReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBookEventReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBookEventRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5TdGFyVG93ZXJCb29rRXZlbnRSZXdhcmQucHJvdG8iqQEKGFN0YXJUb3dl", - "ckJvb2tFdmVudFJld2FyZBIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEg0K", - "BXN0b3J5GAMgASgJEhAKCG5fcF9jX2lkGAQgASgFEgwKBHNvcnQYBSABKAUS", - "DgoGc291cmNlGAYgASgJEg8KB2l0ZW1faWQYByABKAUSEAoIaXRlbV9xdHkY", - "CCABKAUSEQoJaXNfYmFubmVkGAkgASgIQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookEventReward), global::Nova.Client.StarTowerBookEventReward.Parser, new[]{ "Id", "Name", "Story", "NPCId", "Sort", "Source", "ItemId", "ItemQty", "IsBanned" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBookEventReward : pb::IMessage<StarTowerBookEventReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBookEventReward> _parser = new pb::MessageParser<StarTowerBookEventReward>(() => new StarTowerBookEventReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBookEventReward> 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.StarTowerBookEventRewardReflection.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 StarTowerBookEventReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookEventReward(StarTowerBookEventReward other) : this() { - id_ = other.id_; - name_ = other.name_; - story_ = other.story_; - nPCId_ = other.nPCId_; - sort_ = other.sort_; - source_ = other.source_; - itemId_ = other.itemId_; - itemQty_ = other.itemQty_; - isBanned_ = other.isBanned_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookEventReward Clone() { - return new StarTowerBookEventReward(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 "story" field.</summary> - public const int StoryFieldNumber = 3; - private string story_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Story { - get { return story_; } - set { - story_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "n_p_c_id" field.</summary> - public const int NPCIdFieldNumber = 4; - private int nPCId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NPCId { - get { return nPCId_; } - set { - nPCId_ = value; - } - } - - /// <summary>Field number for the "sort" field.</summary> - public const int SortFieldNumber = 5; - 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 "source" field.</summary> - public const int SourceFieldNumber = 6; - private string source_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Source { - get { return source_; } - set { - source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "item_id" field.</summary> - public const int ItemIdFieldNumber = 7; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// <summary>Field number for the "item_qty" field.</summary> - public const int ItemQtyFieldNumber = 8; - private int itemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty { - get { return itemQty_; } - set { - itemQty_ = value; - } - } - - /// <summary>Field number for the "is_banned" field.</summary> - public const int IsBannedFieldNumber = 9; - private bool isBanned_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsBanned { - get { return isBanned_; } - set { - isBanned_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBookEventReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBookEventReward 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 (Story != other.Story) return false; - if (NPCId != other.NPCId) return false; - if (Sort != other.Sort) return false; - if (Source != other.Source) return false; - if (ItemId != other.ItemId) return false; - if (ItemQty != other.ItemQty) return false; - if (IsBanned != other.IsBanned) 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 (Story.Length != 0) hash ^= Story.GetHashCode(); - if (NPCId != 0) hash ^= NPCId.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (Source.Length != 0) hash ^= Source.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemQty != 0) hash ^= ItemQty.GetHashCode(); - if (IsBanned != false) hash ^= IsBanned.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 (Story.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Story); - } - if (NPCId != 0) { - output.WriteRawTag(32); - output.WriteInt32(NPCId); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - if (Source.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Source); - } - if (ItemId != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(64); - output.WriteInt32(ItemQty); - } - if (IsBanned != false) { - output.WriteRawTag(72); - output.WriteBool(IsBanned); - } - 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 (Story.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Story); - } - if (NPCId != 0) { - output.WriteRawTag(32); - output.WriteInt32(NPCId); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - if (Source.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Source); - } - if (ItemId != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(64); - output.WriteInt32(ItemQty); - } - if (IsBanned != false) { - output.WriteRawTag(72); - output.WriteBool(IsBanned); - } - 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 (Story.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Story); - } - if (NPCId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NPCId); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Source.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); - } - if (IsBanned != 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(StarTowerBookEventReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Story.Length != 0) { - Story = other.Story; - } - if (other.NPCId != 0) { - NPCId = other.NPCId; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Source.Length != 0) { - Source = other.Source; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemQty != 0) { - ItemQty = other.ItemQty; - } - if (other.IsBanned != false) { - IsBanned = other.IsBanned; - } - _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 26: { - Story = input.ReadString(); - break; - } - case 32: { - NPCId = input.ReadInt32(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - case 50: { - Source = input.ReadString(); - break; - } - case 56: { - ItemId = input.ReadInt32(); - break; - } - case 64: { - ItemQty = input.ReadInt32(); - break; - } - case 72: { - IsBanned = 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 26: { - Story = input.ReadString(); - break; - } - case 32: { - NPCId = input.ReadInt32(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - case 50: { - Source = input.ReadString(); - break; - } - case 56: { - ItemId = input.ReadInt32(); - break; - } - case 64: { - ItemQty = input.ReadInt32(); - break; - } - case 72: { - IsBanned = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookEventRewardReceive.cs b/Novaria.Common/Protos/StarTowerBookEventRewardReceive.cs new file mode 100644 index 0000000..b4cc550 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBookEventRewardReceive.cs @@ -0,0 +1,318 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_book_event_reward_receive.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_book_event_reward_receive.proto</summary> + public static partial class StarTowerBookEventRewardReceiveReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_book_event_reward_receive.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBookEventRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CipzdGFyX3Rvd2VyX2Jvb2tfZXZlbnRfcmV3YXJkX3JlY2VpdmUucHJvdG8S", + "BXByb3RvGgxwdWJsaWMucHJvdG8aF3B1YmxpY19zdGFyX3Rvd2VyLnByb3Rv", + "InMKI1N0YXJUb3dlckJvb2tFdmVudFJld2FyZFJlY2VpdmVSZXNwEiEKBkNo", + "YW5nZRgBIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SEwoLUmVjZWl2ZWRJZHMY", + "AiADKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABQAWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookEventRewardReceiveResp), global::Proto.StarTowerBookEventRewardReceiveResp.Parser, new[]{ "Change", "ReceivedIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookEventRewardReceiveResp : pb::IMessage<StarTowerBookEventRewardReceiveResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookEventRewardReceiveResp> _parser = new pb::MessageParser<StarTowerBookEventRewardReceiveResp>(() => new StarTowerBookEventRewardReceiveResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookEventRewardReceiveResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBookEventRewardReceiveReflection.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 StarTowerBookEventRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventRewardReceiveResp(StarTowerBookEventRewardReceiveResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + receivedIds_ = other.receivedIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventRewardReceiveResp Clone() { + return new StarTowerBookEventRewardReceiveResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "ReceivedIds" field.</summary> + public const int ReceivedIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_receivedIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> receivedIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> ReceivedIds { + get { return receivedIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookEventRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookEventRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if(!receivedIds_.Equals(other.receivedIds_)) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + hash ^= receivedIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + receivedIds_.WriteTo(output, _repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + receivedIds_.WriteTo(ref output, _repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + size += receivedIds_.CalculateSize(_repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookEventRewardReceiveResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + receivedIds_.Add(other.receivedIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: + case 16: { + receivedIds_.AddEntriesFrom(input, _repeated_receivedIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: + case 16: { + receivedIds_.AddEntriesFrom(ref input, _repeated_receivedIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookFateCard.cs b/Novaria.Common/Protos/StarTowerBookFateCard.cs deleted file mode 100644 index 6883c5f..0000000 --- a/Novaria.Common/Protos/StarTowerBookFateCard.cs +++ /dev/null @@ -1,598 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBookFateCard.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 StarTowerBookFateCard.proto</summary> - public static partial class StarTowerBookFateCardReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBookFateCard.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBookFateCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtTdGFyVG93ZXJCb29rRmF0ZUNhcmQucHJvdG8i5QEKFVN0YXJUb3dlckJv", - "b2tGYXRlQ2FyZBIKCgJpZBgBIAEoBRIRCglidW5kbGVfaWQYAiABKAUSDAoE", - "aWNvbhgDIAEoCRIPCgdzb3J0X2lkGAQgASgFEg4KBnNvdXJjZRgFIAEoCRIS", - "Cgp1bmxvY2tfdGlwGAYgASgJEhMKC3dvcmxkX2NsYXNzGAcgASgFEhUKDXN0", - "YXJfdG93ZXJfaWQYCCABKAUSFQoNY29sbGVjdF9jYXJkcxgJIAMoBRIUCgx1", - "bmxvY2tfY2FyZHMYCiADKAUSEQoJaXNfYmFubmVkGAsgASgIQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCard), global::Nova.Client.StarTowerBookFateCard.Parser, new[]{ "Id", "BundleId", "Icon", "SortId", "Source", "UnlockTip", "WorldClass", "StarTowerId", "CollectCards", "UnlockCards", "IsBanned" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBookFateCard : pb::IMessage<StarTowerBookFateCard> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBookFateCard> _parser = new pb::MessageParser<StarTowerBookFateCard>(() => new StarTowerBookFateCard()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBookFateCard> 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.StarTowerBookFateCardReflection.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 StarTowerBookFateCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookFateCard(StarTowerBookFateCard other) : this() { - id_ = other.id_; - bundleId_ = other.bundleId_; - icon_ = other.icon_; - sortId_ = other.sortId_; - source_ = other.source_; - unlockTip_ = other.unlockTip_; - worldClass_ = other.worldClass_; - starTowerId_ = other.starTowerId_; - collectCards_ = other.collectCards_.Clone(); - unlockCards_ = other.unlockCards_.Clone(); - isBanned_ = other.isBanned_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookFateCard Clone() { - return new StarTowerBookFateCard(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 "bundle_id" field.</summary> - public const int BundleIdFieldNumber = 2; - private int bundleId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BundleId { - get { return bundleId_; } - set { - bundleId_ = value; - } - } - - /// <summary>Field number for the "icon" field.</summary> - public const int IconFieldNumber = 3; - 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 "sort_id" field.</summary> - public const int SortIdFieldNumber = 4; - private int sortId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortId { - get { return sortId_; } - set { - sortId_ = value; - } - } - - /// <summary>Field number for the "source" field.</summary> - public const int SourceFieldNumber = 5; - private string source_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Source { - get { return source_; } - set { - source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "unlock_tip" field.</summary> - public const int UnlockTipFieldNumber = 6; - private string unlockTip_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string UnlockTip { - get { return unlockTip_; } - set { - unlockTip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "world_class" field.</summary> - public const int WorldClassFieldNumber = 7; - private int worldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClass { - get { return worldClass_; } - set { - worldClass_ = value; - } - } - - /// <summary>Field number for the "star_tower_id" field.</summary> - public const int StarTowerIdFieldNumber = 8; - private int starTowerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StarTowerId { - get { return starTowerId_; } - set { - starTowerId_ = value; - } - } - - /// <summary>Field number for the "collect_cards" field.</summary> - public const int CollectCardsFieldNumber = 9; - private static readonly pb::FieldCodec<int> _repeated_collectCards_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField<int> collectCards_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> CollectCards { - get { return collectCards_; } - } - - /// <summary>Field number for the "unlock_cards" field.</summary> - public const int UnlockCardsFieldNumber = 10; - private static readonly pb::FieldCodec<int> _repeated_unlockCards_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField<int> unlockCards_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> UnlockCards { - get { return unlockCards_; } - } - - /// <summary>Field number for the "is_banned" field.</summary> - public const int IsBannedFieldNumber = 11; - private bool isBanned_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsBanned { - get { return isBanned_; } - set { - isBanned_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBookFateCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBookFateCard other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BundleId != other.BundleId) return false; - if (Icon != other.Icon) return false; - if (SortId != other.SortId) return false; - if (Source != other.Source) return false; - if (UnlockTip != other.UnlockTip) return false; - if (WorldClass != other.WorldClass) return false; - if (StarTowerId != other.StarTowerId) return false; - if(!collectCards_.Equals(other.collectCards_)) return false; - if(!unlockCards_.Equals(other.unlockCards_)) return false; - if (IsBanned != other.IsBanned) 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 (BundleId != 0) hash ^= BundleId.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (SortId != 0) hash ^= SortId.GetHashCode(); - if (Source.Length != 0) hash ^= Source.GetHashCode(); - if (UnlockTip.Length != 0) hash ^= UnlockTip.GetHashCode(); - if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); - if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); - hash ^= collectCards_.GetHashCode(); - hash ^= unlockCards_.GetHashCode(); - if (IsBanned != false) hash ^= IsBanned.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 (BundleId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BundleId); - } - if (Icon.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon); - } - if (SortId != 0) { - output.WriteRawTag(32); - output.WriteInt32(SortId); - } - if (Source.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Source); - } - if (UnlockTip.Length != 0) { - output.WriteRawTag(50); - output.WriteString(UnlockTip); - } - if (WorldClass != 0) { - output.WriteRawTag(56); - output.WriteInt32(WorldClass); - } - if (StarTowerId != 0) { - output.WriteRawTag(64); - output.WriteInt32(StarTowerId); - } - collectCards_.WriteTo(output, _repeated_collectCards_codec); - unlockCards_.WriteTo(output, _repeated_unlockCards_codec); - if (IsBanned != false) { - output.WriteRawTag(88); - output.WriteBool(IsBanned); - } - 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 (BundleId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BundleId); - } - if (Icon.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Icon); - } - if (SortId != 0) { - output.WriteRawTag(32); - output.WriteInt32(SortId); - } - if (Source.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Source); - } - if (UnlockTip.Length != 0) { - output.WriteRawTag(50); - output.WriteString(UnlockTip); - } - if (WorldClass != 0) { - output.WriteRawTag(56); - output.WriteInt32(WorldClass); - } - if (StarTowerId != 0) { - output.WriteRawTag(64); - output.WriteInt32(StarTowerId); - } - collectCards_.WriteTo(ref output, _repeated_collectCards_codec); - unlockCards_.WriteTo(ref output, _repeated_unlockCards_codec); - if (IsBanned != false) { - output.WriteRawTag(88); - output.WriteBool(IsBanned); - } - 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 (BundleId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BundleId); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (SortId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); - } - if (Source.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); - } - if (UnlockTip.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockTip); - } - if (WorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); - } - if (StarTowerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); - } - size += collectCards_.CalculateSize(_repeated_collectCards_codec); - size += unlockCards_.CalculateSize(_repeated_unlockCards_codec); - if (IsBanned != 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(StarTowerBookFateCard other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BundleId != 0) { - BundleId = other.BundleId; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.SortId != 0) { - SortId = other.SortId; - } - if (other.Source.Length != 0) { - Source = other.Source; - } - if (other.UnlockTip.Length != 0) { - UnlockTip = other.UnlockTip; - } - if (other.WorldClass != 0) { - WorldClass = other.WorldClass; - } - if (other.StarTowerId != 0) { - StarTowerId = other.StarTowerId; - } - collectCards_.Add(other.collectCards_); - unlockCards_.Add(other.unlockCards_); - if (other.IsBanned != false) { - IsBanned = other.IsBanned; - } - _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: { - BundleId = input.ReadInt32(); - break; - } - case 26: { - Icon = input.ReadString(); - break; - } - case 32: { - SortId = input.ReadInt32(); - break; - } - case 42: { - Source = input.ReadString(); - break; - } - case 50: { - UnlockTip = input.ReadString(); - break; - } - case 56: { - WorldClass = input.ReadInt32(); - break; - } - case 64: { - StarTowerId = input.ReadInt32(); - break; - } - case 74: - case 72: { - collectCards_.AddEntriesFrom(input, _repeated_collectCards_codec); - break; - } - case 82: - case 80: { - unlockCards_.AddEntriesFrom(input, _repeated_unlockCards_codec); - break; - } - case 88: { - IsBanned = 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 16: { - BundleId = input.ReadInt32(); - break; - } - case 26: { - Icon = input.ReadString(); - break; - } - case 32: { - SortId = input.ReadInt32(); - break; - } - case 42: { - Source = input.ReadString(); - break; - } - case 50: { - UnlockTip = input.ReadString(); - break; - } - case 56: { - WorldClass = input.ReadInt32(); - break; - } - case 64: { - StarTowerId = input.ReadInt32(); - break; - } - case 74: - case 72: { - collectCards_.AddEntriesFrom(ref input, _repeated_collectCards_codec); - break; - } - case 82: - case 80: { - unlockCards_.AddEntriesFrom(ref input, _repeated_unlockCards_codec); - break; - } - case 88: { - IsBanned = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookFateCardBundle.cs b/Novaria.Common/Protos/StarTowerBookFateCardBundle.cs deleted file mode 100644 index 8d8bfc6..0000000 --- a/Novaria.Common/Protos/StarTowerBookFateCardBundle.cs +++ /dev/null @@ -1,635 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBookFateCardBundle.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 StarTowerBookFateCardBundle.proto</summary> - public static partial class StarTowerBookFateCardBundleReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBookFateCardBundle.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBookFateCardBundleReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiFTdGFyVG93ZXJCb29rRmF0ZUNhcmRCdW5kbGUucHJvdG8i+QEKG1N0YXJU", - "b3dlckJvb2tGYXRlQ2FyZEJ1bmRsZRIKCgJpZBgBIAEoBRIMCgRuYW1lGAIg", - "ASgJEhIKCnNob3J0X25hbWUYAyABKAkSDwoHc29ydF9pZBgEIAEoBRILCgN0", - "YWcYBSABKAkSEgoKc21hbGxfaWNvbhgGIAEoCRITCgtidW5kbGVfaWNvbhgH", - "IAEoCRIMCgRpY29uGAggASgJEhMKC3dvcmxkX2NsYXNzGAkgASgFEhUKDXN0", - "YXJfdG93ZXJfaWQYCiABKAUSFQoNY29sbGVjdF9jYXJkcxgLIAMoBRIUCgx1", - "bmxvY2tfY2FyZHMYDCADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCardBundle), global::Nova.Client.StarTowerBookFateCardBundle.Parser, new[]{ "Id", "Name", "ShortName", "SortId", "Tag", "SmallIcon", "BundleIcon", "Icon", "WorldClass", "StarTowerId", "CollectCards", "UnlockCards" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBookFateCardBundle : pb::IMessage<StarTowerBookFateCardBundle> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBookFateCardBundle> _parser = new pb::MessageParser<StarTowerBookFateCardBundle>(() => new StarTowerBookFateCardBundle()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBookFateCardBundle> 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.StarTowerBookFateCardBundleReflection.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 StarTowerBookFateCardBundle() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookFateCardBundle(StarTowerBookFateCardBundle other) : this() { - id_ = other.id_; - name_ = other.name_; - shortName_ = other.shortName_; - sortId_ = other.sortId_; - tag_ = other.tag_; - smallIcon_ = other.smallIcon_; - bundleIcon_ = other.bundleIcon_; - icon_ = other.icon_; - worldClass_ = other.worldClass_; - starTowerId_ = other.starTowerId_; - collectCards_ = other.collectCards_.Clone(); - unlockCards_ = other.unlockCards_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookFateCardBundle Clone() { - return new StarTowerBookFateCardBundle(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 "short_name" field.</summary> - public const int ShortNameFieldNumber = 3; - private string shortName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ShortName { - get { return shortName_; } - set { - shortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "sort_id" field.</summary> - public const int SortIdFieldNumber = 4; - private int sortId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SortId { - get { return sortId_; } - set { - sortId_ = value; - } - } - - /// <summary>Field number for the "tag" field.</summary> - public const int TagFieldNumber = 5; - private string tag_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Tag { - get { return tag_; } - set { - tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "small_icon" field.</summary> - public const int SmallIconFieldNumber = 6; - private string smallIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SmallIcon { - get { return smallIcon_; } - set { - smallIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bundle_icon" field.</summary> - public const int BundleIconFieldNumber = 7; - private string bundleIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BundleIcon { - get { return bundleIcon_; } - set { - bundleIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "icon" field.</summary> - public const int IconFieldNumber = 8; - 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 "world_class" field.</summary> - public const int WorldClassFieldNumber = 9; - private int worldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClass { - get { return worldClass_; } - set { - worldClass_ = value; - } - } - - /// <summary>Field number for the "star_tower_id" field.</summary> - public const int StarTowerIdFieldNumber = 10; - private int starTowerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StarTowerId { - get { return starTowerId_; } - set { - starTowerId_ = value; - } - } - - /// <summary>Field number for the "collect_cards" field.</summary> - public const int CollectCardsFieldNumber = 11; - private static readonly pb::FieldCodec<int> _repeated_collectCards_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField<int> collectCards_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> CollectCards { - get { return collectCards_; } - } - - /// <summary>Field number for the "unlock_cards" field.</summary> - public const int UnlockCardsFieldNumber = 12; - private static readonly pb::FieldCodec<int> _repeated_unlockCards_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField<int> unlockCards_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> UnlockCards { - get { return unlockCards_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBookFateCardBundle); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBookFateCardBundle 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 (ShortName != other.ShortName) return false; - if (SortId != other.SortId) return false; - if (Tag != other.Tag) return false; - if (SmallIcon != other.SmallIcon) return false; - if (BundleIcon != other.BundleIcon) return false; - if (Icon != other.Icon) return false; - if (WorldClass != other.WorldClass) return false; - if (StarTowerId != other.StarTowerId) return false; - if(!collectCards_.Equals(other.collectCards_)) return false; - if(!unlockCards_.Equals(other.unlockCards_)) 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 (ShortName.Length != 0) hash ^= ShortName.GetHashCode(); - if (SortId != 0) hash ^= SortId.GetHashCode(); - if (Tag.Length != 0) hash ^= Tag.GetHashCode(); - if (SmallIcon.Length != 0) hash ^= SmallIcon.GetHashCode(); - if (BundleIcon.Length != 0) hash ^= BundleIcon.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); - if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); - hash ^= collectCards_.GetHashCode(); - hash ^= unlockCards_.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 (ShortName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ShortName); - } - if (SortId != 0) { - output.WriteRawTag(32); - output.WriteInt32(SortId); - } - if (Tag.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Tag); - } - if (SmallIcon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(SmallIcon); - } - if (BundleIcon.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BundleIcon); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (WorldClass != 0) { - output.WriteRawTag(72); - output.WriteInt32(WorldClass); - } - if (StarTowerId != 0) { - output.WriteRawTag(80); - output.WriteInt32(StarTowerId); - } - collectCards_.WriteTo(output, _repeated_collectCards_codec); - unlockCards_.WriteTo(output, _repeated_unlockCards_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (ShortName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ShortName); - } - if (SortId != 0) { - output.WriteRawTag(32); - output.WriteInt32(SortId); - } - if (Tag.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Tag); - } - if (SmallIcon.Length != 0) { - output.WriteRawTag(50); - output.WriteString(SmallIcon); - } - if (BundleIcon.Length != 0) { - output.WriteRawTag(58); - output.WriteString(BundleIcon); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (WorldClass != 0) { - output.WriteRawTag(72); - output.WriteInt32(WorldClass); - } - if (StarTowerId != 0) { - output.WriteRawTag(80); - output.WriteInt32(StarTowerId); - } - collectCards_.WriteTo(ref output, _repeated_collectCards_codec); - unlockCards_.WriteTo(ref output, _repeated_unlockCards_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (ShortName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName); - } - if (SortId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); - } - if (Tag.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); - } - if (SmallIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallIcon); - } - if (BundleIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BundleIcon); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (WorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); - } - if (StarTowerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); - } - size += collectCards_.CalculateSize(_repeated_collectCards_codec); - size += unlockCards_.CalculateSize(_repeated_unlockCards_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerBookFateCardBundle other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.ShortName.Length != 0) { - ShortName = other.ShortName; - } - if (other.SortId != 0) { - SortId = other.SortId; - } - if (other.Tag.Length != 0) { - Tag = other.Tag; - } - if (other.SmallIcon.Length != 0) { - SmallIcon = other.SmallIcon; - } - if (other.BundleIcon.Length != 0) { - BundleIcon = other.BundleIcon; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.WorldClass != 0) { - WorldClass = other.WorldClass; - } - if (other.StarTowerId != 0) { - StarTowerId = other.StarTowerId; - } - collectCards_.Add(other.collectCards_); - unlockCards_.Add(other.unlockCards_); - _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 26: { - ShortName = input.ReadString(); - break; - } - case 32: { - SortId = input.ReadInt32(); - break; - } - case 42: { - Tag = input.ReadString(); - break; - } - case 50: { - SmallIcon = input.ReadString(); - break; - } - case 58: { - BundleIcon = input.ReadString(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 72: { - WorldClass = input.ReadInt32(); - break; - } - case 80: { - StarTowerId = input.ReadInt32(); - break; - } - case 90: - case 88: { - collectCards_.AddEntriesFrom(input, _repeated_collectCards_codec); - break; - } - case 98: - case 96: { - unlockCards_.AddEntriesFrom(input, _repeated_unlockCards_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 18: { - Name = input.ReadString(); - break; - } - case 26: { - ShortName = input.ReadString(); - break; - } - case 32: { - SortId = input.ReadInt32(); - break; - } - case 42: { - Tag = input.ReadString(); - break; - } - case 50: { - SmallIcon = input.ReadString(); - break; - } - case 58: { - BundleIcon = input.ReadString(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 72: { - WorldClass = input.ReadInt32(); - break; - } - case 80: { - StarTowerId = input.ReadInt32(); - break; - } - case 90: - case 88: { - collectCards_.AddEntriesFrom(ref input, _repeated_collectCards_codec); - break; - } - case 98: - case 96: { - unlockCards_.AddEntriesFrom(ref input, _repeated_unlockCards_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookFateCardQuest.cs b/Novaria.Common/Protos/StarTowerBookFateCardQuest.cs deleted file mode 100644 index 09e48e6..0000000 --- a/Novaria.Common/Protos/StarTowerBookFateCardQuest.cs +++ /dev/null @@ -1,615 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBookFateCardQuest.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 StarTowerBookFateCardQuest.proto</summary> - public static partial class StarTowerBookFateCardQuestReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBookFateCardQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBookFateCardQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiBTdGFyVG93ZXJCb29rRmF0ZUNhcmRRdWVzdC5wcm90byLJAQoaU3RhclRv", - "d2VyQm9va0ZhdGVDYXJkUXVlc3QSCgoCaWQYASABKAUSEQoJYnVuZGxlX2lk", - "GAIgASgFEgwKBGRlc2MYAyABKAkSEwoLZmluaXNoX3R5cGUYBCABKAUSFQoN", - "ZmluaXNoX3BhcmFtcxgFIAEoCRIMCgR0aWQxGAYgASgFEgwKBHF0eTEYByAB", - "KAUSDAoEdGlkMhgIIAEoBRIMCgRxdHkyGAkgASgFEgwKBHRpZDMYCiABKAUS", - "DAoEcXR5MxgLIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCardQuest), global::Nova.Client.StarTowerBookFateCardQuest.Parser, new[]{ "Id", "BundleId", "Desc", "FinishType", "FinishParams", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBookFateCardQuest : pb::IMessage<StarTowerBookFateCardQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBookFateCardQuest> _parser = new pb::MessageParser<StarTowerBookFateCardQuest>(() => new StarTowerBookFateCardQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBookFateCardQuest> 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.StarTowerBookFateCardQuestReflection.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 StarTowerBookFateCardQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookFateCardQuest(StarTowerBookFateCardQuest other) : this() { - id_ = other.id_; - bundleId_ = other.bundleId_; - desc_ = other.desc_; - finishType_ = other.finishType_; - finishParams_ = other.finishParams_; - tid1_ = other.tid1_; - qty1_ = other.qty1_; - tid2_ = other.tid2_; - qty2_ = other.qty2_; - tid3_ = other.tid3_; - qty3_ = other.qty3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookFateCardQuest Clone() { - return new StarTowerBookFateCardQuest(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 "bundle_id" field.</summary> - public const int BundleIdFieldNumber = 2; - private int bundleId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BundleId { - get { return bundleId_; } - set { - bundleId_ = value; - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "finish_type" field.</summary> - public const int FinishTypeFieldNumber = 4; - private int finishType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinishType { - get { return finishType_; } - set { - finishType_ = value; - } - } - - /// <summary>Field number for the "finish_params" field.</summary> - public const int FinishParamsFieldNumber = 5; - private string finishParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FinishParams { - get { return finishParams_; } - set { - finishParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "tid1" field.</summary> - public const int Tid1FieldNumber = 6; - private int tid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid1 { - get { return tid1_; } - set { - tid1_ = value; - } - } - - /// <summary>Field number for the "qty1" field.</summary> - public const int Qty1FieldNumber = 7; - private int qty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty1 { - get { return qty1_; } - set { - qty1_ = value; - } - } - - /// <summary>Field number for the "tid2" field.</summary> - public const int Tid2FieldNumber = 8; - private int tid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid2 { - get { return tid2_; } - set { - tid2_ = value; - } - } - - /// <summary>Field number for the "qty2" field.</summary> - public const int Qty2FieldNumber = 9; - private int qty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty2 { - get { return qty2_; } - set { - qty2_ = value; - } - } - - /// <summary>Field number for the "tid3" field.</summary> - public const int Tid3FieldNumber = 10; - private int tid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid3 { - get { return tid3_; } - set { - tid3_ = value; - } - } - - /// <summary>Field number for the "qty3" field.</summary> - public const int Qty3FieldNumber = 11; - private int qty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty3 { - get { return qty3_; } - set { - qty3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBookFateCardQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBookFateCardQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BundleId != other.BundleId) return false; - if (Desc != other.Desc) return false; - if (FinishType != other.FinishType) return false; - if (FinishParams != other.FinishParams) return false; - if (Tid1 != other.Tid1) return false; - if (Qty1 != other.Qty1) return false; - if (Tid2 != other.Tid2) return false; - if (Qty2 != other.Qty2) return false; - if (Tid3 != other.Tid3) return false; - if (Qty3 != other.Qty3) 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 (BundleId != 0) hash ^= BundleId.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (FinishType != 0) hash ^= FinishType.GetHashCode(); - if (FinishParams.Length != 0) hash ^= FinishParams.GetHashCode(); - if (Tid1 != 0) hash ^= Tid1.GetHashCode(); - if (Qty1 != 0) hash ^= Qty1.GetHashCode(); - if (Tid2 != 0) hash ^= Tid2.GetHashCode(); - if (Qty2 != 0) hash ^= Qty2.GetHashCode(); - if (Tid3 != 0) hash ^= Tid3.GetHashCode(); - if (Qty3 != 0) hash ^= Qty3.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 (BundleId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BundleId); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (FinishType != 0) { - output.WriteRawTag(32); - output.WriteInt32(FinishType); - } - if (FinishParams.Length != 0) { - output.WriteRawTag(42); - output.WriteString(FinishParams); - } - if (Tid1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Qty3); - } - 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 (BundleId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BundleId); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (FinishType != 0) { - output.WriteRawTag(32); - output.WriteInt32(FinishType); - } - if (FinishParams.Length != 0) { - output.WriteRawTag(42); - output.WriteString(FinishParams); - } - if (Tid1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Tid1); - } - if (Qty1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Qty1); - } - if (Tid2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Tid2); - } - if (Qty2 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Qty2); - } - if (Tid3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Tid3); - } - if (Qty3 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Qty3); - } - 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 (BundleId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BundleId); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (FinishType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinishType); - } - if (FinishParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FinishParams); - } - if (Tid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); - } - if (Qty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); - } - if (Tid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); - } - if (Qty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); - } - if (Tid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); - } - if (Qty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerBookFateCardQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BundleId != 0) { - BundleId = other.BundleId; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.FinishType != 0) { - FinishType = other.FinishType; - } - if (other.FinishParams.Length != 0) { - FinishParams = other.FinishParams; - } - if (other.Tid1 != 0) { - Tid1 = other.Tid1; - } - if (other.Qty1 != 0) { - Qty1 = other.Qty1; - } - if (other.Tid2 != 0) { - Tid2 = other.Tid2; - } - if (other.Qty2 != 0) { - Qty2 = other.Qty2; - } - if (other.Tid3 != 0) { - Tid3 = other.Tid3; - } - if (other.Qty3 != 0) { - Qty3 = other.Qty3; - } - _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: { - BundleId = input.ReadInt32(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - FinishType = input.ReadInt32(); - break; - } - case 42: { - FinishParams = input.ReadString(); - break; - } - case 48: { - Tid1 = input.ReadInt32(); - break; - } - case 56: { - Qty1 = input.ReadInt32(); - break; - } - case 64: { - Tid2 = input.ReadInt32(); - break; - } - case 72: { - Qty2 = input.ReadInt32(); - break; - } - case 80: { - Tid3 = input.ReadInt32(); - break; - } - case 88: { - Qty3 = 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: { - BundleId = input.ReadInt32(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - FinishType = input.ReadInt32(); - break; - } - case 42: { - FinishParams = input.ReadString(); - break; - } - case 48: { - Tid1 = input.ReadInt32(); - break; - } - case 56: { - Qty1 = input.ReadInt32(); - break; - } - case 64: { - Tid2 = input.ReadInt32(); - break; - } - case 72: { - Qty2 = input.ReadInt32(); - break; - } - case 80: { - Tid3 = input.ReadInt32(); - break; - } - case 88: { - Qty3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookPotentialBriefListGet.cs b/Novaria.Common/Protos/StarTowerBookPotentialBriefListGet.cs new file mode 100644 index 0000000..a07b529 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBookPotentialBriefListGet.cs @@ -0,0 +1,270 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_book_potential_brief_list_get.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_book_potential_brief_list_get.proto</summary> + public static partial class StarTowerBookPotentialBriefListGetReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_book_potential_brief_list_get.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBookPotentialBriefListGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci5zdGFyX3Rvd2VyX2Jvb2tfcG90ZW50aWFsX2JyaWVmX2xpc3RfZ2V0LnBy", + "b3RvEgVwcm90bxoMcHVibGljLnByb3RvGhdwdWJsaWNfc3Rhcl90b3dlci5w", + "cm90byJyCiNTdGFyVG93ZXJCb29rUG90ZW50aWFsQnJpZWZMaXN0UmVzcBI1", + "CgVJbmZvcxgBIAMoCzImLnByb3RvLlN0YXJUb3dlckJvb2tDaGFyUG90ZW50", + "aWFsQnJpZWYSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABQAWIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookPotentialBriefListResp), global::Proto.StarTowerBookPotentialBriefListResp.Parser, new[]{ "Infos", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookPotentialBriefListResp : pb::IMessage<StarTowerBookPotentialBriefListResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookPotentialBriefListResp> _parser = new pb::MessageParser<StarTowerBookPotentialBriefListResp>(() => new StarTowerBookPotentialBriefListResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookPotentialBriefListResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBookPotentialBriefListGetReflection.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 StarTowerBookPotentialBriefListResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialBriefListResp(StarTowerBookPotentialBriefListResp other) : this() { + infos_ = other.infos_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialBriefListResp Clone() { + return new StarTowerBookPotentialBriefListResp(this); + } + + /// <summary>Field number for the "Infos" field.</summary> + public const int InfosFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.StarTowerBookCharPotentialBrief> _repeated_infos_codec + = pb::FieldCodec.ForMessage(10, global::Proto.StarTowerBookCharPotentialBrief.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerBookCharPotentialBrief> infos_ = new pbc::RepeatedField<global::Proto.StarTowerBookCharPotentialBrief>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerBookCharPotentialBrief> Infos { + get { return infos_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookPotentialBriefListResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookPotentialBriefListResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!infos_.Equals(other.infos_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= infos_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + infos_.WriteTo(output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + infos_.WriteTo(ref output, _repeated_infos_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += infos_.CalculateSize(_repeated_infos_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookPotentialBriefListResp other) { + if (other == null) { + return; + } + infos_.Add(other.infos_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookPotentialReward.cs b/Novaria.Common/Protos/StarTowerBookPotentialReward.cs deleted file mode 100644 index 852da73..0000000 --- a/Novaria.Common/Protos/StarTowerBookPotentialReward.cs +++ /dev/null @@ -1,503 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerBookPotentialReward.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 StarTowerBookPotentialReward.proto</summary> - public static partial class StarTowerBookPotentialRewardReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerBookPotentialReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerBookPotentialRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJTdGFyVG93ZXJCb29rUG90ZW50aWFsUmV3YXJkLnByb3RvIpgBChxTdGFy", - "VG93ZXJCb29rUG90ZW50aWFsUmV3YXJkEgoKAmlkGAEgASgFEg8KB2NoYXJf", - "aWQYAiABKAUSDAoEZGVzYxgDIAEoCRIMCgRzb3J0GAQgASgFEgwKBGNvbmQY", - "BSABKAUSDgoGcGFyYW1zGAYgASgJEg8KB2l0ZW1faWQYByABKAUSEAoIaXRl", - "bV9xdHkYCCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookPotentialReward), global::Nova.Client.StarTowerBookPotentialReward.Parser, new[]{ "Id", "CharId", "Desc", "Sort", "Cond", "Params", "ItemId", "ItemQty" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerBookPotentialReward : pb::IMessage<StarTowerBookPotentialReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerBookPotentialReward> _parser = new pb::MessageParser<StarTowerBookPotentialReward>(() => new StarTowerBookPotentialReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerBookPotentialReward> 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.StarTowerBookPotentialRewardReflection.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 StarTowerBookPotentialReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookPotentialReward(StarTowerBookPotentialReward other) : this() { - id_ = other.id_; - charId_ = other.charId_; - desc_ = other.desc_; - sort_ = other.sort_; - cond_ = other.cond_; - params_ = other.params_; - itemId_ = other.itemId_; - itemQty_ = other.itemQty_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerBookPotentialReward Clone() { - return new StarTowerBookPotentialReward(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 "char_id" field.</summary> - public const int CharIdFieldNumber = 2; - 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 "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "sort" field.</summary> - public const int SortFieldNumber = 4; - 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 "cond" field.</summary> - public const int CondFieldNumber = 5; - private int cond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Cond { - get { return cond_; } - set { - cond_ = value; - } - } - - /// <summary>Field number for the "params" field.</summary> - public const int ParamsFieldNumber = 6; - private string params_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Params { - get { return params_; } - set { - params_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "item_id" field.</summary> - public const int ItemIdFieldNumber = 7; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// <summary>Field number for the "item_qty" field.</summary> - public const int ItemQtyFieldNumber = 8; - private int itemQty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty { - get { return itemQty_; } - set { - itemQty_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerBookPotentialReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerBookPotentialReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CharId != other.CharId) return false; - if (Desc != other.Desc) return false; - if (Sort != other.Sort) return false; - if (Cond != other.Cond) return false; - if (Params != other.Params) return false; - if (ItemId != other.ItemId) return false; - if (ItemQty != other.ItemQty) 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 (CharId != 0) hash ^= CharId.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (Cond != 0) hash ^= Cond.GetHashCode(); - if (Params.Length != 0) hash ^= Params.GetHashCode(); - if (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (ItemQty != 0) hash ^= ItemQty.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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Sort != 0) { - output.WriteRawTag(32); - output.WriteInt32(Sort); - } - if (Cond != 0) { - output.WriteRawTag(40); - output.WriteInt32(Cond); - } - if (Params.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Params); - } - if (ItemId != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(64); - output.WriteInt32(ItemQty); - } - 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 (CharId != 0) { - output.WriteRawTag(16); - output.WriteInt32(CharId); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Sort != 0) { - output.WriteRawTag(32); - output.WriteInt32(Sort); - } - if (Cond != 0) { - output.WriteRawTag(40); - output.WriteInt32(Cond); - } - if (Params.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Params); - } - if (ItemId != 0) { - output.WriteRawTag(56); - output.WriteInt32(ItemId); - } - if (ItemQty != 0) { - output.WriteRawTag(64); - output.WriteInt32(ItemQty); - } - 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 (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Cond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond); - } - if (Params.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); - } - if (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (ItemQty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerBookPotentialReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Cond != 0) { - Cond = other.Cond; - } - if (other.Params.Length != 0) { - Params = other.Params; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.ItemQty != 0) { - ItemQty = other.ItemQty; - } - _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: { - CharId = input.ReadInt32(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - Sort = input.ReadInt32(); - break; - } - case 40: { - Cond = input.ReadInt32(); - break; - } - case 50: { - Params = input.ReadString(); - break; - } - case 56: { - ItemId = input.ReadInt32(); - break; - } - case 64: { - ItemQty = 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: { - CharId = input.ReadInt32(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - Sort = input.ReadInt32(); - break; - } - case 40: { - Cond = input.ReadInt32(); - break; - } - case 50: { - Params = input.ReadString(); - break; - } - case 56: { - ItemId = input.ReadInt32(); - break; - } - case 64: { - ItemQty = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBookPotentialRewardReceive.cs b/Novaria.Common/Protos/StarTowerBookPotentialRewardReceive.cs new file mode 100644 index 0000000..4b6ad81 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBookPotentialRewardReceive.cs @@ -0,0 +1,319 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_book_potential_reward_receive.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_book_potential_reward_receive.proto</summary> + public static partial class StarTowerBookPotentialRewardReceiveReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_book_potential_reward_receive.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBookPotentialRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ci5zdGFyX3Rvd2VyX2Jvb2tfcG90ZW50aWFsX3Jld2FyZF9yZWNlaXZlLnBy", + "b3RvEgVwcm90bxoMcHVibGljLnByb3RvGhdwdWJsaWNfc3Rhcl90b3dlci5w", + "cm90byJ3CidTdGFyVG93ZXJCb29rUG90ZW50aWFsUmV3YXJkUmVjZWl2ZVJl", + "c3ASIQoGQ2hhbmdlGAEgASgLMhEucHJvdG8uQ2hhbmdlSW5mbxITCgtSZWNl", + "aXZlZElkcxgCIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAxQAFABYgZwcm90", + "bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBookPotentialRewardReceiveResp), global::Proto.StarTowerBookPotentialRewardReceiveResp.Parser, new[]{ "Change", "ReceivedIds", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookPotentialRewardReceiveResp : pb::IMessage<StarTowerBookPotentialRewardReceiveResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookPotentialRewardReceiveResp> _parser = new pb::MessageParser<StarTowerBookPotentialRewardReceiveResp>(() => new StarTowerBookPotentialRewardReceiveResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookPotentialRewardReceiveResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBookPotentialRewardReceiveReflection.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 StarTowerBookPotentialRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialRewardReceiveResp(StarTowerBookPotentialRewardReceiveResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + receivedIds_ = other.receivedIds_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialRewardReceiveResp Clone() { + return new StarTowerBookPotentialRewardReceiveResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "ReceivedIds" field.</summary> + public const int ReceivedIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_receivedIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> receivedIds_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> ReceivedIds { + get { return receivedIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBookPotentialRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookPotentialRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if(!receivedIds_.Equals(other.receivedIds_)) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + hash ^= receivedIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + receivedIds_.WriteTo(output, _repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + receivedIds_.WriteTo(ref output, _repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + size += receivedIds_.CalculateSize(_repeated_receivedIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookPotentialRewardReceiveResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + receivedIds_.Add(other.receivedIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: + case 16: { + receivedIds_.AddEntriesFrom(input, _repeated_receivedIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: + case 16: { + receivedIds_.AddEntriesFrom(ref input, _repeated_receivedIds_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerBuildBriefListGet.cs b/Novaria.Common/Protos/StarTowerBuildBriefListGet.cs new file mode 100644 index 0000000..3ef4fa9 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBuildBriefListGet.cs @@ -0,0 +1,270 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_build_brief_list_get.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_build_brief_list_get.proto</summary> + public static partial class StarTowerBuildBriefListGetReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_build_brief_list_get.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBuildBriefListGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiVzdGFyX3Rvd2VyX2J1aWxkX2JyaWVmX2xpc3RfZ2V0LnByb3RvEgVwcm90", + "bxoXcHVibGljX3N0YXJfdG93ZXIucHJvdG8iYgoeU3RhclRvd2VyQnVpbGRC", + "cmllZkxpc3RHZXRSZXNwEioKBkJyaWVmcxgBIAMoCzIaLnByb3RvLlN0YXJU", + "b3dlckJ1aWxkQnJpZWYSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3Rv", + "Mw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildBriefListGetResp), global::Proto.StarTowerBuildBriefListGetResp.Parser, new[]{ "Briefs", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildBriefListGetResp : pb::IMessage<StarTowerBuildBriefListGetResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildBriefListGetResp> _parser = new pb::MessageParser<StarTowerBuildBriefListGetResp>(() => new StarTowerBuildBriefListGetResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildBriefListGetResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBuildBriefListGetReflection.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 StarTowerBuildBriefListGetResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildBriefListGetResp(StarTowerBuildBriefListGetResp other) : this() { + briefs_ = other.briefs_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildBriefListGetResp Clone() { + return new StarTowerBuildBriefListGetResp(this); + } + + /// <summary>Field number for the "Briefs" field.</summary> + public const int BriefsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.StarTowerBuildBrief> _repeated_briefs_codec + = pb::FieldCodec.ForMessage(10, global::Proto.StarTowerBuildBrief.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerBuildBrief> briefs_ = new pbc::RepeatedField<global::Proto.StarTowerBuildBrief>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerBuildBrief> Briefs { + get { return briefs_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildBriefListGetResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildBriefListGetResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!briefs_.Equals(other.briefs_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= briefs_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + briefs_.WriteTo(output, _repeated_briefs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + briefs_.WriteTo(ref output, _repeated_briefs_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += briefs_.CalculateSize(_repeated_briefs_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildBriefListGetResp other) { + if (other == null) { + return; + } + briefs_.Add(other.briefs_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + briefs_.AddEntriesFrom(input, _repeated_briefs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + briefs_.AddEntriesFrom(ref input, _repeated_briefs_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerShopGoodsGroup.cs b/Novaria.Common/Protos/StarTowerBuildDelete.cs similarity index 64% rename from Novaria.Common/Protos/StarTowerShopGoodsGroup.cs rename to Novaria.Common/Protos/StarTowerBuildDelete.cs index cacb302..0287562 100644 --- a/Novaria.Common/Protos/StarTowerShopGoodsGroup.cs +++ b/Novaria.Common/Protos/StarTowerBuildDelete.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerShopGoodsGroup.proto +// source: star_tower_build_delete.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from StarTowerShopGoodsGroup.proto</summary> - public static partial class StarTowerShopGoodsGroupReflection { + /// <summary>Holder for reflection information generated from star_tower_build_delete.proto</summary> + public static partial class StarTowerBuildDeleteReflection { #region Descriptor - /// <summary>File descriptor for StarTowerShopGoodsGroup.proto</summary> + /// <summary>File descriptor for star_tower_build_delete.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerShopGoodsGroupReflection() { + static StarTowerBuildDeleteReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Ch1TdGFyVG93ZXJTaG9wR29vZHNHcm91cC5wcm90byI4ChdTdGFyVG93ZXJT", - "aG9wR29vZHNHcm91cBIKCgJpZBgBIAEoBRIRCglzaG93X2l0ZW0YAiABKAVC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "Ch1zdGFyX3Rvd2VyX2J1aWxkX2RlbGV0ZS5wcm90bxIFcHJvdG8aF3B1Ymxp", + "Y19zdGFyX3Rvd2VyLnByb3RvIkEKF1N0YXJUb3dlckJ1aWxkRGVsZXRlUmVx", + "EhAKCEJ1aWxkSWRzGAEgAygEEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerShopGoodsGroup), global::Nova.Client.StarTowerShopGoodsGroup.Parser, new[]{ "Id", "ShowItem" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildDeleteReq), global::Proto.StarTowerBuildDeleteReq.Parser, new[]{ "BuildIds", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerShopGoodsGroup : pb::IMessage<StarTowerShopGoodsGroup> + public sealed partial class StarTowerBuildDeleteReq : pb::IMessage<StarTowerBuildDeleteReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<StarTowerShopGoodsGroup> _parser = new pb::MessageParser<StarTowerShopGoodsGroup>(() => new StarTowerShopGoodsGroup()); + private static readonly pb::MessageParser<StarTowerBuildDeleteReq> _parser = new pb::MessageParser<StarTowerBuildDeleteReq>(() => new StarTowerBuildDeleteReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerShopGoodsGroup> Parser { get { return _parser; } } + public static pb::MessageParser<StarTowerBuildDeleteReq> 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.StarTowerShopGoodsGroupReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.StarTowerBuildDeleteReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerShopGoodsGroup() { + public StarTowerBuildDeleteReq() { OnConstruction(); } @@ -71,59 +72,58 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerShopGoodsGroup(StarTowerShopGoodsGroup other) : this() { - id_ = other.id_; - showItem_ = other.showItem_; + public StarTowerBuildDeleteReq(StarTowerBuildDeleteReq other) : this() { + buildIds_ = other.buildIds_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerShopGoodsGroup Clone() { - return new StarTowerShopGoodsGroup(this); + public StarTowerBuildDeleteReq Clone() { + return new StarTowerBuildDeleteReq(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "BuildIds" field.</summary> + public const int BuildIdsFieldNumber = 1; + private static readonly pb::FieldCodec<ulong> _repeated_buildIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField<ulong> buildIds_ = new pbc::RepeatedField<ulong>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } - set { - id_ = value; - } + public pbc::RepeatedField<ulong> BuildIds { + get { return buildIds_; } } - /// <summary>Field number for the "show_item" field.</summary> - public const int ShowItemFieldNumber = 2; - private int showItem_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShowItem { - get { return showItem_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - showItem_ = value; + nextPackage_ = 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 StarTowerShopGoodsGroup); + return Equals(other as StarTowerBuildDeleteReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerShopGoodsGroup other) { + public bool Equals(StarTowerBuildDeleteReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (ShowItem != other.ShowItem) return false; + if(!buildIds_.Equals(other.buildIds_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -131,8 +131,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (ShowItem != 0) hash ^= ShowItem.GetHashCode(); + hash ^= buildIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -151,13 +151,10 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (ShowItem != 0) { - output.WriteRawTag(16); - output.WriteInt32(ShowItem); + buildIds_.WriteTo(output, _repeated_buildIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -169,13 +166,10 @@ namespace Nova.Client { [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 (ShowItem != 0) { - output.WriteRawTag(16); - output.WriteInt32(ShowItem); + buildIds_.WriteTo(ref output, _repeated_buildIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -187,11 +181,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); - } - if (ShowItem != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowItem); + size += buildIds_.CalculateSize(_repeated_buildIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -201,15 +193,13 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerShopGoodsGroup other) { + public void MergeFrom(StarTowerBuildDeleteReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ShowItem != 0) { - ShowItem = other.ShowItem; + buildIds_.Add(other.buildIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -230,12 +220,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + buildIds_.AddEntriesFrom(input, _repeated_buildIds_codec); break; } - case 16: { - ShowItem = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -257,12 +248,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + buildIds_.AddEntriesFrom(ref input, _repeated_buildIds_codec); break; } - case 16: { - ShowItem = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/StarTowerBuildDetailGet.cs b/Novaria.Common/Protos/StarTowerBuildDetailGet.cs new file mode 100644 index 0000000..53e5e3f --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBuildDetailGet.cs @@ -0,0 +1,527 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_build_detail_get.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_build_detail_get.proto</summary> + public static partial class StarTowerBuildDetailGetReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_build_detail_get.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBuildDetailGetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFzdGFyX3Rvd2VyX2J1aWxkX2RldGFpbF9nZXQucHJvdG8SBXByb3RvGhdw", + "dWJsaWNfc3Rhcl90b3dlci5wcm90byJDChpTdGFyVG93ZXJCdWlsZERldGFp", + "bEdldFJlcRIPCgdCdWlsZElkGAEgASgEEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCJgChtTdGFyVG93ZXJCdWlsZERldGFpbEdldFJlc3ASKwoGRGV0YWlsGAEg", + "ASgLMhsucHJvdG8uU3RhclRvd2VyQnVpbGREZXRhaWwSFAoLTmV4dFBhY2th", + "Z2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildDetailGetReq), global::Proto.StarTowerBuildDetailGetReq.Parser, new[]{ "BuildId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildDetailGetResp), global::Proto.StarTowerBuildDetailGetResp.Parser, new[]{ "Detail", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildDetailGetReq : pb::IMessage<StarTowerBuildDetailGetReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildDetailGetReq> _parser = new pb::MessageParser<StarTowerBuildDetailGetReq>(() => new StarTowerBuildDetailGetReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildDetailGetReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBuildDetailGetReflection.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 StarTowerBuildDetailGetReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetailGetReq(StarTowerBuildDetailGetReq other) : this() { + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetailGetReq Clone() { + return new StarTowerBuildDetailGetReq(this); + } + + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 1; + private ulong buildId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId { + get { return buildId_; } + set { + buildId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildDetailGetReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildDetailGetReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) 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 (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (BuildId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BuildId != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(BuildId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildDetailGetReq other) { + if (other == null) { + return; + } + if (other.BuildId != 0UL) { + BuildId = other.BuildId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + BuildId = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildDetailGetResp : pb::IMessage<StarTowerBuildDetailGetResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildDetailGetResp> _parser = new pb::MessageParser<StarTowerBuildDetailGetResp>(() => new StarTowerBuildDetailGetResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildDetailGetResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBuildDetailGetReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetailGetResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetailGetResp(StarTowerBuildDetailGetResp other) : this() { + detail_ = other.detail_ != null ? other.detail_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildDetailGetResp Clone() { + return new StarTowerBuildDetailGetResp(this); + } + + /// <summary>Field number for the "Detail" field.</summary> + public const int DetailFieldNumber = 1; + private global::Proto.StarTowerBuildDetail detail_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBuildDetail Detail { + get { return detail_; } + set { + detail_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildDetailGetResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildDetailGetResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Detail, other.Detail)) return false; + if (NextPackage != other.NextPackage) 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 (detail_ != null) hash ^= Detail.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (detail_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Detail); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (detail_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Detail); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (detail_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Detail); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildDetailGetResp other) { + if (other == null) { + return; + } + if (other.detail_ != null) { + if (detail_ == null) { + Detail = new global::Proto.StarTowerBuildDetail(); + } + Detail.MergeFrom(other.Detail); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (detail_ == null) { + Detail = new global::Proto.StarTowerBuildDetail(); + } + input.ReadMessage(Detail); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (detail_ == null) { + Detail = new global::Proto.StarTowerBuildDetail(); + } + input.ReadMessage(Detail); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerRankScore.cs b/Novaria.Common/Protos/StarTowerBuildLockUnlock.cs similarity index 62% rename from Novaria.Common/Protos/StarTowerRankScore.cs rename to Novaria.Common/Protos/StarTowerBuildLockUnlock.cs index 5d82e60..1261127 100644 --- a/Novaria.Common/Protos/StarTowerRankScore.cs +++ b/Novaria.Common/Protos/StarTowerBuildLockUnlock.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerRankScore.proto +// source: star_tower_build_lock_unlock.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from StarTowerRankScore.proto</summary> - public static partial class StarTowerRankScoreReflection { + /// <summary>Holder for reflection information generated from star_tower_build_lock_unlock.proto</summary> + public static partial class StarTowerBuildLockUnlockReflection { #region Descriptor - /// <summary>File descriptor for StarTowerRankScore.proto</summary> + /// <summary>File descriptor for star_tower_build_lock_unlock.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerRankScoreReflection() { + static StarTowerBuildLockUnlockReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChhTdGFyVG93ZXJSYW5rU2NvcmUucHJvdG8iUwoSU3RhclRvd2VyUmFua1Nj", - "b3JlEhIKCmRpZmZpY3VsdHkYASABKAUSEgoKYmFzZV9zY29yZRgCIAEoBRIV", - "Cg1tYXhpbXVtX3Njb3JlGAMgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "CiJzdGFyX3Rvd2VyX2J1aWxkX2xvY2tfdW5sb2NrLnByb3RvEgVwcm90bxoX", + "cHVibGljX3N0YXJfdG93ZXIucHJvdG8iUgobU3RhclRvd2VyQnVpbGRMb2Nr", + "VW5sb2NrUmVxEg8KB0J1aWxkSWQYASABKAQSDAoETG9jaxgCIAEoCBIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankScore), global::Nova.Client.StarTowerRankScore.Parser, new[]{ "Difficulty", "BaseScore", "MaximumScore" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildLockUnlockReq), global::Proto.StarTowerBuildLockUnlockReq.Parser, new[]{ "BuildId", "Lock", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerRankScore : pb::IMessage<StarTowerRankScore> + public sealed partial class StarTowerBuildLockUnlockReq : pb::IMessage<StarTowerBuildLockUnlockReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<StarTowerRankScore> _parser = new pb::MessageParser<StarTowerRankScore>(() => new StarTowerRankScore()); + private static readonly pb::MessageParser<StarTowerBuildLockUnlockReq> _parser = new pb::MessageParser<StarTowerBuildLockUnlockReq>(() => new StarTowerBuildLockUnlockReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerRankScore> Parser { get { return _parser; } } + public static pb::MessageParser<StarTowerBuildLockUnlockReq> 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.StarTowerRankScoreReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.StarTowerBuildLockUnlockReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankScore() { + public StarTowerBuildLockUnlockReq() { OnConstruction(); } @@ -71,73 +72,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankScore(StarTowerRankScore other) : this() { - difficulty_ = other.difficulty_; - baseScore_ = other.baseScore_; - maximumScore_ = other.maximumScore_; + public StarTowerBuildLockUnlockReq(StarTowerBuildLockUnlockReq other) : this() { + buildId_ = other.buildId_; + lock_ = other.lock_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankScore Clone() { - return new StarTowerRankScore(this); + public StarTowerBuildLockUnlockReq Clone() { + return new StarTowerBuildLockUnlockReq(this); } - /// <summary>Field number for the "difficulty" field.</summary> - public const int DifficultyFieldNumber = 1; - private int difficulty_; + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 1; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Difficulty { - get { return difficulty_; } + public ulong BuildId { + get { return buildId_; } set { - difficulty_ = value; + buildId_ = value; } } - /// <summary>Field number for the "base_score" field.</summary> - public const int BaseScoreFieldNumber = 2; - private int baseScore_; + /// <summary>Field number for the "Lock" field.</summary> + public const int LockFieldNumber = 2; + private bool lock_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BaseScore { - get { return baseScore_; } + public bool Lock { + get { return lock_; } set { - baseScore_ = value; + lock_ = value; } } - /// <summary>Field number for the "maximum_score" field.</summary> - public const int MaximumScoreFieldNumber = 3; - private int maximumScore_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaximumScore { - get { return maximumScore_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - maximumScore_ = value; + nextPackage_ = 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 StarTowerRankScore); + return Equals(other as StarTowerBuildLockUnlockReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerRankScore other) { + public bool Equals(StarTowerBuildLockUnlockReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Difficulty != other.Difficulty) return false; - if (BaseScore != other.BaseScore) return false; - if (MaximumScore != other.MaximumScore) return false; + if (BuildId != other.BuildId) return false; + if (Lock != other.Lock) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); - if (BaseScore != 0) hash ^= BaseScore.GetHashCode(); - if (MaximumScore != 0) hash ^= MaximumScore.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (Lock != false) hash ^= Lock.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Difficulty != 0) { + if (BuildId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Difficulty); + output.WriteUInt64(BuildId); } - if (BaseScore != 0) { + if (Lock != false) { output.WriteRawTag(16); - output.WriteInt32(BaseScore); + output.WriteBool(Lock); } - if (MaximumScore != 0) { - output.WriteRawTag(24); - output.WriteInt32(MaximumScore); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Difficulty != 0) { + if (BuildId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Difficulty); + output.WriteUInt64(BuildId); } - if (BaseScore != 0) { + if (Lock != false) { output.WriteRawTag(16); - output.WriteInt32(BaseScore); + output.WriteBool(Lock); } - if (MaximumScore != 0) { - output.WriteRawTag(24); - output.WriteInt32(MaximumScore); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Difficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (BaseScore != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseScore); + if (Lock != false) { + size += 1 + 1; } - if (MaximumScore != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximumScore); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerRankScore other) { + public void MergeFrom(StarTowerBuildLockUnlockReq other) { if (other == null) { return; } - if (other.Difficulty != 0) { - Difficulty = other.Difficulty; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.BaseScore != 0) { - BaseScore = other.BaseScore; + if (other.Lock != false) { + Lock = other.Lock; } - if (other.MaximumScore != 0) { - MaximumScore = other.MaximumScore; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +261,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Difficulty = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } case 16: { - BaseScore = input.ReadInt32(); + Lock = input.ReadBool(); break; } - case 24: { - MaximumScore = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +292,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Difficulty = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } case 16: { - BaseScore = input.ReadInt32(); + Lock = input.ReadBool(); break; } - case 24: { - MaximumScore = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/MallPackagePage.cs b/Novaria.Common/Protos/StarTowerBuildNameSet.cs similarity index 68% rename from Novaria.Common/Protos/MallPackagePage.cs rename to Novaria.Common/Protos/StarTowerBuildNameSet.cs index c74a929..f60700c 100644 --- a/Novaria.Common/Protos/MallPackagePage.cs +++ b/Novaria.Common/Protos/StarTowerBuildNameSet.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MallPackagePage.proto +// source: star_tower_build_name_set.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from MallPackagePage.proto</summary> - public static partial class MallPackagePageReflection { + /// <summary>Holder for reflection information generated from star_tower_build_name_set.proto</summary> + public static partial class StarTowerBuildNameSetReflection { #region Descriptor - /// <summary>File descriptor for MallPackagePage.proto</summary> + /// <summary>File descriptor for star_tower_build_name_set.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static MallPackagePageReflection() { + static StarTowerBuildNameSetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChVNYWxsUGFja2FnZVBhZ2UucHJvdG8iOQoPTWFsbFBhY2thZ2VQYWdlEgoK", - "AmlkGAEgASgFEgwKBG5hbWUYAiABKAkSDAoEc29ydBgDIAEoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); + "Ch9zdGFyX3Rvd2VyX2J1aWxkX25hbWVfc2V0LnByb3RvEgVwcm90bxoXcHVi", + "bGljX3N0YXJfdG93ZXIucHJvdG8iTwoYU3RhclRvd2VyQnVpbGROYW1lU2V0", + "UmVxEg8KB0J1aWxkSWQYASABKAQSDAoETmFtZRgCIAEoCRIUCgtOZXh0UGFj", + "a2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallPackagePage), global::Nova.Client.MallPackagePage.Parser, new[]{ "Id", "Name", "Sort" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildNameSetReq), global::Proto.StarTowerBuildNameSetReq.Parser, new[]{ "BuildId", "Name", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class MallPackagePage : pb::IMessage<MallPackagePage> + public sealed partial class StarTowerBuildNameSetReq : pb::IMessage<StarTowerBuildNameSetReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<MallPackagePage> _parser = new pb::MessageParser<MallPackagePage>(() => new MallPackagePage()); + private static readonly pb::MessageParser<StarTowerBuildNameSetReq> _parser = new pb::MessageParser<StarTowerBuildNameSetReq>(() => new StarTowerBuildNameSetReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<MallPackagePage> Parser { get { return _parser; } } + public static pb::MessageParser<StarTowerBuildNameSetReq> 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.MallPackagePageReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.StarTowerBuildNameSetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallPackagePage() { + public StarTowerBuildNameSetReq() { OnConstruction(); } @@ -71,32 +72,32 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallPackagePage(MallPackagePage other) : this() { - id_ = other.id_; + public StarTowerBuildNameSetReq(StarTowerBuildNameSetReq other) : this() { + buildId_ = other.buildId_; name_ = other.name_; - sort_ = other.sort_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MallPackagePage Clone() { - return new MallPackagePage(this); + public StarTowerBuildNameSetReq Clone() { + return new StarTowerBuildNameSetReq(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 1; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public ulong BuildId { + get { return buildId_; } set { - id_ = value; + buildId_ = value; } } - /// <summary>Field number for the "name" field.</summary> + /// <summary>Field number for the "Name" field.</summary> public const int NameFieldNumber = 2; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -108,36 +109,36 @@ namespace Nova.Client { } } - /// <summary>Field number for the "sort" field.</summary> - public const int SortFieldNumber = 3; - private int sort_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - sort_ = value; + nextPackage_ = 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 MallPackagePage); + return Equals(other as StarTowerBuildNameSetReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MallPackagePage other) { + public bool Equals(StarTowerBuildNameSetReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; + if (BuildId != other.BuildId) return false; if (Name != other.Name) return false; - if (Sort != other.Sort) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (BuildId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(BuildId); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } - if (Sort != 0) { - output.WriteRawTag(24); - output.WriteInt32(Sort); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (BuildId != 0UL) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt64(BuildId); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } - if (Sort != 0) { - output.WriteRawTag(24); - output.WriteInt32(Sort); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MallPackagePage other) { + public void MergeFrom(StarTowerBuildNameSetReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } if (other.Name.Length != 0) { Name = other.Name; } - if (other.Sort != 0) { - Sort = other.Sort; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +261,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } case 18: { Name = input.ReadString(); break; } - case 24: { - Sort = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +292,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } case 18: { Name = input.ReadString(); break; } - case 24: { - Sort = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/DictionaryTopBarEntry.cs b/Novaria.Common/Protos/StarTowerBuildPreferenceSet.cs similarity index 57% rename from Novaria.Common/Protos/DictionaryTopBarEntry.cs rename to Novaria.Common/Protos/StarTowerBuildPreferenceSet.cs index 91ffc81..b2a53aa 100644 --- a/Novaria.Common/Protos/DictionaryTopBarEntry.cs +++ b/Novaria.Common/Protos/StarTowerBuildPreferenceSet.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DictionaryTopBarEntry.proto +// source: star_tower_build_preference_set.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from DictionaryTopBarEntry.proto</summary> - public static partial class DictionaryTopBarEntryReflection { + /// <summary>Holder for reflection information generated from star_tower_build_preference_set.proto</summary> + public static partial class StarTowerBuildPreferenceSetReflection { #region Descriptor - /// <summary>File descriptor for DictionaryTopBarEntry.proto</summary> + /// <summary>File descriptor for star_tower_build_preference_set.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static DictionaryTopBarEntryReflection() { + static StarTowerBuildPreferenceSetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChtEaWN0aW9uYXJ5VG9wQmFyRW50cnkucHJvdG8iSAoVRGljdGlvbmFyeVRv", - "cEJhckVudHJ5EgoKAmlkGAEgASgFEg0KBXRpdGxlGAIgASgJEhQKDGRpYWdy", - "YW1fbGlzdBgDIAMoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "CiVzdGFyX3Rvd2VyX2J1aWxkX3ByZWZlcmVuY2Vfc2V0LnByb3RvEgVwcm90", + "bxoXcHVibGljX3N0YXJfdG93ZXIucHJvdG8iXwoeU3RhclRvd2VyQnVpbGRQ", + "cmVmZXJlbmNlU2V0UmVxEhIKCkNoZWNrSW5JZHMYASADKAQSEwoLQ2hlY2tP", + "dXRJZHMYAiADKAQSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryTopBarEntry), global::Nova.Client.DictionaryTopBarEntry.Parser, new[]{ "Id", "Title", "DiagramList" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildPreferenceSetReq), global::Proto.StarTowerBuildPreferenceSetReq.Parser, new[]{ "CheckInIds", "CheckOutIds", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class DictionaryTopBarEntry : pb::IMessage<DictionaryTopBarEntry> + public sealed partial class StarTowerBuildPreferenceSetReq : pb::IMessage<StarTowerBuildPreferenceSetReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<DictionaryTopBarEntry> _parser = new pb::MessageParser<DictionaryTopBarEntry>(() => new DictionaryTopBarEntry()); + private static readonly pb::MessageParser<StarTowerBuildPreferenceSetReq> _parser = new pb::MessageParser<StarTowerBuildPreferenceSetReq>(() => new StarTowerBuildPreferenceSetReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<DictionaryTopBarEntry> Parser { get { return _parser; } } + public static pb::MessageParser<StarTowerBuildPreferenceSetReq> 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.DictionaryTopBarEntryReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.StarTowerBuildPreferenceSetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryTopBarEntry() { + public StarTowerBuildPreferenceSetReq() { OnConstruction(); } @@ -71,72 +72,71 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryTopBarEntry(DictionaryTopBarEntry other) : this() { - id_ = other.id_; - title_ = other.title_; - diagramList_ = other.diagramList_.Clone(); + public StarTowerBuildPreferenceSetReq(StarTowerBuildPreferenceSetReq other) : this() { + checkInIds_ = other.checkInIds_.Clone(); + checkOutIds_ = other.checkOutIds_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DictionaryTopBarEntry Clone() { - return new DictionaryTopBarEntry(this); + public StarTowerBuildPreferenceSetReq Clone() { + return new StarTowerBuildPreferenceSetReq(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "CheckInIds" field.</summary> + public const int CheckInIdsFieldNumber = 1; + private static readonly pb::FieldCodec<ulong> _repeated_checkInIds_codec + = pb::FieldCodec.ForUInt64(10); + private readonly pbc::RepeatedField<ulong> checkInIds_ = new pbc::RepeatedField<ulong>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField<ulong> CheckInIds { + get { return checkInIds_; } + } + + /// <summary>Field number for the "CheckOutIds" field.</summary> + public const int CheckOutIdsFieldNumber = 2; + private static readonly pb::FieldCodec<ulong> _repeated_checkOutIds_codec + = pb::FieldCodec.ForUInt64(18); + private readonly pbc::RepeatedField<ulong> checkOutIds_ = new pbc::RepeatedField<ulong>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<ulong> CheckOutIds { + get { return checkOutIds_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - id_ = value; + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "diagram_list" field.</summary> - public const int DiagramListFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_diagramList_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> diagramList_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> DiagramList { - get { return diagramList_; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as DictionaryTopBarEntry); + return Equals(other as StarTowerBuildPreferenceSetReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DictionaryTopBarEntry other) { + public bool Equals(StarTowerBuildPreferenceSetReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if(!diagramList_.Equals(other.diagramList_)) return false; + if(!checkInIds_.Equals(other.checkInIds_)) return false; + if(!checkOutIds_.Equals(other.checkOutIds_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -144,9 +144,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - hash ^= diagramList_.GetHashCode(); + hash ^= checkInIds_.GetHashCode(); + hash ^= checkOutIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -165,15 +165,12 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + checkInIds_.WriteTo(output, _repeated_checkInIds_codec); + checkOutIds_.WriteTo(output, _repeated_checkOutIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - if (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - diagramList_.WriteTo(output, _repeated_diagramList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -184,15 +181,12 @@ namespace Nova.Client { [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); + checkInIds_.WriteTo(ref output, _repeated_checkInIds_codec); + checkOutIds_.WriteTo(ref output, _repeated_checkOutIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - if (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - diagramList_.WriteTo(ref output, _repeated_diagramList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -203,13 +197,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += checkInIds_.CalculateSize(_repeated_checkInIds_codec); + size += checkOutIds_.CalculateSize(_repeated_checkOutIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - size += diagramList_.CalculateSize(_repeated_diagramList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -218,17 +210,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DictionaryTopBarEntry other) { + public void MergeFrom(StarTowerBuildPreferenceSetReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + checkInIds_.Add(other.checkInIds_); + checkOutIds_.Add(other.checkOutIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } - if (other.Title.Length != 0) { - Title = other.Title; - } - diagramList_.Add(other.diagramList_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -248,17 +238,18 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + checkInIds_.AddEntriesFrom(input, _repeated_checkInIds_codec); break; } - case 18: { - Title = input.ReadString(); + case 18: + case 16: { + checkOutIds_.AddEntriesFrom(input, _repeated_checkOutIds_codec); break; } - case 26: - case 24: { - diagramList_.AddEntriesFrom(input, _repeated_diagramList_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -280,17 +271,18 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + checkInIds_.AddEntriesFrom(ref input, _repeated_checkInIds_codec); break; } - case 18: { - Title = input.ReadString(); + case 18: + case 16: { + checkOutIds_.AddEntriesFrom(ref input, _repeated_checkOutIds_codec); break; } - case 26: - case 24: { - diagramList_.AddEntriesFrom(ref input, _repeated_diagramList_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/StarTowerBuildWhetherSave.cs b/Novaria.Common/Protos/StarTowerBuildWhetherSave.cs new file mode 100644 index 0000000..9c82e04 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerBuildWhetherSave.cs @@ -0,0 +1,639 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_build_whether_save.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_build_whether_save.proto</summary> + public static partial class StarTowerBuildWhetherSaveReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_build_whether_save.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerBuildWhetherSaveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNzdGFyX3Rvd2VyX2J1aWxkX3doZXRoZXJfc2F2ZS5wcm90bxIFcHJvdG8a", + "F3B1YmxpY19zdGFyX3Rvd2VyLnByb3RvInkKHFN0YXJUb3dlckJ1aWxkV2hl", + "dGhlclNhdmVSZXESDgoGRGVsZXRlGAEgASgIEgwKBExvY2sYAiABKAgSEgoK", + "UHJlZmVyZW5jZRgDIAEoCBIRCglCdWlsZE5hbWUYBCABKAkSFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMIlgKHVN0YXJUb3dlckJ1aWxkV2hldGhlclNhdmVSZXNw", + "EiEKBkNoYW5nZRgBIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildWhetherSaveReq), global::Proto.StarTowerBuildWhetherSaveReq.Parser, new[]{ "Delete", "Lock", "Preference", "BuildName", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildWhetherSaveResp), global::Proto.StarTowerBuildWhetherSaveResp.Parser, new[]{ "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildWhetherSaveReq : pb::IMessage<StarTowerBuildWhetherSaveReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildWhetherSaveReq> _parser = new pb::MessageParser<StarTowerBuildWhetherSaveReq>(() => new StarTowerBuildWhetherSaveReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildWhetherSaveReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBuildWhetherSaveReflection.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 StarTowerBuildWhetherSaveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildWhetherSaveReq(StarTowerBuildWhetherSaveReq other) : this() { + delete_ = other.delete_; + lock_ = other.lock_; + preference_ = other.preference_; + buildName_ = other.buildName_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildWhetherSaveReq Clone() { + return new StarTowerBuildWhetherSaveReq(this); + } + + /// <summary>Field number for the "Delete" field.</summary> + public const int DeleteFieldNumber = 1; + private bool delete_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Delete { + get { return delete_; } + set { + delete_ = value; + } + } + + /// <summary>Field number for the "Lock" field.</summary> + public const int LockFieldNumber = 2; + private bool lock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Lock { + get { return lock_; } + set { + lock_ = value; + } + } + + /// <summary>Field number for the "Preference" field.</summary> + public const int PreferenceFieldNumber = 3; + private bool preference_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Preference { + get { return preference_; } + set { + preference_ = value; + } + } + + /// <summary>Field number for the "BuildName" field.</summary> + public const int BuildNameFieldNumber = 4; + private string buildName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BuildName { + get { return buildName_; } + set { + buildName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildWhetherSaveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildWhetherSaveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Delete != other.Delete) return false; + if (Lock != other.Lock) return false; + if (Preference != other.Preference) return false; + if (BuildName != other.BuildName) return false; + if (NextPackage != other.NextPackage) 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 (Delete != false) hash ^= Delete.GetHashCode(); + if (Lock != false) hash ^= Lock.GetHashCode(); + if (Preference != false) hash ^= Preference.GetHashCode(); + if (BuildName.Length != 0) hash ^= BuildName.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Delete != false) { + output.WriteRawTag(8); + output.WriteBool(Delete); + } + if (Lock != false) { + output.WriteRawTag(16); + output.WriteBool(Lock); + } + if (Preference != false) { + output.WriteRawTag(24); + output.WriteBool(Preference); + } + if (BuildName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BuildName); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Delete != false) { + output.WriteRawTag(8); + output.WriteBool(Delete); + } + if (Lock != false) { + output.WriteRawTag(16); + output.WriteBool(Lock); + } + if (Preference != false) { + output.WriteRawTag(24); + output.WriteBool(Preference); + } + if (BuildName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BuildName); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Delete != false) { + size += 1 + 1; + } + if (Lock != false) { + size += 1 + 1; + } + if (Preference != false) { + size += 1 + 1; + } + if (BuildName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BuildName); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildWhetherSaveReq other) { + if (other == null) { + return; + } + if (other.Delete != false) { + Delete = other.Delete; + } + if (other.Lock != false) { + Lock = other.Lock; + } + if (other.Preference != false) { + Preference = other.Preference; + } + if (other.BuildName.Length != 0) { + BuildName = other.BuildName; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Delete = input.ReadBool(); + break; + } + case 16: { + Lock = input.ReadBool(); + break; + } + case 24: { + Preference = input.ReadBool(); + break; + } + case 34: { + BuildName = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Delete = input.ReadBool(); + break; + } + case 16: { + Lock = input.ReadBool(); + break; + } + case 24: { + Preference = input.ReadBool(); + break; + } + case 34: { + BuildName = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildWhetherSaveResp : pb::IMessage<StarTowerBuildWhetherSaveResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildWhetherSaveResp> _parser = new pb::MessageParser<StarTowerBuildWhetherSaveResp>(() => new StarTowerBuildWhetherSaveResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildWhetherSaveResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerBuildWhetherSaveReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildWhetherSaveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildWhetherSaveResp(StarTowerBuildWhetherSaveResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildWhetherSaveResp Clone() { + return new StarTowerBuildWhetherSaveResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerBuildWhetherSaveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildWhetherSaveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildWhetherSaveResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerCombatEvent.cs b/Novaria.Common/Protos/StarTowerCombatEvent.cs deleted file mode 100644 index 3c908c8..0000000 --- a/Novaria.Common/Protos/StarTowerCombatEvent.cs +++ /dev/null @@ -1,466 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerCombatEvent.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 StarTowerCombatEvent.proto</summary> - public static partial class StarTowerCombatEventReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerCombatEvent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerCombatEventReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdGFyVG93ZXJDb21iYXRFdmVudC5wcm90byJ/ChRTdGFyVG93ZXJDb21i", - "YXRFdmVudBIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEgwKBHR5cGUYAyAB", - "KAUSDgoGcGFyYW1zGAQgASgJEg4KBmFjdGl2ZRgFIAEoBRINCgVzdGFydBgG", - "IAEoBRIQCghpbnRlcmFjdBgHIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerCombatEvent), global::Nova.Client.StarTowerCombatEvent.Parser, new[]{ "Id", "Name", "Type", "Params", "Active", "Start", "Interact" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerCombatEvent : pb::IMessage<StarTowerCombatEvent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerCombatEvent> _parser = new pb::MessageParser<StarTowerCombatEvent>(() => new StarTowerCombatEvent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerCombatEvent> 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.StarTowerCombatEventReflection.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 StarTowerCombatEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerCombatEvent(StarTowerCombatEvent other) : this() { - id_ = other.id_; - name_ = other.name_; - type_ = other.type_; - params_ = other.params_; - active_ = other.active_; - start_ = other.start_; - interact_ = other.interact_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerCombatEvent Clone() { - return new StarTowerCombatEvent(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 "type" field.</summary> - public const int TypeFieldNumber = 3; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "params" field.</summary> - public const int ParamsFieldNumber = 4; - private string params_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Params { - get { return params_; } - set { - params_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "active" field.</summary> - public const int ActiveFieldNumber = 5; - private int active_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Active { - get { return active_; } - set { - active_ = value; - } - } - - /// <summary>Field number for the "start" field.</summary> - public const int StartFieldNumber = 6; - private int start_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Start { - get { return start_; } - set { - start_ = value; - } - } - - /// <summary>Field number for the "interact" field.</summary> - public const int InteractFieldNumber = 7; - private int interact_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Interact { - get { return interact_; } - set { - interact_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerCombatEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerCombatEvent 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 (Type != other.Type) return false; - if (Params != other.Params) return false; - if (Active != other.Active) return false; - if (Start != other.Start) return false; - if (Interact != other.Interact) 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 (Type != 0) hash ^= Type.GetHashCode(); - if (Params.Length != 0) hash ^= Params.GetHashCode(); - if (Active != 0) hash ^= Active.GetHashCode(); - if (Start != 0) hash ^= Start.GetHashCode(); - if (Interact != 0) hash ^= Interact.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 (Type != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type); - } - if (Params.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Params); - } - if (Active != 0) { - output.WriteRawTag(40); - output.WriteInt32(Active); - } - if (Start != 0) { - output.WriteRawTag(48); - output.WriteInt32(Start); - } - if (Interact != 0) { - output.WriteRawTag(56); - output.WriteInt32(Interact); - } - 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 (Type != 0) { - output.WriteRawTag(24); - output.WriteInt32(Type); - } - if (Params.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Params); - } - if (Active != 0) { - output.WriteRawTag(40); - output.WriteInt32(Active); - } - if (Start != 0) { - output.WriteRawTag(48); - output.WriteInt32(Start); - } - if (Interact != 0) { - output.WriteRawTag(56); - output.WriteInt32(Interact); - } - 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 (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Params.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); - } - if (Active != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active); - } - if (Start != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); - } - if (Interact != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Interact); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerCombatEvent other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Params.Length != 0) { - Params = other.Params; - } - if (other.Active != 0) { - Active = other.Active; - } - if (other.Start != 0) { - Start = other.Start; - } - if (other.Interact != 0) { - Interact = other.Interact; - } - _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: { - Type = input.ReadInt32(); - break; - } - case 34: { - Params = input.ReadString(); - break; - } - case 40: { - Active = input.ReadInt32(); - break; - } - case 48: { - Start = input.ReadInt32(); - break; - } - case 56: { - Interact = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - Type = input.ReadInt32(); - break; - } - case 34: { - Params = input.ReadString(); - break; - } - case 40: { - Active = input.ReadInt32(); - break; - } - case 48: { - Start = input.ReadInt32(); - break; - } - case 56: { - Interact = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerDropItem.cs b/Novaria.Common/Protos/StarTowerDropItem.cs deleted file mode 100644 index 7433596..0000000 --- a/Novaria.Common/Protos/StarTowerDropItem.cs +++ /dev/null @@ -1,373 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerDropItem.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 StarTowerDropItem.proto</summary> - public static partial class StarTowerDropItemReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerDropItem.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerDropItemReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTdGFyVG93ZXJEcm9wSXRlbS5wcm90byJkChFTdGFyVG93ZXJEcm9wSXRl", - "bRIKCgJpZBgBIAEoBRIMCgR0eXBlGAIgASgFEhgKEGRyb3Bfc3BsaXRfcmFu", - "Z2UYAyADKAUSDAoEcmF0ZRgEIAMoBRINCgVtb2RlbBgFIAEoCUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerDropItem), global::Nova.Client.StarTowerDropItem.Parser, new[]{ "Id", "Type", "DropSplitRange", "Rate", "Model" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerDropItem : pb::IMessage<StarTowerDropItem> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerDropItem> _parser = new pb::MessageParser<StarTowerDropItem>(() => new StarTowerDropItem()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerDropItem> 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.StarTowerDropItemReflection.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 StarTowerDropItem() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerDropItem(StarTowerDropItem other) : this() { - id_ = other.id_; - type_ = other.type_; - dropSplitRange_ = other.dropSplitRange_.Clone(); - rate_ = other.rate_.Clone(); - model_ = other.model_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerDropItem Clone() { - return new StarTowerDropItem(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 "type" field.</summary> - public const int TypeFieldNumber = 2; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "drop_split_range" field.</summary> - public const int DropSplitRangeFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_dropSplitRange_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> dropSplitRange_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> DropSplitRange { - get { return dropSplitRange_; } - } - - /// <summary>Field number for the "rate" field.</summary> - public const int RateFieldNumber = 4; - private static readonly pb::FieldCodec<int> _repeated_rate_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField<int> rate_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Rate { - get { return rate_; } - } - - /// <summary>Field number for the "model" field.</summary> - public const int ModelFieldNumber = 5; - private string model_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Model { - get { return model_; } - set { - model_ = 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 StarTowerDropItem); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerDropItem other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Type != other.Type) return false; - if(!dropSplitRange_.Equals(other.dropSplitRange_)) return false; - if(!rate_.Equals(other.rate_)) return false; - if (Model != other.Model) 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 (Type != 0) hash ^= Type.GetHashCode(); - hash ^= dropSplitRange_.GetHashCode(); - hash ^= rate_.GetHashCode(); - if (Model.Length != 0) hash ^= Model.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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - dropSplitRange_.WriteTo(output, _repeated_dropSplitRange_codec); - rate_.WriteTo(output, _repeated_rate_codec); - if (Model.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Model); - } - 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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - dropSplitRange_.WriteTo(ref output, _repeated_dropSplitRange_codec); - rate_.WriteTo(ref output, _repeated_rate_codec); - if (Model.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Model); - } - 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 (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - size += dropSplitRange_.CalculateSize(_repeated_dropSplitRange_codec); - size += rate_.CalculateSize(_repeated_rate_codec); - if (Model.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerDropItem other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Type != 0) { - Type = other.Type; - } - dropSplitRange_.Add(other.dropSplitRange_); - rate_.Add(other.rate_); - if (other.Model.Length != 0) { - Model = other.Model; - } - _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: { - Type = input.ReadInt32(); - break; - } - case 26: - case 24: { - dropSplitRange_.AddEntriesFrom(input, _repeated_dropSplitRange_codec); - break; - } - case 34: - case 32: { - rate_.AddEntriesFrom(input, _repeated_rate_codec); - break; - } - case 42: { - Model = 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: { - Type = input.ReadInt32(); - break; - } - case 26: - case 24: { - dropSplitRange_.AddEntriesFrom(ref input, _repeated_dropSplitRange_codec); - break; - } - case 34: - case 32: { - rate_.AddEntriesFrom(ref input, _repeated_rate_codec); - break; - } - case 42: { - Model = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerEnemySet.cs b/Novaria.Common/Protos/StarTowerEnemySet.cs deleted file mode 100644 index ab6019c..0000000 --- a/Novaria.Common/Protos/StarTowerEnemySet.cs +++ /dev/null @@ -1,429 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerEnemySet.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 StarTowerEnemySet.proto</summary> - public static partial class StarTowerEnemySetReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerEnemySet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerEnemySetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTdGFyVG93ZXJFbmVteVNldC5wcm90byKKAQoRU3RhclRvd2VyRW5lbXlT", - "ZXQSDgoGc2V0X2lkGAEgASgFEhAKCHdhdmVfbnVtGAIgASgFEg8KB21heF9u", - "dW0YAyABKAUSGAoQbWF4X251bV9wZXJfd2F2ZRgEIAEoBRISCgptb25zdGVy", - "X2lkGAUgASgFEhQKDHJlZl9pbnRlcnZhbBgGIAEoAkIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEnemySet), global::Nova.Client.StarTowerEnemySet.Parser, new[]{ "SetId", "WaveNum", "MaxNum", "MaxNumPerWave", "MonsterId", "RefInterval" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerEnemySet : pb::IMessage<StarTowerEnemySet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerEnemySet> _parser = new pb::MessageParser<StarTowerEnemySet>(() => new StarTowerEnemySet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerEnemySet> 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.StarTowerEnemySetReflection.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 StarTowerEnemySet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEnemySet(StarTowerEnemySet other) : this() { - setId_ = other.setId_; - waveNum_ = other.waveNum_; - maxNum_ = other.maxNum_; - maxNumPerWave_ = other.maxNumPerWave_; - monsterId_ = other.monsterId_; - refInterval_ = other.refInterval_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEnemySet Clone() { - return new StarTowerEnemySet(this); - } - - /// <summary>Field number for the "set_id" field.</summary> - public const int SetIdFieldNumber = 1; - private int setId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SetId { - get { return setId_; } - set { - setId_ = value; - } - } - - /// <summary>Field number for the "wave_num" field.</summary> - public const int WaveNumFieldNumber = 2; - private int waveNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WaveNum { - get { return waveNum_; } - set { - waveNum_ = value; - } - } - - /// <summary>Field number for the "max_num" field.</summary> - public const int MaxNumFieldNumber = 3; - private int maxNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxNum { - get { return maxNum_; } - set { - maxNum_ = value; - } - } - - /// <summary>Field number for the "max_num_per_wave" field.</summary> - public const int MaxNumPerWaveFieldNumber = 4; - private int maxNumPerWave_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxNumPerWave { - get { return maxNumPerWave_; } - set { - maxNumPerWave_ = value; - } - } - - /// <summary>Field number for the "monster_id" field.</summary> - public const int MonsterIdFieldNumber = 5; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// <summary>Field number for the "ref_interval" field.</summary> - public const int RefIntervalFieldNumber = 6; - private float refInterval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float RefInterval { - get { return refInterval_; } - set { - refInterval_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerEnemySet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerEnemySet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SetId != other.SetId) return false; - if (WaveNum != other.WaveNum) return false; - if (MaxNum != other.MaxNum) return false; - if (MaxNumPerWave != other.MaxNumPerWave) return false; - if (MonsterId != other.MonsterId) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RefInterval, other.RefInterval)) 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 (SetId != 0) hash ^= SetId.GetHashCode(); - if (WaveNum != 0) hash ^= WaveNum.GetHashCode(); - if (MaxNum != 0) hash ^= MaxNum.GetHashCode(); - if (MaxNumPerWave != 0) hash ^= MaxNumPerWave.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (RefInterval != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RefInterval); - 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 (SetId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SetId); - } - if (WaveNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(WaveNum); - } - if (MaxNum != 0) { - output.WriteRawTag(24); - output.WriteInt32(MaxNum); - } - if (MaxNumPerWave != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxNumPerWave); - } - if (MonsterId != 0) { - output.WriteRawTag(40); - output.WriteInt32(MonsterId); - } - if (RefInterval != 0F) { - output.WriteRawTag(53); - output.WriteFloat(RefInterval); - } - 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 (SetId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SetId); - } - if (WaveNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(WaveNum); - } - if (MaxNum != 0) { - output.WriteRawTag(24); - output.WriteInt32(MaxNum); - } - if (MaxNumPerWave != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxNumPerWave); - } - if (MonsterId != 0) { - output.WriteRawTag(40); - output.WriteInt32(MonsterId); - } - if (RefInterval != 0F) { - output.WriteRawTag(53); - output.WriteFloat(RefInterval); - } - 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 (SetId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); - } - if (WaveNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum); - } - if (MaxNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum); - } - if (MaxNumPerWave != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerWave); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (RefInterval != 0F) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerEnemySet other) { - if (other == null) { - return; - } - if (other.SetId != 0) { - SetId = other.SetId; - } - if (other.WaveNum != 0) { - WaveNum = other.WaveNum; - } - if (other.MaxNum != 0) { - MaxNum = other.MaxNum; - } - if (other.MaxNumPerWave != 0) { - MaxNumPerWave = other.MaxNumPerWave; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.RefInterval != 0F) { - RefInterval = other.RefInterval; - } - _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: { - SetId = input.ReadInt32(); - break; - } - case 16: { - WaveNum = input.ReadInt32(); - break; - } - case 24: { - MaxNum = input.ReadInt32(); - break; - } - case 32: { - MaxNumPerWave = input.ReadInt32(); - break; - } - case 40: { - MonsterId = input.ReadInt32(); - break; - } - case 53: { - RefInterval = input.ReadFloat(); - 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: { - SetId = input.ReadInt32(); - break; - } - case 16: { - WaveNum = input.ReadInt32(); - break; - } - case 24: { - MaxNum = input.ReadInt32(); - break; - } - case 32: { - MaxNumPerWave = input.ReadInt32(); - break; - } - case 40: { - MonsterId = input.ReadInt32(); - break; - } - case 53: { - RefInterval = input.ReadFloat(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerEvent.cs b/Novaria.Common/Protos/StarTowerEvent.cs deleted file mode 100644 index a0ec120..0000000 --- a/Novaria.Common/Protos/StarTowerEvent.cs +++ /dev/null @@ -1,494 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerEvent.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 StarTowerEvent.proto</summary> - public static partial class StarTowerEventReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerEvent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerEventReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRTdGFyVG93ZXJFdmVudC5wcm90byKtAQoOU3RhclRvd2VyRXZlbnQSCgoC", - "aWQYASABKAUSEAoIZ3JvdXBfaWQYAiABKAUSGAoQb3B0aW9uc19ydWxlc19p", - "ZBgDIAEoBRIMCgRkZXNjGAQgASgJEhIKCmV2ZW50X3R5cGUYBSABKAUSGQoR", - "Z3VhcmFudGVlZF9tYXBfaWQYBiABKAUSCwoDbnBjGAcgAygFEhkKEXJlbGF0", - "ZWRfY2hhcmFjdGVyGAggASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEvent), global::Nova.Client.StarTowerEvent.Parser, new[]{ "Id", "GroupId", "OptionsRulesId", "Desc", "EventType", "GuaranteedMapId", "Npc", "RelatedCharacter" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerEvent : pb::IMessage<StarTowerEvent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerEvent> _parser = new pb::MessageParser<StarTowerEvent>(() => new StarTowerEvent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerEvent> 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.StarTowerEventReflection.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 StarTowerEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEvent(StarTowerEvent other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - optionsRulesId_ = other.optionsRulesId_; - desc_ = other.desc_; - eventType_ = other.eventType_; - guaranteedMapId_ = other.guaranteedMapId_; - npc_ = other.npc_.Clone(); - relatedCharacter_ = other.relatedCharacter_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEvent Clone() { - return new StarTowerEvent(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 "options_rules_id" field.</summary> - public const int OptionsRulesIdFieldNumber = 3; - private int optionsRulesId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OptionsRulesId { - get { return optionsRulesId_; } - set { - optionsRulesId_ = value; - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 4; - 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 "event_type" field.</summary> - public const int EventTypeFieldNumber = 5; - private int eventType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EventType { - get { return eventType_; } - set { - eventType_ = value; - } - } - - /// <summary>Field number for the "guaranteed_map_id" field.</summary> - public const int GuaranteedMapIdFieldNumber = 6; - private int guaranteedMapId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuaranteedMapId { - get { return guaranteedMapId_; } - set { - guaranteedMapId_ = value; - } - } - - /// <summary>Field number for the "npc" field.</summary> - public const int NpcFieldNumber = 7; - private static readonly pb::FieldCodec<int> _repeated_npc_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField<int> npc_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Npc { - get { return npc_; } - } - - /// <summary>Field number for the "related_character" field.</summary> - public const int RelatedCharacterFieldNumber = 8; - private int relatedCharacter_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RelatedCharacter { - get { return relatedCharacter_; } - set { - relatedCharacter_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerEvent 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 (OptionsRulesId != other.OptionsRulesId) return false; - if (Desc != other.Desc) return false; - if (EventType != other.EventType) return false; - if (GuaranteedMapId != other.GuaranteedMapId) return false; - if(!npc_.Equals(other.npc_)) return false; - if (RelatedCharacter != other.RelatedCharacter) 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 (OptionsRulesId != 0) hash ^= OptionsRulesId.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (EventType != 0) hash ^= EventType.GetHashCode(); - if (GuaranteedMapId != 0) hash ^= GuaranteedMapId.GetHashCode(); - hash ^= npc_.GetHashCode(); - if (RelatedCharacter != 0) hash ^= RelatedCharacter.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 (OptionsRulesId != 0) { - output.WriteRawTag(24); - output.WriteInt32(OptionsRulesId); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (EventType != 0) { - output.WriteRawTag(40); - output.WriteInt32(EventType); - } - if (GuaranteedMapId != 0) { - output.WriteRawTag(48); - output.WriteInt32(GuaranteedMapId); - } - npc_.WriteTo(output, _repeated_npc_codec); - if (RelatedCharacter != 0) { - output.WriteRawTag(64); - output.WriteInt32(RelatedCharacter); - } - 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 (OptionsRulesId != 0) { - output.WriteRawTag(24); - output.WriteInt32(OptionsRulesId); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (EventType != 0) { - output.WriteRawTag(40); - output.WriteInt32(EventType); - } - if (GuaranteedMapId != 0) { - output.WriteRawTag(48); - output.WriteInt32(GuaranteedMapId); - } - npc_.WriteTo(ref output, _repeated_npc_codec); - if (RelatedCharacter != 0) { - output.WriteRawTag(64); - output.WriteInt32(RelatedCharacter); - } - 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 (OptionsRulesId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionsRulesId); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (EventType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventType); - } - if (GuaranteedMapId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuaranteedMapId); - } - size += npc_.CalculateSize(_repeated_npc_codec); - if (RelatedCharacter != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RelatedCharacter); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerEvent other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.OptionsRulesId != 0) { - OptionsRulesId = other.OptionsRulesId; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.EventType != 0) { - EventType = other.EventType; - } - if (other.GuaranteedMapId != 0) { - GuaranteedMapId = other.GuaranteedMapId; - } - npc_.Add(other.npc_); - if (other.RelatedCharacter != 0) { - RelatedCharacter = other.RelatedCharacter; - } - _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: { - OptionsRulesId = input.ReadInt32(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - EventType = input.ReadInt32(); - break; - } - case 48: { - GuaranteedMapId = input.ReadInt32(); - break; - } - case 58: - case 56: { - npc_.AddEntriesFrom(input, _repeated_npc_codec); - break; - } - case 64: { - RelatedCharacter = 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: { - OptionsRulesId = input.ReadInt32(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - EventType = input.ReadInt32(); - break; - } - case 48: { - GuaranteedMapId = input.ReadInt32(); - break; - } - case 58: - case 56: { - npc_.AddEntriesFrom(ref input, _repeated_npc_codec); - break; - } - case 64: { - RelatedCharacter = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerEventAction.cs b/Novaria.Common/Protos/StarTowerEventAction.cs deleted file mode 100644 index 55345bf..0000000 --- a/Novaria.Common/Protos/StarTowerEventAction.cs +++ /dev/null @@ -1,391 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerEventAction.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 StarTowerEventAction.proto</summary> - public static partial class StarTowerEventActionReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerEventAction.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerEventActionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdGFyVG93ZXJFdmVudEFjdGlvbi5wcm90byJlChRTdGFyVG93ZXJFdmVu", - "dEFjdGlvbhIKCgJpZBgBIAEoBRIQCghldmVudF9pZBgCIAEoBRISCgp0cmln", - "X3ZvaWNlGAMgASgJEgwKBGRlc2MYBCABKAkSDQoFZ3JvdXAYBSABKAVCDqoC", - "C05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEventAction), global::Nova.Client.StarTowerEventAction.Parser, new[]{ "Id", "EventId", "TrigVoice", "Desc", "Group" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerEventAction : pb::IMessage<StarTowerEventAction> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerEventAction> _parser = new pb::MessageParser<StarTowerEventAction>(() => new StarTowerEventAction()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerEventAction> 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.StarTowerEventActionReflection.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 StarTowerEventAction() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEventAction(StarTowerEventAction other) : this() { - id_ = other.id_; - eventId_ = other.eventId_; - trigVoice_ = other.trigVoice_; - desc_ = other.desc_; - group_ = other.group_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerEventAction Clone() { - return new StarTowerEventAction(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 "event_id" field.</summary> - public const int EventIdFieldNumber = 2; - private int eventId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EventId { - get { return eventId_; } - set { - eventId_ = value; - } - } - - /// <summary>Field number for the "trig_voice" field.</summary> - public const int TrigVoiceFieldNumber = 3; - private string trigVoice_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TrigVoice { - get { return trigVoice_; } - set { - trigVoice_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 4; - 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 "group" field.</summary> - public const int GroupFieldNumber = 5; - private int group_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } - set { - group_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerEventAction); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerEventAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (EventId != other.EventId) return false; - if (TrigVoice != other.TrigVoice) return false; - if (Desc != other.Desc) return false; - if (Group != other.Group) 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 (EventId != 0) hash ^= EventId.GetHashCode(); - if (TrigVoice.Length != 0) hash ^= TrigVoice.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Group != 0) hash ^= Group.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 (EventId != 0) { - output.WriteRawTag(16); - output.WriteInt32(EventId); - } - if (TrigVoice.Length != 0) { - output.WriteRawTag(26); - output.WriteString(TrigVoice); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Group != 0) { - output.WriteRawTag(40); - output.WriteInt32(Group); - } - 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 (EventId != 0) { - output.WriteRawTag(16); - output.WriteInt32(EventId); - } - if (TrigVoice.Length != 0) { - output.WriteRawTag(26); - output.WriteString(TrigVoice); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Group != 0) { - output.WriteRawTag(40); - output.WriteInt32(Group); - } - 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 (EventId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventId); - } - if (TrigVoice.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TrigVoice); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerEventAction other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.EventId != 0) { - EventId = other.EventId; - } - if (other.TrigVoice.Length != 0) { - TrigVoice = other.TrigVoice; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Group != 0) { - Group = other.Group; - } - _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: { - EventId = input.ReadInt32(); - break; - } - case 26: { - TrigVoice = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Group = 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: { - EventId = input.ReadInt32(); - break; - } - case 26: { - TrigVoice = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Group = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerFloor.cs b/Novaria.Common/Protos/StarTowerFloor.cs deleted file mode 100644 index 291c3e2..0000000 --- a/Novaria.Common/Protos/StarTowerFloor.cs +++ /dev/null @@ -1,504 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerFloor.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 StarTowerFloor.proto</summary> - public static partial class StarTowerFloorReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRTdGFyVG93ZXJGbG9vci5wcm90byLVAQoOU3RhclRvd2VyRmxvb3ISCgoC", - "aWQYASABKAUSHAoUY29tbW9uX2dhbWVwbGF5X3R5cGUYAiABKAUSGgoSY29t", - "bW9uX21vbnN0ZXJfc2V0GAMgASgJEhIKCmxpbWl0X3RpbWUYBCABKAUSHAoU", - "ZHJvcF9vYmplY3RfZ3JvdXBfaWQYBSABKAUSGAoQZHJvcF9vYmplY3RfcmF0", - "ZRgGIAEoBRIUCgxkcm9wX21heF9udW0YByABKAUSGwoTbW9uc3Rlcl9zdXJw", - "bHVzX251bRgIIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloor), global::Nova.Client.StarTowerFloor.Parser, new[]{ "Id", "CommonGameplayType", "CommonMonsterSet", "LimitTime", "DropObjectGroupId", "DropObjectRate", "DropMaxNum", "MonsterSurplusNum" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerFloor : pb::IMessage<StarTowerFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerFloor> _parser = new pb::MessageParser<StarTowerFloor>(() => new StarTowerFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerFloor> 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.StarTowerFloorReflection.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 StarTowerFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloor(StarTowerFloor other) : this() { - id_ = other.id_; - commonGameplayType_ = other.commonGameplayType_; - commonMonsterSet_ = other.commonMonsterSet_; - limitTime_ = other.limitTime_; - dropObjectGroupId_ = other.dropObjectGroupId_; - dropObjectRate_ = other.dropObjectRate_; - dropMaxNum_ = other.dropMaxNum_; - monsterSurplusNum_ = other.monsterSurplusNum_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloor Clone() { - return new StarTowerFloor(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 "common_gameplay_type" field.</summary> - public const int CommonGameplayTypeFieldNumber = 2; - private int commonGameplayType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CommonGameplayType { - get { return commonGameplayType_; } - set { - commonGameplayType_ = value; - } - } - - /// <summary>Field number for the "common_monster_set" field.</summary> - public const int CommonMonsterSetFieldNumber = 3; - private string commonMonsterSet_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CommonMonsterSet { - get { return commonMonsterSet_; } - set { - commonMonsterSet_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "limit_time" field.</summary> - public const int LimitTimeFieldNumber = 4; - private int limitTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LimitTime { - get { return limitTime_; } - set { - limitTime_ = value; - } - } - - /// <summary>Field number for the "drop_object_group_id" field.</summary> - public const int DropObjectGroupIdFieldNumber = 5; - private int dropObjectGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropObjectGroupId { - get { return dropObjectGroupId_; } - set { - dropObjectGroupId_ = value; - } - } - - /// <summary>Field number for the "drop_object_rate" field.</summary> - public const int DropObjectRateFieldNumber = 6; - private int dropObjectRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropObjectRate { - get { return dropObjectRate_; } - set { - dropObjectRate_ = value; - } - } - - /// <summary>Field number for the "drop_max_num" field.</summary> - public const int DropMaxNumFieldNumber = 7; - private int dropMaxNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DropMaxNum { - get { return dropMaxNum_; } - set { - dropMaxNum_ = value; - } - } - - /// <summary>Field number for the "monster_surplus_num" field.</summary> - public const int MonsterSurplusNumFieldNumber = 8; - private int monsterSurplusNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterSurplusNum { - get { return monsterSurplusNum_; } - set { - monsterSurplusNum_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (CommonGameplayType != other.CommonGameplayType) return false; - if (CommonMonsterSet != other.CommonMonsterSet) return false; - if (LimitTime != other.LimitTime) return false; - if (DropObjectGroupId != other.DropObjectGroupId) return false; - if (DropObjectRate != other.DropObjectRate) return false; - if (DropMaxNum != other.DropMaxNum) return false; - if (MonsterSurplusNum != other.MonsterSurplusNum) 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 (CommonGameplayType != 0) hash ^= CommonGameplayType.GetHashCode(); - if (CommonMonsterSet.Length != 0) hash ^= CommonMonsterSet.GetHashCode(); - if (LimitTime != 0) hash ^= LimitTime.GetHashCode(); - if (DropObjectGroupId != 0) hash ^= DropObjectGroupId.GetHashCode(); - if (DropObjectRate != 0) hash ^= DropObjectRate.GetHashCode(); - if (DropMaxNum != 0) hash ^= DropMaxNum.GetHashCode(); - if (MonsterSurplusNum != 0) hash ^= MonsterSurplusNum.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 (CommonGameplayType != 0) { - output.WriteRawTag(16); - output.WriteInt32(CommonGameplayType); - } - if (CommonMonsterSet.Length != 0) { - output.WriteRawTag(26); - output.WriteString(CommonMonsterSet); - } - if (LimitTime != 0) { - output.WriteRawTag(32); - output.WriteInt32(LimitTime); - } - if (DropObjectGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(DropObjectGroupId); - } - if (DropObjectRate != 0) { - output.WriteRawTag(48); - output.WriteInt32(DropObjectRate); - } - if (DropMaxNum != 0) { - output.WriteRawTag(56); - output.WriteInt32(DropMaxNum); - } - if (MonsterSurplusNum != 0) { - output.WriteRawTag(64); - output.WriteInt32(MonsterSurplusNum); - } - 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 (CommonGameplayType != 0) { - output.WriteRawTag(16); - output.WriteInt32(CommonGameplayType); - } - if (CommonMonsterSet.Length != 0) { - output.WriteRawTag(26); - output.WriteString(CommonMonsterSet); - } - if (LimitTime != 0) { - output.WriteRawTag(32); - output.WriteInt32(LimitTime); - } - if (DropObjectGroupId != 0) { - output.WriteRawTag(40); - output.WriteInt32(DropObjectGroupId); - } - if (DropObjectRate != 0) { - output.WriteRawTag(48); - output.WriteInt32(DropObjectRate); - } - if (DropMaxNum != 0) { - output.WriteRawTag(56); - output.WriteInt32(DropMaxNum); - } - if (MonsterSurplusNum != 0) { - output.WriteRawTag(64); - output.WriteInt32(MonsterSurplusNum); - } - 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 (CommonGameplayType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CommonGameplayType); - } - if (CommonMonsterSet.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CommonMonsterSet); - } - if (LimitTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitTime); - } - if (DropObjectGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectGroupId); - } - if (DropObjectRate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectRate); - } - if (DropMaxNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropMaxNum); - } - if (MonsterSurplusNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterSurplusNum); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.CommonGameplayType != 0) { - CommonGameplayType = other.CommonGameplayType; - } - if (other.CommonMonsterSet.Length != 0) { - CommonMonsterSet = other.CommonMonsterSet; - } - if (other.LimitTime != 0) { - LimitTime = other.LimitTime; - } - if (other.DropObjectGroupId != 0) { - DropObjectGroupId = other.DropObjectGroupId; - } - if (other.DropObjectRate != 0) { - DropObjectRate = other.DropObjectRate; - } - if (other.DropMaxNum != 0) { - DropMaxNum = other.DropMaxNum; - } - if (other.MonsterSurplusNum != 0) { - MonsterSurplusNum = other.MonsterSurplusNum; - } - _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: { - CommonGameplayType = input.ReadInt32(); - break; - } - case 26: { - CommonMonsterSet = input.ReadString(); - break; - } - case 32: { - LimitTime = input.ReadInt32(); - break; - } - case 40: { - DropObjectGroupId = input.ReadInt32(); - break; - } - case 48: { - DropObjectRate = input.ReadInt32(); - break; - } - case 56: { - DropMaxNum = input.ReadInt32(); - break; - } - case 64: { - MonsterSurplusNum = 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: { - CommonGameplayType = input.ReadInt32(); - break; - } - case 26: { - CommonMonsterSet = input.ReadString(); - break; - } - case 32: { - LimitTime = input.ReadInt32(); - break; - } - case 40: { - DropObjectGroupId = input.ReadInt32(); - break; - } - case 48: { - DropObjectRate = input.ReadInt32(); - break; - } - case 56: { - DropMaxNum = input.ReadInt32(); - break; - } - case 64: { - MonsterSurplusNum = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerFloorAward.cs b/Novaria.Common/Protos/StarTowerFloorAward.cs deleted file mode 100644 index b54a9a1..0000000 --- a/Novaria.Common/Protos/StarTowerFloorAward.cs +++ /dev/null @@ -1,429 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerFloorAward.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 StarTowerFloorAward.proto</summary> - public static partial class StarTowerFloorAwardReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerFloorAward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerFloorAwardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlTdGFyVG93ZXJGbG9vckF3YXJkLnByb3RvIpgBChNTdGFyVG93ZXJGbG9v", - "ckF3YXJkEgoKAmlkGAEgASgFEhQKDHJvZ3VlbGlrZV9pZBgCIAEoBRIUCgxj", - "b21iYXRfZmxvb3IYAyABKAUSIgoaaW50ZXJpb3JfY3VycmVuY3lfcXVhbnRp", - "dHkYBCABKAUSEwoLbmVlZF9lbmVyZ3kYBSABKAUSEAoIYWZmaW5pdHkYBiAB", - "KAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorAward), global::Nova.Client.StarTowerFloorAward.Parser, new[]{ "Id", "RoguelikeId", "CombatFloor", "InteriorCurrencyQuantity", "NeedEnergy", "Affinity" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerFloorAward : pb::IMessage<StarTowerFloorAward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerFloorAward> _parser = new pb::MessageParser<StarTowerFloorAward>(() => new StarTowerFloorAward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerFloorAward> 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.StarTowerFloorAwardReflection.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 StarTowerFloorAward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloorAward(StarTowerFloorAward other) : this() { - id_ = other.id_; - roguelikeId_ = other.roguelikeId_; - combatFloor_ = other.combatFloor_; - interiorCurrencyQuantity_ = other.interiorCurrencyQuantity_; - needEnergy_ = other.needEnergy_; - affinity_ = other.affinity_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloorAward Clone() { - return new StarTowerFloorAward(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 "roguelike_id" field.</summary> - public const int RoguelikeIdFieldNumber = 2; - private int roguelikeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RoguelikeId { - get { return roguelikeId_; } - set { - roguelikeId_ = value; - } - } - - /// <summary>Field number for the "combat_floor" field.</summary> - public const int CombatFloorFieldNumber = 3; - private int combatFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CombatFloor { - get { return combatFloor_; } - set { - combatFloor_ = value; - } - } - - /// <summary>Field number for the "interior_currency_quantity" field.</summary> - public const int InteriorCurrencyQuantityFieldNumber = 4; - private int interiorCurrencyQuantity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int InteriorCurrencyQuantity { - get { return interiorCurrencyQuantity_; } - set { - interiorCurrencyQuantity_ = value; - } - } - - /// <summary>Field number for the "need_energy" field.</summary> - public const int NeedEnergyFieldNumber = 5; - private int needEnergy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedEnergy { - get { return needEnergy_; } - set { - needEnergy_ = value; - } - } - - /// <summary>Field number for the "affinity" field.</summary> - public const int AffinityFieldNumber = 6; - private int affinity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affinity { - get { return affinity_; } - set { - affinity_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerFloorAward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerFloorAward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (RoguelikeId != other.RoguelikeId) return false; - if (CombatFloor != other.CombatFloor) return false; - if (InteriorCurrencyQuantity != other.InteriorCurrencyQuantity) return false; - if (NeedEnergy != other.NeedEnergy) return false; - if (Affinity != other.Affinity) 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 (RoguelikeId != 0) hash ^= RoguelikeId.GetHashCode(); - if (CombatFloor != 0) hash ^= CombatFloor.GetHashCode(); - if (InteriorCurrencyQuantity != 0) hash ^= InteriorCurrencyQuantity.GetHashCode(); - if (NeedEnergy != 0) hash ^= NeedEnergy.GetHashCode(); - if (Affinity != 0) hash ^= Affinity.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 (RoguelikeId != 0) { - output.WriteRawTag(16); - output.WriteInt32(RoguelikeId); - } - if (CombatFloor != 0) { - output.WriteRawTag(24); - output.WriteInt32(CombatFloor); - } - if (InteriorCurrencyQuantity != 0) { - output.WriteRawTag(32); - output.WriteInt32(InteriorCurrencyQuantity); - } - if (NeedEnergy != 0) { - output.WriteRawTag(40); - output.WriteInt32(NeedEnergy); - } - if (Affinity != 0) { - output.WriteRawTag(48); - output.WriteInt32(Affinity); - } - 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 (RoguelikeId != 0) { - output.WriteRawTag(16); - output.WriteInt32(RoguelikeId); - } - if (CombatFloor != 0) { - output.WriteRawTag(24); - output.WriteInt32(CombatFloor); - } - if (InteriorCurrencyQuantity != 0) { - output.WriteRawTag(32); - output.WriteInt32(InteriorCurrencyQuantity); - } - if (NeedEnergy != 0) { - output.WriteRawTag(40); - output.WriteInt32(NeedEnergy); - } - if (Affinity != 0) { - output.WriteRawTag(48); - output.WriteInt32(Affinity); - } - 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 (RoguelikeId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoguelikeId); - } - if (CombatFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CombatFloor); - } - if (InteriorCurrencyQuantity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteriorCurrencyQuantity); - } - if (NeedEnergy != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedEnergy); - } - if (Affinity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affinity); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerFloorAward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.RoguelikeId != 0) { - RoguelikeId = other.RoguelikeId; - } - if (other.CombatFloor != 0) { - CombatFloor = other.CombatFloor; - } - if (other.InteriorCurrencyQuantity != 0) { - InteriorCurrencyQuantity = other.InteriorCurrencyQuantity; - } - if (other.NeedEnergy != 0) { - NeedEnergy = other.NeedEnergy; - } - if (other.Affinity != 0) { - Affinity = other.Affinity; - } - _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: { - RoguelikeId = input.ReadInt32(); - break; - } - case 24: { - CombatFloor = input.ReadInt32(); - break; - } - case 32: { - InteriorCurrencyQuantity = input.ReadInt32(); - break; - } - case 40: { - NeedEnergy = input.ReadInt32(); - break; - } - case 48: { - Affinity = 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: { - RoguelikeId = input.ReadInt32(); - break; - } - case 24: { - CombatFloor = input.ReadInt32(); - break; - } - case 32: { - InteriorCurrencyQuantity = input.ReadInt32(); - break; - } - case 40: { - NeedEnergy = input.ReadInt32(); - break; - } - case 48: { - Affinity = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerFloorExp.cs b/Novaria.Common/Protos/StarTowerFloorExp.cs deleted file mode 100644 index 4383b92..0000000 --- a/Novaria.Common/Protos/StarTowerFloorExp.cs +++ /dev/null @@ -1,541 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerFloorExp.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 StarTowerFloorExp.proto</summary> - public static partial class StarTowerFloorExpReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerFloorExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerFloorExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTdGFyVG93ZXJGbG9vckV4cC5wcm90byK+AQoRU3RhclRvd2VyRmxvb3JF", - "eHASCgoCaWQYASABKAUSFQoNc3Rhcl90b3dlcl9pZBgCIAEoBRINCgVzdGFn", - "ZRgDIAEoBRISCgpub3JtYWxfZXhwGAQgASgFEhEKCWVsaXRlX2V4cBgFIAEo", - "BRIQCghib3NzX2V4cBgGIAEoBRIWCg5maW5hbF9ib3NzX2V4cBgHIAEoBRIS", - "CgpkYW5nZXJfZXhwGAggASgFEhIKCmhvcnJvcl9leHAYCSABKAVCDqoCC05v", - "dmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorExp), global::Nova.Client.StarTowerFloorExp.Parser, new[]{ "Id", "StarTowerId", "Stage", "NormalExp", "EliteExp", "BossExp", "FinalBossExp", "DangerExp", "HorrorExp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerFloorExp : pb::IMessage<StarTowerFloorExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerFloorExp> _parser = new pb::MessageParser<StarTowerFloorExp>(() => new StarTowerFloorExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerFloorExp> 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.StarTowerFloorExpReflection.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 StarTowerFloorExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloorExp(StarTowerFloorExp other) : this() { - id_ = other.id_; - starTowerId_ = other.starTowerId_; - stage_ = other.stage_; - normalExp_ = other.normalExp_; - eliteExp_ = other.eliteExp_; - bossExp_ = other.bossExp_; - finalBossExp_ = other.finalBossExp_; - dangerExp_ = other.dangerExp_; - horrorExp_ = other.horrorExp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloorExp Clone() { - return new StarTowerFloorExp(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 "star_tower_id" field.</summary> - public const int StarTowerIdFieldNumber = 2; - private int starTowerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StarTowerId { - get { return starTowerId_; } - set { - starTowerId_ = value; - } - } - - /// <summary>Field number for the "stage" field.</summary> - public const int StageFieldNumber = 3; - private int stage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stage { - get { return stage_; } - set { - stage_ = value; - } - } - - /// <summary>Field number for the "normal_exp" field.</summary> - public const int NormalExpFieldNumber = 4; - private int normalExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalExp { - get { return normalExp_; } - set { - normalExp_ = value; - } - } - - /// <summary>Field number for the "elite_exp" field.</summary> - public const int EliteExpFieldNumber = 5; - private int eliteExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EliteExp { - get { return eliteExp_; } - set { - eliteExp_ = value; - } - } - - /// <summary>Field number for the "boss_exp" field.</summary> - public const int BossExpFieldNumber = 6; - private int bossExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BossExp { - get { return bossExp_; } - set { - bossExp_ = value; - } - } - - /// <summary>Field number for the "final_boss_exp" field.</summary> - public const int FinalBossExpFieldNumber = 7; - private int finalBossExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FinalBossExp { - get { return finalBossExp_; } - set { - finalBossExp_ = value; - } - } - - /// <summary>Field number for the "danger_exp" field.</summary> - public const int DangerExpFieldNumber = 8; - private int dangerExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DangerExp { - get { return dangerExp_; } - set { - dangerExp_ = value; - } - } - - /// <summary>Field number for the "horror_exp" field.</summary> - public const int HorrorExpFieldNumber = 9; - private int horrorExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int HorrorExp { - get { return horrorExp_; } - set { - horrorExp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerFloorExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerFloorExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (StarTowerId != other.StarTowerId) return false; - if (Stage != other.Stage) return false; - if (NormalExp != other.NormalExp) return false; - if (EliteExp != other.EliteExp) return false; - if (BossExp != other.BossExp) return false; - if (FinalBossExp != other.FinalBossExp) return false; - if (DangerExp != other.DangerExp) return false; - if (HorrorExp != other.HorrorExp) 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 (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); - if (Stage != 0) hash ^= Stage.GetHashCode(); - if (NormalExp != 0) hash ^= NormalExp.GetHashCode(); - if (EliteExp != 0) hash ^= EliteExp.GetHashCode(); - if (BossExp != 0) hash ^= BossExp.GetHashCode(); - if (FinalBossExp != 0) hash ^= FinalBossExp.GetHashCode(); - if (DangerExp != 0) hash ^= DangerExp.GetHashCode(); - if (HorrorExp != 0) hash ^= HorrorExp.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 (StarTowerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(StarTowerId); - } - if (Stage != 0) { - output.WriteRawTag(24); - output.WriteInt32(Stage); - } - if (NormalExp != 0) { - output.WriteRawTag(32); - output.WriteInt32(NormalExp); - } - if (EliteExp != 0) { - output.WriteRawTag(40); - output.WriteInt32(EliteExp); - } - if (BossExp != 0) { - output.WriteRawTag(48); - output.WriteInt32(BossExp); - } - if (FinalBossExp != 0) { - output.WriteRawTag(56); - output.WriteInt32(FinalBossExp); - } - if (DangerExp != 0) { - output.WriteRawTag(64); - output.WriteInt32(DangerExp); - } - if (HorrorExp != 0) { - output.WriteRawTag(72); - output.WriteInt32(HorrorExp); - } - 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 (StarTowerId != 0) { - output.WriteRawTag(16); - output.WriteInt32(StarTowerId); - } - if (Stage != 0) { - output.WriteRawTag(24); - output.WriteInt32(Stage); - } - if (NormalExp != 0) { - output.WriteRawTag(32); - output.WriteInt32(NormalExp); - } - if (EliteExp != 0) { - output.WriteRawTag(40); - output.WriteInt32(EliteExp); - } - if (BossExp != 0) { - output.WriteRawTag(48); - output.WriteInt32(BossExp); - } - if (FinalBossExp != 0) { - output.WriteRawTag(56); - output.WriteInt32(FinalBossExp); - } - if (DangerExp != 0) { - output.WriteRawTag(64); - output.WriteInt32(DangerExp); - } - if (HorrorExp != 0) { - output.WriteRawTag(72); - output.WriteInt32(HorrorExp); - } - 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 (StarTowerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); - } - if (Stage != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); - } - if (NormalExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalExp); - } - if (EliteExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EliteExp); - } - if (BossExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossExp); - } - if (FinalBossExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalBossExp); - } - if (DangerExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DangerExp); - } - if (HorrorExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(HorrorExp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerFloorExp other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.StarTowerId != 0) { - StarTowerId = other.StarTowerId; - } - if (other.Stage != 0) { - Stage = other.Stage; - } - if (other.NormalExp != 0) { - NormalExp = other.NormalExp; - } - if (other.EliteExp != 0) { - EliteExp = other.EliteExp; - } - if (other.BossExp != 0) { - BossExp = other.BossExp; - } - if (other.FinalBossExp != 0) { - FinalBossExp = other.FinalBossExp; - } - if (other.DangerExp != 0) { - DangerExp = other.DangerExp; - } - if (other.HorrorExp != 0) { - HorrorExp = other.HorrorExp; - } - _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: { - StarTowerId = input.ReadInt32(); - break; - } - case 24: { - Stage = input.ReadInt32(); - break; - } - case 32: { - NormalExp = input.ReadInt32(); - break; - } - case 40: { - EliteExp = input.ReadInt32(); - break; - } - case 48: { - BossExp = input.ReadInt32(); - break; - } - case 56: { - FinalBossExp = input.ReadInt32(); - break; - } - case 64: { - DangerExp = input.ReadInt32(); - break; - } - case 72: { - HorrorExp = 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: { - StarTowerId = input.ReadInt32(); - break; - } - case 24: { - Stage = input.ReadInt32(); - break; - } - case 32: { - NormalExp = input.ReadInt32(); - break; - } - case 40: { - EliteExp = input.ReadInt32(); - break; - } - case 48: { - BossExp = input.ReadInt32(); - break; - } - case 56: { - FinalBossExp = input.ReadInt32(); - break; - } - case 64: { - DangerExp = input.ReadInt32(); - break; - } - case 72: { - HorrorExp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerFloorSet.cs b/Novaria.Common/Protos/StarTowerFloorSet.cs deleted file mode 100644 index 64c5c58..0000000 --- a/Novaria.Common/Protos/StarTowerFloorSet.cs +++ /dev/null @@ -1,608 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerFloorSet.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 StarTowerFloorSet.proto</summary> - public static partial class StarTowerFloorSetReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerFloorSet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerFloorSetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTdGFyVG93ZXJGbG9vclNldC5wcm90byKEAgoRU3RhclRvd2VyRmxvb3JT", - "ZXQSCgoCaWQYASABKAUSEgoKYmF0dGxlX2x2cxgCIAEoBRINCgVzdGFnZRgD", - "IAMoBRIRCglyb29tX3R5cGUYBCABKAUSDwoHbWFwX2lfZBgFIAMoBRIRCglm", - "bG9vcl9pX2QYBiADKAUSEgoKbW9uc3Rlcl9sdhgHIAEoBRIWCg50aGVtZV9z", - "a2lsbF9sdhgIIAEoBRIOCgZ3ZWlnaHQYCSABKAUSEwoLbXV0ZXhfZ3JvdXAY", - "CiADKAUSFwoPc3BlY2lhbF9tb2RlX2lkGAsgASgFEh8KF21vbnN0ZXJfZ3Jv", - "dXBfYmxhY2tsaXN0GAwgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorSet), global::Nova.Client.StarTowerFloorSet.Parser, new[]{ "Id", "BattleLvs", "Stage", "RoomType", "MapID", "FloorID", "MonsterLv", "ThemeSkillLv", "Weight", "MutexGroup", "SpecialModeId", "MonsterGroupBlacklist" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerFloorSet : pb::IMessage<StarTowerFloorSet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerFloorSet> _parser = new pb::MessageParser<StarTowerFloorSet>(() => new StarTowerFloorSet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerFloorSet> 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.StarTowerFloorSetReflection.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 StarTowerFloorSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloorSet(StarTowerFloorSet other) : this() { - id_ = other.id_; - battleLvs_ = other.battleLvs_; - stage_ = other.stage_.Clone(); - roomType_ = other.roomType_; - mapID_ = other.mapID_.Clone(); - floorID_ = other.floorID_.Clone(); - monsterLv_ = other.monsterLv_; - themeSkillLv_ = other.themeSkillLv_; - weight_ = other.weight_; - mutexGroup_ = other.mutexGroup_.Clone(); - specialModeId_ = other.specialModeId_; - monsterGroupBlacklist_ = other.monsterGroupBlacklist_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerFloorSet Clone() { - return new StarTowerFloorSet(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 "battle_lvs" field.</summary> - public const int BattleLvsFieldNumber = 2; - private int battleLvs_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BattleLvs { - get { return battleLvs_; } - set { - battleLvs_ = value; - } - } - - /// <summary>Field number for the "stage" field.</summary> - public const int StageFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_stage_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> stage_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Stage { - get { return stage_; } - } - - /// <summary>Field number for the "room_type" field.</summary> - public const int RoomTypeFieldNumber = 4; - private int roomType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RoomType { - get { return roomType_; } - set { - roomType_ = value; - } - } - - /// <summary>Field number for the "map_i_d" field.</summary> - public const int MapIDFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_mapID_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> mapID_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> MapID { - get { return mapID_; } - } - - /// <summary>Field number for the "floor_i_d" field.</summary> - public const int FloorIDFieldNumber = 6; - private static readonly pb::FieldCodec<int> _repeated_floorID_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField<int> floorID_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> FloorID { - get { return floorID_; } - } - - /// <summary>Field number for the "monster_lv" field.</summary> - public const int MonsterLvFieldNumber = 7; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - /// <summary>Field number for the "theme_skill_lv" field.</summary> - public const int ThemeSkillLvFieldNumber = 8; - private int themeSkillLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ThemeSkillLv { - get { return themeSkillLv_; } - set { - themeSkillLv_ = value; - } - } - - /// <summary>Field number for the "weight" field.</summary> - public const int WeightFieldNumber = 9; - private int weight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Weight { - get { return weight_; } - set { - weight_ = value; - } - } - - /// <summary>Field number for the "mutex_group" field.</summary> - public const int MutexGroupFieldNumber = 10; - private static readonly pb::FieldCodec<int> _repeated_mutexGroup_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField<int> mutexGroup_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> MutexGroup { - get { return mutexGroup_; } - } - - /// <summary>Field number for the "special_mode_id" field.</summary> - public const int SpecialModeIdFieldNumber = 11; - private int specialModeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SpecialModeId { - get { return specialModeId_; } - set { - specialModeId_ = value; - } - } - - /// <summary>Field number for the "monster_group_blacklist" field.</summary> - public const int MonsterGroupBlacklistFieldNumber = 12; - private static readonly pb::FieldCodec<int> _repeated_monsterGroupBlacklist_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField<int> monsterGroupBlacklist_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> MonsterGroupBlacklist { - get { return monsterGroupBlacklist_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerFloorSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerFloorSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BattleLvs != other.BattleLvs) return false; - if(!stage_.Equals(other.stage_)) return false; - if (RoomType != other.RoomType) return false; - if(!mapID_.Equals(other.mapID_)) return false; - if(!floorID_.Equals(other.floorID_)) return false; - if (MonsterLv != other.MonsterLv) return false; - if (ThemeSkillLv != other.ThemeSkillLv) return false; - if (Weight != other.Weight) return false; - if(!mutexGroup_.Equals(other.mutexGroup_)) return false; - if (SpecialModeId != other.SpecialModeId) return false; - if(!monsterGroupBlacklist_.Equals(other.monsterGroupBlacklist_)) 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 (BattleLvs != 0) hash ^= BattleLvs.GetHashCode(); - hash ^= stage_.GetHashCode(); - if (RoomType != 0) hash ^= RoomType.GetHashCode(); - hash ^= mapID_.GetHashCode(); - hash ^= floorID_.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); - if (ThemeSkillLv != 0) hash ^= ThemeSkillLv.GetHashCode(); - if (Weight != 0) hash ^= Weight.GetHashCode(); - hash ^= mutexGroup_.GetHashCode(); - if (SpecialModeId != 0) hash ^= SpecialModeId.GetHashCode(); - hash ^= monsterGroupBlacklist_.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 (BattleLvs != 0) { - output.WriteRawTag(16); - output.WriteInt32(BattleLvs); - } - stage_.WriteTo(output, _repeated_stage_codec); - if (RoomType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RoomType); - } - mapID_.WriteTo(output, _repeated_mapID_codec); - floorID_.WriteTo(output, _repeated_floorID_codec); - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - if (ThemeSkillLv != 0) { - output.WriteRawTag(64); - output.WriteInt32(ThemeSkillLv); - } - if (Weight != 0) { - output.WriteRawTag(72); - output.WriteInt32(Weight); - } - mutexGroup_.WriteTo(output, _repeated_mutexGroup_codec); - if (SpecialModeId != 0) { - output.WriteRawTag(88); - output.WriteInt32(SpecialModeId); - } - monsterGroupBlacklist_.WriteTo(output, _repeated_monsterGroupBlacklist_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 (BattleLvs != 0) { - output.WriteRawTag(16); - output.WriteInt32(BattleLvs); - } - stage_.WriteTo(ref output, _repeated_stage_codec); - if (RoomType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RoomType); - } - mapID_.WriteTo(ref output, _repeated_mapID_codec); - floorID_.WriteTo(ref output, _repeated_floorID_codec); - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - if (ThemeSkillLv != 0) { - output.WriteRawTag(64); - output.WriteInt32(ThemeSkillLv); - } - if (Weight != 0) { - output.WriteRawTag(72); - output.WriteInt32(Weight); - } - mutexGroup_.WriteTo(ref output, _repeated_mutexGroup_codec); - if (SpecialModeId != 0) { - output.WriteRawTag(88); - output.WriteInt32(SpecialModeId); - } - monsterGroupBlacklist_.WriteTo(ref output, _repeated_monsterGroupBlacklist_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 (BattleLvs != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleLvs); - } - size += stage_.CalculateSize(_repeated_stage_codec); - if (RoomType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType); - } - size += mapID_.CalculateSize(_repeated_mapID_codec); - size += floorID_.CalculateSize(_repeated_floorID_codec); - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (ThemeSkillLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThemeSkillLv); - } - if (Weight != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); - } - size += mutexGroup_.CalculateSize(_repeated_mutexGroup_codec); - if (SpecialModeId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpecialModeId); - } - size += monsterGroupBlacklist_.CalculateSize(_repeated_monsterGroupBlacklist_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerFloorSet other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BattleLvs != 0) { - BattleLvs = other.BattleLvs; - } - stage_.Add(other.stage_); - if (other.RoomType != 0) { - RoomType = other.RoomType; - } - mapID_.Add(other.mapID_); - floorID_.Add(other.floorID_); - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - if (other.ThemeSkillLv != 0) { - ThemeSkillLv = other.ThemeSkillLv; - } - if (other.Weight != 0) { - Weight = other.Weight; - } - mutexGroup_.Add(other.mutexGroup_); - if (other.SpecialModeId != 0) { - SpecialModeId = other.SpecialModeId; - } - monsterGroupBlacklist_.Add(other.monsterGroupBlacklist_); - _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: { - BattleLvs = input.ReadInt32(); - break; - } - case 26: - case 24: { - stage_.AddEntriesFrom(input, _repeated_stage_codec); - break; - } - case 32: { - RoomType = input.ReadInt32(); - break; - } - case 42: - case 40: { - mapID_.AddEntriesFrom(input, _repeated_mapID_codec); - break; - } - case 50: - case 48: { - floorID_.AddEntriesFrom(input, _repeated_floorID_codec); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - case 64: { - ThemeSkillLv = input.ReadInt32(); - break; - } - case 72: { - Weight = input.ReadInt32(); - break; - } - case 82: - case 80: { - mutexGroup_.AddEntriesFrom(input, _repeated_mutexGroup_codec); - break; - } - case 88: { - SpecialModeId = input.ReadInt32(); - break; - } - case 98: - case 96: { - monsterGroupBlacklist_.AddEntriesFrom(input, _repeated_monsterGroupBlacklist_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: { - BattleLvs = input.ReadInt32(); - break; - } - case 26: - case 24: { - stage_.AddEntriesFrom(ref input, _repeated_stage_codec); - break; - } - case 32: { - RoomType = input.ReadInt32(); - break; - } - case 42: - case 40: { - mapID_.AddEntriesFrom(ref input, _repeated_mapID_codec); - break; - } - case 50: - case 48: { - floorID_.AddEntriesFrom(ref input, _repeated_floorID_codec); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - case 64: { - ThemeSkillLv = input.ReadInt32(); - break; - } - case 72: { - Weight = input.ReadInt32(); - break; - } - case 82: - case 80: { - mutexGroup_.AddEntriesFrom(ref input, _repeated_mutexGroup_codec); - break; - } - case 88: { - SpecialModeId = input.ReadInt32(); - break; - } - case 98: - case 96: { - monsterGroupBlacklist_.AddEntriesFrom(ref input, _repeated_monsterGroupBlacklist_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerGiveUp.cs b/Novaria.Common/Protos/StarTowerGiveUp.cs new file mode 100644 index 0000000..76dec7f --- /dev/null +++ b/Novaria.Common/Protos/StarTowerGiveUp.cs @@ -0,0 +1,476 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_give_up.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_give_up.proto</summary> + public static partial class StarTowerGiveUpReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_give_up.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerGiveUpReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhzdGFyX3Rvd2VyX2dpdmVfdXAucHJvdG8SBXByb3RvGhdwdWJsaWNfc3Rh", + "cl90b3dlci5wcm90byLGAQoTU3RhclRvd2VyR2l2ZVVwUmVzcBIhCgZDaGFu", + "Z2UYASABKAsyES5wcm90by5DaGFuZ2VJbmZvEigKBUJ1aWxkGAIgASgLMhku", + "cHJvdG8uU3RhclRvd2VyQnVpbGRJbmZvEg0KBUZsb29yGAwgASgNEhQKDFBv", + "dGVudGlhbENudBgNIAEoDRIRCglUb3RhbFRpbWUYDiABKA0SFAoMVG90YWxE", + "YW1hZ2VzGA8gAygEEhQKC05leHRQYWNrYWdlGP8PIAEoDGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerGiveUpResp), global::Proto.StarTowerGiveUpResp.Parser, new[]{ "Change", "Build", "Floor", "PotentialCnt", "TotalTime", "TotalDamages", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerGiveUpResp : pb::IMessage<StarTowerGiveUpResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerGiveUpResp> _parser = new pb::MessageParser<StarTowerGiveUpResp>(() => new StarTowerGiveUpResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerGiveUpResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerGiveUpReflection.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 StarTowerGiveUpResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGiveUpResp(StarTowerGiveUpResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + build_ = other.build_ != null ? other.build_.Clone() : null; + floor_ = other.floor_; + potentialCnt_ = other.potentialCnt_; + totalTime_ = other.totalTime_; + totalDamages_ = other.totalDamages_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGiveUpResp Clone() { + return new StarTowerGiveUpResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "Build" field.</summary> + public const int BuildFieldNumber = 2; + private global::Proto.StarTowerBuildInfo build_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerBuildInfo Build { + get { return build_; } + set { + build_ = value; + } + } + + /// <summary>Field number for the "Floor" field.</summary> + public const int FloorFieldNumber = 12; + private uint floor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Floor { + get { return floor_; } + set { + floor_ = value; + } + } + + /// <summary>Field number for the "PotentialCnt" field.</summary> + public const int PotentialCntFieldNumber = 13; + private uint potentialCnt_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PotentialCnt { + get { return potentialCnt_; } + set { + potentialCnt_ = value; + } + } + + /// <summary>Field number for the "TotalTime" field.</summary> + public const int TotalTimeFieldNumber = 14; + private uint totalTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TotalTime { + get { return totalTime_; } + set { + totalTime_ = value; + } + } + + /// <summary>Field number for the "TotalDamages" field.</summary> + public const int TotalDamagesFieldNumber = 15; + private static readonly pb::FieldCodec<ulong> _repeated_totalDamages_codec + = pb::FieldCodec.ForUInt64(122); + private readonly pbc::RepeatedField<ulong> totalDamages_ = new pbc::RepeatedField<ulong>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<ulong> TotalDamages { + get { return totalDamages_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerGiveUpResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerGiveUpResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if (!object.Equals(Build, other.Build)) return false; + if (Floor != other.Floor) return false; + if (PotentialCnt != other.PotentialCnt) return false; + if (TotalTime != other.TotalTime) return false; + if(!totalDamages_.Equals(other.totalDamages_)) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + if (build_ != null) hash ^= Build.GetHashCode(); + if (Floor != 0) hash ^= Floor.GetHashCode(); + if (PotentialCnt != 0) hash ^= PotentialCnt.GetHashCode(); + if (TotalTime != 0) hash ^= TotalTime.GetHashCode(); + hash ^= totalDamages_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (build_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Build); + } + if (Floor != 0) { + output.WriteRawTag(96); + output.WriteUInt32(Floor); + } + if (PotentialCnt != 0) { + output.WriteRawTag(104); + output.WriteUInt32(PotentialCnt); + } + if (TotalTime != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TotalTime); + } + totalDamages_.WriteTo(output, _repeated_totalDamages_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (build_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Build); + } + if (Floor != 0) { + output.WriteRawTag(96); + output.WriteUInt32(Floor); + } + if (PotentialCnt != 0) { + output.WriteRawTag(104); + output.WriteUInt32(PotentialCnt); + } + if (TotalTime != 0) { + output.WriteRawTag(112); + output.WriteUInt32(TotalTime); + } + totalDamages_.WriteTo(ref output, _repeated_totalDamages_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (build_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Build); + } + if (Floor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Floor); + } + if (PotentialCnt != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PotentialCnt); + } + if (TotalTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalTime); + } + size += totalDamages_.CalculateSize(_repeated_totalDamages_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerGiveUpResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.build_ != null) { + if (build_ == null) { + Build = new global::Proto.StarTowerBuildInfo(); + } + Build.MergeFrom(other.Build); + } + if (other.Floor != 0) { + Floor = other.Floor; + } + if (other.PotentialCnt != 0) { + PotentialCnt = other.PotentialCnt; + } + if (other.TotalTime != 0) { + TotalTime = other.TotalTime; + } + totalDamages_.Add(other.totalDamages_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: { + if (build_ == null) { + Build = new global::Proto.StarTowerBuildInfo(); + } + input.ReadMessage(Build); + break; + } + case 96: { + Floor = input.ReadUInt32(); + break; + } + case 104: { + PotentialCnt = input.ReadUInt32(); + break; + } + case 112: { + TotalTime = input.ReadUInt32(); + break; + } + case 122: + case 120: { + totalDamages_.AddEntriesFrom(input, _repeated_totalDamages_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 18: { + if (build_ == null) { + Build = new global::Proto.StarTowerBuildInfo(); + } + input.ReadMessage(Build); + break; + } + case 96: { + Floor = input.ReadUInt32(); + break; + } + case 104: { + PotentialCnt = input.ReadUInt32(); + break; + } + case 112: { + TotalTime = input.ReadUInt32(); + break; + } + case 122: + case 120: { + totalDamages_.AddEntriesFrom(ref input, _repeated_totalDamages_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerGroup.cs b/Novaria.Common/Protos/StarTowerGroup.cs deleted file mode 100644 index 8d9b4e0..0000000 --- a/Novaria.Common/Protos/StarTowerGroup.cs +++ /dev/null @@ -1,456 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerGroup.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 StarTowerGroup.proto</summary> - public static partial class StarTowerGroupReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRTdGFyVG93ZXJHcm91cC5wcm90byKBAQoOU3RhclRvd2VyR3JvdXASCgoC", - "aWQYASABKAUSDAoEbmFtZRgCIAEoCRINCgVlX2VfdBgDIAMoBRIPCgdlcGlz", - "b2RlGAQgASgJEgwKBHNvcnQYBSABKAUSEgoKZ3JvdXBfdHlwZRgGIAEoBRIT", - "Cgtncm91cF90aGVtZRgHIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerGroup), global::Nova.Client.StarTowerGroup.Parser, new[]{ "Id", "Name", "EET", "Episode", "Sort", "GroupType", "GroupTheme" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerGroup : pb::IMessage<StarTowerGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerGroup> _parser = new pb::MessageParser<StarTowerGroup>(() => new StarTowerGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerGroup> 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.StarTowerGroupReflection.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 StarTowerGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerGroup(StarTowerGroup other) : this() { - id_ = other.id_; - name_ = other.name_; - eET_ = other.eET_.Clone(); - episode_ = other.episode_; - sort_ = other.sort_; - groupType_ = other.groupType_; - groupTheme_ = other.groupTheme_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerGroup Clone() { - return new StarTowerGroup(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 "e_e_t" field.</summary> - public const int EETFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_eET_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EET { - get { return eET_; } - } - - /// <summary>Field number for the "episode" field.</summary> - public const int EpisodeFieldNumber = 4; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "sort" field.</summary> - public const int SortFieldNumber = 5; - 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 "group_type" field.</summary> - public const int GroupTypeFieldNumber = 6; - private int groupType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupType { - get { return groupType_; } - set { - groupType_ = value; - } - } - - /// <summary>Field number for the "group_theme" field.</summary> - public const int GroupThemeFieldNumber = 7; - private int groupTheme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupTheme { - get { return groupTheme_; } - set { - groupTheme_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerGroup 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(!eET_.Equals(other.eET_)) return false; - if (Episode != other.Episode) return false; - if (Sort != other.Sort) return false; - if (GroupType != other.GroupType) return false; - if (GroupTheme != other.GroupTheme) 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(); - hash ^= eET_.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (GroupType != 0) hash ^= GroupType.GetHashCode(); - if (GroupTheme != 0) hash ^= GroupTheme.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); - } - eET_.WriteTo(output, _repeated_eET_codec); - if (Episode.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Episode); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - if (GroupType != 0) { - output.WriteRawTag(48); - output.WriteInt32(GroupType); - } - if (GroupTheme != 0) { - output.WriteRawTag(56); - output.WriteInt32(GroupTheme); - } - 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); - } - eET_.WriteTo(ref output, _repeated_eET_codec); - if (Episode.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Episode); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - if (GroupType != 0) { - output.WriteRawTag(48); - output.WriteInt32(GroupType); - } - if (GroupTheme != 0) { - output.WriteRawTag(56); - output.WriteInt32(GroupTheme); - } - 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); - } - size += eET_.CalculateSize(_repeated_eET_codec); - if (Episode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (GroupType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupType); - } - if (GroupTheme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupTheme); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerGroup other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - eET_.Add(other.eET_); - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.GroupType != 0) { - GroupType = other.GroupType; - } - if (other.GroupTheme != 0) { - GroupTheme = other.GroupTheme; - } - _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 26: - case 24: { - eET_.AddEntriesFrom(input, _repeated_eET_codec); - break; - } - case 34: { - Episode = input.ReadString(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - case 48: { - GroupType = input.ReadInt32(); - break; - } - case 56: { - GroupTheme = 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 18: { - Name = input.ReadString(); - break; - } - case 26: - case 24: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - case 34: { - Episode = input.ReadString(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - case 48: { - GroupType = input.ReadInt32(); - break; - } - case 56: { - GroupTheme = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerGrowthGroup.cs b/Novaria.Common/Protos/StarTowerGrowthGroup.cs deleted file mode 100644 index edf144e..0000000 --- a/Novaria.Common/Protos/StarTowerGrowthGroup.cs +++ /dev/null @@ -1,354 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerGrowthGroup.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 StarTowerGrowthGroup.proto</summary> - public static partial class StarTowerGrowthGroupReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerGrowthGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerGrowthGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdGFyVG93ZXJHcm93dGhHcm91cC5wcm90byJYChRTdGFyVG93ZXJHcm93", - "dGhHcm91cBIKCgJpZBgBIAEoBRIRCglwcmVfZ3JvdXAYAiABKAUSEwoLd29y", - "bGRfY2xhc3MYAyABKAUSDAoEbmFtZRgEIAEoCUIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerGrowthGroup), global::Nova.Client.StarTowerGrowthGroup.Parser, new[]{ "Id", "PreGroup", "WorldClass", "Name" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerGrowthGroup : pb::IMessage<StarTowerGrowthGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerGrowthGroup> _parser = new pb::MessageParser<StarTowerGrowthGroup>(() => new StarTowerGrowthGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerGrowthGroup> 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.StarTowerGrowthGroupReflection.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 StarTowerGrowthGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerGrowthGroup(StarTowerGrowthGroup other) : this() { - id_ = other.id_; - preGroup_ = other.preGroup_; - worldClass_ = other.worldClass_; - name_ = other.name_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerGrowthGroup Clone() { - return new StarTowerGrowthGroup(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 "pre_group" field.</summary> - public const int PreGroupFieldNumber = 2; - private int preGroup_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreGroup { - get { return preGroup_; } - set { - preGroup_ = value; - } - } - - /// <summary>Field number for the "world_class" field.</summary> - public const int WorldClassFieldNumber = 3; - private int worldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClass { - get { return worldClass_; } - set { - worldClass_ = 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"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerGrowthGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerGrowthGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (PreGroup != other.PreGroup) return false; - if (WorldClass != other.WorldClass) return false; - if (Name != other.Name) 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 (PreGroup != 0) hash ^= PreGroup.GetHashCode(); - if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); - if (Name.Length != 0) hash ^= Name.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 (PreGroup != 0) { - output.WriteRawTag(16); - output.WriteInt32(PreGroup); - } - if (WorldClass != 0) { - output.WriteRawTag(24); - output.WriteInt32(WorldClass); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - 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 (PreGroup != 0) { - output.WriteRawTag(16); - output.WriteInt32(PreGroup); - } - if (WorldClass != 0) { - output.WriteRawTag(24); - output.WriteInt32(WorldClass); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - 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 (PreGroup != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreGroup); - } - if (WorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerGrowthGroup other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.PreGroup != 0) { - PreGroup = other.PreGroup; - } - if (other.WorldClass != 0) { - WorldClass = other.WorldClass; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - _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: { - PreGroup = input.ReadInt32(); - break; - } - case 24: { - WorldClass = input.ReadInt32(); - break; - } - case 34: { - Name = 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: { - PreGroup = input.ReadInt32(); - break; - } - case 24: { - WorldClass = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerGrowthNode.cs b/Novaria.Common/Protos/StarTowerGrowthNode.cs deleted file mode 100644 index 887fcd6..0000000 --- a/Novaria.Common/Protos/StarTowerGrowthNode.cs +++ /dev/null @@ -1,971 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerGrowthNode.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 StarTowerGrowthNode.proto</summary> - public static partial class StarTowerGrowthNodeReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerGrowthNode.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerGrowthNodeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlTdGFyVG93ZXJHcm93dGhOb2RlLnByb3RvIoIDChNTdGFyVG93ZXJHcm93", - "dGhOb2RlEgoKAmlkGAEgASgFEg8KB25vZGVfaWQYAiABKAUSDQoFZ3JvdXAY", - "AyABKAUSDAoEbmFtZRgEIAEoCRIRCglpc19zZXJ2ZXIYBSABKAgSEQoJaXNf", - "Y2xpZW50GAYgASgIEgwKBHR5cGUYByABKAUSDQoFY29sb3IYCCABKAUSEQoJ", - "cHJlX25vZGVzGAkgAygFEhUKDWVmZmVjdF9jbGllbnQYCiABKAUSFQoNY2xp", - "ZW50X3BhcmFtcxgLIAEoCRIQCghwcmlvcml0eRgMIAEoBRIMCgRpY29uGA0g", - "ASgJEhAKCHBvc2l0aW9uGA4gAygFEgwKBGRlc2MYDyABKAkSEAoIaXRlbV9p", - "ZDEYECABKAUSEQoJaXRlbV9xdHkxGBEgASgFEhAKCGl0ZW1faWQyGBIgASgF", - "EhEKCWl0ZW1fcXR5MhgTIAEoBRIQCghpdGVtX2lkMxgUIAEoBRIRCglpdGVt", - "X3F0eTMYFSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerGrowthNode), global::Nova.Client.StarTowerGrowthNode.Parser, new[]{ "Id", "NodeId", "Group", "Name", "IsServer", "IsClient", "Type", "Color", "PreNodes", "EffectClient", "ClientParams", "Priority", "Icon", "Position", "Desc", "ItemId1", "ItemQty1", "ItemId2", "ItemQty2", "ItemId3", "ItemQty3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerGrowthNode : pb::IMessage<StarTowerGrowthNode> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerGrowthNode> _parser = new pb::MessageParser<StarTowerGrowthNode>(() => new StarTowerGrowthNode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerGrowthNode> 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.StarTowerGrowthNodeReflection.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 StarTowerGrowthNode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerGrowthNode(StarTowerGrowthNode other) : this() { - id_ = other.id_; - nodeId_ = other.nodeId_; - group_ = other.group_; - name_ = other.name_; - isServer_ = other.isServer_; - isClient_ = other.isClient_; - type_ = other.type_; - color_ = other.color_; - preNodes_ = other.preNodes_.Clone(); - effectClient_ = other.effectClient_; - clientParams_ = other.clientParams_; - priority_ = other.priority_; - icon_ = other.icon_; - position_ = other.position_.Clone(); - desc_ = other.desc_; - itemId1_ = other.itemId1_; - itemQty1_ = other.itemQty1_; - itemId2_ = other.itemId2_; - itemQty2_ = other.itemQty2_; - itemId3_ = other.itemId3_; - itemQty3_ = other.itemQty3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerGrowthNode Clone() { - return new StarTowerGrowthNode(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 "node_id" field.</summary> - public const int NodeIdFieldNumber = 2; - private int nodeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NodeId { - get { return nodeId_; } - set { - nodeId_ = value; - } - } - - /// <summary>Field number for the "group" field.</summary> - public const int GroupFieldNumber = 3; - private int group_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Group { - get { return group_; } - set { - group_ = 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 "is_server" field.</summary> - public const int IsServerFieldNumber = 5; - private bool isServer_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsServer { - get { return isServer_; } - set { - isServer_ = value; - } - } - - /// <summary>Field number for the "is_client" field.</summary> - public const int IsClientFieldNumber = 6; - private bool isClient_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsClient { - get { return isClient_; } - set { - isClient_ = value; - } - } - - /// <summary>Field number for the "type" field.</summary> - public const int TypeFieldNumber = 7; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "color" field.</summary> - public const int ColorFieldNumber = 8; - private int color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Color { - get { return color_; } - set { - color_ = value; - } - } - - /// <summary>Field number for the "pre_nodes" field.</summary> - public const int PreNodesFieldNumber = 9; - private static readonly pb::FieldCodec<int> _repeated_preNodes_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField<int> preNodes_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> PreNodes { - get { return preNodes_; } - } - - /// <summary>Field number for the "effect_client" field.</summary> - public const int EffectClientFieldNumber = 10; - private int effectClient_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectClient { - get { return effectClient_; } - set { - effectClient_ = value; - } - } - - /// <summary>Field number for the "client_params" field.</summary> - public const int ClientParamsFieldNumber = 11; - private string clientParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ClientParams { - get { return clientParams_; } - set { - clientParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "priority" field.</summary> - public const int PriorityFieldNumber = 12; - private int priority_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Priority { - get { return priority_; } - set { - priority_ = value; - } - } - - /// <summary>Field number for the "icon" field.</summary> - public const int IconFieldNumber = 13; - 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 "position" field.</summary> - public const int PositionFieldNumber = 14; - private static readonly pb::FieldCodec<int> _repeated_position_codec - = pb::FieldCodec.ForInt32(114); - private readonly pbc::RepeatedField<int> position_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Position { - get { return position_; } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 15; - 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 "item_id1" field.</summary> - public const int ItemId1FieldNumber = 16; - private int itemId1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId1 { - get { return itemId1_; } - set { - itemId1_ = value; - } - } - - /// <summary>Field number for the "item_qty1" field.</summary> - public const int ItemQty1FieldNumber = 17; - private int itemQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty1 { - get { return itemQty1_; } - set { - itemQty1_ = value; - } - } - - /// <summary>Field number for the "item_id2" field.</summary> - public const int ItemId2FieldNumber = 18; - private int itemId2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId2 { - get { return itemId2_; } - set { - itemId2_ = value; - } - } - - /// <summary>Field number for the "item_qty2" field.</summary> - public const int ItemQty2FieldNumber = 19; - private int itemQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty2 { - get { return itemQty2_; } - set { - itemQty2_ = value; - } - } - - /// <summary>Field number for the "item_id3" field.</summary> - public const int ItemId3FieldNumber = 20; - private int itemId3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId3 { - get { return itemId3_; } - set { - itemId3_ = value; - } - } - - /// <summary>Field number for the "item_qty3" field.</summary> - public const int ItemQty3FieldNumber = 21; - private int itemQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemQty3 { - get { return itemQty3_; } - set { - itemQty3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerGrowthNode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerGrowthNode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (NodeId != other.NodeId) return false; - if (Group != other.Group) return false; - if (Name != other.Name) return false; - if (IsServer != other.IsServer) return false; - if (IsClient != other.IsClient) return false; - if (Type != other.Type) return false; - if (Color != other.Color) return false; - if(!preNodes_.Equals(other.preNodes_)) return false; - if (EffectClient != other.EffectClient) return false; - if (ClientParams != other.ClientParams) return false; - if (Priority != other.Priority) return false; - if (Icon != other.Icon) return false; - if(!position_.Equals(other.position_)) return false; - if (Desc != other.Desc) return false; - if (ItemId1 != other.ItemId1) return false; - if (ItemQty1 != other.ItemQty1) return false; - if (ItemId2 != other.ItemId2) return false; - if (ItemQty2 != other.ItemQty2) return false; - if (ItemId3 != other.ItemId3) return false; - if (ItemQty3 != other.ItemQty3) 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 (NodeId != 0) hash ^= NodeId.GetHashCode(); - if (Group != 0) hash ^= Group.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (IsServer != false) hash ^= IsServer.GetHashCode(); - if (IsClient != false) hash ^= IsClient.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (Color != 0) hash ^= Color.GetHashCode(); - hash ^= preNodes_.GetHashCode(); - if (EffectClient != 0) hash ^= EffectClient.GetHashCode(); - if (ClientParams.Length != 0) hash ^= ClientParams.GetHashCode(); - if (Priority != 0) hash ^= Priority.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - hash ^= position_.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (ItemId1 != 0) hash ^= ItemId1.GetHashCode(); - if (ItemQty1 != 0) hash ^= ItemQty1.GetHashCode(); - if (ItemId2 != 0) hash ^= ItemId2.GetHashCode(); - if (ItemQty2 != 0) hash ^= ItemQty2.GetHashCode(); - if (ItemId3 != 0) hash ^= ItemId3.GetHashCode(); - if (ItemQty3 != 0) hash ^= ItemQty3.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 (NodeId != 0) { - output.WriteRawTag(16); - output.WriteInt32(NodeId); - } - if (Group != 0) { - output.WriteRawTag(24); - output.WriteInt32(Group); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (IsServer != false) { - output.WriteRawTag(40); - output.WriteBool(IsServer); - } - if (IsClient != false) { - output.WriteRawTag(48); - output.WriteBool(IsClient); - } - if (Type != 0) { - output.WriteRawTag(56); - output.WriteInt32(Type); - } - if (Color != 0) { - output.WriteRawTag(64); - output.WriteInt32(Color); - } - preNodes_.WriteTo(output, _repeated_preNodes_codec); - if (EffectClient != 0) { - output.WriteRawTag(80); - output.WriteInt32(EffectClient); - } - if (ClientParams.Length != 0) { - output.WriteRawTag(90); - output.WriteString(ClientParams); - } - if (Priority != 0) { - output.WriteRawTag(96); - output.WriteInt32(Priority); - } - if (Icon.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Icon); - } - position_.WriteTo(output, _repeated_position_codec); - if (Desc.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Desc); - } - if (ItemId1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ItemId1); - } - if (ItemQty1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ItemQty1); - } - if (ItemId2 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(ItemId2); - } - if (ItemQty2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ItemQty2); - } - if (ItemId3 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(ItemId3); - } - if (ItemQty3 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(ItemQty3); - } - 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 (NodeId != 0) { - output.WriteRawTag(16); - output.WriteInt32(NodeId); - } - if (Group != 0) { - output.WriteRawTag(24); - output.WriteInt32(Group); - } - if (Name.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (IsServer != false) { - output.WriteRawTag(40); - output.WriteBool(IsServer); - } - if (IsClient != false) { - output.WriteRawTag(48); - output.WriteBool(IsClient); - } - if (Type != 0) { - output.WriteRawTag(56); - output.WriteInt32(Type); - } - if (Color != 0) { - output.WriteRawTag(64); - output.WriteInt32(Color); - } - preNodes_.WriteTo(ref output, _repeated_preNodes_codec); - if (EffectClient != 0) { - output.WriteRawTag(80); - output.WriteInt32(EffectClient); - } - if (ClientParams.Length != 0) { - output.WriteRawTag(90); - output.WriteString(ClientParams); - } - if (Priority != 0) { - output.WriteRawTag(96); - output.WriteInt32(Priority); - } - if (Icon.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Icon); - } - position_.WriteTo(ref output, _repeated_position_codec); - if (Desc.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Desc); - } - if (ItemId1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ItemId1); - } - if (ItemQty1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ItemQty1); - } - if (ItemId2 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(ItemId2); - } - if (ItemQty2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ItemQty2); - } - if (ItemId3 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(ItemId3); - } - if (ItemQty3 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(ItemQty3); - } - 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 (NodeId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NodeId); - } - if (Group != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (IsServer != false) { - size += 1 + 1; - } - if (IsClient != false) { - size += 1 + 1; - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (Color != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Color); - } - size += preNodes_.CalculateSize(_repeated_preNodes_codec); - if (EffectClient != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectClient); - } - if (ClientParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientParams); - } - if (Priority != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - size += position_.CalculateSize(_repeated_position_codec); - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (ItemId1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemId1); - } - if (ItemQty1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemQty1); - } - if (ItemId2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemId2); - } - if (ItemQty2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemQty2); - } - if (ItemId3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemId3); - } - if (ItemQty3 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemQty3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerGrowthNode other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.NodeId != 0) { - NodeId = other.NodeId; - } - if (other.Group != 0) { - Group = other.Group; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.IsServer != false) { - IsServer = other.IsServer; - } - if (other.IsClient != false) { - IsClient = other.IsClient; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.Color != 0) { - Color = other.Color; - } - preNodes_.Add(other.preNodes_); - if (other.EffectClient != 0) { - EffectClient = other.EffectClient; - } - if (other.ClientParams.Length != 0) { - ClientParams = other.ClientParams; - } - if (other.Priority != 0) { - Priority = other.Priority; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - position_.Add(other.position_); - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.ItemId1 != 0) { - ItemId1 = other.ItemId1; - } - if (other.ItemQty1 != 0) { - ItemQty1 = other.ItemQty1; - } - if (other.ItemId2 != 0) { - ItemId2 = other.ItemId2; - } - if (other.ItemQty2 != 0) { - ItemQty2 = other.ItemQty2; - } - if (other.ItemId3 != 0) { - ItemId3 = other.ItemId3; - } - if (other.ItemQty3 != 0) { - ItemQty3 = other.ItemQty3; - } - _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: { - NodeId = input.ReadInt32(); - break; - } - case 24: { - Group = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - IsServer = input.ReadBool(); - break; - } - case 48: { - IsClient = input.ReadBool(); - break; - } - case 56: { - Type = input.ReadInt32(); - break; - } - case 64: { - Color = input.ReadInt32(); - break; - } - case 74: - case 72: { - preNodes_.AddEntriesFrom(input, _repeated_preNodes_codec); - break; - } - case 80: { - EffectClient = input.ReadInt32(); - break; - } - case 90: { - ClientParams = input.ReadString(); - break; - } - case 96: { - Priority = input.ReadInt32(); - break; - } - case 106: { - Icon = input.ReadString(); - break; - } - case 114: - case 112: { - position_.AddEntriesFrom(input, _repeated_position_codec); - break; - } - case 122: { - Desc = input.ReadString(); - break; - } - case 128: { - ItemId1 = input.ReadInt32(); - break; - } - case 136: { - ItemQty1 = input.ReadInt32(); - break; - } - case 144: { - ItemId2 = input.ReadInt32(); - break; - } - case 152: { - ItemQty2 = input.ReadInt32(); - break; - } - case 160: { - ItemId3 = input.ReadInt32(); - break; - } - case 168: { - ItemQty3 = 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: { - NodeId = input.ReadInt32(); - break; - } - case 24: { - Group = input.ReadInt32(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 40: { - IsServer = input.ReadBool(); - break; - } - case 48: { - IsClient = input.ReadBool(); - break; - } - case 56: { - Type = input.ReadInt32(); - break; - } - case 64: { - Color = input.ReadInt32(); - break; - } - case 74: - case 72: { - preNodes_.AddEntriesFrom(ref input, _repeated_preNodes_codec); - break; - } - case 80: { - EffectClient = input.ReadInt32(); - break; - } - case 90: { - ClientParams = input.ReadString(); - break; - } - case 96: { - Priority = input.ReadInt32(); - break; - } - case 106: { - Icon = input.ReadString(); - break; - } - case 114: - case 112: { - position_.AddEntriesFrom(ref input, _repeated_position_codec); - break; - } - case 122: { - Desc = input.ReadString(); - break; - } - case 128: { - ItemId1 = input.ReadInt32(); - break; - } - case 136: { - ItemQty1 = input.ReadInt32(); - break; - } - case 144: { - ItemId2 = input.ReadInt32(); - break; - } - case 152: { - ItemQty2 = input.ReadInt32(); - break; - } - case 160: { - ItemId3 = input.ReadInt32(); - break; - } - case 168: { - ItemQty3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerHarmonySkill.cs b/Novaria.Common/Protos/StarTowerHarmonySkill.cs deleted file mode 100644 index b5065b2..0000000 --- a/Novaria.Common/Protos/StarTowerHarmonySkill.cs +++ /dev/null @@ -1,569 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerHarmonySkill.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 StarTowerHarmonySkill.proto</summary> - public static partial class StarTowerHarmonySkillReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerHarmonySkill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerHarmonySkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtTdGFyVG93ZXJIYXJtb255U2tpbGwucHJvdG8isgEKFVN0YXJUb3dlckhh", - "cm1vbnlTa2lsbBIKCgJpZBgBIAEoBRIOCgZyYXJpdHkYAiABKAUSDAoEbmFt", - "ZRgDIAEoCRILCgN0YWcYBCABKAUSDQoFc2NvcmUYBSABKAUSEQoJZWZmZWN0", - "X2lkGAYgAygFEgwKBGRlc2MYByABKAkSDAoEaWNvbhgIIAEoCRIPCgdpY29u", - "X2JnGAkgASgJEhMKC2ljb25fY29ybmVyGAogASgJQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerHarmonySkill), global::Nova.Client.StarTowerHarmonySkill.Parser, new[]{ "Id", "Rarity", "Name", "Tag", "Score", "EffectId", "Desc", "Icon", "IconBg", "IconCorner" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerHarmonySkill : pb::IMessage<StarTowerHarmonySkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerHarmonySkill> _parser = new pb::MessageParser<StarTowerHarmonySkill>(() => new StarTowerHarmonySkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerHarmonySkill> 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.StarTowerHarmonySkillReflection.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 StarTowerHarmonySkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerHarmonySkill(StarTowerHarmonySkill other) : this() { - id_ = other.id_; - rarity_ = other.rarity_; - name_ = other.name_; - tag_ = other.tag_; - score_ = other.score_; - effectId_ = other.effectId_.Clone(); - desc_ = other.desc_; - icon_ = other.icon_; - iconBg_ = other.iconBg_; - iconCorner_ = other.iconCorner_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerHarmonySkill Clone() { - return new StarTowerHarmonySkill(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 "rarity" field.</summary> - public const int RarityFieldNumber = 2; - private int rarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } - set { - rarity_ = value; - } - } - - /// <summary>Field number for the "name" field.</summary> - public const int NameFieldNumber = 3; - 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 "tag" field.</summary> - public const int TagFieldNumber = 4; - private int tag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tag { - get { return tag_; } - set { - tag_ = value; - } - } - - /// <summary>Field number for the "score" field.</summary> - public const int ScoreFieldNumber = 5; - private int score_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Score { - get { return score_; } - set { - score_ = value; - } - } - - /// <summary>Field number for the "effect_id" field.</summary> - public const int EffectIdFieldNumber = 6; - private static readonly pb::FieldCodec<int> _repeated_effectId_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EffectId { - get { return effectId_; } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 7; - 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 = 8; - 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 "icon_bg" field.</summary> - public const int IconBgFieldNumber = 9; - private string iconBg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IconBg { - get { return iconBg_; } - set { - iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "icon_corner" field.</summary> - public const int IconCornerFieldNumber = 10; - private string iconCorner_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IconCorner { - get { return iconCorner_; } - set { - iconCorner_ = 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 StarTowerHarmonySkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerHarmonySkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Rarity != other.Rarity) return false; - if (Name != other.Name) return false; - if (Tag != other.Tag) return false; - if (Score != other.Score) return false; - if(!effectId_.Equals(other.effectId_)) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (IconBg != other.IconBg) return false; - if (IconCorner != other.IconCorner) 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 (Rarity != 0) hash ^= Rarity.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Tag != 0) hash ^= Tag.GetHashCode(); - if (Score != 0) hash ^= Score.GetHashCode(); - hash ^= effectId_.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); - if (IconCorner.Length != 0) hash ^= IconCorner.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 (Rarity != 0) { - output.WriteRawTag(16); - output.WriteInt32(Rarity); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Tag != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tag); - } - if (Score != 0) { - output.WriteRawTag(40); - output.WriteInt32(Score); - } - effectId_.WriteTo(output, _repeated_effectId_codec); - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (IconBg.Length != 0) { - output.WriteRawTag(74); - output.WriteString(IconBg); - } - if (IconCorner.Length != 0) { - output.WriteRawTag(82); - output.WriteString(IconCorner); - } - 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 (Rarity != 0) { - output.WriteRawTag(16); - output.WriteInt32(Rarity); - } - if (Name.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Name); - } - if (Tag != 0) { - output.WriteRawTag(32); - output.WriteInt32(Tag); - } - if (Score != 0) { - output.WriteRawTag(40); - output.WriteInt32(Score); - } - effectId_.WriteTo(ref output, _repeated_effectId_codec); - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Icon); - } - if (IconBg.Length != 0) { - output.WriteRawTag(74); - output.WriteString(IconBg); - } - if (IconCorner.Length != 0) { - output.WriteRawTag(82); - output.WriteString(IconCorner); - } - 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 (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Tag != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag); - } - if (Score != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score); - } - size += effectId_.CalculateSize(_repeated_effectId_codec); - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (IconBg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(IconBg); - } - if (IconCorner.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(IconCorner); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerHarmonySkill other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Rarity != 0) { - Rarity = other.Rarity; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Tag != 0) { - Tag = other.Tag; - } - if (other.Score != 0) { - Score = other.Score; - } - effectId_.Add(other.effectId_); - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.IconBg.Length != 0) { - IconBg = other.IconBg; - } - if (other.IconCorner.Length != 0) { - IconCorner = other.IconCorner; - } - _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: { - Rarity = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - Tag = input.ReadInt32(); - break; - } - case 40: { - Score = input.ReadInt32(); - break; - } - case 50: - case 48: { - effectId_.AddEntriesFrom(input, _repeated_effectId_codec); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 74: { - IconBg = input.ReadString(); - break; - } - case 82: { - IconCorner = 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: { - Rarity = input.ReadInt32(); - break; - } - case 26: { - Name = input.ReadString(); - break; - } - case 32: { - Tag = input.ReadInt32(); - break; - } - case 40: { - Score = input.ReadInt32(); - break; - } - case 50: - case 48: { - effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 66: { - Icon = input.ReadString(); - break; - } - case 74: { - IconBg = input.ReadString(); - break; - } - case 82: { - IconCorner = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerInfo.cs b/Novaria.Common/Protos/StarTowerInfo.cs new file mode 100644 index 0000000..58983b9 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerInfo.cs @@ -0,0 +1,38 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_info.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_info.proto</summary> + public static partial class StarTowerInfoReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_info.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerInfoReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVzdGFyX3Rvd2VyX2luZm8ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8a", + "F3B1YmxpY19zdGFyX3Rvd2VyLnByb3RvUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerInteract.cs b/Novaria.Common/Protos/StarTowerInteract.cs new file mode 100644 index 0000000..dcf4630 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerInteract.cs @@ -0,0 +1,1287 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_interact.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_interact.proto</summary> + public static partial class StarTowerInteractReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_interact.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerInteractReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlzdGFyX3Rvd2VyX2ludGVyYWN0LnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvGhdwdWJsaWNfc3Rhcl90b3dlci5wcm90byK5AgoUU3RhclRvd2VySW50", + "ZXJhY3RSZXESCgoCSWQYASABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMEisK", + "CEVudGVyUmVxGAIgASgLMhcucHJvdG8uSW50ZXJhY3RFbnRlclJlcUgAEjMK", + "DEJhdHRsZUVuZFJlcRgDIAEoCzIbLnByb3RvLkludGVyYWN0QmF0dGxlRW5k", + "UmVxSAASLQoJU2VsZWN0UmVxGAQgASgLMhgucHJvdG8uSW50ZXJhY3RTZWxl", + "Y3RSZXFIABI1Cg1SZWNvdmVyeUhQUmVxGAUgASgLMhwucHJvdG8uSW50ZXJh", + "Y3RSZWNvdmVyeUhQUmVxSAASLQoJSGF3a2VyUmVxGAYgASgLMhgucHJvdG8u", + "SW50ZXJhY3RIYXdrZXJSZXFIAEIICgZBY3Rpb24i2wMKFVN0YXJUb3dlcklu", + "dGVyYWN0UmVzcBIKCgJJZBgBIAEoDRInCgVDYXNlcxgCIAMoCzIYLnByb3Rv", + "LlN0YXJUb3dlclJvb21DYXNlEiEKBkNoYW5nZRgDIAEoCzIRLnByb3RvLkNo", + "YW5nZUluZm8SJAoERGF0YRgEIAEoCzIWLnByb3RvLlRvd2VyQ2hhbmdlRGF0", + "YRIUCgtOZXh0UGFja2FnZRj/DyABKAwSLQoJRW50ZXJSZXNwGAcgASgLMhgu", + "cHJvdG8uSW50ZXJhY3RFbnRlclJlc3BIABI1Cg1CYXR0bGVFbmRSZXNwGAgg", + "ASgLMhwucHJvdG8uSW50ZXJhY3RCYXR0bGVFbmRSZXNwSAASLwoKU2VsZWN0", + "UmVzcBgJIAEoCzIZLnByb3RvLkludGVyYWN0U2VsZWN0UmVzcEgAEkUKFVN0", + "cmVuZ3RoZW5NYWNoaW5lUmVzcBgKIAEoCzIkLnByb3RvLkludGVyYWN0U3Ry", + "ZW5ndGhlbk1hY2hpbmVSZXNwSAASJwoGU2V0dGxlGA4gASgLMhUucHJvdG8u", + "U2V0dGxlRGF0YVJlc3BIABIdCgdOaWxSZXNwGA8gASgLMgoucHJvdG8uTmls", + "SABCCAoGQWN0aW9uUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerInteractReq), global::Proto.StarTowerInteractReq.Parser, new[]{ "Id", "NextPackage", "EnterReq", "BattleEndReq", "SelectReq", "RecoveryHPReq", "HawkerReq" }, new[]{ "Action" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerInteractResp), global::Proto.StarTowerInteractResp.Parser, new[]{ "Id", "Cases", "Change", "Data", "NextPackage", "EnterResp", "BattleEndResp", "SelectResp", "StrengthenMachineResp", "Settle", "NilResp" }, new[]{ "Action" }, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerInteractReq : pb::IMessage<StarTowerInteractReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerInteractReq> _parser = new pb::MessageParser<StarTowerInteractReq>(() => new StarTowerInteractReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerInteractReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerInteractReflection.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 StarTowerInteractReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInteractReq(StarTowerInteractReq other) : this() { + id_ = other.id_; + nextPackage_ = other.nextPackage_; + switch (other.ActionCase) { + case ActionOneofCase.EnterReq: + EnterReq = other.EnterReq.Clone(); + break; + case ActionOneofCase.BattleEndReq: + BattleEndReq = other.BattleEndReq.Clone(); + break; + case ActionOneofCase.SelectReq: + SelectReq = other.SelectReq.Clone(); + break; + case ActionOneofCase.RecoveryHPReq: + RecoveryHPReq = other.RecoveryHPReq.Clone(); + break; + case ActionOneofCase.HawkerReq: + HawkerReq = other.HawkerReq.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInteractReq Clone() { + return new StarTowerInteractReq(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EnterReq" field.</summary> + public const int EnterReqFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractEnterReq EnterReq { + get { return actionCase_ == ActionOneofCase.EnterReq ? (global::Proto.InteractEnterReq) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.EnterReq; + } + } + + /// <summary>Field number for the "BattleEndReq" field.</summary> + public const int BattleEndReqFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractBattleEndReq BattleEndReq { + get { return actionCase_ == ActionOneofCase.BattleEndReq ? (global::Proto.InteractBattleEndReq) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.BattleEndReq; + } + } + + /// <summary>Field number for the "SelectReq" field.</summary> + public const int SelectReqFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractSelectReq SelectReq { + get { return actionCase_ == ActionOneofCase.SelectReq ? (global::Proto.InteractSelectReq) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.SelectReq; + } + } + + /// <summary>Field number for the "RecoveryHPReq" field.</summary> + public const int RecoveryHPReqFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractRecoveryHPReq RecoveryHPReq { + get { return actionCase_ == ActionOneofCase.RecoveryHPReq ? (global::Proto.InteractRecoveryHPReq) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.RecoveryHPReq; + } + } + + /// <summary>Field number for the "HawkerReq" field.</summary> + public const int HawkerReqFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractHawkerReq HawkerReq { + get { return actionCase_ == ActionOneofCase.HawkerReq ? (global::Proto.InteractHawkerReq) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.HawkerReq; + } + } + + private object action_; + /// <summary>Enum of possible cases for the "Action" oneof.</summary> + public enum ActionOneofCase { + None = 0, + EnterReq = 2, + BattleEndReq = 3, + SelectReq = 4, + RecoveryHPReq = 5, + HawkerReq = 6, + } + private ActionOneofCase actionCase_ = ActionOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActionOneofCase ActionCase { + get { return actionCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAction() { + actionCase_ = ActionOneofCase.None; + action_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerInteractReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerInteractReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(EnterReq, other.EnterReq)) return false; + if (!object.Equals(BattleEndReq, other.BattleEndReq)) return false; + if (!object.Equals(SelectReq, other.SelectReq)) return false; + if (!object.Equals(RecoveryHPReq, other.RecoveryHPReq)) return false; + if (!object.Equals(HawkerReq, other.HawkerReq)) return false; + if (ActionCase != other.ActionCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (actionCase_ == ActionOneofCase.EnterReq) hash ^= EnterReq.GetHashCode(); + if (actionCase_ == ActionOneofCase.BattleEndReq) hash ^= BattleEndReq.GetHashCode(); + if (actionCase_ == ActionOneofCase.SelectReq) hash ^= SelectReq.GetHashCode(); + if (actionCase_ == ActionOneofCase.RecoveryHPReq) hash ^= RecoveryHPReq.GetHashCode(); + if (actionCase_ == ActionOneofCase.HawkerReq) hash ^= HawkerReq.GetHashCode(); + hash ^= (int) actionCase_; + 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.WriteUInt32(Id); + } + if (actionCase_ == ActionOneofCase.EnterReq) { + output.WriteRawTag(18); + output.WriteMessage(EnterReq); + } + if (actionCase_ == ActionOneofCase.BattleEndReq) { + output.WriteRawTag(26); + output.WriteMessage(BattleEndReq); + } + if (actionCase_ == ActionOneofCase.SelectReq) { + output.WriteRawTag(34); + output.WriteMessage(SelectReq); + } + if (actionCase_ == ActionOneofCase.RecoveryHPReq) { + output.WriteRawTag(42); + output.WriteMessage(RecoveryHPReq); + } + if (actionCase_ == ActionOneofCase.HawkerReq) { + output.WriteRawTag(50); + output.WriteMessage(HawkerReq); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (actionCase_ == ActionOneofCase.EnterReq) { + output.WriteRawTag(18); + output.WriteMessage(EnterReq); + } + if (actionCase_ == ActionOneofCase.BattleEndReq) { + output.WriteRawTag(26); + output.WriteMessage(BattleEndReq); + } + if (actionCase_ == ActionOneofCase.SelectReq) { + output.WriteRawTag(34); + output.WriteMessage(SelectReq); + } + if (actionCase_ == ActionOneofCase.RecoveryHPReq) { + output.WriteRawTag(42); + output.WriteMessage(RecoveryHPReq); + } + if (actionCase_ == ActionOneofCase.HawkerReq) { + output.WriteRawTag(50); + output.WriteMessage(HawkerReq); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (actionCase_ == ActionOneofCase.EnterReq) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnterReq); + } + if (actionCase_ == ActionOneofCase.BattleEndReq) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleEndReq); + } + if (actionCase_ == ActionOneofCase.SelectReq) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectReq); + } + if (actionCase_ == ActionOneofCase.RecoveryHPReq) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(RecoveryHPReq); + } + if (actionCase_ == ActionOneofCase.HawkerReq) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(HawkerReq); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerInteractReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ActionCase) { + case ActionOneofCase.EnterReq: + if (EnterReq == null) { + EnterReq = new global::Proto.InteractEnterReq(); + } + EnterReq.MergeFrom(other.EnterReq); + break; + case ActionOneofCase.BattleEndReq: + if (BattleEndReq == null) { + BattleEndReq = new global::Proto.InteractBattleEndReq(); + } + BattleEndReq.MergeFrom(other.BattleEndReq); + break; + case ActionOneofCase.SelectReq: + if (SelectReq == null) { + SelectReq = new global::Proto.InteractSelectReq(); + } + SelectReq.MergeFrom(other.SelectReq); + break; + case ActionOneofCase.RecoveryHPReq: + if (RecoveryHPReq == null) { + RecoveryHPReq = new global::Proto.InteractRecoveryHPReq(); + } + RecoveryHPReq.MergeFrom(other.RecoveryHPReq); + break; + case ActionOneofCase.HawkerReq: + if (HawkerReq == null) { + HawkerReq = new global::Proto.InteractHawkerReq(); + } + HawkerReq.MergeFrom(other.HawkerReq); + break; + } + + _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.ReadUInt32(); + break; + } + case 18: { + global::Proto.InteractEnterReq subBuilder = new global::Proto.InteractEnterReq(); + if (actionCase_ == ActionOneofCase.EnterReq) { + subBuilder.MergeFrom(EnterReq); + } + input.ReadMessage(subBuilder); + EnterReq = subBuilder; + break; + } + case 26: { + global::Proto.InteractBattleEndReq subBuilder = new global::Proto.InteractBattleEndReq(); + if (actionCase_ == ActionOneofCase.BattleEndReq) { + subBuilder.MergeFrom(BattleEndReq); + } + input.ReadMessage(subBuilder); + BattleEndReq = subBuilder; + break; + } + case 34: { + global::Proto.InteractSelectReq subBuilder = new global::Proto.InteractSelectReq(); + if (actionCase_ == ActionOneofCase.SelectReq) { + subBuilder.MergeFrom(SelectReq); + } + input.ReadMessage(subBuilder); + SelectReq = subBuilder; + break; + } + case 42: { + global::Proto.InteractRecoveryHPReq subBuilder = new global::Proto.InteractRecoveryHPReq(); + if (actionCase_ == ActionOneofCase.RecoveryHPReq) { + subBuilder.MergeFrom(RecoveryHPReq); + } + input.ReadMessage(subBuilder); + RecoveryHPReq = subBuilder; + break; + } + case 50: { + global::Proto.InteractHawkerReq subBuilder = new global::Proto.InteractHawkerReq(); + if (actionCase_ == ActionOneofCase.HawkerReq) { + subBuilder.MergeFrom(HawkerReq); + } + input.ReadMessage(subBuilder); + HawkerReq = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + global::Proto.InteractEnterReq subBuilder = new global::Proto.InteractEnterReq(); + if (actionCase_ == ActionOneofCase.EnterReq) { + subBuilder.MergeFrom(EnterReq); + } + input.ReadMessage(subBuilder); + EnterReq = subBuilder; + break; + } + case 26: { + global::Proto.InteractBattleEndReq subBuilder = new global::Proto.InteractBattleEndReq(); + if (actionCase_ == ActionOneofCase.BattleEndReq) { + subBuilder.MergeFrom(BattleEndReq); + } + input.ReadMessage(subBuilder); + BattleEndReq = subBuilder; + break; + } + case 34: { + global::Proto.InteractSelectReq subBuilder = new global::Proto.InteractSelectReq(); + if (actionCase_ == ActionOneofCase.SelectReq) { + subBuilder.MergeFrom(SelectReq); + } + input.ReadMessage(subBuilder); + SelectReq = subBuilder; + break; + } + case 42: { + global::Proto.InteractRecoveryHPReq subBuilder = new global::Proto.InteractRecoveryHPReq(); + if (actionCase_ == ActionOneofCase.RecoveryHPReq) { + subBuilder.MergeFrom(RecoveryHPReq); + } + input.ReadMessage(subBuilder); + RecoveryHPReq = subBuilder; + break; + } + case 50: { + global::Proto.InteractHawkerReq subBuilder = new global::Proto.InteractHawkerReq(); + if (actionCase_ == ActionOneofCase.HawkerReq) { + subBuilder.MergeFrom(HawkerReq); + } + input.ReadMessage(subBuilder); + HawkerReq = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerInteractResp : pb::IMessage<StarTowerInteractResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerInteractResp> _parser = new pb::MessageParser<StarTowerInteractResp>(() => new StarTowerInteractResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerInteractResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerInteractReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInteractResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInteractResp(StarTowerInteractResp other) : this() { + id_ = other.id_; + cases_ = other.cases_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + data_ = other.data_ != null ? other.data_.Clone() : null; + nextPackage_ = other.nextPackage_; + switch (other.ActionCase) { + case ActionOneofCase.EnterResp: + EnterResp = other.EnterResp.Clone(); + break; + case ActionOneofCase.BattleEndResp: + BattleEndResp = other.BattleEndResp.Clone(); + break; + case ActionOneofCase.SelectResp: + SelectResp = other.SelectResp.Clone(); + break; + case ActionOneofCase.StrengthenMachineResp: + StrengthenMachineResp = other.StrengthenMachineResp.Clone(); + break; + case ActionOneofCase.Settle: + Settle = other.Settle.Clone(); + break; + case ActionOneofCase.NilResp: + NilResp = other.NilResp.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerInteractResp Clone() { + return new StarTowerInteractResp(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Cases" field.</summary> + public const int CasesFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.StarTowerRoomCase> _repeated_cases_codec + = pb::FieldCodec.ForMessage(18, global::Proto.StarTowerRoomCase.Parser); + private readonly pbc::RepeatedField<global::Proto.StarTowerRoomCase> cases_ = new pbc::RepeatedField<global::Proto.StarTowerRoomCase>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StarTowerRoomCase> Cases { + get { return cases_; } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "Data" field.</summary> + public const int DataFieldNumber = 4; + private global::Proto.TowerChangeData data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TowerChangeData Data { + get { return data_; } + set { + data_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EnterResp" field.</summary> + public const int EnterRespFieldNumber = 7; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractEnterResp EnterResp { + get { return actionCase_ == ActionOneofCase.EnterResp ? (global::Proto.InteractEnterResp) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.EnterResp; + } + } + + /// <summary>Field number for the "BattleEndResp" field.</summary> + public const int BattleEndRespFieldNumber = 8; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractBattleEndResp BattleEndResp { + get { return actionCase_ == ActionOneofCase.BattleEndResp ? (global::Proto.InteractBattleEndResp) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.BattleEndResp; + } + } + + /// <summary>Field number for the "SelectResp" field.</summary> + public const int SelectRespFieldNumber = 9; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractSelectResp SelectResp { + get { return actionCase_ == ActionOneofCase.SelectResp ? (global::Proto.InteractSelectResp) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.SelectResp; + } + } + + /// <summary>Field number for the "StrengthenMachineResp" field.</summary> + public const int StrengthenMachineRespFieldNumber = 10; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.InteractStrengthenMachineResp StrengthenMachineResp { + get { return actionCase_ == ActionOneofCase.StrengthenMachineResp ? (global::Proto.InteractStrengthenMachineResp) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.StrengthenMachineResp; + } + } + + /// <summary>Field number for the "Settle" field.</summary> + public const int SettleFieldNumber = 14; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.SettleDataResp Settle { + get { return actionCase_ == ActionOneofCase.Settle ? (global::Proto.SettleDataResp) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.Settle; + } + } + + /// <summary>Field number for the "NilResp" field.</summary> + public const int NilRespFieldNumber = 15; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Nil NilResp { + get { return actionCase_ == ActionOneofCase.NilResp ? (global::Proto.Nil) action_ : null; } + set { + action_ = value; + actionCase_ = value == null ? ActionOneofCase.None : ActionOneofCase.NilResp; + } + } + + private object action_; + /// <summary>Enum of possible cases for the "Action" oneof.</summary> + public enum ActionOneofCase { + None = 0, + EnterResp = 7, + BattleEndResp = 8, + SelectResp = 9, + StrengthenMachineResp = 10, + Settle = 14, + NilResp = 15, + } + private ActionOneofCase actionCase_ = ActionOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActionOneofCase ActionCase { + get { return actionCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAction() { + actionCase_ = ActionOneofCase.None; + action_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerInteractResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerInteractResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!cases_.Equals(other.cases_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (!object.Equals(Data, other.Data)) return false; + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(EnterResp, other.EnterResp)) return false; + if (!object.Equals(BattleEndResp, other.BattleEndResp)) return false; + if (!object.Equals(SelectResp, other.SelectResp)) return false; + if (!object.Equals(StrengthenMachineResp, other.StrengthenMachineResp)) return false; + if (!object.Equals(Settle, other.Settle)) return false; + if (!object.Equals(NilResp, other.NilResp)) return false; + if (ActionCase != other.ActionCase) 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(); + hash ^= cases_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (data_ != null) hash ^= Data.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (actionCase_ == ActionOneofCase.EnterResp) hash ^= EnterResp.GetHashCode(); + if (actionCase_ == ActionOneofCase.BattleEndResp) hash ^= BattleEndResp.GetHashCode(); + if (actionCase_ == ActionOneofCase.SelectResp) hash ^= SelectResp.GetHashCode(); + if (actionCase_ == ActionOneofCase.StrengthenMachineResp) hash ^= StrengthenMachineResp.GetHashCode(); + if (actionCase_ == ActionOneofCase.Settle) hash ^= Settle.GetHashCode(); + if (actionCase_ == ActionOneofCase.NilResp) hash ^= NilResp.GetHashCode(); + hash ^= (int) actionCase_; + 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.WriteUInt32(Id); + } + cases_.WriteTo(output, _repeated_cases_codec); + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (data_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Data); + } + if (actionCase_ == ActionOneofCase.EnterResp) { + output.WriteRawTag(58); + output.WriteMessage(EnterResp); + } + if (actionCase_ == ActionOneofCase.BattleEndResp) { + output.WriteRawTag(66); + output.WriteMessage(BattleEndResp); + } + if (actionCase_ == ActionOneofCase.SelectResp) { + output.WriteRawTag(74); + output.WriteMessage(SelectResp); + } + if (actionCase_ == ActionOneofCase.StrengthenMachineResp) { + output.WriteRawTag(82); + output.WriteMessage(StrengthenMachineResp); + } + if (actionCase_ == ActionOneofCase.Settle) { + output.WriteRawTag(114); + output.WriteMessage(Settle); + } + if (actionCase_ == ActionOneofCase.NilResp) { + output.WriteRawTag(122); + output.WriteMessage(NilResp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + cases_.WriteTo(ref output, _repeated_cases_codec); + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (data_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Data); + } + if (actionCase_ == ActionOneofCase.EnterResp) { + output.WriteRawTag(58); + output.WriteMessage(EnterResp); + } + if (actionCase_ == ActionOneofCase.BattleEndResp) { + output.WriteRawTag(66); + output.WriteMessage(BattleEndResp); + } + if (actionCase_ == ActionOneofCase.SelectResp) { + output.WriteRawTag(74); + output.WriteMessage(SelectResp); + } + if (actionCase_ == ActionOneofCase.StrengthenMachineResp) { + output.WriteRawTag(82); + output.WriteMessage(StrengthenMachineResp); + } + if (actionCase_ == ActionOneofCase.Settle) { + output.WriteRawTag(114); + output.WriteMessage(Settle); + } + if (actionCase_ == ActionOneofCase.NilResp) { + output.WriteRawTag(122); + output.WriteMessage(NilResp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + size += cases_.CalculateSize(_repeated_cases_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (actionCase_ == ActionOneofCase.EnterResp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnterResp); + } + if (actionCase_ == ActionOneofCase.BattleEndResp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleEndResp); + } + if (actionCase_ == ActionOneofCase.SelectResp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectResp); + } + if (actionCase_ == ActionOneofCase.StrengthenMachineResp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StrengthenMachineResp); + } + if (actionCase_ == ActionOneofCase.Settle) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Settle); + } + if (actionCase_ == ActionOneofCase.NilResp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NilResp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerInteractResp other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + cases_.Add(other.cases_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.data_ != null) { + if (data_ == null) { + Data = new global::Proto.TowerChangeData(); + } + Data.MergeFrom(other.Data); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ActionCase) { + case ActionOneofCase.EnterResp: + if (EnterResp == null) { + EnterResp = new global::Proto.InteractEnterResp(); + } + EnterResp.MergeFrom(other.EnterResp); + break; + case ActionOneofCase.BattleEndResp: + if (BattleEndResp == null) { + BattleEndResp = new global::Proto.InteractBattleEndResp(); + } + BattleEndResp.MergeFrom(other.BattleEndResp); + break; + case ActionOneofCase.SelectResp: + if (SelectResp == null) { + SelectResp = new global::Proto.InteractSelectResp(); + } + SelectResp.MergeFrom(other.SelectResp); + break; + case ActionOneofCase.StrengthenMachineResp: + if (StrengthenMachineResp == null) { + StrengthenMachineResp = new global::Proto.InteractStrengthenMachineResp(); + } + StrengthenMachineResp.MergeFrom(other.StrengthenMachineResp); + break; + case ActionOneofCase.Settle: + if (Settle == null) { + Settle = new global::Proto.SettleDataResp(); + } + Settle.MergeFrom(other.Settle); + break; + case ActionOneofCase.NilResp: + if (NilResp == null) { + NilResp = new global::Proto.Nil(); + } + NilResp.MergeFrom(other.NilResp); + break; + } + + _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.ReadUInt32(); + break; + } + case 18: { + cases_.AddEntriesFrom(input, _repeated_cases_codec); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 34: { + if (data_ == null) { + Data = new global::Proto.TowerChangeData(); + } + input.ReadMessage(Data); + break; + } + case 58: { + global::Proto.InteractEnterResp subBuilder = new global::Proto.InteractEnterResp(); + if (actionCase_ == ActionOneofCase.EnterResp) { + subBuilder.MergeFrom(EnterResp); + } + input.ReadMessage(subBuilder); + EnterResp = subBuilder; + break; + } + case 66: { + global::Proto.InteractBattleEndResp subBuilder = new global::Proto.InteractBattleEndResp(); + if (actionCase_ == ActionOneofCase.BattleEndResp) { + subBuilder.MergeFrom(BattleEndResp); + } + input.ReadMessage(subBuilder); + BattleEndResp = subBuilder; + break; + } + case 74: { + global::Proto.InteractSelectResp subBuilder = new global::Proto.InteractSelectResp(); + if (actionCase_ == ActionOneofCase.SelectResp) { + subBuilder.MergeFrom(SelectResp); + } + input.ReadMessage(subBuilder); + SelectResp = subBuilder; + break; + } + case 82: { + global::Proto.InteractStrengthenMachineResp subBuilder = new global::Proto.InteractStrengthenMachineResp(); + if (actionCase_ == ActionOneofCase.StrengthenMachineResp) { + subBuilder.MergeFrom(StrengthenMachineResp); + } + input.ReadMessage(subBuilder); + StrengthenMachineResp = subBuilder; + break; + } + case 114: { + global::Proto.SettleDataResp subBuilder = new global::Proto.SettleDataResp(); + if (actionCase_ == ActionOneofCase.Settle) { + subBuilder.MergeFrom(Settle); + } + input.ReadMessage(subBuilder); + Settle = subBuilder; + break; + } + case 122: { + global::Proto.Nil subBuilder = new global::Proto.Nil(); + if (actionCase_ == ActionOneofCase.NilResp) { + subBuilder.MergeFrom(NilResp); + } + input.ReadMessage(subBuilder); + NilResp = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 18: { + cases_.AddEntriesFrom(ref input, _repeated_cases_codec); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 34: { + if (data_ == null) { + Data = new global::Proto.TowerChangeData(); + } + input.ReadMessage(Data); + break; + } + case 58: { + global::Proto.InteractEnterResp subBuilder = new global::Proto.InteractEnterResp(); + if (actionCase_ == ActionOneofCase.EnterResp) { + subBuilder.MergeFrom(EnterResp); + } + input.ReadMessage(subBuilder); + EnterResp = subBuilder; + break; + } + case 66: { + global::Proto.InteractBattleEndResp subBuilder = new global::Proto.InteractBattleEndResp(); + if (actionCase_ == ActionOneofCase.BattleEndResp) { + subBuilder.MergeFrom(BattleEndResp); + } + input.ReadMessage(subBuilder); + BattleEndResp = subBuilder; + break; + } + case 74: { + global::Proto.InteractSelectResp subBuilder = new global::Proto.InteractSelectResp(); + if (actionCase_ == ActionOneofCase.SelectResp) { + subBuilder.MergeFrom(SelectResp); + } + input.ReadMessage(subBuilder); + SelectResp = subBuilder; + break; + } + case 82: { + global::Proto.InteractStrengthenMachineResp subBuilder = new global::Proto.InteractStrengthenMachineResp(); + if (actionCase_ == ActionOneofCase.StrengthenMachineResp) { + subBuilder.MergeFrom(StrengthenMachineResp); + } + input.ReadMessage(subBuilder); + StrengthenMachineResp = subBuilder; + break; + } + case 114: { + global::Proto.SettleDataResp subBuilder = new global::Proto.SettleDataResp(); + if (actionCase_ == ActionOneofCase.Settle) { + subBuilder.MergeFrom(Settle); + } + input.ReadMessage(subBuilder); + Settle = subBuilder; + break; + } + case 122: { + global::Proto.Nil subBuilder = new global::Proto.Nil(); + if (actionCase_ == ActionOneofCase.NilResp) { + subBuilder.MergeFrom(NilResp); + } + input.ReadMessage(subBuilder); + NilResp = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerLimitReward.cs b/Novaria.Common/Protos/StarTowerLimitReward.cs deleted file mode 100644 index 744e242..0000000 --- a/Novaria.Common/Protos/StarTowerLimitReward.cs +++ /dev/null @@ -1,382 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerLimitReward.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 StarTowerLimitReward.proto</summary> - public static partial class StarTowerLimitRewardReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerLimitReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerLimitRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdGFyVG93ZXJMaW1pdFJld2FyZC5wcm90byJvChRTdGFyVG93ZXJMaW1p", - "dFJld2FyZBIKCgJpZBgBIAEoBRINCgVzdGFnZRgCIAEoBRIVCg1zdGFyX3Rv", - "d2VyX2lkGAMgASgFEhEKCXJvb21fdHlwZRgEIAEoBRISCgp0aW1lX2xpbWl0", - "GAUgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerLimitReward), global::Nova.Client.StarTowerLimitReward.Parser, new[]{ "Id", "Stage", "StarTowerId", "RoomType", "TimeLimit" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerLimitReward : pb::IMessage<StarTowerLimitReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerLimitReward> _parser = new pb::MessageParser<StarTowerLimitReward>(() => new StarTowerLimitReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerLimitReward> 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.StarTowerLimitRewardReflection.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 StarTowerLimitReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerLimitReward(StarTowerLimitReward other) : this() { - id_ = other.id_; - stage_ = other.stage_; - starTowerId_ = other.starTowerId_; - roomType_ = other.roomType_; - timeLimit_ = other.timeLimit_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerLimitReward Clone() { - return new StarTowerLimitReward(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 "stage" field.</summary> - public const int StageFieldNumber = 2; - private int stage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stage { - get { return stage_; } - set { - stage_ = value; - } - } - - /// <summary>Field number for the "star_tower_id" field.</summary> - public const int StarTowerIdFieldNumber = 3; - private int starTowerId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int StarTowerId { - get { return starTowerId_; } - set { - starTowerId_ = value; - } - } - - /// <summary>Field number for the "room_type" field.</summary> - public const int RoomTypeFieldNumber = 4; - private int roomType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RoomType { - get { return roomType_; } - set { - roomType_ = value; - } - } - - /// <summary>Field number for the "time_limit" field.</summary> - public const int TimeLimitFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_timeLimit_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> timeLimit_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> TimeLimit { - get { return timeLimit_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerLimitReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerLimitReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Stage != other.Stage) return false; - if (StarTowerId != other.StarTowerId) return false; - if (RoomType != other.RoomType) return false; - if(!timeLimit_.Equals(other.timeLimit_)) 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 (Stage != 0) hash ^= Stage.GetHashCode(); - if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); - if (RoomType != 0) hash ^= RoomType.GetHashCode(); - hash ^= timeLimit_.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 (Stage != 0) { - output.WriteRawTag(16); - output.WriteInt32(Stage); - } - if (StarTowerId != 0) { - output.WriteRawTag(24); - output.WriteInt32(StarTowerId); - } - if (RoomType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RoomType); - } - timeLimit_.WriteTo(output, _repeated_timeLimit_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 (Stage != 0) { - output.WriteRawTag(16); - output.WriteInt32(Stage); - } - if (StarTowerId != 0) { - output.WriteRawTag(24); - output.WriteInt32(StarTowerId); - } - if (RoomType != 0) { - output.WriteRawTag(32); - output.WriteInt32(RoomType); - } - timeLimit_.WriteTo(ref output, _repeated_timeLimit_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 (Stage != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); - } - if (StarTowerId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); - } - if (RoomType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType); - } - size += timeLimit_.CalculateSize(_repeated_timeLimit_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerLimitReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Stage != 0) { - Stage = other.Stage; - } - if (other.StarTowerId != 0) { - StarTowerId = other.StarTowerId; - } - if (other.RoomType != 0) { - RoomType = other.RoomType; - } - timeLimit_.Add(other.timeLimit_); - _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: { - Stage = input.ReadInt32(); - break; - } - case 24: { - StarTowerId = input.ReadInt32(); - break; - } - case 32: { - RoomType = input.ReadInt32(); - break; - } - case 42: - case 40: { - timeLimit_.AddEntriesFrom(input, _repeated_timeLimit_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: { - Stage = input.ReadInt32(); - break; - } - case 24: { - StarTowerId = input.ReadInt32(); - break; - } - case 32: { - RoomType = input.ReadInt32(); - break; - } - case 42: - case 40: { - timeLimit_.AddEntriesFrom(ref input, _repeated_timeLimit_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerMap.cs b/Novaria.Common/Protos/StarTowerMap.cs deleted file mode 100644 index 9998403..0000000 --- a/Novaria.Common/Protos/StarTowerMap.cs +++ /dev/null @@ -1,569 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerMap.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 StarTowerMap.proto</summary> - public static partial class StarTowerMapReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerMap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerMapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJTdGFyVG93ZXJNYXAucHJvdG8i1wEKDFN0YXJUb3dlck1hcBIKCgJpZBgB", - "IAEoBRIRCglzY2VuZV9yZXMYAiABKAkSFQoNYl9nX3NjZW5lX3JlcxgDIAEo", - "CRINCgV0aGVtZRgEIAEoBRISCgpwcmVmYWJfbnVtGAUgAygFEgsKA21pchgG", - "IAEoCBIUCgxvdXRfcG9ydF9udW0YByABKAUSFQoNb3V0X3BvcnRfaGludBgI", - "IAEoCBIRCgliX2dfbV9yZXMYCSABKAkSIQoZY29tcGxldGVfc291bmRfZWZm", - "ZWN0X3JlcxgKIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMap), global::Nova.Client.StarTowerMap.Parser, new[]{ "Id", "SceneRes", "BGSceneRes", "Theme", "PrefabNum", "Mir", "OutPortNum", "OutPortHint", "BGMRes", "CompleteSoundEffectRes" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerMap : pb::IMessage<StarTowerMap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerMap> _parser = new pb::MessageParser<StarTowerMap>(() => new StarTowerMap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerMap> 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.StarTowerMapReflection.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 StarTowerMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMap(StarTowerMap other) : this() { - id_ = other.id_; - sceneRes_ = other.sceneRes_; - bGSceneRes_ = other.bGSceneRes_; - theme_ = other.theme_; - prefabNum_ = other.prefabNum_.Clone(); - mir_ = other.mir_; - outPortNum_ = other.outPortNum_; - outPortHint_ = other.outPortHint_; - bGMRes_ = other.bGMRes_; - completeSoundEffectRes_ = other.completeSoundEffectRes_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMap Clone() { - return new StarTowerMap(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 "scene_res" field.</summary> - public const int SceneResFieldNumber = 2; - private string sceneRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneRes { - get { return sceneRes_; } - set { - sceneRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "b_g_scene_res" field.</summary> - public const int BGSceneResFieldNumber = 3; - private string bGSceneRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGSceneRes { - get { return bGSceneRes_; } - set { - bGSceneRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "theme" field.</summary> - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// <summary>Field number for the "prefab_num" field.</summary> - public const int PrefabNumFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_prefabNum_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> prefabNum_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> PrefabNum { - get { return prefabNum_; } - } - - /// <summary>Field number for the "mir" field.</summary> - public const int MirFieldNumber = 6; - private bool mir_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Mir { - get { return mir_; } - set { - mir_ = value; - } - } - - /// <summary>Field number for the "out_port_num" field.</summary> - public const int OutPortNumFieldNumber = 7; - private int outPortNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OutPortNum { - get { return outPortNum_; } - set { - outPortNum_ = value; - } - } - - /// <summary>Field number for the "out_port_hint" field.</summary> - public const int OutPortHintFieldNumber = 8; - private bool outPortHint_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool OutPortHint { - get { return outPortHint_; } - set { - outPortHint_ = value; - } - } - - /// <summary>Field number for the "b_g_m_res" field.</summary> - public const int BGMResFieldNumber = 9; - private string bGMRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGMRes { - get { return bGMRes_; } - set { - bGMRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "complete_sound_effect_res" field.</summary> - public const int CompleteSoundEffectResFieldNumber = 10; - private string completeSoundEffectRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteSoundEffectRes { - get { return completeSoundEffectRes_; } - set { - completeSoundEffectRes_ = 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 StarTowerMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneRes != other.SceneRes) return false; - if (BGSceneRes != other.BGSceneRes) return false; - if (Theme != other.Theme) return false; - if(!prefabNum_.Equals(other.prefabNum_)) return false; - if (Mir != other.Mir) return false; - if (OutPortNum != other.OutPortNum) return false; - if (OutPortHint != other.OutPortHint) return false; - if (BGMRes != other.BGMRes) return false; - if (CompleteSoundEffectRes != other.CompleteSoundEffectRes) 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 (SceneRes.Length != 0) hash ^= SceneRes.GetHashCode(); - if (BGSceneRes.Length != 0) hash ^= BGSceneRes.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - hash ^= prefabNum_.GetHashCode(); - if (Mir != false) hash ^= Mir.GetHashCode(); - if (OutPortNum != 0) hash ^= OutPortNum.GetHashCode(); - if (OutPortHint != false) hash ^= OutPortHint.GetHashCode(); - if (BGMRes.Length != 0) hash ^= BGMRes.GetHashCode(); - if (CompleteSoundEffectRes.Length != 0) hash ^= CompleteSoundEffectRes.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 (SceneRes.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneRes); - } - if (BGSceneRes.Length != 0) { - output.WriteRawTag(26); - output.WriteString(BGSceneRes); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - prefabNum_.WriteTo(output, _repeated_prefabNum_codec); - if (Mir != false) { - output.WriteRawTag(48); - output.WriteBool(Mir); - } - if (OutPortNum != 0) { - output.WriteRawTag(56); - output.WriteInt32(OutPortNum); - } - if (OutPortHint != false) { - output.WriteRawTag(64); - output.WriteBool(OutPortHint); - } - if (BGMRes.Length != 0) { - output.WriteRawTag(74); - output.WriteString(BGMRes); - } - if (CompleteSoundEffectRes.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CompleteSoundEffectRes); - } - 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 (SceneRes.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneRes); - } - if (BGSceneRes.Length != 0) { - output.WriteRawTag(26); - output.WriteString(BGSceneRes); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - prefabNum_.WriteTo(ref output, _repeated_prefabNum_codec); - if (Mir != false) { - output.WriteRawTag(48); - output.WriteBool(Mir); - } - if (OutPortNum != 0) { - output.WriteRawTag(56); - output.WriteInt32(OutPortNum); - } - if (OutPortHint != false) { - output.WriteRawTag(64); - output.WriteBool(OutPortHint); - } - if (BGMRes.Length != 0) { - output.WriteRawTag(74); - output.WriteString(BGMRes); - } - if (CompleteSoundEffectRes.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CompleteSoundEffectRes); - } - 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 (SceneRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneRes); - } - if (BGSceneRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGSceneRes); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - size += prefabNum_.CalculateSize(_repeated_prefabNum_codec); - if (Mir != false) { - size += 1 + 1; - } - if (OutPortNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutPortNum); - } - if (OutPortHint != false) { - size += 1 + 1; - } - if (BGMRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGMRes); - } - if (CompleteSoundEffectRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteSoundEffectRes); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerMap other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneRes.Length != 0) { - SceneRes = other.SceneRes; - } - if (other.BGSceneRes.Length != 0) { - BGSceneRes = other.BGSceneRes; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - prefabNum_.Add(other.prefabNum_); - if (other.Mir != false) { - Mir = other.Mir; - } - if (other.OutPortNum != 0) { - OutPortNum = other.OutPortNum; - } - if (other.OutPortHint != false) { - OutPortHint = other.OutPortHint; - } - if (other.BGMRes.Length != 0) { - BGMRes = other.BGMRes; - } - if (other.CompleteSoundEffectRes.Length != 0) { - CompleteSoundEffectRes = other.CompleteSoundEffectRes; - } - _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: { - SceneRes = input.ReadString(); - break; - } - case 26: { - BGSceneRes = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: - case 40: { - prefabNum_.AddEntriesFrom(input, _repeated_prefabNum_codec); - break; - } - case 48: { - Mir = input.ReadBool(); - break; - } - case 56: { - OutPortNum = input.ReadInt32(); - break; - } - case 64: { - OutPortHint = input.ReadBool(); - break; - } - case 74: { - BGMRes = input.ReadString(); - break; - } - case 82: { - CompleteSoundEffectRes = 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 18: { - SceneRes = input.ReadString(); - break; - } - case 26: { - BGSceneRes = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: - case 40: { - prefabNum_.AddEntriesFrom(ref input, _repeated_prefabNum_codec); - break; - } - case 48: { - Mir = input.ReadBool(); - break; - } - case 56: { - OutPortNum = input.ReadInt32(); - break; - } - case 64: { - OutPortHint = input.ReadBool(); - break; - } - case 74: { - BGMRes = input.ReadString(); - break; - } - case 82: { - CompleteSoundEffectRes = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerMonsterBornGroup.cs b/Novaria.Common/Protos/StarTowerMonsterBornGroup.cs deleted file mode 100644 index 1421b3a..0000000 --- a/Novaria.Common/Protos/StarTowerMonsterBornGroup.cs +++ /dev/null @@ -1,392 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerMonsterBornGroup.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 StarTowerMonsterBornGroup.proto</summary> - public static partial class StarTowerMonsterBornGroupReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerMonsterBornGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerMonsterBornGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch9TdGFyVG93ZXJNb25zdGVyQm9ybkdyb3VwLnByb3RvInsKGVN0YXJUb3dl", - "ck1vbnN0ZXJCb3JuR3JvdXASEAoIZ3JvdXBfaWQYASABKAUSEgoKbW9uc3Rl", - "cl9pZBgCIAEoBRISCgpkaWZmaWN1bHR5GAMgASgFEhEKCW1pbl9mbG9vchgE", - "IAEoBRIRCgltYXhfZmxvb3IYBSABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMonsterBornGroup), global::Nova.Client.StarTowerMonsterBornGroup.Parser, new[]{ "GroupId", "MonsterId", "Difficulty", "MinFloor", "MaxFloor" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerMonsterBornGroup : pb::IMessage<StarTowerMonsterBornGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerMonsterBornGroup> _parser = new pb::MessageParser<StarTowerMonsterBornGroup>(() => new StarTowerMonsterBornGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerMonsterBornGroup> 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.StarTowerMonsterBornGroupReflection.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 StarTowerMonsterBornGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMonsterBornGroup(StarTowerMonsterBornGroup other) : this() { - groupId_ = other.groupId_; - monsterId_ = other.monsterId_; - difficulty_ = other.difficulty_; - minFloor_ = other.minFloor_; - maxFloor_ = other.maxFloor_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMonsterBornGroup Clone() { - return new StarTowerMonsterBornGroup(this); - } - - /// <summary>Field number for the "group_id" field.</summary> - public const int GroupIdFieldNumber = 1; - 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 "monster_id" field.</summary> - public const int MonsterIdFieldNumber = 2; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// <summary>Field number for the "difficulty" field.</summary> - 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; - } - } - - /// <summary>Field number for the "min_floor" field.</summary> - public const int MinFloorFieldNumber = 4; - private int minFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MinFloor { - get { return minFloor_; } - set { - minFloor_ = value; - } - } - - /// <summary>Field number for the "max_floor" field.</summary> - public const int MaxFloorFieldNumber = 5; - private int maxFloor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxFloor { - get { return maxFloor_; } - set { - maxFloor_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerMonsterBornGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerMonsterBornGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (GroupId != other.GroupId) return false; - if (MonsterId != other.MonsterId) return false; - if (Difficulty != other.Difficulty) return false; - if (MinFloor != other.MinFloor) return false; - if (MaxFloor != other.MaxFloor) 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); - if (MinFloor != 0) hash ^= MinFloor.GetHashCode(); - if (MaxFloor != 0) hash ^= MaxFloor.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 (GroupId != 0) { - output.WriteRawTag(8); - output.WriteInt32(GroupId); - } - if (MonsterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterId); - } - if (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (MinFloor != 0) { - output.WriteRawTag(32); - output.WriteInt32(MinFloor); - } - if (MaxFloor != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxFloor); - } - 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 (GroupId != 0) { - output.WriteRawTag(8); - output.WriteInt32(GroupId); - } - if (MonsterId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterId); - } - if (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (MinFloor != 0) { - output.WriteRawTag(32); - output.WriteInt32(MinFloor); - } - if (MaxFloor != 0) { - output.WriteRawTag(40); - output.WriteInt32(MaxFloor); - } - 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 (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (Difficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); - } - if (MinFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinFloor); - } - if (MaxFloor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxFloor); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerMonsterBornGroup other) { - if (other == null) { - return; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.Difficulty != 0) { - Difficulty = other.Difficulty; - } - if (other.MinFloor != 0) { - MinFloor = other.MinFloor; - } - if (other.MaxFloor != 0) { - MaxFloor = other.MaxFloor; - } - _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: { - GroupId = input.ReadInt32(); - break; - } - case 16: { - MonsterId = input.ReadInt32(); - break; - } - case 24: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - MinFloor = input.ReadInt32(); - break; - } - case 40: { - MaxFloor = 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: { - GroupId = input.ReadInt32(); - break; - } - case 16: { - MonsterId = input.ReadInt32(); - break; - } - case 24: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - MinFloor = input.ReadInt32(); - break; - } - case 40: { - MaxFloor = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerMonsterSpAttr.cs b/Novaria.Common/Protos/StarTowerMonsterSpAttr.cs deleted file mode 100644 index 5449c53..0000000 --- a/Novaria.Common/Protos/StarTowerMonsterSpAttr.cs +++ /dev/null @@ -1,478 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerMonsterSpAttr.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 StarTowerMonsterSpAttr.proto</summary> - public static partial class StarTowerMonsterSpAttrReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerMonsterSpAttr.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerMonsterSpAttrReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxTdGFyVG93ZXJNb25zdGVyU3BBdHRyLnByb3RvIt8BChZTdGFyVG93ZXJN", - "b25zdGVyU3BBdHRyEgoKAmlkGAEgASgFEhgKEG1vbnN0ZXJfcG9zaXRpb24Y", - "AiABKAUSFAoMdGhlbWVfc2tpbGxzGAMgASgJEh8KF2NvbnRpbnVvdXNfa2ls", - "bGluZ190aW1lGAQgASgFEh4KFnJvdWdlX21vbmV5X2Ryb3BfcmFuZ2UYBSAD", - "KAUSHAoUcm91Z2VfZXhwX2Ryb3BfcmFuZ2UYBiADKAUSFAoMcmVmX2Rpc3Rh", - "bmNlGAcgAygFEhQKDHJlZl9pbnRlcnZhbBgIIAEoBUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMonsterSpAttr), global::Nova.Client.StarTowerMonsterSpAttr.Parser, new[]{ "Id", "MonsterPosition", "ThemeSkills", "ContinuousKillingTime", "RougeMoneyDropRange", "RougeExpDropRange", "RefDistance", "RefInterval" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerMonsterSpAttr : pb::IMessage<StarTowerMonsterSpAttr> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerMonsterSpAttr> _parser = new pb::MessageParser<StarTowerMonsterSpAttr>(() => new StarTowerMonsterSpAttr()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerMonsterSpAttr> 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.StarTowerMonsterSpAttrReflection.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 StarTowerMonsterSpAttr() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMonsterSpAttr(StarTowerMonsterSpAttr other) : this() { - id_ = other.id_; - monsterPosition_ = other.monsterPosition_; - themeSkills_ = other.themeSkills_; - continuousKillingTime_ = other.continuousKillingTime_; - rougeMoneyDropRange_ = other.rougeMoneyDropRange_.Clone(); - rougeExpDropRange_ = other.rougeExpDropRange_.Clone(); - refDistance_ = other.refDistance_.Clone(); - refInterval_ = other.refInterval_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerMonsterSpAttr Clone() { - return new StarTowerMonsterSpAttr(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 "monster_position" field.</summary> - public const int MonsterPositionFieldNumber = 2; - private int monsterPosition_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterPosition { - get { return monsterPosition_; } - set { - monsterPosition_ = value; - } - } - - /// <summary>Field number for the "theme_skills" field.</summary> - public const int ThemeSkillsFieldNumber = 3; - private string themeSkills_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ThemeSkills { - get { return themeSkills_; } - set { - themeSkills_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "continuous_killing_time" field.</summary> - public const int ContinuousKillingTimeFieldNumber = 4; - private int continuousKillingTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ContinuousKillingTime { - get { return continuousKillingTime_; } - set { - continuousKillingTime_ = value; - } - } - - /// <summary>Field number for the "rouge_money_drop_range" field.</summary> - public const int RougeMoneyDropRangeFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_rougeMoneyDropRange_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> rougeMoneyDropRange_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> RougeMoneyDropRange { - get { return rougeMoneyDropRange_; } - } - - /// <summary>Field number for the "rouge_exp_drop_range" field.</summary> - public const int RougeExpDropRangeFieldNumber = 6; - private static readonly pb::FieldCodec<int> _repeated_rougeExpDropRange_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField<int> rougeExpDropRange_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> RougeExpDropRange { - get { return rougeExpDropRange_; } - } - - /// <summary>Field number for the "ref_distance" field.</summary> - public const int RefDistanceFieldNumber = 7; - private static readonly pb::FieldCodec<int> _repeated_refDistance_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField<int> refDistance_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> RefDistance { - get { return refDistance_; } - } - - /// <summary>Field number for the "ref_interval" field.</summary> - public const int RefIntervalFieldNumber = 8; - private int refInterval_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RefInterval { - get { return refInterval_; } - set { - refInterval_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerMonsterSpAttr); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerMonsterSpAttr other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (MonsterPosition != other.MonsterPosition) return false; - if (ThemeSkills != other.ThemeSkills) return false; - if (ContinuousKillingTime != other.ContinuousKillingTime) return false; - if(!rougeMoneyDropRange_.Equals(other.rougeMoneyDropRange_)) return false; - if(!rougeExpDropRange_.Equals(other.rougeExpDropRange_)) return false; - if(!refDistance_.Equals(other.refDistance_)) return false; - if (RefInterval != other.RefInterval) 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 (MonsterPosition != 0) hash ^= MonsterPosition.GetHashCode(); - if (ThemeSkills.Length != 0) hash ^= ThemeSkills.GetHashCode(); - if (ContinuousKillingTime != 0) hash ^= ContinuousKillingTime.GetHashCode(); - hash ^= rougeMoneyDropRange_.GetHashCode(); - hash ^= rougeExpDropRange_.GetHashCode(); - hash ^= refDistance_.GetHashCode(); - if (RefInterval != 0) hash ^= RefInterval.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 (MonsterPosition != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterPosition); - } - if (ThemeSkills.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ThemeSkills); - } - if (ContinuousKillingTime != 0) { - output.WriteRawTag(32); - output.WriteInt32(ContinuousKillingTime); - } - rougeMoneyDropRange_.WriteTo(output, _repeated_rougeMoneyDropRange_codec); - rougeExpDropRange_.WriteTo(output, _repeated_rougeExpDropRange_codec); - refDistance_.WriteTo(output, _repeated_refDistance_codec); - if (RefInterval != 0) { - output.WriteRawTag(64); - output.WriteInt32(RefInterval); - } - 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 (MonsterPosition != 0) { - output.WriteRawTag(16); - output.WriteInt32(MonsterPosition); - } - if (ThemeSkills.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ThemeSkills); - } - if (ContinuousKillingTime != 0) { - output.WriteRawTag(32); - output.WriteInt32(ContinuousKillingTime); - } - rougeMoneyDropRange_.WriteTo(ref output, _repeated_rougeMoneyDropRange_codec); - rougeExpDropRange_.WriteTo(ref output, _repeated_rougeExpDropRange_codec); - refDistance_.WriteTo(ref output, _repeated_refDistance_codec); - if (RefInterval != 0) { - output.WriteRawTag(64); - output.WriteInt32(RefInterval); - } - 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 (MonsterPosition != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterPosition); - } - if (ThemeSkills.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ThemeSkills); - } - if (ContinuousKillingTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ContinuousKillingTime); - } - size += rougeMoneyDropRange_.CalculateSize(_repeated_rougeMoneyDropRange_codec); - size += rougeExpDropRange_.CalculateSize(_repeated_rougeExpDropRange_codec); - size += refDistance_.CalculateSize(_repeated_refDistance_codec); - if (RefInterval != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefInterval); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerMonsterSpAttr other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MonsterPosition != 0) { - MonsterPosition = other.MonsterPosition; - } - if (other.ThemeSkills.Length != 0) { - ThemeSkills = other.ThemeSkills; - } - if (other.ContinuousKillingTime != 0) { - ContinuousKillingTime = other.ContinuousKillingTime; - } - rougeMoneyDropRange_.Add(other.rougeMoneyDropRange_); - rougeExpDropRange_.Add(other.rougeExpDropRange_); - refDistance_.Add(other.refDistance_); - if (other.RefInterval != 0) { - RefInterval = other.RefInterval; - } - _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: { - MonsterPosition = input.ReadInt32(); - break; - } - case 26: { - ThemeSkills = input.ReadString(); - break; - } - case 32: { - ContinuousKillingTime = input.ReadInt32(); - break; - } - case 42: - case 40: { - rougeMoneyDropRange_.AddEntriesFrom(input, _repeated_rougeMoneyDropRange_codec); - break; - } - case 50: - case 48: { - rougeExpDropRange_.AddEntriesFrom(input, _repeated_rougeExpDropRange_codec); - break; - } - case 58: - case 56: { - refDistance_.AddEntriesFrom(input, _repeated_refDistance_codec); - break; - } - case 64: { - RefInterval = 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: { - MonsterPosition = input.ReadInt32(); - break; - } - case 26: { - ThemeSkills = input.ReadString(); - break; - } - case 32: { - ContinuousKillingTime = input.ReadInt32(); - break; - } - case 42: - case 40: { - rougeMoneyDropRange_.AddEntriesFrom(ref input, _repeated_rougeMoneyDropRange_codec); - break; - } - case 50: - case 48: { - rougeExpDropRange_.AddEntriesFrom(ref input, _repeated_rougeExpDropRange_codec); - break; - } - case 58: - case 56: { - refDistance_.AddEntriesFrom(ref input, _repeated_refDistance_codec); - break; - } - case 64: { - RefInterval = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerQuest.cs b/Novaria.Common/Protos/StarTowerQuest.cs deleted file mode 100644 index b6508fa..0000000 --- a/Novaria.Common/Protos/StarTowerQuest.cs +++ /dev/null @@ -1,607 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerQuest.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 StarTowerQuest.proto</summary> - public static partial class StarTowerQuestReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRTdGFyVG93ZXJRdWVzdC5wcm90byLlAQoOU3RhclRvd2VyUXVlc3QSCgoC", - "aWQYASABKAUSDQoFdGl0bGUYAiABKAkSDwoHanVtcF90bxgDIAEoBRIYChB0", - "b3dlcl9xdWVzdF90eXBlGAQgASgFEhsKE3ByZV90b3dlcl9xdWVzdF9pZHMY", - "BSADKAUSDwoHcmV3YXJkMRgGIAEoBRITCgtyZXdhcmRfcXR5MRgHIAEoBRIP", - "CgdyZXdhcmQyGAggASgFEhMKC3Jld2FyZF9xdHkyGAkgASgFEg8KB3Jld2Fy", - "ZDMYCiABKAUSEwoLcmV3YXJkX3F0eTMYCyABKAVCDqoCC05vdmEuQ2xpZW50", - "YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerQuest), global::Nova.Client.StarTowerQuest.Parser, new[]{ "Id", "Title", "JumpTo", "TowerQuestType", "PreTowerQuestIds", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerQuest : pb::IMessage<StarTowerQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerQuest> _parser = new pb::MessageParser<StarTowerQuest>(() => new StarTowerQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerQuest> 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.StarTowerQuestReflection.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 StarTowerQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerQuest(StarTowerQuest other) : this() { - id_ = other.id_; - title_ = other.title_; - jumpTo_ = other.jumpTo_; - towerQuestType_ = other.towerQuestType_; - preTowerQuestIds_ = other.preTowerQuestIds_.Clone(); - reward1_ = other.reward1_; - rewardQty1_ = other.rewardQty1_; - reward2_ = other.reward2_; - rewardQty2_ = other.rewardQty2_; - reward3_ = other.reward3_; - rewardQty3_ = other.rewardQty3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerQuest Clone() { - return new StarTowerQuest(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 "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "jump_to" field.</summary> - public const int JumpToFieldNumber = 3; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// <summary>Field number for the "tower_quest_type" field.</summary> - public const int TowerQuestTypeFieldNumber = 4; - private int towerQuestType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TowerQuestType { - get { return towerQuestType_; } - set { - towerQuestType_ = value; - } - } - - /// <summary>Field number for the "pre_tower_quest_ids" field.</summary> - public const int PreTowerQuestIdsFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_preTowerQuestIds_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> preTowerQuestIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> PreTowerQuestIds { - get { return preTowerQuestIds_; } - } - - /// <summary>Field number for the "reward1" field.</summary> - public const int Reward1FieldNumber = 6; - private int reward1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward1 { - get { return reward1_; } - set { - reward1_ = value; - } - } - - /// <summary>Field number for the "reward_qty1" field.</summary> - public const int RewardQty1FieldNumber = 7; - private int rewardQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty1 { - get { return rewardQty1_; } - set { - rewardQty1_ = value; - } - } - - /// <summary>Field number for the "reward2" field.</summary> - public const int Reward2FieldNumber = 8; - private int reward2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward2 { - get { return reward2_; } - set { - reward2_ = value; - } - } - - /// <summary>Field number for the "reward_qty2" field.</summary> - public const int RewardQty2FieldNumber = 9; - private int rewardQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty2 { - get { return rewardQty2_; } - set { - rewardQty2_ = value; - } - } - - /// <summary>Field number for the "reward3" field.</summary> - public const int Reward3FieldNumber = 10; - private int reward3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward3 { - get { return reward3_; } - set { - reward3_ = value; - } - } - - /// <summary>Field number for the "reward_qty3" field.</summary> - public const int RewardQty3FieldNumber = 11; - private int rewardQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty3 { - get { return rewardQty3_; } - set { - rewardQty3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (JumpTo != other.JumpTo) return false; - if (TowerQuestType != other.TowerQuestType) return false; - if(!preTowerQuestIds_.Equals(other.preTowerQuestIds_)) return false; - if (Reward1 != other.Reward1) return false; - if (RewardQty1 != other.RewardQty1) return false; - if (Reward2 != other.Reward2) return false; - if (RewardQty2 != other.RewardQty2) return false; - if (Reward3 != other.Reward3) return false; - if (RewardQty3 != other.RewardQty3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (TowerQuestType != 0) hash ^= TowerQuestType.GetHashCode(); - hash ^= preTowerQuestIds_.GetHashCode(); - if (Reward1 != 0) hash ^= Reward1.GetHashCode(); - if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); - if (Reward2 != 0) hash ^= Reward2.GetHashCode(); - if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); - if (Reward3 != 0) hash ^= Reward3.GetHashCode(); - if (RewardQty3 != 0) hash ^= RewardQty3.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(24); - output.WriteInt32(JumpTo); - } - if (TowerQuestType != 0) { - output.WriteRawTag(32); - output.WriteInt32(TowerQuestType); - } - preTowerQuestIds_.WriteTo(output, _repeated_preTowerQuestIds_codec); - if (Reward1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(72); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(88); - output.WriteInt32(RewardQty3); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(24); - output.WriteInt32(JumpTo); - } - if (TowerQuestType != 0) { - output.WriteRawTag(32); - output.WriteInt32(TowerQuestType); - } - preTowerQuestIds_.WriteTo(ref output, _repeated_preTowerQuestIds_codec); - if (Reward1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(72); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(88); - output.WriteInt32(RewardQty3); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (TowerQuestType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TowerQuestType); - } - size += preTowerQuestIds_.CalculateSize(_repeated_preTowerQuestIds_codec); - if (Reward1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); - } - if (RewardQty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); - } - if (Reward2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); - } - if (RewardQty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); - } - if (Reward3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); - } - if (RewardQty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.TowerQuestType != 0) { - TowerQuestType = other.TowerQuestType; - } - preTowerQuestIds_.Add(other.preTowerQuestIds_); - if (other.Reward1 != 0) { - Reward1 = other.Reward1; - } - if (other.RewardQty1 != 0) { - RewardQty1 = other.RewardQty1; - } - if (other.Reward2 != 0) { - Reward2 = other.Reward2; - } - if (other.RewardQty2 != 0) { - RewardQty2 = other.RewardQty2; - } - if (other.Reward3 != 0) { - Reward3 = other.Reward3; - } - if (other.RewardQty3 != 0) { - RewardQty3 = other.RewardQty3; - } - _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: { - Title = input.ReadString(); - break; - } - case 24: { - JumpTo = input.ReadInt32(); - break; - } - case 32: { - TowerQuestType = input.ReadInt32(); - break; - } - case 42: - case 40: { - preTowerQuestIds_.AddEntriesFrom(input, _repeated_preTowerQuestIds_codec); - break; - } - case 48: { - Reward1 = input.ReadInt32(); - break; - } - case 56: { - RewardQty1 = input.ReadInt32(); - break; - } - case 64: { - Reward2 = input.ReadInt32(); - break; - } - case 72: { - RewardQty2 = input.ReadInt32(); - break; - } - case 80: { - Reward3 = input.ReadInt32(); - break; - } - case 88: { - RewardQty3 = 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 18: { - Title = input.ReadString(); - break; - } - case 24: { - JumpTo = input.ReadInt32(); - break; - } - case 32: { - TowerQuestType = input.ReadInt32(); - break; - } - case 42: - case 40: { - preTowerQuestIds_.AddEntriesFrom(ref input, _repeated_preTowerQuestIds_codec); - break; - } - case 48: { - Reward1 = input.ReadInt32(); - break; - } - case 56: { - RewardQty1 = input.ReadInt32(); - break; - } - case 64: { - Reward2 = input.ReadInt32(); - break; - } - case 72: { - RewardQty2 = input.ReadInt32(); - break; - } - case 80: { - Reward3 = input.ReadInt32(); - break; - } - case 88: { - RewardQty3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerRank.cs b/Novaria.Common/Protos/StarTowerRank.cs new file mode 100644 index 0000000..98bd5c8 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerRank.cs @@ -0,0 +1,2688 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_rank.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_rank.proto</summary> + public static partial class StarTowerRankReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_rank.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerRankReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVzdGFyX3Rvd2VyX3JhbmsucHJvdG8SBXByb3RvGh90cmF2ZWxlcl9kdWVs", + "X3JhbmtfdXBsb2FkLnByb3RvIooBChFTdGFyVG93ZXJSYW5rSW5mbxIXCg9M", + "YXN0UmVmcmVzaFRpbWUYASABKAMSIgoEU2VsZhgCIAEoCzIULnByb3RvLlRv", + "d2VyUmFua0RhdGESIgoEUmFuaxgDIAMoCzIULnByb3RvLlRvd2VyUmFua0Rh", + "dGESFAoLTmV4dFBhY2thZ2UY/w8gASgMIkAKDVRvd2VyUmFua0NoYXISCgoC", + "SWQYASABKA0SDQoFTGV2ZWwYAiABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "IrECCg1Ub3dlclJhbmtEYXRhEgoKAklkGAEgASgEEhAKCE5pY2tOYW1lGAIg", + "ASgJEhIKCldvcmxkQ2xhc3MYAyABKA0SEAoISGVhZEljb24YBCABKA0SDQoF", + "U2NvcmUYBSABKA0SDAoEUmFuaxgGIAEoDRISCgpCdWlsZFNjb3JlGAcgASgN", + "EhMKC1RpdGxlUHJlZml4GAggASgNEhMKC1RpdGxlU3VmZml4GAkgASgNEhIK", + "CkRpZmZpY3VsdHkYCiABKA0SEAoIRHVyYXRpb24YCyABKA0SIwoFQ2hhcnMY", + "DCADKAsyFC5wcm90by5Ub3dlclJhbmtDaGFyEiAKBkhvbm9ycxgPIAMoCzIQ", + "LnByb3RvLkhvbm9ySW5mbxIUCgtOZXh0UGFja2FnZRj/DyABKAwiVAoSVG93", + "ZXJCYXR0bGVTYW1wbGVzEigKBlNhbXBsZRgBIAMoCzIYLnByb3RvLlRvd2Vy", + "QmF0dGxlU2FtcGxlEhQKC05leHRQYWNrYWdlGP8PIAEoDCJ3Cg9Ub3dlckJh", + "dHRsZURhdGESIgoETWV0YRgBIAEoCzIULnByb3RvLlRvd2VyTWV0YUluZm8S", + "KgoHU2FtcGxlcxgCIAEoCzIZLnByb3RvLlRvd2VyQmF0dGxlU2FtcGxlcxIU", + "CgtOZXh0UGFja2FnZRj/DyABKAwixgEKDVRvd2VyTWV0YUluZm8SCgoCSWQY", + "ASABKAQSDAoEWm9uZRgCIAEoCRIPCgdUb3dlcklkGAMgASgNEg4KBlNlYXNv", + "bhgEIAEoDRIQCghQbGF5ZXJJZBgFIAEoBBIQCghOaWNrbmFtZRgGIAEoCRIQ", + "CghEdXJhdGlvbhgHIAEoDRISCgpEaWZmaWN1bHR5GAggASgNEgwKBFJhbmsY", + "CSABKA0SDAoEVGltZRgKIAEoAxIUCgtOZXh0UGFja2FnZRj/DyABKAwiegoR", + "VG93ZXJCYXR0bGVTYW1wbGUSDQoFTWFwSWQYASABKA0SDwoHVmVyc2lvbhgC", + "IAEoDRIvCgZTYW1wbGUYAyADKAsyHy5wcm90by5UcmF2ZWxlckR1ZWxCYXR0", + "bGVTYW1wbGUSFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.TravelerDuelRankUploadReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRankInfo), global::Proto.StarTowerRankInfo.Parser, new[]{ "LastRefreshTime", "Self", "Rank", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerRankChar), global::Proto.TowerRankChar.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerRankData), global::Proto.TowerRankData.Parser, new[]{ "Id", "NickName", "WorldClass", "HeadIcon", "Score", "Rank", "BuildScore", "TitlePrefix", "TitleSuffix", "Difficulty", "Duration", "Chars", "Honors", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBattleSamples), global::Proto.TowerBattleSamples.Parser, new[]{ "Sample", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBattleData), global::Proto.TowerBattleData.Parser, new[]{ "Meta", "Samples", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerMetaInfo), global::Proto.TowerMetaInfo.Parser, new[]{ "Id", "Zone", "TowerId", "Season", "PlayerId", "Nickname", "Duration", "Difficulty", "Rank", "Time", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBattleSample), global::Proto.TowerBattleSample.Parser, new[]{ "MapId", "Version", "Sample", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankInfo : pb::IMessage<StarTowerRankInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankInfo> _parser = new pb::MessageParser<StarTowerRankInfo>(() => new StarTowerRankInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.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 StarTowerRankInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankInfo(StarTowerRankInfo other) : this() { + lastRefreshTime_ = other.lastRefreshTime_; + self_ = other.self_ != null ? other.self_.Clone() : null; + rank_ = other.rank_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankInfo Clone() { + return new StarTowerRankInfo(this); + } + + /// <summary>Field number for the "LastRefreshTime" field.</summary> + public const int LastRefreshTimeFieldNumber = 1; + private long lastRefreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastRefreshTime { + get { return lastRefreshTime_; } + set { + lastRefreshTime_ = value; + } + } + + /// <summary>Field number for the "Self" field.</summary> + public const int SelfFieldNumber = 2; + private global::Proto.TowerRankData self_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TowerRankData Self { + get { return self_; } + set { + self_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.TowerRankData> _repeated_rank_codec + = pb::FieldCodec.ForMessage(26, global::Proto.TowerRankData.Parser); + private readonly pbc::RepeatedField<global::Proto.TowerRankData> rank_ = new pbc::RepeatedField<global::Proto.TowerRankData>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TowerRankData> Rank { + get { return rank_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerRankInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (LastRefreshTime != other.LastRefreshTime) return false; + if (!object.Equals(Self, other.Self)) return false; + if(!rank_.Equals(other.rank_)) return false; + if (NextPackage != other.NextPackage) 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 (LastRefreshTime != 0L) hash ^= LastRefreshTime.GetHashCode(); + if (self_ != null) hash ^= Self.GetHashCode(); + hash ^= rank_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (LastRefreshTime != 0L) { + output.WriteRawTag(8); + output.WriteInt64(LastRefreshTime); + } + if (self_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Self); + } + rank_.WriteTo(output, _repeated_rank_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (LastRefreshTime != 0L) { + output.WriteRawTag(8); + output.WriteInt64(LastRefreshTime); + } + if (self_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Self); + } + rank_.WriteTo(ref output, _repeated_rank_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (LastRefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastRefreshTime); + } + if (self_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Self); + } + size += rank_.CalculateSize(_repeated_rank_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankInfo other) { + if (other == null) { + return; + } + if (other.LastRefreshTime != 0L) { + LastRefreshTime = other.LastRefreshTime; + } + if (other.self_ != null) { + if (self_ == null) { + Self = new global::Proto.TowerRankData(); + } + Self.MergeFrom(other.Self); + } + rank_.Add(other.rank_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + LastRefreshTime = input.ReadInt64(); + break; + } + case 18: { + if (self_ == null) { + Self = new global::Proto.TowerRankData(); + } + input.ReadMessage(Self); + break; + } + case 26: { + rank_.AddEntriesFrom(input, _repeated_rank_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + LastRefreshTime = input.ReadInt64(); + break; + } + case 18: { + if (self_ == null) { + Self = new global::Proto.TowerRankData(); + } + input.ReadMessage(Self); + break; + } + case 26: { + rank_.AddEntriesFrom(ref input, _repeated_rank_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerRankChar : pb::IMessage<TowerRankChar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerRankChar> _parser = new pb::MessageParser<TowerRankChar>(() => new TowerRankChar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerRankChar> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerRankChar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerRankChar(TowerRankChar other) : this() { + id_ = other.id_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerRankChar Clone() { + return new TowerRankChar(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerRankChar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerRankChar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerRankChar other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerRankData : pb::IMessage<TowerRankData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerRankData> _parser = new pb::MessageParser<TowerRankData>(() => new TowerRankData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerRankData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerRankData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerRankData(TowerRankData other) : this() { + id_ = other.id_; + nickName_ = other.nickName_; + worldClass_ = other.worldClass_; + headIcon_ = other.headIcon_; + score_ = other.score_; + rank_ = other.rank_; + buildScore_ = other.buildScore_; + titlePrefix_ = other.titlePrefix_; + titleSuffix_ = other.titleSuffix_; + difficulty_ = other.difficulty_; + duration_ = other.duration_; + chars_ = other.chars_.Clone(); + honors_ = other.honors_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerRankData Clone() { + return new TowerRankData(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "NickName" field.</summary> + public const int NickNameFieldNumber = 2; + private string nickName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 3; + private uint worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "HeadIcon" field.</summary> + public const int HeadIconFieldNumber = 4; + private uint headIcon_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint HeadIcon { + get { return headIcon_; } + set { + headIcon_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 5; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 6; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "BuildScore" field.</summary> + public const int BuildScoreFieldNumber = 7; + private uint buildScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BuildScore { + get { return buildScore_; } + set { + buildScore_ = value; + } + } + + /// <summary>Field number for the "TitlePrefix" field.</summary> + public const int TitlePrefixFieldNumber = 8; + private uint titlePrefix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitlePrefix { + get { return titlePrefix_; } + set { + titlePrefix_ = value; + } + } + + /// <summary>Field number for the "TitleSuffix" field.</summary> + public const int TitleSuffixFieldNumber = 9; + private uint titleSuffix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleSuffix { + get { return titleSuffix_; } + set { + titleSuffix_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + public const int DifficultyFieldNumber = 10; + private uint difficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; + } + } + + /// <summary>Field number for the "Duration" field.</summary> + public const int DurationFieldNumber = 11; + private uint duration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// <summary>Field number for the "Chars" field.</summary> + public const int CharsFieldNumber = 12; + private static readonly pb::FieldCodec<global::Proto.TowerRankChar> _repeated_chars_codec + = pb::FieldCodec.ForMessage(98, global::Proto.TowerRankChar.Parser); + private readonly pbc::RepeatedField<global::Proto.TowerRankChar> chars_ = new pbc::RepeatedField<global::Proto.TowerRankChar>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TowerRankChar> Chars { + get { return chars_; } + } + + /// <summary>Field number for the "Honors" field.</summary> + public const int HonorsFieldNumber = 15; + private static readonly pb::FieldCodec<global::Proto.HonorInfo> _repeated_honors_codec + = pb::FieldCodec.ForMessage(122, global::Proto.HonorInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.HonorInfo> honors_ = new pbc::RepeatedField<global::Proto.HonorInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.HonorInfo> Honors { + get { return honors_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerRankData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerRankData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NickName != other.NickName) return false; + if (WorldClass != other.WorldClass) return false; + if (HeadIcon != other.HeadIcon) return false; + if (Score != other.Score) return false; + if (Rank != other.Rank) return false; + if (BuildScore != other.BuildScore) return false; + if (TitlePrefix != other.TitlePrefix) return false; + if (TitleSuffix != other.TitleSuffix) return false; + if (Difficulty != other.Difficulty) return false; + if (Duration != other.Duration) return false; + if(!chars_.Equals(other.chars_)) return false; + if(!honors_.Equals(other.honors_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (BuildScore != 0) hash ^= BuildScore.GetHashCode(); + if (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); + if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (Duration != 0) hash ^= Duration.GetHashCode(); + hash ^= chars_.GetHashCode(); + hash ^= honors_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldClass); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Rank); + } + if (BuildScore != 0) { + output.WriteRawTag(56); + output.WriteUInt32(BuildScore); + } + if (TitlePrefix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(72); + output.WriteUInt32(TitleSuffix); + } + if (Difficulty != 0) { + output.WriteRawTag(80); + output.WriteUInt32(Difficulty); + } + if (Duration != 0) { + output.WriteRawTag(88); + output.WriteUInt32(Duration); + } + chars_.WriteTo(output, _repeated_chars_codec); + honors_.WriteTo(output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldClass); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Rank); + } + if (BuildScore != 0) { + output.WriteRawTag(56); + output.WriteUInt32(BuildScore); + } + if (TitlePrefix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(72); + output.WriteUInt32(TitleSuffix); + } + if (Difficulty != 0) { + output.WriteRawTag(80); + output.WriteUInt32(Difficulty); + } + if (Duration != 0) { + output.WriteRawTag(88); + output.WriteUInt32(Duration); + } + chars_.WriteTo(ref output, _repeated_chars_codec); + honors_.WriteTo(ref output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldClass); + } + if (HeadIcon != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (BuildScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuildScore); + } + if (TitlePrefix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); + } + if (TitleSuffix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Difficulty); + } + if (Duration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration); + } + size += chars_.CalculateSize(_repeated_chars_codec); + size += honors_.CalculateSize(_repeated_honors_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerRankData other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.HeadIcon != 0) { + HeadIcon = other.HeadIcon; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.BuildScore != 0) { + BuildScore = other.BuildScore; + } + if (other.TitlePrefix != 0) { + TitlePrefix = other.TitlePrefix; + } + if (other.TitleSuffix != 0) { + TitleSuffix = other.TitleSuffix; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.Duration != 0) { + Duration = other.Duration; + } + chars_.Add(other.chars_); + honors_.Add(other.honors_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + WorldClass = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 48: { + Rank = input.ReadUInt32(); + break; + } + case 56: { + BuildScore = input.ReadUInt32(); + break; + } + case 64: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 72: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 80: { + Difficulty = input.ReadUInt32(); + break; + } + case 88: { + Duration = input.ReadUInt32(); + break; + } + case 98: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 122: { + honors_.AddEntriesFrom(input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + WorldClass = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 48: { + Rank = input.ReadUInt32(); + break; + } + case 56: { + BuildScore = input.ReadUInt32(); + break; + } + case 64: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 72: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 80: { + Difficulty = input.ReadUInt32(); + break; + } + case 88: { + Duration = input.ReadUInt32(); + break; + } + case 98: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 122: { + honors_.AddEntriesFrom(ref input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerBattleSamples : pb::IMessage<TowerBattleSamples> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerBattleSamples> _parser = new pb::MessageParser<TowerBattleSamples>(() => new TowerBattleSamples()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerBattleSamples> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleSamples() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleSamples(TowerBattleSamples other) : this() { + sample_ = other.sample_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleSamples Clone() { + return new TowerBattleSamples(this); + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.TowerBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(10, global::Proto.TowerBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TowerBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TowerBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TowerBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerBattleSamples); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerBattleSamples other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!sample_.Equals(other.sample_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= sample_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + sample_.WriteTo(output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + sample_.WriteTo(ref output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += sample_.CalculateSize(_repeated_sample_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerBattleSamples other) { + if (other == null) { + return; + } + sample_.Add(other.sample_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerBattleData : pb::IMessage<TowerBattleData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerBattleData> _parser = new pb::MessageParser<TowerBattleData>(() => new TowerBattleData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerBattleData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleData(TowerBattleData other) : this() { + meta_ = other.meta_ != null ? other.meta_.Clone() : null; + samples_ = other.samples_ != null ? other.samples_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleData Clone() { + return new TowerBattleData(this); + } + + /// <summary>Field number for the "Meta" field.</summary> + public const int MetaFieldNumber = 1; + private global::Proto.TowerMetaInfo meta_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TowerMetaInfo Meta { + get { return meta_; } + set { + meta_ = value; + } + } + + /// <summary>Field number for the "Samples" field.</summary> + public const int SamplesFieldNumber = 2; + private global::Proto.TowerBattleSamples samples_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TowerBattleSamples Samples { + get { return samples_; } + set { + samples_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerBattleData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerBattleData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Meta, other.Meta)) return false; + if (!object.Equals(Samples, other.Samples)) return false; + if (NextPackage != other.NextPackage) 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 (meta_ != null) hash ^= Meta.GetHashCode(); + if (samples_ != null) hash ^= Samples.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (samples_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Samples); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (samples_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Samples); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Meta); + } + if (samples_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Samples); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerBattleData other) { + if (other == null) { + return; + } + if (other.meta_ != null) { + if (meta_ == null) { + Meta = new global::Proto.TowerMetaInfo(); + } + Meta.MergeFrom(other.Meta); + } + if (other.samples_ != null) { + if (samples_ == null) { + Samples = new global::Proto.TowerBattleSamples(); + } + Samples.MergeFrom(other.Samples); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (meta_ == null) { + Meta = new global::Proto.TowerMetaInfo(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (samples_ == null) { + Samples = new global::Proto.TowerBattleSamples(); + } + input.ReadMessage(Samples); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (meta_ == null) { + Meta = new global::Proto.TowerMetaInfo(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (samples_ == null) { + Samples = new global::Proto.TowerBattleSamples(); + } + input.ReadMessage(Samples); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerMetaInfo : pb::IMessage<TowerMetaInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerMetaInfo> _parser = new pb::MessageParser<TowerMetaInfo>(() => new TowerMetaInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerMetaInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerMetaInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerMetaInfo(TowerMetaInfo other) : this() { + id_ = other.id_; + zone_ = other.zone_; + towerId_ = other.towerId_; + season_ = other.season_; + playerId_ = other.playerId_; + nickname_ = other.nickname_; + duration_ = other.duration_; + difficulty_ = other.difficulty_; + rank_ = other.rank_; + time_ = other.time_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerMetaInfo Clone() { + return new TowerMetaInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Zone" field.</summary> + public const int ZoneFieldNumber = 2; + private string zone_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Zone { + get { return zone_; } + set { + zone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TowerId" field.</summary> + public const int TowerIdFieldNumber = 3; + private uint towerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TowerId { + get { return towerId_; } + set { + towerId_ = value; + } + } + + /// <summary>Field number for the "Season" field.</summary> + public const int SeasonFieldNumber = 4; + private uint season_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Season { + get { return season_; } + set { + season_ = value; + } + } + + /// <summary>Field number for the "PlayerId" field.</summary> + public const int PlayerIdFieldNumber = 5; + private ulong playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// <summary>Field number for the "Nickname" field.</summary> + public const int NicknameFieldNumber = 6; + private string nickname_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Nickname { + get { return nickname_; } + set { + nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Duration" field.</summary> + public const int DurationFieldNumber = 7; + private uint duration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + public const int DifficultyFieldNumber = 8; + private uint difficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 9; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 10; + private long time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Time { + get { return time_; } + set { + time_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerMetaInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerMetaInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Zone != other.Zone) return false; + if (TowerId != other.TowerId) return false; + if (Season != other.Season) return false; + if (PlayerId != other.PlayerId) return false; + if (Nickname != other.Nickname) return false; + if (Duration != other.Duration) return false; + if (Difficulty != other.Difficulty) return false; + if (Rank != other.Rank) return false; + if (Time != other.Time) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Zone.Length != 0) hash ^= Zone.GetHashCode(); + if (TowerId != 0) hash ^= TowerId.GetHashCode(); + if (Season != 0) hash ^= Season.GetHashCode(); + if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); + if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); + if (Duration != 0) hash ^= Duration.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (Time != 0L) hash ^= Time.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Zone.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Zone); + } + if (TowerId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(TowerId); + } + if (Season != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Season); + } + if (PlayerId != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(PlayerId); + } + if (Nickname.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Nickname); + } + if (Duration != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Duration); + } + if (Difficulty != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Difficulty); + } + if (Rank != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Rank); + } + if (Time != 0L) { + output.WriteRawTag(80); + output.WriteInt64(Time); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Zone.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Zone); + } + if (TowerId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(TowerId); + } + if (Season != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Season); + } + if (PlayerId != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(PlayerId); + } + if (Nickname.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Nickname); + } + if (Duration != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Duration); + } + if (Difficulty != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Difficulty); + } + if (Rank != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Rank); + } + if (Time != 0L) { + output.WriteRawTag(80); + output.WriteInt64(Time); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Zone.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Zone); + } + if (TowerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TowerId); + } + if (Season != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Season); + } + if (PlayerId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); + } + if (Nickname.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); + } + if (Duration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Difficulty); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (Time != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerMetaInfo other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Zone.Length != 0) { + Zone = other.Zone; + } + if (other.TowerId != 0) { + TowerId = other.TowerId; + } + if (other.Season != 0) { + Season = other.Season; + } + if (other.PlayerId != 0UL) { + PlayerId = other.PlayerId; + } + if (other.Nickname.Length != 0) { + Nickname = other.Nickname; + } + if (other.Duration != 0) { + Duration = other.Duration; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.Time != 0L) { + Time = other.Time; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + Zone = input.ReadString(); + break; + } + case 24: { + TowerId = input.ReadUInt32(); + break; + } + case 32: { + Season = input.ReadUInt32(); + break; + } + case 40: { + PlayerId = input.ReadUInt64(); + break; + } + case 50: { + Nickname = input.ReadString(); + break; + } + case 56: { + Duration = input.ReadUInt32(); + break; + } + case 64: { + Difficulty = input.ReadUInt32(); + break; + } + case 72: { + Rank = input.ReadUInt32(); + break; + } + case 80: { + Time = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + Zone = input.ReadString(); + break; + } + case 24: { + TowerId = input.ReadUInt32(); + break; + } + case 32: { + Season = input.ReadUInt32(); + break; + } + case 40: { + PlayerId = input.ReadUInt64(); + break; + } + case 50: { + Nickname = input.ReadString(); + break; + } + case 56: { + Duration = input.ReadUInt32(); + break; + } + case 64: { + Difficulty = input.ReadUInt32(); + break; + } + case 72: { + Rank = input.ReadUInt32(); + break; + } + case 80: { + Time = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TowerBattleSample : pb::IMessage<TowerBattleSample> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TowerBattleSample> _parser = new pb::MessageParser<TowerBattleSample>(() => new TowerBattleSample()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TowerBattleSample> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleSample() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleSample(TowerBattleSample other) : this() { + mapId_ = other.mapId_; + version_ = other.version_; + sample_ = other.sample_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TowerBattleSample Clone() { + return new TowerBattleSample(this); + } + + /// <summary>Field number for the "MapId" field.</summary> + public const int MapIdFieldNumber = 1; + private uint mapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MapId { + get { return mapId_; } + set { + mapId_ = value; + } + } + + /// <summary>Field number for the "Version" field.</summary> + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(26, global::Proto.TravelerDuelBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TowerBattleSample); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TowerBattleSample other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MapId != other.MapId) return false; + if (Version != other.Version) return false; + if(!sample_.Equals(other.sample_)) return false; + if (NextPackage != other.NextPackage) 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 (MapId != 0) hash ^= MapId.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + hash ^= sample_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (MapId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(MapId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + sample_.WriteTo(output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (MapId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(MapId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + sample_.WriteTo(ref output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (MapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + size += sample_.CalculateSize(_repeated_sample_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TowerBattleSample other) { + if (other == null) { + return; + } + if (other.MapId != 0) { + MapId = other.MapId; + } + if (other.Version != 0) { + Version = other.Version; + } + sample_.Add(other.sample_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + MapId = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 26: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + MapId = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 26: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerRankAffix.cs b/Novaria.Common/Protos/StarTowerRankAffix.cs deleted file mode 100644 index 53c8aa0..0000000 --- a/Novaria.Common/Protos/StarTowerRankAffix.cs +++ /dev/null @@ -1,382 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerRankAffix.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 StarTowerRankAffix.proto</summary> - public static partial class StarTowerRankAffixReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerRankAffix.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerRankAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhTdGFyVG93ZXJSYW5rQWZmaXgucHJvdG8iXAoSU3RhclRvd2VyUmFua0Fm", - "Zml4EgoKAmlkGAEgASgFEgwKBG5hbWUYAiABKAkSDAoEZGVzYxgDIAEoCRIO", - "CgZyYXJpdHkYBCABKAUSDgoGZWZmZWN0GAUgAygFQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankAffix), global::Nova.Client.StarTowerRankAffix.Parser, new[]{ "Id", "Name", "Desc", "Rarity", "Effect" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerRankAffix : pb::IMessage<StarTowerRankAffix> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerRankAffix> _parser = new pb::MessageParser<StarTowerRankAffix>(() => new StarTowerRankAffix()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerRankAffix> 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.StarTowerRankAffixReflection.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 StarTowerRankAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankAffix(StarTowerRankAffix other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - rarity_ = other.rarity_; - effect_ = other.effect_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankAffix Clone() { - return new StarTowerRankAffix(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 "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "rarity" field.</summary> - public const int RarityFieldNumber = 4; - private int rarity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rarity { - get { return rarity_; } - set { - rarity_ = value; - } - } - - /// <summary>Field number for the "effect" field.</summary> - public const int EffectFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_effect_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> effect_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Effect { - get { return effect_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerRankAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerRankAffix 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 (Desc != other.Desc) return false; - if (Rarity != other.Rarity) return false; - if(!effect_.Equals(other.effect_)) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Rarity != 0) hash ^= Rarity.GetHashCode(); - hash ^= effect_.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Rarity != 0) { - output.WriteRawTag(32); - output.WriteInt32(Rarity); - } - effect_.WriteTo(output, _repeated_effect_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Rarity != 0) { - output.WriteRawTag(32); - output.WriteInt32(Rarity); - } - effect_.WriteTo(ref output, _repeated_effect_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Rarity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); - } - size += effect_.CalculateSize(_repeated_effect_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerRankAffix other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Rarity != 0) { - Rarity = other.Rarity; - } - effect_.Add(other.effect_); - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - Rarity = input.ReadInt32(); - break; - } - case 42: - case 40: { - effect_.AddEntriesFrom(input, _repeated_effect_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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - Rarity = input.ReadInt32(); - break; - } - case 42: - case 40: { - effect_.AddEntriesFrom(ref input, _repeated_effect_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerRankApply.cs b/Novaria.Common/Protos/StarTowerRankApply.cs new file mode 100644 index 0000000..796bb86 --- /dev/null +++ b/Novaria.Common/Protos/StarTowerRankApply.cs @@ -0,0 +1,659 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: star_tower_rank_apply.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 Proto { + + /// <summary>Holder for reflection information generated from star_tower_rank_apply.proto</summary> + public static partial class StarTowerRankApplyReflection { + + #region Descriptor + /// <summary>File descriptor for star_tower_rank_apply.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StarTowerRankApplyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtzdGFyX3Rvd2VyX3JhbmtfYXBwbHkucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8aF3B1YmxpY19zdGFyX3Rvd2VyLnByb3RvGhZzdGFyX3Rvd2VyX2Fw", + "cGx5LnByb3RvImYKFVN0YXJUb3dlclJhbmtBcHBseVJlcRIlCgNSZXEYASAB", + "KAsyGC5wcm90by5TdGFyVG93ZXJBcHBseVJlcRIQCghTZWFzb25JZBgPIAEo", + "DRIUCgtOZXh0UGFja2FnZRj/DyABKAwilwEKFlN0YXJUb3dlclJhbmtBcHBs", + "eVJlc3ASJwoEUmVzcBgBIAEoCzIZLnByb3RvLlN0YXJUb3dlckFwcGx5UmVz", + "cBIhCgZDaGFuZ2UYDiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhsKE1N0YXJU", + "b3dlclJhbmtUaWNrZXQYDyABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABi", + "BnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.PublicStarTowerReflection.Descriptor, global::Proto.StarTowerApplyReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRankApplyReq), global::Proto.StarTowerRankApplyReq.Parser, new[]{ "Req", "SeasonId", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerRankApplyResp), global::Proto.StarTowerRankApplyResp.Parser, new[]{ "Resp", "Change", "StarTowerRankTicket", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankApplyReq : pb::IMessage<StarTowerRankApplyReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankApplyReq> _parser = new pb::MessageParser<StarTowerRankApplyReq>(() => new StarTowerRankApplyReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankApplyReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankApplyReflection.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 StarTowerRankApplyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankApplyReq(StarTowerRankApplyReq other) : this() { + req_ = other.req_ != null ? other.req_.Clone() : null; + seasonId_ = other.seasonId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankApplyReq Clone() { + return new StarTowerRankApplyReq(this); + } + + /// <summary>Field number for the "Req" field.</summary> + public const int ReqFieldNumber = 1; + private global::Proto.StarTowerApplyReq req_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerApplyReq Req { + get { return req_; } + set { + req_ = value; + } + } + + /// <summary>Field number for the "SeasonId" field.</summary> + public const int SeasonIdFieldNumber = 15; + private uint seasonId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SeasonId { + get { return seasonId_; } + set { + seasonId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerRankApplyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankApplyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Req, other.Req)) return false; + if (SeasonId != other.SeasonId) return false; + if (NextPackage != other.NextPackage) 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 (req_ != null) hash ^= Req.GetHashCode(); + if (SeasonId != 0) hash ^= SeasonId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (req_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Req); + } + if (SeasonId != 0) { + output.WriteRawTag(120); + output.WriteUInt32(SeasonId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (req_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Req); + } + if (SeasonId != 0) { + output.WriteRawTag(120); + output.WriteUInt32(SeasonId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (req_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Req); + } + if (SeasonId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SeasonId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankApplyReq other) { + if (other == null) { + return; + } + if (other.req_ != null) { + if (req_ == null) { + Req = new global::Proto.StarTowerApplyReq(); + } + Req.MergeFrom(other.Req); + } + if (other.SeasonId != 0) { + SeasonId = other.SeasonId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (req_ == null) { + Req = new global::Proto.StarTowerApplyReq(); + } + input.ReadMessage(Req); + break; + } + case 120: { + SeasonId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (req_ == null) { + Req = new global::Proto.StarTowerApplyReq(); + } + input.ReadMessage(Req); + break; + } + case 120: { + SeasonId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankApplyResp : pb::IMessage<StarTowerRankApplyResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankApplyResp> _parser = new pb::MessageParser<StarTowerRankApplyResp>(() => new StarTowerRankApplyResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankApplyResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StarTowerRankApplyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankApplyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankApplyResp(StarTowerRankApplyResp other) : this() { + resp_ = other.resp_ != null ? other.resp_.Clone() : null; + change_ = other.change_ != null ? other.change_.Clone() : null; + starTowerRankTicket_ = other.starTowerRankTicket_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankApplyResp Clone() { + return new StarTowerRankApplyResp(this); + } + + /// <summary>Field number for the "Resp" field.</summary> + public const int RespFieldNumber = 1; + private global::Proto.StarTowerApplyResp resp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.StarTowerApplyResp Resp { + get { return resp_; } + set { + resp_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 14; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "StarTowerRankTicket" field.</summary> + public const int StarTowerRankTicketFieldNumber = 15; + private uint starTowerRankTicket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StarTowerRankTicket { + get { return starTowerRankTicket_; } + set { + starTowerRankTicket_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StarTowerRankApplyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankApplyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Resp, other.Resp)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (StarTowerRankTicket != other.StarTowerRankTicket) return false; + if (NextPackage != other.NextPackage) 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 (resp_ != null) hash ^= Resp.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (StarTowerRankTicket != 0) hash ^= StarTowerRankTicket.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (resp_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Resp); + } + if (change_ != null) { + output.WriteRawTag(114); + output.WriteMessage(Change); + } + if (StarTowerRankTicket != 0) { + output.WriteRawTag(120); + output.WriteUInt32(StarTowerRankTicket); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resp_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Resp); + } + if (change_ != null) { + output.WriteRawTag(114); + output.WriteMessage(Change); + } + if (StarTowerRankTicket != 0) { + output.WriteRawTag(120); + output.WriteUInt32(StarTowerRankTicket); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resp_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Resp); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (StarTowerRankTicket != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StarTowerRankTicket); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankApplyResp other) { + if (other == null) { + return; + } + if (other.resp_ != null) { + if (resp_ == null) { + Resp = new global::Proto.StarTowerApplyResp(); + } + Resp.MergeFrom(other.Resp); + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.StarTowerRankTicket != 0) { + StarTowerRankTicket = other.StarTowerRankTicket; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (resp_ == null) { + Resp = new global::Proto.StarTowerApplyResp(); + } + input.ReadMessage(Resp); + break; + } + case 114: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 120: { + StarTowerRankTicket = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (resp_ == null) { + Resp = new global::Proto.StarTowerApplyResp(); + } + input.ReadMessage(Resp); + break; + } + case 114: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 120: { + StarTowerRankTicket = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerRankReward.cs b/Novaria.Common/Protos/StarTowerRankReward.cs deleted file mode 100644 index bc855be..0000000 --- a/Novaria.Common/Protos/StarTowerRankReward.cs +++ /dev/null @@ -1,429 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerRankReward.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 StarTowerRankReward.proto</summary> - public static partial class StarTowerRankRewardReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerRankReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerRankRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlTdGFyVG93ZXJSYW5rUmV3YXJkLnByb3RvIpkBChNTdGFyVG93ZXJSYW5r", - "UmV3YXJkEgoKAmlkGAEgASgFEhIKCnJhbmtfbG93ZXIYAiABKAUSFwoPYXdh", - "cmRfaXRlbV90aWQxGAMgASgFEhcKD2F3YXJkX2l0ZW1fbnVtMRgEIAEoBRIX", - "Cg9hd2FyZF9pdGVtX3RpZDIYBSABKAUSFwoPYXdhcmRfaXRlbV9udW0yGAYg", - "ASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankReward), global::Nova.Client.StarTowerRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerRankReward : pb::IMessage<StarTowerRankReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerRankReward> _parser = new pb::MessageParser<StarTowerRankReward>(() => new StarTowerRankReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerRankReward> 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.StarTowerRankRewardReflection.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 StarTowerRankReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankReward(StarTowerRankReward other) : this() { - id_ = other.id_; - rankLower_ = other.rankLower_; - awardItemTid1_ = other.awardItemTid1_; - awardItemNum1_ = other.awardItemNum1_; - awardItemTid2_ = other.awardItemTid2_; - awardItemNum2_ = other.awardItemNum2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankReward Clone() { - return new StarTowerRankReward(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 "rank_lower" field.</summary> - public const int RankLowerFieldNumber = 2; - private int rankLower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RankLower { - get { return rankLower_; } - set { - rankLower_ = value; - } - } - - /// <summary>Field number for the "award_item_tid1" field.</summary> - public const int AwardItemTid1FieldNumber = 3; - private int awardItemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid1 { - get { return awardItemTid1_; } - set { - awardItemTid1_ = value; - } - } - - /// <summary>Field number for the "award_item_num1" field.</summary> - public const int AwardItemNum1FieldNumber = 4; - private int awardItemNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum1 { - get { return awardItemNum1_; } - set { - awardItemNum1_ = value; - } - } - - /// <summary>Field number for the "award_item_tid2" field.</summary> - public const int AwardItemTid2FieldNumber = 5; - private int awardItemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid2 { - get { return awardItemTid2_; } - set { - awardItemTid2_ = value; - } - } - - /// <summary>Field number for the "award_item_num2" field.</summary> - public const int AwardItemNum2FieldNumber = 6; - private int awardItemNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum2 { - get { return awardItemNum2_; } - set { - awardItemNum2_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerRankReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerRankReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (RankLower != other.RankLower) return false; - if (AwardItemTid1 != other.AwardItemTid1) return false; - if (AwardItemNum1 != other.AwardItemNum1) return false; - if (AwardItemTid2 != other.AwardItemTid2) return false; - if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode(); - if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); - if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); - if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); - if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) { - output.WriteRawTag(16); - output.WriteInt32(RankLower); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(AwardItemNum2); - } - 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 (RankLower != 0) { - output.WriteRawTag(16); - output.WriteInt32(RankLower); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(AwardItemNum2); - } - 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 (RankLower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower); - } - if (AwardItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerRankReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.RankLower != 0) { - RankLower = other.RankLower; - } - if (other.AwardItemTid1 != 0) { - AwardItemTid1 = other.AwardItemTid1; - } - if (other.AwardItemNum1 != 0) { - AwardItemNum1 = other.AwardItemNum1; - } - if (other.AwardItemTid2 != 0) { - AwardItemTid2 = other.AwardItemTid2; - } - if (other.AwardItemNum2 != 0) { - AwardItemNum2 = other.AwardItemNum2; - } - _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: { - RankLower = input.ReadInt32(); - break; - } - case 24: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 32: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 40: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 48: { - AwardItemNum2 = 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: { - RankLower = input.ReadInt32(); - break; - } - case 24: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 32: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 40: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 48: { - AwardItemNum2 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerRankSeason.cs b/Novaria.Common/Protos/StarTowerRankSeason.cs deleted file mode 100644 index 1aa1a00..0000000 --- a/Novaria.Common/Protos/StarTowerRankSeason.cs +++ /dev/null @@ -1,617 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerRankSeason.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 StarTowerRankSeason.proto</summary> - public static partial class StarTowerRankSeasonReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerRankSeason.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerRankSeasonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlTdGFyVG93ZXJSYW5rU2Vhc29uLnByb3RvIugBChNTdGFyVG93ZXJSYW5r", - "U2Vhc29uEgoKAmlkGAEgASgFEhAKCGdyb3VwX2lkGAIgASgFEhEKCW9wZW5f", - "dGltZRgDIAEoCRIQCghlbmRfdGltZRgEIAEoCRIOCgZhZmZpeDEYBSABKAUS", - "EgoKYWZmaXhfYWRkMRgGIAMoBRIOCgZhZmZpeDIYByABKAUSEgoKYWZmaXhf", - "YWRkMhgIIAMoBRIOCgZhZmZpeDMYCSABKAUSEgoKYWZmaXhfYWRkMxgKIAMo", - "BRIOCgZhZmZpeDQYCyABKAUSEgoKYWZmaXhfYWRkNBgMIAMoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankSeason), global::Nova.Client.StarTowerRankSeason.Parser, new[]{ "Id", "GroupId", "OpenTime", "EndTime", "Affix1", "AffixAdd1", "Affix2", "AffixAdd2", "Affix3", "AffixAdd3", "Affix4", "AffixAdd4" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerRankSeason : pb::IMessage<StarTowerRankSeason> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerRankSeason> _parser = new pb::MessageParser<StarTowerRankSeason>(() => new StarTowerRankSeason()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerRankSeason> 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.StarTowerRankSeasonReflection.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 StarTowerRankSeason() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankSeason(StarTowerRankSeason other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - openTime_ = other.openTime_; - endTime_ = other.endTime_; - affix1_ = other.affix1_; - affixAdd1_ = other.affixAdd1_.Clone(); - affix2_ = other.affix2_; - affixAdd2_ = other.affixAdd2_.Clone(); - affix3_ = other.affix3_; - affixAdd3_ = other.affixAdd3_.Clone(); - affix4_ = other.affix4_; - affixAdd4_ = other.affixAdd4_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerRankSeason Clone() { - return new StarTowerRankSeason(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 "open_time" field.</summary> - public const int OpenTimeFieldNumber = 3; - private string openTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenTime { - get { return openTime_; } - set { - openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "end_time" field.</summary> - public const int EndTimeFieldNumber = 4; - private string endTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndTime { - get { return endTime_; } - set { - endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "affix1" field.</summary> - public const int Affix1FieldNumber = 5; - private int affix1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affix1 { - get { return affix1_; } - set { - affix1_ = value; - } - } - - /// <summary>Field number for the "affix_add1" field.</summary> - public const int AffixAdd1FieldNumber = 6; - private static readonly pb::FieldCodec<int> _repeated_affixAdd1_codec - = pb::FieldCodec.ForInt32(50); - private readonly pbc::RepeatedField<int> affixAdd1_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> AffixAdd1 { - get { return affixAdd1_; } - } - - /// <summary>Field number for the "affix2" field.</summary> - public const int Affix2FieldNumber = 7; - private int affix2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affix2 { - get { return affix2_; } - set { - affix2_ = value; - } - } - - /// <summary>Field number for the "affix_add2" field.</summary> - public const int AffixAdd2FieldNumber = 8; - private static readonly pb::FieldCodec<int> _repeated_affixAdd2_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField<int> affixAdd2_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> AffixAdd2 { - get { return affixAdd2_; } - } - - /// <summary>Field number for the "affix3" field.</summary> - public const int Affix3FieldNumber = 9; - private int affix3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affix3 { - get { return affix3_; } - set { - affix3_ = value; - } - } - - /// <summary>Field number for the "affix_add3" field.</summary> - public const int AffixAdd3FieldNumber = 10; - private static readonly pb::FieldCodec<int> _repeated_affixAdd3_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField<int> affixAdd3_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> AffixAdd3 { - get { return affixAdd3_; } - } - - /// <summary>Field number for the "affix4" field.</summary> - public const int Affix4FieldNumber = 11; - private int affix4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affix4 { - get { return affix4_; } - set { - affix4_ = value; - } - } - - /// <summary>Field number for the "affix_add4" field.</summary> - public const int AffixAdd4FieldNumber = 12; - private static readonly pb::FieldCodec<int> _repeated_affixAdd4_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField<int> affixAdd4_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> AffixAdd4 { - get { return affixAdd4_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerRankSeason); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerRankSeason 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 (OpenTime != other.OpenTime) return false; - if (EndTime != other.EndTime) return false; - if (Affix1 != other.Affix1) return false; - if(!affixAdd1_.Equals(other.affixAdd1_)) return false; - if (Affix2 != other.Affix2) return false; - if(!affixAdd2_.Equals(other.affixAdd2_)) return false; - if (Affix3 != other.Affix3) return false; - if(!affixAdd3_.Equals(other.affixAdd3_)) return false; - if (Affix4 != other.Affix4) return false; - if(!affixAdd4_.Equals(other.affixAdd4_)) 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 (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); - if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); - if (Affix1 != 0) hash ^= Affix1.GetHashCode(); - hash ^= affixAdd1_.GetHashCode(); - if (Affix2 != 0) hash ^= Affix2.GetHashCode(); - hash ^= affixAdd2_.GetHashCode(); - if (Affix3 != 0) hash ^= Affix3.GetHashCode(); - hash ^= affixAdd3_.GetHashCode(); - if (Affix4 != 0) hash ^= Affix4.GetHashCode(); - hash ^= affixAdd4_.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 (OpenTime.Length != 0) { - output.WriteRawTag(26); - output.WriteString(OpenTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(34); - output.WriteString(EndTime); - } - if (Affix1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Affix1); - } - affixAdd1_.WriteTo(output, _repeated_affixAdd1_codec); - if (Affix2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Affix2); - } - affixAdd2_.WriteTo(output, _repeated_affixAdd2_codec); - if (Affix3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Affix3); - } - affixAdd3_.WriteTo(output, _repeated_affixAdd3_codec); - if (Affix4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Affix4); - } - affixAdd4_.WriteTo(output, _repeated_affixAdd4_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 (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(26); - output.WriteString(OpenTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(34); - output.WriteString(EndTime); - } - if (Affix1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Affix1); - } - affixAdd1_.WriteTo(ref output, _repeated_affixAdd1_codec); - if (Affix2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Affix2); - } - affixAdd2_.WriteTo(ref output, _repeated_affixAdd2_codec); - if (Affix3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Affix3); - } - affixAdd3_.WriteTo(ref output, _repeated_affixAdd3_codec); - if (Affix4 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Affix4); - } - affixAdd4_.WriteTo(ref output, _repeated_affixAdd4_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 (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (OpenTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); - } - if (EndTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); - } - if (Affix1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix1); - } - size += affixAdd1_.CalculateSize(_repeated_affixAdd1_codec); - if (Affix2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix2); - } - size += affixAdd2_.CalculateSize(_repeated_affixAdd2_codec); - if (Affix3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix3); - } - size += affixAdd3_.CalculateSize(_repeated_affixAdd3_codec); - if (Affix4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix4); - } - size += affixAdd4_.CalculateSize(_repeated_affixAdd4_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerRankSeason other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.OpenTime.Length != 0) { - OpenTime = other.OpenTime; - } - if (other.EndTime.Length != 0) { - EndTime = other.EndTime; - } - if (other.Affix1 != 0) { - Affix1 = other.Affix1; - } - affixAdd1_.Add(other.affixAdd1_); - if (other.Affix2 != 0) { - Affix2 = other.Affix2; - } - affixAdd2_.Add(other.affixAdd2_); - if (other.Affix3 != 0) { - Affix3 = other.Affix3; - } - affixAdd3_.Add(other.affixAdd3_); - if (other.Affix4 != 0) { - Affix4 = other.Affix4; - } - affixAdd4_.Add(other.affixAdd4_); - _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 26: { - OpenTime = input.ReadString(); - break; - } - case 34: { - EndTime = input.ReadString(); - break; - } - case 40: { - Affix1 = input.ReadInt32(); - break; - } - case 50: - case 48: { - affixAdd1_.AddEntriesFrom(input, _repeated_affixAdd1_codec); - break; - } - case 56: { - Affix2 = input.ReadInt32(); - break; - } - case 66: - case 64: { - affixAdd2_.AddEntriesFrom(input, _repeated_affixAdd2_codec); - break; - } - case 72: { - Affix3 = input.ReadInt32(); - break; - } - case 82: - case 80: { - affixAdd3_.AddEntriesFrom(input, _repeated_affixAdd3_codec); - break; - } - case 88: { - Affix4 = input.ReadInt32(); - break; - } - case 98: - case 96: { - affixAdd4_.AddEntriesFrom(input, _repeated_affixAdd4_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: { - GroupId = input.ReadInt32(); - break; - } - case 26: { - OpenTime = input.ReadString(); - break; - } - case 34: { - EndTime = input.ReadString(); - break; - } - case 40: { - Affix1 = input.ReadInt32(); - break; - } - case 50: - case 48: { - affixAdd1_.AddEntriesFrom(ref input, _repeated_affixAdd1_codec); - break; - } - case 56: { - Affix2 = input.ReadInt32(); - break; - } - case 66: - case 64: { - affixAdd2_.AddEntriesFrom(ref input, _repeated_affixAdd2_codec); - break; - } - case 72: { - Affix3 = input.ReadInt32(); - break; - } - case 82: - case 80: { - affixAdd3_.AddEntriesFrom(ref input, _repeated_affixAdd3_codec); - break; - } - case 88: { - Affix4 = input.ReadInt32(); - break; - } - case 98: - case 96: { - affixAdd4_.AddEntriesFrom(ref input, _repeated_affixAdd4_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerScenePrefab.cs b/Novaria.Common/Protos/StarTowerScenePrefab.cs deleted file mode 100644 index 2f50c77..0000000 --- a/Novaria.Common/Protos/StarTowerScenePrefab.cs +++ /dev/null @@ -1,345 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerScenePrefab.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 StarTowerScenePrefab.proto</summary> - public static partial class StarTowerScenePrefabReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerScenePrefab.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerScenePrefabReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdGFyVG93ZXJTY2VuZVByZWZhYi5wcm90byJhChRTdGFyVG93ZXJTY2Vu", - "ZVByZWZhYhIKCgJpZBgBIAEoBRISCgpjb25maWdfcmVzGAIgASgJEhEKCWJp", - "YW5fcXVhbhgDIAEoCRIWCg5nYW1lcGxheV90eXBlcxgEIAMoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerScenePrefab), global::Nova.Client.StarTowerScenePrefab.Parser, new[]{ "Id", "ConfigRes", "BianQuan", "GameplayTypes" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerScenePrefab : pb::IMessage<StarTowerScenePrefab> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerScenePrefab> _parser = new pb::MessageParser<StarTowerScenePrefab>(() => new StarTowerScenePrefab()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerScenePrefab> 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.StarTowerScenePrefabReflection.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 StarTowerScenePrefab() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerScenePrefab(StarTowerScenePrefab other) : this() { - id_ = other.id_; - configRes_ = other.configRes_; - bianQuan_ = other.bianQuan_; - gameplayTypes_ = other.gameplayTypes_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerScenePrefab Clone() { - return new StarTowerScenePrefab(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 "config_res" field.</summary> - public const int ConfigResFieldNumber = 2; - private string configRes_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigRes { - get { return configRes_; } - set { - configRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bian_quan" field.</summary> - public const int BianQuanFieldNumber = 3; - private string bianQuan_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BianQuan { - get { return bianQuan_; } - set { - bianQuan_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "gameplay_types" field.</summary> - public const int GameplayTypesFieldNumber = 4; - private static readonly pb::FieldCodec<int> _repeated_gameplayTypes_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField<int> gameplayTypes_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> GameplayTypes { - get { return gameplayTypes_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerScenePrefab); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerScenePrefab other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ConfigRes != other.ConfigRes) return false; - if (BianQuan != other.BianQuan) return false; - if(!gameplayTypes_.Equals(other.gameplayTypes_)) 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 (ConfigRes.Length != 0) hash ^= ConfigRes.GetHashCode(); - if (BianQuan.Length != 0) hash ^= BianQuan.GetHashCode(); - hash ^= gameplayTypes_.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 (ConfigRes.Length != 0) { - output.WriteRawTag(18); - output.WriteString(ConfigRes); - } - if (BianQuan.Length != 0) { - output.WriteRawTag(26); - output.WriteString(BianQuan); - } - gameplayTypes_.WriteTo(output, _repeated_gameplayTypes_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 (ConfigRes.Length != 0) { - output.WriteRawTag(18); - output.WriteString(ConfigRes); - } - if (BianQuan.Length != 0) { - output.WriteRawTag(26); - output.WriteString(BianQuan); - } - gameplayTypes_.WriteTo(ref output, _repeated_gameplayTypes_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 (ConfigRes.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigRes); - } - if (BianQuan.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BianQuan); - } - size += gameplayTypes_.CalculateSize(_repeated_gameplayTypes_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerScenePrefab other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ConfigRes.Length != 0) { - ConfigRes = other.ConfigRes; - } - if (other.BianQuan.Length != 0) { - BianQuan = other.BianQuan; - } - gameplayTypes_.Add(other.gameplayTypes_); - _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: { - ConfigRes = input.ReadString(); - break; - } - case 26: { - BianQuan = input.ReadString(); - break; - } - case 34: - case 32: { - gameplayTypes_.AddEntriesFrom(input, _repeated_gameplayTypes_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 18: { - ConfigRes = input.ReadString(); - break; - } - case 26: { - BianQuan = input.ReadString(); - break; - } - case 34: - case 32: { - gameplayTypes_.AddEntriesFrom(ref input, _repeated_gameplayTypes_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerSpMode.cs b/Novaria.Common/Protos/StarTowerSpMode.cs deleted file mode 100644 index 5d519bc..0000000 --- a/Novaria.Common/Protos/StarTowerSpMode.cs +++ /dev/null @@ -1,392 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerSpMode.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 StarTowerSpMode.proto</summary> - public static partial class StarTowerSpModeReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerSpMode.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerSpModeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVTdGFyVG93ZXJTcE1vZGUucHJvdG8ijwEKD1N0YXJUb3dlclNwTW9kZRIK", - "CgJpZBgBIAEoBRIZChFsaW1pdF90aW1lX3dlaWdodBgCIAEoCBIbChNsaW1p", - "dF9raWxsZWRfd2VpZ2h0GAMgASgIEhUKDWdvYmxpbl93ZWlnaHQYBCABKAgS", - "IQoZY29udGludW91c19raWxsaW5nX3dlaWdodBgFIAEoCEIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerSpMode), global::Nova.Client.StarTowerSpMode.Parser, new[]{ "Id", "LimitTimeWeight", "LimitKilledWeight", "GoblinWeight", "ContinuousKillingWeight" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerSpMode : pb::IMessage<StarTowerSpMode> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerSpMode> _parser = new pb::MessageParser<StarTowerSpMode>(() => new StarTowerSpMode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerSpMode> 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.StarTowerSpModeReflection.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 StarTowerSpMode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerSpMode(StarTowerSpMode other) : this() { - id_ = other.id_; - limitTimeWeight_ = other.limitTimeWeight_; - limitKilledWeight_ = other.limitKilledWeight_; - goblinWeight_ = other.goblinWeight_; - continuousKillingWeight_ = other.continuousKillingWeight_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerSpMode Clone() { - return new StarTowerSpMode(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 "limit_time_weight" field.</summary> - public const int LimitTimeWeightFieldNumber = 2; - private bool limitTimeWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool LimitTimeWeight { - get { return limitTimeWeight_; } - set { - limitTimeWeight_ = value; - } - } - - /// <summary>Field number for the "limit_killed_weight" field.</summary> - public const int LimitKilledWeightFieldNumber = 3; - private bool limitKilledWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool LimitKilledWeight { - get { return limitKilledWeight_; } - set { - limitKilledWeight_ = value; - } - } - - /// <summary>Field number for the "goblin_weight" field.</summary> - public const int GoblinWeightFieldNumber = 4; - private bool goblinWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool GoblinWeight { - get { return goblinWeight_; } - set { - goblinWeight_ = value; - } - } - - /// <summary>Field number for the "continuous_killing_weight" field.</summary> - public const int ContinuousKillingWeightFieldNumber = 5; - private bool continuousKillingWeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ContinuousKillingWeight { - get { return continuousKillingWeight_; } - set { - continuousKillingWeight_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerSpMode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerSpMode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (LimitTimeWeight != other.LimitTimeWeight) return false; - if (LimitKilledWeight != other.LimitKilledWeight) return false; - if (GoblinWeight != other.GoblinWeight) return false; - if (ContinuousKillingWeight != other.ContinuousKillingWeight) 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 (LimitTimeWeight != false) hash ^= LimitTimeWeight.GetHashCode(); - if (LimitKilledWeight != false) hash ^= LimitKilledWeight.GetHashCode(); - if (GoblinWeight != false) hash ^= GoblinWeight.GetHashCode(); - if (ContinuousKillingWeight != false) hash ^= ContinuousKillingWeight.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 (LimitTimeWeight != false) { - output.WriteRawTag(16); - output.WriteBool(LimitTimeWeight); - } - if (LimitKilledWeight != false) { - output.WriteRawTag(24); - output.WriteBool(LimitKilledWeight); - } - if (GoblinWeight != false) { - output.WriteRawTag(32); - output.WriteBool(GoblinWeight); - } - if (ContinuousKillingWeight != false) { - output.WriteRawTag(40); - output.WriteBool(ContinuousKillingWeight); - } - 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 (LimitTimeWeight != false) { - output.WriteRawTag(16); - output.WriteBool(LimitTimeWeight); - } - if (LimitKilledWeight != false) { - output.WriteRawTag(24); - output.WriteBool(LimitKilledWeight); - } - if (GoblinWeight != false) { - output.WriteRawTag(32); - output.WriteBool(GoblinWeight); - } - if (ContinuousKillingWeight != false) { - output.WriteRawTag(40); - output.WriteBool(ContinuousKillingWeight); - } - 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 (LimitTimeWeight != false) { - size += 1 + 1; - } - if (LimitKilledWeight != false) { - size += 1 + 1; - } - if (GoblinWeight != false) { - size += 1 + 1; - } - if (ContinuousKillingWeight != 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(StarTowerSpMode other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.LimitTimeWeight != false) { - LimitTimeWeight = other.LimitTimeWeight; - } - if (other.LimitKilledWeight != false) { - LimitKilledWeight = other.LimitKilledWeight; - } - if (other.GoblinWeight != false) { - GoblinWeight = other.GoblinWeight; - } - if (other.ContinuousKillingWeight != false) { - ContinuousKillingWeight = other.ContinuousKillingWeight; - } - _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: { - LimitTimeWeight = input.ReadBool(); - break; - } - case 24: { - LimitKilledWeight = input.ReadBool(); - break; - } - case 32: { - GoblinWeight = input.ReadBool(); - break; - } - case 40: { - ContinuousKillingWeight = 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 16: { - LimitTimeWeight = input.ReadBool(); - break; - } - case 24: { - LimitKilledWeight = input.ReadBool(); - break; - } - case 32: { - GoblinWeight = input.ReadBool(); - break; - } - case 40: { - ContinuousKillingWeight = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerSpecificCombat.cs b/Novaria.Common/Protos/StarTowerSpecificCombat.cs deleted file mode 100644 index 0c4d175..0000000 --- a/Novaria.Common/Protos/StarTowerSpecificCombat.cs +++ /dev/null @@ -1,391 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerSpecificCombat.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 StarTowerSpecificCombat.proto</summary> - public static partial class StarTowerSpecificCombatReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerSpecificCombat.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerSpecificCombatReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1TdGFyVG93ZXJTcGVjaWZpY0NvbWJhdC5wcm90byJhChdTdGFyVG93ZXJT", - "cGVjaWZpY0NvbWJhdBIKCgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEgwKBGRl", - "c2MYAyABKAkSDAoEdHlwZRgEIAEoBRIQCghldmVudF9pZBgFIAEoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerSpecificCombat), global::Nova.Client.StarTowerSpecificCombat.Parser, new[]{ "Id", "Name", "Desc", "Type", "EventId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerSpecificCombat : pb::IMessage<StarTowerSpecificCombat> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerSpecificCombat> _parser = new pb::MessageParser<StarTowerSpecificCombat>(() => new StarTowerSpecificCombat()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerSpecificCombat> 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.StarTowerSpecificCombatReflection.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 StarTowerSpecificCombat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerSpecificCombat(StarTowerSpecificCombat other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - type_ = other.type_; - eventId_ = other.eventId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerSpecificCombat Clone() { - return new StarTowerSpecificCombat(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 "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "type" field.</summary> - public const int TypeFieldNumber = 4; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "event_id" field.</summary> - public const int EventIdFieldNumber = 5; - private int eventId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EventId { - get { return eventId_; } - set { - eventId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerSpecificCombat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerSpecificCombat 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 (Desc != other.Desc) return false; - if (Type != other.Type) return false; - if (EventId != other.EventId) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (EventId != 0) hash ^= EventId.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (EventId != 0) { - output.WriteRawTag(40); - output.WriteInt32(EventId); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Type != 0) { - output.WriteRawTag(32); - output.WriteInt32(Type); - } - if (EventId != 0) { - output.WriteRawTag(40); - output.WriteInt32(EventId); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (EventId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerSpecificCombat other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.EventId != 0) { - EventId = other.EventId; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 40: { - EventId = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - Type = input.ReadInt32(); - break; - } - case 40: { - EventId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerStage.cs b/Novaria.Common/Protos/StarTowerStage.cs deleted file mode 100644 index 7639eec..0000000 --- a/Novaria.Common/Protos/StarTowerStage.cs +++ /dev/null @@ -1,504 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerStage.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 StarTowerStage.proto</summary> - public static partial class StarTowerStageReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerStage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerStageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRTdGFyVG93ZXJTdGFnZS5wcm90byLCAQoOU3RhclRvd2VyU3RhZ2USCgoC", - "aWQYASABKAUSDQoFc3RhZ2UYAiABKAUSEAoIZ3JvdXBfaWQYAyABKAUSDQoF", - "Zmxvb3IYBCABKAUSEQoJcm9vbV90eXBlGAUgASgFEiIKGmludGVyaW9yX2N1", - "cnJlbmN5X3F1YW50aXR5GAYgASgFEhkKEWd1YXJhbnRlZWRfbWFwX2lkGAcg", - "ASgFEiIKGmd1YXJhbnRlZWRfbW9uc3Rlcl9wbGFuX2lkGAggASgFQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerStage), global::Nova.Client.StarTowerStage.Parser, new[]{ "Id", "Stage", "GroupId", "Floor", "RoomType", "InteriorCurrencyQuantity", "GuaranteedMapId", "GuaranteedMonsterPlanId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerStage : pb::IMessage<StarTowerStage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerStage> _parser = new pb::MessageParser<StarTowerStage>(() => new StarTowerStage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerStage> 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.StarTowerStageReflection.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 StarTowerStage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerStage(StarTowerStage other) : this() { - id_ = other.id_; - stage_ = other.stage_; - groupId_ = other.groupId_; - floor_ = other.floor_; - roomType_ = other.roomType_; - interiorCurrencyQuantity_ = other.interiorCurrencyQuantity_; - guaranteedMapId_ = other.guaranteedMapId_; - guaranteedMonsterPlanId_ = other.guaranteedMonsterPlanId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerStage Clone() { - return new StarTowerStage(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 "stage" field.</summary> - public const int StageFieldNumber = 2; - private int stage_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stage { - get { return stage_; } - set { - stage_ = value; - } - } - - /// <summary>Field number for the "group_id" field.</summary> - public const int GroupIdFieldNumber = 3; - 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 "floor" field.</summary> - public const int FloorFieldNumber = 4; - private int floor_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Floor { - get { return floor_; } - set { - floor_ = value; - } - } - - /// <summary>Field number for the "room_type" field.</summary> - public const int RoomTypeFieldNumber = 5; - private int roomType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RoomType { - get { return roomType_; } - set { - roomType_ = value; - } - } - - /// <summary>Field number for the "interior_currency_quantity" field.</summary> - public const int InteriorCurrencyQuantityFieldNumber = 6; - private int interiorCurrencyQuantity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int InteriorCurrencyQuantity { - get { return interiorCurrencyQuantity_; } - set { - interiorCurrencyQuantity_ = value; - } - } - - /// <summary>Field number for the "guaranteed_map_id" field.</summary> - public const int GuaranteedMapIdFieldNumber = 7; - private int guaranteedMapId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuaranteedMapId { - get { return guaranteedMapId_; } - set { - guaranteedMapId_ = value; - } - } - - /// <summary>Field number for the "guaranteed_monster_plan_id" field.</summary> - public const int GuaranteedMonsterPlanIdFieldNumber = 8; - private int guaranteedMonsterPlanId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GuaranteedMonsterPlanId { - get { return guaranteedMonsterPlanId_; } - set { - guaranteedMonsterPlanId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StarTowerStage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerStage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Stage != other.Stage) return false; - if (GroupId != other.GroupId) return false; - if (Floor != other.Floor) return false; - if (RoomType != other.RoomType) return false; - if (InteriorCurrencyQuantity != other.InteriorCurrencyQuantity) return false; - if (GuaranteedMapId != other.GuaranteedMapId) return false; - if (GuaranteedMonsterPlanId != other.GuaranteedMonsterPlanId) 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 (Stage != 0) hash ^= Stage.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (Floor != 0) hash ^= Floor.GetHashCode(); - if (RoomType != 0) hash ^= RoomType.GetHashCode(); - if (InteriorCurrencyQuantity != 0) hash ^= InteriorCurrencyQuantity.GetHashCode(); - if (GuaranteedMapId != 0) hash ^= GuaranteedMapId.GetHashCode(); - if (GuaranteedMonsterPlanId != 0) hash ^= GuaranteedMonsterPlanId.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 (Stage != 0) { - output.WriteRawTag(16); - output.WriteInt32(Stage); - } - if (GroupId != 0) { - output.WriteRawTag(24); - output.WriteInt32(GroupId); - } - if (Floor != 0) { - output.WriteRawTag(32); - output.WriteInt32(Floor); - } - if (RoomType != 0) { - output.WriteRawTag(40); - output.WriteInt32(RoomType); - } - if (InteriorCurrencyQuantity != 0) { - output.WriteRawTag(48); - output.WriteInt32(InteriorCurrencyQuantity); - } - if (GuaranteedMapId != 0) { - output.WriteRawTag(56); - output.WriteInt32(GuaranteedMapId); - } - if (GuaranteedMonsterPlanId != 0) { - output.WriteRawTag(64); - output.WriteInt32(GuaranteedMonsterPlanId); - } - 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 (Stage != 0) { - output.WriteRawTag(16); - output.WriteInt32(Stage); - } - if (GroupId != 0) { - output.WriteRawTag(24); - output.WriteInt32(GroupId); - } - if (Floor != 0) { - output.WriteRawTag(32); - output.WriteInt32(Floor); - } - if (RoomType != 0) { - output.WriteRawTag(40); - output.WriteInt32(RoomType); - } - if (InteriorCurrencyQuantity != 0) { - output.WriteRawTag(48); - output.WriteInt32(InteriorCurrencyQuantity); - } - if (GuaranteedMapId != 0) { - output.WriteRawTag(56); - output.WriteInt32(GuaranteedMapId); - } - if (GuaranteedMonsterPlanId != 0) { - output.WriteRawTag(64); - output.WriteInt32(GuaranteedMonsterPlanId); - } - 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 (Stage != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (Floor != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Floor); - } - if (RoomType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType); - } - if (InteriorCurrencyQuantity != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteriorCurrencyQuantity); - } - if (GuaranteedMapId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuaranteedMapId); - } - if (GuaranteedMonsterPlanId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuaranteedMonsterPlanId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerStage other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Stage != 0) { - Stage = other.Stage; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Floor != 0) { - Floor = other.Floor; - } - if (other.RoomType != 0) { - RoomType = other.RoomType; - } - if (other.InteriorCurrencyQuantity != 0) { - InteriorCurrencyQuantity = other.InteriorCurrencyQuantity; - } - if (other.GuaranteedMapId != 0) { - GuaranteedMapId = other.GuaranteedMapId; - } - if (other.GuaranteedMonsterPlanId != 0) { - GuaranteedMonsterPlanId = other.GuaranteedMonsterPlanId; - } - _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: { - Stage = input.ReadInt32(); - break; - } - case 24: { - GroupId = input.ReadInt32(); - break; - } - case 32: { - Floor = input.ReadInt32(); - break; - } - case 40: { - RoomType = input.ReadInt32(); - break; - } - case 48: { - InteriorCurrencyQuantity = input.ReadInt32(); - break; - } - case 56: { - GuaranteedMapId = input.ReadInt32(); - break; - } - case 64: { - GuaranteedMonsterPlanId = 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: { - Stage = input.ReadInt32(); - break; - } - case 24: { - GroupId = input.ReadInt32(); - break; - } - case 32: { - Floor = input.ReadInt32(); - break; - } - case 40: { - RoomType = input.ReadInt32(); - break; - } - case 48: { - InteriorCurrencyQuantity = input.ReadInt32(); - break; - } - case 56: { - GuaranteedMapId = input.ReadInt32(); - break; - } - case 64: { - GuaranteedMonsterPlanId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerTalk.cs b/Novaria.Common/Protos/StarTowerTalk.cs deleted file mode 100644 index 911cf89..0000000 --- a/Novaria.Common/Protos/StarTowerTalk.cs +++ /dev/null @@ -1,428 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerTalk.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 StarTowerTalk.proto</summary> - public static partial class StarTowerTalkReflection { - - #region Descriptor - /// <summary>File descriptor for StarTowerTalk.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StarTowerTalkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNTdGFyVG93ZXJUYWxrLnByb3RvImYKDVN0YXJUb3dlclRhbGsSCgoCaWQY", - "ASABKAUSDAoEbmFtZRgCIAEoCRIPCgdjb250ZW50GAMgASgJEg0KBWNvbG9y", - "GAQgASgJEgwKBGZhY2UYBSABKAkSDQoFdm9pY2UYBiABKAlCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerTalk), global::Nova.Client.StarTowerTalk.Parser, new[]{ "Id", "Name", "Content", "Color", "Face", "Voice" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerTalk : pb::IMessage<StarTowerTalk> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StarTowerTalk> _parser = new pb::MessageParser<StarTowerTalk>(() => new StarTowerTalk()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerTalk> 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.StarTowerTalkReflection.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 StarTowerTalk() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerTalk(StarTowerTalk other) : this() { - id_ = other.id_; - name_ = other.name_; - content_ = other.content_; - color_ = other.color_; - face_ = other.face_; - voice_ = other.voice_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerTalk Clone() { - return new StarTowerTalk(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 "content" field.</summary> - public const int ContentFieldNumber = 3; - private string content_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Content { - get { return content_; } - set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "color" field.</summary> - public const int ColorFieldNumber = 4; - private string color_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Color { - get { return color_; } - set { - color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "face" field.</summary> - public const int FaceFieldNumber = 5; - private string face_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Face { - get { return face_; } - set { - face_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "voice" field.</summary> - public const int VoiceFieldNumber = 6; - private string voice_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Voice { - get { return voice_; } - set { - voice_ = 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 StarTowerTalk); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerTalk 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 (Content != other.Content) return false; - if (Color != other.Color) return false; - if (Face != other.Face) return false; - if (Voice != other.Voice) 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 (Content.Length != 0) hash ^= Content.GetHashCode(); - if (Color.Length != 0) hash ^= Color.GetHashCode(); - if (Face.Length != 0) hash ^= Face.GetHashCode(); - if (Voice.Length != 0) hash ^= Voice.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 (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); - } - if (Color.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Color); - } - if (Face.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Face); - } - if (Voice.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Voice); - } - 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 (Content.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Content); - } - if (Color.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Color); - } - if (Face.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Face); - } - if (Voice.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Voice); - } - 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 (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); - } - if (Color.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); - } - if (Face.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Face); - } - if (Voice.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Voice); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerTalk other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Content.Length != 0) { - Content = other.Content; - } - if (other.Color.Length != 0) { - Color = other.Color; - } - if (other.Face.Length != 0) { - Face = other.Face; - } - if (other.Voice.Length != 0) { - Voice = other.Voice; - } - _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 26: { - Content = input.ReadString(); - break; - } - case 34: { - Color = input.ReadString(); - break; - } - case 42: { - Face = input.ReadString(); - break; - } - case 50: { - Voice = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Content = input.ReadString(); - break; - } - case 34: { - Color = input.ReadString(); - break; - } - case 42: { - Face = input.ReadString(); - break; - } - case 50: { - Voice = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Story.cs b/Novaria.Common/Protos/Story.cs deleted file mode 100644 index 3d26868..0000000 --- a/Novaria.Common/Protos/Story.cs +++ /dev/null @@ -1,932 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Story.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 Story.proto</summary> - public static partial class StoryReflection { - - #region Descriptor - /// <summary>File descriptor for Story.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StoryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtTdG9yeS5wcm90byKFAwoFU3RvcnkSCgoCaWQYASABKAUSEAoIc3Rvcnlf", - "aWQYAiABKAkSDwoHY29tbWVudBgDIAEoCRIPCgdjaGFwdGVyGAQgASgFEg0K", - "BWluZGV4GAUgASgJEg0KBXRpdGxlGAYgASgJEgwKBGRlc2MYByABKAkSEwoL", - "dHJpYWxfYnVpbGQYCCABKAUSFAoMY29uZGl0aW9uX2lkGAkgASgJEhEKCWlz", - "X2JyYW5jaBgKIAEoCBIRCglpc19iYXR0bGUYCyABKAgSDgoGcmV3YXJkGAwg", - "ASgFEhYKDnJld2FyZF9kaXNwbGF5GA0gASgJEhcKD3BhcmVudF9zdG9yeV9p", - "ZBgOIAMoCRIUCgxoYXNfZXZpZGVuY2UYDyABKAgSFAoMYXZnX2x1YV9uYW1l", - "GBAgASgJEhAKCGZsb29yX2lkGBEgAygFEiAKGHByZXZpZXdfbW9uc3Rlcl9n", - "cm91cF9pZBgSIAEoBRIRCglyZWNvbW1lbmQYEyABKAkSCwoDYWltGBQgASgJ", - "Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Story), global::Nova.Client.Story.Parser, new[]{ "Id", "StoryId", "Comment", "Chapter", "Index", "Title", "Desc", "TrialBuild", "ConditionId", "IsBranch", "IsBattle", "Reward", "RewardDisplay", "ParentStoryId", "HasEvidence", "AvgLuaName", "FloorId", "PreviewMonsterGroupId", "Recommend", "Aim" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Story : pb::IMessage<Story> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Story> _parser = new pb::MessageParser<Story>(() => new Story()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Story> 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.StoryReflection.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 Story() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Story(Story other) : this() { - id_ = other.id_; - storyId_ = other.storyId_; - comment_ = other.comment_; - chapter_ = other.chapter_; - index_ = other.index_; - title_ = other.title_; - desc_ = other.desc_; - trialBuild_ = other.trialBuild_; - conditionId_ = other.conditionId_; - isBranch_ = other.isBranch_; - isBattle_ = other.isBattle_; - reward_ = other.reward_; - rewardDisplay_ = other.rewardDisplay_; - parentStoryId_ = other.parentStoryId_.Clone(); - hasEvidence_ = other.hasEvidence_; - avgLuaName_ = other.avgLuaName_; - floorId_ = other.floorId_.Clone(); - previewMonsterGroupId_ = other.previewMonsterGroupId_; - recommend_ = other.recommend_; - aim_ = other.aim_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Story Clone() { - return new Story(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 "story_id" field.</summary> - public const int StoryIdFieldNumber = 2; - private string storyId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StoryId { - get { return storyId_; } - set { - storyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "comment" field.</summary> - public const int CommentFieldNumber = 3; - private string comment_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Comment { - get { return comment_; } - set { - comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "chapter" field.</summary> - public const int ChapterFieldNumber = 4; - private int chapter_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Chapter { - get { return chapter_; } - set { - chapter_ = value; - } - } - - /// <summary>Field number for the "index" field.</summary> - public const int IndexFieldNumber = 5; - private string index_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Index { - get { return index_; } - set { - index_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 6; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 7; - 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 "trial_build" field.</summary> - public const int TrialBuildFieldNumber = 8; - private int trialBuild_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TrialBuild { - get { return trialBuild_; } - set { - trialBuild_ = value; - } - } - - /// <summary>Field number for the "condition_id" field.</summary> - public const int ConditionIdFieldNumber = 9; - private string conditionId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConditionId { - get { return conditionId_; } - set { - conditionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "is_branch" field.</summary> - public const int IsBranchFieldNumber = 10; - private bool isBranch_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsBranch { - get { return isBranch_; } - set { - isBranch_ = value; - } - } - - /// <summary>Field number for the "is_battle" field.</summary> - public const int IsBattleFieldNumber = 11; - private bool isBattle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsBattle { - get { return isBattle_; } - set { - isBattle_ = value; - } - } - - /// <summary>Field number for the "reward" field.</summary> - public const int RewardFieldNumber = 12; - private int reward_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward { - get { return reward_; } - set { - reward_ = value; - } - } - - /// <summary>Field number for the "reward_display" field.</summary> - public const int RewardDisplayFieldNumber = 13; - private string rewardDisplay_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string RewardDisplay { - get { return rewardDisplay_; } - set { - rewardDisplay_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "parent_story_id" field.</summary> - public const int ParentStoryIdFieldNumber = 14; - private static readonly pb::FieldCodec<string> _repeated_parentStoryId_codec - = pb::FieldCodec.ForString(114); - private readonly pbc::RepeatedField<string> parentStoryId_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> ParentStoryId { - get { return parentStoryId_; } - } - - /// <summary>Field number for the "has_evidence" field.</summary> - public const int HasEvidenceFieldNumber = 15; - private bool hasEvidence_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasEvidence { - get { return hasEvidence_; } - set { - hasEvidence_ = value; - } - } - - /// <summary>Field number for the "avg_lua_name" field.</summary> - public const int AvgLuaNameFieldNumber = 16; - private string avgLuaName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AvgLuaName { - get { return avgLuaName_; } - set { - avgLuaName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "floor_id" field.</summary> - public const int FloorIdFieldNumber = 17; - private static readonly pb::FieldCodec<int> _repeated_floorId_codec - = pb::FieldCodec.ForInt32(138); - private readonly pbc::RepeatedField<int> floorId_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> FloorId { - get { return floorId_; } - } - - /// <summary>Field number for the "preview_monster_group_id" field.</summary> - 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; - } - } - - /// <summary>Field number for the "recommend" field.</summary> - public const int RecommendFieldNumber = 19; - private string recommend_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Recommend { - get { return recommend_; } - set { - recommend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "aim" field.</summary> - public const int AimFieldNumber = 20; - private string aim_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Aim { - get { return aim_; } - set { - aim_ = 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 Story); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Story other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (StoryId != other.StoryId) return false; - if (Comment != other.Comment) return false; - if (Chapter != other.Chapter) return false; - if (Index != other.Index) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (TrialBuild != other.TrialBuild) return false; - if (ConditionId != other.ConditionId) return false; - if (IsBranch != other.IsBranch) return false; - if (IsBattle != other.IsBattle) return false; - if (Reward != other.Reward) return false; - if (RewardDisplay != other.RewardDisplay) return false; - if(!parentStoryId_.Equals(other.parentStoryId_)) return false; - if (HasEvidence != other.HasEvidence) return false; - if (AvgLuaName != other.AvgLuaName) return false; - if(!floorId_.Equals(other.floorId_)) return false; - if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; - if (Recommend != other.Recommend) return false; - if (Aim != other.Aim) 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 (StoryId.Length != 0) hash ^= StoryId.GetHashCode(); - if (Comment.Length != 0) hash ^= Comment.GetHashCode(); - if (Chapter != 0) hash ^= Chapter.GetHashCode(); - if (Index.Length != 0) hash ^= Index.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (TrialBuild != 0) hash ^= TrialBuild.GetHashCode(); - if (ConditionId.Length != 0) hash ^= ConditionId.GetHashCode(); - if (IsBranch != false) hash ^= IsBranch.GetHashCode(); - if (IsBattle != false) hash ^= IsBattle.GetHashCode(); - if (Reward != 0) hash ^= Reward.GetHashCode(); - if (RewardDisplay.Length != 0) hash ^= RewardDisplay.GetHashCode(); - hash ^= parentStoryId_.GetHashCode(); - if (HasEvidence != false) hash ^= HasEvidence.GetHashCode(); - if (AvgLuaName.Length != 0) hash ^= AvgLuaName.GetHashCode(); - hash ^= floorId_.GetHashCode(); - if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); - if (Recommend.Length != 0) hash ^= Recommend.GetHashCode(); - if (Aim.Length != 0) hash ^= Aim.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 (StoryId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(StoryId); - } - if (Comment.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Comment); - } - if (Chapter != 0) { - output.WriteRawTag(32); - output.WriteInt32(Chapter); - } - if (Index.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Index); - } - if (Title.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (TrialBuild != 0) { - output.WriteRawTag(64); - output.WriteInt32(TrialBuild); - } - if (ConditionId.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ConditionId); - } - if (IsBranch != false) { - output.WriteRawTag(80); - output.WriteBool(IsBranch); - } - if (IsBattle != false) { - output.WriteRawTag(88); - output.WriteBool(IsBattle); - } - if (Reward != 0) { - output.WriteRawTag(96); - output.WriteInt32(Reward); - } - if (RewardDisplay.Length != 0) { - output.WriteRawTag(106); - output.WriteString(RewardDisplay); - } - parentStoryId_.WriteTo(output, _repeated_parentStoryId_codec); - if (HasEvidence != false) { - output.WriteRawTag(120); - output.WriteBool(HasEvidence); - } - if (AvgLuaName.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(AvgLuaName); - } - floorId_.WriteTo(output, _repeated_floorId_codec); - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Recommend.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Recommend); - } - if (Aim.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Aim); - } - 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 (StoryId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(StoryId); - } - if (Comment.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Comment); - } - if (Chapter != 0) { - output.WriteRawTag(32); - output.WriteInt32(Chapter); - } - if (Index.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Index); - } - if (Title.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (TrialBuild != 0) { - output.WriteRawTag(64); - output.WriteInt32(TrialBuild); - } - if (ConditionId.Length != 0) { - output.WriteRawTag(74); - output.WriteString(ConditionId); - } - if (IsBranch != false) { - output.WriteRawTag(80); - output.WriteBool(IsBranch); - } - if (IsBattle != false) { - output.WriteRawTag(88); - output.WriteBool(IsBattle); - } - if (Reward != 0) { - output.WriteRawTag(96); - output.WriteInt32(Reward); - } - if (RewardDisplay.Length != 0) { - output.WriteRawTag(106); - output.WriteString(RewardDisplay); - } - parentStoryId_.WriteTo(ref output, _repeated_parentStoryId_codec); - if (HasEvidence != false) { - output.WriteRawTag(120); - output.WriteBool(HasEvidence); - } - if (AvgLuaName.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(AvgLuaName); - } - floorId_.WriteTo(ref output, _repeated_floorId_codec); - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(PreviewMonsterGroupId); - } - if (Recommend.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Recommend); - } - if (Aim.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Aim); - } - 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 (StoryId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StoryId); - } - if (Comment.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); - } - if (Chapter != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Chapter); - } - if (Index.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Index); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (TrialBuild != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrialBuild); - } - if (ConditionId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConditionId); - } - if (IsBranch != false) { - size += 1 + 1; - } - if (IsBattle != false) { - size += 1 + 1; - } - if (Reward != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward); - } - if (RewardDisplay.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDisplay); - } - size += parentStoryId_.CalculateSize(_repeated_parentStoryId_codec); - if (HasEvidence != false) { - size += 1 + 1; - } - if (AvgLuaName.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AvgLuaName); - } - size += floorId_.CalculateSize(_repeated_floorId_codec); - if (PreviewMonsterGroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); - } - if (Recommend.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Recommend); - } - if (Aim.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Aim); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Story other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.StoryId.Length != 0) { - StoryId = other.StoryId; - } - if (other.Comment.Length != 0) { - Comment = other.Comment; - } - if (other.Chapter != 0) { - Chapter = other.Chapter; - } - if (other.Index.Length != 0) { - Index = other.Index; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.TrialBuild != 0) { - TrialBuild = other.TrialBuild; - } - if (other.ConditionId.Length != 0) { - ConditionId = other.ConditionId; - } - if (other.IsBranch != false) { - IsBranch = other.IsBranch; - } - if (other.IsBattle != false) { - IsBattle = other.IsBattle; - } - if (other.Reward != 0) { - Reward = other.Reward; - } - if (other.RewardDisplay.Length != 0) { - RewardDisplay = other.RewardDisplay; - } - parentStoryId_.Add(other.parentStoryId_); - if (other.HasEvidence != false) { - HasEvidence = other.HasEvidence; - } - if (other.AvgLuaName.Length != 0) { - AvgLuaName = other.AvgLuaName; - } - floorId_.Add(other.floorId_); - if (other.PreviewMonsterGroupId != 0) { - PreviewMonsterGroupId = other.PreviewMonsterGroupId; - } - if (other.Recommend.Length != 0) { - Recommend = other.Recommend; - } - if (other.Aim.Length != 0) { - Aim = other.Aim; - } - _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: { - StoryId = input.ReadString(); - break; - } - case 26: { - Comment = input.ReadString(); - break; - } - case 32: { - Chapter = input.ReadInt32(); - break; - } - case 42: { - Index = input.ReadString(); - break; - } - case 50: { - Title = input.ReadString(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 64: { - TrialBuild = input.ReadInt32(); - break; - } - case 74: { - ConditionId = input.ReadString(); - break; - } - case 80: { - IsBranch = input.ReadBool(); - break; - } - case 88: { - IsBattle = input.ReadBool(); - break; - } - case 96: { - Reward = input.ReadInt32(); - break; - } - case 106: { - RewardDisplay = input.ReadString(); - break; - } - case 114: { - parentStoryId_.AddEntriesFrom(input, _repeated_parentStoryId_codec); - break; - } - case 120: { - HasEvidence = input.ReadBool(); - break; - } - case 130: { - AvgLuaName = input.ReadString(); - break; - } - case 138: - case 136: { - floorId_.AddEntriesFrom(input, _repeated_floorId_codec); - break; - } - case 144: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 154: { - Recommend = input.ReadString(); - break; - } - case 162: { - Aim = 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 18: { - StoryId = input.ReadString(); - break; - } - case 26: { - Comment = input.ReadString(); - break; - } - case 32: { - Chapter = input.ReadInt32(); - break; - } - case 42: { - Index = input.ReadString(); - break; - } - case 50: { - Title = input.ReadString(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 64: { - TrialBuild = input.ReadInt32(); - break; - } - case 74: { - ConditionId = input.ReadString(); - break; - } - case 80: { - IsBranch = input.ReadBool(); - break; - } - case 88: { - IsBattle = input.ReadBool(); - break; - } - case 96: { - Reward = input.ReadInt32(); - break; - } - case 106: { - RewardDisplay = input.ReadString(); - break; - } - case 114: { - parentStoryId_.AddEntriesFrom(ref input, _repeated_parentStoryId_codec); - break; - } - case 120: { - HasEvidence = input.ReadBool(); - break; - } - case 130: { - AvgLuaName = input.ReadString(); - break; - } - case 138: - case 136: { - floorId_.AddEntriesFrom(ref input, _repeated_floorId_codec); - break; - } - case 144: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 154: { - Recommend = input.ReadString(); - break; - } - case 162: { - Aim = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AreaEffect.cs b/Novaria.Common/Protos/StoryApply.cs similarity index 64% rename from Novaria.Common/Protos/AreaEffect.cs rename to Novaria.Common/Protos/StoryApply.cs index 06558c8..3107771 100644 --- a/Novaria.Common/Protos/AreaEffect.cs +++ b/Novaria.Common/Protos/StoryApply.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AreaEffect.proto +// source: story_apply.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from AreaEffect.proto</summary> - public static partial class AreaEffectReflection { + /// <summary>Holder for reflection information generated from story_apply.proto</summary> + public static partial class StoryApplyReflection { #region Descriptor - /// <summary>File descriptor for AreaEffect.proto</summary> + /// <summary>File descriptor for story_apply.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static AreaEffectReflection() { + static StoryApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChBBcmVhRWZmZWN0LnByb3RvIkoKCkFyZWFFZmZlY3QSEAoIYXJlYV90YWcY", - "ASABKAUSEQoJbWF4X2NvdW50GAIgASgFEhcKD292ZXJfbGltaXRfdHlwZRgD", - "IAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "ChFzdG9yeV9hcHBseS5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90byJDCg1T", + "dG9yeUFwcGx5UmVxEgsKA0lkeBgBIAEoDRIPCgdCdWlsZElkGAIgASgEEhQK", + "C05leHRQYWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AreaEffect), global::Nova.Client.AreaEffect.Parser, new[]{ "AreaTag", "MaxCount", "OverLimitType" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StoryApplyReq), global::Proto.StoryApplyReq.Parser, new[]{ "Idx", "BuildId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AreaEffect : pb::IMessage<AreaEffect> + public sealed partial class StoryApplyReq : pb::IMessage<StoryApplyReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<AreaEffect> _parser = new pb::MessageParser<AreaEffect>(() => new AreaEffect()); + private static readonly pb::MessageParser<StoryApplyReq> _parser = new pb::MessageParser<StoryApplyReq>(() => new StoryApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<AreaEffect> Parser { get { return _parser; } } + public static pb::MessageParser<StoryApplyReq> 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.AreaEffectReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.StoryApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AreaEffect() { + public StoryApplyReq() { OnConstruction(); } @@ -71,73 +71,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AreaEffect(AreaEffect other) : this() { - areaTag_ = other.areaTag_; - maxCount_ = other.maxCount_; - overLimitType_ = other.overLimitType_; + public StoryApplyReq(StoryApplyReq other) : this() { + idx_ = other.idx_; + buildId_ = other.buildId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AreaEffect Clone() { - return new AreaEffect(this); + public StoryApplyReq Clone() { + return new StoryApplyReq(this); } - /// <summary>Field number for the "area_tag" field.</summary> - public const int AreaTagFieldNumber = 1; - private int areaTag_; + /// <summary>Field number for the "Idx" field.</summary> + public const int IdxFieldNumber = 1; + private uint idx_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AreaTag { - get { return areaTag_; } + public uint Idx { + get { return idx_; } set { - areaTag_ = value; + idx_ = value; } } - /// <summary>Field number for the "max_count" field.</summary> - public const int MaxCountFieldNumber = 2; - private int maxCount_; + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 2; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxCount { - get { return maxCount_; } + public ulong BuildId { + get { return buildId_; } set { - maxCount_ = value; + buildId_ = value; } } - /// <summary>Field number for the "over_limit_type" field.</summary> - public const int OverLimitTypeFieldNumber = 3; - private int overLimitType_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int OverLimitType { - get { return overLimitType_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - overLimitType_ = value; + nextPackage_ = 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 AreaEffect); + return Equals(other as StoryApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AreaEffect other) { + public bool Equals(StoryApplyReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (AreaTag != other.AreaTag) return false; - if (MaxCount != other.MaxCount) return false; - if (OverLimitType != other.OverLimitType) return false; + if (Idx != other.Idx) return false; + if (BuildId != other.BuildId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (AreaTag != 0) hash ^= AreaTag.GetHashCode(); - if (MaxCount != 0) hash ^= MaxCount.GetHashCode(); - if (OverLimitType != 0) hash ^= OverLimitType.GetHashCode(); + if (Idx != 0) hash ^= Idx.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (AreaTag != 0) { + if (Idx != 0) { output.WriteRawTag(8); - output.WriteInt32(AreaTag); + output.WriteUInt32(Idx); } - if (MaxCount != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(MaxCount); + output.WriteUInt64(BuildId); } - if (OverLimitType != 0) { - output.WriteRawTag(24); - output.WriteInt32(OverLimitType); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (AreaTag != 0) { + if (Idx != 0) { output.WriteRawTag(8); - output.WriteInt32(AreaTag); + output.WriteUInt32(Idx); } - if (MaxCount != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(MaxCount); + output.WriteUInt64(BuildId); } - if (OverLimitType != 0) { - output.WriteRawTag(24); - output.WriteInt32(OverLimitType); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (AreaTag != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AreaTag); + if (Idx != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx); } - if (MaxCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxCount); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (OverLimitType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(OverLimitType); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AreaEffect other) { + public void MergeFrom(StoryApplyReq other) { if (other == null) { return; } - if (other.AreaTag != 0) { - AreaTag = other.AreaTag; + if (other.Idx != 0) { + Idx = other.Idx; } - if (other.MaxCount != 0) { - MaxCount = other.MaxCount; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.OverLimitType != 0) { - OverLimitType = other.OverLimitType; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - AreaTag = input.ReadInt32(); + Idx = input.ReadUInt32(); break; } case 16: { - MaxCount = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - OverLimitType = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - AreaTag = input.ReadInt32(); + Idx = input.ReadUInt32(); break; } case 16: { - MaxCount = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } - case 24: { - OverLimitType = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/StoryChapter.cs b/Novaria.Common/Protos/StoryChapter.cs deleted file mode 100644 index c50c3be..0000000 --- a/Novaria.Common/Protos/StoryChapter.cs +++ /dev/null @@ -1,593 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StoryChapter.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 StoryChapter.proto</summary> - public static partial class StoryChapterReflection { - - #region Descriptor - /// <summary>File descriptor for StoryChapter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StoryChapterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJTdG9yeUNoYXB0ZXIucHJvdG8i3AEKDFN0b3J5Q2hhcHRlchIKCgJpZBgB", - "IAEoBRIMCgR0eXBlGAIgASgFEhMKC3dvcmxkX2NsYXNzGAMgASgFEhQKDHBy", - "ZXZfc3RvcmllcxgEIAMoCRINCgVpbmRleBgFIAEoCRIMCgRuYW1lGAYgASgJ", - "EgwKBGRlc2MYByABKAkSFAoMY2hhcHRlcl9pY29uGAggASgJEhIKCnRpbWVf", - "c3RhbXAYCSADKAkSFAoMY2hhcHRlcl95ZWFyGAogASgJEhwKFHVubG9ja19z", - "aG93X3N0b3J5X2lkGAsgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryChapter), global::Nova.Client.StoryChapter.Parser, new[]{ "Id", "Type", "WorldClass", "PrevStories", "Index", "Name", "Desc", "ChapterIcon", "TimeStamp", "ChapterYear", "UnlockShowStoryId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StoryChapter : pb::IMessage<StoryChapter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StoryChapter> _parser = new pb::MessageParser<StoryChapter>(() => new StoryChapter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StoryChapter> 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.StoryChapterReflection.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 StoryChapter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryChapter(StoryChapter other) : this() { - id_ = other.id_; - type_ = other.type_; - worldClass_ = other.worldClass_; - prevStories_ = other.prevStories_.Clone(); - index_ = other.index_; - name_ = other.name_; - desc_ = other.desc_; - chapterIcon_ = other.chapterIcon_; - timeStamp_ = other.timeStamp_.Clone(); - chapterYear_ = other.chapterYear_; - unlockShowStoryId_ = other.unlockShowStoryId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryChapter Clone() { - return new StoryChapter(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 "type" field.</summary> - public const int TypeFieldNumber = 2; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "world_class" field.</summary> - public const int WorldClassFieldNumber = 3; - private int worldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WorldClass { - get { return worldClass_; } - set { - worldClass_ = value; - } - } - - /// <summary>Field number for the "prev_stories" field.</summary> - public const int PrevStoriesFieldNumber = 4; - private static readonly pb::FieldCodec<string> _repeated_prevStories_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField<string> prevStories_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> PrevStories { - get { return prevStories_; } - } - - /// <summary>Field number for the "index" field.</summary> - public const int IndexFieldNumber = 5; - private string index_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Index { - get { return index_; } - set { - index_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "name" field.</summary> - public const int NameFieldNumber = 6; - 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 = 7; - 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 "chapter_icon" field.</summary> - public const int ChapterIconFieldNumber = 8; - private string chapterIcon_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ChapterIcon { - get { return chapterIcon_; } - set { - chapterIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "time_stamp" field.</summary> - public const int TimeStampFieldNumber = 9; - private static readonly pb::FieldCodec<string> _repeated_timeStamp_codec - = pb::FieldCodec.ForString(74); - private readonly pbc::RepeatedField<string> timeStamp_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> TimeStamp { - get { return timeStamp_; } - } - - /// <summary>Field number for the "chapter_year" field.</summary> - public const int ChapterYearFieldNumber = 10; - private string chapterYear_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ChapterYear { - get { return chapterYear_; } - set { - chapterYear_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "unlock_show_story_id" field.</summary> - public const int UnlockShowStoryIdFieldNumber = 11; - private int unlockShowStoryId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockShowStoryId { - get { return unlockShowStoryId_; } - set { - unlockShowStoryId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StoryChapter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StoryChapter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Type != other.Type) return false; - if (WorldClass != other.WorldClass) return false; - if(!prevStories_.Equals(other.prevStories_)) return false; - if (Index != other.Index) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (ChapterIcon != other.ChapterIcon) return false; - if(!timeStamp_.Equals(other.timeStamp_)) return false; - if (ChapterYear != other.ChapterYear) return false; - if (UnlockShowStoryId != other.UnlockShowStoryId) 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 (Type != 0) hash ^= Type.GetHashCode(); - if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); - hash ^= prevStories_.GetHashCode(); - if (Index.Length != 0) hash ^= Index.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (ChapterIcon.Length != 0) hash ^= ChapterIcon.GetHashCode(); - hash ^= timeStamp_.GetHashCode(); - if (ChapterYear.Length != 0) hash ^= ChapterYear.GetHashCode(); - if (UnlockShowStoryId != 0) hash ^= UnlockShowStoryId.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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - if (WorldClass != 0) { - output.WriteRawTag(24); - output.WriteInt32(WorldClass); - } - prevStories_.WriteTo(output, _repeated_prevStories_codec); - if (Index.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Index); - } - if (Name.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (ChapterIcon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ChapterIcon); - } - timeStamp_.WriteTo(output, _repeated_timeStamp_codec); - if (ChapterYear.Length != 0) { - output.WriteRawTag(82); - output.WriteString(ChapterYear); - } - if (UnlockShowStoryId != 0) { - output.WriteRawTag(88); - output.WriteInt32(UnlockShowStoryId); - } - 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 (Type != 0) { - output.WriteRawTag(16); - output.WriteInt32(Type); - } - if (WorldClass != 0) { - output.WriteRawTag(24); - output.WriteInt32(WorldClass); - } - prevStories_.WriteTo(ref output, _repeated_prevStories_codec); - if (Index.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Index); - } - if (Name.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Desc); - } - if (ChapterIcon.Length != 0) { - output.WriteRawTag(66); - output.WriteString(ChapterIcon); - } - timeStamp_.WriteTo(ref output, _repeated_timeStamp_codec); - if (ChapterYear.Length != 0) { - output.WriteRawTag(82); - output.WriteString(ChapterYear); - } - if (UnlockShowStoryId != 0) { - output.WriteRawTag(88); - output.WriteInt32(UnlockShowStoryId); - } - 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 (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (WorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); - } - size += prevStories_.CalculateSize(_repeated_prevStories_codec); - if (Index.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Index); - } - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (ChapterIcon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterIcon); - } - size += timeStamp_.CalculateSize(_repeated_timeStamp_codec); - if (ChapterYear.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterYear); - } - if (UnlockShowStoryId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockShowStoryId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StoryChapter other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.WorldClass != 0) { - WorldClass = other.WorldClass; - } - prevStories_.Add(other.prevStories_); - if (other.Index.Length != 0) { - Index = other.Index; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.ChapterIcon.Length != 0) { - ChapterIcon = other.ChapterIcon; - } - timeStamp_.Add(other.timeStamp_); - if (other.ChapterYear.Length != 0) { - ChapterYear = other.ChapterYear; - } - if (other.UnlockShowStoryId != 0) { - UnlockShowStoryId = other.UnlockShowStoryId; - } - _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: { - Type = input.ReadInt32(); - break; - } - case 24: { - WorldClass = input.ReadInt32(); - break; - } - case 34: { - prevStories_.AddEntriesFrom(input, _repeated_prevStories_codec); - break; - } - case 42: { - Index = input.ReadString(); - break; - } - case 50: { - Name = input.ReadString(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 66: { - ChapterIcon = input.ReadString(); - break; - } - case 74: { - timeStamp_.AddEntriesFrom(input, _repeated_timeStamp_codec); - break; - } - case 82: { - ChapterYear = input.ReadString(); - break; - } - case 88: { - UnlockShowStoryId = 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: { - Type = input.ReadInt32(); - break; - } - case 24: { - WorldClass = input.ReadInt32(); - break; - } - case 34: { - prevStories_.AddEntriesFrom(ref input, _repeated_prevStories_codec); - break; - } - case 42: { - Index = input.ReadString(); - break; - } - case 50: { - Name = input.ReadString(); - break; - } - case 58: { - Desc = input.ReadString(); - break; - } - case 66: { - ChapterIcon = input.ReadString(); - break; - } - case 74: { - timeStamp_.AddEntriesFrom(ref input, _repeated_timeStamp_codec); - break; - } - case 82: { - ChapterYear = input.ReadString(); - break; - } - case 88: { - UnlockShowStoryId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StoryCondition.cs b/Novaria.Common/Protos/StoryCondition.cs deleted file mode 100644 index 50db8dc..0000000 --- a/Novaria.Common/Protos/StoryCondition.cs +++ /dev/null @@ -1,459 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StoryCondition.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 StoryCondition.proto</summary> - public static partial class StoryConditionReflection { - - #region Descriptor - /// <summary>File descriptor for StoryCondition.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StoryConditionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRTdG9yeUNvbmRpdGlvbi5wcm90byKrAQoOU3RvcnlDb25kaXRpb24SCgoC", - "aWQYASABKAUSFAoMY29uZGl0aW9uX2lkGAIgASgJEg8KB2NvbW1lbnQYAyAB", - "KAkSEAoIZXZfaWRzX2EYBCADKAkSEAoIZXZfaWRzX2IYBSADKAkSEgoKc3Rv", - "cnlfaWRfYRgGIAMoCRISCgpzdG9yeV9pZF9iGAcgAygJEhoKEnBsYXllcl93", - "b3JsZF9sZXZlbBgIIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryCondition), global::Nova.Client.StoryCondition.Parser, new[]{ "Id", "ConditionId", "Comment", "EvIdsA", "EvIdsB", "StoryIdA", "StoryIdB", "PlayerWorldLevel" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StoryCondition : pb::IMessage<StoryCondition> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StoryCondition> _parser = new pb::MessageParser<StoryCondition>(() => new StoryCondition()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StoryCondition> 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.StoryConditionReflection.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 StoryCondition() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryCondition(StoryCondition other) : this() { - id_ = other.id_; - conditionId_ = other.conditionId_; - comment_ = other.comment_; - evIdsA_ = other.evIdsA_.Clone(); - evIdsB_ = other.evIdsB_.Clone(); - storyIdA_ = other.storyIdA_.Clone(); - storyIdB_ = other.storyIdB_.Clone(); - playerWorldLevel_ = other.playerWorldLevel_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryCondition Clone() { - return new StoryCondition(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 "condition_id" field.</summary> - public const int ConditionIdFieldNumber = 2; - private string conditionId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConditionId { - get { return conditionId_; } - set { - conditionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "comment" field.</summary> - public const int CommentFieldNumber = 3; - private string comment_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Comment { - get { return comment_; } - set { - comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ev_ids_a" field.</summary> - public const int EvIdsAFieldNumber = 4; - private static readonly pb::FieldCodec<string> _repeated_evIdsA_codec - = pb::FieldCodec.ForString(34); - private readonly pbc::RepeatedField<string> evIdsA_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> EvIdsA { - get { return evIdsA_; } - } - - /// <summary>Field number for the "ev_ids_b" field.</summary> - public const int EvIdsBFieldNumber = 5; - private static readonly pb::FieldCodec<string> _repeated_evIdsB_codec - = pb::FieldCodec.ForString(42); - private readonly pbc::RepeatedField<string> evIdsB_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> EvIdsB { - get { return evIdsB_; } - } - - /// <summary>Field number for the "story_id_a" field.</summary> - public const int StoryIdAFieldNumber = 6; - private static readonly pb::FieldCodec<string> _repeated_storyIdA_codec - = pb::FieldCodec.ForString(50); - private readonly pbc::RepeatedField<string> storyIdA_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> StoryIdA { - get { return storyIdA_; } - } - - /// <summary>Field number for the "story_id_b" field.</summary> - public const int StoryIdBFieldNumber = 7; - private static readonly pb::FieldCodec<string> _repeated_storyIdB_codec - = pb::FieldCodec.ForString(58); - private readonly pbc::RepeatedField<string> storyIdB_ = new pbc::RepeatedField<string>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<string> StoryIdB { - get { return storyIdB_; } - } - - /// <summary>Field number for the "player_world_level" field.</summary> - public const int PlayerWorldLevelFieldNumber = 8; - private int playerWorldLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PlayerWorldLevel { - get { return playerWorldLevel_; } - set { - playerWorldLevel_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as StoryCondition); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StoryCondition other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ConditionId != other.ConditionId) return false; - if (Comment != other.Comment) return false; - if(!evIdsA_.Equals(other.evIdsA_)) return false; - if(!evIdsB_.Equals(other.evIdsB_)) return false; - if(!storyIdA_.Equals(other.storyIdA_)) return false; - if(!storyIdB_.Equals(other.storyIdB_)) return false; - if (PlayerWorldLevel != other.PlayerWorldLevel) 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 (ConditionId.Length != 0) hash ^= ConditionId.GetHashCode(); - if (Comment.Length != 0) hash ^= Comment.GetHashCode(); - hash ^= evIdsA_.GetHashCode(); - hash ^= evIdsB_.GetHashCode(); - hash ^= storyIdA_.GetHashCode(); - hash ^= storyIdB_.GetHashCode(); - if (PlayerWorldLevel != 0) hash ^= PlayerWorldLevel.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 (ConditionId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(ConditionId); - } - if (Comment.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Comment); - } - evIdsA_.WriteTo(output, _repeated_evIdsA_codec); - evIdsB_.WriteTo(output, _repeated_evIdsB_codec); - storyIdA_.WriteTo(output, _repeated_storyIdA_codec); - storyIdB_.WriteTo(output, _repeated_storyIdB_codec); - if (PlayerWorldLevel != 0) { - output.WriteRawTag(64); - output.WriteInt32(PlayerWorldLevel); - } - 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 (ConditionId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(ConditionId); - } - if (Comment.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Comment); - } - evIdsA_.WriteTo(ref output, _repeated_evIdsA_codec); - evIdsB_.WriteTo(ref output, _repeated_evIdsB_codec); - storyIdA_.WriteTo(ref output, _repeated_storyIdA_codec); - storyIdB_.WriteTo(ref output, _repeated_storyIdB_codec); - if (PlayerWorldLevel != 0) { - output.WriteRawTag(64); - output.WriteInt32(PlayerWorldLevel); - } - 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 (ConditionId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConditionId); - } - if (Comment.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); - } - size += evIdsA_.CalculateSize(_repeated_evIdsA_codec); - size += evIdsB_.CalculateSize(_repeated_evIdsB_codec); - size += storyIdA_.CalculateSize(_repeated_storyIdA_codec); - size += storyIdB_.CalculateSize(_repeated_storyIdB_codec); - if (PlayerWorldLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerWorldLevel); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StoryCondition other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ConditionId.Length != 0) { - ConditionId = other.ConditionId; - } - if (other.Comment.Length != 0) { - Comment = other.Comment; - } - evIdsA_.Add(other.evIdsA_); - evIdsB_.Add(other.evIdsB_); - storyIdA_.Add(other.storyIdA_); - storyIdB_.Add(other.storyIdB_); - if (other.PlayerWorldLevel != 0) { - PlayerWorldLevel = other.PlayerWorldLevel; - } - _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: { - ConditionId = input.ReadString(); - break; - } - case 26: { - Comment = input.ReadString(); - break; - } - case 34: { - evIdsA_.AddEntriesFrom(input, _repeated_evIdsA_codec); - break; - } - case 42: { - evIdsB_.AddEntriesFrom(input, _repeated_evIdsB_codec); - break; - } - case 50: { - storyIdA_.AddEntriesFrom(input, _repeated_storyIdA_codec); - break; - } - case 58: { - storyIdB_.AddEntriesFrom(input, _repeated_storyIdB_codec); - break; - } - case 64: { - PlayerWorldLevel = 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 18: { - ConditionId = input.ReadString(); - break; - } - case 26: { - Comment = input.ReadString(); - break; - } - case 34: { - evIdsA_.AddEntriesFrom(ref input, _repeated_evIdsA_codec); - break; - } - case 42: { - evIdsB_.AddEntriesFrom(ref input, _repeated_evIdsB_codec); - break; - } - case 50: { - storyIdA_.AddEntriesFrom(ref input, _repeated_storyIdA_codec); - break; - } - case 58: { - storyIdB_.AddEntriesFrom(ref input, _repeated_storyIdB_codec); - break; - } - case 64: { - PlayerWorldLevel = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StoryEvidence.cs b/Novaria.Common/Protos/StoryEvidence.cs deleted file mode 100644 index ebec3ae..0000000 --- a/Novaria.Common/Protos/StoryEvidence.cs +++ /dev/null @@ -1,465 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StoryEvidence.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 StoryEvidence.proto</summary> - public static partial class StoryEvidenceReflection { - - #region Descriptor - /// <summary>File descriptor for StoryEvidence.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StoryEvidenceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNTdG9yeUV2aWRlbmNlLnByb3RvInYKDVN0b3J5RXZpZGVuY2USCgoCaWQY", - "ASABKAUSDQoFZXZfaWQYAiABKAkSDwoHY29tbWVudBgDIAEoCRIMCgRuYW1l", - "GAQgASgJEgwKBGRlc2MYBSABKAkSDAoEaWNvbhgGIAEoCRIPCgdpY29uX2Jn", - "GAcgASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryEvidence), global::Nova.Client.StoryEvidence.Parser, new[]{ "Id", "EvId", "Comment", "Name", "Desc", "Icon", "IconBg" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StoryEvidence : pb::IMessage<StoryEvidence> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StoryEvidence> _parser = new pb::MessageParser<StoryEvidence>(() => new StoryEvidence()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StoryEvidence> 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.StoryEvidenceReflection.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 StoryEvidence() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryEvidence(StoryEvidence other) : this() { - id_ = other.id_; - evId_ = other.evId_; - comment_ = other.comment_; - name_ = other.name_; - desc_ = other.desc_; - icon_ = other.icon_; - iconBg_ = other.iconBg_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryEvidence Clone() { - return new StoryEvidence(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 "ev_id" field.</summary> - public const int EvIdFieldNumber = 2; - private string evId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EvId { - get { return evId_; } - set { - evId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "comment" field.</summary> - public const int CommentFieldNumber = 3; - private string comment_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Comment { - get { return comment_; } - set { - comment_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "icon_bg" field.</summary> - public const int IconBgFieldNumber = 7; - private string iconBg_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IconBg { - get { return iconBg_; } - set { - iconBg_ = 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 StoryEvidence); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StoryEvidence other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (EvId != other.EvId) return false; - if (Comment != other.Comment) return false; - if (Name != other.Name) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (IconBg != other.IconBg) 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 (EvId.Length != 0) hash ^= EvId.GetHashCode(); - if (Comment.Length != 0) hash ^= Comment.GetHashCode(); - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (IconBg.Length != 0) hash ^= IconBg.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 (EvId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(EvId); - } - if (Comment.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Comment); - } - 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 (IconBg.Length != 0) { - output.WriteRawTag(58); - output.WriteString(IconBg); - } - 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 (EvId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(EvId); - } - if (Comment.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Comment); - } - 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 (IconBg.Length != 0) { - output.WriteRawTag(58); - output.WriteString(IconBg); - } - 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 (EvId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EvId); - } - if (Comment.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); - } - 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 (IconBg.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(IconBg); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StoryEvidence other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.EvId.Length != 0) { - EvId = other.EvId; - } - if (other.Comment.Length != 0) { - Comment = other.Comment; - } - 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.IconBg.Length != 0) { - IconBg = other.IconBg; - } - _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: { - EvId = input.ReadString(); - break; - } - case 26: { - Comment = input.ReadString(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Icon = input.ReadString(); - break; - } - case 58: { - IconBg = 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 18: { - EvId = input.ReadString(); - break; - } - case 26: { - Comment = input.ReadString(); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Icon = input.ReadString(); - break; - } - case 58: { - IconBg = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StoryRolePersonality.cs b/Novaria.Common/Protos/StoryRolePersonality.cs deleted file mode 100644 index 55d2474..0000000 --- a/Novaria.Common/Protos/StoryRolePersonality.cs +++ /dev/null @@ -1,1083 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StoryRolePersonality.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 StoryRolePersonality.proto</summary> - public static partial class StoryRolePersonalityReflection { - - #region Descriptor - /// <summary>File descriptor for StoryRolePersonality.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static StoryRolePersonalityReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpTdG9yeVJvbGVQZXJzb25hbGl0eS5wcm90byKpAwoUU3RvcnlSb2xlUGVy", - "c29uYWxpdHkSCgoCaWQYASABKAUSEwoLYXZnX2NoYXJfaWQYAiABKAkSFAoM", - "cGVyc29uYWxpdHlzGAMgAygFEhIKCmJhc2VfdmFsdWUYBCADKAUSDAoEYW1h", - "eBgFIAEoCRIRCglhbWF4X2ZhY2UYBiABKAkSDAoEYm1heBgHIAEoCRIRCgli", - "bWF4X2ZhY2UYCCABKAkSDAoEY21heBgJIAEoCRIRCgljbWF4X2ZhY2UYCiAB", - "KAkSDQoFYXBsdXMYCyABKAkSEgoKYXBsdXNfZmFjZRgMIAEoCRINCgVicGx1", - "cxgNIAEoCRISCgpicGx1c19mYWNlGA4gASgJEg0KBWNwbHVzGA8gASgJEhIK", - "CmNwbHVzX2ZhY2UYECABKAkSCgoCYWIYESABKAkSDwoHYWJfZmFjZRgSIAEo", - "CRIKCgJhYxgTIAEoCRIPCgdhY19mYWNlGBQgASgJEgoKAmJjGBUgASgJEg8K", - "B2JjX2ZhY2UYFiABKAkSDgoGbm9ybWFsGBcgASgJEhMKC25vcm1hbF9mYWNl", - "GBggASgJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryRolePersonality), global::Nova.Client.StoryRolePersonality.Parser, new[]{ "Id", "AvgCharId", "Personalitys", "BaseValue", "Amax", "AmaxFace", "Bmax", "BmaxFace", "Cmax", "CmaxFace", "Aplus", "AplusFace", "Bplus", "BplusFace", "Cplus", "CplusFace", "Ab", "AbFace", "Ac", "AcFace", "Bc", "BcFace", "Normal", "NormalFace" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StoryRolePersonality : pb::IMessage<StoryRolePersonality> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<StoryRolePersonality> _parser = new pb::MessageParser<StoryRolePersonality>(() => new StoryRolePersonality()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StoryRolePersonality> 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.StoryRolePersonalityReflection.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 StoryRolePersonality() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryRolePersonality(StoryRolePersonality other) : this() { - id_ = other.id_; - avgCharId_ = other.avgCharId_; - personalitys_ = other.personalitys_.Clone(); - baseValue_ = other.baseValue_.Clone(); - amax_ = other.amax_; - amaxFace_ = other.amaxFace_; - bmax_ = other.bmax_; - bmaxFace_ = other.bmaxFace_; - cmax_ = other.cmax_; - cmaxFace_ = other.cmaxFace_; - aplus_ = other.aplus_; - aplusFace_ = other.aplusFace_; - bplus_ = other.bplus_; - bplusFace_ = other.bplusFace_; - cplus_ = other.cplus_; - cplusFace_ = other.cplusFace_; - ab_ = other.ab_; - abFace_ = other.abFace_; - ac_ = other.ac_; - acFace_ = other.acFace_; - bc_ = other.bc_; - bcFace_ = other.bcFace_; - normal_ = other.normal_; - normalFace_ = other.normalFace_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StoryRolePersonality Clone() { - return new StoryRolePersonality(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 "avg_char_id" field.</summary> - public const int AvgCharIdFieldNumber = 2; - private string avgCharId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AvgCharId { - get { return avgCharId_; } - set { - avgCharId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "personalitys" field.</summary> - public const int PersonalitysFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_personalitys_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> personalitys_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Personalitys { - get { return personalitys_; } - } - - /// <summary>Field number for the "base_value" field.</summary> - public const int BaseValueFieldNumber = 4; - private static readonly pb::FieldCodec<int> _repeated_baseValue_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField<int> baseValue_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> BaseValue { - get { return baseValue_; } - } - - /// <summary>Field number for the "amax" field.</summary> - public const int AmaxFieldNumber = 5; - private string amax_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Amax { - get { return amax_; } - set { - amax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "amax_face" field.</summary> - public const int AmaxFaceFieldNumber = 6; - private string amaxFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AmaxFace { - get { return amaxFace_; } - set { - amaxFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bmax" field.</summary> - public const int BmaxFieldNumber = 7; - private string bmax_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bmax { - get { return bmax_; } - set { - bmax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bmax_face" field.</summary> - public const int BmaxFaceFieldNumber = 8; - private string bmaxFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BmaxFace { - get { return bmaxFace_; } - set { - bmaxFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "cmax" field.</summary> - public const int CmaxFieldNumber = 9; - private string cmax_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Cmax { - get { return cmax_; } - set { - cmax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "cmax_face" field.</summary> - public const int CmaxFaceFieldNumber = 10; - private string cmaxFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CmaxFace { - get { return cmaxFace_; } - set { - cmaxFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "aplus" field.</summary> - public const int AplusFieldNumber = 11; - private string aplus_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Aplus { - get { return aplus_; } - set { - aplus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "aplus_face" field.</summary> - public const int AplusFaceFieldNumber = 12; - private string aplusFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AplusFace { - get { return aplusFace_; } - set { - aplusFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bplus" field.</summary> - public const int BplusFieldNumber = 13; - private string bplus_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bplus { - get { return bplus_; } - set { - bplus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bplus_face" field.</summary> - public const int BplusFaceFieldNumber = 14; - private string bplusFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BplusFace { - get { return bplusFace_; } - set { - bplusFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "cplus" field.</summary> - public const int CplusFieldNumber = 15; - private string cplus_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Cplus { - get { return cplus_; } - set { - cplus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "cplus_face" field.</summary> - public const int CplusFaceFieldNumber = 16; - private string cplusFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CplusFace { - get { return cplusFace_; } - set { - cplusFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ab" field.</summary> - public const int AbFieldNumber = 17; - private string ab_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Ab { - get { return ab_; } - set { - ab_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ab_face" field.</summary> - public const int AbFaceFieldNumber = 18; - private string abFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AbFace { - get { return abFace_; } - set { - abFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ac" field.</summary> - public const int AcFieldNumber = 19; - private string ac_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Ac { - get { return ac_; } - set { - ac_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "ac_face" field.</summary> - public const int AcFaceFieldNumber = 20; - private string acFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AcFace { - get { return acFace_; } - set { - acFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bc" field.</summary> - public const int BcFieldNumber = 21; - private string bc_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Bc { - get { return bc_; } - set { - bc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "bc_face" field.</summary> - public const int BcFaceFieldNumber = 22; - private string bcFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BcFace { - get { return bcFace_; } - set { - bcFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "normal" field.</summary> - public const int NormalFieldNumber = 23; - private string normal_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Normal { - get { return normal_; } - set { - normal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "normal_face" field.</summary> - public const int NormalFaceFieldNumber = 24; - private string normalFace_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NormalFace { - get { return normalFace_; } - set { - normalFace_ = 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 StoryRolePersonality); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StoryRolePersonality other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (AvgCharId != other.AvgCharId) return false; - if(!personalitys_.Equals(other.personalitys_)) return false; - if(!baseValue_.Equals(other.baseValue_)) return false; - if (Amax != other.Amax) return false; - if (AmaxFace != other.AmaxFace) return false; - if (Bmax != other.Bmax) return false; - if (BmaxFace != other.BmaxFace) return false; - if (Cmax != other.Cmax) return false; - if (CmaxFace != other.CmaxFace) return false; - if (Aplus != other.Aplus) return false; - if (AplusFace != other.AplusFace) return false; - if (Bplus != other.Bplus) return false; - if (BplusFace != other.BplusFace) return false; - if (Cplus != other.Cplus) return false; - if (CplusFace != other.CplusFace) return false; - if (Ab != other.Ab) return false; - if (AbFace != other.AbFace) return false; - if (Ac != other.Ac) return false; - if (AcFace != other.AcFace) return false; - if (Bc != other.Bc) return false; - if (BcFace != other.BcFace) return false; - if (Normal != other.Normal) return false; - if (NormalFace != other.NormalFace) 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 (AvgCharId.Length != 0) hash ^= AvgCharId.GetHashCode(); - hash ^= personalitys_.GetHashCode(); - hash ^= baseValue_.GetHashCode(); - if (Amax.Length != 0) hash ^= Amax.GetHashCode(); - if (AmaxFace.Length != 0) hash ^= AmaxFace.GetHashCode(); - if (Bmax.Length != 0) hash ^= Bmax.GetHashCode(); - if (BmaxFace.Length != 0) hash ^= BmaxFace.GetHashCode(); - if (Cmax.Length != 0) hash ^= Cmax.GetHashCode(); - if (CmaxFace.Length != 0) hash ^= CmaxFace.GetHashCode(); - if (Aplus.Length != 0) hash ^= Aplus.GetHashCode(); - if (AplusFace.Length != 0) hash ^= AplusFace.GetHashCode(); - if (Bplus.Length != 0) hash ^= Bplus.GetHashCode(); - if (BplusFace.Length != 0) hash ^= BplusFace.GetHashCode(); - if (Cplus.Length != 0) hash ^= Cplus.GetHashCode(); - if (CplusFace.Length != 0) hash ^= CplusFace.GetHashCode(); - if (Ab.Length != 0) hash ^= Ab.GetHashCode(); - if (AbFace.Length != 0) hash ^= AbFace.GetHashCode(); - if (Ac.Length != 0) hash ^= Ac.GetHashCode(); - if (AcFace.Length != 0) hash ^= AcFace.GetHashCode(); - if (Bc.Length != 0) hash ^= Bc.GetHashCode(); - if (BcFace.Length != 0) hash ^= BcFace.GetHashCode(); - if (Normal.Length != 0) hash ^= Normal.GetHashCode(); - if (NormalFace.Length != 0) hash ^= NormalFace.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 (AvgCharId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(AvgCharId); - } - personalitys_.WriteTo(output, _repeated_personalitys_codec); - baseValue_.WriteTo(output, _repeated_baseValue_codec); - if (Amax.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Amax); - } - if (AmaxFace.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AmaxFace); - } - if (Bmax.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Bmax); - } - if (BmaxFace.Length != 0) { - output.WriteRawTag(66); - output.WriteString(BmaxFace); - } - if (Cmax.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Cmax); - } - if (CmaxFace.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CmaxFace); - } - if (Aplus.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Aplus); - } - if (AplusFace.Length != 0) { - output.WriteRawTag(98); - output.WriteString(AplusFace); - } - if (Bplus.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Bplus); - } - if (BplusFace.Length != 0) { - output.WriteRawTag(114); - output.WriteString(BplusFace); - } - if (Cplus.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Cplus); - } - if (CplusFace.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(CplusFace); - } - if (Ab.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Ab); - } - if (AbFace.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(AbFace); - } - if (Ac.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Ac); - } - if (AcFace.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(AcFace); - } - if (Bc.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Bc); - } - if (BcFace.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(BcFace); - } - if (Normal.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Normal); - } - if (NormalFace.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(NormalFace); - } - 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 (AvgCharId.Length != 0) { - output.WriteRawTag(18); - output.WriteString(AvgCharId); - } - personalitys_.WriteTo(ref output, _repeated_personalitys_codec); - baseValue_.WriteTo(ref output, _repeated_baseValue_codec); - if (Amax.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Amax); - } - if (AmaxFace.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AmaxFace); - } - if (Bmax.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Bmax); - } - if (BmaxFace.Length != 0) { - output.WriteRawTag(66); - output.WriteString(BmaxFace); - } - if (Cmax.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Cmax); - } - if (CmaxFace.Length != 0) { - output.WriteRawTag(82); - output.WriteString(CmaxFace); - } - if (Aplus.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Aplus); - } - if (AplusFace.Length != 0) { - output.WriteRawTag(98); - output.WriteString(AplusFace); - } - if (Bplus.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Bplus); - } - if (BplusFace.Length != 0) { - output.WriteRawTag(114); - output.WriteString(BplusFace); - } - if (Cplus.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Cplus); - } - if (CplusFace.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(CplusFace); - } - if (Ab.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Ab); - } - if (AbFace.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(AbFace); - } - if (Ac.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Ac); - } - if (AcFace.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(AcFace); - } - if (Bc.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Bc); - } - if (BcFace.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(BcFace); - } - if (Normal.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Normal); - } - if (NormalFace.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(NormalFace); - } - 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 (AvgCharId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgCharId); - } - size += personalitys_.CalculateSize(_repeated_personalitys_codec); - size += baseValue_.CalculateSize(_repeated_baseValue_codec); - if (Amax.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Amax); - } - if (AmaxFace.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AmaxFace); - } - if (Bmax.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bmax); - } - if (BmaxFace.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BmaxFace); - } - if (Cmax.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmax); - } - if (CmaxFace.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CmaxFace); - } - if (Aplus.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Aplus); - } - if (AplusFace.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AplusFace); - } - if (Bplus.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Bplus); - } - if (BplusFace.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BplusFace); - } - if (Cplus.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Cplus); - } - if (CplusFace.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(CplusFace); - } - if (Ab.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Ab); - } - if (AbFace.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AbFace); - } - if (Ac.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Ac); - } - if (AcFace.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(AcFace); - } - if (Bc.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Bc); - } - if (BcFace.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BcFace); - } - if (Normal.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Normal); - } - if (NormalFace.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(NormalFace); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StoryRolePersonality other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.AvgCharId.Length != 0) { - AvgCharId = other.AvgCharId; - } - personalitys_.Add(other.personalitys_); - baseValue_.Add(other.baseValue_); - if (other.Amax.Length != 0) { - Amax = other.Amax; - } - if (other.AmaxFace.Length != 0) { - AmaxFace = other.AmaxFace; - } - if (other.Bmax.Length != 0) { - Bmax = other.Bmax; - } - if (other.BmaxFace.Length != 0) { - BmaxFace = other.BmaxFace; - } - if (other.Cmax.Length != 0) { - Cmax = other.Cmax; - } - if (other.CmaxFace.Length != 0) { - CmaxFace = other.CmaxFace; - } - if (other.Aplus.Length != 0) { - Aplus = other.Aplus; - } - if (other.AplusFace.Length != 0) { - AplusFace = other.AplusFace; - } - if (other.Bplus.Length != 0) { - Bplus = other.Bplus; - } - if (other.BplusFace.Length != 0) { - BplusFace = other.BplusFace; - } - if (other.Cplus.Length != 0) { - Cplus = other.Cplus; - } - if (other.CplusFace.Length != 0) { - CplusFace = other.CplusFace; - } - if (other.Ab.Length != 0) { - Ab = other.Ab; - } - if (other.AbFace.Length != 0) { - AbFace = other.AbFace; - } - if (other.Ac.Length != 0) { - Ac = other.Ac; - } - if (other.AcFace.Length != 0) { - AcFace = other.AcFace; - } - if (other.Bc.Length != 0) { - Bc = other.Bc; - } - if (other.BcFace.Length != 0) { - BcFace = other.BcFace; - } - if (other.Normal.Length != 0) { - Normal = other.Normal; - } - if (other.NormalFace.Length != 0) { - NormalFace = other.NormalFace; - } - _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: { - AvgCharId = input.ReadString(); - break; - } - case 26: - case 24: { - personalitys_.AddEntriesFrom(input, _repeated_personalitys_codec); - break; - } - case 34: - case 32: { - baseValue_.AddEntriesFrom(input, _repeated_baseValue_codec); - break; - } - case 42: { - Amax = input.ReadString(); - break; - } - case 50: { - AmaxFace = input.ReadString(); - break; - } - case 58: { - Bmax = input.ReadString(); - break; - } - case 66: { - BmaxFace = input.ReadString(); - break; - } - case 74: { - Cmax = input.ReadString(); - break; - } - case 82: { - CmaxFace = input.ReadString(); - break; - } - case 90: { - Aplus = input.ReadString(); - break; - } - case 98: { - AplusFace = input.ReadString(); - break; - } - case 106: { - Bplus = input.ReadString(); - break; - } - case 114: { - BplusFace = input.ReadString(); - break; - } - case 122: { - Cplus = input.ReadString(); - break; - } - case 130: { - CplusFace = input.ReadString(); - break; - } - case 138: { - Ab = input.ReadString(); - break; - } - case 146: { - AbFace = input.ReadString(); - break; - } - case 154: { - Ac = input.ReadString(); - break; - } - case 162: { - AcFace = input.ReadString(); - break; - } - case 170: { - Bc = input.ReadString(); - break; - } - case 178: { - BcFace = input.ReadString(); - break; - } - case 186: { - Normal = input.ReadString(); - break; - } - case 194: { - NormalFace = 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 18: { - AvgCharId = input.ReadString(); - break; - } - case 26: - case 24: { - personalitys_.AddEntriesFrom(ref input, _repeated_personalitys_codec); - break; - } - case 34: - case 32: { - baseValue_.AddEntriesFrom(ref input, _repeated_baseValue_codec); - break; - } - case 42: { - Amax = input.ReadString(); - break; - } - case 50: { - AmaxFace = input.ReadString(); - break; - } - case 58: { - Bmax = input.ReadString(); - break; - } - case 66: { - BmaxFace = input.ReadString(); - break; - } - case 74: { - Cmax = input.ReadString(); - break; - } - case 82: { - CmaxFace = input.ReadString(); - break; - } - case 90: { - Aplus = input.ReadString(); - break; - } - case 98: { - AplusFace = input.ReadString(); - break; - } - case 106: { - Bplus = input.ReadString(); - break; - } - case 114: { - BplusFace = input.ReadString(); - break; - } - case 122: { - Cplus = input.ReadString(); - break; - } - case 130: { - CplusFace = input.ReadString(); - break; - } - case 138: { - Ab = input.ReadString(); - break; - } - case 146: { - AbFace = input.ReadString(); - break; - } - case 154: { - Ac = input.ReadString(); - break; - } - case 162: { - AcFace = input.ReadString(); - break; - } - case 170: { - Bc = input.ReadString(); - break; - } - case 178: { - BcFace = input.ReadString(); - break; - } - case 186: { - Normal = input.ReadString(); - break; - } - case 194: { - NormalFace = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/StorySett.cs b/Novaria.Common/Protos/StorySett.cs new file mode 100644 index 0000000..1ceb52d --- /dev/null +++ b/Novaria.Common/Protos/StorySett.cs @@ -0,0 +1,899 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: story_sett.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 Proto { + + /// <summary>Holder for reflection information generated from story_sett.proto</summary> + public static partial class StorySettReflection { + + #region Descriptor + /// <summary>File descriptor for story_sett.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StorySettReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChBzdG9yeV9zZXR0LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIn4KC1N0", + "b3J5U2V0dGxlEgsKA0lkeBgBIAEoDRIiCgVNYWpvchgCIAMoCzITLnByb3Rv", + "LlN0b3J5T3B0aW9ucxIoCgtQZXJzb25hbGl0eRgDIAMoCzITLnByb3RvLlN0", + "b3J5T3B0aW9ucxIUCgtOZXh0UGFja2FnZRj/DyABKAwiWwoOU3RvcnlTZXR0", + "bGVSZXESIAoETGlzdBgBIAMoCzISLnByb3RvLlN0b3J5U2V0dGxlEhEKCUV2", + "aWRlbmNlcxgPIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiUwoMU3RvcnlP", + "cHRpb25zEg0KBUdyb3VwGAEgASgNEg4KBkNob2ljZRgCIAEoDRIOCgZGYWN0", + "b3IYAyABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StorySettle), global::Proto.StorySettle.Parser, new[]{ "Idx", "Major", "Personality", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StorySettleReq), global::Proto.StorySettleReq.Parser, new[]{ "List", "Evidences", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StoryOptions), global::Proto.StoryOptions.Parser, new[]{ "Group", "Choice", "Factor", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StorySettle : pb::IMessage<StorySettle> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StorySettle> _parser = new pb::MessageParser<StorySettle>(() => new StorySettle()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StorySettle> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StorySettReflection.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 StorySettle() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorySettle(StorySettle other) : this() { + idx_ = other.idx_; + major_ = other.major_.Clone(); + personality_ = other.personality_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorySettle Clone() { + return new StorySettle(this); + } + + /// <summary>Field number for the "Idx" field.</summary> + public const int IdxFieldNumber = 1; + private uint idx_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Idx { + get { return idx_; } + set { + idx_ = value; + } + } + + /// <summary>Field number for the "Major" field.</summary> + public const int MajorFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.StoryOptions> _repeated_major_codec + = pb::FieldCodec.ForMessage(18, global::Proto.StoryOptions.Parser); + private readonly pbc::RepeatedField<global::Proto.StoryOptions> major_ = new pbc::RepeatedField<global::Proto.StoryOptions>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StoryOptions> Major { + get { return major_; } + } + + /// <summary>Field number for the "Personality" field.</summary> + public const int PersonalityFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.StoryOptions> _repeated_personality_codec + = pb::FieldCodec.ForMessage(26, global::Proto.StoryOptions.Parser); + private readonly pbc::RepeatedField<global::Proto.StoryOptions> personality_ = new pbc::RepeatedField<global::Proto.StoryOptions>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StoryOptions> Personality { + get { return personality_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StorySettle); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StorySettle other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Idx != other.Idx) return false; + if(!major_.Equals(other.major_)) return false; + if(!personality_.Equals(other.personality_)) return false; + if (NextPackage != other.NextPackage) 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 (Idx != 0) hash ^= Idx.GetHashCode(); + hash ^= major_.GetHashCode(); + hash ^= personality_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Idx != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Idx); + } + major_.WriteTo(output, _repeated_major_codec); + personality_.WriteTo(output, _repeated_personality_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Idx != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Idx); + } + major_.WriteTo(ref output, _repeated_major_codec); + personality_.WriteTo(ref output, _repeated_personality_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Idx != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx); + } + size += major_.CalculateSize(_repeated_major_codec); + size += personality_.CalculateSize(_repeated_personality_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StorySettle other) { + if (other == null) { + return; + } + if (other.Idx != 0) { + Idx = other.Idx; + } + major_.Add(other.major_); + personality_.Add(other.personality_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Idx = input.ReadUInt32(); + break; + } + case 18: { + major_.AddEntriesFrom(input, _repeated_major_codec); + break; + } + case 26: { + personality_.AddEntriesFrom(input, _repeated_personality_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Idx = input.ReadUInt32(); + break; + } + case 18: { + major_.AddEntriesFrom(ref input, _repeated_major_codec); + break; + } + case 26: { + personality_.AddEntriesFrom(ref input, _repeated_personality_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StorySettleReq : pb::IMessage<StorySettleReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StorySettleReq> _parser = new pb::MessageParser<StorySettleReq>(() => new StorySettleReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StorySettleReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StorySettReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorySettleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorySettleReq(StorySettleReq other) : this() { + list_ = other.list_.Clone(); + evidences_ = other.evidences_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StorySettleReq Clone() { + return new StorySettleReq(this); + } + + /// <summary>Field number for the "List" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.StorySettle> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Proto.StorySettle.Parser); + private readonly pbc::RepeatedField<global::Proto.StorySettle> list_ = new pbc::RepeatedField<global::Proto.StorySettle>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.StorySettle> List { + get { return list_; } + } + + /// <summary>Field number for the "Evidences" field.</summary> + public const int EvidencesFieldNumber = 15; + private static readonly pb::FieldCodec<uint> _repeated_evidences_codec + = pb::FieldCodec.ForUInt32(122); + private readonly pbc::RepeatedField<uint> evidences_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Evidences { + get { return evidences_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StorySettleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StorySettleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) return false; + if(!evidences_.Equals(other.evidences_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= list_.GetHashCode(); + hash ^= evidences_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + list_.WriteTo(output, _repeated_list_codec); + evidences_.WriteTo(output, _repeated_evidences_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + list_.WriteTo(ref output, _repeated_list_codec); + evidences_.WriteTo(ref output, _repeated_evidences_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += list_.CalculateSize(_repeated_list_codec); + size += evidences_.CalculateSize(_repeated_evidences_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StorySettleReq other) { + if (other == null) { + return; + } + list_.Add(other.list_); + evidences_.Add(other.evidences_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_codec); + break; + } + case 122: + case 120: { + evidences_.AddEntriesFrom(input, _repeated_evidences_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + case 122: + case 120: { + evidences_.AddEntriesFrom(ref input, _repeated_evidences_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryOptions : pb::IMessage<StoryOptions> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryOptions> _parser = new pb::MessageParser<StoryOptions>(() => new StoryOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryOptions> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.StorySettReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryOptions(StoryOptions other) : this() { + group_ = other.group_; + choice_ = other.choice_; + factor_ = other.factor_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryOptions Clone() { + return new StoryOptions(this); + } + + /// <summary>Field number for the "Group" field.</summary> + public const int GroupFieldNumber = 1; + private uint group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "Choice" field.</summary> + public const int ChoiceFieldNumber = 2; + private uint choice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Choice { + get { return choice_; } + set { + choice_ = value; + } + } + + /// <summary>Field number for the "Factor" field.</summary> + public const int FactorFieldNumber = 3; + private uint factor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Factor { + get { return factor_; } + set { + factor_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 StoryOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Group != other.Group) return false; + if (Choice != other.Choice) return false; + if (Factor != other.Factor) return false; + if (NextPackage != other.NextPackage) 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 (Group != 0) hash ^= Group.GetHashCode(); + if (Choice != 0) hash ^= Choice.GetHashCode(); + if (Factor != 0) hash ^= Factor.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Group != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Group); + } + if (Choice != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Choice); + } + if (Factor != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Factor); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Group != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Group); + } + if (Choice != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Choice); + } + if (Factor != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Factor); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Group); + } + if (Choice != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Choice); + } + if (Factor != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Factor); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryOptions other) { + if (other == null) { + return; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.Choice != 0) { + Choice = other.Choice; + } + if (other.Factor != 0) { + Factor = other.Factor; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Group = input.ReadUInt32(); + break; + } + case 16: { + Choice = input.ReadUInt32(); + break; + } + case 24: { + Factor = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Group = input.ReadUInt32(); + break; + } + case 16: { + Choice = input.ReadUInt32(); + break; + } + case 24: { + Factor = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAI.cs b/Novaria.Common/Protos/TableAI.cs deleted file mode 100644 index b5c476a..0000000 --- a/Novaria.Common/Protos/TableAI.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AI.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 table_AI.proto</summary> - public static partial class TableAIReflection { - - #region Descriptor - /// <summary>File descriptor for table_AI.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAIReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg50YWJsZV9BSS5wcm90bxoIQUkucHJvdG8iHQoIdGFibGVfQUkSEQoEbGlz", - "dBgBIAMoCzIDLkFJQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AIReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AI), global::Nova.Client.table_AI.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AI : pb::IMessage<table_AI> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AI> _parser = new pb::MessageParser<table_AI>(() => new table_AI()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AI> 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.TableAIReflection.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 table_AI() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AI(table_AI other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AI Clone() { - return new table_AI(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AI> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AI.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AI> list_ = new pbc::RepeatedField<global::Nova.Client.AI>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AI> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AI); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AI other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AI other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAchievement.cs b/Novaria.Common/Protos/TableAchievement.cs deleted file mode 100644 index af68e17..0000000 --- a/Novaria.Common/Protos/TableAchievement.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Achievement.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 table_Achievement.proto</summary> - public static partial class TableAchievementReflection { - - #region Descriptor - /// <summary>File descriptor for table_Achievement.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAchievementReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9BY2hpZXZlbWVudC5wcm90bxoRQWNoaWV2ZW1lbnQucHJvdG8i", - "LwoRdGFibGVfQWNoaWV2ZW1lbnQSGgoEbGlzdBgBIAMoCzIMLkFjaGlldmVt", - "ZW50Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AchievementReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Achievement), global::Nova.Client.table_Achievement.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Achievement : pb::IMessage<table_Achievement> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Achievement> _parser = new pb::MessageParser<table_Achievement>(() => new table_Achievement()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Achievement> 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.TableAchievementReflection.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 table_Achievement() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Achievement(table_Achievement other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Achievement Clone() { - return new table_Achievement(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Achievement> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Achievement.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Achievement> list_ = new pbc::RepeatedField<global::Nova.Client.Achievement>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Achievement> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Achievement); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Achievement other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Achievement other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableActivity.cs b/Novaria.Common/Protos/TableActivity.cs deleted file mode 100644 index 17e30ad..0000000 --- a/Novaria.Common/Protos/TableActivity.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Activity.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 table_Activity.proto</summary> - public static partial class TableActivityReflection { - - #region Descriptor - /// <summary>File descriptor for table_Activity.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableActivityReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9BY3Rpdml0eS5wcm90bxoOQWN0aXZpdHkucHJvdG8iKQoOdGFi", - "bGVfQWN0aXZpdHkSFwoEbGlzdBgBIAMoCzIJLkFjdGl2aXR5Qg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ActivityReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Activity), global::Nova.Client.table_Activity.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Activity : pb::IMessage<table_Activity> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Activity> _parser = new pb::MessageParser<table_Activity>(() => new table_Activity()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Activity> 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.TableActivityReflection.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 table_Activity() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Activity(table_Activity other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Activity Clone() { - return new table_Activity(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Activity> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Activity.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Activity> list_ = new pbc::RepeatedField<global::Nova.Client.Activity>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Activity> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Activity); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Activity other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Activity other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAddBuffAction.cs b/Novaria.Common/Protos/TableAddBuffAction.cs deleted file mode 100644 index cb2421a..0000000 --- a/Novaria.Common/Protos/TableAddBuffAction.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AddBuffAction.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 table_AddBuffAction.proto</summary> - public static partial class TableAddBuffActionReflection { - - #region Descriptor - /// <summary>File descriptor for table_AddBuffAction.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAddBuffActionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9BZGRCdWZmQWN0aW9uLnByb3RvGhNBZGRCdWZmQWN0aW9uLnBy", - "b3RvIjMKE3RhYmxlX0FkZEJ1ZmZBY3Rpb24SHAoEbGlzdBgBIAMoCzIOLkFk", - "ZEJ1ZmZBY3Rpb25CDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AddBuffActionReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AddBuffAction), global::Nova.Client.table_AddBuffAction.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AddBuffAction : pb::IMessage<table_AddBuffAction> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AddBuffAction> _parser = new pb::MessageParser<table_AddBuffAction>(() => new table_AddBuffAction()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AddBuffAction> 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.TableAddBuffActionReflection.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 table_AddBuffAction() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AddBuffAction(table_AddBuffAction other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AddBuffAction Clone() { - return new table_AddBuffAction(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AddBuffAction> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AddBuffAction.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AddBuffAction> list_ = new pbc::RepeatedField<global::Nova.Client.AddBuffAction>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AddBuffAction> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AddBuffAction); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AddBuffAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AddBuffAction other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAffinityGift.cs b/Novaria.Common/Protos/TableAffinityGift.cs deleted file mode 100644 index f805941..0000000 --- a/Novaria.Common/Protos/TableAffinityGift.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AffinityGift.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 table_AffinityGift.proto</summary> - public static partial class TableAffinityGiftReflection { - - #region Descriptor - /// <summary>File descriptor for table_AffinityGift.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAffinityGiftReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9BZmZpbml0eUdpZnQucHJvdG8aEkFmZmluaXR5R2lmdC5wcm90", - "byIxChJ0YWJsZV9BZmZpbml0eUdpZnQSGwoEbGlzdBgBIAMoCzINLkFmZmlu", - "aXR5R2lmdEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AffinityGiftReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityGift), global::Nova.Client.table_AffinityGift.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AffinityGift : pb::IMessage<table_AffinityGift> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AffinityGift> _parser = new pb::MessageParser<table_AffinityGift>(() => new table_AffinityGift()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AffinityGift> 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.TableAffinityGiftReflection.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 table_AffinityGift() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityGift(table_AffinityGift other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityGift Clone() { - return new table_AffinityGift(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AffinityGift> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityGift.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AffinityGift> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityGift>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AffinityGift> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AffinityGift); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AffinityGift other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AffinityGift other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAffinityLevel.cs b/Novaria.Common/Protos/TableAffinityLevel.cs deleted file mode 100644 index 823497a..0000000 --- a/Novaria.Common/Protos/TableAffinityLevel.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AffinityLevel.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 table_AffinityLevel.proto</summary> - public static partial class TableAffinityLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_AffinityLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAffinityLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9BZmZpbml0eUxldmVsLnByb3RvGhNBZmZpbml0eUxldmVsLnBy", - "b3RvIjMKE3RhYmxlX0FmZmluaXR5TGV2ZWwSHAoEbGlzdBgBIAMoCzIOLkFm", - "ZmluaXR5TGV2ZWxCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AffinityLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityLevel), global::Nova.Client.table_AffinityLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AffinityLevel : pb::IMessage<table_AffinityLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AffinityLevel> _parser = new pb::MessageParser<table_AffinityLevel>(() => new table_AffinityLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AffinityLevel> 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.TableAffinityLevelReflection.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 table_AffinityLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityLevel(table_AffinityLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityLevel Clone() { - return new table_AffinityLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AffinityLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AffinityLevel> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AffinityLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AffinityLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AffinityLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AffinityLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAffinityQuest.cs b/Novaria.Common/Protos/TableAffinityQuest.cs deleted file mode 100644 index f99aa51..0000000 --- a/Novaria.Common/Protos/TableAffinityQuest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AffinityQuest.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 table_AffinityQuest.proto</summary> - public static partial class TableAffinityQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_AffinityQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAffinityQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9BZmZpbml0eVF1ZXN0LnByb3RvGhNBZmZpbml0eVF1ZXN0LnBy", - "b3RvIjMKE3RhYmxlX0FmZmluaXR5UXVlc3QSHAoEbGlzdBgBIAMoCzIOLkFm", - "ZmluaXR5UXVlc3RCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AffinityQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityQuest), global::Nova.Client.table_AffinityQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AffinityQuest : pb::IMessage<table_AffinityQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AffinityQuest> _parser = new pb::MessageParser<table_AffinityQuest>(() => new table_AffinityQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AffinityQuest> 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.TableAffinityQuestReflection.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 table_AffinityQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityQuest(table_AffinityQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityQuest Clone() { - return new table_AffinityQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AffinityQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AffinityQuest> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AffinityQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AffinityQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AffinityQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AffinityQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAffinityUpReward.cs b/Novaria.Common/Protos/TableAffinityUpReward.cs deleted file mode 100644 index 8b3ab91..0000000 --- a/Novaria.Common/Protos/TableAffinityUpReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AffinityUpReward.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 table_AffinityUpReward.proto</summary> - public static partial class TableAffinityUpRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_AffinityUpReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAffinityUpRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9BZmZpbml0eVVwUmV3YXJkLnByb3RvGhZBZmZpbml0eVVwUmV3", - "YXJkLnByb3RvIjkKFnRhYmxlX0FmZmluaXR5VXBSZXdhcmQSHwoEbGlzdBgB", - "IAMoCzIRLkFmZmluaXR5VXBSZXdhcmRCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AffinityUpRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityUpReward), global::Nova.Client.table_AffinityUpReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AffinityUpReward : pb::IMessage<table_AffinityUpReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AffinityUpReward> _parser = new pb::MessageParser<table_AffinityUpReward>(() => new table_AffinityUpReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AffinityUpReward> 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.TableAffinityUpRewardReflection.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 table_AffinityUpReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityUpReward(table_AffinityUpReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AffinityUpReward Clone() { - return new table_AffinityUpReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AffinityUpReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityUpReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AffinityUpReward> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityUpReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AffinityUpReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AffinityUpReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AffinityUpReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AffinityUpReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAgent.cs b/Novaria.Common/Protos/TableAgent.cs deleted file mode 100644 index bfa7b06..0000000 --- a/Novaria.Common/Protos/TableAgent.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Agent.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 table_Agent.proto</summary> - public static partial class TableAgentReflection { - - #region Descriptor - /// <summary>File descriptor for table_Agent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAgentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9BZ2VudC5wcm90bxoLQWdlbnQucHJvdG8iIwoLdGFibGVfQWdl", - "bnQSFAoEbGlzdBgBIAMoCzIGLkFnZW50Qg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AgentReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Agent), global::Nova.Client.table_Agent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Agent : pb::IMessage<table_Agent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Agent> _parser = new pb::MessageParser<table_Agent>(() => new table_Agent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Agent> 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.TableAgentReflection.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 table_Agent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Agent(table_Agent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Agent Clone() { - return new table_Agent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Agent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Agent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Agent> list_ = new pbc::RepeatedField<global::Nova.Client.Agent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Agent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Agent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Agent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Agent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAgentSpecialPerformance.cs b/Novaria.Common/Protos/TableAgentSpecialPerformance.cs deleted file mode 100644 index 56d4404..0000000 --- a/Novaria.Common/Protos/TableAgentSpecialPerformance.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AgentSpecialPerformance.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 table_AgentSpecialPerformance.proto</summary> - public static partial class TableAgentSpecialPerformanceReflection { - - #region Descriptor - /// <summary>File descriptor for table_AgentSpecialPerformance.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAgentSpecialPerformanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiN0YWJsZV9BZ2VudFNwZWNpYWxQZXJmb3JtYW5jZS5wcm90bxodQWdlbnRT", - "cGVjaWFsUGVyZm9ybWFuY2UucHJvdG8iRwoddGFibGVfQWdlbnRTcGVjaWFs", - "UGVyZm9ybWFuY2USJgoEbGlzdBgBIAMoCzIYLkFnZW50U3BlY2lhbFBlcmZv", - "cm1hbmNlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AgentSpecialPerformanceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AgentSpecialPerformance), global::Nova.Client.table_AgentSpecialPerformance.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AgentSpecialPerformance : pb::IMessage<table_AgentSpecialPerformance> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AgentSpecialPerformance> _parser = new pb::MessageParser<table_AgentSpecialPerformance>(() => new table_AgentSpecialPerformance()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AgentSpecialPerformance> 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.TableAgentSpecialPerformanceReflection.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 table_AgentSpecialPerformance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AgentSpecialPerformance(table_AgentSpecialPerformance other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AgentSpecialPerformance Clone() { - return new table_AgentSpecialPerformance(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AgentSpecialPerformance> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AgentSpecialPerformance.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AgentSpecialPerformance> list_ = new pbc::RepeatedField<global::Nova.Client.AgentSpecialPerformance>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AgentSpecialPerformance> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AgentSpecialPerformance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AgentSpecialPerformance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AgentSpecialPerformance other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAgentTab.cs b/Novaria.Common/Protos/TableAgentTab.cs deleted file mode 100644 index f897356..0000000 --- a/Novaria.Common/Protos/TableAgentTab.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AgentTab.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 table_AgentTab.proto</summary> - public static partial class TableAgentTabReflection { - - #region Descriptor - /// <summary>File descriptor for table_AgentTab.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAgentTabReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9BZ2VudFRhYi5wcm90bxoOQWdlbnRUYWIucHJvdG8iKQoOdGFi", - "bGVfQWdlbnRUYWISFwoEbGlzdBgBIAMoCzIJLkFnZW50VGFiQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AgentTabReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AgentTab), global::Nova.Client.table_AgentTab.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AgentTab : pb::IMessage<table_AgentTab> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AgentTab> _parser = new pb::MessageParser<table_AgentTab>(() => new table_AgentTab()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AgentTab> 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.TableAgentTabReflection.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 table_AgentTab() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AgentTab(table_AgentTab other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AgentTab Clone() { - return new table_AgentTab(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AgentTab> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AgentTab.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AgentTab> list_ = new pbc::RepeatedField<global::Nova.Client.AgentTab>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AgentTab> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AgentTab); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AgentTab other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AgentTab other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAreaEffect.cs b/Novaria.Common/Protos/TableAreaEffect.cs deleted file mode 100644 index c2705d9..0000000 --- a/Novaria.Common/Protos/TableAreaEffect.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AreaEffect.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 table_AreaEffect.proto</summary> - public static partial class TableAreaEffectReflection { - - #region Descriptor - /// <summary>File descriptor for table_AreaEffect.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAreaEffectReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9BcmVhRWZmZWN0LnByb3RvGhBBcmVhRWZmZWN0LnByb3RvIi0K", - "EHRhYmxlX0FyZWFFZmZlY3QSGQoEbGlzdBgBIAMoCzILLkFyZWFFZmZlY3RC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AreaEffectReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AreaEffect), global::Nova.Client.table_AreaEffect.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AreaEffect : pb::IMessage<table_AreaEffect> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AreaEffect> _parser = new pb::MessageParser<table_AreaEffect>(() => new table_AreaEffect()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AreaEffect> 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.TableAreaEffectReflection.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 table_AreaEffect() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AreaEffect(table_AreaEffect other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AreaEffect Clone() { - return new table_AreaEffect(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AreaEffect> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AreaEffect.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AreaEffect> list_ = new pbc::RepeatedField<global::Nova.Client.AreaEffect>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AreaEffect> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AreaEffect); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AreaEffect other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AreaEffect other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAttribute.cs b/Novaria.Common/Protos/TableAttribute.cs deleted file mode 100644 index 399d144..0000000 --- a/Novaria.Common/Protos/TableAttribute.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Attribute.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 table_Attribute.proto</summary> - public static partial class TableAttributeReflection { - - #region Descriptor - /// <summary>File descriptor for table_Attribute.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9BdHRyaWJ1dGUucHJvdG8aD0F0dHJpYnV0ZS5wcm90byIrCg90", - "YWJsZV9BdHRyaWJ1dGUSGAoEbGlzdBgBIAMoCzIKLkF0dHJpYnV0ZUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AttributeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Attribute), global::Nova.Client.table_Attribute.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Attribute : pb::IMessage<table_Attribute> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Attribute> _parser = new pb::MessageParser<table_Attribute>(() => new table_Attribute()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Attribute> 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.TableAttributeReflection.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 table_Attribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Attribute(table_Attribute other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Attribute Clone() { - return new table_Attribute(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Attribute> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Attribute.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Attribute> list_ = new pbc::RepeatedField<global::Nova.Client.Attribute>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Attribute> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Attribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Attribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Attribute other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableAttributeLimit.cs b/Novaria.Common/Protos/TableAttributeLimit.cs deleted file mode 100644 index 17d0aa4..0000000 --- a/Novaria.Common/Protos/TableAttributeLimit.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_AttributeLimit.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 table_AttributeLimit.proto</summary> - public static partial class TableAttributeLimitReflection { - - #region Descriptor - /// <summary>File descriptor for table_AttributeLimit.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableAttributeLimitReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9BdHRyaWJ1dGVMaW1pdC5wcm90bxoUQXR0cmlidXRlTGltaXQu", - "cHJvdG8iNQoUdGFibGVfQXR0cmlidXRlTGltaXQSHQoEbGlzdBgBIAMoCzIP", - "LkF0dHJpYnV0ZUxpbWl0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.AttributeLimitReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AttributeLimit), global::Nova.Client.table_AttributeLimit.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_AttributeLimit : pb::IMessage<table_AttributeLimit> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_AttributeLimit> _parser = new pb::MessageParser<table_AttributeLimit>(() => new table_AttributeLimit()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_AttributeLimit> 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.TableAttributeLimitReflection.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 table_AttributeLimit() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AttributeLimit(table_AttributeLimit other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_AttributeLimit Clone() { - return new table_AttributeLimit(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.AttributeLimit> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.AttributeLimit.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.AttributeLimit> list_ = new pbc::RepeatedField<global::Nova.Client.AttributeLimit>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.AttributeLimit> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_AttributeLimit); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_AttributeLimit other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_AttributeLimit other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBattlePass.cs b/Novaria.Common/Protos/TableBattlePass.cs deleted file mode 100644 index 6745c9a..0000000 --- a/Novaria.Common/Protos/TableBattlePass.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_BattlePass.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 table_BattlePass.proto</summary> - public static partial class TableBattlePassReflection { - - #region Descriptor - /// <summary>File descriptor for table_BattlePass.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBattlePassReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9CYXR0bGVQYXNzLnByb3RvGhBCYXR0bGVQYXNzLnByb3RvIi0K", - "EHRhYmxlX0JhdHRsZVBhc3MSGQoEbGlzdBgBIAMoCzILLkJhdHRsZVBhc3NC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BattlePassReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePass), global::Nova.Client.table_BattlePass.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BattlePass : pb::IMessage<table_BattlePass> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_BattlePass> _parser = new pb::MessageParser<table_BattlePass>(() => new table_BattlePass()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_BattlePass> 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.TableBattlePassReflection.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 table_BattlePass() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePass(table_BattlePass other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePass Clone() { - return new table_BattlePass(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.BattlePass> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePass.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.BattlePass> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePass>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.BattlePass> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_BattlePass); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BattlePass other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BattlePass other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBattlePassLevel.cs b/Novaria.Common/Protos/TableBattlePassLevel.cs deleted file mode 100644 index dc88366..0000000 --- a/Novaria.Common/Protos/TableBattlePassLevel.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_BattlePassLevel.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 table_BattlePassLevel.proto</summary> - public static partial class TableBattlePassLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_BattlePassLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBattlePassLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9CYXR0bGVQYXNzTGV2ZWwucHJvdG8aFUJhdHRsZVBhc3NMZXZl", - "bC5wcm90byI3ChV0YWJsZV9CYXR0bGVQYXNzTGV2ZWwSHgoEbGlzdBgBIAMo", - "CzIQLkJhdHRsZVBhc3NMZXZlbEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BattlePassLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePassLevel), global::Nova.Client.table_BattlePassLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BattlePassLevel : pb::IMessage<table_BattlePassLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_BattlePassLevel> _parser = new pb::MessageParser<table_BattlePassLevel>(() => new table_BattlePassLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_BattlePassLevel> 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.TableBattlePassLevelReflection.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 table_BattlePassLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePassLevel(table_BattlePassLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePassLevel Clone() { - return new table_BattlePassLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.BattlePassLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePassLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.BattlePassLevel> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePassLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.BattlePassLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_BattlePassLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BattlePassLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BattlePassLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBattlePassQuest.cs b/Novaria.Common/Protos/TableBattlePassQuest.cs deleted file mode 100644 index c2116ac..0000000 --- a/Novaria.Common/Protos/TableBattlePassQuest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_BattlePassQuest.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 table_BattlePassQuest.proto</summary> - public static partial class TableBattlePassQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_BattlePassQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBattlePassQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9CYXR0bGVQYXNzUXVlc3QucHJvdG8aFUJhdHRsZVBhc3NRdWVz", - "dC5wcm90byI3ChV0YWJsZV9CYXR0bGVQYXNzUXVlc3QSHgoEbGlzdBgBIAMo", - "CzIQLkJhdHRsZVBhc3NRdWVzdEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BattlePassQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePassQuest), global::Nova.Client.table_BattlePassQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BattlePassQuest : pb::IMessage<table_BattlePassQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_BattlePassQuest> _parser = new pb::MessageParser<table_BattlePassQuest>(() => new table_BattlePassQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_BattlePassQuest> 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.TableBattlePassQuestReflection.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 table_BattlePassQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePassQuest(table_BattlePassQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePassQuest Clone() { - return new table_BattlePassQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.BattlePassQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePassQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.BattlePassQuest> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePassQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.BattlePassQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_BattlePassQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BattlePassQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BattlePassQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBattlePassReward.cs b/Novaria.Common/Protos/TableBattlePassReward.cs deleted file mode 100644 index ab1d273..0000000 --- a/Novaria.Common/Protos/TableBattlePassReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_BattlePassReward.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 table_BattlePassReward.proto</summary> - public static partial class TableBattlePassRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_BattlePassReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBattlePassRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9CYXR0bGVQYXNzUmV3YXJkLnByb3RvGhZCYXR0bGVQYXNzUmV3", - "YXJkLnByb3RvIjkKFnRhYmxlX0JhdHRsZVBhc3NSZXdhcmQSHwoEbGlzdBgB", - "IAMoCzIRLkJhdHRsZVBhc3NSZXdhcmRCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BattlePassRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePassReward), global::Nova.Client.table_BattlePassReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BattlePassReward : pb::IMessage<table_BattlePassReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_BattlePassReward> _parser = new pb::MessageParser<table_BattlePassReward>(() => new table_BattlePassReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_BattlePassReward> 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.TableBattlePassRewardReflection.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 table_BattlePassReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePassReward(table_BattlePassReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BattlePassReward Clone() { - return new table_BattlePassReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.BattlePassReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePassReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.BattlePassReward> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePassReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.BattlePassReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_BattlePassReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BattlePassReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BattlePassReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBoardNPC.cs b/Novaria.Common/Protos/TableBoardNPC.cs deleted file mode 100644 index 7033de7..0000000 --- a/Novaria.Common/Protos/TableBoardNPC.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_BoardNPC.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 table_BoardNPC.proto</summary> - public static partial class TableBoardNPCReflection { - - #region Descriptor - /// <summary>File descriptor for table_BoardNPC.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBoardNPCReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9Cb2FyZE5QQy5wcm90bxoOQm9hcmROUEMucHJvdG8iKQoOdGFi", - "bGVfQm9hcmROUEMSFwoEbGlzdBgBIAMoCzIJLkJvYXJkTlBDQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BoardNPCReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BoardNPC), global::Nova.Client.table_BoardNPC.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BoardNPC : pb::IMessage<table_BoardNPC> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_BoardNPC> _parser = new pb::MessageParser<table_BoardNPC>(() => new table_BoardNPC()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_BoardNPC> 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.TableBoardNPCReflection.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 table_BoardNPC() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BoardNPC(table_BoardNPC other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BoardNPC Clone() { - return new table_BoardNPC(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.BoardNPC> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BoardNPC.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.BoardNPC> list_ = new pbc::RepeatedField<global::Nova.Client.BoardNPC>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.BoardNPC> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_BoardNPC); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BoardNPC other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BoardNPC other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBuff.cs b/Novaria.Common/Protos/TableBuff.cs deleted file mode 100644 index e5590e1..0000000 --- a/Novaria.Common/Protos/TableBuff.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Buff.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 table_Buff.proto</summary> - public static partial class TableBuffReflection { - - #region Descriptor - /// <summary>File descriptor for table_Buff.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBuffReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9CdWZmLnByb3RvGgpCdWZmLnByb3RvIiEKCnRhYmxlX0J1ZmYS", - "EwoEbGlzdBgBIAMoCzIFLkJ1ZmZCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BuffReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Buff), global::Nova.Client.table_Buff.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Buff : pb::IMessage<table_Buff> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Buff> _parser = new pb::MessageParser<table_Buff>(() => new table_Buff()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Buff> 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.TableBuffReflection.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 table_Buff() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Buff(table_Buff other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Buff Clone() { - return new table_Buff(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Buff> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Buff.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Buff> list_ = new pbc::RepeatedField<global::Nova.Client.Buff>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Buff> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Buff); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Buff other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Buff other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableBuffValue.cs b/Novaria.Common/Protos/TableBuffValue.cs deleted file mode 100644 index 5782107..0000000 --- a/Novaria.Common/Protos/TableBuffValue.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_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 table_BuffValue.proto</summary> - public static partial class TableBuffValueReflection { - - #region Descriptor - /// <summary>File descriptor for table_BuffValue.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableBuffValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9CdWZmVmFsdWUucHJvdG8aD0J1ZmZWYWx1ZS5wcm90byIrCg90", - "YWJsZV9CdWZmVmFsdWUSGAoEbGlzdBgBIAMoCzIKLkJ1ZmZWYWx1ZUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.BuffValueReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BuffValue), global::Nova.Client.table_BuffValue.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_BuffValue : pb::IMessage<table_BuffValue> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_BuffValue> _parser = new pb::MessageParser<table_BuffValue>(() => new table_BuffValue()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_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.TableBuffValueReflection.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 table_BuffValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BuffValue(table_BuffValue other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_BuffValue Clone() { - return new table_BuffValue(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.BuffValue> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.BuffValue.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.BuffValue> list_ = new pbc::RepeatedField<global::Nova.Client.BuffValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.BuffValue> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_BuffValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_BuffValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_BuffValue other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableChapter.cs b/Novaria.Common/Protos/TableChapter.cs deleted file mode 100644 index 8493fe6..0000000 --- a/Novaria.Common/Protos/TableChapter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Chapter.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 table_Chapter.proto</summary> - public static partial class TableChapterReflection { - - #region Descriptor - /// <summary>File descriptor for table_Chapter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableChapterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9DaGFwdGVyLnByb3RvGg1DaGFwdGVyLnByb3RvIicKDXRhYmxl", - "X0NoYXB0ZXISFgoEbGlzdBgBIAMoCzIILkNoYXB0ZXJCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ChapterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Chapter), global::Nova.Client.table_Chapter.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Chapter : pb::IMessage<table_Chapter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Chapter> _parser = new pb::MessageParser<table_Chapter>(() => new table_Chapter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Chapter> 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.TableChapterReflection.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 table_Chapter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Chapter(table_Chapter other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Chapter Clone() { - return new table_Chapter(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Chapter> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Chapter.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Chapter> list_ = new pbc::RepeatedField<global::Nova.Client.Chapter>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Chapter> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Chapter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Chapter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Chapter other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharAffinityTemplate.cs b/Novaria.Common/Protos/TableCharAffinityTemplate.cs deleted file mode 100644 index 4d7999f..0000000 --- a/Novaria.Common/Protos/TableCharAffinityTemplate.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharAffinityTemplate.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 table_CharAffinityTemplate.proto</summary> - public static partial class TableCharAffinityTemplateReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharAffinityTemplate.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharAffinityTemplateReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9DaGFyQWZmaW5pdHlUZW1wbGF0ZS5wcm90bxoaQ2hhckFmZmlu", - "aXR5VGVtcGxhdGUucHJvdG8iQQoadGFibGVfQ2hhckFmZmluaXR5VGVtcGxh", - "dGUSIwoEbGlzdBgBIAMoCzIVLkNoYXJBZmZpbml0eVRlbXBsYXRlQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharAffinityTemplateReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharAffinityTemplate), global::Nova.Client.table_CharAffinityTemplate.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharAffinityTemplate : pb::IMessage<table_CharAffinityTemplate> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharAffinityTemplate> _parser = new pb::MessageParser<table_CharAffinityTemplate>(() => new table_CharAffinityTemplate()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharAffinityTemplate> 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.TableCharAffinityTemplateReflection.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 table_CharAffinityTemplate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharAffinityTemplate(table_CharAffinityTemplate other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharAffinityTemplate Clone() { - return new table_CharAffinityTemplate(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharAffinityTemplate> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharAffinityTemplate.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharAffinityTemplate> list_ = new pbc::RepeatedField<global::Nova.Client.CharAffinityTemplate>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharAffinityTemplate> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharAffinityTemplate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharAffinityTemplate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharAffinityTemplate other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharGrade.cs b/Novaria.Common/Protos/TableCharGrade.cs deleted file mode 100644 index 7f12a08..0000000 --- a/Novaria.Common/Protos/TableCharGrade.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharGrade.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 table_CharGrade.proto</summary> - public static partial class TableCharGradeReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharGrade.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharGradeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9DaGFyR3JhZGUucHJvdG8aD0NoYXJHcmFkZS5wcm90byIrCg90", - "YWJsZV9DaGFyR3JhZGUSGAoEbGlzdBgBIAMoCzIKLkNoYXJHcmFkZUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharGradeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharGrade), global::Nova.Client.table_CharGrade.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharGrade : pb::IMessage<table_CharGrade> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharGrade> _parser = new pb::MessageParser<table_CharGrade>(() => new table_CharGrade()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharGrade> 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.TableCharGradeReflection.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 table_CharGrade() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharGrade(table_CharGrade other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharGrade Clone() { - return new table_CharGrade(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharGrade> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharGrade.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharGrade> list_ = new pbc::RepeatedField<global::Nova.Client.CharGrade>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharGrade> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharGrade); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharGrade other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharGrade other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharItemExp.cs b/Novaria.Common/Protos/TableCharItemExp.cs deleted file mode 100644 index 40c8490..0000000 --- a/Novaria.Common/Protos/TableCharItemExp.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharItemExp.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 table_CharItemExp.proto</summary> - public static partial class TableCharItemExpReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharItemExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharItemExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9DaGFySXRlbUV4cC5wcm90bxoRQ2hhckl0ZW1FeHAucHJvdG8i", - "LwoRdGFibGVfQ2hhckl0ZW1FeHASGgoEbGlzdBgBIAMoCzIMLkNoYXJJdGVt", - "RXhwQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharItemExpReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharItemExp), global::Nova.Client.table_CharItemExp.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharItemExp : pb::IMessage<table_CharItemExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharItemExp> _parser = new pb::MessageParser<table_CharItemExp>(() => new table_CharItemExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharItemExp> 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.TableCharItemExpReflection.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 table_CharItemExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharItemExp(table_CharItemExp other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharItemExp Clone() { - return new table_CharItemExp(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharItemExp> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharItemExp.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharItemExp> list_ = new pbc::RepeatedField<global::Nova.Client.CharItemExp>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharItemExp> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharItemExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharItemExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharItemExp other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharPotential.cs b/Novaria.Common/Protos/TableCharPotential.cs deleted file mode 100644 index fc98194..0000000 --- a/Novaria.Common/Protos/TableCharPotential.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharPotential.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 table_CharPotential.proto</summary> - public static partial class TableCharPotentialReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharPotential.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharPotentialReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9DaGFyUG90ZW50aWFsLnByb3RvGhNDaGFyUG90ZW50aWFsLnBy", - "b3RvIjMKE3RhYmxlX0NoYXJQb3RlbnRpYWwSHAoEbGlzdBgBIAMoCzIOLkNo", - "YXJQb3RlbnRpYWxCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharPotentialReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharPotential), global::Nova.Client.table_CharPotential.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharPotential : pb::IMessage<table_CharPotential> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharPotential> _parser = new pb::MessageParser<table_CharPotential>(() => new table_CharPotential()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharPotential> 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.TableCharPotentialReflection.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 table_CharPotential() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharPotential(table_CharPotential other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharPotential Clone() { - return new table_CharPotential(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharPotential> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharPotential.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharPotential> list_ = new pbc::RepeatedField<global::Nova.Client.CharPotential>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharPotential> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharPotential); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharPotential other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharPotential other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharRaritySequence.cs b/Novaria.Common/Protos/TableCharRaritySequence.cs deleted file mode 100644 index cba6e50..0000000 --- a/Novaria.Common/Protos/TableCharRaritySequence.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharRaritySequence.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 table_CharRaritySequence.proto</summary> - public static partial class TableCharRaritySequenceReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharRaritySequence.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharRaritySequenceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9DaGFyUmFyaXR5U2VxdWVuY2UucHJvdG8aGENoYXJSYXJpdHlT", - "ZXF1ZW5jZS5wcm90byI9Chh0YWJsZV9DaGFyUmFyaXR5U2VxdWVuY2USIQoE", - "bGlzdBgBIAMoCzITLkNoYXJSYXJpdHlTZXF1ZW5jZUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharRaritySequenceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharRaritySequence), global::Nova.Client.table_CharRaritySequence.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharRaritySequence : pb::IMessage<table_CharRaritySequence> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharRaritySequence> _parser = new pb::MessageParser<table_CharRaritySequence>(() => new table_CharRaritySequence()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharRaritySequence> 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.TableCharRaritySequenceReflection.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 table_CharRaritySequence() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharRaritySequence(table_CharRaritySequence other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharRaritySequence Clone() { - return new table_CharRaritySequence(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharRaritySequence> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharRaritySequence.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharRaritySequence> list_ = new pbc::RepeatedField<global::Nova.Client.CharRaritySequence>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharRaritySequence> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharRaritySequence); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharRaritySequence other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharRaritySequence other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacter.cs b/Novaria.Common/Protos/TableCharacter.cs deleted file mode 100644 index 26331c7..0000000 --- a/Novaria.Common/Protos/TableCharacter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Character.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 table_Character.proto</summary> - public static partial class TableCharacterReflection { - - #region Descriptor - /// <summary>File descriptor for table_Character.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9DaGFyYWN0ZXIucHJvdG8aD0NoYXJhY3Rlci5wcm90byIrCg90", - "YWJsZV9DaGFyYWN0ZXISGAoEbGlzdBgBIAMoCzIKLkNoYXJhY3RlckIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Character), global::Nova.Client.table_Character.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Character : pb::IMessage<table_Character> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Character> _parser = new pb::MessageParser<table_Character>(() => new table_Character()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Character> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Nova.Client.TableCharacterReflection.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 table_Character() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Character(table_Character other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Character Clone() { - return new table_Character(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Character> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Character.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Character> list_ = new pbc::RepeatedField<global::Nova.Client.Character>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Character> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Character); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Character other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Character other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterAdvance.cs b/Novaria.Common/Protos/TableCharacterAdvance.cs deleted file mode 100644 index cde6dd9..0000000 --- a/Novaria.Common/Protos/TableCharacterAdvance.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterAdvance.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 table_CharacterAdvance.proto</summary> - public static partial class TableCharacterAdvanceReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterAdvance.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterAdvanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9DaGFyYWN0ZXJBZHZhbmNlLnByb3RvGhZDaGFyYWN0ZXJBZHZh", - "bmNlLnByb3RvIjkKFnRhYmxlX0NoYXJhY3RlckFkdmFuY2USHwoEbGlzdBgB", - "IAMoCzIRLkNoYXJhY3RlckFkdmFuY2VCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterAdvanceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterAdvance), global::Nova.Client.table_CharacterAdvance.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterAdvance : pb::IMessage<table_CharacterAdvance> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterAdvance> _parser = new pb::MessageParser<table_CharacterAdvance>(() => new table_CharacterAdvance()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterAdvance> 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.TableCharacterAdvanceReflection.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 table_CharacterAdvance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterAdvance(table_CharacterAdvance other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterAdvance Clone() { - return new table_CharacterAdvance(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterAdvance> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterAdvance.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterAdvance> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterAdvance>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterAdvance> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterAdvance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterAdvance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterAdvance other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterArchive.cs b/Novaria.Common/Protos/TableCharacterArchive.cs deleted file mode 100644 index 745b0a9..0000000 --- a/Novaria.Common/Protos/TableCharacterArchive.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterArchive.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 table_CharacterArchive.proto</summary> - public static partial class TableCharacterArchiveReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterArchive.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterArchiveReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9DaGFyYWN0ZXJBcmNoaXZlLnByb3RvGhZDaGFyYWN0ZXJBcmNo", - "aXZlLnByb3RvIjkKFnRhYmxlX0NoYXJhY3RlckFyY2hpdmUSHwoEbGlzdBgB", - "IAMoCzIRLkNoYXJhY3RlckFyY2hpdmVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterArchiveReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchive), global::Nova.Client.table_CharacterArchive.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterArchive : pb::IMessage<table_CharacterArchive> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterArchive> _parser = new pb::MessageParser<table_CharacterArchive>(() => new table_CharacterArchive()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterArchive> 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.TableCharacterArchiveReflection.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 table_CharacterArchive() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchive(table_CharacterArchive other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchive Clone() { - return new table_CharacterArchive(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchive> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchive.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchive> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchive>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterArchive> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterArchive); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterArchive other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterArchive other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterArchiveBaseInfo.cs b/Novaria.Common/Protos/TableCharacterArchiveBaseInfo.cs deleted file mode 100644 index 9a6ae21..0000000 --- a/Novaria.Common/Protos/TableCharacterArchiveBaseInfo.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterArchiveBaseInfo.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 table_CharacterArchiveBaseInfo.proto</summary> - public static partial class TableCharacterArchiveBaseInfoReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterArchiveBaseInfo.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterArchiveBaseInfoReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiR0YWJsZV9DaGFyYWN0ZXJBcmNoaXZlQmFzZUluZm8ucHJvdG8aHkNoYXJh", - "Y3RlckFyY2hpdmVCYXNlSW5mby5wcm90byJJCh50YWJsZV9DaGFyYWN0ZXJB", - "cmNoaXZlQmFzZUluZm8SJwoEbGlzdBgBIAMoCzIZLkNoYXJhY3RlckFyY2hp", - "dmVCYXNlSW5mb0IOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterArchiveBaseInfoReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchiveBaseInfo), global::Nova.Client.table_CharacterArchiveBaseInfo.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterArchiveBaseInfo : pb::IMessage<table_CharacterArchiveBaseInfo> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterArchiveBaseInfo> _parser = new pb::MessageParser<table_CharacterArchiveBaseInfo>(() => new table_CharacterArchiveBaseInfo()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterArchiveBaseInfo> 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.TableCharacterArchiveBaseInfoReflection.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 table_CharacterArchiveBaseInfo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchiveBaseInfo(table_CharacterArchiveBaseInfo other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchiveBaseInfo Clone() { - return new table_CharacterArchiveBaseInfo(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchiveBaseInfo> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchiveBaseInfo.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchiveBaseInfo> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchiveBaseInfo>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterArchiveBaseInfo> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterArchiveBaseInfo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterArchiveBaseInfo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterArchiveBaseInfo other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterArchiveContent.cs b/Novaria.Common/Protos/TableCharacterArchiveContent.cs deleted file mode 100644 index fc6eada..0000000 --- a/Novaria.Common/Protos/TableCharacterArchiveContent.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterArchiveContent.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 table_CharacterArchiveContent.proto</summary> - public static partial class TableCharacterArchiveContentReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterArchiveContent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterArchiveContentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiN0YWJsZV9DaGFyYWN0ZXJBcmNoaXZlQ29udGVudC5wcm90bxodQ2hhcmFj", - "dGVyQXJjaGl2ZUNvbnRlbnQucHJvdG8iRwoddGFibGVfQ2hhcmFjdGVyQXJj", - "aGl2ZUNvbnRlbnQSJgoEbGlzdBgBIAMoCzIYLkNoYXJhY3RlckFyY2hpdmVD", - "b250ZW50Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterArchiveContentReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchiveContent), global::Nova.Client.table_CharacterArchiveContent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterArchiveContent : pb::IMessage<table_CharacterArchiveContent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterArchiveContent> _parser = new pb::MessageParser<table_CharacterArchiveContent>(() => new table_CharacterArchiveContent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterArchiveContent> 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.TableCharacterArchiveContentReflection.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 table_CharacterArchiveContent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchiveContent(table_CharacterArchiveContent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchiveContent Clone() { - return new table_CharacterArchiveContent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchiveContent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchiveContent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchiveContent> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchiveContent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterArchiveContent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterArchiveContent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterArchiveContent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterArchiveContent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterArchiveVoice.cs b/Novaria.Common/Protos/TableCharacterArchiveVoice.cs deleted file mode 100644 index bb9c2ea..0000000 --- a/Novaria.Common/Protos/TableCharacterArchiveVoice.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterArchiveVoice.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 table_CharacterArchiveVoice.proto</summary> - public static partial class TableCharacterArchiveVoiceReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterArchiveVoice.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterArchiveVoiceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9DaGFyYWN0ZXJBcmNoaXZlVm9pY2UucHJvdG8aG0NoYXJhY3Rl", - "ckFyY2hpdmVWb2ljZS5wcm90byJDCht0YWJsZV9DaGFyYWN0ZXJBcmNoaXZl", - "Vm9pY2USJAoEbGlzdBgBIAMoCzIWLkNoYXJhY3RlckFyY2hpdmVWb2ljZUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterArchiveVoiceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchiveVoice), global::Nova.Client.table_CharacterArchiveVoice.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterArchiveVoice : pb::IMessage<table_CharacterArchiveVoice> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterArchiveVoice> _parser = new pb::MessageParser<table_CharacterArchiveVoice>(() => new table_CharacterArchiveVoice()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterArchiveVoice> 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.TableCharacterArchiveVoiceReflection.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 table_CharacterArchiveVoice() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchiveVoice(table_CharacterArchiveVoice other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterArchiveVoice Clone() { - return new table_CharacterArchiveVoice(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchiveVoice> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchiveVoice.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchiveVoice> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchiveVoice>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterArchiveVoice> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterArchiveVoice); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterArchiveVoice other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterArchiveVoice other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterCG.cs b/Novaria.Common/Protos/TableCharacterCG.cs deleted file mode 100644 index 715c1b3..0000000 --- a/Novaria.Common/Protos/TableCharacterCG.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterCG.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 table_CharacterCG.proto</summary> - public static partial class TableCharacterCGReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterCG.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterCGReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9DaGFyYWN0ZXJDRy5wcm90bxoRQ2hhcmFjdGVyQ0cucHJvdG8i", - "LwoRdGFibGVfQ2hhcmFjdGVyQ0cSGgoEbGlzdBgBIAMoCzIMLkNoYXJhY3Rl", - "ckNHQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterCGReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterCG), global::Nova.Client.table_CharacterCG.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterCG : pb::IMessage<table_CharacterCG> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterCG> _parser = new pb::MessageParser<table_CharacterCG>(() => new table_CharacterCG()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterCG> 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.TableCharacterCGReflection.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 table_CharacterCG() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterCG(table_CharacterCG other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterCG Clone() { - return new table_CharacterCG(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterCG> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterCG.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterCG> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterCG>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterCG> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterCG); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterCG other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterCG other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterDes.cs b/Novaria.Common/Protos/TableCharacterDes.cs deleted file mode 100644 index 15409e1..0000000 --- a/Novaria.Common/Protos/TableCharacterDes.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterDes.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 table_CharacterDes.proto</summary> - public static partial class TableCharacterDesReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterDes.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterDesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9DaGFyYWN0ZXJEZXMucHJvdG8aEkNoYXJhY3RlckRlcy5wcm90", - "byIxChJ0YWJsZV9DaGFyYWN0ZXJEZXMSGwoEbGlzdBgBIAMoCzINLkNoYXJh", - "Y3RlckRlc0IOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterDesReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterDes), global::Nova.Client.table_CharacterDes.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterDes : pb::IMessage<table_CharacterDes> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterDes> _parser = new pb::MessageParser<table_CharacterDes>(() => new table_CharacterDes()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterDes> 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.TableCharacterDesReflection.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 table_CharacterDes() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterDes(table_CharacterDes other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterDes Clone() { - return new table_CharacterDes(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterDes> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterDes.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterDes> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterDes>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterDes> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterDes); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterDes other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterDes other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterSkillUpgrade.cs b/Novaria.Common/Protos/TableCharacterSkillUpgrade.cs deleted file mode 100644 index fec15bb..0000000 --- a/Novaria.Common/Protos/TableCharacterSkillUpgrade.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterSkillUpgrade.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 table_CharacterSkillUpgrade.proto</summary> - public static partial class TableCharacterSkillUpgradeReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterSkillUpgrade.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterSkillUpgradeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9DaGFyYWN0ZXJTa2lsbFVwZ3JhZGUucHJvdG8aG0NoYXJhY3Rl", - "clNraWxsVXBncmFkZS5wcm90byJDCht0YWJsZV9DaGFyYWN0ZXJTa2lsbFVw", - "Z3JhZGUSJAoEbGlzdBgBIAMoCzIWLkNoYXJhY3RlclNraWxsVXBncmFkZUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterSkillUpgradeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkillUpgrade), global::Nova.Client.table_CharacterSkillUpgrade.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterSkillUpgrade : pb::IMessage<table_CharacterSkillUpgrade> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterSkillUpgrade> _parser = new pb::MessageParser<table_CharacterSkillUpgrade>(() => new table_CharacterSkillUpgrade()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterSkillUpgrade> 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.TableCharacterSkillUpgradeReflection.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 table_CharacterSkillUpgrade() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkillUpgrade(table_CharacterSkillUpgrade other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkillUpgrade Clone() { - return new table_CharacterSkillUpgrade(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkillUpgrade> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkillUpgrade.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkillUpgrade> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkillUpgrade>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterSkillUpgrade> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterSkillUpgrade); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterSkillUpgrade other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterSkillUpgrade other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterSkin.cs b/Novaria.Common/Protos/TableCharacterSkin.cs deleted file mode 100644 index afdad99..0000000 --- a/Novaria.Common/Protos/TableCharacterSkin.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterSkin.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 table_CharacterSkin.proto</summary> - public static partial class TableCharacterSkinReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterSkin.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterSkinReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9DaGFyYWN0ZXJTa2luLnByb3RvGhNDaGFyYWN0ZXJTa2luLnBy", - "b3RvIjMKE3RhYmxlX0NoYXJhY3RlclNraW4SHAoEbGlzdBgBIAMoCzIOLkNo", - "YXJhY3RlclNraW5CDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterSkinReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkin), global::Nova.Client.table_CharacterSkin.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterSkin : pb::IMessage<table_CharacterSkin> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterSkin> _parser = new pb::MessageParser<table_CharacterSkin>(() => new table_CharacterSkin()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterSkin> 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.TableCharacterSkinReflection.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 table_CharacterSkin() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkin(table_CharacterSkin other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkin Clone() { - return new table_CharacterSkin(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkin> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkin.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkin> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkin>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterSkin> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterSkin); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterSkin other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterSkin other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterSkinPanelFace.cs b/Novaria.Common/Protos/TableCharacterSkinPanelFace.cs deleted file mode 100644 index 79af0fd..0000000 --- a/Novaria.Common/Protos/TableCharacterSkinPanelFace.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterSkinPanelFace.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 table_CharacterSkinPanelFace.proto</summary> - public static partial class TableCharacterSkinPanelFaceReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterSkinPanelFace.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterSkinPanelFaceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJ0YWJsZV9DaGFyYWN0ZXJTa2luUGFuZWxGYWNlLnByb3RvGhxDaGFyYWN0", - "ZXJTa2luUGFuZWxGYWNlLnByb3RvIkUKHHRhYmxlX0NoYXJhY3RlclNraW5Q", - "YW5lbEZhY2USJQoEbGlzdBgBIAMoCzIXLkNoYXJhY3RlclNraW5QYW5lbEZh", - "Y2VCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterSkinPanelFaceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkinPanelFace), global::Nova.Client.table_CharacterSkinPanelFace.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterSkinPanelFace : pb::IMessage<table_CharacterSkinPanelFace> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterSkinPanelFace> _parser = new pb::MessageParser<table_CharacterSkinPanelFace>(() => new table_CharacterSkinPanelFace()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterSkinPanelFace> 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.TableCharacterSkinPanelFaceReflection.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 table_CharacterSkinPanelFace() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkinPanelFace(table_CharacterSkinPanelFace other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkinPanelFace Clone() { - return new table_CharacterSkinPanelFace(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkinPanelFace> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkinPanelFace.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkinPanelFace> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkinPanelFace>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterSkinPanelFace> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterSkinPanelFace); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterSkinPanelFace other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterSkinPanelFace other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterSkinTheme.cs b/Novaria.Common/Protos/TableCharacterSkinTheme.cs deleted file mode 100644 index f718f98..0000000 --- a/Novaria.Common/Protos/TableCharacterSkinTheme.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterSkinTheme.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 table_CharacterSkinTheme.proto</summary> - public static partial class TableCharacterSkinThemeReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterSkinTheme.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterSkinThemeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9DaGFyYWN0ZXJTa2luVGhlbWUucHJvdG8aGENoYXJhY3RlclNr", - "aW5UaGVtZS5wcm90byI9Chh0YWJsZV9DaGFyYWN0ZXJTa2luVGhlbWUSIQoE", - "bGlzdBgBIAMoCzITLkNoYXJhY3RlclNraW5UaGVtZUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterSkinThemeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkinTheme), global::Nova.Client.table_CharacterSkinTheme.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterSkinTheme : pb::IMessage<table_CharacterSkinTheme> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterSkinTheme> _parser = new pb::MessageParser<table_CharacterSkinTheme>(() => new table_CharacterSkinTheme()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterSkinTheme> 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.TableCharacterSkinThemeReflection.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 table_CharacterSkinTheme() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkinTheme(table_CharacterSkinTheme other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterSkinTheme Clone() { - return new table_CharacterSkinTheme(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkinTheme> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkinTheme.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkinTheme> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkinTheme>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterSkinTheme> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterSkinTheme); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterSkinTheme other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterSkinTheme other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterTag.cs b/Novaria.Common/Protos/TableCharacterTag.cs deleted file mode 100644 index b97d24c..0000000 --- a/Novaria.Common/Protos/TableCharacterTag.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterTag.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 table_CharacterTag.proto</summary> - public static partial class TableCharacterTagReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterTag.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterTagReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9DaGFyYWN0ZXJUYWcucHJvdG8aEkNoYXJhY3RlclRhZy5wcm90", - "byIxChJ0YWJsZV9DaGFyYWN0ZXJUYWcSGwoEbGlzdBgBIAMoCzINLkNoYXJh", - "Y3RlclRhZ0IOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterTagReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterTag), global::Nova.Client.table_CharacterTag.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterTag : pb::IMessage<table_CharacterTag> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterTag> _parser = new pb::MessageParser<table_CharacterTag>(() => new table_CharacterTag()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterTag> 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.TableCharacterTagReflection.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 table_CharacterTag() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterTag(table_CharacterTag other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterTag Clone() { - return new table_CharacterTag(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterTag> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterTag.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterTag> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterTag>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterTag> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterTag); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterTag other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterTag other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterUpgrade.cs b/Novaria.Common/Protos/TableCharacterUpgrade.cs deleted file mode 100644 index 99a0a53..0000000 --- a/Novaria.Common/Protos/TableCharacterUpgrade.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterUpgrade.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 table_CharacterUpgrade.proto</summary> - public static partial class TableCharacterUpgradeReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterUpgrade.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterUpgradeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9DaGFyYWN0ZXJVcGdyYWRlLnByb3RvGhZDaGFyYWN0ZXJVcGdy", - "YWRlLnByb3RvIjkKFnRhYmxlX0NoYXJhY3RlclVwZ3JhZGUSHwoEbGlzdBgB", - "IAMoCzIRLkNoYXJhY3RlclVwZ3JhZGVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterUpgradeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterUpgrade), global::Nova.Client.table_CharacterUpgrade.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterUpgrade : pb::IMessage<table_CharacterUpgrade> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterUpgrade> _parser = new pb::MessageParser<table_CharacterUpgrade>(() => new table_CharacterUpgrade()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterUpgrade> 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.TableCharacterUpgradeReflection.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 table_CharacterUpgrade() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterUpgrade(table_CharacterUpgrade other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterUpgrade Clone() { - return new table_CharacterUpgrade(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterUpgrade> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterUpgrade.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterUpgrade> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterUpgrade>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterUpgrade> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterUpgrade); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterUpgrade other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterUpgrade other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableCharacterVoiceControl.cs b/Novaria.Common/Protos/TableCharacterVoiceControl.cs deleted file mode 100644 index 14d01fe..0000000 --- a/Novaria.Common/Protos/TableCharacterVoiceControl.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_CharacterVoiceControl.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 table_CharacterVoiceControl.proto</summary> - public static partial class TableCharacterVoiceControlReflection { - - #region Descriptor - /// <summary>File descriptor for table_CharacterVoiceControl.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableCharacterVoiceControlReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9DaGFyYWN0ZXJWb2ljZUNvbnRyb2wucHJvdG8aG0NoYXJhY3Rl", - "clZvaWNlQ29udHJvbC5wcm90byJDCht0YWJsZV9DaGFyYWN0ZXJWb2ljZUNv", - "bnRyb2wSJAoEbGlzdBgBIAMoCzIWLkNoYXJhY3RlclZvaWNlQ29udHJvbEIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.CharacterVoiceControlReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterVoiceControl), global::Nova.Client.table_CharacterVoiceControl.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_CharacterVoiceControl : pb::IMessage<table_CharacterVoiceControl> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_CharacterVoiceControl> _parser = new pb::MessageParser<table_CharacterVoiceControl>(() => new table_CharacterVoiceControl()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_CharacterVoiceControl> 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.TableCharacterVoiceControlReflection.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 table_CharacterVoiceControl() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterVoiceControl(table_CharacterVoiceControl other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_CharacterVoiceControl Clone() { - return new table_CharacterVoiceControl(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.CharacterVoiceControl> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterVoiceControl.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.CharacterVoiceControl> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterVoiceControl>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.CharacterVoiceControl> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_CharacterVoiceControl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_CharacterVoiceControl other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_CharacterVoiceControl other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableChat.cs b/Novaria.Common/Protos/TableChat.cs deleted file mode 100644 index 902914a..0000000 --- a/Novaria.Common/Protos/TableChat.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Chat.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 table_Chat.proto</summary> - public static partial class TableChatReflection { - - #region Descriptor - /// <summary>File descriptor for table_Chat.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableChatReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9DaGF0LnByb3RvGgpDaGF0LnByb3RvIiEKCnRhYmxlX0NoYXQS", - "EwoEbGlzdBgBIAMoCzIFLkNoYXRCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ChatReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Chat), global::Nova.Client.table_Chat.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Chat : pb::IMessage<table_Chat> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Chat> _parser = new pb::MessageParser<table_Chat>(() => new table_Chat()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Chat> 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.TableChatReflection.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 table_Chat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Chat(table_Chat other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Chat Clone() { - return new table_Chat(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Chat> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Chat.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Chat> list_ = new pbc::RepeatedField<global::Nova.Client.Chat>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Chat> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Chat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Chat other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Chat other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableChest.cs b/Novaria.Common/Protos/TableChest.cs deleted file mode 100644 index ec97153..0000000 --- a/Novaria.Common/Protos/TableChest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Chest.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 table_Chest.proto</summary> - public static partial class TableChestReflection { - - #region Descriptor - /// <summary>File descriptor for table_Chest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableChestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9DaGVzdC5wcm90bxoLQ2hlc3QucHJvdG8iIwoLdGFibGVfQ2hl", - "c3QSFAoEbGlzdBgBIAMoCzIGLkNoZXN0Qg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ChestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Chest), global::Nova.Client.table_Chest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Chest : pb::IMessage<table_Chest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Chest> _parser = new pb::MessageParser<table_Chest>(() => new table_Chest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Chest> 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.TableChestReflection.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 table_Chest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Chest(table_Chest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Chest Clone() { - return new table_Chest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Chest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Chest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Chest> list_ = new pbc::RepeatedField<global::Nova.Client.Chest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Chest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Chest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Chest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Chest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableConfig.cs b/Novaria.Common/Protos/TableConfig.cs deleted file mode 100644 index bbe2257..0000000 --- a/Novaria.Common/Protos/TableConfig.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Config.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 table_Config.proto</summary> - public static partial class TableConfigReflection { - - #region Descriptor - /// <summary>File descriptor for table_Config.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableConfigReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9Db25maWcucHJvdG8aDENvbmZpZy5wcm90byIlCgx0YWJsZV9D", - "b25maWcSFQoEbGlzdBgBIAMoCzIHLkNvbmZpZ0IOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ConfigReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Config), global::Nova.Client.table_Config.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Config : pb::IMessage<table_Config> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Config> _parser = new pb::MessageParser<table_Config>(() => new table_Config()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Config> 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.TableConfigReflection.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 table_Config() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Config(table_Config other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Config Clone() { - return new table_Config(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Config> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Config.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Config> list_ = new pbc::RepeatedField<global::Nova.Client.Config>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Config> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Config); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Config other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Config other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableContentWord.cs b/Novaria.Common/Protos/TableContentWord.cs deleted file mode 100644 index 1ff1d1a..0000000 --- a/Novaria.Common/Protos/TableContentWord.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ContentWord.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 table_ContentWord.proto</summary> - public static partial class TableContentWordReflection { - - #region Descriptor - /// <summary>File descriptor for table_ContentWord.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableContentWordReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9Db250ZW50V29yZC5wcm90bxoRQ29udGVudFdvcmQucHJvdG8i", - "LwoRdGFibGVfQ29udGVudFdvcmQSGgoEbGlzdBgBIAMoCzIMLkNvbnRlbnRX", - "b3JkQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ContentWordReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ContentWord), global::Nova.Client.table_ContentWord.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ContentWord : pb::IMessage<table_ContentWord> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ContentWord> _parser = new pb::MessageParser<table_ContentWord>(() => new table_ContentWord()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ContentWord> 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.TableContentWordReflection.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 table_ContentWord() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ContentWord(table_ContentWord other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ContentWord Clone() { - return new table_ContentWord(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ContentWord> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ContentWord.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ContentWord> list_ = new pbc::RepeatedField<global::Nova.Client.ContentWord>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ContentWord> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ContentWord); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ContentWord other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ContentWord other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyInstance.cs b/Novaria.Common/Protos/TableDailyInstance.cs deleted file mode 100644 index 1f71646..0000000 --- a/Novaria.Common/Protos/TableDailyInstance.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyInstance.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 table_DailyInstance.proto</summary> - public static partial class TableDailyInstanceReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyInstance.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyInstanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9EYWlseUluc3RhbmNlLnByb3RvGhNEYWlseUluc3RhbmNlLnBy", - "b3RvIjMKE3RhYmxlX0RhaWx5SW5zdGFuY2USHAoEbGlzdBgBIAMoCzIOLkRh", - "aWx5SW5zdGFuY2VCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyInstanceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstance), global::Nova.Client.table_DailyInstance.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyInstance : pb::IMessage<table_DailyInstance> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyInstance> _parser = new pb::MessageParser<table_DailyInstance>(() => new table_DailyInstance()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyInstance> 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.TableDailyInstanceReflection.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 table_DailyInstance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstance(table_DailyInstance other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstance Clone() { - return new table_DailyInstance(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyInstance> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstance.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyInstance> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstance>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyInstance> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyInstance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyInstance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyInstance other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyInstanceFloor.cs b/Novaria.Common/Protos/TableDailyInstanceFloor.cs deleted file mode 100644 index e98fb57..0000000 --- a/Novaria.Common/Protos/TableDailyInstanceFloor.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyInstanceFloor.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 table_DailyInstanceFloor.proto</summary> - public static partial class TableDailyInstanceFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyInstanceFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyInstanceFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9EYWlseUluc3RhbmNlRmxvb3IucHJvdG8aGERhaWx5SW5zdGFu", - "Y2VGbG9vci5wcm90byI9Chh0YWJsZV9EYWlseUluc3RhbmNlRmxvb3ISIQoE", - "bGlzdBgBIAMoCzITLkRhaWx5SW5zdGFuY2VGbG9vckIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyInstanceFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstanceFloor), global::Nova.Client.table_DailyInstanceFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyInstanceFloor : pb::IMessage<table_DailyInstanceFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyInstanceFloor> _parser = new pb::MessageParser<table_DailyInstanceFloor>(() => new table_DailyInstanceFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyInstanceFloor> 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.TableDailyInstanceFloorReflection.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 table_DailyInstanceFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstanceFloor(table_DailyInstanceFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstanceFloor Clone() { - return new table_DailyInstanceFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyInstanceFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstanceFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyInstanceFloor> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstanceFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyInstanceFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyInstanceFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyInstanceFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyInstanceFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyInstanceRewardGroup.cs b/Novaria.Common/Protos/TableDailyInstanceRewardGroup.cs deleted file mode 100644 index 4477d3b..0000000 --- a/Novaria.Common/Protos/TableDailyInstanceRewardGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyInstanceRewardGroup.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 table_DailyInstanceRewardGroup.proto</summary> - public static partial class TableDailyInstanceRewardGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyInstanceRewardGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyInstanceRewardGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiR0YWJsZV9EYWlseUluc3RhbmNlUmV3YXJkR3JvdXAucHJvdG8aHkRhaWx5", - "SW5zdGFuY2VSZXdhcmRHcm91cC5wcm90byJJCh50YWJsZV9EYWlseUluc3Rh", - "bmNlUmV3YXJkR3JvdXASJwoEbGlzdBgBIAMoCzIZLkRhaWx5SW5zdGFuY2VS", - "ZXdhcmRHcm91cEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyInstanceRewardGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstanceRewardGroup), global::Nova.Client.table_DailyInstanceRewardGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyInstanceRewardGroup : pb::IMessage<table_DailyInstanceRewardGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyInstanceRewardGroup> _parser = new pb::MessageParser<table_DailyInstanceRewardGroup>(() => new table_DailyInstanceRewardGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyInstanceRewardGroup> 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.TableDailyInstanceRewardGroupReflection.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 table_DailyInstanceRewardGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstanceRewardGroup(table_DailyInstanceRewardGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstanceRewardGroup Clone() { - return new table_DailyInstanceRewardGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyInstanceRewardGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstanceRewardGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyInstanceRewardGroup> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstanceRewardGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyInstanceRewardGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyInstanceRewardGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyInstanceRewardGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyInstanceRewardGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyInstanceType.cs b/Novaria.Common/Protos/TableDailyInstanceType.cs deleted file mode 100644 index 3ed0e48..0000000 --- a/Novaria.Common/Protos/TableDailyInstanceType.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyInstanceType.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 table_DailyInstanceType.proto</summary> - public static partial class TableDailyInstanceTypeReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyInstanceType.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyInstanceTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9EYWlseUluc3RhbmNlVHlwZS5wcm90bxoXRGFpbHlJbnN0YW5j", - "ZVR5cGUucHJvdG8iOwoXdGFibGVfRGFpbHlJbnN0YW5jZVR5cGUSIAoEbGlz", - "dBgBIAMoCzISLkRhaWx5SW5zdGFuY2VUeXBlQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyInstanceTypeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstanceType), global::Nova.Client.table_DailyInstanceType.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyInstanceType : pb::IMessage<table_DailyInstanceType> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyInstanceType> _parser = new pb::MessageParser<table_DailyInstanceType>(() => new table_DailyInstanceType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyInstanceType> 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.TableDailyInstanceTypeReflection.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 table_DailyInstanceType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstanceType(table_DailyInstanceType other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyInstanceType Clone() { - return new table_DailyInstanceType(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyInstanceType> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstanceType.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyInstanceType> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstanceType>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyInstanceType> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyInstanceType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyInstanceType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyInstanceType other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyQuest.cs b/Novaria.Common/Protos/TableDailyQuest.cs deleted file mode 100644 index 39b7627..0000000 --- a/Novaria.Common/Protos/TableDailyQuest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyQuest.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 table_DailyQuest.proto</summary> - public static partial class TableDailyQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9EYWlseVF1ZXN0LnByb3RvGhBEYWlseVF1ZXN0LnByb3RvIi0K", - "EHRhYmxlX0RhaWx5UXVlc3QSGQoEbGlzdBgBIAMoCzILLkRhaWx5UXVlc3RC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyQuest), global::Nova.Client.table_DailyQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyQuest : pb::IMessage<table_DailyQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyQuest> _parser = new pb::MessageParser<table_DailyQuest>(() => new table_DailyQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyQuest> 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.TableDailyQuestReflection.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 table_DailyQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyQuest(table_DailyQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyQuest Clone() { - return new table_DailyQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyQuest> list_ = new pbc::RepeatedField<global::Nova.Client.DailyQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyQuestActive.cs b/Novaria.Common/Protos/TableDailyQuestActive.cs deleted file mode 100644 index ab5e80a..0000000 --- a/Novaria.Common/Protos/TableDailyQuestActive.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyQuestActive.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 table_DailyQuestActive.proto</summary> - public static partial class TableDailyQuestActiveReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyQuestActive.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyQuestActiveReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9EYWlseVF1ZXN0QWN0aXZlLnByb3RvGhZEYWlseVF1ZXN0QWN0", - "aXZlLnByb3RvIjkKFnRhYmxlX0RhaWx5UXVlc3RBY3RpdmUSHwoEbGlzdBgB", - "IAMoCzIRLkRhaWx5UXVlc3RBY3RpdmVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyQuestActiveReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyQuestActive), global::Nova.Client.table_DailyQuestActive.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyQuestActive : pb::IMessage<table_DailyQuestActive> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyQuestActive> _parser = new pb::MessageParser<table_DailyQuestActive>(() => new table_DailyQuestActive()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyQuestActive> 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.TableDailyQuestActiveReflection.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 table_DailyQuestActive() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyQuestActive(table_DailyQuestActive other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyQuestActive Clone() { - return new table_DailyQuestActive(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyQuestActive> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyQuestActive.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyQuestActive> list_ = new pbc::RepeatedField<global::Nova.Client.DailyQuestActive>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyQuestActive> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyQuestActive); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyQuestActive other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyQuestActive other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDailyQuestAward.cs b/Novaria.Common/Protos/TableDailyQuestAward.cs deleted file mode 100644 index 0d1716b..0000000 --- a/Novaria.Common/Protos/TableDailyQuestAward.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DailyQuestAward.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 table_DailyQuestAward.proto</summary> - public static partial class TableDailyQuestAwardReflection { - - #region Descriptor - /// <summary>File descriptor for table_DailyQuestAward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDailyQuestAwardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9EYWlseVF1ZXN0QXdhcmQucHJvdG8aFURhaWx5UXVlc3RBd2Fy", - "ZC5wcm90byI3ChV0YWJsZV9EYWlseVF1ZXN0QXdhcmQSHgoEbGlzdBgBIAMo", - "CzIQLkRhaWx5UXVlc3RBd2FyZEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DailyQuestAwardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyQuestAward), global::Nova.Client.table_DailyQuestAward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DailyQuestAward : pb::IMessage<table_DailyQuestAward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DailyQuestAward> _parser = new pb::MessageParser<table_DailyQuestAward>(() => new table_DailyQuestAward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DailyQuestAward> 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.TableDailyQuestAwardReflection.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 table_DailyQuestAward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyQuestAward(table_DailyQuestAward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DailyQuestAward Clone() { - return new table_DailyQuestAward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DailyQuestAward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyQuestAward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DailyQuestAward> list_ = new pbc::RepeatedField<global::Nova.Client.DailyQuestAward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DailyQuestAward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DailyQuestAward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DailyQuestAward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DailyQuestAward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDatingCharResponse.cs b/Novaria.Common/Protos/TableDatingCharResponse.cs deleted file mode 100644 index 73738ba..0000000 --- a/Novaria.Common/Protos/TableDatingCharResponse.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DatingCharResponse.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 table_DatingCharResponse.proto</summary> - public static partial class TableDatingCharResponseReflection { - - #region Descriptor - /// <summary>File descriptor for table_DatingCharResponse.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDatingCharResponseReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9EYXRpbmdDaGFyUmVzcG9uc2UucHJvdG8aGERhdGluZ0NoYXJS", - "ZXNwb25zZS5wcm90byI9Chh0YWJsZV9EYXRpbmdDaGFyUmVzcG9uc2USIQoE", - "bGlzdBgBIAMoCzITLkRhdGluZ0NoYXJSZXNwb25zZUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DatingCharResponseReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DatingCharResponse), global::Nova.Client.table_DatingCharResponse.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DatingCharResponse : pb::IMessage<table_DatingCharResponse> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DatingCharResponse> _parser = new pb::MessageParser<table_DatingCharResponse>(() => new table_DatingCharResponse()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DatingCharResponse> 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.TableDatingCharResponseReflection.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 table_DatingCharResponse() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DatingCharResponse(table_DatingCharResponse other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DatingCharResponse Clone() { - return new table_DatingCharResponse(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DatingCharResponse> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DatingCharResponse.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DatingCharResponse> list_ = new pbc::RepeatedField<global::Nova.Client.DatingCharResponse>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DatingCharResponse> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DatingCharResponse); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DatingCharResponse other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DatingCharResponse other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDatingEvent.cs b/Novaria.Common/Protos/TableDatingEvent.cs deleted file mode 100644 index 3fe91dd..0000000 --- a/Novaria.Common/Protos/TableDatingEvent.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DatingEvent.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 table_DatingEvent.proto</summary> - public static partial class TableDatingEventReflection { - - #region Descriptor - /// <summary>File descriptor for table_DatingEvent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDatingEventReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9EYXRpbmdFdmVudC5wcm90bxoRRGF0aW5nRXZlbnQucHJvdG8i", - "LwoRdGFibGVfRGF0aW5nRXZlbnQSGgoEbGlzdBgBIAMoCzIMLkRhdGluZ0V2", - "ZW50Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DatingEventReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DatingEvent), global::Nova.Client.table_DatingEvent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DatingEvent : pb::IMessage<table_DatingEvent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DatingEvent> _parser = new pb::MessageParser<table_DatingEvent>(() => new table_DatingEvent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DatingEvent> 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.TableDatingEventReflection.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 table_DatingEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DatingEvent(table_DatingEvent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DatingEvent Clone() { - return new table_DatingEvent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DatingEvent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DatingEvent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DatingEvent> list_ = new pbc::RepeatedField<global::Nova.Client.DatingEvent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DatingEvent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DatingEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DatingEvent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DatingEvent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDatingLandmark.cs b/Novaria.Common/Protos/TableDatingLandmark.cs deleted file mode 100644 index e452dc6..0000000 --- a/Novaria.Common/Protos/TableDatingLandmark.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DatingLandmark.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 table_DatingLandmark.proto</summary> - public static partial class TableDatingLandmarkReflection { - - #region Descriptor - /// <summary>File descriptor for table_DatingLandmark.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDatingLandmarkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9EYXRpbmdMYW5kbWFyay5wcm90bxoURGF0aW5nTGFuZG1hcmsu", - "cHJvdG8iNQoUdGFibGVfRGF0aW5nTGFuZG1hcmsSHQoEbGlzdBgBIAMoCzIP", - "LkRhdGluZ0xhbmRtYXJrQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DatingLandmarkReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DatingLandmark), global::Nova.Client.table_DatingLandmark.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DatingLandmark : pb::IMessage<table_DatingLandmark> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DatingLandmark> _parser = new pb::MessageParser<table_DatingLandmark>(() => new table_DatingLandmark()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DatingLandmark> 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.TableDatingLandmarkReflection.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 table_DatingLandmark() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DatingLandmark(table_DatingLandmark other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DatingLandmark Clone() { - return new table_DatingLandmark(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DatingLandmark> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DatingLandmark.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DatingLandmark> list_ = new pbc::RepeatedField<global::Nova.Client.DatingLandmark>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DatingLandmark> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DatingLandmark); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DatingLandmark other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DatingLandmark other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDictionaryDiagram.cs b/Novaria.Common/Protos/TableDictionaryDiagram.cs deleted file mode 100644 index 449f2d9..0000000 --- a/Novaria.Common/Protos/TableDictionaryDiagram.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DictionaryDiagram.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 table_DictionaryDiagram.proto</summary> - public static partial class TableDictionaryDiagramReflection { - - #region Descriptor - /// <summary>File descriptor for table_DictionaryDiagram.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDictionaryDiagramReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9EaWN0aW9uYXJ5RGlhZ3JhbS5wcm90bxoXRGljdGlvbmFyeURp", - "YWdyYW0ucHJvdG8iOwoXdGFibGVfRGljdGlvbmFyeURpYWdyYW0SIAoEbGlz", - "dBgBIAMoCzISLkRpY3Rpb25hcnlEaWFncmFtQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DictionaryDiagramReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryDiagram), global::Nova.Client.table_DictionaryDiagram.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DictionaryDiagram : pb::IMessage<table_DictionaryDiagram> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DictionaryDiagram> _parser = new pb::MessageParser<table_DictionaryDiagram>(() => new table_DictionaryDiagram()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DictionaryDiagram> 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.TableDictionaryDiagramReflection.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 table_DictionaryDiagram() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryDiagram(table_DictionaryDiagram other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryDiagram Clone() { - return new table_DictionaryDiagram(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DictionaryDiagram> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryDiagram.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DictionaryDiagram> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryDiagram>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DictionaryDiagram> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DictionaryDiagram); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DictionaryDiagram other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DictionaryDiagram other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDictionaryEntry.cs b/Novaria.Common/Protos/TableDictionaryEntry.cs deleted file mode 100644 index b514639..0000000 --- a/Novaria.Common/Protos/TableDictionaryEntry.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DictionaryEntry.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 table_DictionaryEntry.proto</summary> - public static partial class TableDictionaryEntryReflection { - - #region Descriptor - /// <summary>File descriptor for table_DictionaryEntry.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDictionaryEntryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9EaWN0aW9uYXJ5RW50cnkucHJvdG8aFURpY3Rpb25hcnlFbnRy", - "eS5wcm90byI3ChV0YWJsZV9EaWN0aW9uYXJ5RW50cnkSHgoEbGlzdBgBIAMo", - "CzIQLkRpY3Rpb25hcnlFbnRyeUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DictionaryEntryReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryEntry), global::Nova.Client.table_DictionaryEntry.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DictionaryEntry : pb::IMessage<table_DictionaryEntry> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DictionaryEntry> _parser = new pb::MessageParser<table_DictionaryEntry>(() => new table_DictionaryEntry()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DictionaryEntry> 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.TableDictionaryEntryReflection.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 table_DictionaryEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryEntry(table_DictionaryEntry other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryEntry Clone() { - return new table_DictionaryEntry(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DictionaryEntry> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryEntry.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DictionaryEntry> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryEntry>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DictionaryEntry> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DictionaryEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DictionaryEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DictionaryEntry other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDictionaryTab.cs b/Novaria.Common/Protos/TableDictionaryTab.cs deleted file mode 100644 index 5a22e36..0000000 --- a/Novaria.Common/Protos/TableDictionaryTab.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DictionaryTab.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 table_DictionaryTab.proto</summary> - public static partial class TableDictionaryTabReflection { - - #region Descriptor - /// <summary>File descriptor for table_DictionaryTab.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDictionaryTabReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9EaWN0aW9uYXJ5VGFiLnByb3RvGhNEaWN0aW9uYXJ5VGFiLnBy", - "b3RvIjMKE3RhYmxlX0RpY3Rpb25hcnlUYWISHAoEbGlzdBgBIAMoCzIOLkRp", - "Y3Rpb25hcnlUYWJCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DictionaryTabReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryTab), global::Nova.Client.table_DictionaryTab.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DictionaryTab : pb::IMessage<table_DictionaryTab> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DictionaryTab> _parser = new pb::MessageParser<table_DictionaryTab>(() => new table_DictionaryTab()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DictionaryTab> 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.TableDictionaryTabReflection.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 table_DictionaryTab() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryTab(table_DictionaryTab other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryTab Clone() { - return new table_DictionaryTab(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DictionaryTab> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryTab.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DictionaryTab> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryTab>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DictionaryTab> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DictionaryTab); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DictionaryTab other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DictionaryTab other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDictionaryTopBarEntry.cs b/Novaria.Common/Protos/TableDictionaryTopBarEntry.cs deleted file mode 100644 index 624732e..0000000 --- a/Novaria.Common/Protos/TableDictionaryTopBarEntry.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DictionaryTopBarEntry.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 table_DictionaryTopBarEntry.proto</summary> - public static partial class TableDictionaryTopBarEntryReflection { - - #region Descriptor - /// <summary>File descriptor for table_DictionaryTopBarEntry.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDictionaryTopBarEntryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9EaWN0aW9uYXJ5VG9wQmFyRW50cnkucHJvdG8aG0RpY3Rpb25h", - "cnlUb3BCYXJFbnRyeS5wcm90byJDCht0YWJsZV9EaWN0aW9uYXJ5VG9wQmFy", - "RW50cnkSJAoEbGlzdBgBIAMoCzIWLkRpY3Rpb25hcnlUb3BCYXJFbnRyeUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DictionaryTopBarEntryReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryTopBarEntry), global::Nova.Client.table_DictionaryTopBarEntry.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DictionaryTopBarEntry : pb::IMessage<table_DictionaryTopBarEntry> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DictionaryTopBarEntry> _parser = new pb::MessageParser<table_DictionaryTopBarEntry>(() => new table_DictionaryTopBarEntry()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DictionaryTopBarEntry> 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.TableDictionaryTopBarEntryReflection.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 table_DictionaryTopBarEntry() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryTopBarEntry(table_DictionaryTopBarEntry other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DictionaryTopBarEntry Clone() { - return new table_DictionaryTopBarEntry(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DictionaryTopBarEntry> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryTopBarEntry.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DictionaryTopBarEntry> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryTopBarEntry>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DictionaryTopBarEntry> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DictionaryTopBarEntry); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DictionaryTopBarEntry other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DictionaryTopBarEntry other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDisc.cs b/Novaria.Common/Protos/TableDisc.cs deleted file mode 100644 index 050235f..0000000 --- a/Novaria.Common/Protos/TableDisc.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_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 table_Disc.proto</summary> - public static partial class TableDiscReflection { - - #region Descriptor - /// <summary>File descriptor for table_Disc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9EaXNjLnByb3RvGgpEaXNjLnByb3RvIiEKCnRhYmxlX0Rpc2MS", - "EwoEbGlzdBgBIAMoCzIFLkRpc2NCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Disc), global::Nova.Client.table_Disc.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Disc : pb::IMessage<table_Disc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Disc> _parser = new pb::MessageParser<table_Disc>(() => new table_Disc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_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.TableDiscReflection.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 table_Disc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Disc(table_Disc other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Disc Clone() { - return new table_Disc(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Disc> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Disc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Disc> list_ = new pbc::RepeatedField<global::Nova.Client.Disc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Disc> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Disc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Disc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Disc other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscCommonSkill.cs b/Novaria.Common/Protos/TableDiscCommonSkill.cs deleted file mode 100644 index 911e561..0000000 --- a/Novaria.Common/Protos/TableDiscCommonSkill.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscCommonSkill.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 table_DiscCommonSkill.proto</summary> - public static partial class TableDiscCommonSkillReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscCommonSkill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscCommonSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9EaXNjQ29tbW9uU2tpbGwucHJvdG8aFURpc2NDb21tb25Ta2ls", - "bC5wcm90byI3ChV0YWJsZV9EaXNjQ29tbW9uU2tpbGwSHgoEbGlzdBgBIAMo", - "CzIQLkRpc2NDb21tb25Ta2lsbEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscCommonSkillReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscCommonSkill), global::Nova.Client.table_DiscCommonSkill.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscCommonSkill : pb::IMessage<table_DiscCommonSkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscCommonSkill> _parser = new pb::MessageParser<table_DiscCommonSkill>(() => new table_DiscCommonSkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscCommonSkill> 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.TableDiscCommonSkillReflection.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 table_DiscCommonSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscCommonSkill(table_DiscCommonSkill other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscCommonSkill Clone() { - return new table_DiscCommonSkill(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscCommonSkill> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscCommonSkill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscCommonSkill> list_ = new pbc::RepeatedField<global::Nova.Client.DiscCommonSkill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscCommonSkill> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscCommonSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscCommonSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscCommonSkill other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscItemExp.cs b/Novaria.Common/Protos/TableDiscItemExp.cs deleted file mode 100644 index 86254a5..0000000 --- a/Novaria.Common/Protos/TableDiscItemExp.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscItemExp.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 table_DiscItemExp.proto</summary> - public static partial class TableDiscItemExpReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscItemExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscItemExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9EaXNjSXRlbUV4cC5wcm90bxoRRGlzY0l0ZW1FeHAucHJvdG8i", - "LwoRdGFibGVfRGlzY0l0ZW1FeHASGgoEbGlzdBgBIAMoCzIMLkRpc2NJdGVt", - "RXhwQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscItemExpReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscItemExp), global::Nova.Client.table_DiscItemExp.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscItemExp : pb::IMessage<table_DiscItemExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscItemExp> _parser = new pb::MessageParser<table_DiscItemExp>(() => new table_DiscItemExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscItemExp> 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.TableDiscItemExpReflection.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 table_DiscItemExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscItemExp(table_DiscItemExp other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscItemExp Clone() { - return new table_DiscItemExp(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscItemExp> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscItemExp.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscItemExp> list_ = new pbc::RepeatedField<global::Nova.Client.DiscItemExp>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscItemExp> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscItemExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscItemExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscItemExp other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscPassiveSkill.cs b/Novaria.Common/Protos/TableDiscPassiveSkill.cs deleted file mode 100644 index a5f734c..0000000 --- a/Novaria.Common/Protos/TableDiscPassiveSkill.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscPassiveSkill.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 table_DiscPassiveSkill.proto</summary> - public static partial class TableDiscPassiveSkillReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscPassiveSkill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscPassiveSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9EaXNjUGFzc2l2ZVNraWxsLnByb3RvGhZEaXNjUGFzc2l2ZVNr", - "aWxsLnByb3RvIjkKFnRhYmxlX0Rpc2NQYXNzaXZlU2tpbGwSHwoEbGlzdBgB", - "IAMoCzIRLkRpc2NQYXNzaXZlU2tpbGxCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscPassiveSkillReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscPassiveSkill), global::Nova.Client.table_DiscPassiveSkill.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscPassiveSkill : pb::IMessage<table_DiscPassiveSkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscPassiveSkill> _parser = new pb::MessageParser<table_DiscPassiveSkill>(() => new table_DiscPassiveSkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscPassiveSkill> 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.TableDiscPassiveSkillReflection.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 table_DiscPassiveSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscPassiveSkill(table_DiscPassiveSkill other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscPassiveSkill Clone() { - return new table_DiscPassiveSkill(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscPassiveSkill> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscPassiveSkill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscPassiveSkill> list_ = new pbc::RepeatedField<global::Nova.Client.DiscPassiveSkill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscPassiveSkill> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscPassiveSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscPassiveSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscPassiveSkill other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscPromote.cs b/Novaria.Common/Protos/TableDiscPromote.cs deleted file mode 100644 index 493ca0a..0000000 --- a/Novaria.Common/Protos/TableDiscPromote.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscPromote.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 table_DiscPromote.proto</summary> - public static partial class TableDiscPromoteReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscPromote.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscPromoteReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9EaXNjUHJvbW90ZS5wcm90bxoRRGlzY1Byb21vdGUucHJvdG8i", - "LwoRdGFibGVfRGlzY1Byb21vdGUSGgoEbGlzdBgBIAMoCzIMLkRpc2NQcm9t", - "b3RlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscPromoteReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscPromote), global::Nova.Client.table_DiscPromote.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscPromote : pb::IMessage<table_DiscPromote> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscPromote> _parser = new pb::MessageParser<table_DiscPromote>(() => new table_DiscPromote()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscPromote> 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.TableDiscPromoteReflection.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 table_DiscPromote() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscPromote(table_DiscPromote other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscPromote Clone() { - return new table_DiscPromote(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscPromote> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscPromote.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscPromote> list_ = new pbc::RepeatedField<global::Nova.Client.DiscPromote>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscPromote> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscPromote); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscPromote other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscPromote other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscPromoteLimit.cs b/Novaria.Common/Protos/TableDiscPromoteLimit.cs deleted file mode 100644 index 52c44e9..0000000 --- a/Novaria.Common/Protos/TableDiscPromoteLimit.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscPromoteLimit.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 table_DiscPromoteLimit.proto</summary> - public static partial class TableDiscPromoteLimitReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscPromoteLimit.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscPromoteLimitReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9EaXNjUHJvbW90ZUxpbWl0LnByb3RvGhZEaXNjUHJvbW90ZUxp", - "bWl0LnByb3RvIjkKFnRhYmxlX0Rpc2NQcm9tb3RlTGltaXQSHwoEbGlzdBgB", - "IAMoCzIRLkRpc2NQcm9tb3RlTGltaXRCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscPromoteLimitReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscPromoteLimit), global::Nova.Client.table_DiscPromoteLimit.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscPromoteLimit : pb::IMessage<table_DiscPromoteLimit> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscPromoteLimit> _parser = new pb::MessageParser<table_DiscPromoteLimit>(() => new table_DiscPromoteLimit()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscPromoteLimit> 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.TableDiscPromoteLimitReflection.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 table_DiscPromoteLimit() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscPromoteLimit(table_DiscPromoteLimit other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscPromoteLimit Clone() { - return new table_DiscPromoteLimit(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscPromoteLimit> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscPromoteLimit.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscPromoteLimit> list_ = new pbc::RepeatedField<global::Nova.Client.DiscPromoteLimit>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscPromoteLimit> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscPromoteLimit); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscPromoteLimit other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscPromoteLimit other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscStrengthen.cs b/Novaria.Common/Protos/TableDiscStrengthen.cs deleted file mode 100644 index 326b29d..0000000 --- a/Novaria.Common/Protos/TableDiscStrengthen.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscStrengthen.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 table_DiscStrengthen.proto</summary> - public static partial class TableDiscStrengthenReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscStrengthen.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscStrengthenReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9EaXNjU3RyZW5ndGhlbi5wcm90bxoURGlzY1N0cmVuZ3RoZW4u", - "cHJvdG8iNQoUdGFibGVfRGlzY1N0cmVuZ3RoZW4SHQoEbGlzdBgBIAMoCzIP", - "LkRpc2NTdHJlbmd0aGVuQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscStrengthenReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscStrengthen), global::Nova.Client.table_DiscStrengthen.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscStrengthen : pb::IMessage<table_DiscStrengthen> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscStrengthen> _parser = new pb::MessageParser<table_DiscStrengthen>(() => new table_DiscStrengthen()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscStrengthen> 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.TableDiscStrengthenReflection.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 table_DiscStrengthen() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscStrengthen(table_DiscStrengthen other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscStrengthen Clone() { - return new table_DiscStrengthen(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscStrengthen> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscStrengthen.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscStrengthen> list_ = new pbc::RepeatedField<global::Nova.Client.DiscStrengthen>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscStrengthen> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscStrengthen); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscStrengthen other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscStrengthen other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDiscTag.cs b/Novaria.Common/Protos/TableDiscTag.cs deleted file mode 100644 index e5435e4..0000000 --- a/Novaria.Common/Protos/TableDiscTag.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DiscTag.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 table_DiscTag.proto</summary> - public static partial class TableDiscTagReflection { - - #region Descriptor - /// <summary>File descriptor for table_DiscTag.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDiscTagReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9EaXNjVGFnLnByb3RvGg1EaXNjVGFnLnByb3RvIicKDXRhYmxl", - "X0Rpc2NUYWcSFgoEbGlzdBgBIAMoCzIILkRpc2NUYWdCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DiscTagReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscTag), global::Nova.Client.table_DiscTag.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DiscTag : pb::IMessage<table_DiscTag> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DiscTag> _parser = new pb::MessageParser<table_DiscTag>(() => new table_DiscTag()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DiscTag> 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.TableDiscTagReflection.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 table_DiscTag() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscTag(table_DiscTag other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DiscTag Clone() { - return new table_DiscTag(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DiscTag> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscTag.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DiscTag> list_ = new pbc::RepeatedField<global::Nova.Client.DiscTag>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DiscTag> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DiscTag); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DiscTag other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DiscTag other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDrop.cs b/Novaria.Common/Protos/TableDrop.cs deleted file mode 100644 index 18b0fbd..0000000 --- a/Novaria.Common/Protos/TableDrop.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Drop.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 table_Drop.proto</summary> - public static partial class TableDropReflection { - - #region Descriptor - /// <summary>File descriptor for table_Drop.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDropReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9Ecm9wLnByb3RvGgpEcm9wLnByb3RvIiEKCnRhYmxlX0Ryb3AS", - "EwoEbGlzdBgBIAMoCzIFLkRyb3BCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DropReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Drop), global::Nova.Client.table_Drop.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Drop : pb::IMessage<table_Drop> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Drop> _parser = new pb::MessageParser<table_Drop>(() => new table_Drop()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Drop> 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.TableDropReflection.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 table_Drop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Drop(table_Drop other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Drop Clone() { - return new table_Drop(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Drop> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Drop.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Drop> list_ = new pbc::RepeatedField<global::Nova.Client.Drop>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Drop> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Drop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Drop other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Drop other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDropItemShow.cs b/Novaria.Common/Protos/TableDropItemShow.cs deleted file mode 100644 index 0e4b81e..0000000 --- a/Novaria.Common/Protos/TableDropItemShow.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DropItemShow.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 table_DropItemShow.proto</summary> - public static partial class TableDropItemShowReflection { - - #region Descriptor - /// <summary>File descriptor for table_DropItemShow.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDropItemShowReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9Ecm9wSXRlbVNob3cucHJvdG8aEkRyb3BJdGVtU2hvdy5wcm90", - "byIxChJ0YWJsZV9Ecm9wSXRlbVNob3cSGwoEbGlzdBgBIAMoCzINLkRyb3BJ", - "dGVtU2hvd0IOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DropItemShowReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropItemShow), global::Nova.Client.table_DropItemShow.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DropItemShow : pb::IMessage<table_DropItemShow> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DropItemShow> _parser = new pb::MessageParser<table_DropItemShow>(() => new table_DropItemShow()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DropItemShow> 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.TableDropItemShowReflection.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 table_DropItemShow() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropItemShow(table_DropItemShow other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropItemShow Clone() { - return new table_DropItemShow(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DropItemShow> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropItemShow.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DropItemShow> list_ = new pbc::RepeatedField<global::Nova.Client.DropItemShow>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DropItemShow> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DropItemShow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DropItemShow other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DropItemShow other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDropObject.cs b/Novaria.Common/Protos/TableDropObject.cs deleted file mode 100644 index 6a1c948..0000000 --- a/Novaria.Common/Protos/TableDropObject.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DropObject.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 table_DropObject.proto</summary> - public static partial class TableDropObjectReflection { - - #region Descriptor - /// <summary>File descriptor for table_DropObject.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDropObjectReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9Ecm9wT2JqZWN0LnByb3RvGhBEcm9wT2JqZWN0LnByb3RvIi0K", - "EHRhYmxlX0Ryb3BPYmplY3QSGQoEbGlzdBgBIAMoCzILLkRyb3BPYmplY3RC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DropObjectReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropObject), global::Nova.Client.table_DropObject.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DropObject : pb::IMessage<table_DropObject> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DropObject> _parser = new pb::MessageParser<table_DropObject>(() => new table_DropObject()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DropObject> 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.TableDropObjectReflection.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 table_DropObject() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropObject(table_DropObject other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropObject Clone() { - return new table_DropObject(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DropObject> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropObject.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DropObject> list_ = new pbc::RepeatedField<global::Nova.Client.DropObject>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DropObject> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DropObject); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DropObject other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DropObject other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDropObjectGroup.cs b/Novaria.Common/Protos/TableDropObjectGroup.cs deleted file mode 100644 index 6c3fa0a..0000000 --- a/Novaria.Common/Protos/TableDropObjectGroup.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DropObjectGroup.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 table_DropObjectGroup.proto</summary> - public static partial class TableDropObjectGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_DropObjectGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDropObjectGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9Ecm9wT2JqZWN0R3JvdXAucHJvdG8aFURyb3BPYmplY3RHcm91", - "cC5wcm90byI3ChV0YWJsZV9Ecm9wT2JqZWN0R3JvdXASHgoEbGlzdBgBIAMo", - "CzIQLkRyb3BPYmplY3RHcm91cEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DropObjectGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropObjectGroup), global::Nova.Client.table_DropObjectGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DropObjectGroup : pb::IMessage<table_DropObjectGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DropObjectGroup> _parser = new pb::MessageParser<table_DropObjectGroup>(() => new table_DropObjectGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DropObjectGroup> 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.TableDropObjectGroupReflection.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 table_DropObjectGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropObjectGroup(table_DropObjectGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropObjectGroup Clone() { - return new table_DropObjectGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DropObjectGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropObjectGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DropObjectGroup> list_ = new pbc::RepeatedField<global::Nova.Client.DropObjectGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DropObjectGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DropObjectGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DropObjectGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DropObjectGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableDropPkg.cs b/Novaria.Common/Protos/TableDropPkg.cs deleted file mode 100644 index 3ab60bc..0000000 --- a/Novaria.Common/Protos/TableDropPkg.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_DropPkg.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 table_DropPkg.proto</summary> - public static partial class TableDropPkgReflection { - - #region Descriptor - /// <summary>File descriptor for table_DropPkg.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableDropPkgReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9Ecm9wUGtnLnByb3RvGg1Ecm9wUGtnLnByb3RvIicKDXRhYmxl", - "X0Ryb3BQa2cSFgoEbGlzdBgBIAMoCzIILkRyb3BQa2dCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.DropPkgReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropPkg), global::Nova.Client.table_DropPkg.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_DropPkg : pb::IMessage<table_DropPkg> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_DropPkg> _parser = new pb::MessageParser<table_DropPkg>(() => new table_DropPkg()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_DropPkg> 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.TableDropPkgReflection.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 table_DropPkg() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropPkg(table_DropPkg other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_DropPkg Clone() { - return new table_DropPkg(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.DropPkg> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropPkg.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.DropPkg> list_ = new pbc::RepeatedField<global::Nova.Client.DropPkg>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.DropPkg> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_DropPkg); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_DropPkg other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_DropPkg other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEffect.cs b/Novaria.Common/Protos/TableEffect.cs deleted file mode 100644 index 4b073bb..0000000 --- a/Novaria.Common/Protos/TableEffect.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Effect.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 table_Effect.proto</summary> - public static partial class TableEffectReflection { - - #region Descriptor - /// <summary>File descriptor for table_Effect.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEffectReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9FZmZlY3QucHJvdG8aDEVmZmVjdC5wcm90byIlCgx0YWJsZV9F", - "ZmZlY3QSFQoEbGlzdBgBIAMoCzIHLkVmZmVjdEIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EffectReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Effect), global::Nova.Client.table_Effect.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Effect : pb::IMessage<table_Effect> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Effect> _parser = new pb::MessageParser<table_Effect>(() => new table_Effect()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Effect> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Nova.Client.TableEffectReflection.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 table_Effect() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Effect(table_Effect other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Effect Clone() { - return new table_Effect(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Effect> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Effect.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Effect> list_ = new pbc::RepeatedField<global::Nova.Client.Effect>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Effect> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Effect); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Effect other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Effect other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEffectDesc.cs b/Novaria.Common/Protos/TableEffectDesc.cs deleted file mode 100644 index 1bece70..0000000 --- a/Novaria.Common/Protos/TableEffectDesc.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EffectDesc.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 table_EffectDesc.proto</summary> - public static partial class TableEffectDescReflection { - - #region Descriptor - /// <summary>File descriptor for table_EffectDesc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEffectDescReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9FZmZlY3REZXNjLnByb3RvGhBFZmZlY3REZXNjLnByb3RvIi0K", - "EHRhYmxlX0VmZmVjdERlc2MSGQoEbGlzdBgBIAMoCzILLkVmZmVjdERlc2NC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EffectDescReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EffectDesc), global::Nova.Client.table_EffectDesc.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EffectDesc : pb::IMessage<table_EffectDesc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EffectDesc> _parser = new pb::MessageParser<table_EffectDesc>(() => new table_EffectDesc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EffectDesc> 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.TableEffectDescReflection.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 table_EffectDesc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EffectDesc(table_EffectDesc other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EffectDesc Clone() { - return new table_EffectDesc(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EffectDesc> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EffectDesc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EffectDesc> list_ = new pbc::RepeatedField<global::Nova.Client.EffectDesc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EffectDesc> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EffectDesc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EffectDesc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EffectDesc other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEffectValue.cs b/Novaria.Common/Protos/TableEffectValue.cs deleted file mode 100644 index 568b48a..0000000 --- a/Novaria.Common/Protos/TableEffectValue.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EffectValue.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 table_EffectValue.proto</summary> - public static partial class TableEffectValueReflection { - - #region Descriptor - /// <summary>File descriptor for table_EffectValue.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEffectValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9FZmZlY3RWYWx1ZS5wcm90bxoRRWZmZWN0VmFsdWUucHJvdG8i", - "LwoRdGFibGVfRWZmZWN0VmFsdWUSGgoEbGlzdBgBIAMoCzIMLkVmZmVjdFZh", - "bHVlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EffectValueReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EffectValue), global::Nova.Client.table_EffectValue.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EffectValue : pb::IMessage<table_EffectValue> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EffectValue> _parser = new pb::MessageParser<table_EffectValue>(() => new table_EffectValue()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EffectValue> 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.TableEffectValueReflection.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 table_EffectValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EffectValue(table_EffectValue other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EffectValue Clone() { - return new table_EffectValue(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EffectValue> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EffectValue.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EffectValue> list_ = new pbc::RepeatedField<global::Nova.Client.EffectValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EffectValue> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EffectValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EffectValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EffectValue other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEndSceneType.cs b/Novaria.Common/Protos/TableEndSceneType.cs deleted file mode 100644 index d027306..0000000 --- a/Novaria.Common/Protos/TableEndSceneType.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EndSceneType.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 table_EndSceneType.proto</summary> - public static partial class TableEndSceneTypeReflection { - - #region Descriptor - /// <summary>File descriptor for table_EndSceneType.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEndSceneTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9FbmRTY2VuZVR5cGUucHJvdG8aEkVuZFNjZW5lVHlwZS5wcm90", - "byIxChJ0YWJsZV9FbmRTY2VuZVR5cGUSGwoEbGlzdBgBIAMoCzINLkVuZFNj", - "ZW5lVHlwZUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EndSceneTypeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EndSceneType), global::Nova.Client.table_EndSceneType.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EndSceneType : pb::IMessage<table_EndSceneType> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EndSceneType> _parser = new pb::MessageParser<table_EndSceneType>(() => new table_EndSceneType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EndSceneType> 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.TableEndSceneTypeReflection.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 table_EndSceneType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EndSceneType(table_EndSceneType other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EndSceneType Clone() { - return new table_EndSceneType(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EndSceneType> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EndSceneType.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EndSceneType> list_ = new pbc::RepeatedField<global::Nova.Client.EndSceneType>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EndSceneType> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EndSceneType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EndSceneType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EndSceneType other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEnergyBuy.cs b/Novaria.Common/Protos/TableEnergyBuy.cs deleted file mode 100644 index 22cfb17..0000000 --- a/Novaria.Common/Protos/TableEnergyBuy.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EnergyBuy.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 table_EnergyBuy.proto</summary> - public static partial class TableEnergyBuyReflection { - - #region Descriptor - /// <summary>File descriptor for table_EnergyBuy.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEnergyBuyReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9FbmVyZ3lCdXkucHJvdG8aD0VuZXJneUJ1eS5wcm90byIrCg90", - "YWJsZV9FbmVyZ3lCdXkSGAoEbGlzdBgBIAMoCzIKLkVuZXJneUJ1eUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EnergyBuyReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EnergyBuy), global::Nova.Client.table_EnergyBuy.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EnergyBuy : pb::IMessage<table_EnergyBuy> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EnergyBuy> _parser = new pb::MessageParser<table_EnergyBuy>(() => new table_EnergyBuy()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EnergyBuy> 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.TableEnergyBuyReflection.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 table_EnergyBuy() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EnergyBuy(table_EnergyBuy other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EnergyBuy Clone() { - return new table_EnergyBuy(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EnergyBuy> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EnergyBuy.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EnergyBuy> list_ = new pbc::RepeatedField<global::Nova.Client.EnergyBuy>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EnergyBuy> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EnergyBuy); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EnergyBuy other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EnergyBuy other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEnumDesc.cs b/Novaria.Common/Protos/TableEnumDesc.cs deleted file mode 100644 index 7662006..0000000 --- a/Novaria.Common/Protos/TableEnumDesc.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EnumDesc.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 table_EnumDesc.proto</summary> - public static partial class TableEnumDescReflection { - - #region Descriptor - /// <summary>File descriptor for table_EnumDesc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEnumDescReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9FbnVtRGVzYy5wcm90bxoORW51bURlc2MucHJvdG8iKQoOdGFi", - "bGVfRW51bURlc2MSFwoEbGlzdBgBIAMoCzIJLkVudW1EZXNjQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EnumDescReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EnumDesc), global::Nova.Client.table_EnumDesc.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EnumDesc : pb::IMessage<table_EnumDesc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EnumDesc> _parser = new pb::MessageParser<table_EnumDesc>(() => new table_EnumDesc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EnumDesc> 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.TableEnumDescReflection.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 table_EnumDesc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EnumDesc(table_EnumDesc other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EnumDesc Clone() { - return new table_EnumDesc(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EnumDesc> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EnumDesc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EnumDesc> list_ = new pbc::RepeatedField<global::Nova.Client.EnumDesc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EnumDesc> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EnumDesc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EnumDesc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EnumDesc other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipment.cs b/Novaria.Common/Protos/TableEquipment.cs deleted file mode 100644 index ee73f7e..0000000 --- a/Novaria.Common/Protos/TableEquipment.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Equipment.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 table_Equipment.proto</summary> - public static partial class TableEquipmentReflection { - - #region Descriptor - /// <summary>File descriptor for table_Equipment.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9FcXVpcG1lbnQucHJvdG8aD0VxdWlwbWVudC5wcm90byIrCg90", - "YWJsZV9FcXVpcG1lbnQSGAoEbGlzdBgBIAMoCzIKLkVxdWlwbWVudEIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Equipment), global::Nova.Client.table_Equipment.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Equipment : pb::IMessage<table_Equipment> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Equipment> _parser = new pb::MessageParser<table_Equipment>(() => new table_Equipment()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Equipment> 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.TableEquipmentReflection.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 table_Equipment() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Equipment(table_Equipment other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Equipment Clone() { - return new table_Equipment(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Equipment> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Equipment.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Equipment> list_ = new pbc::RepeatedField<global::Nova.Client.Equipment>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Equipment> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Equipment); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Equipment other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Equipment other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipmentGroupExp.cs b/Novaria.Common/Protos/TableEquipmentGroupExp.cs deleted file mode 100644 index a6ca01f..0000000 --- a/Novaria.Common/Protos/TableEquipmentGroupExp.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EquipmentGroupExp.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 table_EquipmentGroupExp.proto</summary> - public static partial class TableEquipmentGroupExpReflection { - - #region Descriptor - /// <summary>File descriptor for table_EquipmentGroupExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentGroupExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9FcXVpcG1lbnRHcm91cEV4cC5wcm90bxoXRXF1aXBtZW50R3Jv", - "dXBFeHAucHJvdG8iOwoXdGFibGVfRXF1aXBtZW50R3JvdXBFeHASIAoEbGlz", - "dBgBIAMoCzISLkVxdWlwbWVudEdyb3VwRXhwQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentGroupExpReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentGroupExp), global::Nova.Client.table_EquipmentGroupExp.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EquipmentGroupExp : pb::IMessage<table_EquipmentGroupExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EquipmentGroupExp> _parser = new pb::MessageParser<table_EquipmentGroupExp>(() => new table_EquipmentGroupExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EquipmentGroupExp> 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.TableEquipmentGroupExpReflection.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 table_EquipmentGroupExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentGroupExp(table_EquipmentGroupExp other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentGroupExp Clone() { - return new table_EquipmentGroupExp(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EquipmentGroupExp> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentGroupExp.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EquipmentGroupExp> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentGroupExp>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EquipmentGroupExp> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EquipmentGroupExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EquipmentGroupExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EquipmentGroupExp other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipmentInstance.cs b/Novaria.Common/Protos/TableEquipmentInstance.cs deleted file mode 100644 index ec03f26..0000000 --- a/Novaria.Common/Protos/TableEquipmentInstance.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EquipmentInstance.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 table_EquipmentInstance.proto</summary> - public static partial class TableEquipmentInstanceReflection { - - #region Descriptor - /// <summary>File descriptor for table_EquipmentInstance.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentInstanceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9FcXVpcG1lbnRJbnN0YW5jZS5wcm90bxoXRXF1aXBtZW50SW5z", - "dGFuY2UucHJvdG8iOwoXdGFibGVfRXF1aXBtZW50SW5zdGFuY2USIAoEbGlz", - "dBgBIAMoCzISLkVxdWlwbWVudEluc3RhbmNlQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentInstanceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentInstance), global::Nova.Client.table_EquipmentInstance.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EquipmentInstance : pb::IMessage<table_EquipmentInstance> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EquipmentInstance> _parser = new pb::MessageParser<table_EquipmentInstance>(() => new table_EquipmentInstance()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EquipmentInstance> 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.TableEquipmentInstanceReflection.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 table_EquipmentInstance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentInstance(table_EquipmentInstance other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentInstance Clone() { - return new table_EquipmentInstance(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EquipmentInstance> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentInstance.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EquipmentInstance> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentInstance>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EquipmentInstance> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EquipmentInstance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EquipmentInstance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EquipmentInstance other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipmentInstanceFloor.cs b/Novaria.Common/Protos/TableEquipmentInstanceFloor.cs deleted file mode 100644 index 609ae28..0000000 --- a/Novaria.Common/Protos/TableEquipmentInstanceFloor.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EquipmentInstanceFloor.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 table_EquipmentInstanceFloor.proto</summary> - public static partial class TableEquipmentInstanceFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_EquipmentInstanceFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentInstanceFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJ0YWJsZV9FcXVpcG1lbnRJbnN0YW5jZUZsb29yLnByb3RvGhxFcXVpcG1l", - "bnRJbnN0YW5jZUZsb29yLnByb3RvIkUKHHRhYmxlX0VxdWlwbWVudEluc3Rh", - "bmNlRmxvb3ISJQoEbGlzdBgBIAMoCzIXLkVxdWlwbWVudEluc3RhbmNlRmxv", - "b3JCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentInstanceFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentInstanceFloor), global::Nova.Client.table_EquipmentInstanceFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EquipmentInstanceFloor : pb::IMessage<table_EquipmentInstanceFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EquipmentInstanceFloor> _parser = new pb::MessageParser<table_EquipmentInstanceFloor>(() => new table_EquipmentInstanceFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EquipmentInstanceFloor> 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.TableEquipmentInstanceFloorReflection.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 table_EquipmentInstanceFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentInstanceFloor(table_EquipmentInstanceFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentInstanceFloor Clone() { - return new table_EquipmentInstanceFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EquipmentInstanceFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentInstanceFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EquipmentInstanceFloor> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentInstanceFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EquipmentInstanceFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EquipmentInstanceFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EquipmentInstanceFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EquipmentInstanceFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipmentInstanceType.cs b/Novaria.Common/Protos/TableEquipmentInstanceType.cs deleted file mode 100644 index 93d5605..0000000 --- a/Novaria.Common/Protos/TableEquipmentInstanceType.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EquipmentInstanceType.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 table_EquipmentInstanceType.proto</summary> - public static partial class TableEquipmentInstanceTypeReflection { - - #region Descriptor - /// <summary>File descriptor for table_EquipmentInstanceType.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentInstanceTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9FcXVpcG1lbnRJbnN0YW5jZVR5cGUucHJvdG8aG0VxdWlwbWVu", - "dEluc3RhbmNlVHlwZS5wcm90byJDCht0YWJsZV9FcXVpcG1lbnRJbnN0YW5j", - "ZVR5cGUSJAoEbGlzdBgBIAMoCzIWLkVxdWlwbWVudEluc3RhbmNlVHlwZUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentInstanceTypeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentInstanceType), global::Nova.Client.table_EquipmentInstanceType.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EquipmentInstanceType : pb::IMessage<table_EquipmentInstanceType> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EquipmentInstanceType> _parser = new pb::MessageParser<table_EquipmentInstanceType>(() => new table_EquipmentInstanceType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EquipmentInstanceType> 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.TableEquipmentInstanceTypeReflection.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 table_EquipmentInstanceType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentInstanceType(table_EquipmentInstanceType other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentInstanceType Clone() { - return new table_EquipmentInstanceType(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EquipmentInstanceType> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentInstanceType.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EquipmentInstanceType> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentInstanceType>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EquipmentInstanceType> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EquipmentInstanceType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EquipmentInstanceType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EquipmentInstanceType other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipmentItemExp.cs b/Novaria.Common/Protos/TableEquipmentItemExp.cs deleted file mode 100644 index 2345473..0000000 --- a/Novaria.Common/Protos/TableEquipmentItemExp.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EquipmentItemExp.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 table_EquipmentItemExp.proto</summary> - public static partial class TableEquipmentItemExpReflection { - - #region Descriptor - /// <summary>File descriptor for table_EquipmentItemExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentItemExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9FcXVpcG1lbnRJdGVtRXhwLnByb3RvGhZFcXVpcG1lbnRJdGVt", - "RXhwLnByb3RvIjkKFnRhYmxlX0VxdWlwbWVudEl0ZW1FeHASHwoEbGlzdBgB", - "IAMoCzIRLkVxdWlwbWVudEl0ZW1FeHBCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentItemExpReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentItemExp), global::Nova.Client.table_EquipmentItemExp.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EquipmentItemExp : pb::IMessage<table_EquipmentItemExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EquipmentItemExp> _parser = new pb::MessageParser<table_EquipmentItemExp>(() => new table_EquipmentItemExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EquipmentItemExp> 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.TableEquipmentItemExpReflection.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 table_EquipmentItemExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentItemExp(table_EquipmentItemExp other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentItemExp Clone() { - return new table_EquipmentItemExp(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EquipmentItemExp> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentItemExp.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EquipmentItemExp> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentItemExp>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EquipmentItemExp> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EquipmentItemExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EquipmentItemExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EquipmentItemExp other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEquipmentRandomAttribute.cs b/Novaria.Common/Protos/TableEquipmentRandomAttribute.cs deleted file mode 100644 index 043deeb..0000000 --- a/Novaria.Common/Protos/TableEquipmentRandomAttribute.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EquipmentRandomAttribute.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 table_EquipmentRandomAttribute.proto</summary> - public static partial class TableEquipmentRandomAttributeReflection { - - #region Descriptor - /// <summary>File descriptor for table_EquipmentRandomAttribute.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEquipmentRandomAttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiR0YWJsZV9FcXVpcG1lbnRSYW5kb21BdHRyaWJ1dGUucHJvdG8aHkVxdWlw", - "bWVudFJhbmRvbUF0dHJpYnV0ZS5wcm90byJJCh50YWJsZV9FcXVpcG1lbnRS", - "YW5kb21BdHRyaWJ1dGUSJwoEbGlzdBgBIAMoCzIZLkVxdWlwbWVudFJhbmRv", - "bUF0dHJpYnV0ZUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EquipmentRandomAttributeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentRandomAttribute), global::Nova.Client.table_EquipmentRandomAttribute.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EquipmentRandomAttribute : pb::IMessage<table_EquipmentRandomAttribute> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EquipmentRandomAttribute> _parser = new pb::MessageParser<table_EquipmentRandomAttribute>(() => new table_EquipmentRandomAttribute()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EquipmentRandomAttribute> 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.TableEquipmentRandomAttributeReflection.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 table_EquipmentRandomAttribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentRandomAttribute(table_EquipmentRandomAttribute other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EquipmentRandomAttribute Clone() { - return new table_EquipmentRandomAttribute(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EquipmentRandomAttribute> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentRandomAttribute.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EquipmentRandomAttribute> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentRandomAttribute>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EquipmentRandomAttribute> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EquipmentRandomAttribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EquipmentRandomAttribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EquipmentRandomAttribute other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableErrorCode.cs b/Novaria.Common/Protos/TableErrorCode.cs deleted file mode 100644 index 01d453b..0000000 --- a/Novaria.Common/Protos/TableErrorCode.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ErrorCode.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 table_ErrorCode.proto</summary> - public static partial class TableErrorCodeReflection { - - #region Descriptor - /// <summary>File descriptor for table_ErrorCode.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableErrorCodeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9FcnJvckNvZGUucHJvdG8aD0Vycm9yQ29kZS5wcm90byIrCg90", - "YWJsZV9FcnJvckNvZGUSGAoEbGlzdBgBIAMoCzIKLkVycm9yQ29kZUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ErrorCodeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ErrorCode), global::Nova.Client.table_ErrorCode.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ErrorCode : pb::IMessage<table_ErrorCode> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ErrorCode> _parser = new pb::MessageParser<table_ErrorCode>(() => new table_ErrorCode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ErrorCode> 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.TableErrorCodeReflection.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 table_ErrorCode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ErrorCode(table_ErrorCode other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ErrorCode Clone() { - return new table_ErrorCode(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ErrorCode> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ErrorCode.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ErrorCode> list_ = new pbc::RepeatedField<global::Nova.Client.ErrorCode>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ErrorCode> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ErrorCode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ErrorCode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ErrorCode other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEventOptions.cs b/Novaria.Common/Protos/TableEventOptions.cs deleted file mode 100644 index e52e0f0..0000000 --- a/Novaria.Common/Protos/TableEventOptions.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EventOptions.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 table_EventOptions.proto</summary> - public static partial class TableEventOptionsReflection { - - #region Descriptor - /// <summary>File descriptor for table_EventOptions.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEventOptionsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9FdmVudE9wdGlvbnMucHJvdG8aEkV2ZW50T3B0aW9ucy5wcm90", - "byIxChJ0YWJsZV9FdmVudE9wdGlvbnMSGwoEbGlzdBgBIAMoCzINLkV2ZW50", - "T3B0aW9uc0IOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EventOptionsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EventOptions), global::Nova.Client.table_EventOptions.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EventOptions : pb::IMessage<table_EventOptions> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EventOptions> _parser = new pb::MessageParser<table_EventOptions>(() => new table_EventOptions()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EventOptions> 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.TableEventOptionsReflection.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 table_EventOptions() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EventOptions(table_EventOptions other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EventOptions Clone() { - return new table_EventOptions(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EventOptions> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EventOptions.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EventOptions> list_ = new pbc::RepeatedField<global::Nova.Client.EventOptions>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EventOptions> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EventOptions); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EventOptions other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EventOptions other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEventOptionsRules.cs b/Novaria.Common/Protos/TableEventOptionsRules.cs deleted file mode 100644 index f933ac9..0000000 --- a/Novaria.Common/Protos/TableEventOptionsRules.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EventOptionsRules.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 table_EventOptionsRules.proto</summary> - public static partial class TableEventOptionsRulesReflection { - - #region Descriptor - /// <summary>File descriptor for table_EventOptionsRules.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEventOptionsRulesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9FdmVudE9wdGlvbnNSdWxlcy5wcm90bxoXRXZlbnRPcHRpb25z", - "UnVsZXMucHJvdG8iOwoXdGFibGVfRXZlbnRPcHRpb25zUnVsZXMSIAoEbGlz", - "dBgBIAMoCzISLkV2ZW50T3B0aW9uc1J1bGVzQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EventOptionsRulesReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EventOptionsRules), global::Nova.Client.table_EventOptionsRules.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EventOptionsRules : pb::IMessage<table_EventOptionsRules> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EventOptionsRules> _parser = new pb::MessageParser<table_EventOptionsRules>(() => new table_EventOptionsRules()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EventOptionsRules> 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.TableEventOptionsRulesReflection.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 table_EventOptionsRules() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EventOptionsRules(table_EventOptionsRules other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EventOptionsRules Clone() { - return new table_EventOptionsRules(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EventOptionsRules> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EventOptionsRules.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EventOptionsRules> list_ = new pbc::RepeatedField<global::Nova.Client.EventOptionsRules>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EventOptionsRules> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EventOptionsRules); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EventOptionsRules other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EventOptionsRules other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableEventResult.cs b/Novaria.Common/Protos/TableEventResult.cs deleted file mode 100644 index 29a7e06..0000000 --- a/Novaria.Common/Protos/TableEventResult.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_EventResult.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 table_EventResult.proto</summary> - public static partial class TableEventResultReflection { - - #region Descriptor - /// <summary>File descriptor for table_EventResult.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableEventResultReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9FdmVudFJlc3VsdC5wcm90bxoRRXZlbnRSZXN1bHQucHJvdG8i", - "LwoRdGFibGVfRXZlbnRSZXN1bHQSGgoEbGlzdBgBIAMoCzIMLkV2ZW50UmVz", - "dWx0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.EventResultReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EventResult), global::Nova.Client.table_EventResult.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_EventResult : pb::IMessage<table_EventResult> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_EventResult> _parser = new pb::MessageParser<table_EventResult>(() => new table_EventResult()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_EventResult> 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.TableEventResultReflection.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 table_EventResult() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EventResult(table_EventResult other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_EventResult Clone() { - return new table_EventResult(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.EventResult> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.EventResult.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.EventResult> list_ = new pbc::RepeatedField<global::Nova.Client.EventResult>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.EventResult> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_EventResult); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_EventResult other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_EventResult other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableFactionRelation.cs b/Novaria.Common/Protos/TableFactionRelation.cs deleted file mode 100644 index fc29909..0000000 --- a/Novaria.Common/Protos/TableFactionRelation.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_FactionRelation.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 table_FactionRelation.proto</summary> - public static partial class TableFactionRelationReflection { - - #region Descriptor - /// <summary>File descriptor for table_FactionRelation.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableFactionRelationReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9GYWN0aW9uUmVsYXRpb24ucHJvdG8aFUZhY3Rpb25SZWxhdGlv", - "bi5wcm90byI3ChV0YWJsZV9GYWN0aW9uUmVsYXRpb24SHgoEbGlzdBgBIAMo", - "CzIQLkZhY3Rpb25SZWxhdGlvbkIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.FactionRelationReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FactionRelation), global::Nova.Client.table_FactionRelation.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_FactionRelation : pb::IMessage<table_FactionRelation> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_FactionRelation> _parser = new pb::MessageParser<table_FactionRelation>(() => new table_FactionRelation()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_FactionRelation> 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.TableFactionRelationReflection.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 table_FactionRelation() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FactionRelation(table_FactionRelation other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FactionRelation Clone() { - return new table_FactionRelation(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.FactionRelation> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.FactionRelation.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.FactionRelation> list_ = new pbc::RepeatedField<global::Nova.Client.FactionRelation>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.FactionRelation> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_FactionRelation); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_FactionRelation other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_FactionRelation other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableFateCard.cs b/Novaria.Common/Protos/TableFateCard.cs deleted file mode 100644 index fa7b0e1..0000000 --- a/Novaria.Common/Protos/TableFateCard.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_FateCard.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 table_FateCard.proto</summary> - public static partial class TableFateCardReflection { - - #region Descriptor - /// <summary>File descriptor for table_FateCard.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableFateCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9GYXRlQ2FyZC5wcm90bxoORmF0ZUNhcmQucHJvdG8iKQoOdGFi", - "bGVfRmF0ZUNhcmQSFwoEbGlzdBgBIAMoCzIJLkZhdGVDYXJkQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.FateCardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FateCard), global::Nova.Client.table_FateCard.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_FateCard : pb::IMessage<table_FateCard> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_FateCard> _parser = new pb::MessageParser<table_FateCard>(() => new table_FateCard()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_FateCard> 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.TableFateCardReflection.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 table_FateCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FateCard(table_FateCard other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FateCard Clone() { - return new table_FateCard(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.FateCard> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.FateCard.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.FateCard> list_ = new pbc::RepeatedField<global::Nova.Client.FateCard>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.FateCard> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_FateCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_FateCard other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_FateCard other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableFloorBuff.cs b/Novaria.Common/Protos/TableFloorBuff.cs deleted file mode 100644 index efbc4ce..0000000 --- a/Novaria.Common/Protos/TableFloorBuff.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_FloorBuff.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 table_FloorBuff.proto</summary> - public static partial class TableFloorBuffReflection { - - #region Descriptor - /// <summary>File descriptor for table_FloorBuff.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableFloorBuffReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9GbG9vckJ1ZmYucHJvdG8aD0Zsb29yQnVmZi5wcm90byIrCg90", - "YWJsZV9GbG9vckJ1ZmYSGAoEbGlzdBgBIAMoCzIKLkZsb29yQnVmZkIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.FloorBuffReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FloorBuff), global::Nova.Client.table_FloorBuff.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_FloorBuff : pb::IMessage<table_FloorBuff> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_FloorBuff> _parser = new pb::MessageParser<table_FloorBuff>(() => new table_FloorBuff()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_FloorBuff> 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.TableFloorBuffReflection.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 table_FloorBuff() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FloorBuff(table_FloorBuff other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FloorBuff Clone() { - return new table_FloorBuff(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.FloorBuff> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.FloorBuff.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.FloorBuff> list_ = new pbc::RepeatedField<global::Nova.Client.FloorBuff>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.FloorBuff> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_FloorBuff); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_FloorBuff other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_FloorBuff other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableForce.cs b/Novaria.Common/Protos/TableForce.cs deleted file mode 100644 index 258af68..0000000 --- a/Novaria.Common/Protos/TableForce.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Force.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 table_Force.proto</summary> - public static partial class TableForceReflection { - - #region Descriptor - /// <summary>File descriptor for table_Force.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableForceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9Gb3JjZS5wcm90bxoLRm9yY2UucHJvdG8iIwoLdGFibGVfRm9y", - "Y2USFAoEbGlzdBgBIAMoCzIGLkZvcmNlQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ForceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Force), global::Nova.Client.table_Force.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Force : pb::IMessage<table_Force> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Force> _parser = new pb::MessageParser<table_Force>(() => new table_Force()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Force> 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.TableForceReflection.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 table_Force() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Force(table_Force other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Force Clone() { - return new table_Force(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Force> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Force.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Force> list_ = new pbc::RepeatedField<global::Nova.Client.Force>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Force> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Force); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Force other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Force other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableFormationScene.cs b/Novaria.Common/Protos/TableFormationScene.cs deleted file mode 100644 index 63fe235..0000000 --- a/Novaria.Common/Protos/TableFormationScene.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_FormationScene.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 table_FormationScene.proto</summary> - public static partial class TableFormationSceneReflection { - - #region Descriptor - /// <summary>File descriptor for table_FormationScene.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableFormationSceneReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9Gb3JtYXRpb25TY2VuZS5wcm90bxoURm9ybWF0aW9uU2NlbmUu", - "cHJvdG8iNQoUdGFibGVfRm9ybWF0aW9uU2NlbmUSHQoEbGlzdBgBIAMoCzIP", - "LkZvcm1hdGlvblNjZW5lQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.FormationSceneReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FormationScene), global::Nova.Client.table_FormationScene.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_FormationScene : pb::IMessage<table_FormationScene> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_FormationScene> _parser = new pb::MessageParser<table_FormationScene>(() => new table_FormationScene()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_FormationScene> 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.TableFormationSceneReflection.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 table_FormationScene() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FormationScene(table_FormationScene other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_FormationScene Clone() { - return new table_FormationScene(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.FormationScene> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.FormationScene.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.FormationScene> list_ = new pbc::RepeatedField<global::Nova.Client.FormationScene>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.FormationScene> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_FormationScene); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_FormationScene other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_FormationScene other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGMBuild.cs b/Novaria.Common/Protos/TableGMBuild.cs deleted file mode 100644 index 4d0d868..0000000 --- a/Novaria.Common/Protos/TableGMBuild.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GMBuild.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 table_GMBuild.proto</summary> - public static partial class TableGMBuildReflection { - - #region Descriptor - /// <summary>File descriptor for table_GMBuild.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGMBuildReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9HTUJ1aWxkLnByb3RvGg1HTUJ1aWxkLnByb3RvIicKDXRhYmxl", - "X0dNQnVpbGQSFgoEbGlzdBgBIAMoCzIILkdNQnVpbGRCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GMBuildReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GMBuild), global::Nova.Client.table_GMBuild.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GMBuild : pb::IMessage<table_GMBuild> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GMBuild> _parser = new pb::MessageParser<table_GMBuild>(() => new table_GMBuild()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GMBuild> 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.TableGMBuildReflection.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 table_GMBuild() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GMBuild(table_GMBuild other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GMBuild Clone() { - return new table_GMBuild(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GMBuild> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GMBuild.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GMBuild> list_ = new pbc::RepeatedField<global::Nova.Client.GMBuild>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GMBuild> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GMBuild); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GMBuild other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GMBuild other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGMOrder.cs b/Novaria.Common/Protos/TableGMOrder.cs deleted file mode 100644 index ab69181..0000000 --- a/Novaria.Common/Protos/TableGMOrder.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GMOrder.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 table_GMOrder.proto</summary> - public static partial class TableGMOrderReflection { - - #region Descriptor - /// <summary>File descriptor for table_GMOrder.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGMOrderReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9HTU9yZGVyLnByb3RvGg1HTU9yZGVyLnByb3RvIicKDXRhYmxl", - "X0dNT3JkZXISFgoEbGlzdBgBIAMoCzIILkdNT3JkZXJCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GMOrderReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GMOrder), global::Nova.Client.table_GMOrder.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GMOrder : pb::IMessage<table_GMOrder> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GMOrder> _parser = new pb::MessageParser<table_GMOrder>(() => new table_GMOrder()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GMOrder> 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.TableGMOrderReflection.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 table_GMOrder() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GMOrder(table_GMOrder other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GMOrder Clone() { - return new table_GMOrder(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GMOrder> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GMOrder.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GMOrder> list_ = new pbc::RepeatedField<global::Nova.Client.GMOrder>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GMOrder> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GMOrder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GMOrder other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GMOrder other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGMTeam.cs b/Novaria.Common/Protos/TableGMTeam.cs deleted file mode 100644 index a41edba..0000000 --- a/Novaria.Common/Protos/TableGMTeam.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GMTeam.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 table_GMTeam.proto</summary> - public static partial class TableGMTeamReflection { - - #region Descriptor - /// <summary>File descriptor for table_GMTeam.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGMTeamReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9HTVRlYW0ucHJvdG8aDEdNVGVhbS5wcm90byIlCgx0YWJsZV9H", - "TVRlYW0SFQoEbGlzdBgBIAMoCzIHLkdNVGVhbUIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GMTeamReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GMTeam), global::Nova.Client.table_GMTeam.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GMTeam : pb::IMessage<table_GMTeam> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GMTeam> _parser = new pb::MessageParser<table_GMTeam>(() => new table_GMTeam()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GMTeam> 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.TableGMTeamReflection.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 table_GMTeam() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GMTeam(table_GMTeam other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GMTeam Clone() { - return new table_GMTeam(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GMTeam> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GMTeam.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GMTeam> list_ = new pbc::RepeatedField<global::Nova.Client.GMTeam>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GMTeam> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GMTeam); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GMTeam other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GMTeam other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGacha.cs b/Novaria.Common/Protos/TableGacha.cs deleted file mode 100644 index f56765f..0000000 --- a/Novaria.Common/Protos/TableGacha.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Gacha.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 table_Gacha.proto</summary> - public static partial class TableGachaReflection { - - #region Descriptor - /// <summary>File descriptor for table_Gacha.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGachaReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9HYWNoYS5wcm90bxoLR2FjaGEucHJvdG8iIwoLdGFibGVfR2Fj", - "aGESFAoEbGlzdBgBIAMoCzIGLkdhY2hhQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GachaReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Gacha), global::Nova.Client.table_Gacha.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Gacha : pb::IMessage<table_Gacha> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Gacha> _parser = new pb::MessageParser<table_Gacha>(() => new table_Gacha()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Gacha> 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.TableGachaReflection.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 table_Gacha() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Gacha(table_Gacha other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Gacha Clone() { - return new table_Gacha(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Gacha> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Gacha.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Gacha> list_ = new pbc::RepeatedField<global::Nova.Client.Gacha>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Gacha> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Gacha); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Gacha other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Gacha other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGachaAcquireReward.cs b/Novaria.Common/Protos/TableGachaAcquireReward.cs deleted file mode 100644 index f9e0718..0000000 --- a/Novaria.Common/Protos/TableGachaAcquireReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GachaAcquireReward.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 table_GachaAcquireReward.proto</summary> - public static partial class TableGachaAcquireRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_GachaAcquireReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGachaAcquireRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9HYWNoYUFjcXVpcmVSZXdhcmQucHJvdG8aGEdhY2hhQWNxdWly", - "ZVJld2FyZC5wcm90byI9Chh0YWJsZV9HYWNoYUFjcXVpcmVSZXdhcmQSIQoE", - "bGlzdBgBIAMoCzITLkdhY2hhQWNxdWlyZVJld2FyZEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GachaAcquireRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GachaAcquireReward), global::Nova.Client.table_GachaAcquireReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GachaAcquireReward : pb::IMessage<table_GachaAcquireReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GachaAcquireReward> _parser = new pb::MessageParser<table_GachaAcquireReward>(() => new table_GachaAcquireReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GachaAcquireReward> 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.TableGachaAcquireRewardReflection.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 table_GachaAcquireReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GachaAcquireReward(table_GachaAcquireReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GachaAcquireReward Clone() { - return new table_GachaAcquireReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GachaAcquireReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GachaAcquireReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GachaAcquireReward> list_ = new pbc::RepeatedField<global::Nova.Client.GachaAcquireReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GachaAcquireReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GachaAcquireReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GachaAcquireReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GachaAcquireReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGachaType.cs b/Novaria.Common/Protos/TableGachaType.cs deleted file mode 100644 index 3f9faf8..0000000 --- a/Novaria.Common/Protos/TableGachaType.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GachaType.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 table_GachaType.proto</summary> - public static partial class TableGachaTypeReflection { - - #region Descriptor - /// <summary>File descriptor for table_GachaType.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGachaTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9HYWNoYVR5cGUucHJvdG8aD0dhY2hhVHlwZS5wcm90byIrCg90", - "YWJsZV9HYWNoYVR5cGUSGAoEbGlzdBgBIAMoCzIKLkdhY2hhVHlwZUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GachaTypeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GachaType), global::Nova.Client.table_GachaType.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GachaType : pb::IMessage<table_GachaType> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GachaType> _parser = new pb::MessageParser<table_GachaType>(() => new table_GachaType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GachaType> 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.TableGachaTypeReflection.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 table_GachaType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GachaType(table_GachaType other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GachaType Clone() { - return new table_GachaType(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GachaType> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GachaType.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GachaType> list_ = new pbc::RepeatedField<global::Nova.Client.GachaType>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GachaType> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GachaType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GachaType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GachaType other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGamepadButton.cs b/Novaria.Common/Protos/TableGamepadButton.cs deleted file mode 100644 index 39c8a71..0000000 --- a/Novaria.Common/Protos/TableGamepadButton.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GamepadButton.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 table_GamepadButton.proto</summary> - public static partial class TableGamepadButtonReflection { - - #region Descriptor - /// <summary>File descriptor for table_GamepadButton.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGamepadButtonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9HYW1lcGFkQnV0dG9uLnByb3RvGhNHYW1lcGFkQnV0dG9uLnBy", - "b3RvIjMKE3RhYmxlX0dhbWVwYWRCdXR0b24SHAoEbGlzdBgBIAMoCzIOLkdh", - "bWVwYWRCdXR0b25CDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GamepadButtonReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GamepadButton), global::Nova.Client.table_GamepadButton.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GamepadButton : pb::IMessage<table_GamepadButton> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GamepadButton> _parser = new pb::MessageParser<table_GamepadButton>(() => new table_GamepadButton()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GamepadButton> 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.TableGamepadButtonReflection.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 table_GamepadButton() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GamepadButton(table_GamepadButton other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GamepadButton Clone() { - return new table_GamepadButton(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GamepadButton> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GamepadButton.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GamepadButton> list_ = new pbc::RepeatedField<global::Nova.Client.GamepadButton>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GamepadButton> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GamepadButton); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GamepadButton other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GamepadButton other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGuide.cs b/Novaria.Common/Protos/TableGuide.cs deleted file mode 100644 index d8ad16c..0000000 --- a/Novaria.Common/Protos/TableGuide.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Guide.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 table_Guide.proto</summary> - public static partial class TableGuideReflection { - - #region Descriptor - /// <summary>File descriptor for table_Guide.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGuideReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9HdWlkZS5wcm90bxoLR3VpZGUucHJvdG8iIwoLdGFibGVfR3Vp", - "ZGUSFAoEbGlzdBgBIAMoCzIGLkd1aWRlQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GuideReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Guide), global::Nova.Client.table_Guide.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Guide : pb::IMessage<table_Guide> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Guide> _parser = new pb::MessageParser<table_Guide>(() => new table_Guide()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Guide> 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.TableGuideReflection.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 table_Guide() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Guide(table_Guide other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Guide Clone() { - return new table_Guide(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Guide> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Guide.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Guide> list_ = new pbc::RepeatedField<global::Nova.Client.Guide>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Guide> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Guide); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Guide other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Guide other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableGuideGroup.cs b/Novaria.Common/Protos/TableGuideGroup.cs deleted file mode 100644 index 2f5f12c..0000000 --- a/Novaria.Common/Protos/TableGuideGroup.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_GuideGroup.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 table_GuideGroup.proto</summary> - public static partial class TableGuideGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_GuideGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableGuideGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9HdWlkZUdyb3VwLnByb3RvGhBHdWlkZUdyb3VwLnByb3RvIi0K", - "EHRhYmxlX0d1aWRlR3JvdXASGQoEbGlzdBgBIAMoCzILLkd1aWRlR3JvdXBC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.GuideGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GuideGroup), global::Nova.Client.table_GuideGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_GuideGroup : pb::IMessage<table_GuideGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_GuideGroup> _parser = new pb::MessageParser<table_GuideGroup>(() => new table_GuideGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_GuideGroup> 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.TableGuideGroupReflection.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 table_GuideGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GuideGroup(table_GuideGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_GuideGroup Clone() { - return new table_GuideGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.GuideGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.GuideGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.GuideGroup> list_ = new pbc::RepeatedField<global::Nova.Client.GuideGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.GuideGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_GuideGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_GuideGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_GuideGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableHandbook.cs b/Novaria.Common/Protos/TableHandbook.cs deleted file mode 100644 index 0075f21..0000000 --- a/Novaria.Common/Protos/TableHandbook.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Handbook.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 table_Handbook.proto</summary> - public static partial class TableHandbookReflection { - - #region Descriptor - /// <summary>File descriptor for table_Handbook.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableHandbookReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9IYW5kYm9vay5wcm90bxoOSGFuZGJvb2sucHJvdG8iKQoOdGFi", - "bGVfSGFuZGJvb2sSFwoEbGlzdBgBIAMoCzIJLkhhbmRib29rQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.HandbookReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Handbook), global::Nova.Client.table_Handbook.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Handbook : pb::IMessage<table_Handbook> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Handbook> _parser = new pb::MessageParser<table_Handbook>(() => new table_Handbook()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Handbook> 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.TableHandbookReflection.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 table_Handbook() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Handbook(table_Handbook other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Handbook Clone() { - return new table_Handbook(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Handbook> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Handbook.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Handbook> list_ = new pbc::RepeatedField<global::Nova.Client.Handbook>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Handbook> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Handbook); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Handbook other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Handbook other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableHitDamage.cs b/Novaria.Common/Protos/TableHitDamage.cs deleted file mode 100644 index 23aa6ea..0000000 --- a/Novaria.Common/Protos/TableHitDamage.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_HitDamage.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 table_HitDamage.proto</summary> - public static partial class TableHitDamageReflection { - - #region Descriptor - /// <summary>File descriptor for table_HitDamage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableHitDamageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9IaXREYW1hZ2UucHJvdG8aD0hpdERhbWFnZS5wcm90byIrCg90", - "YWJsZV9IaXREYW1hZ2USGAoEbGlzdBgBIAMoCzIKLkhpdERhbWFnZUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.HitDamageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_HitDamage), global::Nova.Client.table_HitDamage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_HitDamage : pb::IMessage<table_HitDamage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_HitDamage> _parser = new pb::MessageParser<table_HitDamage>(() => new table_HitDamage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_HitDamage> 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.TableHitDamageReflection.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 table_HitDamage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_HitDamage(table_HitDamage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_HitDamage Clone() { - return new table_HitDamage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.HitDamage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.HitDamage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.HitDamage> list_ = new pbc::RepeatedField<global::Nova.Client.HitDamage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.HitDamage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_HitDamage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_HitDamage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_HitDamage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableHonor.cs b/Novaria.Common/Protos/TableHonor.cs deleted file mode 100644 index 7b0eeaf..0000000 --- a/Novaria.Common/Protos/TableHonor.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Honor.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 table_Honor.proto</summary> - public static partial class TableHonorReflection { - - #region Descriptor - /// <summary>File descriptor for table_Honor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableHonorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9Ib25vci5wcm90bxoLSG9ub3IucHJvdG8iIwoLdGFibGVfSG9u", - "b3ISFAoEbGlzdBgBIAMoCzIGLkhvbm9yQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.HonorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Honor), global::Nova.Client.table_Honor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Honor : pb::IMessage<table_Honor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Honor> _parser = new pb::MessageParser<table_Honor>(() => new table_Honor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Honor> 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.TableHonorReflection.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 table_Honor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Honor(table_Honor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Honor Clone() { - return new table_Honor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Honor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Honor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Honor> list_ = new pbc::RepeatedField<global::Nova.Client.Honor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Honor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Honor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Honor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Honor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableHonorCharacter.cs b/Novaria.Common/Protos/TableHonorCharacter.cs deleted file mode 100644 index 5c8b812..0000000 --- a/Novaria.Common/Protos/TableHonorCharacter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_HonorCharacter.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 table_HonorCharacter.proto</summary> - public static partial class TableHonorCharacterReflection { - - #region Descriptor - /// <summary>File descriptor for table_HonorCharacter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableHonorCharacterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9Ib25vckNoYXJhY3Rlci5wcm90bxoUSG9ub3JDaGFyYWN0ZXIu", - "cHJvdG8iNQoUdGFibGVfSG9ub3JDaGFyYWN0ZXISHQoEbGlzdBgBIAMoCzIP", - "Lkhvbm9yQ2hhcmFjdGVyQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.HonorCharacterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_HonorCharacter), global::Nova.Client.table_HonorCharacter.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_HonorCharacter : pb::IMessage<table_HonorCharacter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_HonorCharacter> _parser = new pb::MessageParser<table_HonorCharacter>(() => new table_HonorCharacter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_HonorCharacter> 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.TableHonorCharacterReflection.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 table_HonorCharacter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_HonorCharacter(table_HonorCharacter other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_HonorCharacter Clone() { - return new table_HonorCharacter(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.HonorCharacter> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.HonorCharacter.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.HonorCharacter> list_ = new pbc::RepeatedField<global::Nova.Client.HonorCharacter>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.HonorCharacter> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_HonorCharacter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_HonorCharacter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_HonorCharacter other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTower.cs b/Novaria.Common/Protos/TableInfinityTower.cs deleted file mode 100644 index 59af5d1..0000000 --- a/Novaria.Common/Protos/TableInfinityTower.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTower.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 table_InfinityTower.proto</summary> - public static partial class TableInfinityTowerReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTower.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9JbmZpbml0eVRvd2VyLnByb3RvGhNJbmZpbml0eVRvd2VyLnBy", - "b3RvIjMKE3RhYmxlX0luZmluaXR5VG93ZXISHAoEbGlzdBgBIAMoCzIOLklu", - "ZmluaXR5VG93ZXJCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTower), global::Nova.Client.table_InfinityTower.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTower : pb::IMessage<table_InfinityTower> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTower> _parser = new pb::MessageParser<table_InfinityTower>(() => new table_InfinityTower()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTower> 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.TableInfinityTowerReflection.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 table_InfinityTower() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTower(table_InfinityTower other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTower Clone() { - return new table_InfinityTower(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTower> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTower.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTower> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTower>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTower> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTower); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTower other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTower other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerAffix.cs b/Novaria.Common/Protos/TableInfinityTowerAffix.cs deleted file mode 100644 index 3b3f508..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerAffix.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerAffix.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 table_InfinityTowerAffix.proto</summary> - public static partial class TableInfinityTowerAffixReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerAffix.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9JbmZpbml0eVRvd2VyQWZmaXgucHJvdG8aGEluZmluaXR5VG93", - "ZXJBZmZpeC5wcm90byI9Chh0YWJsZV9JbmZpbml0eVRvd2VyQWZmaXgSIQoE", - "bGlzdBgBIAMoCzITLkluZmluaXR5VG93ZXJBZmZpeEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerAffixReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerAffix), global::Nova.Client.table_InfinityTowerAffix.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerAffix : pb::IMessage<table_InfinityTowerAffix> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerAffix> _parser = new pb::MessageParser<table_InfinityTowerAffix>(() => new table_InfinityTowerAffix()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerAffix> 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.TableInfinityTowerAffixReflection.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 table_InfinityTowerAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerAffix(table_InfinityTowerAffix other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerAffix Clone() { - return new table_InfinityTowerAffix(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerAffix> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerAffix.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerAffix> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerAffix>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerAffix> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerAffix other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerAffix other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerBountyLevel.cs b/Novaria.Common/Protos/TableInfinityTowerBountyLevel.cs deleted file mode 100644 index dcf1bca..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerBountyLevel.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerBountyLevel.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 table_InfinityTowerBountyLevel.proto</summary> - public static partial class TableInfinityTowerBountyLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerBountyLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerBountyLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiR0YWJsZV9JbmZpbml0eVRvd2VyQm91bnR5TGV2ZWwucHJvdG8aHkluZmlu", - "aXR5VG93ZXJCb3VudHlMZXZlbC5wcm90byJJCh50YWJsZV9JbmZpbml0eVRv", - "d2VyQm91bnR5TGV2ZWwSJwoEbGlzdBgBIAMoCzIZLkluZmluaXR5VG93ZXJC", - "b3VudHlMZXZlbEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerBountyLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerBountyLevel), global::Nova.Client.table_InfinityTowerBountyLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerBountyLevel : pb::IMessage<table_InfinityTowerBountyLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerBountyLevel> _parser = new pb::MessageParser<table_InfinityTowerBountyLevel>(() => new table_InfinityTowerBountyLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerBountyLevel> 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.TableInfinityTowerBountyLevelReflection.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 table_InfinityTowerBountyLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerBountyLevel(table_InfinityTowerBountyLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerBountyLevel Clone() { - return new table_InfinityTowerBountyLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerBountyLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerBountyLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerBountyLevel> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerBountyLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerBountyLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerBountyLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerBountyLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerBountyLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerDifficulty.cs b/Novaria.Common/Protos/TableInfinityTowerDifficulty.cs deleted file mode 100644 index 56a8b43..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerDifficulty.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerDifficulty.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 table_InfinityTowerDifficulty.proto</summary> - public static partial class TableInfinityTowerDifficultyReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerDifficulty.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerDifficultyReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiN0YWJsZV9JbmZpbml0eVRvd2VyRGlmZmljdWx0eS5wcm90bxodSW5maW5p", - "dHlUb3dlckRpZmZpY3VsdHkucHJvdG8iRwoddGFibGVfSW5maW5pdHlUb3dl", - "ckRpZmZpY3VsdHkSJgoEbGlzdBgBIAMoCzIYLkluZmluaXR5VG93ZXJEaWZm", - "aWN1bHR5Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerDifficultyReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerDifficulty), global::Nova.Client.table_InfinityTowerDifficulty.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerDifficulty : pb::IMessage<table_InfinityTowerDifficulty> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerDifficulty> _parser = new pb::MessageParser<table_InfinityTowerDifficulty>(() => new table_InfinityTowerDifficulty()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerDifficulty> 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.TableInfinityTowerDifficultyReflection.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 table_InfinityTowerDifficulty() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerDifficulty(table_InfinityTowerDifficulty other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerDifficulty Clone() { - return new table_InfinityTowerDifficulty(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerDifficulty> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerDifficulty.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerDifficulty> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerDifficulty>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerDifficulty> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerDifficulty); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerDifficulty other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerDifficulty other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerEnemySet.cs b/Novaria.Common/Protos/TableInfinityTowerEnemySet.cs deleted file mode 100644 index a5e085d..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerEnemySet.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerEnemySet.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 table_InfinityTowerEnemySet.proto</summary> - public static partial class TableInfinityTowerEnemySetReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerEnemySet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerEnemySetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9JbmZpbml0eVRvd2VyRW5lbXlTZXQucHJvdG8aG0luZmluaXR5", - "VG93ZXJFbmVteVNldC5wcm90byJDCht0YWJsZV9JbmZpbml0eVRvd2VyRW5l", - "bXlTZXQSJAoEbGlzdBgBIAMoCzIWLkluZmluaXR5VG93ZXJFbmVteVNldEIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerEnemySetReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerEnemySet), global::Nova.Client.table_InfinityTowerEnemySet.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerEnemySet : pb::IMessage<table_InfinityTowerEnemySet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerEnemySet> _parser = new pb::MessageParser<table_InfinityTowerEnemySet>(() => new table_InfinityTowerEnemySet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerEnemySet> 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.TableInfinityTowerEnemySetReflection.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 table_InfinityTowerEnemySet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerEnemySet(table_InfinityTowerEnemySet other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerEnemySet Clone() { - return new table_InfinityTowerEnemySet(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerEnemySet> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerEnemySet.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerEnemySet> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerEnemySet>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerEnemySet> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerEnemySet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerEnemySet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerEnemySet other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerFloor.cs b/Novaria.Common/Protos/TableInfinityTowerFloor.cs deleted file mode 100644 index 27d7cf2..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerFloor.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerFloor.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 table_InfinityTowerFloor.proto</summary> - public static partial class TableInfinityTowerFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9JbmZpbml0eVRvd2VyRmxvb3IucHJvdG8aGEluZmluaXR5VG93", - "ZXJGbG9vci5wcm90byI9Chh0YWJsZV9JbmZpbml0eVRvd2VyRmxvb3ISIQoE", - "bGlzdBgBIAMoCzITLkluZmluaXR5VG93ZXJGbG9vckIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerFloor), global::Nova.Client.table_InfinityTowerFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerFloor : pb::IMessage<table_InfinityTowerFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerFloor> _parser = new pb::MessageParser<table_InfinityTowerFloor>(() => new table_InfinityTowerFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerFloor> 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.TableInfinityTowerFloorReflection.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 table_InfinityTowerFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerFloor(table_InfinityTowerFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerFloor Clone() { - return new table_InfinityTowerFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerFloor> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerLevel.cs b/Novaria.Common/Protos/TableInfinityTowerLevel.cs deleted file mode 100644 index 913ce4e..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerLevel.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerLevel.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 table_InfinityTowerLevel.proto</summary> - public static partial class TableInfinityTowerLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9JbmZpbml0eVRvd2VyTGV2ZWwucHJvdG8aGEluZmluaXR5VG93", - "ZXJMZXZlbC5wcm90byI9Chh0YWJsZV9JbmZpbml0eVRvd2VyTGV2ZWwSIQoE", - "bGlzdBgBIAMoCzITLkluZmluaXR5VG93ZXJMZXZlbEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerLevel), global::Nova.Client.table_InfinityTowerLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerLevel : pb::IMessage<table_InfinityTowerLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerLevel> _parser = new pb::MessageParser<table_InfinityTowerLevel>(() => new table_InfinityTowerLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerLevel> 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.TableInfinityTowerLevelReflection.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 table_InfinityTowerLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerLevel(table_InfinityTowerLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerLevel Clone() { - return new table_InfinityTowerLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerLevel> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerMap.cs b/Novaria.Common/Protos/TableInfinityTowerMap.cs deleted file mode 100644 index 728e5b9..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerMap.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerMap.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 table_InfinityTowerMap.proto</summary> - public static partial class TableInfinityTowerMapReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerMap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerMapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9JbmZpbml0eVRvd2VyTWFwLnByb3RvGhZJbmZpbml0eVRvd2Vy", - "TWFwLnByb3RvIjkKFnRhYmxlX0luZmluaXR5VG93ZXJNYXASHwoEbGlzdBgB", - "IAMoCzIRLkluZmluaXR5VG93ZXJNYXBCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerMapReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerMap), global::Nova.Client.table_InfinityTowerMap.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerMap : pb::IMessage<table_InfinityTowerMap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerMap> _parser = new pb::MessageParser<table_InfinityTowerMap>(() => new table_InfinityTowerMap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerMap> 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.TableInfinityTowerMapReflection.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 table_InfinityTowerMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerMap(table_InfinityTowerMap other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerMap Clone() { - return new table_InfinityTowerMap(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerMap> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerMap.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerMap> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerMap>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerMap> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerMap other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerMsg.cs b/Novaria.Common/Protos/TableInfinityTowerMsg.cs deleted file mode 100644 index 3b884e5..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerMsg.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerMsg.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 table_InfinityTowerMsg.proto</summary> - public static partial class TableInfinityTowerMsgReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerMsg.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerMsgReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9JbmZpbml0eVRvd2VyTXNnLnByb3RvGhZJbmZpbml0eVRvd2Vy", - "TXNnLnByb3RvIjkKFnRhYmxlX0luZmluaXR5VG93ZXJNc2cSHwoEbGlzdBgB", - "IAMoCzIRLkluZmluaXR5VG93ZXJNc2dCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerMsgReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerMsg), global::Nova.Client.table_InfinityTowerMsg.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerMsg : pb::IMessage<table_InfinityTowerMsg> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerMsg> _parser = new pb::MessageParser<table_InfinityTowerMsg>(() => new table_InfinityTowerMsg()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerMsg> 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.TableInfinityTowerMsgReflection.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 table_InfinityTowerMsg() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerMsg(table_InfinityTowerMsg other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerMsg Clone() { - return new table_InfinityTowerMsg(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerMsg> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerMsg.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerMsg> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerMsg>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerMsg> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerMsg); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerMsg other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerMsg other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInfinityTowerPlot.cs b/Novaria.Common/Protos/TableInfinityTowerPlot.cs deleted file mode 100644 index bd46e3c..0000000 --- a/Novaria.Common/Protos/TableInfinityTowerPlot.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InfinityTowerPlot.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 table_InfinityTowerPlot.proto</summary> - public static partial class TableInfinityTowerPlotReflection { - - #region Descriptor - /// <summary>File descriptor for table_InfinityTowerPlot.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInfinityTowerPlotReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9JbmZpbml0eVRvd2VyUGxvdC5wcm90bxoXSW5maW5pdHlUb3dl", - "clBsb3QucHJvdG8iOwoXdGFibGVfSW5maW5pdHlUb3dlclBsb3QSIAoEbGlz", - "dBgBIAMoCzISLkluZmluaXR5VG93ZXJQbG90Qg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InfinityTowerPlotReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerPlot), global::Nova.Client.table_InfinityTowerPlot.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InfinityTowerPlot : pb::IMessage<table_InfinityTowerPlot> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InfinityTowerPlot> _parser = new pb::MessageParser<table_InfinityTowerPlot>(() => new table_InfinityTowerPlot()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InfinityTowerPlot> 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.TableInfinityTowerPlotReflection.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 table_InfinityTowerPlot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerPlot(table_InfinityTowerPlot other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InfinityTowerPlot Clone() { - return new table_InfinityTowerPlot(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerPlot> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerPlot.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerPlot> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerPlot>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InfinityTowerPlot> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InfinityTowerPlot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InfinityTowerPlot other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InfinityTowerPlot other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableInteractiveAction.cs b/Novaria.Common/Protos/TableInteractiveAction.cs deleted file mode 100644 index 95ac73e..0000000 --- a/Novaria.Common/Protos/TableInteractiveAction.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_InteractiveAction.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 table_InteractiveAction.proto</summary> - public static partial class TableInteractiveActionReflection { - - #region Descriptor - /// <summary>File descriptor for table_InteractiveAction.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableInteractiveActionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9JbnRlcmFjdGl2ZUFjdGlvbi5wcm90bxoXSW50ZXJhY3RpdmVB", - "Y3Rpb24ucHJvdG8iOwoXdGFibGVfSW50ZXJhY3RpdmVBY3Rpb24SIAoEbGlz", - "dBgBIAMoCzISLkludGVyYWN0aXZlQWN0aW9uQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.InteractiveActionReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InteractiveAction), global::Nova.Client.table_InteractiveAction.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_InteractiveAction : pb::IMessage<table_InteractiveAction> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_InteractiveAction> _parser = new pb::MessageParser<table_InteractiveAction>(() => new table_InteractiveAction()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_InteractiveAction> 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.TableInteractiveActionReflection.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 table_InteractiveAction() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InteractiveAction(table_InteractiveAction other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_InteractiveAction Clone() { - return new table_InteractiveAction(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.InteractiveAction> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.InteractiveAction.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.InteractiveAction> list_ = new pbc::RepeatedField<global::Nova.Client.InteractiveAction>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.InteractiveAction> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_InteractiveAction); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_InteractiveAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_InteractiveAction other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableItem.cs b/Novaria.Common/Protos/TableItem.cs deleted file mode 100644 index 302d1b0..0000000 --- a/Novaria.Common/Protos/TableItem.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Item.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 table_Item.proto</summary> - public static partial class TableItemReflection { - - #region Descriptor - /// <summary>File descriptor for table_Item.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableItemReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9JdGVtLnByb3RvGgpJdGVtLnByb3RvIiEKCnRhYmxlX0l0ZW0S", - "EwoEbGlzdBgBIAMoCzIFLkl0ZW1CDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ItemReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Item), global::Nova.Client.table_Item.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Item : pb::IMessage<table_Item> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Item> _parser = new pb::MessageParser<table_Item>(() => new table_Item()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Item> 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.TableItemReflection.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 table_Item() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Item(table_Item other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Item Clone() { - return new table_Item(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Item> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Item.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Item> list_ = new pbc::RepeatedField<global::Nova.Client.Item>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Item> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Item); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Item other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Item other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableItemPackMark.cs b/Novaria.Common/Protos/TableItemPackMark.cs deleted file mode 100644 index a1ff2b6..0000000 --- a/Novaria.Common/Protos/TableItemPackMark.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ItemPackMark.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 table_ItemPackMark.proto</summary> - public static partial class TableItemPackMarkReflection { - - #region Descriptor - /// <summary>File descriptor for table_ItemPackMark.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableItemPackMarkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9JdGVtUGFja01hcmsucHJvdG8aEkl0ZW1QYWNrTWFyay5wcm90", - "byIxChJ0YWJsZV9JdGVtUGFja01hcmsSGwoEbGlzdBgBIAMoCzINLkl0ZW1Q", - "YWNrTWFya0IOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ItemPackMarkReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ItemPackMark), global::Nova.Client.table_ItemPackMark.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ItemPackMark : pb::IMessage<table_ItemPackMark> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ItemPackMark> _parser = new pb::MessageParser<table_ItemPackMark>(() => new table_ItemPackMark()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ItemPackMark> 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.TableItemPackMarkReflection.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 table_ItemPackMark() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ItemPackMark(table_ItemPackMark other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ItemPackMark Clone() { - return new table_ItemPackMark(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ItemPackMark> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ItemPackMark.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ItemPackMark> list_ = new pbc::RepeatedField<global::Nova.Client.ItemPackMark>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ItemPackMark> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ItemPackMark); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ItemPackMark other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ItemPackMark other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableJumpTo.cs b/Novaria.Common/Protos/TableJumpTo.cs deleted file mode 100644 index e0f64e9..0000000 --- a/Novaria.Common/Protos/TableJumpTo.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_JumpTo.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 table_JumpTo.proto</summary> - public static partial class TableJumpToReflection { - - #region Descriptor - /// <summary>File descriptor for table_JumpTo.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableJumpToReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9KdW1wVG8ucHJvdG8aDEp1bXBUby5wcm90byIlCgx0YWJsZV9K", - "dW1wVG8SFQoEbGlzdBgBIAMoCzIHLkp1bXBUb0IOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.JumpToReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_JumpTo), global::Nova.Client.table_JumpTo.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_JumpTo : pb::IMessage<table_JumpTo> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_JumpTo> _parser = new pb::MessageParser<table_JumpTo>(() => new table_JumpTo()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_JumpTo> 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.TableJumpToReflection.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 table_JumpTo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_JumpTo(table_JumpTo other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_JumpTo Clone() { - return new table_JumpTo(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.JumpTo> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.JumpTo.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.JumpTo> list_ = new pbc::RepeatedField<global::Nova.Client.JumpTo>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.JumpTo> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_JumpTo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_JumpTo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_JumpTo other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableLoginRewardControl.cs b/Novaria.Common/Protos/TableLoginRewardControl.cs deleted file mode 100644 index 0d18fb5..0000000 --- a/Novaria.Common/Protos/TableLoginRewardControl.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_LoginRewardControl.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 table_LoginRewardControl.proto</summary> - public static partial class TableLoginRewardControlReflection { - - #region Descriptor - /// <summary>File descriptor for table_LoginRewardControl.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableLoginRewardControlReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9Mb2dpblJld2FyZENvbnRyb2wucHJvdG8aGExvZ2luUmV3YXJk", - "Q29udHJvbC5wcm90byI9Chh0YWJsZV9Mb2dpblJld2FyZENvbnRyb2wSIQoE", - "bGlzdBgBIAMoCzITLkxvZ2luUmV3YXJkQ29udHJvbEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.LoginRewardControlReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_LoginRewardControl), global::Nova.Client.table_LoginRewardControl.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_LoginRewardControl : pb::IMessage<table_LoginRewardControl> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_LoginRewardControl> _parser = new pb::MessageParser<table_LoginRewardControl>(() => new table_LoginRewardControl()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_LoginRewardControl> 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.TableLoginRewardControlReflection.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 table_LoginRewardControl() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_LoginRewardControl(table_LoginRewardControl other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_LoginRewardControl Clone() { - return new table_LoginRewardControl(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.LoginRewardControl> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.LoginRewardControl.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.LoginRewardControl> list_ = new pbc::RepeatedField<global::Nova.Client.LoginRewardControl>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.LoginRewardControl> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_LoginRewardControl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_LoginRewardControl other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_LoginRewardControl other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableLoginRewardGroup.cs b/Novaria.Common/Protos/TableLoginRewardGroup.cs deleted file mode 100644 index a5f52f2..0000000 --- a/Novaria.Common/Protos/TableLoginRewardGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_LoginRewardGroup.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 table_LoginRewardGroup.proto</summary> - public static partial class TableLoginRewardGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_LoginRewardGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableLoginRewardGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9Mb2dpblJld2FyZEdyb3VwLnByb3RvGhZMb2dpblJld2FyZEdy", - "b3VwLnByb3RvIjkKFnRhYmxlX0xvZ2luUmV3YXJkR3JvdXASHwoEbGlzdBgB", - "IAMoCzIRLkxvZ2luUmV3YXJkR3JvdXBCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.LoginRewardGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_LoginRewardGroup), global::Nova.Client.table_LoginRewardGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_LoginRewardGroup : pb::IMessage<table_LoginRewardGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_LoginRewardGroup> _parser = new pb::MessageParser<table_LoginRewardGroup>(() => new table_LoginRewardGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_LoginRewardGroup> 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.TableLoginRewardGroupReflection.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 table_LoginRewardGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_LoginRewardGroup(table_LoginRewardGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_LoginRewardGroup Clone() { - return new table_LoginRewardGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.LoginRewardGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.LoginRewardGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.LoginRewardGroup> list_ = new pbc::RepeatedField<global::Nova.Client.LoginRewardGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.LoginRewardGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_LoginRewardGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_LoginRewardGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_LoginRewardGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMailTemplate.cs b/Novaria.Common/Protos/TableMailTemplate.cs deleted file mode 100644 index 6e7439d..0000000 --- a/Novaria.Common/Protos/TableMailTemplate.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MailTemplate.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 table_MailTemplate.proto</summary> - public static partial class TableMailTemplateReflection { - - #region Descriptor - /// <summary>File descriptor for table_MailTemplate.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMailTemplateReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9NYWlsVGVtcGxhdGUucHJvdG8aEk1haWxUZW1wbGF0ZS5wcm90", - "byIxChJ0YWJsZV9NYWlsVGVtcGxhdGUSGwoEbGlzdBgBIAMoCzINLk1haWxU", - "ZW1wbGF0ZUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MailTemplateReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MailTemplate), global::Nova.Client.table_MailTemplate.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MailTemplate : pb::IMessage<table_MailTemplate> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MailTemplate> _parser = new pb::MessageParser<table_MailTemplate>(() => new table_MailTemplate()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MailTemplate> 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.TableMailTemplateReflection.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 table_MailTemplate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MailTemplate(table_MailTemplate other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MailTemplate Clone() { - return new table_MailTemplate(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MailTemplate> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MailTemplate.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MailTemplate> list_ = new pbc::RepeatedField<global::Nova.Client.MailTemplate>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MailTemplate> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MailTemplate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MailTemplate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MailTemplate other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMainline.cs b/Novaria.Common/Protos/TableMainline.cs deleted file mode 100644 index 4373cc4..0000000 --- a/Novaria.Common/Protos/TableMainline.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Mainline.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 table_Mainline.proto</summary> - public static partial class TableMainlineReflection { - - #region Descriptor - /// <summary>File descriptor for table_Mainline.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMainlineReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9NYWlubGluZS5wcm90bxoOTWFpbmxpbmUucHJvdG8iKQoOdGFi", - "bGVfTWFpbmxpbmUSFwoEbGlzdBgBIAMoCzIJLk1haW5saW5lQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MainlineReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Mainline), global::Nova.Client.table_Mainline.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Mainline : pb::IMessage<table_Mainline> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Mainline> _parser = new pb::MessageParser<table_Mainline>(() => new table_Mainline()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Mainline> 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.TableMainlineReflection.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 table_Mainline() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Mainline(table_Mainline other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Mainline Clone() { - return new table_Mainline(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Mainline> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Mainline.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Mainline> list_ = new pbc::RepeatedField<global::Nova.Client.Mainline>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Mainline> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Mainline); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Mainline other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Mainline other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMainlineFloor.cs b/Novaria.Common/Protos/TableMainlineFloor.cs deleted file mode 100644 index ff601b7..0000000 --- a/Novaria.Common/Protos/TableMainlineFloor.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MainlineFloor.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 table_MainlineFloor.proto</summary> - public static partial class TableMainlineFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_MainlineFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMainlineFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9NYWlubGluZUZsb29yLnByb3RvGhNNYWlubGluZUZsb29yLnBy", - "b3RvIjMKE3RhYmxlX01haW5saW5lRmxvb3ISHAoEbGlzdBgBIAMoCzIOLk1h", - "aW5saW5lRmxvb3JCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MainlineFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MainlineFloor), global::Nova.Client.table_MainlineFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MainlineFloor : pb::IMessage<table_MainlineFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MainlineFloor> _parser = new pb::MessageParser<table_MainlineFloor>(() => new table_MainlineFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MainlineFloor> 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.TableMainlineFloorReflection.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 table_MainlineFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MainlineFloor(table_MainlineFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MainlineFloor Clone() { - return new table_MainlineFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MainlineFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MainlineFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MainlineFloor> list_ = new pbc::RepeatedField<global::Nova.Client.MainlineFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MainlineFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MainlineFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MainlineFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MainlineFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMallGem.cs b/Novaria.Common/Protos/TableMallGem.cs deleted file mode 100644 index 8d60c28..0000000 --- a/Novaria.Common/Protos/TableMallGem.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MallGem.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 table_MallGem.proto</summary> - public static partial class TableMallGemReflection { - - #region Descriptor - /// <summary>File descriptor for table_MallGem.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMallGemReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9NYWxsR2VtLnByb3RvGg1NYWxsR2VtLnByb3RvIicKDXRhYmxl", - "X01hbGxHZW0SFgoEbGlzdBgBIAMoCzIILk1hbGxHZW1CDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MallGemReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallGem), global::Nova.Client.table_MallGem.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MallGem : pb::IMessage<table_MallGem> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MallGem> _parser = new pb::MessageParser<table_MallGem>(() => new table_MallGem()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MallGem> 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.TableMallGemReflection.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 table_MallGem() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallGem(table_MallGem other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallGem Clone() { - return new table_MallGem(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MallGem> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallGem.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MallGem> list_ = new pbc::RepeatedField<global::Nova.Client.MallGem>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MallGem> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MallGem); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MallGem other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MallGem other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMallMonthlyCard.cs b/Novaria.Common/Protos/TableMallMonthlyCard.cs deleted file mode 100644 index 267cff3..0000000 --- a/Novaria.Common/Protos/TableMallMonthlyCard.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MallMonthlyCard.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 table_MallMonthlyCard.proto</summary> - public static partial class TableMallMonthlyCardReflection { - - #region Descriptor - /// <summary>File descriptor for table_MallMonthlyCard.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMallMonthlyCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9NYWxsTW9udGhseUNhcmQucHJvdG8aFU1hbGxNb250aGx5Q2Fy", - "ZC5wcm90byI3ChV0YWJsZV9NYWxsTW9udGhseUNhcmQSHgoEbGlzdBgBIAMo", - "CzIQLk1hbGxNb250aGx5Q2FyZEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MallMonthlyCardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallMonthlyCard), global::Nova.Client.table_MallMonthlyCard.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MallMonthlyCard : pb::IMessage<table_MallMonthlyCard> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MallMonthlyCard> _parser = new pb::MessageParser<table_MallMonthlyCard>(() => new table_MallMonthlyCard()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MallMonthlyCard> 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.TableMallMonthlyCardReflection.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 table_MallMonthlyCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallMonthlyCard(table_MallMonthlyCard other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallMonthlyCard Clone() { - return new table_MallMonthlyCard(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MallMonthlyCard> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallMonthlyCard.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MallMonthlyCard> list_ = new pbc::RepeatedField<global::Nova.Client.MallMonthlyCard>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MallMonthlyCard> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MallMonthlyCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MallMonthlyCard other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MallMonthlyCard other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMallPackage.cs b/Novaria.Common/Protos/TableMallPackage.cs deleted file mode 100644 index aab7c2e..0000000 --- a/Novaria.Common/Protos/TableMallPackage.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MallPackage.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 table_MallPackage.proto</summary> - public static partial class TableMallPackageReflection { - - #region Descriptor - /// <summary>File descriptor for table_MallPackage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMallPackageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9NYWxsUGFja2FnZS5wcm90bxoRTWFsbFBhY2thZ2UucHJvdG8i", - "LwoRdGFibGVfTWFsbFBhY2thZ2USGgoEbGlzdBgBIAMoCzIMLk1hbGxQYWNr", - "YWdlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MallPackageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallPackage), global::Nova.Client.table_MallPackage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MallPackage : pb::IMessage<table_MallPackage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MallPackage> _parser = new pb::MessageParser<table_MallPackage>(() => new table_MallPackage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MallPackage> 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.TableMallPackageReflection.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 table_MallPackage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallPackage(table_MallPackage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallPackage Clone() { - return new table_MallPackage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MallPackage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallPackage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MallPackage> list_ = new pbc::RepeatedField<global::Nova.Client.MallPackage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MallPackage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MallPackage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MallPackage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MallPackage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMallPackagePage.cs b/Novaria.Common/Protos/TableMallPackagePage.cs deleted file mode 100644 index 8b6b0ee..0000000 --- a/Novaria.Common/Protos/TableMallPackagePage.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MallPackagePage.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 table_MallPackagePage.proto</summary> - public static partial class TableMallPackagePageReflection { - - #region Descriptor - /// <summary>File descriptor for table_MallPackagePage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMallPackagePageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9NYWxsUGFja2FnZVBhZ2UucHJvdG8aFU1hbGxQYWNrYWdlUGFn", - "ZS5wcm90byI3ChV0YWJsZV9NYWxsUGFja2FnZVBhZ2USHgoEbGlzdBgBIAMo", - "CzIQLk1hbGxQYWNrYWdlUGFnZUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MallPackagePageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallPackagePage), global::Nova.Client.table_MallPackagePage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MallPackagePage : pb::IMessage<table_MallPackagePage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MallPackagePage> _parser = new pb::MessageParser<table_MallPackagePage>(() => new table_MallPackagePage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MallPackagePage> 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.TableMallPackagePageReflection.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 table_MallPackagePage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallPackagePage(table_MallPackagePage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallPackagePage Clone() { - return new table_MallPackagePage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MallPackagePage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallPackagePage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MallPackagePage> list_ = new pbc::RepeatedField<global::Nova.Client.MallPackagePage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MallPackagePage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MallPackagePage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MallPackagePage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MallPackagePage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMallShop.cs b/Novaria.Common/Protos/TableMallShop.cs deleted file mode 100644 index 8fce7d1..0000000 --- a/Novaria.Common/Protos/TableMallShop.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MallShop.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 table_MallShop.proto</summary> - public static partial class TableMallShopReflection { - - #region Descriptor - /// <summary>File descriptor for table_MallShop.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMallShopReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9NYWxsU2hvcC5wcm90bxoOTWFsbFNob3AucHJvdG8iKQoOdGFi", - "bGVfTWFsbFNob3ASFwoEbGlzdBgBIAMoCzIJLk1hbGxTaG9wQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MallShopReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallShop), global::Nova.Client.table_MallShop.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MallShop : pb::IMessage<table_MallShop> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MallShop> _parser = new pb::MessageParser<table_MallShop>(() => new table_MallShop()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MallShop> 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.TableMallShopReflection.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 table_MallShop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallShop(table_MallShop other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallShop Clone() { - return new table_MallShop(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MallShop> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallShop.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MallShop> list_ = new pbc::RepeatedField<global::Nova.Client.MallShop>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MallShop> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MallShop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MallShop other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MallShop other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMallShopPage.cs b/Novaria.Common/Protos/TableMallShopPage.cs deleted file mode 100644 index e9509ff..0000000 --- a/Novaria.Common/Protos/TableMallShopPage.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MallShopPage.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 table_MallShopPage.proto</summary> - public static partial class TableMallShopPageReflection { - - #region Descriptor - /// <summary>File descriptor for table_MallShopPage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMallShopPageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9NYWxsU2hvcFBhZ2UucHJvdG8aEk1hbGxTaG9wUGFnZS5wcm90", - "byIxChJ0YWJsZV9NYWxsU2hvcFBhZ2USGwoEbGlzdBgBIAMoCzINLk1hbGxT", - "aG9wUGFnZUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MallShopPageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallShopPage), global::Nova.Client.table_MallShopPage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MallShopPage : pb::IMessage<table_MallShopPage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MallShopPage> _parser = new pb::MessageParser<table_MallShopPage>(() => new table_MallShopPage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MallShopPage> 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.TableMallShopPageReflection.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 table_MallShopPage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallShopPage(table_MallShopPage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MallShopPage Clone() { - return new table_MallShopPage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MallShopPage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallShopPage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MallShopPage> list_ = new pbc::RepeatedField<global::Nova.Client.MallShopPage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MallShopPage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MallShopPage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MallShopPage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MallShopPage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonster.cs b/Novaria.Common/Protos/TableMonster.cs deleted file mode 100644 index c158dcf..0000000 --- a/Novaria.Common/Protos/TableMonster.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Monster.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 table_Monster.proto</summary> - public static partial class TableMonsterReflection { - - #region Descriptor - /// <summary>File descriptor for table_Monster.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9Nb25zdGVyLnByb3RvGg1Nb25zdGVyLnByb3RvIicKDXRhYmxl", - "X01vbnN0ZXISFgoEbGlzdBgBIAMoCzIILk1vbnN0ZXJCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Monster), global::Nova.Client.table_Monster.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Monster : pb::IMessage<table_Monster> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Monster> _parser = new pb::MessageParser<table_Monster>(() => new table_Monster()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Monster> 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.TableMonsterReflection.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 table_Monster() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Monster(table_Monster other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Monster Clone() { - return new table_Monster(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Monster> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Monster.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Monster> list_ = new pbc::RepeatedField<global::Nova.Client.Monster>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Monster> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Monster); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Monster other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Monster other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterAI.cs b/Novaria.Common/Protos/TableMonsterAI.cs deleted file mode 100644 index 0404027..0000000 --- a/Novaria.Common/Protos/TableMonsterAI.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterAI.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 table_MonsterAI.proto</summary> - public static partial class TableMonsterAIReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterAI.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterAIReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9Nb25zdGVyQUkucHJvdG8aD01vbnN0ZXJBSS5wcm90byIrCg90", - "YWJsZV9Nb25zdGVyQUkSGAoEbGlzdBgBIAMoCzIKLk1vbnN0ZXJBSUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterAIReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterAI), global::Nova.Client.table_MonsterAI.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterAI : pb::IMessage<table_MonsterAI> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterAI> _parser = new pb::MessageParser<table_MonsterAI>(() => new table_MonsterAI()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterAI> 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.TableMonsterAIReflection.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 table_MonsterAI() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterAI(table_MonsterAI other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterAI Clone() { - return new table_MonsterAI(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterAI> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterAI.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterAI> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterAI>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterAI> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterAI); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterAI other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterAI other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterActionBranch.cs b/Novaria.Common/Protos/TableMonsterActionBranch.cs deleted file mode 100644 index d103997..0000000 --- a/Novaria.Common/Protos/TableMonsterActionBranch.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterActionBranch.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 table_MonsterActionBranch.proto</summary> - public static partial class TableMonsterActionBranchReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterActionBranch.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterActionBranchReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9Nb25zdGVyQWN0aW9uQnJhbmNoLnByb3RvGhlNb25zdGVyQWN0", - "aW9uQnJhbmNoLnByb3RvIj8KGXRhYmxlX01vbnN0ZXJBY3Rpb25CcmFuY2gS", - "IgoEbGlzdBgBIAMoCzIULk1vbnN0ZXJBY3Rpb25CcmFuY2hCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterActionBranchReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterActionBranch), global::Nova.Client.table_MonsterActionBranch.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterActionBranch : pb::IMessage<table_MonsterActionBranch> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterActionBranch> _parser = new pb::MessageParser<table_MonsterActionBranch>(() => new table_MonsterActionBranch()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterActionBranch> 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.TableMonsterActionBranchReflection.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 table_MonsterActionBranch() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterActionBranch(table_MonsterActionBranch other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterActionBranch Clone() { - return new table_MonsterActionBranch(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterActionBranch> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterActionBranch.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterActionBranch> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterActionBranch>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterActionBranch> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterActionBranch); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterActionBranch other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterActionBranch other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterBornGroup.cs b/Novaria.Common/Protos/TableMonsterBornGroup.cs deleted file mode 100644 index f3ccfea..0000000 --- a/Novaria.Common/Protos/TableMonsterBornGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterBornGroup.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 table_MonsterBornGroup.proto</summary> - public static partial class TableMonsterBornGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterBornGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterBornGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9Nb25zdGVyQm9ybkdyb3VwLnByb3RvGhZNb25zdGVyQm9ybkdy", - "b3VwLnByb3RvIjkKFnRhYmxlX01vbnN0ZXJCb3JuR3JvdXASHwoEbGlzdBgB", - "IAMoCzIRLk1vbnN0ZXJCb3JuR3JvdXBCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterBornGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterBornGroup), global::Nova.Client.table_MonsterBornGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterBornGroup : pb::IMessage<table_MonsterBornGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterBornGroup> _parser = new pb::MessageParser<table_MonsterBornGroup>(() => new table_MonsterBornGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterBornGroup> 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.TableMonsterBornGroupReflection.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 table_MonsterBornGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterBornGroup(table_MonsterBornGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterBornGroup Clone() { - return new table_MonsterBornGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterBornGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterBornGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterBornGroup> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterBornGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterBornGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterBornGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterBornGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterBornGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterGroup.cs b/Novaria.Common/Protos/TableMonsterGroup.cs deleted file mode 100644 index 2e29fdb..0000000 --- a/Novaria.Common/Protos/TableMonsterGroup.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterGroup.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 table_MonsterGroup.proto</summary> - public static partial class TableMonsterGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9Nb25zdGVyR3JvdXAucHJvdG8aEk1vbnN0ZXJHcm91cC5wcm90", - "byIxChJ0YWJsZV9Nb25zdGVyR3JvdXASGwoEbGlzdBgBIAMoCzINLk1vbnN0", - "ZXJHcm91cEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterGroup), global::Nova.Client.table_MonsterGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterGroup : pb::IMessage<table_MonsterGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterGroup> _parser = new pb::MessageParser<table_MonsterGroup>(() => new table_MonsterGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterGroup> 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.TableMonsterGroupReflection.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 table_MonsterGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterGroup(table_MonsterGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterGroup Clone() { - return new table_MonsterGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterGroup> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterSkin.cs b/Novaria.Common/Protos/TableMonsterSkin.cs deleted file mode 100644 index 0c17a4d..0000000 --- a/Novaria.Common/Protos/TableMonsterSkin.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterSkin.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 table_MonsterSkin.proto</summary> - public static partial class TableMonsterSkinReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterSkin.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterSkinReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9Nb25zdGVyU2tpbi5wcm90bxoRTW9uc3RlclNraW4ucHJvdG8i", - "LwoRdGFibGVfTW9uc3RlclNraW4SGgoEbGlzdBgBIAMoCzIMLk1vbnN0ZXJT", - "a2luQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterSkinReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterSkin), global::Nova.Client.table_MonsterSkin.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterSkin : pb::IMessage<table_MonsterSkin> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterSkin> _parser = new pb::MessageParser<table_MonsterSkin>(() => new table_MonsterSkin()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterSkin> 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.TableMonsterSkinReflection.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 table_MonsterSkin() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterSkin(table_MonsterSkin other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterSkin Clone() { - return new table_MonsterSkin(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterSkin> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterSkin.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterSkin> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterSkin>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterSkin> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterSkin); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterSkin other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterSkin other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterTeam.cs b/Novaria.Common/Protos/TableMonsterTeam.cs deleted file mode 100644 index cfc2769..0000000 --- a/Novaria.Common/Protos/TableMonsterTeam.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterTeam.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 table_MonsterTeam.proto</summary> - public static partial class TableMonsterTeamReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterTeam.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterTeamReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9Nb25zdGVyVGVhbS5wcm90bxoRTW9uc3RlclRlYW0ucHJvdG8i", - "LwoRdGFibGVfTW9uc3RlclRlYW0SGgoEbGlzdBgBIAMoCzIMLk1vbnN0ZXJU", - "ZWFtQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterTeamReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterTeam), global::Nova.Client.table_MonsterTeam.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterTeam : pb::IMessage<table_MonsterTeam> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterTeam> _parser = new pb::MessageParser<table_MonsterTeam>(() => new table_MonsterTeam()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterTeam> 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.TableMonsterTeamReflection.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 table_MonsterTeam() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterTeam(table_MonsterTeam other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterTeam Clone() { - return new table_MonsterTeam(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterTeam> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterTeam.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterTeam> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterTeam>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterTeam> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterTeam); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterTeam other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterTeam other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterValueTemplete.cs b/Novaria.Common/Protos/TableMonsterValueTemplete.cs deleted file mode 100644 index 5c104c8..0000000 --- a/Novaria.Common/Protos/TableMonsterValueTemplete.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterValueTemplete.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 table_MonsterValueTemplete.proto</summary> - public static partial class TableMonsterValueTempleteReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterValueTemplete.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterValueTempleteReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9Nb25zdGVyVmFsdWVUZW1wbGV0ZS5wcm90bxoaTW9uc3RlclZh", - "bHVlVGVtcGxldGUucHJvdG8iQQoadGFibGVfTW9uc3RlclZhbHVlVGVtcGxl", - "dGUSIwoEbGlzdBgBIAMoCzIVLk1vbnN0ZXJWYWx1ZVRlbXBsZXRlQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterValueTempleteReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterValueTemplete), global::Nova.Client.table_MonsterValueTemplete.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterValueTemplete : pb::IMessage<table_MonsterValueTemplete> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterValueTemplete> _parser = new pb::MessageParser<table_MonsterValueTemplete>(() => new table_MonsterValueTemplete()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterValueTemplete> 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.TableMonsterValueTempleteReflection.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 table_MonsterValueTemplete() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterValueTemplete(table_MonsterValueTemplete other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterValueTemplete Clone() { - return new table_MonsterValueTemplete(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterValueTemplete> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterValueTemplete.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterValueTemplete> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterValueTemplete>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterValueTemplete> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterValueTemplete); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterValueTemplete other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterValueTemplete other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonsterValueTempleteAdjust.cs b/Novaria.Common/Protos/TableMonsterValueTempleteAdjust.cs deleted file mode 100644 index aaade11..0000000 --- a/Novaria.Common/Protos/TableMonsterValueTempleteAdjust.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonsterValueTempleteAdjust.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 table_MonsterValueTempleteAdjust.proto</summary> - public static partial class TableMonsterValueTempleteAdjustReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonsterValueTempleteAdjust.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonsterValueTempleteAdjustReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiZ0YWJsZV9Nb25zdGVyVmFsdWVUZW1wbGV0ZUFkanVzdC5wcm90bxogTW9u", - "c3RlclZhbHVlVGVtcGxldGVBZGp1c3QucHJvdG8iTQogdGFibGVfTW9uc3Rl", - "clZhbHVlVGVtcGxldGVBZGp1c3QSKQoEbGlzdBgBIAMoCzIbLk1vbnN0ZXJW", - "YWx1ZVRlbXBsZXRlQWRqdXN0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonsterValueTempleteAdjustReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterValueTempleteAdjust), global::Nova.Client.table_MonsterValueTempleteAdjust.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonsterValueTempleteAdjust : pb::IMessage<table_MonsterValueTempleteAdjust> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonsterValueTempleteAdjust> _parser = new pb::MessageParser<table_MonsterValueTempleteAdjust>(() => new table_MonsterValueTempleteAdjust()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonsterValueTempleteAdjust> 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.TableMonsterValueTempleteAdjustReflection.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 table_MonsterValueTempleteAdjust() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterValueTempleteAdjust(table_MonsterValueTempleteAdjust other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonsterValueTempleteAdjust Clone() { - return new table_MonsterValueTempleteAdjust(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonsterValueTempleteAdjust> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterValueTempleteAdjust.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonsterValueTempleteAdjust> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterValueTempleteAdjust>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonsterValueTempleteAdjust> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonsterValueTempleteAdjust); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonsterValueTempleteAdjust other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonsterValueTempleteAdjust other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableMonthlyCard.cs b/Novaria.Common/Protos/TableMonthlyCard.cs deleted file mode 100644 index 0c543d1..0000000 --- a/Novaria.Common/Protos/TableMonthlyCard.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_MonthlyCard.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 table_MonthlyCard.proto</summary> - public static partial class TableMonthlyCardReflection { - - #region Descriptor - /// <summary>File descriptor for table_MonthlyCard.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableMonthlyCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9Nb250aGx5Q2FyZC5wcm90bxoRTW9udGhseUNhcmQucHJvdG8i", - "LwoRdGFibGVfTW9udGhseUNhcmQSGgoEbGlzdBgBIAMoCzIMLk1vbnRobHlD", - "YXJkQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.MonthlyCardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonthlyCard), global::Nova.Client.table_MonthlyCard.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_MonthlyCard : pb::IMessage<table_MonthlyCard> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_MonthlyCard> _parser = new pb::MessageParser<table_MonthlyCard>(() => new table_MonthlyCard()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_MonthlyCard> 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.TableMonthlyCardReflection.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 table_MonthlyCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonthlyCard(table_MonthlyCard other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_MonthlyCard Clone() { - return new table_MonthlyCard(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.MonthlyCard> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonthlyCard.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.MonthlyCard> list_ = new pbc::RepeatedField<global::Nova.Client.MonthlyCard>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.MonthlyCard> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_MonthlyCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_MonthlyCard other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_MonthlyCard other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableNPCConfig.cs b/Novaria.Common/Protos/TableNPCConfig.cs deleted file mode 100644 index 130790c..0000000 --- a/Novaria.Common/Protos/TableNPCConfig.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_NPCConfig.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 table_NPCConfig.proto</summary> - public static partial class TableNPCConfigReflection { - - #region Descriptor - /// <summary>File descriptor for table_NPCConfig.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableNPCConfigReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9OUENDb25maWcucHJvdG8aD05QQ0NvbmZpZy5wcm90byIrCg90", - "YWJsZV9OUENDb25maWcSGAoEbGlzdBgBIAMoCzIKLk5QQ0NvbmZpZ0IOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.NPCConfigReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_NPCConfig), global::Nova.Client.table_NPCConfig.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_NPCConfig : pb::IMessage<table_NPCConfig> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_NPCConfig> _parser = new pb::MessageParser<table_NPCConfig>(() => new table_NPCConfig()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_NPCConfig> 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.TableNPCConfigReflection.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 table_NPCConfig() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_NPCConfig(table_NPCConfig other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_NPCConfig Clone() { - return new table_NPCConfig(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.NPCConfig> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.NPCConfig.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.NPCConfig> list_ = new pbc::RepeatedField<global::Nova.Client.NPCConfig>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.NPCConfig> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_NPCConfig); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_NPCConfig other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_NPCConfig other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableNPCSkin.cs b/Novaria.Common/Protos/TableNPCSkin.cs deleted file mode 100644 index c915975..0000000 --- a/Novaria.Common/Protos/TableNPCSkin.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_NPCSkin.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 table_NPCSkin.proto</summary> - public static partial class TableNPCSkinReflection { - - #region Descriptor - /// <summary>File descriptor for table_NPCSkin.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableNPCSkinReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChN0YWJsZV9OUENTa2luLnByb3RvGg1OUENTa2luLnByb3RvIicKDXRhYmxl", - "X05QQ1NraW4SFgoEbGlzdBgBIAMoCzIILk5QQ1NraW5CDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.NPCSkinReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_NPCSkin), global::Nova.Client.table_NPCSkin.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_NPCSkin : pb::IMessage<table_NPCSkin> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_NPCSkin> _parser = new pb::MessageParser<table_NPCSkin>(() => new table_NPCSkin()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_NPCSkin> 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.TableNPCSkinReflection.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 table_NPCSkin() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_NPCSkin(table_NPCSkin other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_NPCSkin Clone() { - return new table_NPCSkin(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.NPCSkin> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.NPCSkin.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.NPCSkin> list_ = new pbc::RepeatedField<global::Nova.Client.NPCSkin>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.NPCSkin> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_NPCSkin); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_NPCSkin other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_NPCSkin other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableNote.cs b/Novaria.Common/Protos/TableNote.cs deleted file mode 100644 index 891415b..0000000 --- a/Novaria.Common/Protos/TableNote.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Note.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 table_Note.proto</summary> - public static partial class TableNoteReflection { - - #region Descriptor - /// <summary>File descriptor for table_Note.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableNoteReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9Ob3RlLnByb3RvGgpOb3RlLnByb3RvIiEKCnRhYmxlX05vdGUS", - "EwoEbGlzdBgBIAMoCzIFLk5vdGVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.NoteReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Note), global::Nova.Client.table_Note.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Note : pb::IMessage<table_Note> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Note> _parser = new pb::MessageParser<table_Note>(() => new table_Note()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Note> 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.TableNoteReflection.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 table_Note() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Note(table_Note other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Note Clone() { - return new table_Note(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Note> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Note.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Note> list_ = new pbc::RepeatedField<global::Nova.Client.Note>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Note> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Note); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Note other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Note other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableNoteDropGroup.cs b/Novaria.Common/Protos/TableNoteDropGroup.cs deleted file mode 100644 index 523c7c1..0000000 --- a/Novaria.Common/Protos/TableNoteDropGroup.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_NoteDropGroup.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 table_NoteDropGroup.proto</summary> - public static partial class TableNoteDropGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_NoteDropGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableNoteDropGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9Ob3RlRHJvcEdyb3VwLnByb3RvGhNOb3RlRHJvcEdyb3VwLnBy", - "b3RvIjMKE3RhYmxlX05vdGVEcm9wR3JvdXASHAoEbGlzdBgBIAMoCzIOLk5v", - "dGVEcm9wR3JvdXBCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.NoteDropGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_NoteDropGroup), global::Nova.Client.table_NoteDropGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_NoteDropGroup : pb::IMessage<table_NoteDropGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_NoteDropGroup> _parser = new pb::MessageParser<table_NoteDropGroup>(() => new table_NoteDropGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_NoteDropGroup> 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.TableNoteDropGroupReflection.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 table_NoteDropGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_NoteDropGroup(table_NoteDropGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_NoteDropGroup Clone() { - return new table_NoteDropGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.NoteDropGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.NoteDropGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.NoteDropGroup> list_ = new pbc::RepeatedField<global::Nova.Client.NoteDropGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.NoteDropGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_NoteDropGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_NoteDropGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_NoteDropGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableOnceAdditionalAttribute.cs b/Novaria.Common/Protos/TableOnceAdditionalAttribute.cs deleted file mode 100644 index bfdcd2c..0000000 --- a/Novaria.Common/Protos/TableOnceAdditionalAttribute.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_OnceAdditionalAttribute.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 table_OnceAdditionalAttribute.proto</summary> - public static partial class TableOnceAdditionalAttributeReflection { - - #region Descriptor - /// <summary>File descriptor for table_OnceAdditionalAttribute.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableOnceAdditionalAttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiN0YWJsZV9PbmNlQWRkaXRpb25hbEF0dHJpYnV0ZS5wcm90bxodT25jZUFk", - "ZGl0aW9uYWxBdHRyaWJ1dGUucHJvdG8iRwoddGFibGVfT25jZUFkZGl0aW9u", - "YWxBdHRyaWJ1dGUSJgoEbGlzdBgBIAMoCzIYLk9uY2VBZGRpdGlvbmFsQXR0", - "cmlidXRlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.OnceAdditionalAttributeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_OnceAdditionalAttribute), global::Nova.Client.table_OnceAdditionalAttribute.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_OnceAdditionalAttribute : pb::IMessage<table_OnceAdditionalAttribute> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_OnceAdditionalAttribute> _parser = new pb::MessageParser<table_OnceAdditionalAttribute>(() => new table_OnceAdditionalAttribute()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_OnceAdditionalAttribute> 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.TableOnceAdditionalAttributeReflection.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 table_OnceAdditionalAttribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_OnceAdditionalAttribute(table_OnceAdditionalAttribute other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_OnceAdditionalAttribute Clone() { - return new table_OnceAdditionalAttribute(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.OnceAdditionalAttribute> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.OnceAdditionalAttribute.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttribute> list_ = new pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttribute>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttribute> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_OnceAdditionalAttribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_OnceAdditionalAttribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_OnceAdditionalAttribute other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableOnceAdditionalAttributeValue.cs b/Novaria.Common/Protos/TableOnceAdditionalAttributeValue.cs deleted file mode 100644 index ab960cb..0000000 --- a/Novaria.Common/Protos/TableOnceAdditionalAttributeValue.cs +++ /dev/null @@ -1,233 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_OnceAdditionalAttributeValue.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 table_OnceAdditionalAttributeValue.proto</summary> - public static partial class TableOnceAdditionalAttributeValueReflection { - - #region Descriptor - /// <summary>File descriptor for table_OnceAdditionalAttributeValue.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableOnceAdditionalAttributeValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cih0YWJsZV9PbmNlQWRkaXRpb25hbEF0dHJpYnV0ZVZhbHVlLnByb3RvGiJP", - "bmNlQWRkaXRpb25hbEF0dHJpYnV0ZVZhbHVlLnByb3RvIlEKInRhYmxlX09u", - "Y2VBZGRpdGlvbmFsQXR0cmlidXRlVmFsdWUSKwoEbGlzdBgBIAMoCzIdLk9u", - "Y2VBZGRpdGlvbmFsQXR0cmlidXRlVmFsdWVCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.OnceAdditionalAttributeValueReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_OnceAdditionalAttributeValue), global::Nova.Client.table_OnceAdditionalAttributeValue.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_OnceAdditionalAttributeValue : pb::IMessage<table_OnceAdditionalAttributeValue> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_OnceAdditionalAttributeValue> _parser = new pb::MessageParser<table_OnceAdditionalAttributeValue>(() => new table_OnceAdditionalAttributeValue()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_OnceAdditionalAttributeValue> 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.TableOnceAdditionalAttributeValueReflection.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 table_OnceAdditionalAttributeValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_OnceAdditionalAttributeValue(table_OnceAdditionalAttributeValue other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_OnceAdditionalAttributeValue Clone() { - return new table_OnceAdditionalAttributeValue(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.OnceAdditionalAttributeValue> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.OnceAdditionalAttributeValue.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttributeValue> list_ = new pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttributeValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttributeValue> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_OnceAdditionalAttributeValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_OnceAdditionalAttributeValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_OnceAdditionalAttributeValue other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableOpenFunc.cs b/Novaria.Common/Protos/TableOpenFunc.cs deleted file mode 100644 index 904bafa..0000000 --- a/Novaria.Common/Protos/TableOpenFunc.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_OpenFunc.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 table_OpenFunc.proto</summary> - public static partial class TableOpenFuncReflection { - - #region Descriptor - /// <summary>File descriptor for table_OpenFunc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableOpenFuncReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChR0YWJsZV9PcGVuRnVuYy5wcm90bxoOT3BlbkZ1bmMucHJvdG8iKQoOdGFi", - "bGVfT3BlbkZ1bmMSFwoEbGlzdBgBIAMoCzIJLk9wZW5GdW5jQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.OpenFuncReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_OpenFunc), global::Nova.Client.table_OpenFunc.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_OpenFunc : pb::IMessage<table_OpenFunc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_OpenFunc> _parser = new pb::MessageParser<table_OpenFunc>(() => new table_OpenFunc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_OpenFunc> 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.TableOpenFuncReflection.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 table_OpenFunc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_OpenFunc(table_OpenFunc other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_OpenFunc Clone() { - return new table_OpenFunc(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.OpenFunc> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.OpenFunc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.OpenFunc> list_ = new pbc::RepeatedField<global::Nova.Client.OpenFunc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.OpenFunc> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_OpenFunc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_OpenFunc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_OpenFunc other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePeriodicQuest.cs b/Novaria.Common/Protos/TablePeriodicQuest.cs deleted file mode 100644 index 5e5dee7..0000000 --- a/Novaria.Common/Protos/TablePeriodicQuest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PeriodicQuest.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 table_PeriodicQuest.proto</summary> - public static partial class TablePeriodicQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_PeriodicQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePeriodicQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9QZXJpb2RpY1F1ZXN0LnByb3RvGhNQZXJpb2RpY1F1ZXN0LnBy", - "b3RvIjMKE3RhYmxlX1BlcmlvZGljUXVlc3QSHAoEbGlzdBgBIAMoCzIOLlBl", - "cmlvZGljUXVlc3RCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PeriodicQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PeriodicQuest), global::Nova.Client.table_PeriodicQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PeriodicQuest : pb::IMessage<table_PeriodicQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PeriodicQuest> _parser = new pb::MessageParser<table_PeriodicQuest>(() => new table_PeriodicQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PeriodicQuest> 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.TablePeriodicQuestReflection.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 table_PeriodicQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PeriodicQuest(table_PeriodicQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PeriodicQuest Clone() { - return new table_PeriodicQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PeriodicQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PeriodicQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PeriodicQuest> list_ = new pbc::RepeatedField<global::Nova.Client.PeriodicQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PeriodicQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PeriodicQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PeriodicQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PeriodicQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePeriodicQuestControl.cs b/Novaria.Common/Protos/TablePeriodicQuestControl.cs deleted file mode 100644 index 6b8a41f..0000000 --- a/Novaria.Common/Protos/TablePeriodicQuestControl.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PeriodicQuestControl.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 table_PeriodicQuestControl.proto</summary> - public static partial class TablePeriodicQuestControlReflection { - - #region Descriptor - /// <summary>File descriptor for table_PeriodicQuestControl.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePeriodicQuestControlReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9QZXJpb2RpY1F1ZXN0Q29udHJvbC5wcm90bxoaUGVyaW9kaWNR", - "dWVzdENvbnRyb2wucHJvdG8iQQoadGFibGVfUGVyaW9kaWNRdWVzdENvbnRy", - "b2wSIwoEbGlzdBgBIAMoCzIVLlBlcmlvZGljUXVlc3RDb250cm9sQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PeriodicQuestControlReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PeriodicQuestControl), global::Nova.Client.table_PeriodicQuestControl.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PeriodicQuestControl : pb::IMessage<table_PeriodicQuestControl> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PeriodicQuestControl> _parser = new pb::MessageParser<table_PeriodicQuestControl>(() => new table_PeriodicQuestControl()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PeriodicQuestControl> 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.TablePeriodicQuestControlReflection.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 table_PeriodicQuestControl() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PeriodicQuestControl(table_PeriodicQuestControl other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PeriodicQuestControl Clone() { - return new table_PeriodicQuestControl(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PeriodicQuestControl> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PeriodicQuestControl.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PeriodicQuestControl> list_ = new pbc::RepeatedField<global::Nova.Client.PeriodicQuestControl>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PeriodicQuestControl> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PeriodicQuestControl); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PeriodicQuestControl other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PeriodicQuestControl other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePeriodicQuestGroup.cs b/Novaria.Common/Protos/TablePeriodicQuestGroup.cs deleted file mode 100644 index 853e2f2..0000000 --- a/Novaria.Common/Protos/TablePeriodicQuestGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PeriodicQuestGroup.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 table_PeriodicQuestGroup.proto</summary> - public static partial class TablePeriodicQuestGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_PeriodicQuestGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePeriodicQuestGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9QZXJpb2RpY1F1ZXN0R3JvdXAucHJvdG8aGFBlcmlvZGljUXVl", - "c3RHcm91cC5wcm90byI9Chh0YWJsZV9QZXJpb2RpY1F1ZXN0R3JvdXASIQoE", - "bGlzdBgBIAMoCzITLlBlcmlvZGljUXVlc3RHcm91cEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PeriodicQuestGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PeriodicQuestGroup), global::Nova.Client.table_PeriodicQuestGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PeriodicQuestGroup : pb::IMessage<table_PeriodicQuestGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PeriodicQuestGroup> _parser = new pb::MessageParser<table_PeriodicQuestGroup>(() => new table_PeriodicQuestGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PeriodicQuestGroup> 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.TablePeriodicQuestGroupReflection.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 table_PeriodicQuestGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PeriodicQuestGroup(table_PeriodicQuestGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PeriodicQuestGroup Clone() { - return new table_PeriodicQuestGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PeriodicQuestGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PeriodicQuestGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PeriodicQuestGroup> list_ = new pbc::RepeatedField<global::Nova.Client.PeriodicQuestGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PeriodicQuestGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PeriodicQuestGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PeriodicQuestGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PeriodicQuestGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePerk.cs b/Novaria.Common/Protos/TablePerk.cs deleted file mode 100644 index ce2f2bd..0000000 --- a/Novaria.Common/Protos/TablePerk.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Perk.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 table_Perk.proto</summary> - public static partial class TablePerkReflection { - - #region Descriptor - /// <summary>File descriptor for table_Perk.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePerkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9QZXJrLnByb3RvGgpQZXJrLnByb3RvIiEKCnRhYmxlX1BlcmsS", - "EwoEbGlzdBgBIAMoCzIFLlBlcmtCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PerkReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Perk), global::Nova.Client.table_Perk.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Perk : pb::IMessage<table_Perk> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Perk> _parser = new pb::MessageParser<table_Perk>(() => new table_Perk()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Perk> 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.TablePerkReflection.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 table_Perk() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Perk(table_Perk other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Perk Clone() { - return new table_Perk(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Perk> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Perk.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Perk> list_ = new pbc::RepeatedField<global::Nova.Client.Perk>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Perk> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Perk); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Perk other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Perk other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePerkPassiveSkill.cs b/Novaria.Common/Protos/TablePerkPassiveSkill.cs deleted file mode 100644 index d43b395..0000000 --- a/Novaria.Common/Protos/TablePerkPassiveSkill.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PerkPassiveSkill.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 table_PerkPassiveSkill.proto</summary> - public static partial class TablePerkPassiveSkillReflection { - - #region Descriptor - /// <summary>File descriptor for table_PerkPassiveSkill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePerkPassiveSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9QZXJrUGFzc2l2ZVNraWxsLnByb3RvGhZQZXJrUGFzc2l2ZVNr", - "aWxsLnByb3RvIjkKFnRhYmxlX1BlcmtQYXNzaXZlU2tpbGwSHwoEbGlzdBgB", - "IAMoCzIRLlBlcmtQYXNzaXZlU2tpbGxCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PerkPassiveSkillReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PerkPassiveSkill), global::Nova.Client.table_PerkPassiveSkill.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PerkPassiveSkill : pb::IMessage<table_PerkPassiveSkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PerkPassiveSkill> _parser = new pb::MessageParser<table_PerkPassiveSkill>(() => new table_PerkPassiveSkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PerkPassiveSkill> 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.TablePerkPassiveSkillReflection.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 table_PerkPassiveSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PerkPassiveSkill(table_PerkPassiveSkill other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PerkPassiveSkill Clone() { - return new table_PerkPassiveSkill(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PerkPassiveSkill> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PerkPassiveSkill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PerkPassiveSkill> list_ = new pbc::RepeatedField<global::Nova.Client.PerkPassiveSkill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PerkPassiveSkill> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PerkPassiveSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PerkPassiveSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PerkPassiveSkill other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePlayerHead.cs b/Novaria.Common/Protos/TablePlayerHead.cs deleted file mode 100644 index f72d1eb..0000000 --- a/Novaria.Common/Protos/TablePlayerHead.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PlayerHead.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 table_PlayerHead.proto</summary> - public static partial class TablePlayerHeadReflection { - - #region Descriptor - /// <summary>File descriptor for table_PlayerHead.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePlayerHeadReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9QbGF5ZXJIZWFkLnByb3RvGhBQbGF5ZXJIZWFkLnByb3RvIi0K", - "EHRhYmxlX1BsYXllckhlYWQSGQoEbGlzdBgBIAMoCzILLlBsYXllckhlYWRC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PlayerHeadReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PlayerHead), global::Nova.Client.table_PlayerHead.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PlayerHead : pb::IMessage<table_PlayerHead> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PlayerHead> _parser = new pb::MessageParser<table_PlayerHead>(() => new table_PlayerHead()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PlayerHead> 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.TablePlayerHeadReflection.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 table_PlayerHead() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PlayerHead(table_PlayerHead other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PlayerHead Clone() { - return new table_PlayerHead(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PlayerHead> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PlayerHead.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PlayerHead> list_ = new pbc::RepeatedField<global::Nova.Client.PlayerHead>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PlayerHead> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PlayerHead); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PlayerHead other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PlayerHead other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePlot.cs b/Novaria.Common/Protos/TablePlot.cs deleted file mode 100644 index 27f5923..0000000 --- a/Novaria.Common/Protos/TablePlot.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Plot.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 table_Plot.proto</summary> - public static partial class TablePlotReflection { - - #region Descriptor - /// <summary>File descriptor for table_Plot.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePlotReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9QbG90LnByb3RvGgpQbG90LnByb3RvIiEKCnRhYmxlX1Bsb3QS", - "EwoEbGlzdBgBIAMoCzIFLlBsb3RCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PlotReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Plot), global::Nova.Client.table_Plot.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Plot : pb::IMessage<table_Plot> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Plot> _parser = new pb::MessageParser<table_Plot>(() => new table_Plot()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Plot> 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.TablePlotReflection.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 table_Plot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Plot(table_Plot other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Plot Clone() { - return new table_Plot(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Plot> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Plot.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Plot> list_ = new pbc::RepeatedField<global::Nova.Client.Plot>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Plot> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Plot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Plot other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Plot other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePotential.cs b/Novaria.Common/Protos/TablePotential.cs deleted file mode 100644 index 434c50e..0000000 --- a/Novaria.Common/Protos/TablePotential.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Potential.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 table_Potential.proto</summary> - public static partial class TablePotentialReflection { - - #region Descriptor - /// <summary>File descriptor for table_Potential.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePotentialReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9Qb3RlbnRpYWwucHJvdG8aD1BvdGVudGlhbC5wcm90byIrCg90", - "YWJsZV9Qb3RlbnRpYWwSGAoEbGlzdBgBIAMoCzIKLlBvdGVudGlhbEIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PotentialReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Potential), global::Nova.Client.table_Potential.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Potential : pb::IMessage<table_Potential> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Potential> _parser = new pb::MessageParser<table_Potential>(() => new table_Potential()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Potential> 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.TablePotentialReflection.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 table_Potential() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Potential(table_Potential other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Potential Clone() { - return new table_Potential(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Potential> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Potential.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Potential> list_ = new pbc::RepeatedField<global::Nova.Client.Potential>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Potential> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Potential); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Potential other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Potential other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePotentialPassiveSkill.cs b/Novaria.Common/Protos/TablePotentialPassiveSkill.cs deleted file mode 100644 index be7d16e..0000000 --- a/Novaria.Common/Protos/TablePotentialPassiveSkill.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PotentialPassiveSkill.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 table_PotentialPassiveSkill.proto</summary> - public static partial class TablePotentialPassiveSkillReflection { - - #region Descriptor - /// <summary>File descriptor for table_PotentialPassiveSkill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePotentialPassiveSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9Qb3RlbnRpYWxQYXNzaXZlU2tpbGwucHJvdG8aG1BvdGVudGlh", - "bFBhc3NpdmVTa2lsbC5wcm90byJDCht0YWJsZV9Qb3RlbnRpYWxQYXNzaXZl", - "U2tpbGwSJAoEbGlzdBgBIAMoCzIWLlBvdGVudGlhbFBhc3NpdmVTa2lsbEIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PotentialPassiveSkillReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PotentialPassiveSkill), global::Nova.Client.table_PotentialPassiveSkill.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PotentialPassiveSkill : pb::IMessage<table_PotentialPassiveSkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PotentialPassiveSkill> _parser = new pb::MessageParser<table_PotentialPassiveSkill>(() => new table_PotentialPassiveSkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PotentialPassiveSkill> 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.TablePotentialPassiveSkillReflection.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 table_PotentialPassiveSkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PotentialPassiveSkill(table_PotentialPassiveSkill other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PotentialPassiveSkill Clone() { - return new table_PotentialPassiveSkill(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PotentialPassiveSkill> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PotentialPassiveSkill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PotentialPassiveSkill> list_ = new pbc::RepeatedField<global::Nova.Client.PotentialPassiveSkill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PotentialPassiveSkill> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PotentialPassiveSkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PotentialPassiveSkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PotentialPassiveSkill other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePreviewMonsterGroup.cs b/Novaria.Common/Protos/TablePreviewMonsterGroup.cs deleted file mode 100644 index 03c9b39..0000000 --- a/Novaria.Common/Protos/TablePreviewMonsterGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PreviewMonsterGroup.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 table_PreviewMonsterGroup.proto</summary> - public static partial class TablePreviewMonsterGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_PreviewMonsterGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePreviewMonsterGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9QcmV2aWV3TW9uc3Rlckdyb3VwLnByb3RvGhlQcmV2aWV3TW9u", - "c3Rlckdyb3VwLnByb3RvIj8KGXRhYmxlX1ByZXZpZXdNb25zdGVyR3JvdXAS", - "IgoEbGlzdBgBIAMoCzIULlByZXZpZXdNb25zdGVyR3JvdXBCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PreviewMonsterGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PreviewMonsterGroup), global::Nova.Client.table_PreviewMonsterGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PreviewMonsterGroup : pb::IMessage<table_PreviewMonsterGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PreviewMonsterGroup> _parser = new pb::MessageParser<table_PreviewMonsterGroup>(() => new table_PreviewMonsterGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PreviewMonsterGroup> 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.TablePreviewMonsterGroupReflection.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 table_PreviewMonsterGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PreviewMonsterGroup(table_PreviewMonsterGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PreviewMonsterGroup Clone() { - return new table_PreviewMonsterGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PreviewMonsterGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PreviewMonsterGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PreviewMonsterGroup> list_ = new pbc::RepeatedField<global::Nova.Client.PreviewMonsterGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PreviewMonsterGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PreviewMonsterGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PreviewMonsterGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PreviewMonsterGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TablePreviewMonsterList.cs b/Novaria.Common/Protos/TablePreviewMonsterList.cs deleted file mode 100644 index 337e952..0000000 --- a/Novaria.Common/Protos/TablePreviewMonsterList.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_PreviewMonsterList.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 table_PreviewMonsterList.proto</summary> - public static partial class TablePreviewMonsterListReflection { - - #region Descriptor - /// <summary>File descriptor for table_PreviewMonsterList.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TablePreviewMonsterListReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9QcmV2aWV3TW9uc3Rlckxpc3QucHJvdG8aGFByZXZpZXdNb25z", - "dGVyTGlzdC5wcm90byI9Chh0YWJsZV9QcmV2aWV3TW9uc3Rlckxpc3QSIQoE", - "bGlzdBgBIAMoCzITLlByZXZpZXdNb25zdGVyTGlzdEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.PreviewMonsterListReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PreviewMonsterList), global::Nova.Client.table_PreviewMonsterList.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_PreviewMonsterList : pb::IMessage<table_PreviewMonsterList> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_PreviewMonsterList> _parser = new pb::MessageParser<table_PreviewMonsterList>(() => new table_PreviewMonsterList()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_PreviewMonsterList> 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.TablePreviewMonsterListReflection.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 table_PreviewMonsterList() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PreviewMonsterList(table_PreviewMonsterList other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_PreviewMonsterList Clone() { - return new table_PreviewMonsterList(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.PreviewMonsterList> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.PreviewMonsterList.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.PreviewMonsterList> list_ = new pbc::RepeatedField<global::Nova.Client.PreviewMonsterList>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.PreviewMonsterList> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_PreviewMonsterList); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_PreviewMonsterList other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_PreviewMonsterList other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableProduction.cs b/Novaria.Common/Protos/TableProduction.cs deleted file mode 100644 index a44eb71..0000000 --- a/Novaria.Common/Protos/TableProduction.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Production.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 table_Production.proto</summary> - public static partial class TableProductionReflection { - - #region Descriptor - /// <summary>File descriptor for table_Production.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableProductionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9Qcm9kdWN0aW9uLnByb3RvGhBQcm9kdWN0aW9uLnByb3RvIi0K", - "EHRhYmxlX1Byb2R1Y3Rpb24SGQoEbGlzdBgBIAMoCzILLlByb2R1Y3Rpb25C", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ProductionReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Production), global::Nova.Client.table_Production.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Production : pb::IMessage<table_Production> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Production> _parser = new pb::MessageParser<table_Production>(() => new table_Production()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Production> 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.TableProductionReflection.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 table_Production() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Production(table_Production other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Production Clone() { - return new table_Production(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Production> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Production.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Production> list_ = new pbc::RepeatedField<global::Nova.Client.Production>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Production> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Production); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Production other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Production other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableProductionType.cs b/Novaria.Common/Protos/TableProductionType.cs deleted file mode 100644 index 21a32d3..0000000 --- a/Novaria.Common/Protos/TableProductionType.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ProductionType.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 table_ProductionType.proto</summary> - public static partial class TableProductionTypeReflection { - - #region Descriptor - /// <summary>File descriptor for table_ProductionType.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableProductionTypeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9Qcm9kdWN0aW9uVHlwZS5wcm90bxoUUHJvZHVjdGlvblR5cGUu", - "cHJvdG8iNQoUdGFibGVfUHJvZHVjdGlvblR5cGUSHQoEbGlzdBgBIAMoCzIP", - "LlByb2R1Y3Rpb25UeXBlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ProductionTypeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ProductionType), global::Nova.Client.table_ProductionType.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ProductionType : pb::IMessage<table_ProductionType> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ProductionType> _parser = new pb::MessageParser<table_ProductionType>(() => new table_ProductionType()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ProductionType> 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.TableProductionTypeReflection.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 table_ProductionType() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ProductionType(table_ProductionType other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ProductionType Clone() { - return new table_ProductionType(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ProductionType> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ProductionType.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ProductionType> list_ = new pbc::RepeatedField<global::Nova.Client.ProductionType>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ProductionType> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ProductionType); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ProductionType other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ProductionType other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableRandomLevelMonster.cs b/Novaria.Common/Protos/TableRandomLevelMonster.cs deleted file mode 100644 index 5edaf12..0000000 --- a/Novaria.Common/Protos/TableRandomLevelMonster.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_RandomLevelMonster.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 table_RandomLevelMonster.proto</summary> - public static partial class TableRandomLevelMonsterReflection { - - #region Descriptor - /// <summary>File descriptor for table_RandomLevelMonster.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableRandomLevelMonsterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9SYW5kb21MZXZlbE1vbnN0ZXIucHJvdG8aGFJhbmRvbUxldmVs", - "TW9uc3Rlci5wcm90byI9Chh0YWJsZV9SYW5kb21MZXZlbE1vbnN0ZXISIQoE", - "bGlzdBgBIAMoCzITLlJhbmRvbUxldmVsTW9uc3RlckIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RandomLevelMonsterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RandomLevelMonster), global::Nova.Client.table_RandomLevelMonster.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_RandomLevelMonster : pb::IMessage<table_RandomLevelMonster> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_RandomLevelMonster> _parser = new pb::MessageParser<table_RandomLevelMonster>(() => new table_RandomLevelMonster()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_RandomLevelMonster> 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.TableRandomLevelMonsterReflection.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 table_RandomLevelMonster() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RandomLevelMonster(table_RandomLevelMonster other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RandomLevelMonster Clone() { - return new table_RandomLevelMonster(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.RandomLevelMonster> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.RandomLevelMonster.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.RandomLevelMonster> list_ = new pbc::RepeatedField<global::Nova.Client.RandomLevelMonster>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.RandomLevelMonster> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_RandomLevelMonster); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_RandomLevelMonster other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_RandomLevelMonster other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableRank.cs b/Novaria.Common/Protos/TableRank.cs deleted file mode 100644 index a5dd561..0000000 --- a/Novaria.Common/Protos/TableRank.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Rank.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 table_Rank.proto</summary> - public static partial class TableRankReflection { - - #region Descriptor - /// <summary>File descriptor for table_Rank.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableRankReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9SYW5rLnByb3RvGgpSYW5rLnByb3RvIiEKCnRhYmxlX1JhbmsS", - "EwoEbGlzdBgBIAMoCzIFLlJhbmtCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RankReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Rank), global::Nova.Client.table_Rank.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Rank : pb::IMessage<table_Rank> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Rank> _parser = new pb::MessageParser<table_Rank>(() => new table_Rank()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Rank> 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.TableRankReflection.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 table_Rank() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Rank(table_Rank other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Rank Clone() { - return new table_Rank(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Rank> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Rank.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Rank> list_ = new pbc::RepeatedField<global::Nova.Client.Rank>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Rank> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Rank); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Rank other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Rank other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableRegionBoss.cs b/Novaria.Common/Protos/TableRegionBoss.cs deleted file mode 100644 index 21a89c1..0000000 --- a/Novaria.Common/Protos/TableRegionBoss.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_RegionBoss.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 table_RegionBoss.proto</summary> - public static partial class TableRegionBossReflection { - - #region Descriptor - /// <summary>File descriptor for table_RegionBoss.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableRegionBossReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9SZWdpb25Cb3NzLnByb3RvGhBSZWdpb25Cb3NzLnByb3RvIi0K", - "EHRhYmxlX1JlZ2lvbkJvc3MSGQoEbGlzdBgBIAMoCzILLlJlZ2lvbkJvc3NC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RegionBossReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBoss), global::Nova.Client.table_RegionBoss.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_RegionBoss : pb::IMessage<table_RegionBoss> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_RegionBoss> _parser = new pb::MessageParser<table_RegionBoss>(() => new table_RegionBoss()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_RegionBoss> 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.TableRegionBossReflection.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 table_RegionBoss() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBoss(table_RegionBoss other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBoss Clone() { - return new table_RegionBoss(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.RegionBoss> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBoss.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.RegionBoss> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBoss>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.RegionBoss> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_RegionBoss); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_RegionBoss other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_RegionBoss other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableRegionBossAffix.cs b/Novaria.Common/Protos/TableRegionBossAffix.cs deleted file mode 100644 index 3fa4a06..0000000 --- a/Novaria.Common/Protos/TableRegionBossAffix.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_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 table_RegionBossAffix.proto</summary> - public static partial class TableRegionBossAffixReflection { - - #region Descriptor - /// <summary>File descriptor for table_RegionBossAffix.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableRegionBossAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9SZWdpb25Cb3NzQWZmaXgucHJvdG8aFVJlZ2lvbkJvc3NBZmZp", - "eC5wcm90byI3ChV0YWJsZV9SZWdpb25Cb3NzQWZmaXgSHgoEbGlzdBgBIAMo", - "CzIQLlJlZ2lvbkJvc3NBZmZpeEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RegionBossAffixReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBossAffix), global::Nova.Client.table_RegionBossAffix.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_RegionBossAffix : pb::IMessage<table_RegionBossAffix> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_RegionBossAffix> _parser = new pb::MessageParser<table_RegionBossAffix>(() => new table_RegionBossAffix()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_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.TableRegionBossAffixReflection.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 table_RegionBossAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBossAffix(table_RegionBossAffix other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBossAffix Clone() { - return new table_RegionBossAffix(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.RegionBossAffix> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBossAffix.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.RegionBossAffix> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBossAffix>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.RegionBossAffix> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_RegionBossAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_RegionBossAffix other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_RegionBossAffix other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableRegionBossFloor.cs b/Novaria.Common/Protos/TableRegionBossFloor.cs deleted file mode 100644 index 593a13a..0000000 --- a/Novaria.Common/Protos/TableRegionBossFloor.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_RegionBossFloor.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 table_RegionBossFloor.proto</summary> - public static partial class TableRegionBossFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_RegionBossFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableRegionBossFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9SZWdpb25Cb3NzRmxvb3IucHJvdG8aFVJlZ2lvbkJvc3NGbG9v", - "ci5wcm90byI3ChV0YWJsZV9SZWdpb25Cb3NzRmxvb3ISHgoEbGlzdBgBIAMo", - "CzIQLlJlZ2lvbkJvc3NGbG9vckIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RegionBossFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBossFloor), global::Nova.Client.table_RegionBossFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_RegionBossFloor : pb::IMessage<table_RegionBossFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_RegionBossFloor> _parser = new pb::MessageParser<table_RegionBossFloor>(() => new table_RegionBossFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_RegionBossFloor> 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.TableRegionBossFloorReflection.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 table_RegionBossFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBossFloor(table_RegionBossFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBossFloor Clone() { - return new table_RegionBossFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.RegionBossFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBossFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.RegionBossFloor> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBossFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.RegionBossFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_RegionBossFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_RegionBossFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_RegionBossFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableRegionBossLevel.cs b/Novaria.Common/Protos/TableRegionBossLevel.cs deleted file mode 100644 index 93b086d..0000000 --- a/Novaria.Common/Protos/TableRegionBossLevel.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_RegionBossLevel.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 table_RegionBossLevel.proto</summary> - public static partial class TableRegionBossLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_RegionBossLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableRegionBossLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9SZWdpb25Cb3NzTGV2ZWwucHJvdG8aFVJlZ2lvbkJvc3NMZXZl", - "bC5wcm90byI3ChV0YWJsZV9SZWdpb25Cb3NzTGV2ZWwSHgoEbGlzdBgBIAMo", - "CzIQLlJlZ2lvbkJvc3NMZXZlbEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.RegionBossLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBossLevel), global::Nova.Client.table_RegionBossLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_RegionBossLevel : pb::IMessage<table_RegionBossLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_RegionBossLevel> _parser = new pb::MessageParser<table_RegionBossLevel>(() => new table_RegionBossLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_RegionBossLevel> 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.TableRegionBossLevelReflection.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 table_RegionBossLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBossLevel(table_RegionBossLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_RegionBossLevel Clone() { - return new table_RegionBossLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.RegionBossLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBossLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.RegionBossLevel> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBossLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.RegionBossLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_RegionBossLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_RegionBossLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_RegionBossLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableResidentGoods.cs b/Novaria.Common/Protos/TableResidentGoods.cs deleted file mode 100644 index 4cc1d40..0000000 --- a/Novaria.Common/Protos/TableResidentGoods.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ResidentGoods.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 table_ResidentGoods.proto</summary> - public static partial class TableResidentGoodsReflection { - - #region Descriptor - /// <summary>File descriptor for table_ResidentGoods.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableResidentGoodsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9SZXNpZGVudEdvb2RzLnByb3RvGhNSZXNpZGVudEdvb2RzLnBy", - "b3RvIjMKE3RhYmxlX1Jlc2lkZW50R29vZHMSHAoEbGlzdBgBIAMoCzIOLlJl", - "c2lkZW50R29vZHNCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ResidentGoodsReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ResidentGoods), global::Nova.Client.table_ResidentGoods.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ResidentGoods : pb::IMessage<table_ResidentGoods> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ResidentGoods> _parser = new pb::MessageParser<table_ResidentGoods>(() => new table_ResidentGoods()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ResidentGoods> 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.TableResidentGoodsReflection.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 table_ResidentGoods() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ResidentGoods(table_ResidentGoods other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ResidentGoods Clone() { - return new table_ResidentGoods(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ResidentGoods> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ResidentGoods.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ResidentGoods> list_ = new pbc::RepeatedField<global::Nova.Client.ResidentGoods>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ResidentGoods> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ResidentGoods); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ResidentGoods other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ResidentGoods other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableResidentShop.cs b/Novaria.Common/Protos/TableResidentShop.cs deleted file mode 100644 index 16f5e0d..0000000 --- a/Novaria.Common/Protos/TableResidentShop.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ResidentShop.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 table_ResidentShop.proto</summary> - public static partial class TableResidentShopReflection { - - #region Descriptor - /// <summary>File descriptor for table_ResidentShop.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableResidentShopReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9SZXNpZGVudFNob3AucHJvdG8aElJlc2lkZW50U2hvcC5wcm90", - "byIxChJ0YWJsZV9SZXNpZGVudFNob3ASGwoEbGlzdBgBIAMoCzINLlJlc2lk", - "ZW50U2hvcEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ResidentShopReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ResidentShop), global::Nova.Client.table_ResidentShop.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ResidentShop : pb::IMessage<table_ResidentShop> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ResidentShop> _parser = new pb::MessageParser<table_ResidentShop>(() => new table_ResidentShop()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ResidentShop> 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.TableResidentShopReflection.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 table_ResidentShop() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ResidentShop(table_ResidentShop other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ResidentShop Clone() { - return new table_ResidentShop(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ResidentShop> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ResidentShop.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ResidentShop> list_ = new pbc::RepeatedField<global::Nova.Client.ResidentShop>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ResidentShop> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ResidentShop); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ResidentShop other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ResidentShop other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableScriptParameter.cs b/Novaria.Common/Protos/TableScriptParameter.cs deleted file mode 100644 index 14f6093..0000000 --- a/Novaria.Common/Protos/TableScriptParameter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ScriptParameter.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 table_ScriptParameter.proto</summary> - public static partial class TableScriptParameterReflection { - - #region Descriptor - /// <summary>File descriptor for table_ScriptParameter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableScriptParameterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9TY3JpcHRQYXJhbWV0ZXIucHJvdG8aFVNjcmlwdFBhcmFtZXRl", - "ci5wcm90byI3ChV0YWJsZV9TY3JpcHRQYXJhbWV0ZXISHgoEbGlzdBgBIAMo", - "CzIQLlNjcmlwdFBhcmFtZXRlckIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ScriptParameterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ScriptParameter), global::Nova.Client.table_ScriptParameter.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ScriptParameter : pb::IMessage<table_ScriptParameter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ScriptParameter> _parser = new pb::MessageParser<table_ScriptParameter>(() => new table_ScriptParameter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ScriptParameter> 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.TableScriptParameterReflection.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 table_ScriptParameter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ScriptParameter(table_ScriptParameter other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ScriptParameter Clone() { - return new table_ScriptParameter(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ScriptParameter> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ScriptParameter.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ScriptParameter> list_ = new pbc::RepeatedField<global::Nova.Client.ScriptParameter>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ScriptParameter> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ScriptParameter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ScriptParameter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ScriptParameter other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableScriptParameterValue.cs b/Novaria.Common/Protos/TableScriptParameterValue.cs deleted file mode 100644 index f2e6684..0000000 --- a/Novaria.Common/Protos/TableScriptParameterValue.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ScriptParameterValue.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 table_ScriptParameterValue.proto</summary> - public static partial class TableScriptParameterValueReflection { - - #region Descriptor - /// <summary>File descriptor for table_ScriptParameterValue.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableScriptParameterValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TY3JpcHRQYXJhbWV0ZXJWYWx1ZS5wcm90bxoaU2NyaXB0UGFy", - "YW1ldGVyVmFsdWUucHJvdG8iQQoadGFibGVfU2NyaXB0UGFyYW1ldGVyVmFs", - "dWUSIwoEbGlzdBgBIAMoCzIVLlNjcmlwdFBhcmFtZXRlclZhbHVlQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ScriptParameterValueReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ScriptParameterValue), global::Nova.Client.table_ScriptParameterValue.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ScriptParameterValue : pb::IMessage<table_ScriptParameterValue> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ScriptParameterValue> _parser = new pb::MessageParser<table_ScriptParameterValue>(() => new table_ScriptParameterValue()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ScriptParameterValue> 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.TableScriptParameterValueReflection.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 table_ScriptParameterValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ScriptParameterValue(table_ScriptParameterValue other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ScriptParameterValue Clone() { - return new table_ScriptParameterValue(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ScriptParameterValue> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ScriptParameterValue.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ScriptParameterValue> list_ = new pbc::RepeatedField<global::Nova.Client.ScriptParameterValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ScriptParameterValue> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ScriptParameterValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ScriptParameterValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ScriptParameterValue other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableShield.cs b/Novaria.Common/Protos/TableShield.cs deleted file mode 100644 index 13c3462..0000000 --- a/Novaria.Common/Protos/TableShield.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Shield.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 table_Shield.proto</summary> - public static partial class TableShieldReflection { - - #region Descriptor - /// <summary>File descriptor for table_Shield.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableShieldReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9TaGllbGQucHJvdG8aDFNoaWVsZC5wcm90byIlCgx0YWJsZV9T", - "aGllbGQSFQoEbGlzdBgBIAMoCzIHLlNoaWVsZEIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ShieldReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Shield), global::Nova.Client.table_Shield.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Shield : pb::IMessage<table_Shield> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Shield> _parser = new pb::MessageParser<table_Shield>(() => new table_Shield()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Shield> 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.TableShieldReflection.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 table_Shield() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Shield(table_Shield other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Shield Clone() { - return new table_Shield(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Shield> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Shield.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Shield> list_ = new pbc::RepeatedField<global::Nova.Client.Shield>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Shield> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Shield); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Shield other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Shield other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableShieldValue.cs b/Novaria.Common/Protos/TableShieldValue.cs deleted file mode 100644 index e65a669..0000000 --- a/Novaria.Common/Protos/TableShieldValue.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_ShieldValue.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 table_ShieldValue.proto</summary> - public static partial class TableShieldValueReflection { - - #region Descriptor - /// <summary>File descriptor for table_ShieldValue.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableShieldValueReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9TaGllbGRWYWx1ZS5wcm90bxoRU2hpZWxkVmFsdWUucHJvdG8i", - "LwoRdGFibGVfU2hpZWxkVmFsdWUSGgoEbGlzdBgBIAMoCzIMLlNoaWVsZFZh", - "bHVlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.ShieldValueReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ShieldValue), global::Nova.Client.table_ShieldValue.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_ShieldValue : pb::IMessage<table_ShieldValue> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_ShieldValue> _parser = new pb::MessageParser<table_ShieldValue>(() => new table_ShieldValue()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_ShieldValue> 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.TableShieldValueReflection.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 table_ShieldValue() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ShieldValue(table_ShieldValue other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_ShieldValue Clone() { - return new table_ShieldValue(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.ShieldValue> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.ShieldValue.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.ShieldValue> list_ = new pbc::RepeatedField<global::Nova.Client.ShieldValue>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.ShieldValue> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_ShieldValue); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_ShieldValue other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_ShieldValue other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableSignIn.cs b/Novaria.Common/Protos/TableSignIn.cs deleted file mode 100644 index 8347cb7..0000000 --- a/Novaria.Common/Protos/TableSignIn.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_SignIn.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 table_SignIn.proto</summary> - public static partial class TableSignInReflection { - - #region Descriptor - /// <summary>File descriptor for table_SignIn.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableSignInReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9TaWduSW4ucHJvdG8aDFNpZ25Jbi5wcm90byIlCgx0YWJsZV9T", - "aWduSW4SFQoEbGlzdBgBIAMoCzIHLlNpZ25JbkIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.SignInReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_SignIn), global::Nova.Client.table_SignIn.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_SignIn : pb::IMessage<table_SignIn> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_SignIn> _parser = new pb::MessageParser<table_SignIn>(() => new table_SignIn()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_SignIn> 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.TableSignInReflection.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 table_SignIn() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_SignIn(table_SignIn other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_SignIn Clone() { - return new table_SignIn(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.SignIn> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.SignIn.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.SignIn> list_ = new pbc::RepeatedField<global::Nova.Client.SignIn>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.SignIn> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_SignIn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_SignIn other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_SignIn other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableSkill.cs b/Novaria.Common/Protos/TableSkill.cs deleted file mode 100644 index d5503f8..0000000 --- a/Novaria.Common/Protos/TableSkill.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Skill.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 table_Skill.proto</summary> - public static partial class TableSkillReflection { - - #region Descriptor - /// <summary>File descriptor for table_Skill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableSkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9Ta2lsbC5wcm90bxoLU2tpbGwucHJvdG8iIwoLdGFibGVfU2tp", - "bGwSFAoEbGlzdBgBIAMoCzIGLlNraWxsQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.SkillReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Skill), global::Nova.Client.table_Skill.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Skill : pb::IMessage<table_Skill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Skill> _parser = new pb::MessageParser<table_Skill>(() => new table_Skill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Skill> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Nova.Client.TableSkillReflection.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 table_Skill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Skill(table_Skill other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Skill Clone() { - return new table_Skill(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Skill> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Skill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Skill> list_ = new pbc::RepeatedField<global::Nova.Client.Skill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Skill> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Skill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Skill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Skill other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableSkillDamage.cs b/Novaria.Common/Protos/TableSkillDamage.cs deleted file mode 100644 index c259d0b..0000000 --- a/Novaria.Common/Protos/TableSkillDamage.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_SkillDamage.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 table_SkillDamage.proto</summary> - public static partial class TableSkillDamageReflection { - - #region Descriptor - /// <summary>File descriptor for table_SkillDamage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableSkillDamageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9Ta2lsbERhbWFnZS5wcm90bxoRU2tpbGxEYW1hZ2UucHJvdG8i", - "LwoRdGFibGVfU2tpbGxEYW1hZ2USGgoEbGlzdBgBIAMoCzIMLlNraWxsRGFt", - "YWdlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.SkillDamageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_SkillDamage), global::Nova.Client.table_SkillDamage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_SkillDamage : pb::IMessage<table_SkillDamage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_SkillDamage> _parser = new pb::MessageParser<table_SkillDamage>(() => new table_SkillDamage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_SkillDamage> 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.TableSkillDamageReflection.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 table_SkillDamage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_SkillDamage(table_SkillDamage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_SkillDamage Clone() { - return new table_SkillDamage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.SkillDamage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.SkillDamage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.SkillDamage> list_ = new pbc::RepeatedField<global::Nova.Client.SkillDamage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.SkillDamage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_SkillDamage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_SkillDamage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_SkillDamage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTower.cs b/Novaria.Common/Protos/TableStarTower.cs deleted file mode 100644 index ea2c856..0000000 --- a/Novaria.Common/Protos/TableStarTower.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTower.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 table_StarTower.proto</summary> - public static partial class TableStarTowerReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTower.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9TdGFyVG93ZXIucHJvdG8aD1N0YXJUb3dlci5wcm90byIrCg90", - "YWJsZV9TdGFyVG93ZXISGAoEbGlzdBgBIAMoCzIKLlN0YXJUb3dlckIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTower), global::Nova.Client.table_StarTower.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTower : pb::IMessage<table_StarTower> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTower> _parser = new pb::MessageParser<table_StarTower>(() => new table_StarTower()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTower> 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.TableStarTowerReflection.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 table_StarTower() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTower(table_StarTower other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTower Clone() { - return new table_StarTower(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTower> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTower.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTower> list_ = new pbc::RepeatedField<global::Nova.Client.StarTower>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTower> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTower); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTower other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTower other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBattleThreshold.cs b/Novaria.Common/Protos/TableStarTowerBattleThreshold.cs deleted file mode 100644 index a7e9801..0000000 --- a/Novaria.Common/Protos/TableStarTowerBattleThreshold.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBattleThreshold.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 table_StarTowerBattleThreshold.proto</summary> - public static partial class TableStarTowerBattleThresholdReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBattleThreshold.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBattleThresholdReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiR0YWJsZV9TdGFyVG93ZXJCYXR0bGVUaHJlc2hvbGQucHJvdG8aHlN0YXJU", - "b3dlckJhdHRsZVRocmVzaG9sZC5wcm90byJJCh50YWJsZV9TdGFyVG93ZXJC", - "YXR0bGVUaHJlc2hvbGQSJwoEbGlzdBgBIAMoCzIZLlN0YXJUb3dlckJhdHRs", - "ZVRocmVzaG9sZEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBattleThresholdReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBattleThreshold), global::Nova.Client.table_StarTowerBattleThreshold.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBattleThreshold : pb::IMessage<table_StarTowerBattleThreshold> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBattleThreshold> _parser = new pb::MessageParser<table_StarTowerBattleThreshold>(() => new table_StarTowerBattleThreshold()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBattleThreshold> 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.TableStarTowerBattleThresholdReflection.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 table_StarTowerBattleThreshold() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBattleThreshold(table_StarTowerBattleThreshold other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBattleThreshold Clone() { - return new table_StarTowerBattleThreshold(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBattleThreshold> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBattleThreshold.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBattleThreshold> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBattleThreshold>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBattleThreshold> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBattleThreshold); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBattleThreshold other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBattleThreshold other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBookEntrance.cs b/Novaria.Common/Protos/TableStarTowerBookEntrance.cs deleted file mode 100644 index 1da240c..0000000 --- a/Novaria.Common/Protos/TableStarTowerBookEntrance.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBookEntrance.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 table_StarTowerBookEntrance.proto</summary> - public static partial class TableStarTowerBookEntranceReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBookEntrance.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBookEntranceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9TdGFyVG93ZXJCb29rRW50cmFuY2UucHJvdG8aG1N0YXJUb3dl", - "ckJvb2tFbnRyYW5jZS5wcm90byJDCht0YWJsZV9TdGFyVG93ZXJCb29rRW50", - "cmFuY2USJAoEbGlzdBgBIAMoCzIWLlN0YXJUb3dlckJvb2tFbnRyYW5jZUIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBookEntranceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookEntrance), global::Nova.Client.table_StarTowerBookEntrance.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBookEntrance : pb::IMessage<table_StarTowerBookEntrance> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBookEntrance> _parser = new pb::MessageParser<table_StarTowerBookEntrance>(() => new table_StarTowerBookEntrance()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBookEntrance> 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.TableStarTowerBookEntranceReflection.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 table_StarTowerBookEntrance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookEntrance(table_StarTowerBookEntrance other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookEntrance Clone() { - return new table_StarTowerBookEntrance(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookEntrance> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookEntrance.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookEntrance> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookEntrance>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBookEntrance> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBookEntrance); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBookEntrance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBookEntrance other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBookEventReward.cs b/Novaria.Common/Protos/TableStarTowerBookEventReward.cs deleted file mode 100644 index 8bfb923..0000000 --- a/Novaria.Common/Protos/TableStarTowerBookEventReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBookEventReward.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 table_StarTowerBookEventReward.proto</summary> - public static partial class TableStarTowerBookEventRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBookEventReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBookEventRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiR0YWJsZV9TdGFyVG93ZXJCb29rRXZlbnRSZXdhcmQucHJvdG8aHlN0YXJU", - "b3dlckJvb2tFdmVudFJld2FyZC5wcm90byJJCh50YWJsZV9TdGFyVG93ZXJC", - "b29rRXZlbnRSZXdhcmQSJwoEbGlzdBgBIAMoCzIZLlN0YXJUb3dlckJvb2tF", - "dmVudFJld2FyZEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBookEventRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookEventReward), global::Nova.Client.table_StarTowerBookEventReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBookEventReward : pb::IMessage<table_StarTowerBookEventReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBookEventReward> _parser = new pb::MessageParser<table_StarTowerBookEventReward>(() => new table_StarTowerBookEventReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBookEventReward> 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.TableStarTowerBookEventRewardReflection.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 table_StarTowerBookEventReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookEventReward(table_StarTowerBookEventReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookEventReward Clone() { - return new table_StarTowerBookEventReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookEventReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookEventReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookEventReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookEventReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBookEventReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBookEventReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBookEventReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBookEventReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBookFateCard.cs b/Novaria.Common/Protos/TableStarTowerBookFateCard.cs deleted file mode 100644 index 694fb02..0000000 --- a/Novaria.Common/Protos/TableStarTowerBookFateCard.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBookFateCard.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 table_StarTowerBookFateCard.proto</summary> - public static partial class TableStarTowerBookFateCardReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBookFateCard.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBookFateCardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9TdGFyVG93ZXJCb29rRmF0ZUNhcmQucHJvdG8aG1N0YXJUb3dl", - "ckJvb2tGYXRlQ2FyZC5wcm90byJDCht0YWJsZV9TdGFyVG93ZXJCb29rRmF0", - "ZUNhcmQSJAoEbGlzdBgBIAMoCzIWLlN0YXJUb3dlckJvb2tGYXRlQ2FyZEIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBookFateCardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookFateCard), global::Nova.Client.table_StarTowerBookFateCard.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBookFateCard : pb::IMessage<table_StarTowerBookFateCard> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBookFateCard> _parser = new pb::MessageParser<table_StarTowerBookFateCard>(() => new table_StarTowerBookFateCard()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBookFateCard> 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.TableStarTowerBookFateCardReflection.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 table_StarTowerBookFateCard() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookFateCard(table_StarTowerBookFateCard other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookFateCard Clone() { - return new table_StarTowerBookFateCard(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookFateCard> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookFateCard.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCard> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCard>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCard> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBookFateCard); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBookFateCard other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBookFateCard other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBookFateCardBundle.cs b/Novaria.Common/Protos/TableStarTowerBookFateCardBundle.cs deleted file mode 100644 index 8a3cd85..0000000 --- a/Novaria.Common/Protos/TableStarTowerBookFateCardBundle.cs +++ /dev/null @@ -1,233 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBookFateCardBundle.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 table_StarTowerBookFateCardBundle.proto</summary> - public static partial class TableStarTowerBookFateCardBundleReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBookFateCardBundle.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBookFateCardBundleReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cid0YWJsZV9TdGFyVG93ZXJCb29rRmF0ZUNhcmRCdW5kbGUucHJvdG8aIVN0", - "YXJUb3dlckJvb2tGYXRlQ2FyZEJ1bmRsZS5wcm90byJPCiF0YWJsZV9TdGFy", - "VG93ZXJCb29rRmF0ZUNhcmRCdW5kbGUSKgoEbGlzdBgBIAMoCzIcLlN0YXJU", - "b3dlckJvb2tGYXRlQ2FyZEJ1bmRsZUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBookFateCardBundleReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookFateCardBundle), global::Nova.Client.table_StarTowerBookFateCardBundle.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBookFateCardBundle : pb::IMessage<table_StarTowerBookFateCardBundle> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBookFateCardBundle> _parser = new pb::MessageParser<table_StarTowerBookFateCardBundle>(() => new table_StarTowerBookFateCardBundle()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBookFateCardBundle> 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.TableStarTowerBookFateCardBundleReflection.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 table_StarTowerBookFateCardBundle() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookFateCardBundle(table_StarTowerBookFateCardBundle other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookFateCardBundle Clone() { - return new table_StarTowerBookFateCardBundle(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookFateCardBundle> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookFateCardBundle.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardBundle> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardBundle>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardBundle> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBookFateCardBundle); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBookFateCardBundle other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBookFateCardBundle other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBookFateCardQuest.cs b/Novaria.Common/Protos/TableStarTowerBookFateCardQuest.cs deleted file mode 100644 index ebf5d56..0000000 --- a/Novaria.Common/Protos/TableStarTowerBookFateCardQuest.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBookFateCardQuest.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 table_StarTowerBookFateCardQuest.proto</summary> - public static partial class TableStarTowerBookFateCardQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBookFateCardQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBookFateCardQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiZ0YWJsZV9TdGFyVG93ZXJCb29rRmF0ZUNhcmRRdWVzdC5wcm90bxogU3Rh", - "clRvd2VyQm9va0ZhdGVDYXJkUXVlc3QucHJvdG8iTQogdGFibGVfU3RhclRv", - "d2VyQm9va0ZhdGVDYXJkUXVlc3QSKQoEbGlzdBgBIAMoCzIbLlN0YXJUb3dl", - "ckJvb2tGYXRlQ2FyZFF1ZXN0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBookFateCardQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookFateCardQuest), global::Nova.Client.table_StarTowerBookFateCardQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBookFateCardQuest : pb::IMessage<table_StarTowerBookFateCardQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBookFateCardQuest> _parser = new pb::MessageParser<table_StarTowerBookFateCardQuest>(() => new table_StarTowerBookFateCardQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBookFateCardQuest> 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.TableStarTowerBookFateCardQuestReflection.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 table_StarTowerBookFateCardQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookFateCardQuest(table_StarTowerBookFateCardQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookFateCardQuest Clone() { - return new table_StarTowerBookFateCardQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookFateCardQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookFateCardQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardQuest> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBookFateCardQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBookFateCardQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBookFateCardQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBookPotentialReward.cs b/Novaria.Common/Protos/TableStarTowerBookPotentialReward.cs deleted file mode 100644 index 4a5bb85..0000000 --- a/Novaria.Common/Protos/TableStarTowerBookPotentialReward.cs +++ /dev/null @@ -1,233 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBookPotentialReward.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 table_StarTowerBookPotentialReward.proto</summary> - public static partial class TableStarTowerBookPotentialRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBookPotentialReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBookPotentialRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cih0YWJsZV9TdGFyVG93ZXJCb29rUG90ZW50aWFsUmV3YXJkLnByb3RvGiJT", - "dGFyVG93ZXJCb29rUG90ZW50aWFsUmV3YXJkLnByb3RvIlEKInRhYmxlX1N0", - "YXJUb3dlckJvb2tQb3RlbnRpYWxSZXdhcmQSKwoEbGlzdBgBIAMoCzIdLlN0", - "YXJUb3dlckJvb2tQb3RlbnRpYWxSZXdhcmRCDqoCC05vdmEuQ2xpZW50YgZw", - "cm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBookPotentialRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookPotentialReward), global::Nova.Client.table_StarTowerBookPotentialReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBookPotentialReward : pb::IMessage<table_StarTowerBookPotentialReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBookPotentialReward> _parser = new pb::MessageParser<table_StarTowerBookPotentialReward>(() => new table_StarTowerBookPotentialReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBookPotentialReward> 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.TableStarTowerBookPotentialRewardReflection.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 table_StarTowerBookPotentialReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookPotentialReward(table_StarTowerBookPotentialReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBookPotentialReward Clone() { - return new table_StarTowerBookPotentialReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookPotentialReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookPotentialReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookPotentialReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookPotentialReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBookPotentialReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBookPotentialReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBookPotentialReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBookPotentialReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerBuildRank.cs b/Novaria.Common/Protos/TableStarTowerBuildRank.cs deleted file mode 100644 index 2f01bab..0000000 --- a/Novaria.Common/Protos/TableStarTowerBuildRank.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerBuildRank.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 table_StarTowerBuildRank.proto</summary> - public static partial class TableStarTowerBuildRankReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerBuildRank.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerBuildRankReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9TdGFyVG93ZXJCdWlsZFJhbmsucHJvdG8aGFN0YXJUb3dlckJ1", - "aWxkUmFuay5wcm90byI9Chh0YWJsZV9TdGFyVG93ZXJCdWlsZFJhbmsSIQoE", - "bGlzdBgBIAMoCzITLlN0YXJUb3dlckJ1aWxkUmFua0IOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerBuildRankReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBuildRank), global::Nova.Client.table_StarTowerBuildRank.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerBuildRank : pb::IMessage<table_StarTowerBuildRank> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerBuildRank> _parser = new pb::MessageParser<table_StarTowerBuildRank>(() => new table_StarTowerBuildRank()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerBuildRank> 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.TableStarTowerBuildRankReflection.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 table_StarTowerBuildRank() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBuildRank(table_StarTowerBuildRank other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerBuildRank Clone() { - return new table_StarTowerBuildRank(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBuildRank> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBuildRank.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBuildRank> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBuildRank>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerBuildRank> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerBuildRank); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerBuildRank other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerBuildRank other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerCombatEvent.cs b/Novaria.Common/Protos/TableStarTowerCombatEvent.cs deleted file mode 100644 index 3235cc7..0000000 --- a/Novaria.Common/Protos/TableStarTowerCombatEvent.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerCombatEvent.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 table_StarTowerCombatEvent.proto</summary> - public static partial class TableStarTowerCombatEventReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerCombatEvent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerCombatEventReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TdGFyVG93ZXJDb21iYXRFdmVudC5wcm90bxoaU3RhclRvd2Vy", - "Q29tYmF0RXZlbnQucHJvdG8iQQoadGFibGVfU3RhclRvd2VyQ29tYmF0RXZl", - "bnQSIwoEbGlzdBgBIAMoCzIVLlN0YXJUb3dlckNvbWJhdEV2ZW50Qg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerCombatEventReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerCombatEvent), global::Nova.Client.table_StarTowerCombatEvent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerCombatEvent : pb::IMessage<table_StarTowerCombatEvent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerCombatEvent> _parser = new pb::MessageParser<table_StarTowerCombatEvent>(() => new table_StarTowerCombatEvent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerCombatEvent> 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.TableStarTowerCombatEventReflection.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 table_StarTowerCombatEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerCombatEvent(table_StarTowerCombatEvent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerCombatEvent Clone() { - return new table_StarTowerCombatEvent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerCombatEvent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerCombatEvent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerCombatEvent> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerCombatEvent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerCombatEvent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerCombatEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerCombatEvent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerCombatEvent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerCombo.cs b/Novaria.Common/Protos/TableStarTowerCombo.cs deleted file mode 100644 index db295be..0000000 --- a/Novaria.Common/Protos/TableStarTowerCombo.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerCombo.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 table_StarTowerCombo.proto</summary> - public static partial class TableStarTowerComboReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerCombo.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerComboReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdGFyVG93ZXJDb21iby5wcm90bxoUU3RhclRvd2VyQ29tYm8u", - "cHJvdG8iNQoUdGFibGVfU3RhclRvd2VyQ29tYm8SHQoEbGlzdBgBIAMoCzIP", - "LlN0YXJUb3dlckNvbWJvQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerComboReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerCombo), global::Nova.Client.table_StarTowerCombo.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerCombo : pb::IMessage<table_StarTowerCombo> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerCombo> _parser = new pb::MessageParser<table_StarTowerCombo>(() => new table_StarTowerCombo()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerCombo> 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.TableStarTowerComboReflection.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 table_StarTowerCombo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerCombo(table_StarTowerCombo other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerCombo Clone() { - return new table_StarTowerCombo(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerCombo> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerCombo.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerCombo> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerCombo>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerCombo> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerCombo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerCombo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerCombo other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerDropItem.cs b/Novaria.Common/Protos/TableStarTowerDropItem.cs deleted file mode 100644 index 2f0412a..0000000 --- a/Novaria.Common/Protos/TableStarTowerDropItem.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerDropItem.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 table_StarTowerDropItem.proto</summary> - public static partial class TableStarTowerDropItemReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerDropItem.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerDropItemReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9TdGFyVG93ZXJEcm9wSXRlbS5wcm90bxoXU3RhclRvd2VyRHJv", - "cEl0ZW0ucHJvdG8iOwoXdGFibGVfU3RhclRvd2VyRHJvcEl0ZW0SIAoEbGlz", - "dBgBIAMoCzISLlN0YXJUb3dlckRyb3BJdGVtQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerDropItemReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerDropItem), global::Nova.Client.table_StarTowerDropItem.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerDropItem : pb::IMessage<table_StarTowerDropItem> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerDropItem> _parser = new pb::MessageParser<table_StarTowerDropItem>(() => new table_StarTowerDropItem()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerDropItem> 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.TableStarTowerDropItemReflection.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 table_StarTowerDropItem() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerDropItem(table_StarTowerDropItem other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerDropItem Clone() { - return new table_StarTowerDropItem(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerDropItem> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerDropItem.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerDropItem> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerDropItem>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerDropItem> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerDropItem); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerDropItem other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerDropItem other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerEnemySet.cs b/Novaria.Common/Protos/TableStarTowerEnemySet.cs deleted file mode 100644 index 0b4f233..0000000 --- a/Novaria.Common/Protos/TableStarTowerEnemySet.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerEnemySet.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 table_StarTowerEnemySet.proto</summary> - public static partial class TableStarTowerEnemySetReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerEnemySet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerEnemySetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9TdGFyVG93ZXJFbmVteVNldC5wcm90bxoXU3RhclRvd2VyRW5l", - "bXlTZXQucHJvdG8iOwoXdGFibGVfU3RhclRvd2VyRW5lbXlTZXQSIAoEbGlz", - "dBgBIAMoCzISLlN0YXJUb3dlckVuZW15U2V0Qg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerEnemySetReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEnemySet), global::Nova.Client.table_StarTowerEnemySet.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerEnemySet : pb::IMessage<table_StarTowerEnemySet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerEnemySet> _parser = new pb::MessageParser<table_StarTowerEnemySet>(() => new table_StarTowerEnemySet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerEnemySet> 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.TableStarTowerEnemySetReflection.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 table_StarTowerEnemySet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEnemySet(table_StarTowerEnemySet other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEnemySet Clone() { - return new table_StarTowerEnemySet(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEnemySet> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEnemySet.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEnemySet> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEnemySet>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerEnemySet> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerEnemySet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerEnemySet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerEnemySet other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerEvent.cs b/Novaria.Common/Protos/TableStarTowerEvent.cs deleted file mode 100644 index b1d1878..0000000 --- a/Novaria.Common/Protos/TableStarTowerEvent.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerEvent.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 table_StarTowerEvent.proto</summary> - public static partial class TableStarTowerEventReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerEvent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerEventReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdGFyVG93ZXJFdmVudC5wcm90bxoUU3RhclRvd2VyRXZlbnQu", - "cHJvdG8iNQoUdGFibGVfU3RhclRvd2VyRXZlbnQSHQoEbGlzdBgBIAMoCzIP", - "LlN0YXJUb3dlckV2ZW50Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerEventReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEvent), global::Nova.Client.table_StarTowerEvent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerEvent : pb::IMessage<table_StarTowerEvent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerEvent> _parser = new pb::MessageParser<table_StarTowerEvent>(() => new table_StarTowerEvent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerEvent> 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.TableStarTowerEventReflection.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 table_StarTowerEvent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEvent(table_StarTowerEvent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEvent Clone() { - return new table_StarTowerEvent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEvent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEvent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEvent> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEvent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerEvent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerEvent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerEvent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerEvent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerEventAction.cs b/Novaria.Common/Protos/TableStarTowerEventAction.cs deleted file mode 100644 index 6bc04b6..0000000 --- a/Novaria.Common/Protos/TableStarTowerEventAction.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerEventAction.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 table_StarTowerEventAction.proto</summary> - public static partial class TableStarTowerEventActionReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerEventAction.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerEventActionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TdGFyVG93ZXJFdmVudEFjdGlvbi5wcm90bxoaU3RhclRvd2Vy", - "RXZlbnRBY3Rpb24ucHJvdG8iQQoadGFibGVfU3RhclRvd2VyRXZlbnRBY3Rp", - "b24SIwoEbGlzdBgBIAMoCzIVLlN0YXJUb3dlckV2ZW50QWN0aW9uQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerEventActionReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEventAction), global::Nova.Client.table_StarTowerEventAction.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerEventAction : pb::IMessage<table_StarTowerEventAction> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerEventAction> _parser = new pb::MessageParser<table_StarTowerEventAction>(() => new table_StarTowerEventAction()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerEventAction> 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.TableStarTowerEventActionReflection.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 table_StarTowerEventAction() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEventAction(table_StarTowerEventAction other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEventAction Clone() { - return new table_StarTowerEventAction(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEventAction> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEventAction.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEventAction> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEventAction>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerEventAction> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerEventAction); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerEventAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerEventAction other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerEventOptionAction.cs b/Novaria.Common/Protos/TableStarTowerEventOptionAction.cs deleted file mode 100644 index c926e14..0000000 --- a/Novaria.Common/Protos/TableStarTowerEventOptionAction.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerEventOptionAction.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 table_StarTowerEventOptionAction.proto</summary> - public static partial class TableStarTowerEventOptionActionReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerEventOptionAction.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerEventOptionActionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiZ0YWJsZV9TdGFyVG93ZXJFdmVudE9wdGlvbkFjdGlvbi5wcm90bxogU3Rh", - "clRvd2VyRXZlbnRPcHRpb25BY3Rpb24ucHJvdG8iTQogdGFibGVfU3RhclRv", - "d2VyRXZlbnRPcHRpb25BY3Rpb24SKQoEbGlzdBgBIAMoCzIbLlN0YXJUb3dl", - "ckV2ZW50T3B0aW9uQWN0aW9uQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerEventOptionActionReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEventOptionAction), global::Nova.Client.table_StarTowerEventOptionAction.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerEventOptionAction : pb::IMessage<table_StarTowerEventOptionAction> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerEventOptionAction> _parser = new pb::MessageParser<table_StarTowerEventOptionAction>(() => new table_StarTowerEventOptionAction()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerEventOptionAction> 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.TableStarTowerEventOptionActionReflection.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 table_StarTowerEventOptionAction() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEventOptionAction(table_StarTowerEventOptionAction other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerEventOptionAction Clone() { - return new table_StarTowerEventOptionAction(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEventOptionAction> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEventOptionAction.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEventOptionAction> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEventOptionAction>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerEventOptionAction> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerEventOptionAction); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerEventOptionAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerEventOptionAction other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerFloor.cs b/Novaria.Common/Protos/TableStarTowerFloor.cs deleted file mode 100644 index 2614844..0000000 --- a/Novaria.Common/Protos/TableStarTowerFloor.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerFloor.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 table_StarTowerFloor.proto</summary> - public static partial class TableStarTowerFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdGFyVG93ZXJGbG9vci5wcm90bxoUU3RhclRvd2VyRmxvb3Iu", - "cHJvdG8iNQoUdGFibGVfU3RhclRvd2VyRmxvb3ISHQoEbGlzdBgBIAMoCzIP", - "LlN0YXJUb3dlckZsb29yQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloor), global::Nova.Client.table_StarTowerFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerFloor : pb::IMessage<table_StarTowerFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerFloor> _parser = new pb::MessageParser<table_StarTowerFloor>(() => new table_StarTowerFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerFloor> 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.TableStarTowerFloorReflection.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 table_StarTowerFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloor(table_StarTowerFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloor Clone() { - return new table_StarTowerFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloor> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerFloorAward.cs b/Novaria.Common/Protos/TableStarTowerFloorAward.cs deleted file mode 100644 index f1882fc..0000000 --- a/Novaria.Common/Protos/TableStarTowerFloorAward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerFloorAward.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 table_StarTowerFloorAward.proto</summary> - public static partial class TableStarTowerFloorAwardReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerFloorAward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerFloorAwardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9TdGFyVG93ZXJGbG9vckF3YXJkLnByb3RvGhlTdGFyVG93ZXJG", - "bG9vckF3YXJkLnByb3RvIj8KGXRhYmxlX1N0YXJUb3dlckZsb29yQXdhcmQS", - "IgoEbGlzdBgBIAMoCzIULlN0YXJUb3dlckZsb29yQXdhcmRCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerFloorAwardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloorAward), global::Nova.Client.table_StarTowerFloorAward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerFloorAward : pb::IMessage<table_StarTowerFloorAward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerFloorAward> _parser = new pb::MessageParser<table_StarTowerFloorAward>(() => new table_StarTowerFloorAward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerFloorAward> 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.TableStarTowerFloorAwardReflection.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 table_StarTowerFloorAward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloorAward(table_StarTowerFloorAward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloorAward Clone() { - return new table_StarTowerFloorAward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloorAward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloorAward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloorAward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloorAward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerFloorAward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerFloorAward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerFloorAward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerFloorAward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerFloorExp.cs b/Novaria.Common/Protos/TableStarTowerFloorExp.cs deleted file mode 100644 index dbbbdc0..0000000 --- a/Novaria.Common/Protos/TableStarTowerFloorExp.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerFloorExp.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 table_StarTowerFloorExp.proto</summary> - public static partial class TableStarTowerFloorExpReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerFloorExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerFloorExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9TdGFyVG93ZXJGbG9vckV4cC5wcm90bxoXU3RhclRvd2VyRmxv", - "b3JFeHAucHJvdG8iOwoXdGFibGVfU3RhclRvd2VyRmxvb3JFeHASIAoEbGlz", - "dBgBIAMoCzISLlN0YXJUb3dlckZsb29yRXhwQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerFloorExpReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloorExp), global::Nova.Client.table_StarTowerFloorExp.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerFloorExp : pb::IMessage<table_StarTowerFloorExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerFloorExp> _parser = new pb::MessageParser<table_StarTowerFloorExp>(() => new table_StarTowerFloorExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerFloorExp> 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.TableStarTowerFloorExpReflection.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 table_StarTowerFloorExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloorExp(table_StarTowerFloorExp other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloorExp Clone() { - return new table_StarTowerFloorExp(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloorExp> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloorExp.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloorExp> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloorExp>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerFloorExp> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerFloorExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerFloorExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerFloorExp other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerFloorSet.cs b/Novaria.Common/Protos/TableStarTowerFloorSet.cs deleted file mode 100644 index f227855..0000000 --- a/Novaria.Common/Protos/TableStarTowerFloorSet.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerFloorSet.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 table_StarTowerFloorSet.proto</summary> - public static partial class TableStarTowerFloorSetReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerFloorSet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerFloorSetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9TdGFyVG93ZXJGbG9vclNldC5wcm90bxoXU3RhclRvd2VyRmxv", - "b3JTZXQucHJvdG8iOwoXdGFibGVfU3RhclRvd2VyRmxvb3JTZXQSIAoEbGlz", - "dBgBIAMoCzISLlN0YXJUb3dlckZsb29yU2V0Qg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerFloorSetReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloorSet), global::Nova.Client.table_StarTowerFloorSet.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerFloorSet : pb::IMessage<table_StarTowerFloorSet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerFloorSet> _parser = new pb::MessageParser<table_StarTowerFloorSet>(() => new table_StarTowerFloorSet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerFloorSet> 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.TableStarTowerFloorSetReflection.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 table_StarTowerFloorSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloorSet(table_StarTowerFloorSet other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerFloorSet Clone() { - return new table_StarTowerFloorSet(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloorSet> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloorSet.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloorSet> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloorSet>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerFloorSet> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerFloorSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerFloorSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerFloorSet other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerGroup.cs b/Novaria.Common/Protos/TableStarTowerGroup.cs deleted file mode 100644 index 894cb35..0000000 --- a/Novaria.Common/Protos/TableStarTowerGroup.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerGroup.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 table_StarTowerGroup.proto</summary> - public static partial class TableStarTowerGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdGFyVG93ZXJHcm91cC5wcm90bxoUU3RhclRvd2VyR3JvdXAu", - "cHJvdG8iNQoUdGFibGVfU3RhclRvd2VyR3JvdXASHQoEbGlzdBgBIAMoCzIP", - "LlN0YXJUb3dlckdyb3VwQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerGroup), global::Nova.Client.table_StarTowerGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerGroup : pb::IMessage<table_StarTowerGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerGroup> _parser = new pb::MessageParser<table_StarTowerGroup>(() => new table_StarTowerGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerGroup> 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.TableStarTowerGroupReflection.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 table_StarTowerGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerGroup(table_StarTowerGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerGroup Clone() { - return new table_StarTowerGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerGrowthGroup.cs b/Novaria.Common/Protos/TableStarTowerGrowthGroup.cs deleted file mode 100644 index a6d22a3..0000000 --- a/Novaria.Common/Protos/TableStarTowerGrowthGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerGrowthGroup.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 table_StarTowerGrowthGroup.proto</summary> - public static partial class TableStarTowerGrowthGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerGrowthGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerGrowthGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TdGFyVG93ZXJHcm93dGhHcm91cC5wcm90bxoaU3RhclRvd2Vy", - "R3Jvd3RoR3JvdXAucHJvdG8iQQoadGFibGVfU3RhclRvd2VyR3Jvd3RoR3Jv", - "dXASIwoEbGlzdBgBIAMoCzIVLlN0YXJUb3dlckdyb3d0aEdyb3VwQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerGrowthGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerGrowthGroup), global::Nova.Client.table_StarTowerGrowthGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerGrowthGroup : pb::IMessage<table_StarTowerGrowthGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerGrowthGroup> _parser = new pb::MessageParser<table_StarTowerGrowthGroup>(() => new table_StarTowerGrowthGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerGrowthGroup> 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.TableStarTowerGrowthGroupReflection.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 table_StarTowerGrowthGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerGrowthGroup(table_StarTowerGrowthGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerGrowthGroup Clone() { - return new table_StarTowerGrowthGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerGrowthGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerGrowthGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerGrowthGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerGrowthGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerGrowthGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerGrowthGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerGrowthGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerGrowthGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerGrowthNode.cs b/Novaria.Common/Protos/TableStarTowerGrowthNode.cs deleted file mode 100644 index 5f8b514..0000000 --- a/Novaria.Common/Protos/TableStarTowerGrowthNode.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerGrowthNode.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 table_StarTowerGrowthNode.proto</summary> - public static partial class TableStarTowerGrowthNodeReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerGrowthNode.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerGrowthNodeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9TdGFyVG93ZXJHcm93dGhOb2RlLnByb3RvGhlTdGFyVG93ZXJH", - "cm93dGhOb2RlLnByb3RvIj8KGXRhYmxlX1N0YXJUb3dlckdyb3d0aE5vZGUS", - "IgoEbGlzdBgBIAMoCzIULlN0YXJUb3dlckdyb3d0aE5vZGVCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerGrowthNodeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerGrowthNode), global::Nova.Client.table_StarTowerGrowthNode.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerGrowthNode : pb::IMessage<table_StarTowerGrowthNode> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerGrowthNode> _parser = new pb::MessageParser<table_StarTowerGrowthNode>(() => new table_StarTowerGrowthNode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerGrowthNode> 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.TableStarTowerGrowthNodeReflection.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 table_StarTowerGrowthNode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerGrowthNode(table_StarTowerGrowthNode other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerGrowthNode Clone() { - return new table_StarTowerGrowthNode(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerGrowthNode> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerGrowthNode.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerGrowthNode> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerGrowthNode>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerGrowthNode> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerGrowthNode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerGrowthNode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerGrowthNode other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerHarmonySkill.cs b/Novaria.Common/Protos/TableStarTowerHarmonySkill.cs deleted file mode 100644 index db598f3..0000000 --- a/Novaria.Common/Protos/TableStarTowerHarmonySkill.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerHarmonySkill.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 table_StarTowerHarmonySkill.proto</summary> - public static partial class TableStarTowerHarmonySkillReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerHarmonySkill.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerHarmonySkillReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9TdGFyVG93ZXJIYXJtb255U2tpbGwucHJvdG8aG1N0YXJUb3dl", - "ckhhcm1vbnlTa2lsbC5wcm90byJDCht0YWJsZV9TdGFyVG93ZXJIYXJtb255", - "U2tpbGwSJAoEbGlzdBgBIAMoCzIWLlN0YXJUb3dlckhhcm1vbnlTa2lsbEIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerHarmonySkillReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerHarmonySkill), global::Nova.Client.table_StarTowerHarmonySkill.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerHarmonySkill : pb::IMessage<table_StarTowerHarmonySkill> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerHarmonySkill> _parser = new pb::MessageParser<table_StarTowerHarmonySkill>(() => new table_StarTowerHarmonySkill()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerHarmonySkill> 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.TableStarTowerHarmonySkillReflection.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 table_StarTowerHarmonySkill() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerHarmonySkill(table_StarTowerHarmonySkill other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerHarmonySkill Clone() { - return new table_StarTowerHarmonySkill(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerHarmonySkill> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerHarmonySkill.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerHarmonySkill> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerHarmonySkill>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerHarmonySkill> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerHarmonySkill); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerHarmonySkill other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerHarmonySkill other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerLimitReward.cs b/Novaria.Common/Protos/TableStarTowerLimitReward.cs deleted file mode 100644 index 27fac4b..0000000 --- a/Novaria.Common/Protos/TableStarTowerLimitReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerLimitReward.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 table_StarTowerLimitReward.proto</summary> - public static partial class TableStarTowerLimitRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerLimitReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerLimitRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TdGFyVG93ZXJMaW1pdFJld2FyZC5wcm90bxoaU3RhclRvd2Vy", - "TGltaXRSZXdhcmQucHJvdG8iQQoadGFibGVfU3RhclRvd2VyTGltaXRSZXdh", - "cmQSIwoEbGlzdBgBIAMoCzIVLlN0YXJUb3dlckxpbWl0UmV3YXJkQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerLimitRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerLimitReward), global::Nova.Client.table_StarTowerLimitReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerLimitReward : pb::IMessage<table_StarTowerLimitReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerLimitReward> _parser = new pb::MessageParser<table_StarTowerLimitReward>(() => new table_StarTowerLimitReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerLimitReward> 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.TableStarTowerLimitRewardReflection.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 table_StarTowerLimitReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerLimitReward(table_StarTowerLimitReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerLimitReward Clone() { - return new table_StarTowerLimitReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerLimitReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerLimitReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerLimitReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerLimitReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerLimitReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerLimitReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerLimitReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerLimitReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerMap.cs b/Novaria.Common/Protos/TableStarTowerMap.cs deleted file mode 100644 index 56a1b9c..0000000 --- a/Novaria.Common/Protos/TableStarTowerMap.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerMap.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 table_StarTowerMap.proto</summary> - public static partial class TableStarTowerMapReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerMap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerMapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9TdGFyVG93ZXJNYXAucHJvdG8aElN0YXJUb3dlck1hcC5wcm90", - "byIxChJ0YWJsZV9TdGFyVG93ZXJNYXASGwoEbGlzdBgBIAMoCzINLlN0YXJU", - "b3dlck1hcEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerMapReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMap), global::Nova.Client.table_StarTowerMap.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerMap : pb::IMessage<table_StarTowerMap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerMap> _parser = new pb::MessageParser<table_StarTowerMap>(() => new table_StarTowerMap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerMap> 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.TableStarTowerMapReflection.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 table_StarTowerMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMap(table_StarTowerMap other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMap Clone() { - return new table_StarTowerMap(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMap> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMap.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMap> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMap>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerMap> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerMap other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerMapMaxNumPerStage.cs b/Novaria.Common/Protos/TableStarTowerMapMaxNumPerStage.cs deleted file mode 100644 index b8c21be..0000000 --- a/Novaria.Common/Protos/TableStarTowerMapMaxNumPerStage.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerMapMaxNumPerStage.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 table_StarTowerMapMaxNumPerStage.proto</summary> - public static partial class TableStarTowerMapMaxNumPerStageReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerMapMaxNumPerStage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerMapMaxNumPerStageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiZ0YWJsZV9TdGFyVG93ZXJNYXBNYXhOdW1QZXJTdGFnZS5wcm90bxogU3Rh", - "clRvd2VyTWFwTWF4TnVtUGVyU3RhZ2UucHJvdG8iTQogdGFibGVfU3RhclRv", - "d2VyTWFwTWF4TnVtUGVyU3RhZ2USKQoEbGlzdBgBIAMoCzIbLlN0YXJUb3dl", - "ck1hcE1heE51bVBlclN0YWdlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerMapMaxNumPerStageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMapMaxNumPerStage), global::Nova.Client.table_StarTowerMapMaxNumPerStage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerMapMaxNumPerStage : pb::IMessage<table_StarTowerMapMaxNumPerStage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerMapMaxNumPerStage> _parser = new pb::MessageParser<table_StarTowerMapMaxNumPerStage>(() => new table_StarTowerMapMaxNumPerStage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerMapMaxNumPerStage> 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.TableStarTowerMapMaxNumPerStageReflection.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 table_StarTowerMapMaxNumPerStage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMapMaxNumPerStage(table_StarTowerMapMaxNumPerStage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMapMaxNumPerStage Clone() { - return new table_StarTowerMapMaxNumPerStage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMapMaxNumPerStage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMapMaxNumPerStage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMapMaxNumPerStage> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMapMaxNumPerStage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerMapMaxNumPerStage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerMapMaxNumPerStage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerMapMaxNumPerStage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerMapMaxNumPerStage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerMonsterBornGroup.cs b/Novaria.Common/Protos/TableStarTowerMonsterBornGroup.cs deleted file mode 100644 index f4a93d9..0000000 --- a/Novaria.Common/Protos/TableStarTowerMonsterBornGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerMonsterBornGroup.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 table_StarTowerMonsterBornGroup.proto</summary> - public static partial class TableStarTowerMonsterBornGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerMonsterBornGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerMonsterBornGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiV0YWJsZV9TdGFyVG93ZXJNb25zdGVyQm9ybkdyb3VwLnByb3RvGh9TdGFy", - "VG93ZXJNb25zdGVyQm9ybkdyb3VwLnByb3RvIksKH3RhYmxlX1N0YXJUb3dl", - "ck1vbnN0ZXJCb3JuR3JvdXASKAoEbGlzdBgBIAMoCzIaLlN0YXJUb3dlck1v", - "bnN0ZXJCb3JuR3JvdXBCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerMonsterBornGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMonsterBornGroup), global::Nova.Client.table_StarTowerMonsterBornGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerMonsterBornGroup : pb::IMessage<table_StarTowerMonsterBornGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerMonsterBornGroup> _parser = new pb::MessageParser<table_StarTowerMonsterBornGroup>(() => new table_StarTowerMonsterBornGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerMonsterBornGroup> 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.TableStarTowerMonsterBornGroupReflection.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 table_StarTowerMonsterBornGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMonsterBornGroup(table_StarTowerMonsterBornGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMonsterBornGroup Clone() { - return new table_StarTowerMonsterBornGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMonsterBornGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMonsterBornGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMonsterBornGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMonsterBornGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerMonsterBornGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerMonsterBornGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerMonsterBornGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerMonsterBornGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerMonsterSpAttr.cs b/Novaria.Common/Protos/TableStarTowerMonsterSpAttr.cs deleted file mode 100644 index 2c91702..0000000 --- a/Novaria.Common/Protos/TableStarTowerMonsterSpAttr.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerMonsterSpAttr.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 table_StarTowerMonsterSpAttr.proto</summary> - public static partial class TableStarTowerMonsterSpAttrReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerMonsterSpAttr.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerMonsterSpAttrReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJ0YWJsZV9TdGFyVG93ZXJNb25zdGVyU3BBdHRyLnByb3RvGhxTdGFyVG93", - "ZXJNb25zdGVyU3BBdHRyLnByb3RvIkUKHHRhYmxlX1N0YXJUb3dlck1vbnN0", - "ZXJTcEF0dHISJQoEbGlzdBgBIAMoCzIXLlN0YXJUb3dlck1vbnN0ZXJTcEF0", - "dHJCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerMonsterSpAttrReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMonsterSpAttr), global::Nova.Client.table_StarTowerMonsterSpAttr.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerMonsterSpAttr : pb::IMessage<table_StarTowerMonsterSpAttr> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerMonsterSpAttr> _parser = new pb::MessageParser<table_StarTowerMonsterSpAttr>(() => new table_StarTowerMonsterSpAttr()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerMonsterSpAttr> 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.TableStarTowerMonsterSpAttrReflection.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 table_StarTowerMonsterSpAttr() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMonsterSpAttr(table_StarTowerMonsterSpAttr other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerMonsterSpAttr Clone() { - return new table_StarTowerMonsterSpAttr(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMonsterSpAttr> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMonsterSpAttr.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMonsterSpAttr> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMonsterSpAttr>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerMonsterSpAttr> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerMonsterSpAttr); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerMonsterSpAttr other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerMonsterSpAttr other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerQuest.cs b/Novaria.Common/Protos/TableStarTowerQuest.cs deleted file mode 100644 index ba2c985..0000000 --- a/Novaria.Common/Protos/TableStarTowerQuest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerQuest.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 table_StarTowerQuest.proto</summary> - public static partial class TableStarTowerQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdGFyVG93ZXJRdWVzdC5wcm90bxoUU3RhclRvd2VyUXVlc3Qu", - "cHJvdG8iNQoUdGFibGVfU3RhclRvd2VyUXVlc3QSHQoEbGlzdBgBIAMoCzIP", - "LlN0YXJUb3dlclF1ZXN0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerQuest), global::Nova.Client.table_StarTowerQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerQuest : pb::IMessage<table_StarTowerQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerQuest> _parser = new pb::MessageParser<table_StarTowerQuest>(() => new table_StarTowerQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerQuest> 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.TableStarTowerQuestReflection.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 table_StarTowerQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerQuest(table_StarTowerQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerQuest Clone() { - return new table_StarTowerQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerQuest> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerRankAffix.cs b/Novaria.Common/Protos/TableStarTowerRankAffix.cs deleted file mode 100644 index a88f527..0000000 --- a/Novaria.Common/Protos/TableStarTowerRankAffix.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerRankAffix.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 table_StarTowerRankAffix.proto</summary> - public static partial class TableStarTowerRankAffixReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerRankAffix.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerRankAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9TdGFyVG93ZXJSYW5rQWZmaXgucHJvdG8aGFN0YXJUb3dlclJh", - "bmtBZmZpeC5wcm90byI9Chh0YWJsZV9TdGFyVG93ZXJSYW5rQWZmaXgSIQoE", - "bGlzdBgBIAMoCzITLlN0YXJUb3dlclJhbmtBZmZpeEIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerRankAffixReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankAffix), global::Nova.Client.table_StarTowerRankAffix.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerRankAffix : pb::IMessage<table_StarTowerRankAffix> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerRankAffix> _parser = new pb::MessageParser<table_StarTowerRankAffix>(() => new table_StarTowerRankAffix()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerRankAffix> 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.TableStarTowerRankAffixReflection.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 table_StarTowerRankAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankAffix(table_StarTowerRankAffix other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankAffix Clone() { - return new table_StarTowerRankAffix(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankAffix> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankAffix.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankAffix> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankAffix>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerRankAffix> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerRankAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerRankAffix other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerRankAffix other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerRankReward.cs b/Novaria.Common/Protos/TableStarTowerRankReward.cs deleted file mode 100644 index ae3f534..0000000 --- a/Novaria.Common/Protos/TableStarTowerRankReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerRankReward.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 table_StarTowerRankReward.proto</summary> - public static partial class TableStarTowerRankRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerRankReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerRankRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9TdGFyVG93ZXJSYW5rUmV3YXJkLnByb3RvGhlTdGFyVG93ZXJS", - "YW5rUmV3YXJkLnByb3RvIj8KGXRhYmxlX1N0YXJUb3dlclJhbmtSZXdhcmQS", - "IgoEbGlzdBgBIAMoCzIULlN0YXJUb3dlclJhbmtSZXdhcmRCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerRankRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankReward), global::Nova.Client.table_StarTowerRankReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerRankReward : pb::IMessage<table_StarTowerRankReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerRankReward> _parser = new pb::MessageParser<table_StarTowerRankReward>(() => new table_StarTowerRankReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerRankReward> 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.TableStarTowerRankRewardReflection.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 table_StarTowerRankReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankReward(table_StarTowerRankReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankReward Clone() { - return new table_StarTowerRankReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerRankReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerRankReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerRankReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerRankReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerRankScore.cs b/Novaria.Common/Protos/TableStarTowerRankScore.cs deleted file mode 100644 index fc5eb49..0000000 --- a/Novaria.Common/Protos/TableStarTowerRankScore.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerRankScore.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 table_StarTowerRankScore.proto</summary> - public static partial class TableStarTowerRankScoreReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerRankScore.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerRankScoreReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9TdGFyVG93ZXJSYW5rU2NvcmUucHJvdG8aGFN0YXJUb3dlclJh", - "bmtTY29yZS5wcm90byI9Chh0YWJsZV9TdGFyVG93ZXJSYW5rU2NvcmUSIQoE", - "bGlzdBgBIAMoCzITLlN0YXJUb3dlclJhbmtTY29yZUIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerRankScoreReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankScore), global::Nova.Client.table_StarTowerRankScore.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerRankScore : pb::IMessage<table_StarTowerRankScore> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerRankScore> _parser = new pb::MessageParser<table_StarTowerRankScore>(() => new table_StarTowerRankScore()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerRankScore> 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.TableStarTowerRankScoreReflection.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 table_StarTowerRankScore() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankScore(table_StarTowerRankScore other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankScore Clone() { - return new table_StarTowerRankScore(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankScore> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankScore.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankScore> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankScore>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerRankScore> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerRankScore); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerRankScore other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerRankScore other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerRankSeason.cs b/Novaria.Common/Protos/TableStarTowerRankSeason.cs deleted file mode 100644 index 0dc3757..0000000 --- a/Novaria.Common/Protos/TableStarTowerRankSeason.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerRankSeason.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 table_StarTowerRankSeason.proto</summary> - public static partial class TableStarTowerRankSeasonReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerRankSeason.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerRankSeasonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9TdGFyVG93ZXJSYW5rU2Vhc29uLnByb3RvGhlTdGFyVG93ZXJS", - "YW5rU2Vhc29uLnByb3RvIj8KGXRhYmxlX1N0YXJUb3dlclJhbmtTZWFzb24S", - "IgoEbGlzdBgBIAMoCzIULlN0YXJUb3dlclJhbmtTZWFzb25CDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerRankSeasonReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankSeason), global::Nova.Client.table_StarTowerRankSeason.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerRankSeason : pb::IMessage<table_StarTowerRankSeason> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerRankSeason> _parser = new pb::MessageParser<table_StarTowerRankSeason>(() => new table_StarTowerRankSeason()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerRankSeason> 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.TableStarTowerRankSeasonReflection.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 table_StarTowerRankSeason() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankSeason(table_StarTowerRankSeason other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerRankSeason Clone() { - return new table_StarTowerRankSeason(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankSeason> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankSeason.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankSeason> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankSeason>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerRankSeason> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerRankSeason); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerRankSeason other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerRankSeason other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerScenePrefab.cs b/Novaria.Common/Protos/TableStarTowerScenePrefab.cs deleted file mode 100644 index 4027b28..0000000 --- a/Novaria.Common/Protos/TableStarTowerScenePrefab.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerScenePrefab.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 table_StarTowerScenePrefab.proto</summary> - public static partial class TableStarTowerScenePrefabReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerScenePrefab.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerScenePrefabReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TdGFyVG93ZXJTY2VuZVByZWZhYi5wcm90bxoaU3RhclRvd2Vy", - "U2NlbmVQcmVmYWIucHJvdG8iQQoadGFibGVfU3RhclRvd2VyU2NlbmVQcmVm", - "YWISIwoEbGlzdBgBIAMoCzIVLlN0YXJUb3dlclNjZW5lUHJlZmFiQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerScenePrefabReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerScenePrefab), global::Nova.Client.table_StarTowerScenePrefab.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerScenePrefab : pb::IMessage<table_StarTowerScenePrefab> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerScenePrefab> _parser = new pb::MessageParser<table_StarTowerScenePrefab>(() => new table_StarTowerScenePrefab()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerScenePrefab> 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.TableStarTowerScenePrefabReflection.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 table_StarTowerScenePrefab() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerScenePrefab(table_StarTowerScenePrefab other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerScenePrefab Clone() { - return new table_StarTowerScenePrefab(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerScenePrefab> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerScenePrefab.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerScenePrefab> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerScenePrefab>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerScenePrefab> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerScenePrefab); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerScenePrefab other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerScenePrefab other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerShopGoodsGroup.cs b/Novaria.Common/Protos/TableStarTowerShopGoodsGroup.cs deleted file mode 100644 index f54c160..0000000 --- a/Novaria.Common/Protos/TableStarTowerShopGoodsGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerShopGoodsGroup.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 table_StarTowerShopGoodsGroup.proto</summary> - public static partial class TableStarTowerShopGoodsGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerShopGoodsGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerShopGoodsGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiN0YWJsZV9TdGFyVG93ZXJTaG9wR29vZHNHcm91cC5wcm90bxodU3RhclRv", - "d2VyU2hvcEdvb2RzR3JvdXAucHJvdG8iRwoddGFibGVfU3RhclRvd2VyU2hv", - "cEdvb2RzR3JvdXASJgoEbGlzdBgBIAMoCzIYLlN0YXJUb3dlclNob3BHb29k", - "c0dyb3VwQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerShopGoodsGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerShopGoodsGroup), global::Nova.Client.table_StarTowerShopGoodsGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerShopGoodsGroup : pb::IMessage<table_StarTowerShopGoodsGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerShopGoodsGroup> _parser = new pb::MessageParser<table_StarTowerShopGoodsGroup>(() => new table_StarTowerShopGoodsGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerShopGoodsGroup> 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.TableStarTowerShopGoodsGroupReflection.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 table_StarTowerShopGoodsGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerShopGoodsGroup(table_StarTowerShopGoodsGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerShopGoodsGroup Clone() { - return new table_StarTowerShopGoodsGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerShopGoodsGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerShopGoodsGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerShopGoodsGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerShopGoodsGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerShopGoodsGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerShopGoodsGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerShopGoodsGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerShopGoodsGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerSpMode.cs b/Novaria.Common/Protos/TableStarTowerSpMode.cs deleted file mode 100644 index d34b87f..0000000 --- a/Novaria.Common/Protos/TableStarTowerSpMode.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerSpMode.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 table_StarTowerSpMode.proto</summary> - public static partial class TableStarTowerSpModeReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerSpMode.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerSpModeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9TdGFyVG93ZXJTcE1vZGUucHJvdG8aFVN0YXJUb3dlclNwTW9k", - "ZS5wcm90byI3ChV0YWJsZV9TdGFyVG93ZXJTcE1vZGUSHgoEbGlzdBgBIAMo", - "CzIQLlN0YXJUb3dlclNwTW9kZUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerSpModeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerSpMode), global::Nova.Client.table_StarTowerSpMode.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerSpMode : pb::IMessage<table_StarTowerSpMode> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerSpMode> _parser = new pb::MessageParser<table_StarTowerSpMode>(() => new table_StarTowerSpMode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerSpMode> 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.TableStarTowerSpModeReflection.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 table_StarTowerSpMode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerSpMode(table_StarTowerSpMode other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerSpMode Clone() { - return new table_StarTowerSpMode(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerSpMode> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerSpMode.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerSpMode> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerSpMode>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerSpMode> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerSpMode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerSpMode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerSpMode other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerSpecificCombat.cs b/Novaria.Common/Protos/TableStarTowerSpecificCombat.cs deleted file mode 100644 index cb15e49..0000000 --- a/Novaria.Common/Protos/TableStarTowerSpecificCombat.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerSpecificCombat.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 table_StarTowerSpecificCombat.proto</summary> - public static partial class TableStarTowerSpecificCombatReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerSpecificCombat.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerSpecificCombatReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiN0YWJsZV9TdGFyVG93ZXJTcGVjaWZpY0NvbWJhdC5wcm90bxodU3RhclRv", - "d2VyU3BlY2lmaWNDb21iYXQucHJvdG8iRwoddGFibGVfU3RhclRvd2VyU3Bl", - "Y2lmaWNDb21iYXQSJgoEbGlzdBgBIAMoCzIYLlN0YXJUb3dlclNwZWNpZmlj", - "Q29tYmF0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerSpecificCombatReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerSpecificCombat), global::Nova.Client.table_StarTowerSpecificCombat.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerSpecificCombat : pb::IMessage<table_StarTowerSpecificCombat> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerSpecificCombat> _parser = new pb::MessageParser<table_StarTowerSpecificCombat>(() => new table_StarTowerSpecificCombat()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerSpecificCombat> 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.TableStarTowerSpecificCombatReflection.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 table_StarTowerSpecificCombat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerSpecificCombat(table_StarTowerSpecificCombat other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerSpecificCombat Clone() { - return new table_StarTowerSpecificCombat(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerSpecificCombat> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerSpecificCombat.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerSpecificCombat> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerSpecificCombat>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerSpecificCombat> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerSpecificCombat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerSpecificCombat other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerSpecificCombat other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerStage.cs b/Novaria.Common/Protos/TableStarTowerStage.cs deleted file mode 100644 index f2fd016..0000000 --- a/Novaria.Common/Protos/TableStarTowerStage.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerStage.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 table_StarTowerStage.proto</summary> - public static partial class TableStarTowerStageReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerStage.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerStageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdGFyVG93ZXJTdGFnZS5wcm90bxoUU3RhclRvd2VyU3RhZ2Uu", - "cHJvdG8iNQoUdGFibGVfU3RhclRvd2VyU3RhZ2USHQoEbGlzdBgBIAMoCzIP", - "LlN0YXJUb3dlclN0YWdlQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerStageReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerStage), global::Nova.Client.table_StarTowerStage.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerStage : pb::IMessage<table_StarTowerStage> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerStage> _parser = new pb::MessageParser<table_StarTowerStage>(() => new table_StarTowerStage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerStage> 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.TableStarTowerStageReflection.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 table_StarTowerStage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerStage(table_StarTowerStage other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerStage Clone() { - return new table_StarTowerStage(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerStage> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerStage.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerStage> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerStage>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerStage> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerStage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerStage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerStage other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerTalk.cs b/Novaria.Common/Protos/TableStarTowerTalk.cs deleted file mode 100644 index 7d0f321..0000000 --- a/Novaria.Common/Protos/TableStarTowerTalk.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerTalk.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 table_StarTowerTalk.proto</summary> - public static partial class TableStarTowerTalkReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerTalk.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerTalkReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9TdGFyVG93ZXJUYWxrLnByb3RvGhNTdGFyVG93ZXJUYWxrLnBy", - "b3RvIjMKE3RhYmxlX1N0YXJUb3dlclRhbGsSHAoEbGlzdBgBIAMoCzIOLlN0", - "YXJUb3dlclRhbGtCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerTalkReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerTalk), global::Nova.Client.table_StarTowerTalk.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerTalk : pb::IMessage<table_StarTowerTalk> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerTalk> _parser = new pb::MessageParser<table_StarTowerTalk>(() => new table_StarTowerTalk()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerTalk> 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.TableStarTowerTalkReflection.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 table_StarTowerTalk() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerTalk(table_StarTowerTalk other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerTalk Clone() { - return new table_StarTowerTalk(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerTalk> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerTalk.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerTalk> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerTalk>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerTalk> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerTalk); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerTalk other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerTalk other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStarTowerTeamExp.cs b/Novaria.Common/Protos/TableStarTowerTeamExp.cs deleted file mode 100644 index 3094d25..0000000 --- a/Novaria.Common/Protos/TableStarTowerTeamExp.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StarTowerTeamExp.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 table_StarTowerTeamExp.proto</summary> - public static partial class TableStarTowerTeamExpReflection { - - #region Descriptor - /// <summary>File descriptor for table_StarTowerTeamExp.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStarTowerTeamExpReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9TdGFyVG93ZXJUZWFtRXhwLnByb3RvGhZTdGFyVG93ZXJUZWFt", - "RXhwLnByb3RvIjkKFnRhYmxlX1N0YXJUb3dlclRlYW1FeHASHwoEbGlzdBgB", - "IAMoCzIRLlN0YXJUb3dlclRlYW1FeHBCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StarTowerTeamExpReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerTeamExp), global::Nova.Client.table_StarTowerTeamExp.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StarTowerTeamExp : pb::IMessage<table_StarTowerTeamExp> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StarTowerTeamExp> _parser = new pb::MessageParser<table_StarTowerTeamExp>(() => new table_StarTowerTeamExp()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StarTowerTeamExp> 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.TableStarTowerTeamExpReflection.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 table_StarTowerTeamExp() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerTeamExp(table_StarTowerTeamExp other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StarTowerTeamExp Clone() { - return new table_StarTowerTeamExp(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StarTowerTeamExp> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerTeamExp.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StarTowerTeamExp> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerTeamExp>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StarTowerTeamExp> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StarTowerTeamExp); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StarTowerTeamExp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StarTowerTeamExp other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStory.cs b/Novaria.Common/Protos/TableStory.cs deleted file mode 100644 index 1645cf4..0000000 --- a/Novaria.Common/Protos/TableStory.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Story.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 table_Story.proto</summary> - public static partial class TableStoryReflection { - - #region Descriptor - /// <summary>File descriptor for table_Story.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStoryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9TdG9yeS5wcm90bxoLU3RvcnkucHJvdG8iIwoLdGFibGVfU3Rv", - "cnkSFAoEbGlzdBgBIAMoCzIGLlN0b3J5Qg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StoryReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Story), global::Nova.Client.table_Story.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Story : pb::IMessage<table_Story> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Story> _parser = new pb::MessageParser<table_Story>(() => new table_Story()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Story> 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.TableStoryReflection.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 table_Story() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Story(table_Story other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Story Clone() { - return new table_Story(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Story> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Story.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Story> list_ = new pbc::RepeatedField<global::Nova.Client.Story>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Story> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Story); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Story other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Story other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStoryChapter.cs b/Novaria.Common/Protos/TableStoryChapter.cs deleted file mode 100644 index e6e820d..0000000 --- a/Novaria.Common/Protos/TableStoryChapter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StoryChapter.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 table_StoryChapter.proto</summary> - public static partial class TableStoryChapterReflection { - - #region Descriptor - /// <summary>File descriptor for table_StoryChapter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStoryChapterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9TdG9yeUNoYXB0ZXIucHJvdG8aElN0b3J5Q2hhcHRlci5wcm90", - "byIxChJ0YWJsZV9TdG9yeUNoYXB0ZXISGwoEbGlzdBgBIAMoCzINLlN0b3J5", - "Q2hhcHRlckIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StoryChapterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryChapter), global::Nova.Client.table_StoryChapter.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StoryChapter : pb::IMessage<table_StoryChapter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StoryChapter> _parser = new pb::MessageParser<table_StoryChapter>(() => new table_StoryChapter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StoryChapter> 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.TableStoryChapterReflection.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 table_StoryChapter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryChapter(table_StoryChapter other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryChapter Clone() { - return new table_StoryChapter(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StoryChapter> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryChapter.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StoryChapter> list_ = new pbc::RepeatedField<global::Nova.Client.StoryChapter>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StoryChapter> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StoryChapter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StoryChapter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StoryChapter other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStoryCondition.cs b/Novaria.Common/Protos/TableStoryCondition.cs deleted file mode 100644 index 6f0ac35..0000000 --- a/Novaria.Common/Protos/TableStoryCondition.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StoryCondition.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 table_StoryCondition.proto</summary> - public static partial class TableStoryConditionReflection { - - #region Descriptor - /// <summary>File descriptor for table_StoryCondition.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStoryConditionReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9TdG9yeUNvbmRpdGlvbi5wcm90bxoUU3RvcnlDb25kaXRpb24u", - "cHJvdG8iNQoUdGFibGVfU3RvcnlDb25kaXRpb24SHQoEbGlzdBgBIAMoCzIP", - "LlN0b3J5Q29uZGl0aW9uQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StoryConditionReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryCondition), global::Nova.Client.table_StoryCondition.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StoryCondition : pb::IMessage<table_StoryCondition> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StoryCondition> _parser = new pb::MessageParser<table_StoryCondition>(() => new table_StoryCondition()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StoryCondition> 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.TableStoryConditionReflection.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 table_StoryCondition() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryCondition(table_StoryCondition other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryCondition Clone() { - return new table_StoryCondition(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StoryCondition> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryCondition.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StoryCondition> list_ = new pbc::RepeatedField<global::Nova.Client.StoryCondition>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StoryCondition> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StoryCondition); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StoryCondition other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StoryCondition other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStoryEvidence.cs b/Novaria.Common/Protos/TableStoryEvidence.cs deleted file mode 100644 index 5f524ae..0000000 --- a/Novaria.Common/Protos/TableStoryEvidence.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StoryEvidence.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 table_StoryEvidence.proto</summary> - public static partial class TableStoryEvidenceReflection { - - #region Descriptor - /// <summary>File descriptor for table_StoryEvidence.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStoryEvidenceReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9TdG9yeUV2aWRlbmNlLnByb3RvGhNTdG9yeUV2aWRlbmNlLnBy", - "b3RvIjMKE3RhYmxlX1N0b3J5RXZpZGVuY2USHAoEbGlzdBgBIAMoCzIOLlN0", - "b3J5RXZpZGVuY2VCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StoryEvidenceReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryEvidence), global::Nova.Client.table_StoryEvidence.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StoryEvidence : pb::IMessage<table_StoryEvidence> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StoryEvidence> _parser = new pb::MessageParser<table_StoryEvidence>(() => new table_StoryEvidence()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StoryEvidence> 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.TableStoryEvidenceReflection.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 table_StoryEvidence() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryEvidence(table_StoryEvidence other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryEvidence Clone() { - return new table_StoryEvidence(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StoryEvidence> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryEvidence.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StoryEvidence> list_ = new pbc::RepeatedField<global::Nova.Client.StoryEvidence>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StoryEvidence> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StoryEvidence); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StoryEvidence other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StoryEvidence other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStoryPersonality.cs b/Novaria.Common/Protos/TableStoryPersonality.cs deleted file mode 100644 index c27a647..0000000 --- a/Novaria.Common/Protos/TableStoryPersonality.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StoryPersonality.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 table_StoryPersonality.proto</summary> - public static partial class TableStoryPersonalityReflection { - - #region Descriptor - /// <summary>File descriptor for table_StoryPersonality.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStoryPersonalityReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9TdG9yeVBlcnNvbmFsaXR5LnByb3RvGhZTdG9yeVBlcnNvbmFs", - "aXR5LnByb3RvIjkKFnRhYmxlX1N0b3J5UGVyc29uYWxpdHkSHwoEbGlzdBgB", - "IAMoCzIRLlN0b3J5UGVyc29uYWxpdHlCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StoryPersonalityReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryPersonality), global::Nova.Client.table_StoryPersonality.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StoryPersonality : pb::IMessage<table_StoryPersonality> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StoryPersonality> _parser = new pb::MessageParser<table_StoryPersonality>(() => new table_StoryPersonality()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StoryPersonality> 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.TableStoryPersonalityReflection.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 table_StoryPersonality() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryPersonality(table_StoryPersonality other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryPersonality Clone() { - return new table_StoryPersonality(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StoryPersonality> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryPersonality.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StoryPersonality> list_ = new pbc::RepeatedField<global::Nova.Client.StoryPersonality>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StoryPersonality> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StoryPersonality); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StoryPersonality other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StoryPersonality other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableStoryRolePersonality.cs b/Novaria.Common/Protos/TableStoryRolePersonality.cs deleted file mode 100644 index 89250d2..0000000 --- a/Novaria.Common/Protos/TableStoryRolePersonality.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_StoryRolePersonality.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 table_StoryRolePersonality.proto</summary> - public static partial class TableStoryRolePersonalityReflection { - - #region Descriptor - /// <summary>File descriptor for table_StoryRolePersonality.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableStoryRolePersonalityReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9TdG9yeVJvbGVQZXJzb25hbGl0eS5wcm90bxoaU3RvcnlSb2xl", - "UGVyc29uYWxpdHkucHJvdG8iQQoadGFibGVfU3RvcnlSb2xlUGVyc29uYWxp", - "dHkSIwoEbGlzdBgBIAMoCzIVLlN0b3J5Um9sZVBlcnNvbmFsaXR5Qg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.StoryRolePersonalityReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryRolePersonality), global::Nova.Client.table_StoryRolePersonality.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_StoryRolePersonality : pb::IMessage<table_StoryRolePersonality> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_StoryRolePersonality> _parser = new pb::MessageParser<table_StoryRolePersonality>(() => new table_StoryRolePersonality()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_StoryRolePersonality> 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.TableStoryRolePersonalityReflection.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 table_StoryRolePersonality() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryRolePersonality(table_StoryRolePersonality other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_StoryRolePersonality Clone() { - return new table_StoryRolePersonality(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.StoryRolePersonality> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryRolePersonality.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.StoryRolePersonality> list_ = new pbc::RepeatedField<global::Nova.Client.StoryRolePersonality>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.StoryRolePersonality> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_StoryRolePersonality); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_StoryRolePersonality other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_StoryRolePersonality other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTalent.cs b/Novaria.Common/Protos/TableTalent.cs deleted file mode 100644 index e3e32cc..0000000 --- a/Novaria.Common/Protos/TableTalent.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Talent.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 table_Talent.proto</summary> - public static partial class TableTalentReflection { - - #region Descriptor - /// <summary>File descriptor for table_Talent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTalentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9UYWxlbnQucHJvdG8aDFRhbGVudC5wcm90byIlCgx0YWJsZV9U", - "YWxlbnQSFQoEbGlzdBgBIAMoCzIHLlRhbGVudEIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TalentReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Talent), global::Nova.Client.table_Talent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Talent : pb::IMessage<table_Talent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Talent> _parser = new pb::MessageParser<table_Talent>(() => new table_Talent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Talent> 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.TableTalentReflection.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 table_Talent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Talent(table_Talent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Talent Clone() { - return new table_Talent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Talent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Talent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Talent> list_ = new pbc::RepeatedField<global::Nova.Client.Talent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Talent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Talent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Talent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Talent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTalentGroup.cs b/Novaria.Common/Protos/TableTalentGroup.cs deleted file mode 100644 index bd1ca10..0000000 --- a/Novaria.Common/Protos/TableTalentGroup.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TalentGroup.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 table_TalentGroup.proto</summary> - public static partial class TableTalentGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_TalentGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTalentGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9UYWxlbnRHcm91cC5wcm90bxoRVGFsZW50R3JvdXAucHJvdG8i", - "LwoRdGFibGVfVGFsZW50R3JvdXASGgoEbGlzdBgBIAMoCzIMLlRhbGVudEdy", - "b3VwQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TalentGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TalentGroup), global::Nova.Client.table_TalentGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TalentGroup : pb::IMessage<table_TalentGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TalentGroup> _parser = new pb::MessageParser<table_TalentGroup>(() => new table_TalentGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TalentGroup> 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.TableTalentGroupReflection.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 table_TalentGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TalentGroup(table_TalentGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TalentGroup Clone() { - return new table_TalentGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TalentGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TalentGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TalentGroup> list_ = new pbc::RepeatedField<global::Nova.Client.TalentGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TalentGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TalentGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TalentGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TalentGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTitle.cs b/Novaria.Common/Protos/TableTitle.cs deleted file mode 100644 index 068dd9e..0000000 --- a/Novaria.Common/Protos/TableTitle.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Title.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 table_Title.proto</summary> - public static partial class TableTitleReflection { - - #region Descriptor - /// <summary>File descriptor for table_Title.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTitleReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChF0YWJsZV9UaXRsZS5wcm90bxoLVGl0bGUucHJvdG8iIwoLdGFibGVfVGl0", - "bGUSFAoEbGlzdBgBIAMoCzIGLlRpdGxlQg6qAgtOb3ZhLkNsaWVudGIGcHJv", - "dG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TitleReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Title), global::Nova.Client.table_Title.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Title : pb::IMessage<table_Title> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Title> _parser = new pb::MessageParser<table_Title>(() => new table_Title()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Title> 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.TableTitleReflection.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 table_Title() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Title(table_Title other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Title Clone() { - return new table_Title(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Title> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Title.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Title> list_ = new pbc::RepeatedField<global::Nova.Client.Title>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Title> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Title); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Title other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Title other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTopBar.cs b/Novaria.Common/Protos/TableTopBar.cs deleted file mode 100644 index fa141dc..0000000 --- a/Novaria.Common/Protos/TableTopBar.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TopBar.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 table_TopBar.proto</summary> - public static partial class TableTopBarReflection { - - #region Descriptor - /// <summary>File descriptor for table_TopBar.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTopBarReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9Ub3BCYXIucHJvdG8aDFRvcEJhci5wcm90byIlCgx0YWJsZV9U", - "b3BCYXISFQoEbGlzdBgBIAMoCzIHLlRvcEJhckIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TopBarReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TopBar), global::Nova.Client.table_TopBar.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TopBar : pb::IMessage<table_TopBar> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TopBar> _parser = new pb::MessageParser<table_TopBar>(() => new table_TopBar()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TopBar> 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.TableTopBarReflection.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 table_TopBar() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TopBar(table_TopBar other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TopBar Clone() { - return new table_TopBar(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TopBar> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TopBar.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TopBar> list_ = new pbc::RepeatedField<global::Nova.Client.TopBar>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TopBar> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TopBar); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TopBar other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TopBar other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTourGuideQuest.cs b/Novaria.Common/Protos/TableTourGuideQuest.cs deleted file mode 100644 index d7a7eae..0000000 --- a/Novaria.Common/Protos/TableTourGuideQuest.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TourGuideQuest.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 table_TourGuideQuest.proto</summary> - public static partial class TableTourGuideQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_TourGuideQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTourGuideQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9Ub3VyR3VpZGVRdWVzdC5wcm90bxoUVG91ckd1aWRlUXVlc3Qu", - "cHJvdG8iNQoUdGFibGVfVG91ckd1aWRlUXVlc3QSHQoEbGlzdBgBIAMoCzIP", - "LlRvdXJHdWlkZVF1ZXN0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TourGuideQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TourGuideQuest), global::Nova.Client.table_TourGuideQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TourGuideQuest : pb::IMessage<table_TourGuideQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TourGuideQuest> _parser = new pb::MessageParser<table_TourGuideQuest>(() => new table_TourGuideQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TourGuideQuest> 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.TableTourGuideQuestReflection.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 table_TourGuideQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TourGuideQuest(table_TourGuideQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TourGuideQuest Clone() { - return new table_TourGuideQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TourGuideQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TourGuideQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TourGuideQuest> list_ = new pbc::RepeatedField<global::Nova.Client.TourGuideQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TourGuideQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TourGuideQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TourGuideQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TourGuideQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTourGuideQuestGroup.cs b/Novaria.Common/Protos/TableTourGuideQuestGroup.cs deleted file mode 100644 index 19bff6c..0000000 --- a/Novaria.Common/Protos/TableTourGuideQuestGroup.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TourGuideQuestGroup.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 table_TourGuideQuestGroup.proto</summary> - public static partial class TableTourGuideQuestGroupReflection { - - #region Descriptor - /// <summary>File descriptor for table_TourGuideQuestGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTourGuideQuestGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch90YWJsZV9Ub3VyR3VpZGVRdWVzdEdyb3VwLnByb3RvGhlUb3VyR3VpZGVR", - "dWVzdEdyb3VwLnByb3RvIj8KGXRhYmxlX1RvdXJHdWlkZVF1ZXN0R3JvdXAS", - "IgoEbGlzdBgBIAMoCzIULlRvdXJHdWlkZVF1ZXN0R3JvdXBCDqoCC05vdmEu", - "Q2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TourGuideQuestGroupReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TourGuideQuestGroup), global::Nova.Client.table_TourGuideQuestGroup.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TourGuideQuestGroup : pb::IMessage<table_TourGuideQuestGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TourGuideQuestGroup> _parser = new pb::MessageParser<table_TourGuideQuestGroup>(() => new table_TourGuideQuestGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TourGuideQuestGroup> 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.TableTourGuideQuestGroupReflection.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 table_TourGuideQuestGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TourGuideQuestGroup(table_TourGuideQuestGroup other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TourGuideQuestGroup Clone() { - return new table_TourGuideQuestGroup(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TourGuideQuestGroup> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TourGuideQuestGroup.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TourGuideQuestGroup> list_ = new pbc::RepeatedField<global::Nova.Client.TourGuideQuestGroup>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TourGuideQuestGroup> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TourGuideQuestGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TourGuideQuestGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TourGuideQuestGroup other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTrap.cs b/Novaria.Common/Protos/TableTrap.cs deleted file mode 100644 index ec8fc8c..0000000 --- a/Novaria.Common/Protos/TableTrap.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Trap.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 table_Trap.proto</summary> - public static partial class TableTrapReflection { - - #region Descriptor - /// <summary>File descriptor for table_Trap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTrapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9UcmFwLnByb3RvGgpUcmFwLnByb3RvIiEKCnRhYmxlX1RyYXAS", - "EwoEbGlzdBgBIAMoCzIFLlRyYXBCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TrapReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Trap), global::Nova.Client.table_Trap.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Trap : pb::IMessage<table_Trap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Trap> _parser = new pb::MessageParser<table_Trap>(() => new table_Trap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Trap> 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.TableTrapReflection.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 table_Trap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Trap(table_Trap other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Trap Clone() { - return new table_Trap(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Trap> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Trap.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Trap> list_ = new pbc::RepeatedField<global::Nova.Client.Trap>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Trap> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Trap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Trap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Trap other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTrapAttribute.cs b/Novaria.Common/Protos/TableTrapAttribute.cs deleted file mode 100644 index d25fb22..0000000 --- a/Novaria.Common/Protos/TableTrapAttribute.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TrapAttribute.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 table_TrapAttribute.proto</summary> - public static partial class TableTrapAttributeReflection { - - #region Descriptor - /// <summary>File descriptor for table_TrapAttribute.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTrapAttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9UcmFwQXR0cmlidXRlLnByb3RvGhNUcmFwQXR0cmlidXRlLnBy", - "b3RvIjMKE3RhYmxlX1RyYXBBdHRyaWJ1dGUSHAoEbGlzdBgBIAMoCzIOLlRy", - "YXBBdHRyaWJ1dGVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TrapAttributeReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrapAttribute), global::Nova.Client.table_TrapAttribute.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TrapAttribute : pb::IMessage<table_TrapAttribute> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TrapAttribute> _parser = new pb::MessageParser<table_TrapAttribute>(() => new table_TrapAttribute()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TrapAttribute> 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.TableTrapAttributeReflection.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 table_TrapAttribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrapAttribute(table_TrapAttribute other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrapAttribute Clone() { - return new table_TrapAttribute(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TrapAttribute> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrapAttribute.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TrapAttribute> list_ = new pbc::RepeatedField<global::Nova.Client.TrapAttribute>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TrapAttribute> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TrapAttribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TrapAttribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TrapAttribute other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelBoss.cs b/Novaria.Common/Protos/TableTravelerDuelBoss.cs deleted file mode 100644 index 30af93d..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelBoss.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelBoss.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 table_TravelerDuelBoss.proto</summary> - public static partial class TableTravelerDuelBossReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelBoss.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelBossReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9UcmF2ZWxlckR1ZWxCb3NzLnByb3RvGhZUcmF2ZWxlckR1ZWxC", - "b3NzLnByb3RvIjkKFnRhYmxlX1RyYXZlbGVyRHVlbEJvc3MSHwoEbGlzdBgB", - "IAMoCzIRLlRyYXZlbGVyRHVlbEJvc3NCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelBossReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelBoss), global::Nova.Client.table_TravelerDuelBoss.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelBoss : pb::IMessage<table_TravelerDuelBoss> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelBoss> _parser = new pb::MessageParser<table_TravelerDuelBoss>(() => new table_TravelerDuelBoss()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelBoss> 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.TableTravelerDuelBossReflection.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 table_TravelerDuelBoss() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelBoss(table_TravelerDuelBoss other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelBoss Clone() { - return new table_TravelerDuelBoss(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelBoss> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelBoss.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelBoss> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelBoss>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelBoss> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelBoss); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelBoss other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelBoss other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelBossLevel.cs b/Novaria.Common/Protos/TableTravelerDuelBossLevel.cs deleted file mode 100644 index d2b6479..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelBossLevel.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelBossLevel.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 table_TravelerDuelBossLevel.proto</summary> - public static partial class TableTravelerDuelBossLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelBossLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelBossLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiF0YWJsZV9UcmF2ZWxlckR1ZWxCb3NzTGV2ZWwucHJvdG8aG1RyYXZlbGVy", - "RHVlbEJvc3NMZXZlbC5wcm90byJDCht0YWJsZV9UcmF2ZWxlckR1ZWxCb3Nz", - "TGV2ZWwSJAoEbGlzdBgBIAMoCzIWLlRyYXZlbGVyRHVlbEJvc3NMZXZlbEIO", - "qgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelBossLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelBossLevel), global::Nova.Client.table_TravelerDuelBossLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelBossLevel : pb::IMessage<table_TravelerDuelBossLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelBossLevel> _parser = new pb::MessageParser<table_TravelerDuelBossLevel>(() => new table_TravelerDuelBossLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelBossLevel> 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.TableTravelerDuelBossLevelReflection.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 table_TravelerDuelBossLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelBossLevel(table_TravelerDuelBossLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelBossLevel Clone() { - return new table_TravelerDuelBossLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelBossLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelBossLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelBossLevel> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelBossLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelBossLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelBossLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelBossLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelBossLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelChallengeAffix.cs b/Novaria.Common/Protos/TableTravelerDuelChallengeAffix.cs deleted file mode 100644 index b515909..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelChallengeAffix.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelChallengeAffix.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 table_TravelerDuelChallengeAffix.proto</summary> - public static partial class TableTravelerDuelChallengeAffixReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelChallengeAffix.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelChallengeAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiZ0YWJsZV9UcmF2ZWxlckR1ZWxDaGFsbGVuZ2VBZmZpeC5wcm90bxogVHJh", - "dmVsZXJEdWVsQ2hhbGxlbmdlQWZmaXgucHJvdG8iTQogdGFibGVfVHJhdmVs", - "ZXJEdWVsQ2hhbGxlbmdlQWZmaXgSKQoEbGlzdBgBIAMoCzIbLlRyYXZlbGVy", - "RHVlbENoYWxsZW5nZUFmZml4Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelChallengeAffixReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeAffix), global::Nova.Client.table_TravelerDuelChallengeAffix.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelChallengeAffix : pb::IMessage<table_TravelerDuelChallengeAffix> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelChallengeAffix> _parser = new pb::MessageParser<table_TravelerDuelChallengeAffix>(() => new table_TravelerDuelChallengeAffix()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelChallengeAffix> 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.TableTravelerDuelChallengeAffixReflection.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 table_TravelerDuelChallengeAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeAffix(table_TravelerDuelChallengeAffix other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeAffix Clone() { - return new table_TravelerDuelChallengeAffix(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeAffix> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeAffix.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeAffix> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeAffix>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeAffix> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelChallengeAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelChallengeAffix other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelChallengeAffix other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelChallengeDifficulty.cs b/Novaria.Common/Protos/TableTravelerDuelChallengeDifficulty.cs deleted file mode 100644 index 73f4ecd..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelChallengeDifficulty.cs +++ /dev/null @@ -1,233 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelChallengeDifficulty.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 table_TravelerDuelChallengeDifficulty.proto</summary> - public static partial class TableTravelerDuelChallengeDifficultyReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelChallengeDifficulty.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelChallengeDifficultyReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cit0YWJsZV9UcmF2ZWxlckR1ZWxDaGFsbGVuZ2VEaWZmaWN1bHR5LnByb3Rv", - "GiVUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VEaWZmaWN1bHR5LnByb3RvIlcKJXRh", - "YmxlX1RyYXZlbGVyRHVlbENoYWxsZW5nZURpZmZpY3VsdHkSLgoEbGlzdBgB", - "IAMoCzIgLlRyYXZlbGVyRHVlbENoYWxsZW5nZURpZmZpY3VsdHlCDqoCC05v", - "dmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelChallengeDifficultyReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeDifficulty), global::Nova.Client.table_TravelerDuelChallengeDifficulty.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelChallengeDifficulty : pb::IMessage<table_TravelerDuelChallengeDifficulty> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelChallengeDifficulty> _parser = new pb::MessageParser<table_TravelerDuelChallengeDifficulty>(() => new table_TravelerDuelChallengeDifficulty()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelChallengeDifficulty> 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.TableTravelerDuelChallengeDifficultyReflection.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 table_TravelerDuelChallengeDifficulty() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeDifficulty(table_TravelerDuelChallengeDifficulty other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeDifficulty Clone() { - return new table_TravelerDuelChallengeDifficulty(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeDifficulty> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeDifficulty.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeDifficulty> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeDifficulty>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeDifficulty> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelChallengeDifficulty); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelChallengeDifficulty other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelChallengeDifficulty other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelChallengeQuest.cs b/Novaria.Common/Protos/TableTravelerDuelChallengeQuest.cs deleted file mode 100644 index 1e1f482..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelChallengeQuest.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelChallengeQuest.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 table_TravelerDuelChallengeQuest.proto</summary> - public static partial class TableTravelerDuelChallengeQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelChallengeQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelChallengeQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiZ0YWJsZV9UcmF2ZWxlckR1ZWxDaGFsbGVuZ2VRdWVzdC5wcm90bxogVHJh", - "dmVsZXJEdWVsQ2hhbGxlbmdlUXVlc3QucHJvdG8iTQogdGFibGVfVHJhdmVs", - "ZXJEdWVsQ2hhbGxlbmdlUXVlc3QSKQoEbGlzdBgBIAMoCzIbLlRyYXZlbGVy", - "RHVlbENoYWxsZW5nZVF1ZXN0Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelChallengeQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeQuest), global::Nova.Client.table_TravelerDuelChallengeQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelChallengeQuest : pb::IMessage<table_TravelerDuelChallengeQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelChallengeQuest> _parser = new pb::MessageParser<table_TravelerDuelChallengeQuest>(() => new table_TravelerDuelChallengeQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelChallengeQuest> 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.TableTravelerDuelChallengeQuestReflection.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 table_TravelerDuelChallengeQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeQuest(table_TravelerDuelChallengeQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeQuest Clone() { - return new table_TravelerDuelChallengeQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeQuest> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelChallengeQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelChallengeQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelChallengeQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelChallengeRankReward.cs b/Novaria.Common/Protos/TableTravelerDuelChallengeRankReward.cs deleted file mode 100644 index 5f81d2e..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelChallengeRankReward.cs +++ /dev/null @@ -1,233 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelChallengeRankReward.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 table_TravelerDuelChallengeRankReward.proto</summary> - public static partial class TableTravelerDuelChallengeRankRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelChallengeRankReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelChallengeRankRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cit0YWJsZV9UcmF2ZWxlckR1ZWxDaGFsbGVuZ2VSYW5rUmV3YXJkLnByb3Rv", - "GiVUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VSYW5rUmV3YXJkLnByb3RvIlcKJXRh", - "YmxlX1RyYXZlbGVyRHVlbENoYWxsZW5nZVJhbmtSZXdhcmQSLgoEbGlzdBgB", - "IAMoCzIgLlRyYXZlbGVyRHVlbENoYWxsZW5nZVJhbmtSZXdhcmRCDqoCC05v", - "dmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelChallengeRankRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeRankReward), global::Nova.Client.table_TravelerDuelChallengeRankReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelChallengeRankReward : pb::IMessage<table_TravelerDuelChallengeRankReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelChallengeRankReward> _parser = new pb::MessageParser<table_TravelerDuelChallengeRankReward>(() => new table_TravelerDuelChallengeRankReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelChallengeRankReward> 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.TableTravelerDuelChallengeRankRewardReflection.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 table_TravelerDuelChallengeRankReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeRankReward(table_TravelerDuelChallengeRankReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeRankReward Clone() { - return new table_TravelerDuelChallengeRankReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeRankReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeRankReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeRankReward> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeRankReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeRankReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelChallengeRankReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelChallengeRankReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelChallengeRankReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelChallengeSeason.cs b/Novaria.Common/Protos/TableTravelerDuelChallengeSeason.cs deleted file mode 100644 index 8faaedc..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelChallengeSeason.cs +++ /dev/null @@ -1,233 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelChallengeSeason.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 table_TravelerDuelChallengeSeason.proto</summary> - public static partial class TableTravelerDuelChallengeSeasonReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelChallengeSeason.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelChallengeSeasonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cid0YWJsZV9UcmF2ZWxlckR1ZWxDaGFsbGVuZ2VTZWFzb24ucHJvdG8aIVRy", - "YXZlbGVyRHVlbENoYWxsZW5nZVNlYXNvbi5wcm90byJPCiF0YWJsZV9UcmF2", - "ZWxlckR1ZWxDaGFsbGVuZ2VTZWFzb24SKgoEbGlzdBgBIAMoCzIcLlRyYXZl", - "bGVyRHVlbENoYWxsZW5nZVNlYXNvbkIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelChallengeSeasonReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeSeason), global::Nova.Client.table_TravelerDuelChallengeSeason.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelChallengeSeason : pb::IMessage<table_TravelerDuelChallengeSeason> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelChallengeSeason> _parser = new pb::MessageParser<table_TravelerDuelChallengeSeason>(() => new table_TravelerDuelChallengeSeason()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelChallengeSeason> 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.TableTravelerDuelChallengeSeasonReflection.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 table_TravelerDuelChallengeSeason() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeSeason(table_TravelerDuelChallengeSeason other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelChallengeSeason Clone() { - return new table_TravelerDuelChallengeSeason(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeSeason> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeSeason.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeSeason> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeSeason>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeSeason> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelChallengeSeason); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelChallengeSeason other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelChallengeSeason other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelLevel.cs b/Novaria.Common/Protos/TableTravelerDuelLevel.cs deleted file mode 100644 index b914d1a..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelLevel.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelLevel.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 table_TravelerDuelLevel.proto</summary> - public static partial class TableTravelerDuelLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9UcmF2ZWxlckR1ZWxMZXZlbC5wcm90bxoXVHJhdmVsZXJEdWVs", - "TGV2ZWwucHJvdG8iOwoXdGFibGVfVHJhdmVsZXJEdWVsTGV2ZWwSIAoEbGlz", - "dBgBIAMoCzISLlRyYXZlbGVyRHVlbExldmVsQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelLevel), global::Nova.Client.table_TravelerDuelLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelLevel : pb::IMessage<table_TravelerDuelLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelLevel> _parser = new pb::MessageParser<table_TravelerDuelLevel>(() => new table_TravelerDuelLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelLevel> 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.TableTravelerDuelLevelReflection.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 table_TravelerDuelLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelLevel(table_TravelerDuelLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelLevel Clone() { - return new table_TravelerDuelLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelLevel> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTravelerDuelQuest.cs b/Novaria.Common/Protos/TableTravelerDuelQuest.cs deleted file mode 100644 index 78601ab..0000000 --- a/Novaria.Common/Protos/TableTravelerDuelQuest.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TravelerDuelQuest.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 table_TravelerDuelQuest.proto</summary> - public static partial class TableTravelerDuelQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_TravelerDuelQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTravelerDuelQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9UcmF2ZWxlckR1ZWxRdWVzdC5wcm90bxoXVHJhdmVsZXJEdWVs", - "UXVlc3QucHJvdG8iOwoXdGFibGVfVHJhdmVsZXJEdWVsUXVlc3QSIAoEbGlz", - "dBgBIAMoCzISLlRyYXZlbGVyRHVlbFF1ZXN0Qg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TravelerDuelQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelQuest), global::Nova.Client.table_TravelerDuelQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TravelerDuelQuest : pb::IMessage<table_TravelerDuelQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TravelerDuelQuest> _parser = new pb::MessageParser<table_TravelerDuelQuest>(() => new table_TravelerDuelQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TravelerDuelQuest> 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.TableTravelerDuelQuestReflection.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 table_TravelerDuelQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelQuest(table_TravelerDuelQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TravelerDuelQuest Clone() { - return new table_TravelerDuelQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelQuest> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TravelerDuelQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TravelerDuelQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TravelerDuelQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TravelerDuelQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTrialBuild.cs b/Novaria.Common/Protos/TableTrialBuild.cs deleted file mode 100644 index 9aa6c08..0000000 --- a/Novaria.Common/Protos/TableTrialBuild.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TrialBuild.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 table_TrialBuild.proto</summary> - public static partial class TableTrialBuildReflection { - - #region Descriptor - /// <summary>File descriptor for table_TrialBuild.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTrialBuildReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9UcmlhbEJ1aWxkLnByb3RvGhBUcmlhbEJ1aWxkLnByb3RvIi0K", - "EHRhYmxlX1RyaWFsQnVpbGQSGQoEbGlzdBgBIAMoCzILLlRyaWFsQnVpbGRC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TrialBuildReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrialBuild), global::Nova.Client.table_TrialBuild.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TrialBuild : pb::IMessage<table_TrialBuild> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TrialBuild> _parser = new pb::MessageParser<table_TrialBuild>(() => new table_TrialBuild()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TrialBuild> 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.TableTrialBuildReflection.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 table_TrialBuild() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrialBuild(table_TrialBuild other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrialBuild Clone() { - return new table_TrialBuild(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TrialBuild> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrialBuild.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TrialBuild> list_ = new pbc::RepeatedField<global::Nova.Client.TrialBuild>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TrialBuild> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TrialBuild); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TrialBuild other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TrialBuild other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTrialCharacter.cs b/Novaria.Common/Protos/TableTrialCharacter.cs deleted file mode 100644 index 5dd81f9..0000000 --- a/Novaria.Common/Protos/TableTrialCharacter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TrialCharacter.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 table_TrialCharacter.proto</summary> - public static partial class TableTrialCharacterReflection { - - #region Descriptor - /// <summary>File descriptor for table_TrialCharacter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTrialCharacterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chp0YWJsZV9UcmlhbENoYXJhY3Rlci5wcm90bxoUVHJpYWxDaGFyYWN0ZXIu", - "cHJvdG8iNQoUdGFibGVfVHJpYWxDaGFyYWN0ZXISHQoEbGlzdBgBIAMoCzIP", - "LlRyaWFsQ2hhcmFjdGVyQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TrialCharacterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrialCharacter), global::Nova.Client.table_TrialCharacter.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TrialCharacter : pb::IMessage<table_TrialCharacter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TrialCharacter> _parser = new pb::MessageParser<table_TrialCharacter>(() => new table_TrialCharacter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TrialCharacter> 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.TableTrialCharacterReflection.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 table_TrialCharacter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrialCharacter(table_TrialCharacter other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrialCharacter Clone() { - return new table_TrialCharacter(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TrialCharacter> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrialCharacter.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TrialCharacter> list_ = new pbc::RepeatedField<global::Nova.Client.TrialCharacter>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TrialCharacter> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TrialCharacter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TrialCharacter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TrialCharacter other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableTrialDisc.cs b/Novaria.Common/Protos/TableTrialDisc.cs deleted file mode 100644 index 28f1fab..0000000 --- a/Novaria.Common/Protos/TableTrialDisc.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_TrialDisc.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 table_TrialDisc.proto</summary> - public static partial class TableTrialDiscReflection { - - #region Descriptor - /// <summary>File descriptor for table_TrialDisc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableTrialDiscReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9UcmlhbERpc2MucHJvdG8aD1RyaWFsRGlzYy5wcm90byIrCg90", - "YWJsZV9UcmlhbERpc2MSGAoEbGlzdBgBIAMoCzIKLlRyaWFsRGlzY0IOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.TrialDiscReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrialDisc), global::Nova.Client.table_TrialDisc.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_TrialDisc : pb::IMessage<table_TrialDisc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_TrialDisc> _parser = new pb::MessageParser<table_TrialDisc>(() => new table_TrialDisc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_TrialDisc> 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.TableTrialDiscReflection.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 table_TrialDisc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrialDisc(table_TrialDisc other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_TrialDisc Clone() { - return new table_TrialDisc(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.TrialDisc> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrialDisc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.TrialDisc> list_ = new pbc::RepeatedField<global::Nova.Client.TrialDisc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.TrialDisc> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_TrialDisc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_TrialDisc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_TrialDisc other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableUIText.cs b/Novaria.Common/Protos/TableUIText.cs deleted file mode 100644 index 8d8f753..0000000 --- a/Novaria.Common/Protos/TableUIText.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_UIText.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 table_UIText.proto</summary> - public static partial class TableUITextReflection { - - #region Descriptor - /// <summary>File descriptor for table_UIText.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableUITextReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJ0YWJsZV9VSVRleHQucHJvdG8aDFVJVGV4dC5wcm90byIlCgx0YWJsZV9V", - "SVRleHQSFQoEbGlzdBgBIAMoCzIHLlVJVGV4dEIOqgILTm92YS5DbGllbnRi", - "BnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.UITextReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_UIText), global::Nova.Client.table_UIText.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_UIText : pb::IMessage<table_UIText> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_UIText> _parser = new pb::MessageParser<table_UIText>(() => new table_UIText()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_UIText> 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.TableUITextReflection.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 table_UIText() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_UIText(table_UIText other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_UIText Clone() { - return new table_UIText(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.UIText> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.UIText.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.UIText> list_ = new pbc::RepeatedField<global::Nova.Client.UIText>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.UIText> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_UIText); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_UIText other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_UIText other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireBattleThreshold.cs b/Novaria.Common/Protos/TableVampireBattleThreshold.cs deleted file mode 100644 index eb5d61d..0000000 --- a/Novaria.Common/Protos/TableVampireBattleThreshold.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireBattleThreshold.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 table_VampireBattleThreshold.proto</summary> - public static partial class TableVampireBattleThresholdReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireBattleThreshold.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireBattleThresholdReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJ0YWJsZV9WYW1waXJlQmF0dGxlVGhyZXNob2xkLnByb3RvGhxWYW1waXJl", - "QmF0dGxlVGhyZXNob2xkLnByb3RvIkUKHHRhYmxlX1ZhbXBpcmVCYXR0bGVU", - "aHJlc2hvbGQSJQoEbGlzdBgBIAMoCzIXLlZhbXBpcmVCYXR0bGVUaHJlc2hv", - "bGRCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireBattleThresholdReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireBattleThreshold), global::Nova.Client.table_VampireBattleThreshold.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireBattleThreshold : pb::IMessage<table_VampireBattleThreshold> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireBattleThreshold> _parser = new pb::MessageParser<table_VampireBattleThreshold>(() => new table_VampireBattleThreshold()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireBattleThreshold> 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.TableVampireBattleThresholdReflection.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 table_VampireBattleThreshold() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireBattleThreshold(table_VampireBattleThreshold other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireBattleThreshold Clone() { - return new table_VampireBattleThreshold(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireBattleThreshold> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireBattleThreshold.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireBattleThreshold> list_ = new pbc::RepeatedField<global::Nova.Client.VampireBattleThreshold>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireBattleThreshold> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireBattleThreshold); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireBattleThreshold other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireBattleThreshold other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireEnemyPool.cs b/Novaria.Common/Protos/TableVampireEnemyPool.cs deleted file mode 100644 index c30d9cc..0000000 --- a/Novaria.Common/Protos/TableVampireEnemyPool.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireEnemyPool.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 table_VampireEnemyPool.proto</summary> - public static partial class TableVampireEnemyPoolReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireEnemyPool.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireEnemyPoolReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chx0YWJsZV9WYW1waXJlRW5lbXlQb29sLnByb3RvGhZWYW1waXJlRW5lbXlQ", - "b29sLnByb3RvIjkKFnRhYmxlX1ZhbXBpcmVFbmVteVBvb2wSHwoEbGlzdBgB", - "IAMoCzIRLlZhbXBpcmVFbmVteVBvb2xCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireEnemyPoolReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireEnemyPool), global::Nova.Client.table_VampireEnemyPool.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireEnemyPool : pb::IMessage<table_VampireEnemyPool> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireEnemyPool> _parser = new pb::MessageParser<table_VampireEnemyPool>(() => new table_VampireEnemyPool()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireEnemyPool> 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.TableVampireEnemyPoolReflection.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 table_VampireEnemyPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireEnemyPool(table_VampireEnemyPool other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireEnemyPool Clone() { - return new table_VampireEnemyPool(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireEnemyPool> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireEnemyPool.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireEnemyPool> list_ = new pbc::RepeatedField<global::Nova.Client.VampireEnemyPool>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireEnemyPool> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireEnemyPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireEnemyPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireEnemyPool other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireEnemySet.cs b/Novaria.Common/Protos/TableVampireEnemySet.cs deleted file mode 100644 index bb8bdd4..0000000 --- a/Novaria.Common/Protos/TableVampireEnemySet.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireEnemySet.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 table_VampireEnemySet.proto</summary> - public static partial class TableVampireEnemySetReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireEnemySet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireEnemySetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9WYW1waXJlRW5lbXlTZXQucHJvdG8aFVZhbXBpcmVFbmVteVNl", - "dC5wcm90byI3ChV0YWJsZV9WYW1waXJlRW5lbXlTZXQSHgoEbGlzdBgBIAMo", - "CzIQLlZhbXBpcmVFbmVteVNldEIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireEnemySetReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireEnemySet), global::Nova.Client.table_VampireEnemySet.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireEnemySet : pb::IMessage<table_VampireEnemySet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireEnemySet> _parser = new pb::MessageParser<table_VampireEnemySet>(() => new table_VampireEnemySet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireEnemySet> 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.TableVampireEnemySetReflection.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 table_VampireEnemySet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireEnemySet(table_VampireEnemySet other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireEnemySet Clone() { - return new table_VampireEnemySet(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireEnemySet> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireEnemySet.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireEnemySet> list_ = new pbc::RepeatedField<global::Nova.Client.VampireEnemySet>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireEnemySet> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireEnemySet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireEnemySet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireEnemySet other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireEnemySpAttr.cs b/Novaria.Common/Protos/TableVampireEnemySpAttr.cs deleted file mode 100644 index 5835859..0000000 --- a/Novaria.Common/Protos/TableVampireEnemySpAttr.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireEnemySpAttr.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 table_VampireEnemySpAttr.proto</summary> - public static partial class TableVampireEnemySpAttrReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireEnemySpAttr.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireEnemySpAttrReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9WYW1waXJlRW5lbXlTcEF0dHIucHJvdG8aGFZhbXBpcmVFbmVt", - "eVNwQXR0ci5wcm90byI9Chh0YWJsZV9WYW1waXJlRW5lbXlTcEF0dHISIQoE", - "bGlzdBgBIAMoCzITLlZhbXBpcmVFbmVteVNwQXR0ckIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireEnemySpAttrReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireEnemySpAttr), global::Nova.Client.table_VampireEnemySpAttr.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireEnemySpAttr : pb::IMessage<table_VampireEnemySpAttr> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireEnemySpAttr> _parser = new pb::MessageParser<table_VampireEnemySpAttr>(() => new table_VampireEnemySpAttr()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireEnemySpAttr> 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.TableVampireEnemySpAttrReflection.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 table_VampireEnemySpAttr() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireEnemySpAttr(table_VampireEnemySpAttr other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireEnemySpAttr Clone() { - return new table_VampireEnemySpAttr(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireEnemySpAttr> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireEnemySpAttr.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireEnemySpAttr> list_ = new pbc::RepeatedField<global::Nova.Client.VampireEnemySpAttr>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireEnemySpAttr> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireEnemySpAttr); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireEnemySpAttr other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireEnemySpAttr other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireFloor.cs b/Novaria.Common/Protos/TableVampireFloor.cs deleted file mode 100644 index f0a9982..0000000 --- a/Novaria.Common/Protos/TableVampireFloor.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireFloor.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 table_VampireFloor.proto</summary> - public static partial class TableVampireFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chh0YWJsZV9WYW1waXJlRmxvb3IucHJvdG8aElZhbXBpcmVGbG9vci5wcm90", - "byIxChJ0YWJsZV9WYW1waXJlRmxvb3ISGwoEbGlzdBgBIAMoCzINLlZhbXBp", - "cmVGbG9vckIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireFloor), global::Nova.Client.table_VampireFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireFloor : pb::IMessage<table_VampireFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireFloor> _parser = new pb::MessageParser<table_VampireFloor>(() => new table_VampireFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireFloor> 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.TableVampireFloorReflection.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 table_VampireFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireFloor(table_VampireFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireFloor Clone() { - return new table_VampireFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireFloor> list_ = new pbc::RepeatedField<global::Nova.Client.VampireFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireMap.cs b/Novaria.Common/Protos/TableVampireMap.cs deleted file mode 100644 index 90f262a..0000000 --- a/Novaria.Common/Protos/TableVampireMap.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireMap.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 table_VampireMap.proto</summary> - public static partial class TableVampireMapReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireMap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireMapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9WYW1waXJlTWFwLnByb3RvGhBWYW1waXJlTWFwLnByb3RvIi0K", - "EHRhYmxlX1ZhbXBpcmVNYXASGQoEbGlzdBgBIAMoCzILLlZhbXBpcmVNYXBC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireMapReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireMap), global::Nova.Client.table_VampireMap.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireMap : pb::IMessage<table_VampireMap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireMap> _parser = new pb::MessageParser<table_VampireMap>(() => new table_VampireMap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireMap> 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.TableVampireMapReflection.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 table_VampireMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireMap(table_VampireMap other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireMap Clone() { - return new table_VampireMap(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireMap> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireMap.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireMap> list_ = new pbc::RepeatedField<global::Nova.Client.VampireMap>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireMap> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireMap other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireRankReward.cs b/Novaria.Common/Protos/TableVampireRankReward.cs deleted file mode 100644 index be18049..0000000 --- a/Novaria.Common/Protos/TableVampireRankReward.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireRankReward.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 table_VampireRankReward.proto</summary> - public static partial class TableVampireRankRewardReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireRankReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireRankRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9WYW1waXJlUmFua1Jld2FyZC5wcm90bxoXVmFtcGlyZVJhbmtS", - "ZXdhcmQucHJvdG8iOwoXdGFibGVfVmFtcGlyZVJhbmtSZXdhcmQSIAoEbGlz", - "dBgBIAMoCzISLlZhbXBpcmVSYW5rUmV3YXJkQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireRankRewardReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireRankReward), global::Nova.Client.table_VampireRankReward.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireRankReward : pb::IMessage<table_VampireRankReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireRankReward> _parser = new pb::MessageParser<table_VampireRankReward>(() => new table_VampireRankReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireRankReward> 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.TableVampireRankRewardReflection.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 table_VampireRankReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireRankReward(table_VampireRankReward other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireRankReward Clone() { - return new table_VampireRankReward(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireRankReward> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireRankReward.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireRankReward> list_ = new pbc::RepeatedField<global::Nova.Client.VampireRankReward>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireRankReward> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireRankReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireRankReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireRankReward other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireRankSeason.cs b/Novaria.Common/Protos/TableVampireRankSeason.cs deleted file mode 100644 index 77dc4b0..0000000 --- a/Novaria.Common/Protos/TableVampireRankSeason.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireRankSeason.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 table_VampireRankSeason.proto</summary> - public static partial class TableVampireRankSeasonReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireRankSeason.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireRankSeasonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9WYW1waXJlUmFua1NlYXNvbi5wcm90bxoXVmFtcGlyZVJhbmtT", - "ZWFzb24ucHJvdG8iOwoXdGFibGVfVmFtcGlyZVJhbmtTZWFzb24SIAoEbGlz", - "dBgBIAMoCzISLlZhbXBpcmVSYW5rU2Vhc29uQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireRankSeasonReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireRankSeason), global::Nova.Client.table_VampireRankSeason.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireRankSeason : pb::IMessage<table_VampireRankSeason> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireRankSeason> _parser = new pb::MessageParser<table_VampireRankSeason>(() => new table_VampireRankSeason()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireRankSeason> 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.TableVampireRankSeasonReflection.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 table_VampireRankSeason() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireRankSeason(table_VampireRankSeason other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireRankSeason Clone() { - return new table_VampireRankSeason(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireRankSeason> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireRankSeason.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireRankSeason> list_ = new pbc::RepeatedField<global::Nova.Client.VampireRankSeason>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireRankSeason> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireRankSeason); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireRankSeason other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireRankSeason other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireSurvivor.cs b/Novaria.Common/Protos/TableVampireSurvivor.cs deleted file mode 100644 index dec410f..0000000 --- a/Novaria.Common/Protos/TableVampireSurvivor.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireSurvivor.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 table_VampireSurvivor.proto</summary> - public static partial class TableVampireSurvivorReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireSurvivor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireSurvivorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9WYW1waXJlU3Vydml2b3IucHJvdG8aFVZhbXBpcmVTdXJ2aXZv", - "ci5wcm90byI3ChV0YWJsZV9WYW1waXJlU3Vydml2b3ISHgoEbGlzdBgBIAMo", - "CzIQLlZhbXBpcmVTdXJ2aXZvckIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireSurvivorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireSurvivor), global::Nova.Client.table_VampireSurvivor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireSurvivor : pb::IMessage<table_VampireSurvivor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireSurvivor> _parser = new pb::MessageParser<table_VampireSurvivor>(() => new table_VampireSurvivor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireSurvivor> 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.TableVampireSurvivorReflection.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 table_VampireSurvivor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireSurvivor(table_VampireSurvivor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireSurvivor Clone() { - return new table_VampireSurvivor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireSurvivor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireSurvivor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireSurvivor> list_ = new pbc::RepeatedField<global::Nova.Client.VampireSurvivor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireSurvivor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireSurvivor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireSurvivor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireSurvivor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireSurvivorLevel.cs b/Novaria.Common/Protos/TableVampireSurvivorLevel.cs deleted file mode 100644 index 0081a0c..0000000 --- a/Novaria.Common/Protos/TableVampireSurvivorLevel.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireSurvivorLevel.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 table_VampireSurvivorLevel.proto</summary> - public static partial class TableVampireSurvivorLevelReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireSurvivorLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireSurvivorLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9WYW1waXJlU3Vydml2b3JMZXZlbC5wcm90bxoaVmFtcGlyZVN1", - "cnZpdm9yTGV2ZWwucHJvdG8iQQoadGFibGVfVmFtcGlyZVN1cnZpdm9yTGV2", - "ZWwSIwoEbGlzdBgBIAMoCzIVLlZhbXBpcmVTdXJ2aXZvckxldmVsQg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireSurvivorLevelReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireSurvivorLevel), global::Nova.Client.table_VampireSurvivorLevel.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireSurvivorLevel : pb::IMessage<table_VampireSurvivorLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireSurvivorLevel> _parser = new pb::MessageParser<table_VampireSurvivorLevel>(() => new table_VampireSurvivorLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireSurvivorLevel> 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.TableVampireSurvivorLevelReflection.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 table_VampireSurvivorLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireSurvivorLevel(table_VampireSurvivorLevel other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireSurvivorLevel Clone() { - return new table_VampireSurvivorLevel(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireSurvivorLevel> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireSurvivorLevel.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireSurvivorLevel> list_ = new pbc::RepeatedField<global::Nova.Client.VampireSurvivorLevel>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireSurvivorLevel> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireSurvivorLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireSurvivorLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireSurvivorLevel other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireSurvivorQuest.cs b/Novaria.Common/Protos/TableVampireSurvivorQuest.cs deleted file mode 100644 index 8bd2379..0000000 --- a/Novaria.Common/Protos/TableVampireSurvivorQuest.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireSurvivorQuest.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 table_VampireSurvivorQuest.proto</summary> - public static partial class TableVampireSurvivorQuestReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireSurvivorQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireSurvivorQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiB0YWJsZV9WYW1waXJlU3Vydml2b3JRdWVzdC5wcm90bxoaVmFtcGlyZVN1", - "cnZpdm9yUXVlc3QucHJvdG8iQQoadGFibGVfVmFtcGlyZVN1cnZpdm9yUXVl", - "c3QSIwoEbGlzdBgBIAMoCzIVLlZhbXBpcmVTdXJ2aXZvclF1ZXN0Qg6qAgtO", - "b3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireSurvivorQuestReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireSurvivorQuest), global::Nova.Client.table_VampireSurvivorQuest.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireSurvivorQuest : pb::IMessage<table_VampireSurvivorQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireSurvivorQuest> _parser = new pb::MessageParser<table_VampireSurvivorQuest>(() => new table_VampireSurvivorQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireSurvivorQuest> 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.TableVampireSurvivorQuestReflection.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 table_VampireSurvivorQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireSurvivorQuest(table_VampireSurvivorQuest other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireSurvivorQuest Clone() { - return new table_VampireSurvivorQuest(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireSurvivorQuest> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireSurvivorQuest.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireSurvivorQuest> list_ = new pbc::RepeatedField<global::Nova.Client.VampireSurvivorQuest>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireSurvivorQuest> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireSurvivorQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireSurvivorQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireSurvivorQuest other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireTalent.cs b/Novaria.Common/Protos/TableVampireTalent.cs deleted file mode 100644 index 9b60236..0000000 --- a/Novaria.Common/Protos/TableVampireTalent.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireTalent.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 table_VampireTalent.proto</summary> - public static partial class TableVampireTalentReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireTalent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireTalentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chl0YWJsZV9WYW1waXJlVGFsZW50LnByb3RvGhNWYW1waXJlVGFsZW50LnBy", - "b3RvIjMKE3RhYmxlX1ZhbXBpcmVUYWxlbnQSHAoEbGlzdBgBIAMoCzIOLlZh", - "bXBpcmVUYWxlbnRCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireTalentReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireTalent), global::Nova.Client.table_VampireTalent.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireTalent : pb::IMessage<table_VampireTalent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireTalent> _parser = new pb::MessageParser<table_VampireTalent>(() => new table_VampireTalent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireTalent> 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.TableVampireTalentReflection.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 table_VampireTalent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireTalent(table_VampireTalent other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireTalent Clone() { - return new table_VampireTalent(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireTalent> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireTalent.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireTalent> list_ = new pbc::RepeatedField<global::Nova.Client.VampireTalent>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireTalent> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireTalent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireTalent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireTalent other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireTalentDesc.cs b/Novaria.Common/Protos/TableVampireTalentDesc.cs deleted file mode 100644 index 7a7d8e5..0000000 --- a/Novaria.Common/Protos/TableVampireTalentDesc.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireTalentDesc.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 table_VampireTalentDesc.proto</summary> - public static partial class TableVampireTalentDescReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireTalentDesc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireTalentDescReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch10YWJsZV9WYW1waXJlVGFsZW50RGVzYy5wcm90bxoXVmFtcGlyZVRhbGVu", - "dERlc2MucHJvdG8iOwoXdGFibGVfVmFtcGlyZVRhbGVudERlc2MSIAoEbGlz", - "dBgBIAMoCzISLlZhbXBpcmVUYWxlbnREZXNjQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireTalentDescReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireTalentDesc), global::Nova.Client.table_VampireTalentDesc.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireTalentDesc : pb::IMessage<table_VampireTalentDesc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireTalentDesc> _parser = new pb::MessageParser<table_VampireTalentDesc>(() => new table_VampireTalentDesc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireTalentDesc> 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.TableVampireTalentDescReflection.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 table_VampireTalentDesc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireTalentDesc(table_VampireTalentDesc other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireTalentDesc Clone() { - return new table_VampireTalentDesc(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireTalentDesc> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireTalentDesc.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireTalentDesc> list_ = new pbc::RepeatedField<global::Nova.Client.VampireTalentDesc>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireTalentDesc> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireTalentDesc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireTalentDesc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireTalentDesc other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVampireTalentFloor.cs b/Novaria.Common/Protos/TableVampireTalentFloor.cs deleted file mode 100644 index c16f064..0000000 --- a/Novaria.Common/Protos/TableVampireTalentFloor.cs +++ /dev/null @@ -1,232 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VampireTalentFloor.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 table_VampireTalentFloor.proto</summary> - public static partial class TableVampireTalentFloorReflection { - - #region Descriptor - /// <summary>File descriptor for table_VampireTalentFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVampireTalentFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch50YWJsZV9WYW1waXJlVGFsZW50Rmxvb3IucHJvdG8aGFZhbXBpcmVUYWxl", - "bnRGbG9vci5wcm90byI9Chh0YWJsZV9WYW1waXJlVGFsZW50Rmxvb3ISIQoE", - "bGlzdBgBIAMoCzITLlZhbXBpcmVUYWxlbnRGbG9vckIOqgILTm92YS5DbGll", - "bnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VampireTalentFloorReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireTalentFloor), global::Nova.Client.table_VampireTalentFloor.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VampireTalentFloor : pb::IMessage<table_VampireTalentFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VampireTalentFloor> _parser = new pb::MessageParser<table_VampireTalentFloor>(() => new table_VampireTalentFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VampireTalentFloor> 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.TableVampireTalentFloorReflection.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 table_VampireTalentFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireTalentFloor(table_VampireTalentFloor other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VampireTalentFloor Clone() { - return new table_VampireTalentFloor(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VampireTalentFloor> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireTalentFloor.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VampireTalentFloor> list_ = new pbc::RepeatedField<global::Nova.Client.VampireTalentFloor>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VampireTalentFloor> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VampireTalentFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VampireTalentFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VampireTalentFloor other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableVoDirectory.cs b/Novaria.Common/Protos/TableVoDirectory.cs deleted file mode 100644 index fc1792b..0000000 --- a/Novaria.Common/Protos/TableVoDirectory.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_VoDirectory.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 table_VoDirectory.proto</summary> - public static partial class TableVoDirectoryReflection { - - #region Descriptor - /// <summary>File descriptor for table_VoDirectory.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableVoDirectoryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Chd0YWJsZV9Wb0RpcmVjdG9yeS5wcm90bxoRVm9EaXJlY3RvcnkucHJvdG8i", - "LwoRdGFibGVfVm9EaXJlY3RvcnkSGgoEbGlzdBgBIAMoCzIMLlZvRGlyZWN0", - "b3J5Qg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.VoDirectoryReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VoDirectory), global::Nova.Client.table_VoDirectory.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_VoDirectory : pb::IMessage<table_VoDirectory> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_VoDirectory> _parser = new pb::MessageParser<table_VoDirectory>(() => new table_VoDirectory()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_VoDirectory> 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.TableVoDirectoryReflection.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 table_VoDirectory() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VoDirectory(table_VoDirectory other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_VoDirectory Clone() { - return new table_VoDirectory(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.VoDirectory> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.VoDirectory.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.VoDirectory> list_ = new pbc::RepeatedField<global::Nova.Client.VoDirectory>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.VoDirectory> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_VoDirectory); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_VoDirectory other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_VoDirectory other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableWeightParameter.cs b/Novaria.Common/Protos/TableWeightParameter.cs deleted file mode 100644 index 6fbe368..0000000 --- a/Novaria.Common/Protos/TableWeightParameter.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_WeightParameter.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 table_WeightParameter.proto</summary> - public static partial class TableWeightParameterReflection { - - #region Descriptor - /// <summary>File descriptor for table_WeightParameter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableWeightParameterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cht0YWJsZV9XZWlnaHRQYXJhbWV0ZXIucHJvdG8aFVdlaWdodFBhcmFtZXRl", - "ci5wcm90byI3ChV0YWJsZV9XZWlnaHRQYXJhbWV0ZXISHgoEbGlzdBgBIAMo", - "CzIQLldlaWdodFBhcmFtZXRlckIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.WeightParameterReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_WeightParameter), global::Nova.Client.table_WeightParameter.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_WeightParameter : pb::IMessage<table_WeightParameter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_WeightParameter> _parser = new pb::MessageParser<table_WeightParameter>(() => new table_WeightParameter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_WeightParameter> 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.TableWeightParameterReflection.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 table_WeightParameter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_WeightParameter(table_WeightParameter other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_WeightParameter Clone() { - return new table_WeightParameter(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.WeightParameter> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.WeightParameter.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.WeightParameter> list_ = new pbc::RepeatedField<global::Nova.Client.WeightParameter>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.WeightParameter> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_WeightParameter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_WeightParameter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_WeightParameter other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableWord.cs b/Novaria.Common/Protos/TableWord.cs deleted file mode 100644 index 6708447..0000000 --- a/Novaria.Common/Protos/TableWord.cs +++ /dev/null @@ -1,230 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_Word.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 table_Word.proto</summary> - public static partial class TableWordReflection { - - #region Descriptor - /// <summary>File descriptor for table_Word.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableWordReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChB0YWJsZV9Xb3JkLnByb3RvGgpXb3JkLnByb3RvIiEKCnRhYmxlX1dvcmQS", - "EwoEbGlzdBgBIAMoCzIFLldvcmRCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.WordReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Word), global::Nova.Client.table_Word.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_Word : pb::IMessage<table_Word> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_Word> _parser = new pb::MessageParser<table_Word>(() => new table_Word()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_Word> 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.TableWordReflection.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 table_Word() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Word(table_Word other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_Word Clone() { - return new table_Word(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.Word> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.Word.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.Word> list_ = new pbc::RepeatedField<global::Nova.Client.Word>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.Word> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_Word); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_Word other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_Word other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableWordSuper.cs b/Novaria.Common/Protos/TableWordSuper.cs deleted file mode 100644 index 8fc4789..0000000 --- a/Novaria.Common/Protos/TableWordSuper.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_WordSuper.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 table_WordSuper.proto</summary> - public static partial class TableWordSuperReflection { - - #region Descriptor - /// <summary>File descriptor for table_WordSuper.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableWordSuperReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChV0YWJsZV9Xb3JkU3VwZXIucHJvdG8aD1dvcmRTdXBlci5wcm90byIrCg90", - "YWJsZV9Xb3JkU3VwZXISGAoEbGlzdBgBIAMoCzIKLldvcmRTdXBlckIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.WordSuperReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_WordSuper), global::Nova.Client.table_WordSuper.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_WordSuper : pb::IMessage<table_WordSuper> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_WordSuper> _parser = new pb::MessageParser<table_WordSuper>(() => new table_WordSuper()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_WordSuper> 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.TableWordSuperReflection.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 table_WordSuper() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_WordSuper(table_WordSuper other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_WordSuper Clone() { - return new table_WordSuper(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.WordSuper> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.WordSuper.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.WordSuper> list_ = new pbc::RepeatedField<global::Nova.Client.WordSuper>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.WordSuper> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_WordSuper); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_WordSuper other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_WordSuper other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TableWorldClass.cs b/Novaria.Common/Protos/TableWorldClass.cs deleted file mode 100644 index fe52666..0000000 --- a/Novaria.Common/Protos/TableWorldClass.cs +++ /dev/null @@ -1,231 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: table_WorldClass.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 table_WorldClass.proto</summary> - public static partial class TableWorldClassReflection { - - #region Descriptor - /// <summary>File descriptor for table_WorldClass.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TableWorldClassReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZ0YWJsZV9Xb3JsZENsYXNzLnByb3RvGhBXb3JsZENsYXNzLnByb3RvIi0K", - "EHRhYmxlX1dvcmxkQ2xhc3MSGQoEbGlzdBgBIAMoCzILLldvcmxkQ2xhc3NC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Nova.Client.WorldClassReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_WorldClass), global::Nova.Client.table_WorldClass.Parser, new[]{ "List" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class table_WorldClass : pb::IMessage<table_WorldClass> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<table_WorldClass> _parser = new pb::MessageParser<table_WorldClass>(() => new table_WorldClass()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<table_WorldClass> 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.TableWorldClassReflection.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 table_WorldClass() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_WorldClass(table_WorldClass other) : this() { - list_ = other.list_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public table_WorldClass Clone() { - return new table_WorldClass(this); - } - - /// <summary>Field number for the "list" field.</summary> - public const int ListFieldNumber = 1; - private static readonly pb::FieldCodec<global::Nova.Client.WorldClass> _repeated_list_codec - = pb::FieldCodec.ForMessage(10, global::Nova.Client.WorldClass.Parser); - private readonly pbc::RepeatedField<global::Nova.Client.WorldClass> list_ = new pbc::RepeatedField<global::Nova.Client.WorldClass>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<global::Nova.Client.WorldClass> List { - get { return list_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as table_WorldClass); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(table_WorldClass other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!list_.Equals(other.list_)) 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; - hash ^= list_.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 - list_.WriteTo(output, _repeated_list_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) { - list_.WriteTo(ref output, _repeated_list_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; - size += list_.CalculateSize(_repeated_list_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(table_WorldClass other) { - if (other == null) { - return; - } - list_.Add(other.list_); - _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 10: { - list_.AddEntriesFrom(input, _repeated_list_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 10: { - list_.AddEntriesFrom(ref input, _repeated_list_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Talent.cs b/Novaria.Common/Protos/Talent.cs deleted file mode 100644 index d56c0c6..0000000 --- a/Novaria.Common/Protos/Talent.cs +++ /dev/null @@ -1,1130 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Talent.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 Talent.proto</summary> - public static partial class TalentReflection { - - #region Descriptor - /// <summary>File descriptor for Talent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TalentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxUYWxlbnQucHJvdG8ixwMKBlRhbGVudBIKCgJpZBgBIAEoBRINCgVpbmRl", - "eBgCIAEoBRINCgV0aXRsZRgDIAEoCRIQCghncm91cF9pZBgEIAEoBRIMCgR0", - "eXBlGAUgASgFEhAKCHN1Yl90eXBlGAYgASgFEgwKBHNvcnQYByABKAUSDQoF", - "bm9kZXMYCCABKAUSEQoJZWZmZWN0X2lkGAkgAygFEhgKEGVuaGFuY2Vfc2tp", - "bGxfaWQYCiABKAUSGwoTZW5oYW5jZV9za2lsbF9sZXZlbBgLIAEoBRIcChRl", - "bmhhbmNlX3BvdGVudGlhbF9pZBgMIAEoBRIfChdlbmhhbmNlX3BvdGVudGlh", - "bF9sZXZlbBgNIAEoBRIMCgRkZXNjGA4gASgJEgwKBGljb24YDyABKAkSDgoG", - "cGFyYW0xGBAgASgJEg4KBnBhcmFtMhgRIAEoCRIOCgZwYXJhbTMYEiABKAkS", - "DgoGcGFyYW00GBMgASgJEg4KBnBhcmFtNRgUIAEoCRIOCgZwYXJhbTYYFSAB", - "KAkSDgoGcGFyYW03GBYgASgJEg4KBnBhcmFtOBgXIAEoCRIOCgZwYXJhbTkY", - "GCABKAkSDwoHcGFyYW0xMBgZIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3Rv", - "Mw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Talent), global::Nova.Client.Talent.Parser, new[]{ "Id", "Index", "Title", "GroupId", "Type", "SubType", "Sort", "Nodes", "EffectId", "EnhanceSkillId", "EnhanceSkillLevel", "EnhancePotentialId", "EnhancePotentialLevel", "Desc", "Icon", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Talent : pb::IMessage<Talent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Talent> _parser = new pb::MessageParser<Talent>(() => new Talent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Talent> 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.TalentReflection.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 Talent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Talent(Talent other) : this() { - id_ = other.id_; - index_ = other.index_; - title_ = other.title_; - groupId_ = other.groupId_; - type_ = other.type_; - subType_ = other.subType_; - sort_ = other.sort_; - nodes_ = other.nodes_; - effectId_ = other.effectId_.Clone(); - enhanceSkillId_ = other.enhanceSkillId_; - enhanceSkillLevel_ = other.enhanceSkillLevel_; - enhancePotentialId_ = other.enhancePotentialId_; - enhancePotentialLevel_ = other.enhancePotentialLevel_; - desc_ = other.desc_; - icon_ = other.icon_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - param5_ = other.param5_; - param6_ = other.param6_; - param7_ = other.param7_; - param8_ = other.param8_; - param9_ = other.param9_; - param10_ = other.param10_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Talent Clone() { - return new Talent(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 "index" field.</summary> - public const int IndexFieldNumber = 2; - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { return index_; } - set { - index_ = value; - } - } - - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "group_id" field.</summary> - public const int GroupIdFieldNumber = 4; - 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 "type" field.</summary> - public const int TypeFieldNumber = 5; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "sub_type" field.</summary> - public const int SubTypeFieldNumber = 6; - private int subType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SubType { - get { return subType_; } - set { - subType_ = value; - } - } - - /// <summary>Field number for the "sort" field.</summary> - public const int SortFieldNumber = 7; - 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 "nodes" field.</summary> - public const int NodesFieldNumber = 8; - private int nodes_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Nodes { - get { return nodes_; } - set { - nodes_ = value; - } - } - - /// <summary>Field number for the "effect_id" field.</summary> - public const int EffectIdFieldNumber = 9; - private static readonly pb::FieldCodec<int> _repeated_effectId_codec - = pb::FieldCodec.ForInt32(74); - private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EffectId { - get { return effectId_; } - } - - /// <summary>Field number for the "enhance_skill_id" field.</summary> - public const int EnhanceSkillIdFieldNumber = 10; - private int enhanceSkillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnhanceSkillId { - get { return enhanceSkillId_; } - set { - enhanceSkillId_ = value; - } - } - - /// <summary>Field number for the "enhance_skill_level" field.</summary> - public const int EnhanceSkillLevelFieldNumber = 11; - private int enhanceSkillLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnhanceSkillLevel { - get { return enhanceSkillLevel_; } - set { - enhanceSkillLevel_ = value; - } - } - - /// <summary>Field number for the "enhance_potential_id" field.</summary> - public const int EnhancePotentialIdFieldNumber = 12; - private int enhancePotentialId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnhancePotentialId { - get { return enhancePotentialId_; } - set { - enhancePotentialId_ = value; - } - } - - /// <summary>Field number for the "enhance_potential_level" field.</summary> - public const int EnhancePotentialLevelFieldNumber = 13; - private int enhancePotentialLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnhancePotentialLevel { - get { return enhancePotentialLevel_; } - set { - enhancePotentialLevel_ = value; - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 14; - 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 = 15; - 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 "param1" field.</summary> - public const int Param1FieldNumber = 16; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param2" field.</summary> - public const int Param2FieldNumber = 17; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param3" field.</summary> - public const int Param3FieldNumber = 18; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param4" field.</summary> - public const int Param4FieldNumber = 19; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param5" field.</summary> - public const int Param5FieldNumber = 20; - private string param5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param5 { - get { return param5_; } - set { - param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param6" field.</summary> - public const int Param6FieldNumber = 21; - private string param6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param6 { - get { return param6_; } - set { - param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param7" field.</summary> - public const int Param7FieldNumber = 22; - private string param7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param7 { - get { return param7_; } - set { - param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param8" field.</summary> - public const int Param8FieldNumber = 23; - private string param8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param8 { - get { return param8_; } - set { - param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param9" field.</summary> - public const int Param9FieldNumber = 24; - private string param9_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param9 { - get { return param9_; } - set { - param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param10" field.</summary> - public const int Param10FieldNumber = 25; - private string param10_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param10 { - get { return param10_; } - set { - param10_ = 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 Talent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Talent other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Index != other.Index) return false; - if (Title != other.Title) return false; - if (GroupId != other.GroupId) return false; - if (Type != other.Type) return false; - if (SubType != other.SubType) return false; - if (Sort != other.Sort) return false; - if (Nodes != other.Nodes) return false; - if(!effectId_.Equals(other.effectId_)) return false; - if (EnhanceSkillId != other.EnhanceSkillId) return false; - if (EnhanceSkillLevel != other.EnhanceSkillLevel) return false; - if (EnhancePotentialId != other.EnhancePotentialId) return false; - if (EnhancePotentialLevel != other.EnhancePotentialLevel) return false; - if (Desc != other.Desc) return false; - if (Icon != other.Icon) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) return false; - if (Param5 != other.Param5) return false; - if (Param6 != other.Param6) return false; - if (Param7 != other.Param7) return false; - if (Param8 != other.Param8) return false; - if (Param9 != other.Param9) return false; - if (Param10 != other.Param10) 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 (Index != 0) hash ^= Index.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (SubType != 0) hash ^= SubType.GetHashCode(); - if (Sort != 0) hash ^= Sort.GetHashCode(); - if (Nodes != 0) hash ^= Nodes.GetHashCode(); - hash ^= effectId_.GetHashCode(); - if (EnhanceSkillId != 0) hash ^= EnhanceSkillId.GetHashCode(); - if (EnhanceSkillLevel != 0) hash ^= EnhanceSkillLevel.GetHashCode(); - if (EnhancePotentialId != 0) hash ^= EnhancePotentialId.GetHashCode(); - if (EnhancePotentialLevel != 0) hash ^= EnhancePotentialLevel.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.GetHashCode(); - if (Param5.Length != 0) hash ^= Param5.GetHashCode(); - if (Param6.Length != 0) hash ^= Param6.GetHashCode(); - if (Param7.Length != 0) hash ^= Param7.GetHashCode(); - if (Param8.Length != 0) hash ^= Param8.GetHashCode(); - if (Param9.Length != 0) hash ^= Param9.GetHashCode(); - if (Param10.Length != 0) hash ^= Param10.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 (Index != 0) { - output.WriteRawTag(16); - output.WriteInt32(Index); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (GroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(GroupId); - } - if (Type != 0) { - output.WriteRawTag(40); - output.WriteInt32(Type); - } - if (SubType != 0) { - output.WriteRawTag(48); - output.WriteInt32(SubType); - } - if (Sort != 0) { - output.WriteRawTag(56); - output.WriteInt32(Sort); - } - if (Nodes != 0) { - output.WriteRawTag(64); - output.WriteInt32(Nodes); - } - effectId_.WriteTo(output, _repeated_effectId_codec); - if (EnhanceSkillId != 0) { - output.WriteRawTag(80); - output.WriteInt32(EnhanceSkillId); - } - if (EnhanceSkillLevel != 0) { - output.WriteRawTag(88); - output.WriteInt32(EnhanceSkillLevel); - } - if (EnhancePotentialId != 0) { - output.WriteRawTag(96); - output.WriteInt32(EnhancePotentialId); - } - if (EnhancePotentialLevel != 0) { - output.WriteRawTag(104); - output.WriteInt32(EnhancePotentialLevel); - } - if (Desc.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Icon); - } - if (Param1.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param10); - } - 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 (Index != 0) { - output.WriteRawTag(16); - output.WriteInt32(Index); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (GroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(GroupId); - } - if (Type != 0) { - output.WriteRawTag(40); - output.WriteInt32(Type); - } - if (SubType != 0) { - output.WriteRawTag(48); - output.WriteInt32(SubType); - } - if (Sort != 0) { - output.WriteRawTag(56); - output.WriteInt32(Sort); - } - if (Nodes != 0) { - output.WriteRawTag(64); - output.WriteInt32(Nodes); - } - effectId_.WriteTo(ref output, _repeated_effectId_codec); - if (EnhanceSkillId != 0) { - output.WriteRawTag(80); - output.WriteInt32(EnhanceSkillId); - } - if (EnhanceSkillLevel != 0) { - output.WriteRawTag(88); - output.WriteInt32(EnhanceSkillLevel); - } - if (EnhancePotentialId != 0) { - output.WriteRawTag(96); - output.WriteInt32(EnhancePotentialId); - } - if (EnhancePotentialLevel != 0) { - output.WriteRawTag(104); - output.WriteInt32(EnhancePotentialLevel); - } - if (Desc.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Icon); - } - if (Param1.Length != 0) { - output.WriteRawTag(130, 1); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(162, 1); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(178, 1); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(186, 1); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(194, 1); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(202, 1); - output.WriteString(Param10); - } - 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 (Index != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (SubType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubType); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (Nodes != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nodes); - } - size += effectId_.CalculateSize(_repeated_effectId_codec); - if (EnhanceSkillId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhanceSkillId); - } - if (EnhanceSkillLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhanceSkillLevel); - } - if (EnhancePotentialId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhancePotentialId); - } - if (EnhancePotentialLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhancePotentialLevel); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Param1.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (Param5.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); - } - if (Param6.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); - } - if (Param7.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); - } - if (Param8.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); - } - if (Param9.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); - } - if (Param10.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Talent other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Index != 0) { - Index = other.Index; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.SubType != 0) { - SubType = other.SubType; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - if (other.Nodes != 0) { - Nodes = other.Nodes; - } - effectId_.Add(other.effectId_); - if (other.EnhanceSkillId != 0) { - EnhanceSkillId = other.EnhanceSkillId; - } - if (other.EnhanceSkillLevel != 0) { - EnhanceSkillLevel = other.EnhanceSkillLevel; - } - if (other.EnhancePotentialId != 0) { - EnhancePotentialId = other.EnhancePotentialId; - } - if (other.EnhancePotentialLevel != 0) { - EnhancePotentialLevel = other.EnhancePotentialLevel; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - if (other.Param5.Length != 0) { - Param5 = other.Param5; - } - if (other.Param6.Length != 0) { - Param6 = other.Param6; - } - if (other.Param7.Length != 0) { - Param7 = other.Param7; - } - if (other.Param8.Length != 0) { - Param8 = other.Param8; - } - if (other.Param9.Length != 0) { - Param9 = other.Param9; - } - if (other.Param10.Length != 0) { - Param10 = other.Param10; - } - _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: { - Index = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 32: { - GroupId = input.ReadInt32(); - break; - } - case 40: { - Type = input.ReadInt32(); - break; - } - case 48: { - SubType = input.ReadInt32(); - break; - } - case 56: { - Sort = input.ReadInt32(); - break; - } - case 64: { - Nodes = input.ReadInt32(); - break; - } - case 74: - case 72: { - effectId_.AddEntriesFrom(input, _repeated_effectId_codec); - break; - } - case 80: { - EnhanceSkillId = input.ReadInt32(); - break; - } - case 88: { - EnhanceSkillLevel = input.ReadInt32(); - break; - } - case 96: { - EnhancePotentialId = input.ReadInt32(); - break; - } - case 104: { - EnhancePotentialLevel = input.ReadInt32(); - break; - } - case 114: { - Desc = input.ReadString(); - break; - } - case 122: { - Icon = input.ReadString(); - break; - } - case 130: { - Param1 = input.ReadString(); - break; - } - case 138: { - Param2 = input.ReadString(); - break; - } - case 146: { - Param3 = input.ReadString(); - break; - } - case 154: { - Param4 = input.ReadString(); - break; - } - case 162: { - Param5 = input.ReadString(); - break; - } - case 170: { - Param6 = input.ReadString(); - break; - } - case 178: { - Param7 = input.ReadString(); - break; - } - case 186: { - Param8 = input.ReadString(); - break; - } - case 194: { - Param9 = input.ReadString(); - break; - } - case 202: { - Param10 = 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: { - Index = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 32: { - GroupId = input.ReadInt32(); - break; - } - case 40: { - Type = input.ReadInt32(); - break; - } - case 48: { - SubType = input.ReadInt32(); - break; - } - case 56: { - Sort = input.ReadInt32(); - break; - } - case 64: { - Nodes = input.ReadInt32(); - break; - } - case 74: - case 72: { - effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); - break; - } - case 80: { - EnhanceSkillId = input.ReadInt32(); - break; - } - case 88: { - EnhanceSkillLevel = input.ReadInt32(); - break; - } - case 96: { - EnhancePotentialId = input.ReadInt32(); - break; - } - case 104: { - EnhancePotentialLevel = input.ReadInt32(); - break; - } - case 114: { - Desc = input.ReadString(); - break; - } - case 122: { - Icon = input.ReadString(); - break; - } - case 130: { - Param1 = input.ReadString(); - break; - } - case 138: { - Param2 = input.ReadString(); - break; - } - case 146: { - Param3 = input.ReadString(); - break; - } - case 154: { - Param4 = input.ReadString(); - break; - } - case 162: { - Param5 = input.ReadString(); - break; - } - case 170: { - Param6 = input.ReadString(); - break; - } - case 178: { - Param7 = input.ReadString(); - break; - } - case 186: { - Param8 = input.ReadString(); - break; - } - case 194: { - Param9 = input.ReadString(); - break; - } - case 202: { - Param10 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ContentWord.cs b/Novaria.Common/Protos/TalentNodeReset.cs similarity index 60% rename from Novaria.Common/Protos/ContentWord.cs rename to Novaria.Common/Protos/TalentNodeReset.cs index 141a094..22ddccb 100644 --- a/Novaria.Common/Protos/ContentWord.cs +++ b/Novaria.Common/Protos/TalentNodeReset.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ContentWord.proto +// source: talent_node_reset.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from ContentWord.proto</summary> - public static partial class ContentWordReflection { + /// <summary>Holder for reflection information generated from talent_node_reset.proto</summary> + public static partial class TalentNodeResetReflection { #region Descriptor - /// <summary>File descriptor for ContentWord.proto</summary> + /// <summary>File descriptor for talent_node_reset.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static ContentWordReflection() { + static TalentNodeResetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChFDb250ZW50V29yZC5wcm90byI9CgtDb250ZW50V29yZBIKCgJpZBgBIAEo", - "BRIUCgxwcmVzZXRfY29sb3IYAiABKAkSDAoEd29yZBgDIAEoCUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); + "Chd0YWxlbnRfbm9kZV9yZXNldC5wcm90bxIFcHJvdG8aDHB1YmxpYy5wcm90", + "byJkChNUYWxlbnROb2RlUmVzZXRSZXNwEhQKDFJlc2V0S2V5Tm9kZRgBIAEo", + "CBIhCgZDaGFuZ2UYAiABKAsyES5wcm90by5DaGFuZ2VJbmZvEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDFAAYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ContentWord), global::Nova.Client.ContentWord.Parser, new[]{ "Id", "PresetColor", "Word" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TalentNodeResetResp), global::Proto.TalentNodeResetResp.Parser, new[]{ "ResetKeyNode", "Change", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class ContentWord : pb::IMessage<ContentWord> + public sealed partial class TalentNodeResetResp : pb::IMessage<TalentNodeResetResp> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<ContentWord> _parser = new pb::MessageParser<ContentWord>(() => new ContentWord()); + private static readonly pb::MessageParser<TalentNodeResetResp> _parser = new pb::MessageParser<TalentNodeResetResp>(() => new TalentNodeResetResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<ContentWord> Parser { get { return _parser; } } + public static pb::MessageParser<TalentNodeResetResp> 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.ContentWordReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.TalentNodeResetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ContentWord() { + public TalentNodeResetResp() { OnConstruction(); } @@ -71,73 +72,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ContentWord(ContentWord other) : this() { - id_ = other.id_; - presetColor_ = other.presetColor_; - word_ = other.word_; + public TalentNodeResetResp(TalentNodeResetResp other) : this() { + resetKeyNode_ = other.resetKeyNode_; + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ContentWord Clone() { - return new ContentWord(this); + public TalentNodeResetResp Clone() { + return new TalentNodeResetResp(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "ResetKeyNode" field.</summary> + public const int ResetKeyNodeFieldNumber = 1; + private bool resetKeyNode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public bool ResetKeyNode { + get { return resetKeyNode_; } set { - id_ = value; + resetKeyNode_ = value; } } - /// <summary>Field number for the "preset_color" field.</summary> - public const int PresetColorFieldNumber = 2; - private string presetColor_ = ""; + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetColor { - get { return presetColor_; } + public global::Proto.ChangeInfo Change { + get { return change_; } set { - presetColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + change_ = value; } } - /// <summary>Field number for the "word" field.</summary> - public const int WordFieldNumber = 3; - private string word_ = ""; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Word { - get { return word_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - word_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 ContentWord); + return Equals(other as TalentNodeResetResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ContentWord other) { + public bool Equals(TalentNodeResetResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (PresetColor != other.PresetColor) return false; - if (Word != other.Word) return false; + if (ResetKeyNode != other.ResetKeyNode) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (PresetColor.Length != 0) hash ^= PresetColor.GetHashCode(); - if (Word.Length != 0) hash ^= Word.GetHashCode(); + if (ResetKeyNode != false) hash ^= ResetKeyNode.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (ResetKeyNode != false) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteBool(ResetKeyNode); } - if (PresetColor.Length != 0) { + if (change_ != null) { output.WriteRawTag(18); - output.WriteString(PresetColor); + output.WriteMessage(Change); } - if (Word.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Word); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (ResetKeyNode != false) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteBool(ResetKeyNode); } - if (PresetColor.Length != 0) { + if (change_ != null) { output.WriteRawTag(18); - output.WriteString(PresetColor); + output.WriteMessage(Change); } - if (Word.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Word); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (ResetKeyNode != false) { + size += 1 + 1; } - if (PresetColor.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetColor); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); } - if (Word.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Word); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +228,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ContentWord other) { + public void MergeFrom(TalentNodeResetResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.ResetKeyNode != false) { + ResetKeyNode = other.ResetKeyNode; } - if (other.PresetColor.Length != 0) { - PresetColor = other.PresetColor; + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); } - if (other.Word.Length != 0) { - Word = other.Word; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +264,18 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + ResetKeyNode = input.ReadBool(); break; } case 18: { - PresetColor = input.ReadString(); + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 26: { - Word = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +298,18 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + ResetKeyNode = input.ReadBool(); break; } case 18: { - PresetColor = input.ReadString(); + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); break; } - case 26: { - Word = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/PeriodicQuestGroup.cs b/Novaria.Common/Protos/TalentReset.cs similarity index 67% rename from Novaria.Common/Protos/PeriodicQuestGroup.cs rename to Novaria.Common/Protos/TalentReset.cs index 4c95142..03511d5 100644 --- a/Novaria.Common/Protos/PeriodicQuestGroup.cs +++ b/Novaria.Common/Protos/TalentReset.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PeriodicQuestGroup.proto +// source: talent_reset.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,28 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from PeriodicQuestGroup.proto</summary> - public static partial class PeriodicQuestGroupReflection { + /// <summary>Holder for reflection information generated from talent_reset.proto</summary> + public static partial class TalentResetReflection { #region Descriptor - /// <summary>File descriptor for PeriodicQuestGroup.proto</summary> + /// <summary>File descriptor for talent_reset.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static PeriodicQuestGroupReflection() { + static TalentResetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChhQZXJpb2RpY1F1ZXN0R3JvdXAucHJvdG8iSwoSUGVyaW9kaWNRdWVzdEdy", - "b3VwEg4KBmJlbG9uZxgBIAEoBRIQCghncm91cF9pZBgCIAEoBRITCgt1bmxv", - "Y2tfdGltZRgDIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "ChJ0YWxlbnRfcmVzZXQucHJvdG8SBXByb3RvGgxwdWJsaWMucHJvdG8iRwoO", + "VGFsZW50UmVzZXRSZXESDgoGQ2hhcklkGAEgASgNEg8KB0dyb3VwSWQYAiAB", + "KA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PeriodicQuestGroup), global::Nova.Client.PeriodicQuestGroup.Parser, new[]{ "Belong", "GroupId", "UnlockTime" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TalentResetReq), global::Proto.TalentResetReq.Parser, new[]{ "CharId", "GroupId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class PeriodicQuestGroup : pb::IMessage<PeriodicQuestGroup> + public sealed partial class TalentResetReq : pb::IMessage<TalentResetReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<PeriodicQuestGroup> _parser = new pb::MessageParser<PeriodicQuestGroup>(() => new PeriodicQuestGroup()); + private static readonly pb::MessageParser<TalentResetReq> _parser = new pb::MessageParser<TalentResetReq>(() => new TalentResetReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<PeriodicQuestGroup> Parser { get { return _parser; } } + public static pb::MessageParser<TalentResetReq> 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.PeriodicQuestGroupReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.TalentResetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuestGroup() { + public TalentResetReq() { OnConstruction(); } @@ -71,73 +71,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuestGroup(PeriodicQuestGroup other) : this() { - belong_ = other.belong_; + public TalentResetReq(TalentResetReq other) : this() { + charId_ = other.charId_; groupId_ = other.groupId_; - unlockTime_ = other.unlockTime_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PeriodicQuestGroup Clone() { - return new PeriodicQuestGroup(this); + public TalentResetReq Clone() { + return new TalentResetReq(this); } - /// <summary>Field number for the "belong" field.</summary> - public const int BelongFieldNumber = 1; - private int belong_; + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 1; + private uint charId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Belong { - get { return belong_; } + public uint CharId { + get { return charId_; } set { - belong_ = value; + charId_ = value; } } - /// <summary>Field number for the "group_id" field.</summary> + /// <summary>Field number for the "GroupId" field.</summary> public const int GroupIdFieldNumber = 2; - private int groupId_; + private uint groupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { + public uint GroupId { get { return groupId_; } set { groupId_ = value; } } - /// <summary>Field number for the "unlock_time" field.</summary> - public const int UnlockTimeFieldNumber = 3; - private int unlockTime_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockTime { - get { return unlockTime_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - unlockTime_ = value; + nextPackage_ = 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 PeriodicQuestGroup); + return Equals(other as TalentResetReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PeriodicQuestGroup other) { + public bool Equals(TalentResetReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Belong != other.Belong) return false; + if (CharId != other.CharId) return false; if (GroupId != other.GroupId) return false; - if (UnlockTime != other.UnlockTime) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -145,9 +145,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Belong != 0) hash ^= Belong.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); if (GroupId != 0) hash ^= GroupId.GetHashCode(); - if (UnlockTime != 0) hash ^= UnlockTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -166,17 +166,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Belong != 0) { + if (CharId != 0) { output.WriteRawTag(8); - output.WriteInt32(Belong); + output.WriteUInt32(CharId); } if (GroupId != 0) { output.WriteRawTag(16); - output.WriteInt32(GroupId); + output.WriteUInt32(GroupId); } - if (UnlockTime != 0) { - output.WriteRawTag(24); - output.WriteInt32(UnlockTime); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -188,17 +188,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Belong != 0) { + if (CharId != 0) { output.WriteRawTag(8); - output.WriteInt32(Belong); + output.WriteUInt32(CharId); } if (GroupId != 0) { output.WriteRawTag(16); - output.WriteInt32(GroupId); + output.WriteUInt32(GroupId); } - if (UnlockTime != 0) { - output.WriteRawTag(24); - output.WriteInt32(UnlockTime); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -210,14 +210,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Belong != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Belong); + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CharId); } if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId); } - if (UnlockTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockTime); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -227,18 +227,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PeriodicQuestGroup other) { + public void MergeFrom(TalentResetReq other) { if (other == null) { return; } - if (other.Belong != 0) { - Belong = other.Belong; + if (other.CharId != 0) { + CharId = other.CharId; } if (other.GroupId != 0) { GroupId = other.GroupId; } - if (other.UnlockTime != 0) { - UnlockTime = other.UnlockTime; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -260,15 +260,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Belong = input.ReadInt32(); + CharId = input.ReadUInt32(); break; } case 16: { - GroupId = input.ReadInt32(); + GroupId = input.ReadUInt32(); break; } - case 24: { - UnlockTime = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -291,15 +291,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Belong = input.ReadInt32(); + CharId = input.ReadUInt32(); break; } case 16: { - GroupId = input.ReadInt32(); + GroupId = input.ReadUInt32(); break; } - case 24: { - UnlockTime = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/TalentUnlock.cs b/Novaria.Common/Protos/TalentUnlock.cs new file mode 100644 index 0000000..2b2e651 --- /dev/null +++ b/Novaria.Common/Protos/TalentUnlock.cs @@ -0,0 +1,326 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: talent_unlock.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 Proto { + + /// <summary>Holder for reflection information generated from talent_unlock.proto</summary> + public static partial class TalentUnlockReflection { + + #region Descriptor + /// <summary>File descriptor for talent_unlock.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TalentUnlockReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChN0YWxlbnRfdW5sb2NrLnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIl0K", + "EFRhbGVudFVubG9ja1Jlc3ASIQoGQ2hhbmdlGAEgASgLMhEucHJvdG8uQ2hh", + "bmdlSW5mbxIQCghUYWxlbnRJZBgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyAB", + "KAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TalentUnlockResp), global::Proto.TalentUnlockResp.Parser, new[]{ "Change", "TalentId", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TalentUnlockResp : pb::IMessage<TalentUnlockResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TalentUnlockResp> _parser = new pb::MessageParser<TalentUnlockResp>(() => new TalentUnlockResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TalentUnlockResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TalentUnlockReflection.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 TalentUnlockResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TalentUnlockResp(TalentUnlockResp other) : this() { + change_ = other.change_ != null ? other.change_.Clone() : null; + talentId_ = other.talentId_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TalentUnlockResp Clone() { + return new TalentUnlockResp(this); + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 1; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "TalentId" field.</summary> + public const int TalentIdFieldNumber = 2; + private uint talentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TalentId { + get { return talentId_; } + set { + talentId_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TalentUnlockResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TalentUnlockResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Change, other.Change)) return false; + if (TalentId != other.TalentId) return false; + if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode(); + if (TalentId != 0) hash ^= TalentId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (TalentId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TalentId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Change); + } + if (TalentId != 0) { + output.WriteRawTag(16); + output.WriteUInt32(TalentId); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (TalentId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TalentId); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TalentUnlockResp other) { + if (other == null) { + return; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.TalentId != 0) { + TalentId = other.TalentId; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16: { + TalentId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16: { + TalentId = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/Title.cs b/Novaria.Common/Protos/Title.cs deleted file mode 100644 index 2a5226b..0000000 --- a/Novaria.Common/Protos/Title.cs +++ /dev/null @@ -1,390 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Title.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 Title.proto</summary> - public static partial class TitleReflection { - - #region Descriptor - /// <summary>File descriptor for Title.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TitleReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgtUaXRsZS5wcm90byJUCgVUaXRsZRIKCgJpZBgBIAEoBRIPCgdpdGVtX2lk", - "GAIgASgFEhIKCnRpdGxlX3R5cGUYAyABKAUSDAoEZGVzYxgEIAEoCRIMCgRz", - "b3J0GAUgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Title), global::Nova.Client.Title.Parser, new[]{ "Id", "ItemId", "TitleType", "Desc", "Sort" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Title : pb::IMessage<Title> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Title> _parser = new pb::MessageParser<Title>(() => new Title()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Title> 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.TitleReflection.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 Title() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Title(Title other) : this() { - id_ = other.id_; - itemId_ = other.itemId_; - titleType_ = other.titleType_; - desc_ = other.desc_; - sort_ = other.sort_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Title Clone() { - return new Title(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 "item_id" field.</summary> - public const int ItemIdFieldNumber = 2; - private int itemId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ItemId { - get { return itemId_; } - set { - itemId_ = value; - } - } - - /// <summary>Field number for the "title_type" field.</summary> - public const int TitleTypeFieldNumber = 3; - private int titleType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TitleType { - get { return titleType_; } - set { - titleType_ = value; - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 4; - 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 "sort" field.</summary> - public const int SortFieldNumber = 5; - private int sort_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sort { - get { return sort_; } - set { - sort_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Title); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Title other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (ItemId != other.ItemId) return false; - if (TitleType != other.TitleType) return false; - if (Desc != other.Desc) return false; - if (Sort != other.Sort) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); - if (TitleType != 0) hash ^= TitleType.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Sort != 0) hash ^= Sort.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 (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - if (TitleType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TitleType); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - 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 (ItemId != 0) { - output.WriteRawTag(16); - output.WriteInt32(ItemId); - } - if (TitleType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TitleType); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (Sort != 0) { - output.WriteRawTag(40); - output.WriteInt32(Sort); - } - 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 (ItemId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); - } - if (TitleType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleType); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Sort != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Title other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.ItemId != 0) { - ItemId = other.ItemId; - } - if (other.TitleType != 0) { - TitleType = other.TitleType; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Sort != 0) { - Sort = other.Sort; - } - _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: { - ItemId = input.ReadInt32(); - break; - } - case 24: { - TitleType = input.ReadInt32(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Sort = 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: { - ItemId = input.ReadInt32(); - break; - } - case 24: { - TitleType = input.ReadInt32(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - Sort = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TopBar.cs b/Novaria.Common/Protos/TopBar.cs deleted file mode 100644 index 96a71bb..0000000 --- a/Novaria.Common/Protos/TopBar.cs +++ /dev/null @@ -1,494 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TopBar.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 TopBar.proto</summary> - public static partial class TopBarReflection { - - #region Descriptor - /// <summary>File descriptor for TopBar.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TopBarReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxUb3BCYXIucHJvdG8ijwEKBlRvcEJhchIKCgJpZBgBIAEoCRINCgV0aXRs", - "ZRgCIAEoCRIQCghlbnRyeV9pZBgDIAEoBRIRCgloaWRlX2JhY2sYBCABKAgS", - "DgoGZW5lcmd5GAUgASgIEgwKBGNvaW4YBiABKAgSEAoIY29pbl9pZHMYByAD", - "KAUSFQoNaGlkZV9jb2luX2FkZBgIIAEoCEIOqgILTm92YS5DbGllbnRiBnBy", - "b3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TopBar), global::Nova.Client.TopBar.Parser, new[]{ "Id", "Title", "EntryId", "HideBack", "Energy", "Coin", "CoinIds", "HideCoinAdd" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TopBar : pb::IMessage<TopBar> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TopBar> _parser = new pb::MessageParser<TopBar>(() => new TopBar()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TopBar> 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.TopBarReflection.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 TopBar() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TopBar(TopBar other) : this() { - id_ = other.id_; - title_ = other.title_; - entryId_ = other.entryId_; - hideBack_ = other.hideBack_; - energy_ = other.energy_; - coin_ = other.coin_; - coinIds_ = other.coinIds_.Clone(); - hideCoinAdd_ = other.hideCoinAdd_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TopBar Clone() { - return new TopBar(this); - } - - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private string id_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "entry_id" field.</summary> - public const int EntryIdFieldNumber = 3; - private int entryId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EntryId { - get { return entryId_; } - set { - entryId_ = value; - } - } - - /// <summary>Field number for the "hide_back" field.</summary> - public const int HideBackFieldNumber = 4; - private bool hideBack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HideBack { - get { return hideBack_; } - set { - hideBack_ = value; - } - } - - /// <summary>Field number for the "energy" field.</summary> - public const int EnergyFieldNumber = 5; - private bool energy_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Energy { - get { return energy_; } - set { - energy_ = value; - } - } - - /// <summary>Field number for the "coin" field.</summary> - public const int CoinFieldNumber = 6; - private bool coin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Coin { - get { return coin_; } - set { - coin_ = value; - } - } - - /// <summary>Field number for the "coin_ids" field.</summary> - public const int CoinIdsFieldNumber = 7; - private static readonly pb::FieldCodec<int> _repeated_coinIds_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField<int> coinIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> CoinIds { - get { return coinIds_; } - } - - /// <summary>Field number for the "hide_coin_add" field.</summary> - public const int HideCoinAddFieldNumber = 8; - private bool hideCoinAdd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HideCoinAdd { - get { return hideCoinAdd_; } - set { - hideCoinAdd_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TopBar); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TopBar other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (EntryId != other.EntryId) return false; - if (HideBack != other.HideBack) return false; - if (Energy != other.Energy) return false; - if (Coin != other.Coin) return false; - if(!coinIds_.Equals(other.coinIds_)) return false; - if (HideCoinAdd != other.HideCoinAdd) 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.Length != 0) hash ^= Id.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (EntryId != 0) hash ^= EntryId.GetHashCode(); - if (HideBack != false) hash ^= HideBack.GetHashCode(); - if (Energy != false) hash ^= Energy.GetHashCode(); - if (Coin != false) hash ^= Coin.GetHashCode(); - hash ^= coinIds_.GetHashCode(); - if (HideCoinAdd != false) hash ^= HideCoinAdd.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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (EntryId != 0) { - output.WriteRawTag(24); - output.WriteInt32(EntryId); - } - if (HideBack != false) { - output.WriteRawTag(32); - output.WriteBool(HideBack); - } - if (Energy != false) { - output.WriteRawTag(40); - output.WriteBool(Energy); - } - if (Coin != false) { - output.WriteRawTag(48); - output.WriteBool(Coin); - } - coinIds_.WriteTo(output, _repeated_coinIds_codec); - if (HideCoinAdd != false) { - output.WriteRawTag(64); - output.WriteBool(HideCoinAdd); - } - 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.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (EntryId != 0) { - output.WriteRawTag(24); - output.WriteInt32(EntryId); - } - if (HideBack != false) { - output.WriteRawTag(32); - output.WriteBool(HideBack); - } - if (Energy != false) { - output.WriteRawTag(40); - output.WriteBool(Energy); - } - if (Coin != false) { - output.WriteRawTag(48); - output.WriteBool(Coin); - } - coinIds_.WriteTo(ref output, _repeated_coinIds_codec); - if (HideCoinAdd != false) { - output.WriteRawTag(64); - output.WriteBool(HideCoinAdd); - } - 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.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (EntryId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EntryId); - } - if (HideBack != false) { - size += 1 + 1; - } - if (Energy != false) { - size += 1 + 1; - } - if (Coin != false) { - size += 1 + 1; - } - size += coinIds_.CalculateSize(_repeated_coinIds_codec); - if (HideCoinAdd != 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(TopBar other) { - if (other == null) { - return; - } - if (other.Id.Length != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.EntryId != 0) { - EntryId = other.EntryId; - } - if (other.HideBack != false) { - HideBack = other.HideBack; - } - if (other.Energy != false) { - Energy = other.Energy; - } - if (other.Coin != false) { - Coin = other.Coin; - } - coinIds_.Add(other.coinIds_); - if (other.HideCoinAdd != false) { - HideCoinAdd = other.HideCoinAdd; - } - _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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Title = input.ReadString(); - break; - } - case 24: { - EntryId = input.ReadInt32(); - break; - } - case 32: { - HideBack = input.ReadBool(); - break; - } - case 40: { - Energy = input.ReadBool(); - break; - } - case 48: { - Coin = input.ReadBool(); - break; - } - case 58: - case 56: { - coinIds_.AddEntriesFrom(input, _repeated_coinIds_codec); - break; - } - case 64: { - HideCoinAdd = 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 10: { - Id = input.ReadString(); - break; - } - case 18: { - Title = input.ReadString(); - break; - } - case 24: { - EntryId = input.ReadInt32(); - break; - } - case 32: { - HideBack = input.ReadBool(); - break; - } - case 40: { - Energy = input.ReadBool(); - break; - } - case 48: { - Coin = input.ReadBool(); - break; - } - case 58: - case 56: { - coinIds_.AddEntriesFrom(ref input, _repeated_coinIds_codec); - break; - } - case 64: { - HideCoinAdd = input.ReadBool(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TourGuideQuest.cs b/Novaria.Common/Protos/TourGuideQuest.cs deleted file mode 100644 index 676f1ed..0000000 --- a/Novaria.Common/Protos/TourGuideQuest.cs +++ /dev/null @@ -1,578 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TourGuideQuest.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 TourGuideQuest.proto</summary> - public static partial class TourGuideQuestReflection { - - #region Descriptor - /// <summary>File descriptor for TourGuideQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TourGuideQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRUb3VyR3VpZGVRdWVzdC5wcm90byK9AQoOVG91ckd1aWRlUXVlc3QSCgoC", - "aWQYASABKAUSDQoFb3JkZXIYAiABKAUSDQoFdGl0bGUYAyABKAkSDwoHanVt", - "cF90bxgEIAEoBRIPCgdyZXdhcmQxGAUgASgFEhMKC3Jld2FyZF9xdHkxGAYg", - "ASgFEg8KB3Jld2FyZDIYByABKAUSEwoLcmV3YXJkX3F0eTIYCCABKAUSDwoH", - "cmV3YXJkMxgJIAEoBRITCgtyZXdhcmRfcXR5MxgKIAEoBUIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TourGuideQuest), global::Nova.Client.TourGuideQuest.Parser, new[]{ "Id", "Order", "Title", "JumpTo", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TourGuideQuest : pb::IMessage<TourGuideQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TourGuideQuest> _parser = new pb::MessageParser<TourGuideQuest>(() => new TourGuideQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TourGuideQuest> 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.TourGuideQuestReflection.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 TourGuideQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TourGuideQuest(TourGuideQuest other) : this() { - id_ = other.id_; - order_ = other.order_; - title_ = other.title_; - jumpTo_ = other.jumpTo_; - reward1_ = other.reward1_; - rewardQty1_ = other.rewardQty1_; - reward2_ = other.reward2_; - rewardQty2_ = other.rewardQty2_; - reward3_ = other.reward3_; - rewardQty3_ = other.rewardQty3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TourGuideQuest Clone() { - return new TourGuideQuest(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 "order" field.</summary> - public const int OrderFieldNumber = 2; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "jump_to" field.</summary> - public const int JumpToFieldNumber = 4; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// <summary>Field number for the "reward1" field.</summary> - public const int Reward1FieldNumber = 5; - private int reward1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward1 { - get { return reward1_; } - set { - reward1_ = value; - } - } - - /// <summary>Field number for the "reward_qty1" field.</summary> - public const int RewardQty1FieldNumber = 6; - private int rewardQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty1 { - get { return rewardQty1_; } - set { - rewardQty1_ = value; - } - } - - /// <summary>Field number for the "reward2" field.</summary> - public const int Reward2FieldNumber = 7; - private int reward2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward2 { - get { return reward2_; } - set { - reward2_ = value; - } - } - - /// <summary>Field number for the "reward_qty2" field.</summary> - public const int RewardQty2FieldNumber = 8; - private int rewardQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty2 { - get { return rewardQty2_; } - set { - rewardQty2_ = value; - } - } - - /// <summary>Field number for the "reward3" field.</summary> - public const int Reward3FieldNumber = 9; - private int reward3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward3 { - get { return reward3_; } - set { - reward3_ = value; - } - } - - /// <summary>Field number for the "reward_qty3" field.</summary> - public const int RewardQty3FieldNumber = 10; - private int rewardQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty3 { - get { return rewardQty3_; } - set { - rewardQty3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TourGuideQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TourGuideQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Order != other.Order) return false; - if (Title != other.Title) return false; - if (JumpTo != other.JumpTo) return false; - if (Reward1 != other.Reward1) return false; - if (RewardQty1 != other.RewardQty1) return false; - if (Reward2 != other.Reward2) return false; - if (RewardQty2 != other.RewardQty2) return false; - if (Reward3 != other.Reward3) return false; - if (RewardQty3 != other.RewardQty3) 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 (Order != 0) hash ^= Order.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Reward1 != 0) hash ^= Reward1.GetHashCode(); - if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); - if (Reward2 != 0) hash ^= Reward2.GetHashCode(); - if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); - if (Reward3 != 0) hash ^= Reward3.GetHashCode(); - if (RewardQty3 != 0) hash ^= RewardQty3.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 (Order != 0) { - output.WriteRawTag(16); - output.WriteInt32(Order); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Reward1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardQty3); - } - 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 (Order != 0) { - output.WriteRawTag(16); - output.WriteInt32(Order); - } - if (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Reward1 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(48); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(64); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardQty3); - } - 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 (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Reward1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); - } - if (RewardQty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); - } - if (Reward2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); - } - if (RewardQty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); - } - if (Reward3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); - } - if (RewardQty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TourGuideQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Reward1 != 0) { - Reward1 = other.Reward1; - } - if (other.RewardQty1 != 0) { - RewardQty1 = other.RewardQty1; - } - if (other.Reward2 != 0) { - Reward2 = other.Reward2; - } - if (other.RewardQty2 != 0) { - RewardQty2 = other.RewardQty2; - } - if (other.Reward3 != 0) { - Reward3 = other.Reward3; - } - if (other.RewardQty3 != 0) { - RewardQty3 = other.RewardQty3; - } - _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: { - Order = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Reward1 = input.ReadInt32(); - break; - } - case 48: { - RewardQty1 = input.ReadInt32(); - break; - } - case 56: { - Reward2 = input.ReadInt32(); - break; - } - case 64: { - RewardQty2 = input.ReadInt32(); - break; - } - case 72: { - Reward3 = input.ReadInt32(); - break; - } - case 80: { - RewardQty3 = 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: { - Order = input.ReadInt32(); - break; - } - case 26: { - Title = input.ReadString(); - break; - } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Reward1 = input.ReadInt32(); - break; - } - case 48: { - RewardQty1 = input.ReadInt32(); - break; - } - case 56: { - Reward2 = input.ReadInt32(); - break; - } - case 64: { - RewardQty2 = input.ReadInt32(); - break; - } - case 72: { - Reward3 = input.ReadInt32(); - break; - } - case 80: { - RewardQty3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TourGuideQuestGroup.cs b/Novaria.Common/Protos/TourGuideQuestGroup.cs deleted file mode 100644 index 2592738..0000000 --- a/Novaria.Common/Protos/TourGuideQuestGroup.cs +++ /dev/null @@ -1,728 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TourGuideQuestGroup.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 TourGuideQuestGroup.proto</summary> - public static partial class TourGuideQuestGroupReflection { - - #region Descriptor - /// <summary>File descriptor for TourGuideQuestGroup.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TourGuideQuestGroupReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlUb3VyR3VpZGVRdWVzdEdyb3VwLnByb3RvIpQCChNUb3VyR3VpZGVRdWVz", - "dEdyb3VwEgoKAmlkGAEgASgFEg0KBW9yZGVyGAIgASgFEg8KB3Jld2FyZDEY", - "AyABKAUSEwoLcmV3YXJkX3F0eTEYBCABKAUSDwoHcmV3YXJkMhgFIAEoBRIT", - "CgtyZXdhcmRfcXR5MhgGIAEoBRIPCgdyZXdhcmQzGAcgASgFEhMKC3Jld2Fy", - "ZF9xdHkzGAggASgFEg8KB3Jld2FyZDQYCSABKAUSEwoLcmV3YXJkX3F0eTQY", - "CiABKAUSDwoHcmV3YXJkNRgLIAEoBRITCgtyZXdhcmRfcXR5NRgMIAEoBRIP", - "CgdyZXdhcmQ2GA0gASgFEhMKC3Jld2FyZF9xdHk2GA4gASgFQg6qAgtOb3Zh", - "LkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TourGuideQuestGroup), global::Nova.Client.TourGuideQuestGroup.Parser, new[]{ "Id", "Order", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3", "Reward4", "RewardQty4", "Reward5", "RewardQty5", "Reward6", "RewardQty6" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TourGuideQuestGroup : pb::IMessage<TourGuideQuestGroup> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TourGuideQuestGroup> _parser = new pb::MessageParser<TourGuideQuestGroup>(() => new TourGuideQuestGroup()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TourGuideQuestGroup> 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.TourGuideQuestGroupReflection.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 TourGuideQuestGroup() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TourGuideQuestGroup(TourGuideQuestGroup other) : this() { - id_ = other.id_; - order_ = other.order_; - reward1_ = other.reward1_; - rewardQty1_ = other.rewardQty1_; - reward2_ = other.reward2_; - rewardQty2_ = other.rewardQty2_; - reward3_ = other.reward3_; - rewardQty3_ = other.rewardQty3_; - reward4_ = other.reward4_; - rewardQty4_ = other.rewardQty4_; - reward5_ = other.reward5_; - rewardQty5_ = other.rewardQty5_; - reward6_ = other.reward6_; - rewardQty6_ = other.rewardQty6_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TourGuideQuestGroup Clone() { - return new TourGuideQuestGroup(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 "order" field.</summary> - public const int OrderFieldNumber = 2; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// <summary>Field number for the "reward1" field.</summary> - public const int Reward1FieldNumber = 3; - private int reward1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward1 { - get { return reward1_; } - set { - reward1_ = value; - } - } - - /// <summary>Field number for the "reward_qty1" field.</summary> - public const int RewardQty1FieldNumber = 4; - private int rewardQty1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty1 { - get { return rewardQty1_; } - set { - rewardQty1_ = value; - } - } - - /// <summary>Field number for the "reward2" field.</summary> - public const int Reward2FieldNumber = 5; - private int reward2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward2 { - get { return reward2_; } - set { - reward2_ = value; - } - } - - /// <summary>Field number for the "reward_qty2" field.</summary> - public const int RewardQty2FieldNumber = 6; - private int rewardQty2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty2 { - get { return rewardQty2_; } - set { - rewardQty2_ = value; - } - } - - /// <summary>Field number for the "reward3" field.</summary> - public const int Reward3FieldNumber = 7; - private int reward3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward3 { - get { return reward3_; } - set { - reward3_ = value; - } - } - - /// <summary>Field number for the "reward_qty3" field.</summary> - public const int RewardQty3FieldNumber = 8; - private int rewardQty3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty3 { - get { return rewardQty3_; } - set { - rewardQty3_ = value; - } - } - - /// <summary>Field number for the "reward4" field.</summary> - public const int Reward4FieldNumber = 9; - private int reward4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward4 { - get { return reward4_; } - set { - reward4_ = value; - } - } - - /// <summary>Field number for the "reward_qty4" field.</summary> - public const int RewardQty4FieldNumber = 10; - private int rewardQty4_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty4 { - get { return rewardQty4_; } - set { - rewardQty4_ = value; - } - } - - /// <summary>Field number for the "reward5" field.</summary> - public const int Reward5FieldNumber = 11; - private int reward5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward5 { - get { return reward5_; } - set { - reward5_ = value; - } - } - - /// <summary>Field number for the "reward_qty5" field.</summary> - public const int RewardQty5FieldNumber = 12; - private int rewardQty5_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty5 { - get { return rewardQty5_; } - set { - rewardQty5_ = value; - } - } - - /// <summary>Field number for the "reward6" field.</summary> - public const int Reward6FieldNumber = 13; - private int reward6_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Reward6 { - get { return reward6_; } - set { - reward6_ = value; - } - } - - /// <summary>Field number for the "reward_qty6" field.</summary> - public const int RewardQty6FieldNumber = 14; - private int rewardQty6_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardQty6 { - get { return rewardQty6_; } - set { - rewardQty6_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TourGuideQuestGroup); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TourGuideQuestGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Order != other.Order) return false; - if (Reward1 != other.Reward1) return false; - if (RewardQty1 != other.RewardQty1) return false; - if (Reward2 != other.Reward2) return false; - if (RewardQty2 != other.RewardQty2) return false; - if (Reward3 != other.Reward3) return false; - if (RewardQty3 != other.RewardQty3) return false; - if (Reward4 != other.Reward4) return false; - if (RewardQty4 != other.RewardQty4) return false; - if (Reward5 != other.Reward5) return false; - if (RewardQty5 != other.RewardQty5) return false; - if (Reward6 != other.Reward6) return false; - if (RewardQty6 != other.RewardQty6) 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 (Order != 0) hash ^= Order.GetHashCode(); - if (Reward1 != 0) hash ^= Reward1.GetHashCode(); - if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); - if (Reward2 != 0) hash ^= Reward2.GetHashCode(); - if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); - if (Reward3 != 0) hash ^= Reward3.GetHashCode(); - if (RewardQty3 != 0) hash ^= RewardQty3.GetHashCode(); - if (Reward4 != 0) hash ^= Reward4.GetHashCode(); - if (RewardQty4 != 0) hash ^= RewardQty4.GetHashCode(); - if (Reward5 != 0) hash ^= Reward5.GetHashCode(); - if (RewardQty5 != 0) hash ^= RewardQty5.GetHashCode(); - if (Reward6 != 0) hash ^= Reward6.GetHashCode(); - if (RewardQty6 != 0) hash ^= RewardQty6.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 (Order != 0) { - output.WriteRawTag(16); - output.WriteInt32(Order); - } - if (Reward1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(RewardQty3); - } - if (Reward4 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Reward4); - } - if (RewardQty4 != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardQty4); - } - if (Reward5 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Reward5); - } - if (RewardQty5 != 0) { - output.WriteRawTag(96); - output.WriteInt32(RewardQty5); - } - if (Reward6 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Reward6); - } - if (RewardQty6 != 0) { - output.WriteRawTag(112); - output.WriteInt32(RewardQty6); - } - 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 (Order != 0) { - output.WriteRawTag(16); - output.WriteInt32(Order); - } - if (Reward1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(Reward1); - } - if (RewardQty1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(RewardQty1); - } - if (Reward2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(Reward2); - } - if (RewardQty2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(RewardQty2); - } - if (Reward3 != 0) { - output.WriteRawTag(56); - output.WriteInt32(Reward3); - } - if (RewardQty3 != 0) { - output.WriteRawTag(64); - output.WriteInt32(RewardQty3); - } - if (Reward4 != 0) { - output.WriteRawTag(72); - output.WriteInt32(Reward4); - } - if (RewardQty4 != 0) { - output.WriteRawTag(80); - output.WriteInt32(RewardQty4); - } - if (Reward5 != 0) { - output.WriteRawTag(88); - output.WriteInt32(Reward5); - } - if (RewardQty5 != 0) { - output.WriteRawTag(96); - output.WriteInt32(RewardQty5); - } - if (Reward6 != 0) { - output.WriteRawTag(104); - output.WriteInt32(Reward6); - } - if (RewardQty6 != 0) { - output.WriteRawTag(112); - output.WriteInt32(RewardQty6); - } - 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 (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (Reward1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); - } - if (RewardQty1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); - } - if (Reward2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); - } - if (RewardQty2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); - } - if (Reward3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); - } - if (RewardQty3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); - } - if (Reward4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward4); - } - if (RewardQty4 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty4); - } - if (Reward5 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward5); - } - if (RewardQty5 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty5); - } - if (Reward6 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward6); - } - if (RewardQty6 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty6); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TourGuideQuestGroup other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.Reward1 != 0) { - Reward1 = other.Reward1; - } - if (other.RewardQty1 != 0) { - RewardQty1 = other.RewardQty1; - } - if (other.Reward2 != 0) { - Reward2 = other.Reward2; - } - if (other.RewardQty2 != 0) { - RewardQty2 = other.RewardQty2; - } - if (other.Reward3 != 0) { - Reward3 = other.Reward3; - } - if (other.RewardQty3 != 0) { - RewardQty3 = other.RewardQty3; - } - if (other.Reward4 != 0) { - Reward4 = other.Reward4; - } - if (other.RewardQty4 != 0) { - RewardQty4 = other.RewardQty4; - } - if (other.Reward5 != 0) { - Reward5 = other.Reward5; - } - if (other.RewardQty5 != 0) { - RewardQty5 = other.RewardQty5; - } - if (other.Reward6 != 0) { - Reward6 = other.Reward6; - } - if (other.RewardQty6 != 0) { - RewardQty6 = other.RewardQty6; - } - _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: { - Order = input.ReadInt32(); - break; - } - case 24: { - Reward1 = input.ReadInt32(); - break; - } - case 32: { - RewardQty1 = input.ReadInt32(); - break; - } - case 40: { - Reward2 = input.ReadInt32(); - break; - } - case 48: { - RewardQty2 = input.ReadInt32(); - break; - } - case 56: { - Reward3 = input.ReadInt32(); - break; - } - case 64: { - RewardQty3 = input.ReadInt32(); - break; - } - case 72: { - Reward4 = input.ReadInt32(); - break; - } - case 80: { - RewardQty4 = input.ReadInt32(); - break; - } - case 88: { - Reward5 = input.ReadInt32(); - break; - } - case 96: { - RewardQty5 = input.ReadInt32(); - break; - } - case 104: { - Reward6 = input.ReadInt32(); - break; - } - case 112: { - RewardQty6 = 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: { - Order = input.ReadInt32(); - break; - } - case 24: { - Reward1 = input.ReadInt32(); - break; - } - case 32: { - RewardQty1 = input.ReadInt32(); - break; - } - case 40: { - Reward2 = input.ReadInt32(); - break; - } - case 48: { - RewardQty2 = input.ReadInt32(); - break; - } - case 56: { - Reward3 = input.ReadInt32(); - break; - } - case 64: { - RewardQty3 = input.ReadInt32(); - break; - } - case 72: { - Reward4 = input.ReadInt32(); - break; - } - case 80: { - RewardQty4 = input.ReadInt32(); - break; - } - case 88: { - Reward5 = input.ReadInt32(); - break; - } - case 96: { - RewardQty5 = input.ReadInt32(); - break; - } - case 104: { - Reward6 = input.ReadInt32(); - break; - } - case 112: { - RewardQty6 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireEnemySpAttr.cs b/Novaria.Common/Protos/TowerBookFateCardDetail.cs similarity index 59% rename from Novaria.Common/Protos/VampireEnemySpAttr.cs rename to Novaria.Common/Protos/TowerBookFateCardDetail.cs index 9e0fa07..f1f7083 100644 --- a/Novaria.Common/Protos/VampireEnemySpAttr.cs +++ b/Novaria.Common/Protos/TowerBookFateCardDetail.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireEnemySpAttr.proto +// source: tower_book_fate_card_detail.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from VampireEnemySpAttr.proto</summary> - public static partial class VampireEnemySpAttrReflection { + /// <summary>Holder for reflection information generated from tower_book_fate_card_detail.proto</summary> + public static partial class TowerBookFateCardDetailReflection { #region Descriptor - /// <summary>File descriptor for VampireEnemySpAttr.proto</summary> + /// <summary>File descriptor for tower_book_fate_card_detail.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static VampireEnemySpAttrReflection() { + static TowerBookFateCardDetailReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChhWYW1waXJlRW5lbXlTcEF0dHIucHJvdG8iTAoSVmFtcGlyZUVuZW15U3BB", - "dHRyEgoKAmlkGAEgASgFEhQKDHJlZl9kaXN0YW5jZRgCIAMoBRIUCgxyZWZf", - "aW50ZXJ2YWwYAyADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "CiF0b3dlcl9ib29rX2ZhdGVfY2FyZF9kZXRhaWwucHJvdG8SBXByb3RvGgxw", + "dWJsaWMucHJvdG8iUgobVG93ZXJCb29rRmF0ZUNhcmREZXRhaWxSZXNwEg0K", + "BUNhcmRzGAEgAygNEg4KBlF1ZXN0cxgCIAMoDRIUCgtOZXh0UGFja2FnZRj/", + "DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireEnemySpAttr), global::Nova.Client.VampireEnemySpAttr.Parser, new[]{ "Id", "RefDistance", "RefInterval" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBookFateCardDetailResp), global::Proto.TowerBookFateCardDetailResp.Parser, new[]{ "Cards", "Quests", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireEnemySpAttr : pb::IMessage<VampireEnemySpAttr> + public sealed partial class TowerBookFateCardDetailResp : pb::IMessage<TowerBookFateCardDetailResp> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<VampireEnemySpAttr> _parser = new pb::MessageParser<VampireEnemySpAttr>(() => new VampireEnemySpAttr()); + private static readonly pb::MessageParser<TowerBookFateCardDetailResp> _parser = new pb::MessageParser<TowerBookFateCardDetailResp>(() => new TowerBookFateCardDetailResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireEnemySpAttr> Parser { get { return _parser; } } + public static pb::MessageParser<TowerBookFateCardDetailResp> 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.VampireEnemySpAttrReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.TowerBookFateCardDetailReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemySpAttr() { + public TowerBookFateCardDetailResp() { OnConstruction(); } @@ -71,71 +72,71 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemySpAttr(VampireEnemySpAttr other) : this() { - id_ = other.id_; - refDistance_ = other.refDistance_.Clone(); - refInterval_ = other.refInterval_.Clone(); + public TowerBookFateCardDetailResp(TowerBookFateCardDetailResp other) : this() { + cards_ = other.cards_.Clone(); + quests_ = other.quests_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemySpAttr Clone() { - return new VampireEnemySpAttr(this); + public TowerBookFateCardDetailResp Clone() { + return new TowerBookFateCardDetailResp(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "Cards" field.</summary> + public const int CardsFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_cards_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> cards_ = new pbc::RepeatedField<uint>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField<uint> Cards { + get { return cards_; } + } + + /// <summary>Field number for the "Quests" field.</summary> + public const int QuestsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_quests_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> quests_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> Quests { + get { return quests_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - id_ = value; + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// <summary>Field number for the "ref_distance" field.</summary> - public const int RefDistanceFieldNumber = 2; - private static readonly pb::FieldCodec<int> _repeated_refDistance_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField<int> refDistance_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> RefDistance { - get { return refDistance_; } - } - - /// <summary>Field number for the "ref_interval" field.</summary> - public const int RefIntervalFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_refInterval_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> refInterval_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> RefInterval { - get { return refInterval_; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as VampireEnemySpAttr); + return Equals(other as TowerBookFateCardDetailResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireEnemySpAttr other) { + public bool Equals(TowerBookFateCardDetailResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if(!refDistance_.Equals(other.refDistance_)) return false; - if(!refInterval_.Equals(other.refInterval_)) return false; + if(!cards_.Equals(other.cards_)) return false; + if(!quests_.Equals(other.quests_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -143,9 +144,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - hash ^= refDistance_.GetHashCode(); - hash ^= refInterval_.GetHashCode(); + hash ^= cards_.GetHashCode(); + hash ^= quests_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -164,12 +165,12 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + cards_.WriteTo(output, _repeated_cards_codec); + quests_.WriteTo(output, _repeated_quests_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - refDistance_.WriteTo(output, _repeated_refDistance_codec); - refInterval_.WriteTo(output, _repeated_refInterval_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -180,12 +181,12 @@ namespace Nova.Client { [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); + cards_.WriteTo(ref output, _repeated_cards_codec); + quests_.WriteTo(ref output, _repeated_quests_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - refDistance_.WriteTo(ref output, _repeated_refDistance_codec); - refInterval_.WriteTo(ref output, _repeated_refInterval_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -196,11 +197,11 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += cards_.CalculateSize(_repeated_cards_codec); + size += quests_.CalculateSize(_repeated_quests_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - size += refDistance_.CalculateSize(_repeated_refDistance_codec); - size += refInterval_.CalculateSize(_repeated_refInterval_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -209,15 +210,15 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireEnemySpAttr other) { + public void MergeFrom(TowerBookFateCardDetailResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + cards_.Add(other.cards_); + quests_.Add(other.quests_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } - refDistance_.Add(other.refDistance_); - refInterval_.Add(other.refInterval_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -237,18 +238,18 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + cards_.AddEntriesFrom(input, _repeated_cards_codec); break; } case 18: case 16: { - refDistance_.AddEntriesFrom(input, _repeated_refDistance_codec); + quests_.AddEntriesFrom(input, _repeated_quests_codec); break; } - case 26: - case 24: { - refInterval_.AddEntriesFrom(input, _repeated_refInterval_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -270,18 +271,18 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + cards_.AddEntriesFrom(ref input, _repeated_cards_codec); break; } case 18: case 16: { - refDistance_.AddEntriesFrom(ref input, _repeated_refDistance_codec); + quests_.AddEntriesFrom(ref input, _repeated_quests_codec); break; } - case 26: - case 24: { - refInterval_.AddEntriesFrom(ref input, _repeated_refInterval_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/BattlePassLevel.cs b/Novaria.Common/Protos/TowerBookFateCardRewardReceive.cs similarity index 60% rename from Novaria.Common/Protos/BattlePassLevel.cs rename to Novaria.Common/Protos/TowerBookFateCardRewardReceive.cs index a35a826..49535e9 100644 --- a/Novaria.Common/Protos/BattlePassLevel.cs +++ b/Novaria.Common/Protos/TowerBookFateCardRewardReceive.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: BattlePassLevel.proto +// source: tower_book_fate_card_reward_receive.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from BattlePassLevel.proto</summary> - public static partial class BattlePassLevelReflection { + /// <summary>Holder for reflection information generated from tower_book_fate_card_reward_receive.proto</summary> + public static partial class TowerBookFateCardRewardReceiveReflection { #region Descriptor - /// <summary>File descriptor for BattlePassLevel.proto</summary> + /// <summary>File descriptor for tower_book_fate_card_reward_receive.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static BattlePassLevelReflection() { + static TowerBookFateCardRewardReceiveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChVCYXR0bGVQYXNzTGV2ZWwucHJvdG8iRQoPQmF0dGxlUGFzc0xldmVsEgsK", - "A2lfZBgBIAEoBRILCgNleHAYAiABKAUSCwoDdGlkGAMgASgFEgsKA3F0eRgE", - "IAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "Cil0b3dlcl9ib29rX2ZhdGVfY2FyZF9yZXdhcmRfcmVjZWl2ZS5wcm90bxIF", + "cHJvdG8aDHB1YmxpYy5wcm90byJZChpUb3dlckJvb2tGYXRlQ2FyZFJld2Fy", + "ZFJlcRIUCgxDYXJkQnVuZGxlSWQYASABKA0SDwoHUXVlc3RJZBgCIAEoDRIU", + "CgtOZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePassLevel), global::Nova.Client.BattlePassLevel.Parser, new[]{ "ID", "Exp", "Tid", "Qty" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerBookFateCardRewardReq), global::Proto.TowerBookFateCardRewardReq.Parser, new[]{ "CardBundleId", "QuestId", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class BattlePassLevel : pb::IMessage<BattlePassLevel> + public sealed partial class TowerBookFateCardRewardReq : pb::IMessage<TowerBookFateCardRewardReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<BattlePassLevel> _parser = new pb::MessageParser<BattlePassLevel>(() => new BattlePassLevel()); + private static readonly pb::MessageParser<TowerBookFateCardRewardReq> _parser = new pb::MessageParser<TowerBookFateCardRewardReq>(() => new TowerBookFateCardRewardReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<BattlePassLevel> Parser { get { return _parser; } } + public static pb::MessageParser<TowerBookFateCardRewardReq> 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.BattlePassLevelReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.TowerBookFateCardRewardReceiveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassLevel() { + public TowerBookFateCardRewardReq() { OnConstruction(); } @@ -71,87 +72,73 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassLevel(BattlePassLevel other) : this() { - iD_ = other.iD_; - exp_ = other.exp_; - tid_ = other.tid_; - qty_ = other.qty_; + public TowerBookFateCardRewardReq(TowerBookFateCardRewardReq other) : this() { + cardBundleId_ = other.cardBundleId_; + questId_ = other.questId_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public BattlePassLevel Clone() { - return new BattlePassLevel(this); + public TowerBookFateCardRewardReq Clone() { + return new TowerBookFateCardRewardReq(this); } - /// <summary>Field number for the "i_d" field.</summary> - public const int IDFieldNumber = 1; - private int iD_; + /// <summary>Field number for the "CardBundleId" field.</summary> + public const int CardBundleIdFieldNumber = 1; + private uint cardBundleId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ID { - get { return iD_; } + public uint CardBundleId { + get { return cardBundleId_; } set { - iD_ = value; + cardBundleId_ = value; } } - /// <summary>Field number for the "exp" field.</summary> - public const int ExpFieldNumber = 2; - private int exp_; + /// <summary>Field number for the "QuestId" field.</summary> + public const int QuestIdFieldNumber = 2; + private uint questId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } + public uint QuestId { + get { return questId_; } set { - exp_ = value; + questId_ = value; } } - /// <summary>Field number for the "tid" field.</summary> - public const int TidFieldNumber = 3; - private int tid_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Tid { - get { return tid_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - tid_ = value; - } - } - - /// <summary>Field number for the "qty" field.</summary> - public const int QtyFieldNumber = 4; - private int qty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Qty { - get { return qty_; } - set { - qty_ = value; + nextPackage_ = 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 BattlePassLevel); + return Equals(other as TowerBookFateCardRewardReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(BattlePassLevel other) { + public bool Equals(TowerBookFateCardRewardReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (ID != other.ID) return false; - if (Exp != other.Exp) return false; - if (Tid != other.Tid) return false; - if (Qty != other.Qty) return false; + if (CardBundleId != other.CardBundleId) return false; + if (QuestId != other.QuestId) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -159,10 +146,9 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (ID != 0) hash ^= ID.GetHashCode(); - if (Exp != 0) hash ^= Exp.GetHashCode(); - if (Tid != 0) hash ^= Tid.GetHashCode(); - if (Qty != 0) hash ^= Qty.GetHashCode(); + if (CardBundleId != 0) hash ^= CardBundleId.GetHashCode(); + if (QuestId != 0) hash ^= QuestId.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -181,21 +167,17 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (ID != 0) { + if (CardBundleId != 0) { output.WriteRawTag(8); - output.WriteInt32(ID); + output.WriteUInt32(CardBundleId); } - if (Exp != 0) { + if (QuestId != 0) { output.WriteRawTag(16); - output.WriteInt32(Exp); + output.WriteUInt32(QuestId); } - if (Tid != 0) { - output.WriteRawTag(24); - output.WriteInt32(Tid); - } - if (Qty != 0) { - output.WriteRawTag(32); - output.WriteInt32(Qty); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -207,21 +189,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (ID != 0) { + if (CardBundleId != 0) { output.WriteRawTag(8); - output.WriteInt32(ID); + output.WriteUInt32(CardBundleId); } - if (Exp != 0) { + if (QuestId != 0) { output.WriteRawTag(16); - output.WriteInt32(Exp); + output.WriteUInt32(QuestId); } - if (Tid != 0) { - output.WriteRawTag(24); - output.WriteInt32(Tid); - } - if (Qty != 0) { - output.WriteRawTag(32); - output.WriteInt32(Qty); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -233,17 +211,14 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (ID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ID); + if (CardBundleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CardBundleId); } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + if (QuestId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(QuestId); } - if (Tid != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid); - } - if (Qty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -253,21 +228,18 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(BattlePassLevel other) { + public void MergeFrom(TowerBookFateCardRewardReq other) { if (other == null) { return; } - if (other.ID != 0) { - ID = other.ID; + if (other.CardBundleId != 0) { + CardBundleId = other.CardBundleId; } - if (other.Exp != 0) { - Exp = other.Exp; + if (other.QuestId != 0) { + QuestId = other.QuestId; } - if (other.Tid != 0) { - Tid = other.Tid; - } - if (other.Qty != 0) { - Qty = other.Qty; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,19 +261,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - ID = input.ReadInt32(); + CardBundleId = input.ReadUInt32(); break; } case 16: { - Exp = input.ReadInt32(); + QuestId = input.ReadUInt32(); break; } - case 24: { - Tid = input.ReadInt32(); - break; - } - case 32: { - Qty = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,19 +292,15 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - ID = input.ReadInt32(); + CardBundleId = input.ReadUInt32(); break; } case 16: { - Exp = input.ReadInt32(); + QuestId = input.ReadUInt32(); break; } - case 24: { - Tid = input.ReadInt32(); - break; - } - case 32: { - Qty = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/SkillDamage.cs b/Novaria.Common/Protos/TowerGrowthDetail.cs similarity index 64% rename from Novaria.Common/Protos/SkillDamage.cs rename to Novaria.Common/Protos/TowerGrowthDetail.cs index 6a2fd6c..24e6788 100644 --- a/Novaria.Common/Protos/SkillDamage.cs +++ b/Novaria.Common/Protos/TowerGrowthDetail.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SkillDamage.proto +// source: tower_growth_detail.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,27 +9,28 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from SkillDamage.proto</summary> - public static partial class SkillDamageReflection { + /// <summary>Holder for reflection information generated from tower_growth_detail.proto</summary> + public static partial class TowerGrowthDetailReflection { #region Descriptor - /// <summary>File descriptor for SkillDamage.proto</summary> + /// <summary>File descriptor for tower_growth_detail.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static SkillDamageReflection() { + static TowerGrowthDetailReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChFTa2lsbERhbWFnZS5wcm90byItCgtTa2lsbERhbWFnZRIKCgJpZBgBIAEo", - "BRISCgpsX3ZfZGFtYWdlGAIgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); + "Chl0b3dlcl9ncm93dGhfZGV0YWlsLnByb3RvEgVwcm90bxoMcHVibGljLnBy", + "b3RvIj0KFVRvd2VyR3Jvd3RoRGV0YWlsUmVzcBIOCgZEZXRhaWwYASADKA0S", + "FAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.SkillDamage), global::Nova.Client.SkillDamage.Parser, new[]{ "Id", "LVDamage" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TowerGrowthDetailResp), global::Proto.TowerGrowthDetailResp.Parser, new[]{ "Detail", "NextPackage" }, null, null, null, null) })); } #endregion @@ -37,21 +38,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class SkillDamage : pb::IMessage<SkillDamage> + public sealed partial class TowerGrowthDetailResp : pb::IMessage<TowerGrowthDetailResp> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<SkillDamage> _parser = new pb::MessageParser<SkillDamage>(() => new SkillDamage()); + private static readonly pb::MessageParser<TowerGrowthDetailResp> _parser = new pb::MessageParser<TowerGrowthDetailResp>(() => new TowerGrowthDetailResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<SkillDamage> Parser { get { return _parser; } } + public static pb::MessageParser<TowerGrowthDetailResp> 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.SkillDamageReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.TowerGrowthDetailReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -62,7 +63,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SkillDamage() { + public TowerGrowthDetailResp() { OnConstruction(); } @@ -70,58 +71,58 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SkillDamage(SkillDamage other) : this() { - id_ = other.id_; - lVDamage_ = other.lVDamage_.Clone(); + public TowerGrowthDetailResp(TowerGrowthDetailResp other) : this() { + detail_ = other.detail_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SkillDamage Clone() { - return new SkillDamage(this); + public TowerGrowthDetailResp Clone() { + return new TowerGrowthDetailResp(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "Detail" field.</summary> + public const int DetailFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_detail_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> detail_ = new pbc::RepeatedField<uint>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField<uint> Detail { + get { return detail_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - id_ = value; + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// <summary>Field number for the "l_v_damage" field.</summary> - public const int LVDamageFieldNumber = 2; - private static readonly pb::FieldCodec<int> _repeated_lVDamage_codec - = pb::FieldCodec.ForInt32(18); - private readonly pbc::RepeatedField<int> lVDamage_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> LVDamage { - get { return lVDamage_; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as SkillDamage); + return Equals(other as TowerGrowthDetailResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SkillDamage other) { + public bool Equals(TowerGrowthDetailResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if(!lVDamage_.Equals(other.lVDamage_)) return false; + if(!detail_.Equals(other.detail_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -129,8 +130,8 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - hash ^= lVDamage_.GetHashCode(); + hash ^= detail_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -149,11 +150,11 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + detail_.WriteTo(output, _repeated_detail_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - lVDamage_.WriteTo(output, _repeated_lVDamage_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -164,11 +165,11 @@ namespace Nova.Client { [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); + detail_.WriteTo(ref output, _repeated_detail_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } - lVDamage_.WriteTo(ref output, _repeated_lVDamage_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -179,10 +180,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += detail_.CalculateSize(_repeated_detail_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } - size += lVDamage_.CalculateSize(_repeated_lVDamage_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -191,14 +192,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SkillDamage other) { + public void MergeFrom(TowerGrowthDetailResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + detail_.Add(other.detail_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } - lVDamage_.Add(other.lVDamage_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -218,13 +219,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + detail_.AddEntriesFrom(input, _repeated_detail_codec); break; } - case 18: - case 16: { - lVDamage_.AddEntriesFrom(input, _repeated_lVDamage_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -246,13 +247,13 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + detail_.AddEntriesFrom(ref input, _repeated_detail_codec); break; } - case 18: - case 16: { - lVDamage_.AddEntriesFrom(ref input, _repeated_lVDamage_codec); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/TowerGrowthNodeUnlock.cs b/Novaria.Common/Protos/TowerGrowthNodeUnlock.cs new file mode 100644 index 0000000..75a63f3 --- /dev/null +++ b/Novaria.Common/Protos/TowerGrowthNodeUnlock.cs @@ -0,0 +1,38 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: tower_growth_node_unlock.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 Proto { + + /// <summary>Holder for reflection information generated from tower_growth_node_unlock.proto</summary> + public static partial class TowerGrowthNodeUnlockReflection { + + #region Descriptor + /// <summary>File descriptor for tower_growth_node_unlock.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TowerGrowthNodeUnlockReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch50b3dlcl9ncm93dGhfbm9kZV91bmxvY2sucHJvdG8SBXByb3RvGgxwdWJs", + "aWMucHJvdG9QAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/Trap.cs b/Novaria.Common/Protos/Trap.cs deleted file mode 100644 index 159dd15..0000000 --- a/Novaria.Common/Protos/Trap.cs +++ /dev/null @@ -1,1318 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Trap.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 Trap.proto</summary> - public static partial class TrapReflection { - - #region Descriptor - /// <summary>File descriptor for Trap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TrapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpUcmFwLnByb3RvIs4ECgRUcmFwEgoKAmlkGAEgASgFEgwKBG5hbWUYAiAB", - "KAkSDgoGZl9jX2lkGAMgASgFEg0KBW1vZGVsGAQgASgJEhMKC21vZGVsX3Nj", - "YWxlGAUgASgFEhYKDmJ1ZmZfZl94X3NjYWxlGAYgASgFEhYKDmNvbGxpZGVy", - "X3NjYWxlGAcgASgFEhQKDGF0dHJpYnV0ZV9pZBgIIAEoCRIQCgh0ZW1wbGV0", - "ZRgJIAEoBRIQCghidWZmX2lkcxgKIAMoBRIZChF0dXJuX29mZl9idWZmX2lk", - "cxgLIAMoBRIYChB0dXJuX29uX2J1ZmZfaWRzGAwgAygFEhcKD2ludGVycnVw", - "dF9za2lsbBgNIAEoCBIQCghzdWJfdHlwZRgOIAEoBRIPCgdmYWN0aW9uGA8g", - "ASgFEg4KBmZpbHRlchgQIAMoBRIYChBpZ25vcmVfY29sbGlzaW9uGBEgASgI", - "EhIKCmFjdGl2ZV9lZmYYEiABKAkSEgoKc2hhcGVfdHlwZRgTIAEoBRINCgV3", - "aWR0aBgUIAEoAhIOCgZsZW5ndGgYFSABKAISDgoGcmFkaXVzGBYgASgCEhQK", - "DGlubmVyX3JhZGl1cxgXIAEoAhINCgVhbmdsZRgYIAEoAhIOCgZvZmZzZXQY", - "GSADKAISEAoIcm90YXRpb24YGiABKAISDwoHaXNfbW92ZRgbIAEoCBIQCghp", - "c19ibG9jaxgcIAEoCBIPCgdtb3ZfYWNjGB0gASgFEg8KB3JvdF9zcGQYHiAB", - "KAUSEAoIbW92ZV9zcGQYHyABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Trap), global::Nova.Client.Trap.Parser, new[]{ "Id", "Name", "FCId", "Model", "ModelScale", "BuffFXScale", "ColliderScale", "AttributeId", "Templete", "BuffIds", "TurnOffBuffIds", "TurnOnBuffIds", "InterruptSkill", "SubType", "Faction", "Filter", "IgnoreCollision", "ActiveEff", "ShapeType", "Width", "Length", "Radius", "InnerRadius", "Angle", "Offset", "Rotation", "IsMove", "IsBlock", "MovAcc", "RotSpd", "MoveSpd" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Trap : pb::IMessage<Trap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Trap> _parser = new pb::MessageParser<Trap>(() => new Trap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Trap> 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.TrapReflection.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 Trap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Trap(Trap other) : this() { - id_ = other.id_; - name_ = other.name_; - fCId_ = other.fCId_; - model_ = other.model_; - modelScale_ = other.modelScale_; - buffFXScale_ = other.buffFXScale_; - colliderScale_ = other.colliderScale_; - attributeId_ = other.attributeId_; - templete_ = other.templete_; - buffIds_ = other.buffIds_.Clone(); - turnOffBuffIds_ = other.turnOffBuffIds_.Clone(); - turnOnBuffIds_ = other.turnOnBuffIds_.Clone(); - interruptSkill_ = other.interruptSkill_; - subType_ = other.subType_; - faction_ = other.faction_; - filter_ = other.filter_.Clone(); - ignoreCollision_ = other.ignoreCollision_; - activeEff_ = other.activeEff_; - shapeType_ = other.shapeType_; - width_ = other.width_; - length_ = other.length_; - radius_ = other.radius_; - innerRadius_ = other.innerRadius_; - angle_ = other.angle_; - offset_ = other.offset_.Clone(); - rotation_ = other.rotation_; - isMove_ = other.isMove_; - isBlock_ = other.isBlock_; - movAcc_ = other.movAcc_; - rotSpd_ = other.rotSpd_; - moveSpd_ = other.moveSpd_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Trap Clone() { - return new Trap(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 "f_c_id" field.</summary> - public const int FCIdFieldNumber = 3; - private int fCId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FCId { - get { return fCId_; } - set { - fCId_ = value; - } - } - - /// <summary>Field number for the "model" field.</summary> - public const int ModelFieldNumber = 4; - private string model_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Model { - get { return model_; } - set { - model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "model_scale" field.</summary> - public const int ModelScaleFieldNumber = 5; - private int modelScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ModelScale { - get { return modelScale_; } - set { - modelScale_ = value; - } - } - - /// <summary>Field number for the "buff_f_x_scale" field.</summary> - public const int BuffFXScaleFieldNumber = 6; - private int buffFXScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffFXScale { - get { return buffFXScale_; } - set { - buffFXScale_ = value; - } - } - - /// <summary>Field number for the "collider_scale" field.</summary> - public const int ColliderScaleFieldNumber = 7; - private int colliderScale_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ColliderScale { - get { return colliderScale_; } - set { - colliderScale_ = value; - } - } - - /// <summary>Field number for the "attribute_id" field.</summary> - public const int AttributeIdFieldNumber = 8; - private string attributeId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AttributeId { - get { return attributeId_; } - set { - attributeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "templete" field.</summary> - public const int TempleteFieldNumber = 9; - private int templete_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Templete { - get { return templete_; } - set { - templete_ = value; - } - } - - /// <summary>Field number for the "buff_ids" field.</summary> - public const int BuffIdsFieldNumber = 10; - private static readonly pb::FieldCodec<int> _repeated_buffIds_codec - = pb::FieldCodec.ForInt32(82); - private readonly pbc::RepeatedField<int> buffIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> BuffIds { - get { return buffIds_; } - } - - /// <summary>Field number for the "turn_off_buff_ids" field.</summary> - public const int TurnOffBuffIdsFieldNumber = 11; - private static readonly pb::FieldCodec<int> _repeated_turnOffBuffIds_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField<int> turnOffBuffIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> TurnOffBuffIds { - get { return turnOffBuffIds_; } - } - - /// <summary>Field number for the "turn_on_buff_ids" field.</summary> - public const int TurnOnBuffIdsFieldNumber = 12; - private static readonly pb::FieldCodec<int> _repeated_turnOnBuffIds_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField<int> turnOnBuffIds_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> TurnOnBuffIds { - get { return turnOnBuffIds_; } - } - - /// <summary>Field number for the "interrupt_skill" field.</summary> - public const int InterruptSkillFieldNumber = 13; - private bool interruptSkill_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool InterruptSkill { - get { return interruptSkill_; } - set { - interruptSkill_ = value; - } - } - - /// <summary>Field number for the "sub_type" field.</summary> - public const int SubTypeFieldNumber = 14; - private int subType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SubType { - get { return subType_; } - set { - subType_ = value; - } - } - - /// <summary>Field number for the "faction" field.</summary> - public const int FactionFieldNumber = 15; - private int faction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Faction { - get { return faction_; } - set { - faction_ = value; - } - } - - /// <summary>Field number for the "filter" field.</summary> - public const int FilterFieldNumber = 16; - private static readonly pb::FieldCodec<int> _repeated_filter_codec - = pb::FieldCodec.ForInt32(130); - private readonly pbc::RepeatedField<int> filter_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Filter { - get { return filter_; } - } - - /// <summary>Field number for the "ignore_collision" field.</summary> - public const int IgnoreCollisionFieldNumber = 17; - private bool ignoreCollision_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IgnoreCollision { - get { return ignoreCollision_; } - set { - ignoreCollision_ = value; - } - } - - /// <summary>Field number for the "active_eff" field.</summary> - public const int ActiveEffFieldNumber = 18; - private string activeEff_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ActiveEff { - get { return activeEff_; } - set { - activeEff_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "shape_type" field.</summary> - public const int ShapeTypeFieldNumber = 19; - private int shapeType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ShapeType { - get { return shapeType_; } - set { - shapeType_ = value; - } - } - - /// <summary>Field number for the "width" field.</summary> - public const int WidthFieldNumber = 20; - private float width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Width { - get { return width_; } - set { - width_ = value; - } - } - - /// <summary>Field number for the "length" field.</summary> - public const int LengthFieldNumber = 21; - private float length_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Length { - get { return length_; } - set { - length_ = value; - } - } - - /// <summary>Field number for the "radius" field.</summary> - public const int RadiusFieldNumber = 22; - private float radius_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Radius { - get { return radius_; } - set { - radius_ = value; - } - } - - /// <summary>Field number for the "inner_radius" field.</summary> - public const int InnerRadiusFieldNumber = 23; - private float innerRadius_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float InnerRadius { - get { return innerRadius_; } - set { - innerRadius_ = value; - } - } - - /// <summary>Field number for the "angle" field.</summary> - public const int AngleFieldNumber = 24; - private float angle_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Angle { - get { return angle_; } - set { - angle_ = value; - } - } - - /// <summary>Field number for the "offset" field.</summary> - public const int OffsetFieldNumber = 25; - private static readonly pb::FieldCodec<float> _repeated_offset_codec - = pb::FieldCodec.ForFloat(202); - private readonly pbc::RepeatedField<float> offset_ = new pbc::RepeatedField<float>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<float> Offset { - get { return offset_; } - } - - /// <summary>Field number for the "rotation" field.</summary> - public const int RotationFieldNumber = 26; - private float rotation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Rotation { - get { return rotation_; } - set { - rotation_ = value; - } - } - - /// <summary>Field number for the "is_move" field.</summary> - public const int IsMoveFieldNumber = 27; - private bool isMove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsMove { - get { return isMove_; } - set { - isMove_ = value; - } - } - - /// <summary>Field number for the "is_block" field.</summary> - public const int IsBlockFieldNumber = 28; - private bool isBlock_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsBlock { - get { return isBlock_; } - set { - isBlock_ = value; - } - } - - /// <summary>Field number for the "mov_acc" field.</summary> - public const int MovAccFieldNumber = 29; - private int movAcc_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MovAcc { - get { return movAcc_; } - set { - movAcc_ = value; - } - } - - /// <summary>Field number for the "rot_spd" field.</summary> - public const int RotSpdFieldNumber = 30; - private int rotSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RotSpd { - get { return rotSpd_; } - set { - rotSpd_ = value; - } - } - - /// <summary>Field number for the "move_spd" field.</summary> - public const int MoveSpdFieldNumber = 31; - private int moveSpd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MoveSpd { - get { return moveSpd_; } - set { - moveSpd_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Trap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Trap 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 (FCId != other.FCId) return false; - if (Model != other.Model) return false; - if (ModelScale != other.ModelScale) return false; - if (BuffFXScale != other.BuffFXScale) return false; - if (ColliderScale != other.ColliderScale) return false; - if (AttributeId != other.AttributeId) return false; - if (Templete != other.Templete) return false; - if(!buffIds_.Equals(other.buffIds_)) return false; - if(!turnOffBuffIds_.Equals(other.turnOffBuffIds_)) return false; - if(!turnOnBuffIds_.Equals(other.turnOnBuffIds_)) return false; - if (InterruptSkill != other.InterruptSkill) return false; - if (SubType != other.SubType) return false; - if (Faction != other.Faction) return false; - if(!filter_.Equals(other.filter_)) return false; - if (IgnoreCollision != other.IgnoreCollision) return false; - if (ActiveEff != other.ActiveEff) return false; - if (ShapeType != other.ShapeType) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Length, other.Length)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Radius, other.Radius)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(InnerRadius, other.InnerRadius)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Angle, other.Angle)) return false; - if(!offset_.Equals(other.offset_)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Rotation, other.Rotation)) return false; - if (IsMove != other.IsMove) return false; - if (IsBlock != other.IsBlock) return false; - if (MovAcc != other.MovAcc) return false; - if (RotSpd != other.RotSpd) return false; - if (MoveSpd != other.MoveSpd) 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 (FCId != 0) hash ^= FCId.GetHashCode(); - if (Model.Length != 0) hash ^= Model.GetHashCode(); - if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); - if (BuffFXScale != 0) hash ^= BuffFXScale.GetHashCode(); - if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode(); - if (AttributeId.Length != 0) hash ^= AttributeId.GetHashCode(); - if (Templete != 0) hash ^= Templete.GetHashCode(); - hash ^= buffIds_.GetHashCode(); - hash ^= turnOffBuffIds_.GetHashCode(); - hash ^= turnOnBuffIds_.GetHashCode(); - if (InterruptSkill != false) hash ^= InterruptSkill.GetHashCode(); - if (SubType != 0) hash ^= SubType.GetHashCode(); - if (Faction != 0) hash ^= Faction.GetHashCode(); - hash ^= filter_.GetHashCode(); - if (IgnoreCollision != false) hash ^= IgnoreCollision.GetHashCode(); - if (ActiveEff.Length != 0) hash ^= ActiveEff.GetHashCode(); - if (ShapeType != 0) hash ^= ShapeType.GetHashCode(); - if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); - if (Length != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Length); - if (Radius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Radius); - if (InnerRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(InnerRadius); - if (Angle != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Angle); - hash ^= offset_.GetHashCode(); - if (Rotation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Rotation); - if (IsMove != false) hash ^= IsMove.GetHashCode(); - if (IsBlock != false) hash ^= IsBlock.GetHashCode(); - if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); - if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); - if (MoveSpd != 0) hash ^= MoveSpd.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 (FCId != 0) { - output.WriteRawTag(24); - output.WriteInt32(FCId); - } - if (Model.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Model); - } - if (ModelScale != 0) { - output.WriteRawTag(40); - output.WriteInt32(ModelScale); - } - if (BuffFXScale != 0) { - output.WriteRawTag(48); - output.WriteInt32(BuffFXScale); - } - if (ColliderScale != 0) { - output.WriteRawTag(56); - output.WriteInt32(ColliderScale); - } - if (AttributeId.Length != 0) { - output.WriteRawTag(66); - output.WriteString(AttributeId); - } - if (Templete != 0) { - output.WriteRawTag(72); - output.WriteInt32(Templete); - } - buffIds_.WriteTo(output, _repeated_buffIds_codec); - turnOffBuffIds_.WriteTo(output, _repeated_turnOffBuffIds_codec); - turnOnBuffIds_.WriteTo(output, _repeated_turnOnBuffIds_codec); - if (InterruptSkill != false) { - output.WriteRawTag(104); - output.WriteBool(InterruptSkill); - } - if (SubType != 0) { - output.WriteRawTag(112); - output.WriteInt32(SubType); - } - if (Faction != 0) { - output.WriteRawTag(120); - output.WriteInt32(Faction); - } - filter_.WriteTo(output, _repeated_filter_codec); - if (IgnoreCollision != false) { - output.WriteRawTag(136, 1); - output.WriteBool(IgnoreCollision); - } - if (ActiveEff.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(ActiveEff); - } - if (ShapeType != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ShapeType); - } - if (Width != 0F) { - output.WriteRawTag(165, 1); - output.WriteFloat(Width); - } - if (Length != 0F) { - output.WriteRawTag(173, 1); - output.WriteFloat(Length); - } - if (Radius != 0F) { - output.WriteRawTag(181, 1); - output.WriteFloat(Radius); - } - if (InnerRadius != 0F) { - output.WriteRawTag(189, 1); - output.WriteFloat(InnerRadius); - } - if (Angle != 0F) { - output.WriteRawTag(197, 1); - output.WriteFloat(Angle); - } - offset_.WriteTo(output, _repeated_offset_codec); - if (Rotation != 0F) { - output.WriteRawTag(213, 1); - output.WriteFloat(Rotation); - } - if (IsMove != false) { - output.WriteRawTag(216, 1); - output.WriteBool(IsMove); - } - if (IsBlock != false) { - output.WriteRawTag(224, 1); - output.WriteBool(IsBlock); - } - if (MovAcc != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(MovAcc); - } - if (RotSpd != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(RotSpd); - } - if (MoveSpd != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(MoveSpd); - } - 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 (FCId != 0) { - output.WriteRawTag(24); - output.WriteInt32(FCId); - } - if (Model.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Model); - } - if (ModelScale != 0) { - output.WriteRawTag(40); - output.WriteInt32(ModelScale); - } - if (BuffFXScale != 0) { - output.WriteRawTag(48); - output.WriteInt32(BuffFXScale); - } - if (ColliderScale != 0) { - output.WriteRawTag(56); - output.WriteInt32(ColliderScale); - } - if (AttributeId.Length != 0) { - output.WriteRawTag(66); - output.WriteString(AttributeId); - } - if (Templete != 0) { - output.WriteRawTag(72); - output.WriteInt32(Templete); - } - buffIds_.WriteTo(ref output, _repeated_buffIds_codec); - turnOffBuffIds_.WriteTo(ref output, _repeated_turnOffBuffIds_codec); - turnOnBuffIds_.WriteTo(ref output, _repeated_turnOnBuffIds_codec); - if (InterruptSkill != false) { - output.WriteRawTag(104); - output.WriteBool(InterruptSkill); - } - if (SubType != 0) { - output.WriteRawTag(112); - output.WriteInt32(SubType); - } - if (Faction != 0) { - output.WriteRawTag(120); - output.WriteInt32(Faction); - } - filter_.WriteTo(ref output, _repeated_filter_codec); - if (IgnoreCollision != false) { - output.WriteRawTag(136, 1); - output.WriteBool(IgnoreCollision); - } - if (ActiveEff.Length != 0) { - output.WriteRawTag(146, 1); - output.WriteString(ActiveEff); - } - if (ShapeType != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(ShapeType); - } - if (Width != 0F) { - output.WriteRawTag(165, 1); - output.WriteFloat(Width); - } - if (Length != 0F) { - output.WriteRawTag(173, 1); - output.WriteFloat(Length); - } - if (Radius != 0F) { - output.WriteRawTag(181, 1); - output.WriteFloat(Radius); - } - if (InnerRadius != 0F) { - output.WriteRawTag(189, 1); - output.WriteFloat(InnerRadius); - } - if (Angle != 0F) { - output.WriteRawTag(197, 1); - output.WriteFloat(Angle); - } - offset_.WriteTo(ref output, _repeated_offset_codec); - if (Rotation != 0F) { - output.WriteRawTag(213, 1); - output.WriteFloat(Rotation); - } - if (IsMove != false) { - output.WriteRawTag(216, 1); - output.WriteBool(IsMove); - } - if (IsBlock != false) { - output.WriteRawTag(224, 1); - output.WriteBool(IsBlock); - } - if (MovAcc != 0) { - output.WriteRawTag(232, 1); - output.WriteInt32(MovAcc); - } - if (RotSpd != 0) { - output.WriteRawTag(240, 1); - output.WriteInt32(RotSpd); - } - if (MoveSpd != 0) { - output.WriteRawTag(248, 1); - output.WriteInt32(MoveSpd); - } - 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 (FCId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FCId); - } - if (Model.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); - } - if (ModelScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); - } - if (BuffFXScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffFXScale); - } - if (ColliderScale != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale); - } - if (AttributeId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeId); - } - if (Templete != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Templete); - } - size += buffIds_.CalculateSize(_repeated_buffIds_codec); - size += turnOffBuffIds_.CalculateSize(_repeated_turnOffBuffIds_codec); - size += turnOnBuffIds_.CalculateSize(_repeated_turnOnBuffIds_codec); - if (InterruptSkill != false) { - size += 1 + 1; - } - if (SubType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubType); - } - if (Faction != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Faction); - } - size += filter_.CalculateSize(_repeated_filter_codec); - if (IgnoreCollision != false) { - size += 2 + 1; - } - if (ActiveEff.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(ActiveEff); - } - if (ShapeType != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ShapeType); - } - if (Width != 0F) { - size += 2 + 4; - } - if (Length != 0F) { - size += 2 + 4; - } - if (Radius != 0F) { - size += 2 + 4; - } - if (InnerRadius != 0F) { - size += 2 + 4; - } - if (Angle != 0F) { - size += 2 + 4; - } - size += offset_.CalculateSize(_repeated_offset_codec); - if (Rotation != 0F) { - size += 2 + 4; - } - if (IsMove != false) { - size += 2 + 1; - } - if (IsBlock != false) { - size += 2 + 1; - } - if (MovAcc != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); - } - if (RotSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); - } - if (MoveSpd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpd); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Trap other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.FCId != 0) { - FCId = other.FCId; - } - if (other.Model.Length != 0) { - Model = other.Model; - } - if (other.ModelScale != 0) { - ModelScale = other.ModelScale; - } - if (other.BuffFXScale != 0) { - BuffFXScale = other.BuffFXScale; - } - if (other.ColliderScale != 0) { - ColliderScale = other.ColliderScale; - } - if (other.AttributeId.Length != 0) { - AttributeId = other.AttributeId; - } - if (other.Templete != 0) { - Templete = other.Templete; - } - buffIds_.Add(other.buffIds_); - turnOffBuffIds_.Add(other.turnOffBuffIds_); - turnOnBuffIds_.Add(other.turnOnBuffIds_); - if (other.InterruptSkill != false) { - InterruptSkill = other.InterruptSkill; - } - if (other.SubType != 0) { - SubType = other.SubType; - } - if (other.Faction != 0) { - Faction = other.Faction; - } - filter_.Add(other.filter_); - if (other.IgnoreCollision != false) { - IgnoreCollision = other.IgnoreCollision; - } - if (other.ActiveEff.Length != 0) { - ActiveEff = other.ActiveEff; - } - if (other.ShapeType != 0) { - ShapeType = other.ShapeType; - } - if (other.Width != 0F) { - Width = other.Width; - } - if (other.Length != 0F) { - Length = other.Length; - } - if (other.Radius != 0F) { - Radius = other.Radius; - } - if (other.InnerRadius != 0F) { - InnerRadius = other.InnerRadius; - } - if (other.Angle != 0F) { - Angle = other.Angle; - } - offset_.Add(other.offset_); - if (other.Rotation != 0F) { - Rotation = other.Rotation; - } - if (other.IsMove != false) { - IsMove = other.IsMove; - } - if (other.IsBlock != false) { - IsBlock = other.IsBlock; - } - if (other.MovAcc != 0) { - MovAcc = other.MovAcc; - } - if (other.RotSpd != 0) { - RotSpd = other.RotSpd; - } - if (other.MoveSpd != 0) { - MoveSpd = other.MoveSpd; - } - _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: { - FCId = input.ReadInt32(); - break; - } - case 34: { - Model = input.ReadString(); - break; - } - case 40: { - ModelScale = input.ReadInt32(); - break; - } - case 48: { - BuffFXScale = input.ReadInt32(); - break; - } - case 56: { - ColliderScale = input.ReadInt32(); - break; - } - case 66: { - AttributeId = input.ReadString(); - break; - } - case 72: { - Templete = input.ReadInt32(); - break; - } - case 82: - case 80: { - buffIds_.AddEntriesFrom(input, _repeated_buffIds_codec); - break; - } - case 90: - case 88: { - turnOffBuffIds_.AddEntriesFrom(input, _repeated_turnOffBuffIds_codec); - break; - } - case 98: - case 96: { - turnOnBuffIds_.AddEntriesFrom(input, _repeated_turnOnBuffIds_codec); - break; - } - case 104: { - InterruptSkill = input.ReadBool(); - break; - } - case 112: { - SubType = input.ReadInt32(); - break; - } - case 120: { - Faction = input.ReadInt32(); - break; - } - case 130: - case 128: { - filter_.AddEntriesFrom(input, _repeated_filter_codec); - break; - } - case 136: { - IgnoreCollision = input.ReadBool(); - break; - } - case 146: { - ActiveEff = input.ReadString(); - break; - } - case 152: { - ShapeType = input.ReadInt32(); - break; - } - case 165: { - Width = input.ReadFloat(); - break; - } - case 173: { - Length = input.ReadFloat(); - break; - } - case 181: { - Radius = input.ReadFloat(); - break; - } - case 189: { - InnerRadius = input.ReadFloat(); - break; - } - case 197: { - Angle = input.ReadFloat(); - break; - } - case 202: - case 205: { - offset_.AddEntriesFrom(input, _repeated_offset_codec); - break; - } - case 213: { - Rotation = input.ReadFloat(); - break; - } - case 216: { - IsMove = input.ReadBool(); - break; - } - case 224: { - IsBlock = input.ReadBool(); - break; - } - case 232: { - MovAcc = input.ReadInt32(); - break; - } - case 240: { - RotSpd = input.ReadInt32(); - break; - } - case 248: { - MoveSpd = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - FCId = input.ReadInt32(); - break; - } - case 34: { - Model = input.ReadString(); - break; - } - case 40: { - ModelScale = input.ReadInt32(); - break; - } - case 48: { - BuffFXScale = input.ReadInt32(); - break; - } - case 56: { - ColliderScale = input.ReadInt32(); - break; - } - case 66: { - AttributeId = input.ReadString(); - break; - } - case 72: { - Templete = input.ReadInt32(); - break; - } - case 82: - case 80: { - buffIds_.AddEntriesFrom(ref input, _repeated_buffIds_codec); - break; - } - case 90: - case 88: { - turnOffBuffIds_.AddEntriesFrom(ref input, _repeated_turnOffBuffIds_codec); - break; - } - case 98: - case 96: { - turnOnBuffIds_.AddEntriesFrom(ref input, _repeated_turnOnBuffIds_codec); - break; - } - case 104: { - InterruptSkill = input.ReadBool(); - break; - } - case 112: { - SubType = input.ReadInt32(); - break; - } - case 120: { - Faction = input.ReadInt32(); - break; - } - case 130: - case 128: { - filter_.AddEntriesFrom(ref input, _repeated_filter_codec); - break; - } - case 136: { - IgnoreCollision = input.ReadBool(); - break; - } - case 146: { - ActiveEff = input.ReadString(); - break; - } - case 152: { - ShapeType = input.ReadInt32(); - break; - } - case 165: { - Width = input.ReadFloat(); - break; - } - case 173: { - Length = input.ReadFloat(); - break; - } - case 181: { - Radius = input.ReadFloat(); - break; - } - case 189: { - InnerRadius = input.ReadFloat(); - break; - } - case 197: { - Angle = input.ReadFloat(); - break; - } - case 202: - case 205: { - offset_.AddEntriesFrom(ref input, _repeated_offset_codec); - break; - } - case 213: { - Rotation = input.ReadFloat(); - break; - } - case 216: { - IsMove = input.ReadBool(); - break; - } - case 224: { - IsBlock = input.ReadBool(); - break; - } - case 232: { - MovAcc = input.ReadInt32(); - break; - } - case 240: { - RotSpd = input.ReadInt32(); - break; - } - case 248: { - MoveSpd = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TrapAttribute.cs b/Novaria.Common/Protos/TrapAttribute.cs deleted file mode 100644 index 569cc21..0000000 --- a/Novaria.Common/Protos/TrapAttribute.cs +++ /dev/null @@ -1,335 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TrapAttribute.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 TrapAttribute.proto</summary> - public static partial class TrapAttributeReflection { - - #region Descriptor - /// <summary>File descriptor for TrapAttribute.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TrapAttributeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNUcmFwQXR0cmlidXRlLnByb3RvIlIKDVRyYXBBdHRyaWJ1dGUSCgoCaWQY", - "ASABKAUSDwoHdHJpZ2dlchgCIAEoCBIUCgx0cmlnZ2VyX2lfZHMYAyADKAUS", - "DgoGZmlsdGVyGAQgAygFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrapAttribute), global::Nova.Client.TrapAttribute.Parser, new[]{ "Id", "Trigger", "TriggerIDs", "Filter" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TrapAttribute : pb::IMessage<TrapAttribute> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TrapAttribute> _parser = new pb::MessageParser<TrapAttribute>(() => new TrapAttribute()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TrapAttribute> 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.TrapAttributeReflection.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 TrapAttribute() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrapAttribute(TrapAttribute other) : this() { - id_ = other.id_; - trigger_ = other.trigger_; - triggerIDs_ = other.triggerIDs_.Clone(); - filter_ = other.filter_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrapAttribute Clone() { - return new TrapAttribute(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 "trigger" field.</summary> - public const int TriggerFieldNumber = 2; - private bool trigger_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Trigger { - get { return trigger_; } - set { - trigger_ = value; - } - } - - /// <summary>Field number for the "trigger_i_ds" field.</summary> - public const int TriggerIDsFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_triggerIDs_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> triggerIDs_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> TriggerIDs { - get { return triggerIDs_; } - } - - /// <summary>Field number for the "filter" field.</summary> - public const int FilterFieldNumber = 4; - private static readonly pb::FieldCodec<int> _repeated_filter_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField<int> filter_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Filter { - get { return filter_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TrapAttribute); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TrapAttribute other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Trigger != other.Trigger) return false; - if(!triggerIDs_.Equals(other.triggerIDs_)) return false; - if(!filter_.Equals(other.filter_)) 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 (Trigger != false) hash ^= Trigger.GetHashCode(); - hash ^= triggerIDs_.GetHashCode(); - hash ^= filter_.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 (Trigger != false) { - output.WriteRawTag(16); - output.WriteBool(Trigger); - } - triggerIDs_.WriteTo(output, _repeated_triggerIDs_codec); - filter_.WriteTo(output, _repeated_filter_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 (Trigger != false) { - output.WriteRawTag(16); - output.WriteBool(Trigger); - } - triggerIDs_.WriteTo(ref output, _repeated_triggerIDs_codec); - filter_.WriteTo(ref output, _repeated_filter_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 (Trigger != false) { - size += 1 + 1; - } - size += triggerIDs_.CalculateSize(_repeated_triggerIDs_codec); - size += filter_.CalculateSize(_repeated_filter_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TrapAttribute other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Trigger != false) { - Trigger = other.Trigger; - } - triggerIDs_.Add(other.triggerIDs_); - filter_.Add(other.filter_); - _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: { - Trigger = input.ReadBool(); - break; - } - case 26: - case 24: { - triggerIDs_.AddEntriesFrom(input, _repeated_triggerIDs_codec); - break; - } - case 34: - case 32: { - filter_.AddEntriesFrom(input, _repeated_filter_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: { - Trigger = input.ReadBool(); - break; - } - case 26: - case 24: { - triggerIDs_.AddEntriesFrom(ref input, _repeated_triggerIDs_codec); - break; - } - case 34: - case 32: { - filter_.AddEntriesFrom(ref input, _repeated_filter_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelBoss.cs b/Novaria.Common/Protos/TravelerDuelBoss.cs deleted file mode 100644 index 805754d..0000000 --- a/Novaria.Common/Protos/TravelerDuelBoss.cs +++ /dev/null @@ -1,457 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelBoss.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 TravelerDuelBoss.proto</summary> - public static partial class TravelerDuelBossReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelBoss.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelBossReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZUcmF2ZWxlckR1ZWxCb3NzLnByb3RvIpEBChBUcmF2ZWxlckR1ZWxCb3Nz", - "EgoKAmlkGAEgASgFEgwKBG5hbWUYAiABKAkSHwoXdHJhdmVsZXJfZHVlbF9i", - "b3NzX3R5cGUYAyABKAUSDwoHZXBpc29kZRgEIAEoCRINCgVpbWFnZRgFIAEo", - "CRINCgVjb3ZlchgGIAEoCRITCgtzaG93X3Jld2FyZBgHIAMoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelBoss), global::Nova.Client.TravelerDuelBoss.Parser, new[]{ "Id", "Name", "TravelerDuelBossType", "Episode", "Image", "Cover", "ShowReward" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelBoss : pb::IMessage<TravelerDuelBoss> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelBoss> _parser = new pb::MessageParser<TravelerDuelBoss>(() => new TravelerDuelBoss()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelBoss> 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.TravelerDuelBossReflection.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 TravelerDuelBoss() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelBoss(TravelerDuelBoss other) : this() { - id_ = other.id_; - name_ = other.name_; - travelerDuelBossType_ = other.travelerDuelBossType_; - episode_ = other.episode_; - image_ = other.image_; - cover_ = other.cover_; - showReward_ = other.showReward_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelBoss Clone() { - return new TravelerDuelBoss(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 "traveler_duel_boss_type" field.</summary> - public const int TravelerDuelBossTypeFieldNumber = 3; - private int travelerDuelBossType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TravelerDuelBossType { - get { return travelerDuelBossType_; } - set { - travelerDuelBossType_ = value; - } - } - - /// <summary>Field number for the "episode" field.</summary> - public const int EpisodeFieldNumber = 4; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "image" field.</summary> - public const int ImageFieldNumber = 5; - 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 "cover" field.</summary> - public const int CoverFieldNumber = 6; - private string cover_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Cover { - get { return cover_; } - set { - cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "show_reward" field.</summary> - public const int ShowRewardFieldNumber = 7; - private static readonly pb::FieldCodec<int> _repeated_showReward_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField<int> showReward_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> ShowReward { - get { return showReward_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelBoss); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelBoss 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 (TravelerDuelBossType != other.TravelerDuelBossType) return false; - if (Episode != other.Episode) return false; - if (Image != other.Image) return false; - if (Cover != other.Cover) return false; - if(!showReward_.Equals(other.showReward_)) 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 (TravelerDuelBossType != 0) hash ^= TravelerDuelBossType.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Image.Length != 0) hash ^= Image.GetHashCode(); - if (Cover.Length != 0) hash ^= Cover.GetHashCode(); - hash ^= showReward_.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 (TravelerDuelBossType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TravelerDuelBossType); - } - if (Episode.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Image); - } - if (Cover.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Cover); - } - showReward_.WriteTo(output, _repeated_showReward_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (TravelerDuelBossType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TravelerDuelBossType); - } - if (Episode.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Episode); - } - if (Image.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Image); - } - if (Cover.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Cover); - } - showReward_.WriteTo(ref output, _repeated_showReward_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (TravelerDuelBossType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TravelerDuelBossType); - } - if (Episode.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Image.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); - } - if (Cover.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Cover); - } - size += showReward_.CalculateSize(_repeated_showReward_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelBoss other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.TravelerDuelBossType != 0) { - TravelerDuelBossType = other.TravelerDuelBossType; - } - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Image.Length != 0) { - Image = other.Image; - } - if (other.Cover.Length != 0) { - Cover = other.Cover; - } - showReward_.Add(other.showReward_); - _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: { - TravelerDuelBossType = input.ReadInt32(); - break; - } - case 34: { - Episode = input.ReadString(); - break; - } - case 42: { - Image = input.ReadString(); - break; - } - case 50: { - Cover = input.ReadString(); - break; - } - case 58: - case 56: { - showReward_.AddEntriesFrom(input, _repeated_showReward_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 18: { - Name = input.ReadString(); - break; - } - case 24: { - TravelerDuelBossType = input.ReadInt32(); - break; - } - case 34: { - Episode = input.ReadString(); - break; - } - case 42: { - Image = input.ReadString(); - break; - } - case 50: { - Cover = input.ReadString(); - break; - } - case 58: - case 56: { - showReward_.AddEntriesFrom(ref input, _repeated_showReward_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelBossLevel.cs b/Novaria.Common/Protos/TravelerDuelBossLevel.cs deleted file mode 100644 index a9655ac..0000000 --- a/Novaria.Common/Protos/TravelerDuelBossLevel.cs +++ /dev/null @@ -1,1039 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelBossLevel.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 TravelerDuelBossLevel.proto</summary> - public static partial class TravelerDuelBossLevelReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelBossLevel.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelBossLevelReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtUcmF2ZWxlckR1ZWxCb3NzTGV2ZWwucHJvdG8i9AMKFVRyYXZlbGVyRHVl", - "bEJvc3NMZXZlbBIKCgJpZBgBIAEoBRIPCgdib3NzX2lkGAIgASgFEhIKCmRp", - "ZmZpY3VsdHkYAyABKAUSDAoEbmFtZRgEIAEoCRIMCgRkZXNjGAUgASgJEhcK", - "D3N1Z2dlc3RlZF9wb3dlchgGIAEoBRIcChRyZWNvbW1lbmRfYnVpbGRfcmFu", - "axgHIAEoBRINCgVlX2VfdBgIIAMoBRIRCgl0aW1lbGltaXQYCSABKAUSIAoY", - "cHJldmlld19tb25zdGVyX2dyb3VwX2lkGAogASgFEhAKCGZsb29yX2lkGAsg", - "ASgFEhQKDHByZV9sZXZlbF9pZBgMIAEoBRIWCg5wcmVfbGV2ZWxfc3RhchgN", - "IAEoBRIaChJ1bmxvY2tfd29ybGRfY2xhc3MYDiABKAUSGQoRdW5sb2NrX2R1", - "ZWxfbGV2ZWwYDyABKAUSEAoIZHVlbF9leHAYECABKAUSGgoSYmFzZV9hd2Fy", - "ZF9wcmV2aWV3GBEgASgJEhAKCGFmZmluaXR5GBIgASgFEgwKBGljb24YEyAB", - "KAkSEgoKc2tpbGxfc2hvdxgUIAMoBRINCgVjb3ZlchgVIAEoCRIPCgdza2lu", - "X2lkGBYgASgFEhoKEmV4dHJhX2Ryb3BfcHJldmlldxgXIAMoBUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelBossLevel), global::Nova.Client.TravelerDuelBossLevel.Parser, new[]{ "Id", "BossId", "Difficulty", "Name", "Desc", "SuggestedPower", "RecommendBuildRank", "EET", "Timelimit", "PreviewMonsterGroupId", "FloorId", "PreLevelId", "PreLevelStar", "UnlockWorldClass", "UnlockDuelLevel", "DuelExp", "BaseAwardPreview", "Affinity", "Icon", "SkillShow", "Cover", "SkinId", "ExtraDropPreview" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelBossLevel : pb::IMessage<TravelerDuelBossLevel> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelBossLevel> _parser = new pb::MessageParser<TravelerDuelBossLevel>(() => new TravelerDuelBossLevel()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelBossLevel> 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.TravelerDuelBossLevelReflection.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 TravelerDuelBossLevel() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelBossLevel(TravelerDuelBossLevel other) : this() { - id_ = other.id_; - bossId_ = other.bossId_; - difficulty_ = other.difficulty_; - name_ = other.name_; - desc_ = other.desc_; - suggestedPower_ = other.suggestedPower_; - recommendBuildRank_ = other.recommendBuildRank_; - eET_ = other.eET_.Clone(); - timelimit_ = other.timelimit_; - previewMonsterGroupId_ = other.previewMonsterGroupId_; - floorId_ = other.floorId_; - preLevelId_ = other.preLevelId_; - preLevelStar_ = other.preLevelStar_; - unlockWorldClass_ = other.unlockWorldClass_; - unlockDuelLevel_ = other.unlockDuelLevel_; - duelExp_ = other.duelExp_; - baseAwardPreview_ = other.baseAwardPreview_; - affinity_ = other.affinity_; - icon_ = other.icon_; - skillShow_ = other.skillShow_.Clone(); - cover_ = other.cover_; - skinId_ = other.skinId_; - extraDropPreview_ = other.extraDropPreview_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelBossLevel Clone() { - return new TravelerDuelBossLevel(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 "boss_id" field.</summary> - public const int BossIdFieldNumber = 2; - private int bossId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BossId { - get { return bossId_; } - set { - bossId_ = value; - } - } - - /// <summary>Field number for the "difficulty" field.</summary> - 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; - } - } - - /// <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 "suggested_power" field.</summary> - 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; - } - } - - /// <summary>Field number for the "recommend_build_rank" field.</summary> - public const int RecommendBuildRankFieldNumber = 7; - private int recommendBuildRank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendBuildRank { - get { return recommendBuildRank_; } - set { - recommendBuildRank_ = value; - } - } - - /// <summary>Field number for the "e_e_t" field.</summary> - public const int EETFieldNumber = 8; - private static readonly pb::FieldCodec<int> _repeated_eET_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EET { - get { return eET_; } - } - - /// <summary>Field number for the "timelimit" field.</summary> - public const int TimelimitFieldNumber = 9; - private int timelimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Timelimit { - get { return timelimit_; } - set { - timelimit_ = value; - } - } - - /// <summary>Field number for the "preview_monster_group_id" field.</summary> - public const int PreviewMonsterGroupIdFieldNumber = 10; - private int previewMonsterGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreviewMonsterGroupId { - get { return previewMonsterGroupId_; } - set { - previewMonsterGroupId_ = value; - } - } - - /// <summary>Field number for the "floor_id" field.</summary> - public const int FloorIdFieldNumber = 11; - private int floorId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FloorId { - get { return floorId_; } - set { - floorId_ = value; - } - } - - /// <summary>Field number for the "pre_level_id" field.</summary> - public const int PreLevelIdFieldNumber = 12; - private int preLevelId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreLevelId { - get { return preLevelId_; } - set { - preLevelId_ = value; - } - } - - /// <summary>Field number for the "pre_level_star" field.</summary> - public const int PreLevelStarFieldNumber = 13; - private int preLevelStar_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreLevelStar { - get { return preLevelStar_; } - set { - preLevelStar_ = value; - } - } - - /// <summary>Field number for the "unlock_world_class" field.</summary> - public const int UnlockWorldClassFieldNumber = 14; - private int unlockWorldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockWorldClass { - get { return unlockWorldClass_; } - set { - unlockWorldClass_ = value; - } - } - - /// <summary>Field number for the "unlock_duel_level" field.</summary> - public const int UnlockDuelLevelFieldNumber = 15; - private int unlockDuelLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockDuelLevel { - get { return unlockDuelLevel_; } - set { - unlockDuelLevel_ = value; - } - } - - /// <summary>Field number for the "duel_exp" field.</summary> - public const int DuelExpFieldNumber = 16; - private int duelExp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DuelExp { - get { return duelExp_; } - set { - duelExp_ = value; - } - } - - /// <summary>Field number for the "base_award_preview" field.</summary> - public const int BaseAwardPreviewFieldNumber = 17; - private string baseAwardPreview_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BaseAwardPreview { - get { return baseAwardPreview_; } - set { - baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "affinity" field.</summary> - public const int AffinityFieldNumber = 18; - private int affinity_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Affinity { - get { return affinity_; } - set { - affinity_ = value; - } - } - - /// <summary>Field number for the "icon" field.</summary> - 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"); - } - } - - /// <summary>Field number for the "skill_show" field.</summary> - public const int SkillShowFieldNumber = 20; - private static readonly pb::FieldCodec<int> _repeated_skillShow_codec - = pb::FieldCodec.ForInt32(162); - private readonly pbc::RepeatedField<int> skillShow_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> SkillShow { - get { return skillShow_; } - } - - /// <summary>Field number for the "cover" field.</summary> - public const int CoverFieldNumber = 21; - private string cover_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Cover { - get { return cover_; } - set { - cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "skin_id" field.</summary> - public const int SkinIdFieldNumber = 22; - private int skinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkinId { - get { return skinId_; } - set { - skinId_ = value; - } - } - - /// <summary>Field number for the "extra_drop_preview" field.</summary> - public const int ExtraDropPreviewFieldNumber = 23; - private static readonly pb::FieldCodec<int> _repeated_extraDropPreview_codec - = pb::FieldCodec.ForInt32(186); - private readonly pbc::RepeatedField<int> extraDropPreview_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> ExtraDropPreview { - get { return extraDropPreview_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelBossLevel); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelBossLevel other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BossId != other.BossId) 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 (RecommendBuildRank != other.RecommendBuildRank) return false; - if(!eET_.Equals(other.eET_)) return false; - if (Timelimit != other.Timelimit) return false; - if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; - if (FloorId != other.FloorId) return false; - if (PreLevelId != other.PreLevelId) return false; - if (PreLevelStar != other.PreLevelStar) return false; - if (UnlockWorldClass != other.UnlockWorldClass) return false; - if (UnlockDuelLevel != other.UnlockDuelLevel) return false; - if (DuelExp != other.DuelExp) return false; - if (BaseAwardPreview != other.BaseAwardPreview) return false; - if (Affinity != other.Affinity) return false; - if (Icon != other.Icon) return false; - if(!skillShow_.Equals(other.skillShow_)) return false; - if (Cover != other.Cover) return false; - if (SkinId != other.SkinId) return false; - if(!extraDropPreview_.Equals(other.extraDropPreview_)) 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 (BossId != 0) hash ^= BossId.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 (RecommendBuildRank != 0) hash ^= RecommendBuildRank.GetHashCode(); - hash ^= eET_.GetHashCode(); - if (Timelimit != 0) hash ^= Timelimit.GetHashCode(); - if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); - if (FloorId != 0) hash ^= FloorId.GetHashCode(); - if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); - if (PreLevelStar != 0) hash ^= PreLevelStar.GetHashCode(); - if (UnlockWorldClass != 0) hash ^= UnlockWorldClass.GetHashCode(); - if (UnlockDuelLevel != 0) hash ^= UnlockDuelLevel.GetHashCode(); - if (DuelExp != 0) hash ^= DuelExp.GetHashCode(); - if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode(); - if (Affinity != 0) hash ^= Affinity.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - hash ^= skillShow_.GetHashCode(); - if (Cover.Length != 0) hash ^= Cover.GetHashCode(); - if (SkinId != 0) hash ^= SkinId.GetHashCode(); - hash ^= extraDropPreview_.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 (BossId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BossId); - } - 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 (RecommendBuildRank != 0) { - output.WriteRawTag(56); - output.WriteInt32(RecommendBuildRank); - } - eET_.WriteTo(output, _repeated_eET_codec); - if (Timelimit != 0) { - output.WriteRawTag(72); - output.WriteInt32(Timelimit); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(80); - output.WriteInt32(PreviewMonsterGroupId); - } - if (FloorId != 0) { - output.WriteRawTag(88); - output.WriteInt32(FloorId); - } - if (PreLevelId != 0) { - output.WriteRawTag(96); - output.WriteInt32(PreLevelId); - } - if (PreLevelStar != 0) { - output.WriteRawTag(104); - output.WriteInt32(PreLevelStar); - } - if (UnlockWorldClass != 0) { - output.WriteRawTag(112); - output.WriteInt32(UnlockWorldClass); - } - if (UnlockDuelLevel != 0) { - output.WriteRawTag(120); - output.WriteInt32(UnlockDuelLevel); - } - if (DuelExp != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(DuelExp); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(BaseAwardPreview); - } - if (Affinity != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Affinity); - } - if (Icon.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Icon); - } - skillShow_.WriteTo(output, _repeated_skillShow_codec); - if (Cover.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Cover); - } - if (SkinId != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SkinId); - } - extraDropPreview_.WriteTo(output, _repeated_extraDropPreview_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 (BossId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BossId); - } - 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 (RecommendBuildRank != 0) { - output.WriteRawTag(56); - output.WriteInt32(RecommendBuildRank); - } - eET_.WriteTo(ref output, _repeated_eET_codec); - if (Timelimit != 0) { - output.WriteRawTag(72); - output.WriteInt32(Timelimit); - } - if (PreviewMonsterGroupId != 0) { - output.WriteRawTag(80); - output.WriteInt32(PreviewMonsterGroupId); - } - if (FloorId != 0) { - output.WriteRawTag(88); - output.WriteInt32(FloorId); - } - if (PreLevelId != 0) { - output.WriteRawTag(96); - output.WriteInt32(PreLevelId); - } - if (PreLevelStar != 0) { - output.WriteRawTag(104); - output.WriteInt32(PreLevelStar); - } - if (UnlockWorldClass != 0) { - output.WriteRawTag(112); - output.WriteInt32(UnlockWorldClass); - } - if (UnlockDuelLevel != 0) { - output.WriteRawTag(120); - output.WriteInt32(UnlockDuelLevel); - } - if (DuelExp != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(DuelExp); - } - if (BaseAwardPreview.Length != 0) { - output.WriteRawTag(138, 1); - output.WriteString(BaseAwardPreview); - } - if (Affinity != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Affinity); - } - if (Icon.Length != 0) { - output.WriteRawTag(154, 1); - output.WriteString(Icon); - } - skillShow_.WriteTo(ref output, _repeated_skillShow_codec); - if (Cover.Length != 0) { - output.WriteRawTag(170, 1); - output.WriteString(Cover); - } - if (SkinId != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(SkinId); - } - extraDropPreview_.WriteTo(ref output, _repeated_extraDropPreview_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 (BossId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossId); - } - 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 (RecommendBuildRank != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); - } - size += eET_.CalculateSize(_repeated_eET_codec); - if (Timelimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Timelimit); - } - if (PreviewMonsterGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); - } - if (FloorId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); - } - if (PreLevelId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); - } - if (PreLevelStar != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelStar); - } - if (UnlockWorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldClass); - } - if (UnlockDuelLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockDuelLevel); - } - if (DuelExp != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(DuelExp); - } - if (BaseAwardPreview.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); - } - if (Affinity != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Affinity); - } - if (Icon.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - size += skillShow_.CalculateSize(_repeated_skillShow_codec); - if (Cover.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Cover); - } - if (SkinId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinId); - } - size += extraDropPreview_.CalculateSize(_repeated_extraDropPreview_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelBossLevel other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BossId != 0) { - BossId = other.BossId; - } - 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.RecommendBuildRank != 0) { - RecommendBuildRank = other.RecommendBuildRank; - } - eET_.Add(other.eET_); - if (other.Timelimit != 0) { - Timelimit = other.Timelimit; - } - if (other.PreviewMonsterGroupId != 0) { - PreviewMonsterGroupId = other.PreviewMonsterGroupId; - } - if (other.FloorId != 0) { - FloorId = other.FloorId; - } - if (other.PreLevelId != 0) { - PreLevelId = other.PreLevelId; - } - if (other.PreLevelStar != 0) { - PreLevelStar = other.PreLevelStar; - } - if (other.UnlockWorldClass != 0) { - UnlockWorldClass = other.UnlockWorldClass; - } - if (other.UnlockDuelLevel != 0) { - UnlockDuelLevel = other.UnlockDuelLevel; - } - if (other.DuelExp != 0) { - DuelExp = other.DuelExp; - } - if (other.BaseAwardPreview.Length != 0) { - BaseAwardPreview = other.BaseAwardPreview; - } - if (other.Affinity != 0) { - Affinity = other.Affinity; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - skillShow_.Add(other.skillShow_); - if (other.Cover.Length != 0) { - Cover = other.Cover; - } - if (other.SkinId != 0) { - SkinId = other.SkinId; - } - extraDropPreview_.Add(other.extraDropPreview_); - _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: { - BossId = 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: { - RecommendBuildRank = input.ReadInt32(); - break; - } - case 66: - case 64: { - eET_.AddEntriesFrom(input, _repeated_eET_codec); - break; - } - case 72: { - Timelimit = input.ReadInt32(); - break; - } - case 80: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 88: { - FloorId = input.ReadInt32(); - break; - } - case 96: { - PreLevelId = input.ReadInt32(); - break; - } - case 104: { - PreLevelStar = input.ReadInt32(); - break; - } - case 112: { - UnlockWorldClass = input.ReadInt32(); - break; - } - case 120: { - UnlockDuelLevel = input.ReadInt32(); - break; - } - case 128: { - DuelExp = input.ReadInt32(); - break; - } - case 138: { - BaseAwardPreview = input.ReadString(); - break; - } - case 144: { - Affinity = input.ReadInt32(); - break; - } - case 154: { - Icon = input.ReadString(); - break; - } - case 162: - case 160: { - skillShow_.AddEntriesFrom(input, _repeated_skillShow_codec); - break; - } - case 170: { - Cover = input.ReadString(); - break; - } - case 176: { - SkinId = input.ReadInt32(); - break; - } - case 186: - case 184: { - extraDropPreview_.AddEntriesFrom(input, _repeated_extraDropPreview_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: { - BossId = 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: { - RecommendBuildRank = input.ReadInt32(); - break; - } - case 66: - case 64: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - case 72: { - Timelimit = input.ReadInt32(); - break; - } - case 80: { - PreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 88: { - FloorId = input.ReadInt32(); - break; - } - case 96: { - PreLevelId = input.ReadInt32(); - break; - } - case 104: { - PreLevelStar = input.ReadInt32(); - break; - } - case 112: { - UnlockWorldClass = input.ReadInt32(); - break; - } - case 120: { - UnlockDuelLevel = input.ReadInt32(); - break; - } - case 128: { - DuelExp = input.ReadInt32(); - break; - } - case 138: { - BaseAwardPreview = input.ReadString(); - break; - } - case 144: { - Affinity = input.ReadInt32(); - break; - } - case 154: { - Icon = input.ReadString(); - break; - } - case 162: - case 160: { - skillShow_.AddEntriesFrom(ref input, _repeated_skillShow_codec); - break; - } - case 170: { - Cover = input.ReadString(); - break; - } - case 176: { - SkinId = input.ReadInt32(); - break; - } - case 186: - case 184: { - extraDropPreview_.AddEntriesFrom(ref input, _repeated_extraDropPreview_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelChallengeAffix.cs b/Novaria.Common/Protos/TravelerDuelChallengeAffix.cs deleted file mode 100644 index f38e86a..0000000 --- a/Novaria.Common/Protos/TravelerDuelChallengeAffix.cs +++ /dev/null @@ -1,710 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelChallengeAffix.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 TravelerDuelChallengeAffix.proto</summary> - public static partial class TravelerDuelChallengeAffixReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelChallengeAffix.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelChallengeAffixReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiBUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VBZmZpeC5wcm90byKlAgoaVHJhdmVs", - "ZXJEdWVsQ2hhbGxlbmdlQWZmaXgSCgoCaWQYASABKAUSEAoIZ3JvdXBfaWQY", - "AiABKAUSEgoKZGlmZmljdWx0eRgDIAEoBRIaChJ1bmxvY2tfd29ybGRfY2xh", - "c3MYBCABKAUSGQoRdW5sb2NrX2R1ZWxfbGV2ZWwYBSABKAUSGQoRdW5sb2Nr", - "X2RpZmZpY3VsdHkYBiABKAUSDAoEbmFtZRgHIAEoCRIMCgRkZXNjGAggASgJ", - "EgwKBGljb24YCSABKAkSDwoHZWxlbWVudBgKIAEoBRIQCghhZGRfY2FtcBgL", - "IAMoBRIRCglhZGRfY2xhc3MYDCADKAUSEAoIc2tpbGxfaWQYDSABKAUSEQoJ", - "YnJhbmNoX2lkGA4gASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeAffix), global::Nova.Client.TravelerDuelChallengeAffix.Parser, new[]{ "Id", "GroupId", "Difficulty", "UnlockWorldClass", "UnlockDuelLevel", "UnlockDifficulty", "Name", "Desc", "Icon", "Element", "AddCamp", "AddClass", "SkillId", "BranchId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelChallengeAffix : pb::IMessage<TravelerDuelChallengeAffix> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelChallengeAffix> _parser = new pb::MessageParser<TravelerDuelChallengeAffix>(() => new TravelerDuelChallengeAffix()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelChallengeAffix> 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.TravelerDuelChallengeAffixReflection.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 TravelerDuelChallengeAffix() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeAffix(TravelerDuelChallengeAffix other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - difficulty_ = other.difficulty_; - unlockWorldClass_ = other.unlockWorldClass_; - unlockDuelLevel_ = other.unlockDuelLevel_; - unlockDifficulty_ = other.unlockDifficulty_; - name_ = other.name_; - desc_ = other.desc_; - icon_ = other.icon_; - element_ = other.element_; - addCamp_ = other.addCamp_.Clone(); - addClass_ = other.addClass_.Clone(); - skillId_ = other.skillId_; - branchId_ = other.branchId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeAffix Clone() { - return new TravelerDuelChallengeAffix(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 "difficulty" field.</summary> - 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; - } - } - - /// <summary>Field number for the "unlock_world_class" field.</summary> - public const int UnlockWorldClassFieldNumber = 4; - private int unlockWorldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockWorldClass { - get { return unlockWorldClass_; } - set { - unlockWorldClass_ = value; - } - } - - /// <summary>Field number for the "unlock_duel_level" field.</summary> - public const int UnlockDuelLevelFieldNumber = 5; - private int unlockDuelLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockDuelLevel { - get { return unlockDuelLevel_; } - set { - unlockDuelLevel_ = value; - } - } - - /// <summary>Field number for the "unlock_difficulty" field.</summary> - public const int UnlockDifficultyFieldNumber = 6; - private int unlockDifficulty_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int UnlockDifficulty { - get { return unlockDifficulty_; } - set { - unlockDifficulty_ = value; - } - } - - /// <summary>Field number for the "name" field.</summary> - public const int NameFieldNumber = 7; - 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 = 8; - 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 = 9; - 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 = 10; - 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 = 11; - private static readonly pb::FieldCodec<int> _repeated_addCamp_codec - = pb::FieldCodec.ForInt32(90); - 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 = 12; - private static readonly pb::FieldCodec<int> _repeated_addClass_codec - = pb::FieldCodec.ForInt32(98); - 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 = 13; - private int skillId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SkillId { - get { return skillId_; } - set { - skillId_ = value; - } - } - - /// <summary>Field number for the "branch_id" field.</summary> - public const int BranchIdFieldNumber = 14; - private int branchId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BranchId { - get { return branchId_; } - set { - branchId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelChallengeAffix); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelChallengeAffix 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 (Difficulty != other.Difficulty) return false; - if (UnlockWorldClass != other.UnlockWorldClass) return false; - if (UnlockDuelLevel != other.UnlockDuelLevel) return false; - if (UnlockDifficulty != other.UnlockDifficulty) 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; - if (BranchId != other.BranchId) 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 (Difficulty != 0) hash ^= Difficulty.GetHashCode(); - if (UnlockWorldClass != 0) hash ^= UnlockWorldClass.GetHashCode(); - if (UnlockDuelLevel != 0) hash ^= UnlockDuelLevel.GetHashCode(); - if (UnlockDifficulty != 0) hash ^= UnlockDifficulty.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 (BranchId != 0) hash ^= BranchId.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 (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (UnlockWorldClass != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockWorldClass); - } - if (UnlockDuelLevel != 0) { - output.WriteRawTag(40); - output.WriteInt32(UnlockDuelLevel); - } - if (UnlockDifficulty != 0) { - output.WriteRawTag(48); - output.WriteInt32(UnlockDifficulty); - } - if (Name.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Icon); - } - if (Element != 0) { - output.WriteRawTag(80); - output.WriteInt32(Element); - } - addCamp_.WriteTo(output, _repeated_addCamp_codec); - addClass_.WriteTo(output, _repeated_addClass_codec); - if (SkillId != 0) { - output.WriteRawTag(104); - output.WriteInt32(SkillId); - } - if (BranchId != 0) { - output.WriteRawTag(112); - output.WriteInt32(BranchId); - } - 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 (Difficulty != 0) { - output.WriteRawTag(24); - output.WriteInt32(Difficulty); - } - if (UnlockWorldClass != 0) { - output.WriteRawTag(32); - output.WriteInt32(UnlockWorldClass); - } - if (UnlockDuelLevel != 0) { - output.WriteRawTag(40); - output.WriteInt32(UnlockDuelLevel); - } - if (UnlockDifficulty != 0) { - output.WriteRawTag(48); - output.WriteInt32(UnlockDifficulty); - } - if (Name.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Name); - } - if (Desc.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Desc); - } - if (Icon.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Icon); - } - if (Element != 0) { - output.WriteRawTag(80); - output.WriteInt32(Element); - } - addCamp_.WriteTo(ref output, _repeated_addCamp_codec); - addClass_.WriteTo(ref output, _repeated_addClass_codec); - if (SkillId != 0) { - output.WriteRawTag(104); - output.WriteInt32(SkillId); - } - if (BranchId != 0) { - output.WriteRawTag(112); - output.WriteInt32(BranchId); - } - 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 (Difficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); - } - if (UnlockWorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldClass); - } - if (UnlockDuelLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockDuelLevel); - } - if (UnlockDifficulty != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockDifficulty); - } - 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 (BranchId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BranchId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelChallengeAffix other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Difficulty != 0) { - Difficulty = other.Difficulty; - } - if (other.UnlockWorldClass != 0) { - UnlockWorldClass = other.UnlockWorldClass; - } - if (other.UnlockDuelLevel != 0) { - UnlockDuelLevel = other.UnlockDuelLevel; - } - if (other.UnlockDifficulty != 0) { - UnlockDifficulty = other.UnlockDifficulty; - } - 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; - } - if (other.BranchId != 0) { - BranchId = other.BranchId; - } - _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: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - UnlockWorldClass = input.ReadInt32(); - break; - } - case 40: { - UnlockDuelLevel = input.ReadInt32(); - break; - } - case 48: { - UnlockDifficulty = input.ReadInt32(); - break; - } - case 58: { - Name = input.ReadString(); - break; - } - case 66: { - Desc = input.ReadString(); - break; - } - case 74: { - Icon = input.ReadString(); - break; - } - case 80: { - Element = input.ReadInt32(); - break; - } - case 90: - case 88: { - addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec); - break; - } - case 98: - case 96: { - addClass_.AddEntriesFrom(input, _repeated_addClass_codec); - break; - } - case 104: { - SkillId = input.ReadInt32(); - break; - } - case 112: { - BranchId = 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: { - Difficulty = input.ReadInt32(); - break; - } - case 32: { - UnlockWorldClass = input.ReadInt32(); - break; - } - case 40: { - UnlockDuelLevel = input.ReadInt32(); - break; - } - case 48: { - UnlockDifficulty = input.ReadInt32(); - break; - } - case 58: { - Name = input.ReadString(); - break; - } - case 66: { - Desc = input.ReadString(); - break; - } - case 74: { - Icon = input.ReadString(); - break; - } - case 80: { - Element = input.ReadInt32(); - break; - } - case 90: - case 88: { - addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec); - break; - } - case 98: - case 96: { - addClass_.AddEntriesFrom(ref input, _repeated_addClass_codec); - break; - } - case 104: { - SkillId = input.ReadInt32(); - break; - } - case 112: { - BranchId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelChallengeDifficulty.cs b/Novaria.Common/Protos/TravelerDuelChallengeDifficulty.cs deleted file mode 100644 index 8d15e85..0000000 --- a/Novaria.Common/Protos/TravelerDuelChallengeDifficulty.cs +++ /dev/null @@ -1,383 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelChallengeDifficulty.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 TravelerDuelChallengeDifficulty.proto</summary> - public static partial class TravelerDuelChallengeDifficultyReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelChallengeDifficulty.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelChallengeDifficultyReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiVUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VEaWZmaWN1bHR5LnByb3RvIoUBCh9U", - "cmF2ZWxlckR1ZWxDaGFsbGVuZ2VEaWZmaWN1bHR5EgoKAmlkGAEgASgFEgwK", - "BGF0dHIYAiABKAUSEQoJZWZmZWN0X2lkGAMgAygFEhcKD3JlY29tbWVuZF9z", - "Y29yZRgEIAEoBRIcChRyZWNvbW1lbmRfYnVpbGRfcmFuaxgFIAEoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeDifficulty), global::Nova.Client.TravelerDuelChallengeDifficulty.Parser, new[]{ "Id", "Attr", "EffectId", "RecommendScore", "RecommendBuildRank" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelChallengeDifficulty : pb::IMessage<TravelerDuelChallengeDifficulty> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelChallengeDifficulty> _parser = new pb::MessageParser<TravelerDuelChallengeDifficulty>(() => new TravelerDuelChallengeDifficulty()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelChallengeDifficulty> 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.TravelerDuelChallengeDifficultyReflection.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 TravelerDuelChallengeDifficulty() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeDifficulty(TravelerDuelChallengeDifficulty other) : this() { - id_ = other.id_; - attr_ = other.attr_; - effectId_ = other.effectId_.Clone(); - recommendScore_ = other.recommendScore_; - recommendBuildRank_ = other.recommendBuildRank_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeDifficulty Clone() { - return new TravelerDuelChallengeDifficulty(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 "attr" field.</summary> - public const int AttrFieldNumber = 2; - private int attr_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Attr { - get { return attr_; } - set { - attr_ = value; - } - } - - /// <summary>Field number for the "effect_id" field.</summary> - public const int EffectIdFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_effectId_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EffectId { - get { return effectId_; } - } - - /// <summary>Field number for the "recommend_score" field.</summary> - public const int RecommendScoreFieldNumber = 4; - private int recommendScore_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendScore { - get { return recommendScore_; } - set { - recommendScore_ = value; - } - } - - /// <summary>Field number for the "recommend_build_rank" field.</summary> - public const int RecommendBuildRankFieldNumber = 5; - private int recommendBuildRank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendBuildRank { - get { return recommendBuildRank_; } - set { - recommendBuildRank_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelChallengeDifficulty); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelChallengeDifficulty other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Attr != other.Attr) return false; - if(!effectId_.Equals(other.effectId_)) return false; - if (RecommendScore != other.RecommendScore) return false; - if (RecommendBuildRank != other.RecommendBuildRank) 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 (Attr != 0) hash ^= Attr.GetHashCode(); - hash ^= effectId_.GetHashCode(); - if (RecommendScore != 0) hash ^= RecommendScore.GetHashCode(); - if (RecommendBuildRank != 0) hash ^= RecommendBuildRank.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 (Attr != 0) { - output.WriteRawTag(16); - output.WriteInt32(Attr); - } - effectId_.WriteTo(output, _repeated_effectId_codec); - if (RecommendScore != 0) { - output.WriteRawTag(32); - output.WriteInt32(RecommendScore); - } - if (RecommendBuildRank != 0) { - output.WriteRawTag(40); - output.WriteInt32(RecommendBuildRank); - } - 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 (Attr != 0) { - output.WriteRawTag(16); - output.WriteInt32(Attr); - } - effectId_.WriteTo(ref output, _repeated_effectId_codec); - if (RecommendScore != 0) { - output.WriteRawTag(32); - output.WriteInt32(RecommendScore); - } - if (RecommendBuildRank != 0) { - output.WriteRawTag(40); - output.WriteInt32(RecommendBuildRank); - } - 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 (Attr != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr); - } - size += effectId_.CalculateSize(_repeated_effectId_codec); - if (RecommendScore != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendScore); - } - if (RecommendBuildRank != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelChallengeDifficulty other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Attr != 0) { - Attr = other.Attr; - } - effectId_.Add(other.effectId_); - if (other.RecommendScore != 0) { - RecommendScore = other.RecommendScore; - } - if (other.RecommendBuildRank != 0) { - RecommendBuildRank = other.RecommendBuildRank; - } - _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: { - Attr = input.ReadInt32(); - break; - } - case 26: - case 24: { - effectId_.AddEntriesFrom(input, _repeated_effectId_codec); - break; - } - case 32: { - RecommendScore = input.ReadInt32(); - break; - } - case 40: { - RecommendBuildRank = 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: { - Attr = input.ReadInt32(); - break; - } - case 26: - case 24: { - effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); - break; - } - case 32: { - RecommendScore = input.ReadInt32(); - break; - } - case 40: { - RecommendBuildRank = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelChallengeQuest.cs b/Novaria.Common/Protos/TravelerDuelChallengeQuest.cs deleted file mode 100644 index 4d27ae2..0000000 --- a/Novaria.Common/Protos/TravelerDuelChallengeQuest.cs +++ /dev/null @@ -1,767 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelChallengeQuest.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 TravelerDuelChallengeQuest.proto</summary> - public static partial class TravelerDuelChallengeQuestReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelChallengeQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelChallengeQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiBUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VRdWVzdC5wcm90byLaAgoaVHJhdmVs", - "ZXJEdWVsQ2hhbGxlbmdlUXVlc3QSCgoCaWQYASABKAUSEAoIZ3JvdXBfaWQY", - "AiABKAUSDQoFdGl0bGUYAyABKAkSDAoEZGVzYxgEIAEoCRIPCgdqdW1wX3Rv", - "GAUgASgFEg0KBW9yZGVyGAYgASgFEhYKDmFjY2VwdF9wYXJhbXMyGAcgASgJ", - "EhUKDWNvbXBsZXRlX2NvbmQYCCABKAUSHAoUY29tcGxldGVfY29uZF9wYXJh", - "bXMYCSABKAkSFwoPYXdhcmRfaXRlbV90aWQxGAogASgFEhcKD2F3YXJkX2l0", - "ZW1fbnVtMRgLIAEoBRIXCg9hd2FyZF9pdGVtX3RpZDIYDCABKAUSFwoPYXdh", - "cmRfaXRlbV9udW0yGA0gASgFEhcKD2F3YXJkX2l0ZW1fdGlkMxgOIAEoBRIX", - "Cg9hd2FyZF9pdGVtX251bTMYDyABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90", - "bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeQuest), global::Nova.Client.TravelerDuelChallengeQuest.Parser, new[]{ "Id", "GroupId", "Title", "Desc", "JumpTo", "Order", "AcceptParams2", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelChallengeQuest : pb::IMessage<TravelerDuelChallengeQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelChallengeQuest> _parser = new pb::MessageParser<TravelerDuelChallengeQuest>(() => new TravelerDuelChallengeQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelChallengeQuest> 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.TravelerDuelChallengeQuestReflection.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 TravelerDuelChallengeQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeQuest(TravelerDuelChallengeQuest other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - title_ = other.title_; - desc_ = other.desc_; - jumpTo_ = other.jumpTo_; - order_ = other.order_; - acceptParams2_ = other.acceptParams2_; - completeCond_ = other.completeCond_; - completeCondParams_ = other.completeCondParams_; - awardItemTid1_ = other.awardItemTid1_; - awardItemNum1_ = other.awardItemNum1_; - awardItemTid2_ = other.awardItemTid2_; - awardItemNum2_ = other.awardItemNum2_; - awardItemTid3_ = other.awardItemTid3_; - awardItemNum3_ = other.awardItemNum3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeQuest Clone() { - return new TravelerDuelChallengeQuest(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 "title" field.</summary> - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 4; - 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 "jump_to" field.</summary> - public const int JumpToFieldNumber = 5; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// <summary>Field number for the "order" field.</summary> - public const int OrderFieldNumber = 6; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// <summary>Field number for the "accept_params2" field.</summary> - public const int AcceptParams2FieldNumber = 7; - private string acceptParams2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AcceptParams2 { - get { return acceptParams2_; } - set { - acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "complete_cond" field.</summary> - public const int CompleteCondFieldNumber = 8; - private int completeCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCond { - get { return completeCond_; } - set { - completeCond_ = value; - } - } - - /// <summary>Field number for the "complete_cond_params" field.</summary> - public const int CompleteCondParamsFieldNumber = 9; - private string completeCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteCondParams { - get { return completeCondParams_; } - set { - completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "award_item_tid1" field.</summary> - public const int AwardItemTid1FieldNumber = 10; - private int awardItemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid1 { - get { return awardItemTid1_; } - set { - awardItemTid1_ = value; - } - } - - /// <summary>Field number for the "award_item_num1" field.</summary> - public const int AwardItemNum1FieldNumber = 11; - private int awardItemNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum1 { - get { return awardItemNum1_; } - set { - awardItemNum1_ = value; - } - } - - /// <summary>Field number for the "award_item_tid2" field.</summary> - public const int AwardItemTid2FieldNumber = 12; - private int awardItemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid2 { - get { return awardItemTid2_; } - set { - awardItemTid2_ = value; - } - } - - /// <summary>Field number for the "award_item_num2" field.</summary> - public const int AwardItemNum2FieldNumber = 13; - private int awardItemNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum2 { - get { return awardItemNum2_; } - set { - awardItemNum2_ = value; - } - } - - /// <summary>Field number for the "award_item_tid3" field.</summary> - public const int AwardItemTid3FieldNumber = 14; - private int awardItemTid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid3 { - get { return awardItemTid3_; } - set { - awardItemTid3_ = value; - } - } - - /// <summary>Field number for the "award_item_num3" field.</summary> - public const int AwardItemNum3FieldNumber = 15; - private int awardItemNum3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum3 { - get { return awardItemNum3_; } - set { - awardItemNum3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelChallengeQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelChallengeQuest 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 (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (JumpTo != other.JumpTo) return false; - if (Order != other.Order) return false; - if (AcceptParams2 != other.AcceptParams2) return false; - if (CompleteCond != other.CompleteCond) return false; - if (CompleteCondParams != other.CompleteCondParams) return false; - if (AwardItemTid1 != other.AwardItemTid1) return false; - if (AwardItemNum1 != other.AwardItemNum1) return false; - if (AwardItemTid2 != other.AwardItemTid2) return false; - if (AwardItemNum2 != other.AwardItemNum2) return false; - if (AwardItemTid3 != other.AwardItemTid3) return false; - if (AwardItemNum3 != other.AwardItemNum3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Order != 0) hash ^= Order.GetHashCode(); - if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode(); - if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); - if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); - if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); - if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); - if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); - if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode(); - if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode(); - if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(40); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(48); - output.WriteInt32(Order); - } - if (AcceptParams2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(AcceptParams2); - } - if (CompleteCond != 0) { - output.WriteRawTag(64); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AwardItemNum3); - } - 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 (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(40); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(48); - output.WriteInt32(Order); - } - if (AcceptParams2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(AcceptParams2); - } - if (CompleteCond != 0) { - output.WriteRawTag(64); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AwardItemNum3); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (AcceptParams2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2); - } - if (CompleteCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelChallengeQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.AcceptParams2.Length != 0) { - AcceptParams2 = other.AcceptParams2; - } - if (other.CompleteCond != 0) { - CompleteCond = other.CompleteCond; - } - if (other.CompleteCondParams.Length != 0) { - CompleteCondParams = other.CompleteCondParams; - } - if (other.AwardItemTid1 != 0) { - AwardItemTid1 = other.AwardItemTid1; - } - if (other.AwardItemNum1 != 0) { - AwardItemNum1 = other.AwardItemNum1; - } - if (other.AwardItemTid2 != 0) { - AwardItemTid2 = other.AwardItemTid2; - } - if (other.AwardItemNum2 != 0) { - AwardItemNum2 = other.AwardItemNum2; - } - if (other.AwardItemTid3 != 0) { - AwardItemTid3 = other.AwardItemTid3; - } - if (other.AwardItemNum3 != 0) { - AwardItemNum3 = other.AwardItemNum3; - } - _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 26: { - Title = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - JumpTo = input.ReadInt32(); - break; - } - case 48: { - Order = input.ReadInt32(); - break; - } - case 58: { - AcceptParams2 = input.ReadString(); - break; - } - case 64: { - CompleteCond = input.ReadInt32(); - break; - } - case 74: { - CompleteCondParams = input.ReadString(); - break; - } - case 80: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 88: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 96: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 104: { - AwardItemNum2 = input.ReadInt32(); - break; - } - case 112: { - AwardItemTid3 = input.ReadInt32(); - break; - } - case 120: { - AwardItemNum3 = 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 26: { - Title = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - JumpTo = input.ReadInt32(); - break; - } - case 48: { - Order = input.ReadInt32(); - break; - } - case 58: { - AcceptParams2 = input.ReadString(); - break; - } - case 64: { - CompleteCond = input.ReadInt32(); - break; - } - case 74: { - CompleteCondParams = input.ReadString(); - break; - } - case 80: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 88: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 96: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 104: { - AwardItemNum2 = input.ReadInt32(); - break; - } - case 112: { - AwardItemTid3 = input.ReadInt32(); - break; - } - case 120: { - AwardItemNum3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelChallengeRankReward.cs b/Novaria.Common/Protos/TravelerDuelChallengeRankReward.cs deleted file mode 100644 index 356701a..0000000 --- a/Novaria.Common/Protos/TravelerDuelChallengeRankReward.cs +++ /dev/null @@ -1,430 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelChallengeRankReward.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 TravelerDuelChallengeRankReward.proto</summary> - public static partial class TravelerDuelChallengeRankRewardReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelChallengeRankReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelChallengeRankRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiVUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VSYW5rUmV3YXJkLnByb3RvIqUBCh9U", - "cmF2ZWxlckR1ZWxDaGFsbGVuZ2VSYW5rUmV3YXJkEgoKAmlkGAEgASgFEhIK", - "CnJhbmtfbG93ZXIYAiABKAUSFwoPYXdhcmRfaXRlbV90aWQxGAMgASgFEhcK", - "D2F3YXJkX2l0ZW1fbnVtMRgEIAEoBRIXCg9hd2FyZF9pdGVtX3RpZDIYBSAB", - "KAUSFwoPYXdhcmRfaXRlbV9udW0yGAYgASgFQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeRankReward), global::Nova.Client.TravelerDuelChallengeRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelChallengeRankReward : pb::IMessage<TravelerDuelChallengeRankReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelChallengeRankReward> _parser = new pb::MessageParser<TravelerDuelChallengeRankReward>(() => new TravelerDuelChallengeRankReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelChallengeRankReward> 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.TravelerDuelChallengeRankRewardReflection.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 TravelerDuelChallengeRankReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeRankReward(TravelerDuelChallengeRankReward other) : this() { - id_ = other.id_; - rankLower_ = other.rankLower_; - awardItemTid1_ = other.awardItemTid1_; - awardItemNum1_ = other.awardItemNum1_; - awardItemTid2_ = other.awardItemTid2_; - awardItemNum2_ = other.awardItemNum2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeRankReward Clone() { - return new TravelerDuelChallengeRankReward(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 "rank_lower" field.</summary> - public const int RankLowerFieldNumber = 2; - private int rankLower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RankLower { - get { return rankLower_; } - set { - rankLower_ = value; - } - } - - /// <summary>Field number for the "award_item_tid1" field.</summary> - public const int AwardItemTid1FieldNumber = 3; - private int awardItemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid1 { - get { return awardItemTid1_; } - set { - awardItemTid1_ = value; - } - } - - /// <summary>Field number for the "award_item_num1" field.</summary> - public const int AwardItemNum1FieldNumber = 4; - private int awardItemNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum1 { - get { return awardItemNum1_; } - set { - awardItemNum1_ = value; - } - } - - /// <summary>Field number for the "award_item_tid2" field.</summary> - public const int AwardItemTid2FieldNumber = 5; - private int awardItemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid2 { - get { return awardItemTid2_; } - set { - awardItemTid2_ = value; - } - } - - /// <summary>Field number for the "award_item_num2" field.</summary> - public const int AwardItemNum2FieldNumber = 6; - private int awardItemNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum2 { - get { return awardItemNum2_; } - set { - awardItemNum2_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelChallengeRankReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelChallengeRankReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (RankLower != other.RankLower) return false; - if (AwardItemTid1 != other.AwardItemTid1) return false; - if (AwardItemNum1 != other.AwardItemNum1) return false; - if (AwardItemTid2 != other.AwardItemTid2) return false; - if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode(); - if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); - if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); - if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); - if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) { - output.WriteRawTag(16); - output.WriteInt32(RankLower); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(AwardItemNum2); - } - 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 (RankLower != 0) { - output.WriteRawTag(16); - output.WriteInt32(RankLower); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(AwardItemNum2); - } - 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 (RankLower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower); - } - if (AwardItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelChallengeRankReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.RankLower != 0) { - RankLower = other.RankLower; - } - if (other.AwardItemTid1 != 0) { - AwardItemTid1 = other.AwardItemTid1; - } - if (other.AwardItemNum1 != 0) { - AwardItemNum1 = other.AwardItemNum1; - } - if (other.AwardItemTid2 != 0) { - AwardItemTid2 = other.AwardItemTid2; - } - if (other.AwardItemNum2 != 0) { - AwardItemNum2 = other.AwardItemNum2; - } - _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: { - RankLower = input.ReadInt32(); - break; - } - case 24: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 32: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 40: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 48: { - AwardItemNum2 = 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: { - RankLower = input.ReadInt32(); - break; - } - case 24: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 32: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 40: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 48: { - AwardItemNum2 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelChallengeSeason.cs b/Novaria.Common/Protos/TravelerDuelChallengeSeason.cs deleted file mode 100644 index c7cd2f6..0000000 --- a/Novaria.Common/Protos/TravelerDuelChallengeSeason.cs +++ /dev/null @@ -1,467 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelChallengeSeason.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 TravelerDuelChallengeSeason.proto</summary> - public static partial class TravelerDuelChallengeSeasonReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelChallengeSeason.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelChallengeSeasonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiFUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VTZWFzb24ucHJvdG8irAEKG1RyYXZl", - "bGVyRHVlbENoYWxsZW5nZVNlYXNvbhIKCgJpZBgBIAEoBRIPCgdib3NzX2lk", - "GAIgASgFEhcKD2FmZml4X2dyb3VwX2lkcxgDIAEoCRIWCg5xdWVzdF9ncm91", - "cF9pZBgEIAEoBRIaChJiYWNrX2dyb3VuZF9zb3VyY2UYBSABKAkSEQoJb3Bl", - "bl90aW1lGAYgASgJEhAKCGVuZF90aW1lGAcgASgJQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeSeason), global::Nova.Client.TravelerDuelChallengeSeason.Parser, new[]{ "Id", "BossId", "AffixGroupIds", "QuestGroupId", "BackGroundSource", "OpenTime", "EndTime" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelChallengeSeason : pb::IMessage<TravelerDuelChallengeSeason> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelChallengeSeason> _parser = new pb::MessageParser<TravelerDuelChallengeSeason>(() => new TravelerDuelChallengeSeason()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelChallengeSeason> 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.TravelerDuelChallengeSeasonReflection.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 TravelerDuelChallengeSeason() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeSeason(TravelerDuelChallengeSeason other) : this() { - id_ = other.id_; - bossId_ = other.bossId_; - affixGroupIds_ = other.affixGroupIds_; - questGroupId_ = other.questGroupId_; - backGroundSource_ = other.backGroundSource_; - openTime_ = other.openTime_; - endTime_ = other.endTime_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelChallengeSeason Clone() { - return new TravelerDuelChallengeSeason(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 "boss_id" field.</summary> - public const int BossIdFieldNumber = 2; - private int bossId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BossId { - get { return bossId_; } - set { - bossId_ = value; - } - } - - /// <summary>Field number for the "affix_group_ids" field.</summary> - public const int AffixGroupIdsFieldNumber = 3; - private string affixGroupIds_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AffixGroupIds { - get { return affixGroupIds_; } - set { - affixGroupIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "quest_group_id" field.</summary> - public const int QuestGroupIdFieldNumber = 4; - private int questGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int QuestGroupId { - get { return questGroupId_; } - set { - questGroupId_ = value; - } - } - - /// <summary>Field number for the "back_ground_source" field.</summary> - public const int BackGroundSourceFieldNumber = 5; - private string backGroundSource_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BackGroundSource { - get { return backGroundSource_; } - set { - backGroundSource_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "open_time" field.</summary> - public const int OpenTimeFieldNumber = 6; - private string openTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenTime { - get { return openTime_; } - set { - openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "end_time" field.</summary> - public const int EndTimeFieldNumber = 7; - private string endTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndTime { - get { return endTime_; } - set { - endTime_ = 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 TravelerDuelChallengeSeason); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelChallengeSeason other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (BossId != other.BossId) return false; - if (AffixGroupIds != other.AffixGroupIds) return false; - if (QuestGroupId != other.QuestGroupId) return false; - if (BackGroundSource != other.BackGroundSource) return false; - if (OpenTime != other.OpenTime) return false; - if (EndTime != other.EndTime) 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 (BossId != 0) hash ^= BossId.GetHashCode(); - if (AffixGroupIds.Length != 0) hash ^= AffixGroupIds.GetHashCode(); - if (QuestGroupId != 0) hash ^= QuestGroupId.GetHashCode(); - if (BackGroundSource.Length != 0) hash ^= BackGroundSource.GetHashCode(); - if (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); - if (EndTime.Length != 0) hash ^= EndTime.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 (BossId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BossId); - } - if (AffixGroupIds.Length != 0) { - output.WriteRawTag(26); - output.WriteString(AffixGroupIds); - } - if (QuestGroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(QuestGroupId); - } - if (BackGroundSource.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BackGroundSource); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OpenTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(58); - output.WriteString(EndTime); - } - 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 (BossId != 0) { - output.WriteRawTag(16); - output.WriteInt32(BossId); - } - if (AffixGroupIds.Length != 0) { - output.WriteRawTag(26); - output.WriteString(AffixGroupIds); - } - if (QuestGroupId != 0) { - output.WriteRawTag(32); - output.WriteInt32(QuestGroupId); - } - if (BackGroundSource.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BackGroundSource); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(50); - output.WriteString(OpenTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(58); - output.WriteString(EndTime); - } - 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 (BossId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossId); - } - if (AffixGroupIds.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AffixGroupIds); - } - if (QuestGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(QuestGroupId); - } - if (BackGroundSource.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BackGroundSource); - } - if (OpenTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); - } - if (EndTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelChallengeSeason other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.BossId != 0) { - BossId = other.BossId; - } - if (other.AffixGroupIds.Length != 0) { - AffixGroupIds = other.AffixGroupIds; - } - if (other.QuestGroupId != 0) { - QuestGroupId = other.QuestGroupId; - } - if (other.BackGroundSource.Length != 0) { - BackGroundSource = other.BackGroundSource; - } - if (other.OpenTime.Length != 0) { - OpenTime = other.OpenTime; - } - if (other.EndTime.Length != 0) { - EndTime = other.EndTime; - } - _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: { - BossId = input.ReadInt32(); - break; - } - case 26: { - AffixGroupIds = input.ReadString(); - break; - } - case 32: { - QuestGroupId = input.ReadInt32(); - break; - } - case 42: { - BackGroundSource = input.ReadString(); - break; - } - case 50: { - OpenTime = input.ReadString(); - break; - } - case 58: { - EndTime = 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: { - BossId = input.ReadInt32(); - break; - } - case 26: { - AffixGroupIds = input.ReadString(); - break; - } - case 32: { - QuestGroupId = input.ReadInt32(); - break; - } - case 42: { - BackGroundSource = input.ReadString(); - break; - } - case 50: { - OpenTime = input.ReadString(); - break; - } - case 58: { - EndTime = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelFloor.cs b/Novaria.Common/Protos/TravelerDuelFloor.cs deleted file mode 100644 index 31e7843..0000000 --- a/Novaria.Common/Protos/TravelerDuelFloor.cs +++ /dev/null @@ -1,504 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelFloor.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 TravelerDuelFloor.proto</summary> - public static partial class TravelerDuelFloorReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdUcmF2ZWxlckR1ZWxGbG9vci5wcm90byK2AQoRVHJhdmVsZXJEdWVsRmxv", - "b3ISCgoCaWQYASABKAUSEgoKc2NlbmVfbmFtZRgCIAEoCRIaChJjb25maWdf", - "cHJlZmFiX25hbWUYAyABKAkSDQoFdGhlbWUYBCABKAUSDQoFYl9nX20YBSAB", - "KAkSGwoTbGVhdmVfdHJpZ2dlcl9ldmVudBgGIAEoCRISCgptb25zdGVyX2x2", - "GAcgASgFEhYKDmludHJvX2N1dHNjZW5lGAggASgJQg6qAgtOb3ZhLkNsaWVu", - "dGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelFloor), global::Nova.Client.TravelerDuelFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterLv", "IntroCutscene" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelFloor : pb::IMessage<TravelerDuelFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelFloor> _parser = new pb::MessageParser<TravelerDuelFloor>(() => new TravelerDuelFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelFloor> 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.TravelerDuelFloorReflection.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 TravelerDuelFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelFloor(TravelerDuelFloor other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - monsterLv_ = other.monsterLv_; - introCutscene_ = other.introCutscene_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelFloor Clone() { - return new TravelerDuelFloor(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 "scene_name" field.</summary> - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "config_prefab_name" field.</summary> - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "theme" field.</summary> - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// <summary>Field number for the "b_g_m" field.</summary> - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "leave_trigger_event" field.</summary> - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "monster_lv" field.</summary> - public const int MonsterLvFieldNumber = 7; - private int monsterLv_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLv { - get { return monsterLv_; } - set { - monsterLv_ = value; - } - } - - /// <summary>Field number for the "intro_cutscene" field.</summary> - public const int IntroCutsceneFieldNumber = 8; - private string introCutscene_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string IntroCutscene { - get { return introCutscene_; } - set { - introCutscene_ = 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 TravelerDuelFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; - if (MonsterLv != other.MonsterLv) return false; - if (IntroCutscene != other.IntroCutscene) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); - if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); - if (IntroCutscene.Length != 0) hash ^= IntroCutscene.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - if (IntroCutscene.Length != 0) { - output.WriteRawTag(66); - output.WriteString(IntroCutscene); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - output.WriteRawTag(56); - output.WriteInt32(MonsterLv); - } - if (IntroCutscene.Length != 0) { - output.WriteRawTag(66); - output.WriteString(IntroCutscene); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (MonsterLv != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); - } - if (IntroCutscene.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(IntroCutscene); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - if (other.MonsterLv != 0) { - MonsterLv = other.MonsterLv; - } - if (other.IntroCutscene.Length != 0) { - IntroCutscene = other.IntroCutscene; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - case 66: { - IntroCutscene = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - case 56: { - MonsterLv = input.ReadInt32(); - break; - } - case 66: { - IntroCutscene = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelInfo.cs b/Novaria.Common/Protos/TravelerDuelInfo.cs new file mode 100644 index 0000000..7e2affb --- /dev/null +++ b/Novaria.Common/Protos/TravelerDuelInfo.cs @@ -0,0 +1,475 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: traveler_duel_info.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 Proto { + + /// <summary>Holder for reflection information generated from traveler_duel_info.proto</summary> + public static partial class TravelerDuelInfoReflection { + + #region Descriptor + /// <summary>File descriptor for traveler_duel_info.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TravelerDuelInfoReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Chh0cmF2ZWxlcl9kdWVsX2luZm8ucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG8i6AEKEFRyYXZlbGVyRHVlbEluZm8SEQoJRHVlbExldmVsGAEgASgNEg8K", + "B0R1ZWxFeHAYAiABKA0SGAoQV2Vla2x5QXdhcmRUaW1lcxgDIAEoDRIsCgZM", + "ZXZlbHMYBCADKAsyHC5wcm90by5UcmF2ZWxlckR1ZWxCb3NzTGV2ZWwSMwoJ", + "Q2hhbGxlbmdlGAUgASgLMiAucHJvdG8uVHJhdmVsZXJEdWVsQ2hhbGxlbmdl", + "SW5mbxIdCgZRdWVzdHMYBiABKAsyDS5wcm90by5RdWVzdHMSFAoLTmV4dFBh", + "Y2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelInfo), global::Proto.TravelerDuelInfo.Parser, new[]{ "DuelLevel", "DuelExp", "WeeklyAwardTimes", "Levels", "Challenge", "Quests", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelInfo : pb::IMessage<TravelerDuelInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelInfo> _parser = new pb::MessageParser<TravelerDuelInfo>(() => new TravelerDuelInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelInfoReflection.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 TravelerDuelInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelInfo(TravelerDuelInfo other) : this() { + duelLevel_ = other.duelLevel_; + duelExp_ = other.duelExp_; + weeklyAwardTimes_ = other.weeklyAwardTimes_; + levels_ = other.levels_.Clone(); + challenge_ = other.challenge_ != null ? other.challenge_.Clone() : null; + quests_ = other.quests_ != null ? other.quests_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelInfo Clone() { + return new TravelerDuelInfo(this); + } + + /// <summary>Field number for the "DuelLevel" field.</summary> + public const int DuelLevelFieldNumber = 1; + private uint duelLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DuelLevel { + get { return duelLevel_; } + set { + duelLevel_ = value; + } + } + + /// <summary>Field number for the "DuelExp" field.</summary> + public const int DuelExpFieldNumber = 2; + private uint duelExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DuelExp { + get { return duelExp_; } + set { + duelExp_ = value; + } + } + + /// <summary>Field number for the "WeeklyAwardTimes" field.</summary> + public const int WeeklyAwardTimesFieldNumber = 3; + private uint weeklyAwardTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WeeklyAwardTimes { + get { return weeklyAwardTimes_; } + set { + weeklyAwardTimes_ = value; + } + } + + /// <summary>Field number for the "Levels" field.</summary> + public const int LevelsFieldNumber = 4; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBossLevel> _repeated_levels_codec + = pb::FieldCodec.ForMessage(34, global::Proto.TravelerDuelBossLevel.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBossLevel> levels_ = new pbc::RepeatedField<global::Proto.TravelerDuelBossLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelBossLevel> Levels { + get { return levels_; } + } + + /// <summary>Field number for the "Challenge" field.</summary> + public const int ChallengeFieldNumber = 5; + private global::Proto.TravelerDuelChallengeInfo challenge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TravelerDuelChallengeInfo Challenge { + get { return challenge_; } + set { + challenge_ = value; + } + } + + /// <summary>Field number for the "Quests" field.</summary> + public const int QuestsFieldNumber = 6; + private global::Proto.Quests quests_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Quests Quests { + get { return quests_; } + set { + quests_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DuelLevel != other.DuelLevel) return false; + if (DuelExp != other.DuelExp) return false; + if (WeeklyAwardTimes != other.WeeklyAwardTimes) return false; + if(!levels_.Equals(other.levels_)) return false; + if (!object.Equals(Challenge, other.Challenge)) return false; + if (!object.Equals(Quests, other.Quests)) return false; + if (NextPackage != other.NextPackage) 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 (DuelLevel != 0) hash ^= DuelLevel.GetHashCode(); + if (DuelExp != 0) hash ^= DuelExp.GetHashCode(); + if (WeeklyAwardTimes != 0) hash ^= WeeklyAwardTimes.GetHashCode(); + hash ^= levels_.GetHashCode(); + if (challenge_ != null) hash ^= Challenge.GetHashCode(); + if (quests_ != null) hash ^= Quests.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (DuelLevel != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DuelLevel); + } + if (DuelExp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(DuelExp); + } + if (WeeklyAwardTimes != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WeeklyAwardTimes); + } + levels_.WriteTo(output, _repeated_levels_codec); + if (challenge_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Challenge); + } + if (quests_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Quests); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (DuelLevel != 0) { + output.WriteRawTag(8); + output.WriteUInt32(DuelLevel); + } + if (DuelExp != 0) { + output.WriteRawTag(16); + output.WriteUInt32(DuelExp); + } + if (WeeklyAwardTimes != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WeeklyAwardTimes); + } + levels_.WriteTo(ref output, _repeated_levels_codec); + if (challenge_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Challenge); + } + if (quests_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Quests); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (DuelLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DuelLevel); + } + if (DuelExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DuelExp); + } + if (WeeklyAwardTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeeklyAwardTimes); + } + size += levels_.CalculateSize(_repeated_levels_codec); + if (challenge_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Challenge); + } + if (quests_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Quests); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelInfo other) { + if (other == null) { + return; + } + if (other.DuelLevel != 0) { + DuelLevel = other.DuelLevel; + } + if (other.DuelExp != 0) { + DuelExp = other.DuelExp; + } + if (other.WeeklyAwardTimes != 0) { + WeeklyAwardTimes = other.WeeklyAwardTimes; + } + levels_.Add(other.levels_); + if (other.challenge_ != null) { + if (challenge_ == null) { + Challenge = new global::Proto.TravelerDuelChallengeInfo(); + } + Challenge.MergeFrom(other.Challenge); + } + if (other.quests_ != null) { + if (quests_ == null) { + Quests = new global::Proto.Quests(); + } + Quests.MergeFrom(other.Quests); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + DuelLevel = input.ReadUInt32(); + break; + } + case 16: { + DuelExp = input.ReadUInt32(); + break; + } + case 24: { + WeeklyAwardTimes = input.ReadUInt32(); + break; + } + case 34: { + levels_.AddEntriesFrom(input, _repeated_levels_codec); + break; + } + case 42: { + if (challenge_ == null) { + Challenge = new global::Proto.TravelerDuelChallengeInfo(); + } + input.ReadMessage(Challenge); + break; + } + case 50: { + if (quests_ == null) { + Quests = new global::Proto.Quests(); + } + input.ReadMessage(Quests); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + DuelLevel = input.ReadUInt32(); + break; + } + case 16: { + DuelExp = input.ReadUInt32(); + break; + } + case 24: { + WeeklyAwardTimes = input.ReadUInt32(); + break; + } + case 34: { + levels_.AddEntriesFrom(ref input, _repeated_levels_codec); + break; + } + case 42: { + if (challenge_ == null) { + Challenge = new global::Proto.TravelerDuelChallengeInfo(); + } + input.ReadMessage(Challenge); + break; + } + case 50: { + if (quests_ == null) { + Quests = new global::Proto.Quests(); + } + input.ReadMessage(Quests); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/StarTowerTeamExp.cs b/Novaria.Common/Protos/TravelerDuelLevelApply.cs similarity index 60% rename from Novaria.Common/Protos/StarTowerTeamExp.cs rename to Novaria.Common/Protos/TravelerDuelLevelApply.cs index e20fac4..1feaf47 100644 --- a/Novaria.Common/Protos/StarTowerTeamExp.cs +++ b/Novaria.Common/Protos/TravelerDuelLevelApply.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: StarTowerTeamExp.proto +// source: traveler_duel_level_apply.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from StarTowerTeamExp.proto</summary> - public static partial class StarTowerTeamExpReflection { + /// <summary>Holder for reflection information generated from traveler_duel_level_apply.proto</summary> + public static partial class TravelerDuelLevelApplyReflection { #region Descriptor - /// <summary>File descriptor for StarTowerTeamExp.proto</summary> + /// <summary>File descriptor for traveler_duel_level_apply.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static StarTowerTeamExpReflection() { + static TravelerDuelLevelApplyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChZTdGFyVG93ZXJUZWFtRXhwLnByb3RvIlEKEFN0YXJUb3dlclRlYW1FeHAS", - "CgoCaWQYASABKAUSEAoIZ3JvdXBfaWQYAiABKAUSDQoFbGV2ZWwYAyABKAUS", - "EAoIbmVlZF9leHAYBCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "Ch90cmF2ZWxlcl9kdWVsX2xldmVsX2FwcGx5LnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvImAKGVRyYXZlbGVyRHVlbExldmVsQXBwbHlSZXESCgoCSWQY", + "ASABKA0SDwoHQnVpbGRJZBgCIAEoBBIQCghBZmZpeElkcxgDIAMoDRIUCgtO", + "ZXh0UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerTeamExp), global::Nova.Client.StarTowerTeamExp.Parser, new[]{ "Id", "GroupId", "Level", "NeedExp" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelLevelApplyReq), global::Proto.TravelerDuelLevelApplyReq.Parser, new[]{ "Id", "BuildId", "AffixIds", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class StarTowerTeamExp : pb::IMessage<StarTowerTeamExp> + public sealed partial class TravelerDuelLevelApplyReq : pb::IMessage<TravelerDuelLevelApplyReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<StarTowerTeamExp> _parser = new pb::MessageParser<StarTowerTeamExp>(() => new StarTowerTeamExp()); + private static readonly pb::MessageParser<TravelerDuelLevelApplyReq> _parser = new pb::MessageParser<TravelerDuelLevelApplyReq>(() => new TravelerDuelLevelApplyReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<StarTowerTeamExp> Parser { get { return _parser; } } + public static pb::MessageParser<TravelerDuelLevelApplyReq> 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.StarTowerTeamExpReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.TravelerDuelLevelApplyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerTeamExp() { + public TravelerDuelLevelApplyReq() { OnConstruction(); } @@ -71,77 +72,76 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerTeamExp(StarTowerTeamExp other) : this() { + public TravelerDuelLevelApplyReq(TravelerDuelLevelApplyReq other) : this() { id_ = other.id_; - groupId_ = other.groupId_; - level_ = other.level_; - needExp_ = other.needExp_; + buildId_ = other.buildId_; + affixIds_ = other.affixIds_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public StarTowerTeamExp Clone() { - return new StarTowerTeamExp(this); + public TravelerDuelLevelApplyReq Clone() { + return new TravelerDuelLevelApplyReq(this); } - /// <summary>Field number for the "id" field.</summary> + /// <summary>Field number for the "Id" field.</summary> public const int IdFieldNumber = 1; - private int id_; + private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { + public uint Id { get { return id_; } set { id_ = value; } } - /// <summary>Field number for the "group_id" field.</summary> - public const int GroupIdFieldNumber = 2; - private int groupId_; + /// <summary>Field number for the "BuildId" field.</summary> + public const int BuildIdFieldNumber = 2; + private ulong buildId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } + public ulong BuildId { + get { return buildId_; } set { - groupId_ = value; + buildId_ = value; } } - /// <summary>Field number for the "level" field.</summary> - public const int LevelFieldNumber = 3; - private int level_; + /// <summary>Field number for the "AffixIds" field.</summary> + public const int AffixIdsFieldNumber = 3; + private static readonly pb::FieldCodec<uint> _repeated_affixIds_codec + = pb::FieldCodec.ForUInt32(26); + private readonly pbc::RepeatedField<uint> affixIds_ = new pbc::RepeatedField<uint>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Level { - get { return level_; } - set { - level_ = value; - } + public pbc::RepeatedField<uint> AffixIds { + get { return affixIds_; } } - /// <summary>Field number for the "need_exp" field.</summary> - public const int NeedExpFieldNumber = 4; - private int needExp_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedExp { - get { return needExp_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - needExp_ = value; + nextPackage_ = 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 StarTowerTeamExp); + return Equals(other as TravelerDuelLevelApplyReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(StarTowerTeamExp other) { + public bool Equals(TravelerDuelLevelApplyReq other) { if (ReferenceEquals(other, null)) { return false; } @@ -149,9 +149,9 @@ namespace Nova.Client { return true; } if (Id != other.Id) return false; - if (GroupId != other.GroupId) return false; - if (Level != other.Level) return false; - if (NeedExp != other.NeedExp) return false; + if (BuildId != other.BuildId) return false; + if(!affixIds_.Equals(other.affixIds_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -160,9 +160,9 @@ namespace Nova.Client { 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 (NeedExp != 0) hash ^= NeedExp.GetHashCode(); + if (BuildId != 0UL) hash ^= BuildId.GetHashCode(); + hash ^= affixIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -183,19 +183,16 @@ namespace Nova.Client { #else if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (GroupId != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(GroupId); + output.WriteUInt64(BuildId); } - if (Level != 0) { - output.WriteRawTag(24); - output.WriteInt32(Level); - } - if (NeedExp != 0) { - output.WriteRawTag(32); - output.WriteInt32(NeedExp); + affixIds_.WriteTo(output, _repeated_affixIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -209,19 +206,16 @@ namespace Nova.Client { void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Id != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(Id); } - if (GroupId != 0) { + if (BuildId != 0UL) { output.WriteRawTag(16); - output.WriteInt32(GroupId); + output.WriteUInt64(BuildId); } - if (Level != 0) { - output.WriteRawTag(24); - output.WriteInt32(Level); - } - if (NeedExp != 0) { - output.WriteRawTag(32); - output.WriteInt32(NeedExp); + affixIds_.WriteTo(ref output, _repeated_affixIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -234,16 +228,14 @@ namespace Nova.Client { public int CalculateSize() { int size = 0; if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + if (BuildId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId); } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (NeedExp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp); + size += affixIds_.CalculateSize(_repeated_affixIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -253,21 +245,19 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(StarTowerTeamExp other) { + public void MergeFrom(TravelerDuelLevelApplyReq other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } - if (other.GroupId != 0) { - GroupId = other.GroupId; + if (other.BuildId != 0UL) { + BuildId = other.BuildId; } - if (other.Level != 0) { - Level = other.Level; - } - if (other.NeedExp != 0) { - NeedExp = other.NeedExp; + affixIds_.Add(other.affixIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,19 +279,20 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - GroupId = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } + case 26: case 24: { - Level = input.ReadInt32(); + affixIds_.AddEntriesFrom(input, _repeated_affixIds_codec); break; } - case 32: { - NeedExp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,19 +315,20 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + Id = input.ReadUInt32(); break; } case 16: { - GroupId = input.ReadInt32(); + BuildId = input.ReadUInt64(); break; } + case 26: case 24: { - Level = input.ReadInt32(); + affixIds_.AddEntriesFrom(ref input, _repeated_affixIds_codec); break; } - case 32: { - NeedExp = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/TravelerDuelLevelSettle.cs b/Novaria.Common/Protos/TravelerDuelLevelSettle.cs new file mode 100644 index 0000000..45a8497 --- /dev/null +++ b/Novaria.Common/Protos/TravelerDuelLevelSettle.cs @@ -0,0 +1,1055 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: traveler_duel_level_settle.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 Proto { + + /// <summary>Holder for reflection information generated from traveler_duel_level_settle.proto</summary> + public static partial class TravelerDuelLevelSettleReflection { + + #region Descriptor + /// <summary>File descriptor for traveler_duel_level_settle.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TravelerDuelLevelSettleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiB0cmF2ZWxlcl9kdWVsX2xldmVsX3NldHRsZS5wcm90bxIFcHJvdG8aDHB1", + "YmxpYy5wcm90byJtChpUcmF2ZWxlckR1ZWxMZXZlbFNldHRsZVJlcRIMCgRT", + "dGFyGAEgASgNEgwKBFRpbWUYAiABKA0SHQoGRXZlbnRzGA8gASgLMg0ucHJv", + "dG8uRXZlbnRzEhQKC05leHRQYWNrYWdlGP8PIAEoDCKfAwobVHJhdmVsZXJE", + "dWVsTGV2ZWxTZXR0bGVSZXNwEg0KBUZpcnN0GAEgASgIEiEKBkNoYW5nZRgC", + "IAEoCzIRLnByb3RvLkNoYW5nZUluZm8SIgoKQXdhcmRJdGVtcxgDIAMoCzIO", + "LnByb3RvLkl0ZW1UcGwSIgoKRmlyc3RJdGVtcxgEIAMoCzIOLnByb3RvLkl0", + "ZW1UcGwSEQoJRHVlbExldmVsGAUgASgNEg8KB0R1ZWxFeHAYBiABKA0SFQoN", + "RHVlbEV4cENoYW5nZRgHIAEoBRInCgpBZmZpbml0aWVzGAggAygLMhMucHJv", + "dG8uQWZmaW5pdHlJbmZvEhEKCUJhc2VTY29yZRgJIAEoDRIRCglUaW1lU2Nv", + "cmUYCiABKA0SEgoKRmluYWxTY29yZRgLIAEoDRIQCghNYXhTY29yZRgMIAEo", + "DRIZChFVcGxvYWRSZW1haW5UaW1lcxgNIAEoDRIlCg1TdXJwcmlzZUl0ZW1z", + "GA4gAygLMg4ucHJvdG8uSXRlbVRwbBIUCgtOZXh0UGFja2FnZRj/DyABKAxQ", + "AGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelLevelSettleReq), global::Proto.TravelerDuelLevelSettleReq.Parser, new[]{ "Star", "Time", "Events", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelLevelSettleResp), global::Proto.TravelerDuelLevelSettleResp.Parser, new[]{ "First", "Change", "AwardItems", "FirstItems", "DuelLevel", "DuelExp", "DuelExpChange", "Affinities", "BaseScore", "TimeScore", "FinalScore", "MaxScore", "UploadRemainTimes", "SurpriseItems", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelLevelSettleReq : pb::IMessage<TravelerDuelLevelSettleReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelLevelSettleReq> _parser = new pb::MessageParser<TravelerDuelLevelSettleReq>(() => new TravelerDuelLevelSettleReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelLevelSettleReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelLevelSettleReflection.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 TravelerDuelLevelSettleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevelSettleReq(TravelerDuelLevelSettleReq other) : this() { + star_ = other.star_; + time_ = other.time_; + events_ = other.events_ != null ? other.events_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevelSettleReq Clone() { + return new TravelerDuelLevelSettleReq(this); + } + + /// <summary>Field number for the "Star" field.</summary> + public const int StarFieldNumber = 1; + private uint star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Star { + get { return star_; } + set { + star_ = value; + } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 2; + private uint time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Time { + get { return time_; } + set { + time_ = value; + } + } + + /// <summary>Field number for the "Events" field.</summary> + public const int EventsFieldNumber = 15; + private global::Proto.Events events_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.Events Events { + get { return events_; } + set { + events_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelLevelSettleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelLevelSettleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Star != other.Star) return false; + if (Time != other.Time) return false; + if (!object.Equals(Events, other.Events)) return false; + if (NextPackage != other.NextPackage) 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 (Star != 0) hash ^= Star.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (events_ != null) hash ^= Events.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (Time != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Time); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Star); + } + if (Time != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Time); + } + if (events_ != null) { + output.WriteRawTag(122); + output.WriteMessage(Events); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); + } + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time); + } + if (events_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelLevelSettleReq other) { + if (other == null) { + return; + } + if (other.Star != 0) { + Star = other.Star; + } + if (other.Time != 0) { + Time = other.Time; + } + if (other.events_ != null) { + if (events_ == null) { + Events = new global::Proto.Events(); + } + Events.MergeFrom(other.Events); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Star = input.ReadUInt32(); + break; + } + case 16: { + Time = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Star = input.ReadUInt32(); + break; + } + case 16: { + Time = input.ReadUInt32(); + break; + } + case 122: { + if (events_ == null) { + Events = new global::Proto.Events(); + } + input.ReadMessage(Events); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelLevelSettleResp : pb::IMessage<TravelerDuelLevelSettleResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelLevelSettleResp> _parser = new pb::MessageParser<TravelerDuelLevelSettleResp>(() => new TravelerDuelLevelSettleResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelLevelSettleResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelLevelSettleReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevelSettleResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevelSettleResp(TravelerDuelLevelSettleResp other) : this() { + first_ = other.first_; + change_ = other.change_ != null ? other.change_.Clone() : null; + awardItems_ = other.awardItems_.Clone(); + firstItems_ = other.firstItems_.Clone(); + duelLevel_ = other.duelLevel_; + duelExp_ = other.duelExp_; + duelExpChange_ = other.duelExpChange_; + affinities_ = other.affinities_.Clone(); + baseScore_ = other.baseScore_; + timeScore_ = other.timeScore_; + finalScore_ = other.finalScore_; + maxScore_ = other.maxScore_; + uploadRemainTimes_ = other.uploadRemainTimes_; + surpriseItems_ = other.surpriseItems_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevelSettleResp Clone() { + return new TravelerDuelLevelSettleResp(this); + } + + /// <summary>Field number for the "First" field.</summary> + public const int FirstFieldNumber = 1; + private bool first_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool First { + get { return first_; } + set { + first_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "AwardItems" field.</summary> + public const int AwardItemsFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_awardItems_codec + = pb::FieldCodec.ForMessage(26, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> awardItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> AwardItems { + get { return awardItems_; } + } + + /// <summary>Field number for the "FirstItems" field.</summary> + public const int FirstItemsFieldNumber = 4; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_firstItems_codec + = pb::FieldCodec.ForMessage(34, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> firstItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> FirstItems { + get { return firstItems_; } + } + + /// <summary>Field number for the "DuelLevel" field.</summary> + public const int DuelLevelFieldNumber = 5; + private uint duelLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DuelLevel { + get { return duelLevel_; } + set { + duelLevel_ = value; + } + } + + /// <summary>Field number for the "DuelExp" field.</summary> + public const int DuelExpFieldNumber = 6; + private uint duelExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DuelExp { + get { return duelExp_; } + set { + duelExp_ = value; + } + } + + /// <summary>Field number for the "DuelExpChange" field.</summary> + public const int DuelExpChangeFieldNumber = 7; + private int duelExpChange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DuelExpChange { + get { return duelExpChange_; } + set { + duelExpChange_ = value; + } + } + + /// <summary>Field number for the "Affinities" field.</summary> + public const int AffinitiesFieldNumber = 8; + private static readonly pb::FieldCodec<global::Proto.AffinityInfo> _repeated_affinities_codec + = pb::FieldCodec.ForMessage(66, global::Proto.AffinityInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.AffinityInfo> affinities_ = new pbc::RepeatedField<global::Proto.AffinityInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.AffinityInfo> Affinities { + get { return affinities_; } + } + + /// <summary>Field number for the "BaseScore" field.</summary> + public const int BaseScoreFieldNumber = 9; + private uint baseScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BaseScore { + get { return baseScore_; } + set { + baseScore_ = value; + } + } + + /// <summary>Field number for the "TimeScore" field.</summary> + public const int TimeScoreFieldNumber = 10; + private uint timeScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TimeScore { + get { return timeScore_; } + set { + timeScore_ = value; + } + } + + /// <summary>Field number for the "FinalScore" field.</summary> + public const int FinalScoreFieldNumber = 11; + private uint finalScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FinalScore { + get { return finalScore_; } + set { + finalScore_ = value; + } + } + + /// <summary>Field number for the "MaxScore" field.</summary> + public const int MaxScoreFieldNumber = 12; + private uint maxScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxScore { + get { return maxScore_; } + set { + maxScore_ = value; + } + } + + /// <summary>Field number for the "UploadRemainTimes" field.</summary> + public const int UploadRemainTimesFieldNumber = 13; + private uint uploadRemainTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint UploadRemainTimes { + get { return uploadRemainTimes_; } + set { + uploadRemainTimes_ = value; + } + } + + /// <summary>Field number for the "SurpriseItems" field.</summary> + public const int SurpriseItemsFieldNumber = 14; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_surpriseItems_codec + = pb::FieldCodec.ForMessage(114, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> surpriseItems_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> SurpriseItems { + get { return surpriseItems_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelLevelSettleResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelLevelSettleResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (First != other.First) return false; + if (!object.Equals(Change, other.Change)) return false; + if(!awardItems_.Equals(other.awardItems_)) return false; + if(!firstItems_.Equals(other.firstItems_)) return false; + if (DuelLevel != other.DuelLevel) return false; + if (DuelExp != other.DuelExp) return false; + if (DuelExpChange != other.DuelExpChange) return false; + if(!affinities_.Equals(other.affinities_)) return false; + if (BaseScore != other.BaseScore) return false; + if (TimeScore != other.TimeScore) return false; + if (FinalScore != other.FinalScore) return false; + if (MaxScore != other.MaxScore) return false; + if (UploadRemainTimes != other.UploadRemainTimes) return false; + if(!surpriseItems_.Equals(other.surpriseItems_)) return false; + if (NextPackage != other.NextPackage) 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 (First != false) hash ^= First.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + hash ^= awardItems_.GetHashCode(); + hash ^= firstItems_.GetHashCode(); + if (DuelLevel != 0) hash ^= DuelLevel.GetHashCode(); + if (DuelExp != 0) hash ^= DuelExp.GetHashCode(); + if (DuelExpChange != 0) hash ^= DuelExpChange.GetHashCode(); + hash ^= affinities_.GetHashCode(); + if (BaseScore != 0) hash ^= BaseScore.GetHashCode(); + if (TimeScore != 0) hash ^= TimeScore.GetHashCode(); + if (FinalScore != 0) hash ^= FinalScore.GetHashCode(); + if (MaxScore != 0) hash ^= MaxScore.GetHashCode(); + if (UploadRemainTimes != 0) hash ^= UploadRemainTimes.GetHashCode(); + hash ^= surpriseItems_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (First != false) { + output.WriteRawTag(8); + output.WriteBool(First); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + awardItems_.WriteTo(output, _repeated_awardItems_codec); + firstItems_.WriteTo(output, _repeated_firstItems_codec); + if (DuelLevel != 0) { + output.WriteRawTag(40); + output.WriteUInt32(DuelLevel); + } + if (DuelExp != 0) { + output.WriteRawTag(48); + output.WriteUInt32(DuelExp); + } + if (DuelExpChange != 0) { + output.WriteRawTag(56); + output.WriteInt32(DuelExpChange); + } + affinities_.WriteTo(output, _repeated_affinities_codec); + if (BaseScore != 0) { + output.WriteRawTag(72); + output.WriteUInt32(BaseScore); + } + if (TimeScore != 0) { + output.WriteRawTag(80); + output.WriteUInt32(TimeScore); + } + if (FinalScore != 0) { + output.WriteRawTag(88); + output.WriteUInt32(FinalScore); + } + if (MaxScore != 0) { + output.WriteRawTag(96); + output.WriteUInt32(MaxScore); + } + if (UploadRemainTimes != 0) { + output.WriteRawTag(104); + output.WriteUInt32(UploadRemainTimes); + } + surpriseItems_.WriteTo(output, _repeated_surpriseItems_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (First != false) { + output.WriteRawTag(8); + output.WriteBool(First); + } + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + awardItems_.WriteTo(ref output, _repeated_awardItems_codec); + firstItems_.WriteTo(ref output, _repeated_firstItems_codec); + if (DuelLevel != 0) { + output.WriteRawTag(40); + output.WriteUInt32(DuelLevel); + } + if (DuelExp != 0) { + output.WriteRawTag(48); + output.WriteUInt32(DuelExp); + } + if (DuelExpChange != 0) { + output.WriteRawTag(56); + output.WriteInt32(DuelExpChange); + } + affinities_.WriteTo(ref output, _repeated_affinities_codec); + if (BaseScore != 0) { + output.WriteRawTag(72); + output.WriteUInt32(BaseScore); + } + if (TimeScore != 0) { + output.WriteRawTag(80); + output.WriteUInt32(TimeScore); + } + if (FinalScore != 0) { + output.WriteRawTag(88); + output.WriteUInt32(FinalScore); + } + if (MaxScore != 0) { + output.WriteRawTag(96); + output.WriteUInt32(MaxScore); + } + if (UploadRemainTimes != 0) { + output.WriteRawTag(104); + output.WriteUInt32(UploadRemainTimes); + } + surpriseItems_.WriteTo(ref output, _repeated_surpriseItems_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (First != false) { + size += 1 + 1; + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + size += awardItems_.CalculateSize(_repeated_awardItems_codec); + size += firstItems_.CalculateSize(_repeated_firstItems_codec); + if (DuelLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DuelLevel); + } + if (DuelExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DuelExp); + } + if (DuelExpChange != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DuelExpChange); + } + size += affinities_.CalculateSize(_repeated_affinities_codec); + if (BaseScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BaseScore); + } + if (TimeScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TimeScore); + } + if (FinalScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalScore); + } + if (MaxScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxScore); + } + if (UploadRemainTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UploadRemainTimes); + } + size += surpriseItems_.CalculateSize(_repeated_surpriseItems_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelLevelSettleResp other) { + if (other == null) { + return; + } + if (other.First != false) { + First = other.First; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + awardItems_.Add(other.awardItems_); + firstItems_.Add(other.firstItems_); + if (other.DuelLevel != 0) { + DuelLevel = other.DuelLevel; + } + if (other.DuelExp != 0) { + DuelExp = other.DuelExp; + } + if (other.DuelExpChange != 0) { + DuelExpChange = other.DuelExpChange; + } + affinities_.Add(other.affinities_); + if (other.BaseScore != 0) { + BaseScore = other.BaseScore; + } + if (other.TimeScore != 0) { + TimeScore = other.TimeScore; + } + if (other.FinalScore != 0) { + FinalScore = other.FinalScore; + } + if (other.MaxScore != 0) { + MaxScore = other.MaxScore; + } + if (other.UploadRemainTimes != 0) { + UploadRemainTimes = other.UploadRemainTimes; + } + surpriseItems_.Add(other.surpriseItems_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + First = input.ReadBool(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 26: { + awardItems_.AddEntriesFrom(input, _repeated_awardItems_codec); + break; + } + case 34: { + firstItems_.AddEntriesFrom(input, _repeated_firstItems_codec); + break; + } + case 40: { + DuelLevel = input.ReadUInt32(); + break; + } + case 48: { + DuelExp = input.ReadUInt32(); + break; + } + case 56: { + DuelExpChange = input.ReadInt32(); + break; + } + case 66: { + affinities_.AddEntriesFrom(input, _repeated_affinities_codec); + break; + } + case 72: { + BaseScore = input.ReadUInt32(); + break; + } + case 80: { + TimeScore = input.ReadUInt32(); + break; + } + case 88: { + FinalScore = input.ReadUInt32(); + break; + } + case 96: { + MaxScore = input.ReadUInt32(); + break; + } + case 104: { + UploadRemainTimes = input.ReadUInt32(); + break; + } + case 114: { + surpriseItems_.AddEntriesFrom(input, _repeated_surpriseItems_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + First = input.ReadBool(); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 26: { + awardItems_.AddEntriesFrom(ref input, _repeated_awardItems_codec); + break; + } + case 34: { + firstItems_.AddEntriesFrom(ref input, _repeated_firstItems_codec); + break; + } + case 40: { + DuelLevel = input.ReadUInt32(); + break; + } + case 48: { + DuelExp = input.ReadUInt32(); + break; + } + case 56: { + DuelExpChange = input.ReadInt32(); + break; + } + case 66: { + affinities_.AddEntriesFrom(ref input, _repeated_affinities_codec); + break; + } + case 72: { + BaseScore = input.ReadUInt32(); + break; + } + case 80: { + TimeScore = input.ReadUInt32(); + break; + } + case 88: { + FinalScore = input.ReadUInt32(); + break; + } + case 96: { + MaxScore = input.ReadUInt32(); + break; + } + case 104: { + UploadRemainTimes = input.ReadUInt32(); + break; + } + case 114: { + surpriseItems_.AddEntriesFrom(ref input, _repeated_surpriseItems_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelQuest.cs b/Novaria.Common/Protos/TravelerDuelQuest.cs deleted file mode 100644 index 23f61cf..0000000 --- a/Novaria.Common/Protos/TravelerDuelQuest.cs +++ /dev/null @@ -1,729 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TravelerDuelQuest.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 TravelerDuelQuest.proto</summary> - public static partial class TravelerDuelQuestReflection { - - #region Descriptor - /// <summary>File descriptor for TravelerDuelQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TravelerDuelQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdUcmF2ZWxlckR1ZWxRdWVzdC5wcm90byK/AgoRVHJhdmVsZXJEdWVsUXVl", - "c3QSCgoCaWQYASABKAUSDQoFdGl0bGUYAiABKAkSDAoEZGVzYxgDIAEoCRIP", - "CgdqdW1wX3RvGAQgASgFEg0KBW9yZGVyGAUgASgFEhYKDmFjY2VwdF9wYXJh", - "bXMyGAYgASgJEhUKDWNvbXBsZXRlX2NvbmQYByABKAUSHAoUY29tcGxldGVf", - "Y29uZF9wYXJhbXMYCCABKAkSFwoPYXdhcmRfaXRlbV90aWQxGAkgASgFEhcK", - "D2F3YXJkX2l0ZW1fbnVtMRgKIAEoBRIXCg9hd2FyZF9pdGVtX3RpZDIYCyAB", - "KAUSFwoPYXdhcmRfaXRlbV9udW0yGAwgASgFEhcKD2F3YXJkX2l0ZW1fdGlk", - "MxgNIAEoBRIXCg9hd2FyZF9pdGVtX251bTMYDiABKAVCDqoCC05vdmEuQ2xp", - "ZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelQuest), global::Nova.Client.TravelerDuelQuest.Parser, new[]{ "Id", "Title", "Desc", "JumpTo", "Order", "AcceptParams2", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TravelerDuelQuest : pb::IMessage<TravelerDuelQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TravelerDuelQuest> _parser = new pb::MessageParser<TravelerDuelQuest>(() => new TravelerDuelQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TravelerDuelQuest> 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.TravelerDuelQuestReflection.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 TravelerDuelQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelQuest(TravelerDuelQuest other) : this() { - id_ = other.id_; - title_ = other.title_; - desc_ = other.desc_; - jumpTo_ = other.jumpTo_; - order_ = other.order_; - acceptParams2_ = other.acceptParams2_; - completeCond_ = other.completeCond_; - completeCondParams_ = other.completeCondParams_; - awardItemTid1_ = other.awardItemTid1_; - awardItemNum1_ = other.awardItemNum1_; - awardItemTid2_ = other.awardItemTid2_; - awardItemNum2_ = other.awardItemNum2_; - awardItemTid3_ = other.awardItemTid3_; - awardItemNum3_ = other.awardItemNum3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TravelerDuelQuest Clone() { - return new TravelerDuelQuest(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 "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "jump_to" field.</summary> - public const int JumpToFieldNumber = 4; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// <summary>Field number for the "order" field.</summary> - public const int OrderFieldNumber = 5; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// <summary>Field number for the "accept_params2" field.</summary> - public const int AcceptParams2FieldNumber = 6; - private string acceptParams2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string AcceptParams2 { - get { return acceptParams2_; } - set { - acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "complete_cond" field.</summary> - public const int CompleteCondFieldNumber = 7; - private int completeCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCond { - get { return completeCond_; } - set { - completeCond_ = value; - } - } - - /// <summary>Field number for the "complete_cond_params" field.</summary> - public const int CompleteCondParamsFieldNumber = 8; - private string completeCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteCondParams { - get { return completeCondParams_; } - set { - completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "award_item_tid1" field.</summary> - public const int AwardItemTid1FieldNumber = 9; - private int awardItemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid1 { - get { return awardItemTid1_; } - set { - awardItemTid1_ = value; - } - } - - /// <summary>Field number for the "award_item_num1" field.</summary> - public const int AwardItemNum1FieldNumber = 10; - private int awardItemNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum1 { - get { return awardItemNum1_; } - set { - awardItemNum1_ = value; - } - } - - /// <summary>Field number for the "award_item_tid2" field.</summary> - public const int AwardItemTid2FieldNumber = 11; - private int awardItemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid2 { - get { return awardItemTid2_; } - set { - awardItemTid2_ = value; - } - } - - /// <summary>Field number for the "award_item_num2" field.</summary> - public const int AwardItemNum2FieldNumber = 12; - private int awardItemNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum2 { - get { return awardItemNum2_; } - set { - awardItemNum2_ = value; - } - } - - /// <summary>Field number for the "award_item_tid3" field.</summary> - public const int AwardItemTid3FieldNumber = 13; - private int awardItemTid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid3 { - get { return awardItemTid3_; } - set { - awardItemTid3_ = value; - } - } - - /// <summary>Field number for the "award_item_num3" field.</summary> - public const int AwardItemNum3FieldNumber = 14; - private int awardItemNum3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum3 { - get { return awardItemNum3_; } - set { - awardItemNum3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TravelerDuelQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TravelerDuelQuest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (JumpTo != other.JumpTo) return false; - if (Order != other.Order) return false; - if (AcceptParams2 != other.AcceptParams2) return false; - if (CompleteCond != other.CompleteCond) return false; - if (CompleteCondParams != other.CompleteCondParams) return false; - if (AwardItemTid1 != other.AwardItemTid1) return false; - if (AwardItemNum1 != other.AwardItemNum1) return false; - if (AwardItemTid2 != other.AwardItemTid2) return false; - if (AwardItemNum2 != other.AwardItemNum2) return false; - if (AwardItemTid3 != other.AwardItemTid3) return false; - if (AwardItemNum3 != other.AwardItemNum3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Order != 0) hash ^= Order.GetHashCode(); - if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode(); - if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); - if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); - if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); - if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); - if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); - if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode(); - if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode(); - if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(40); - output.WriteInt32(Order); - } - if (AcceptParams2.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AcceptParams2); - } - if (CompleteCond != 0) { - output.WriteRawTag(56); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(66); - output.WriteString(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(72); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(88); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardItemNum3); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(32); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(40); - output.WriteInt32(Order); - } - if (AcceptParams2.Length != 0) { - output.WriteRawTag(50); - output.WriteString(AcceptParams2); - } - if (CompleteCond != 0) { - output.WriteRawTag(56); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(66); - output.WriteString(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(72); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(88); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardItemNum3); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (AcceptParams2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2); - } - if (CompleteCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TravelerDuelQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.AcceptParams2.Length != 0) { - AcceptParams2 = other.AcceptParams2; - } - if (other.CompleteCond != 0) { - CompleteCond = other.CompleteCond; - } - if (other.CompleteCondParams.Length != 0) { - CompleteCondParams = other.CompleteCondParams; - } - if (other.AwardItemTid1 != 0) { - AwardItemTid1 = other.AwardItemTid1; - } - if (other.AwardItemNum1 != 0) { - AwardItemNum1 = other.AwardItemNum1; - } - if (other.AwardItemTid2 != 0) { - AwardItemTid2 = other.AwardItemTid2; - } - if (other.AwardItemNum2 != 0) { - AwardItemNum2 = other.AwardItemNum2; - } - if (other.AwardItemTid3 != 0) { - AwardItemTid3 = other.AwardItemTid3; - } - if (other.AwardItemNum3 != 0) { - AwardItemNum3 = other.AwardItemNum3; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Order = input.ReadInt32(); - break; - } - case 50: { - AcceptParams2 = input.ReadString(); - break; - } - case 56: { - CompleteCond = input.ReadInt32(); - break; - } - case 66: { - CompleteCondParams = input.ReadString(); - break; - } - case 72: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 80: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 88: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 96: { - AwardItemNum2 = input.ReadInt32(); - break; - } - case 104: { - AwardItemTid3 = input.ReadInt32(); - break; - } - case 112: { - AwardItemNum3 = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 32: { - JumpTo = input.ReadInt32(); - break; - } - case 40: { - Order = input.ReadInt32(); - break; - } - case 50: { - AcceptParams2 = input.ReadString(); - break; - } - case 56: { - CompleteCond = input.ReadInt32(); - break; - } - case 66: { - CompleteCondParams = input.ReadString(); - break; - } - case 72: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 80: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 88: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 96: { - AwardItemNum2 = input.ReadInt32(); - break; - } - case 104: { - AwardItemTid3 = input.ReadInt32(); - break; - } - case 112: { - AwardItemNum3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelQuestRewardReceive.cs b/Novaria.Common/Protos/TravelerDuelQuestRewardReceive.cs new file mode 100644 index 0000000..b7b8a2b --- /dev/null +++ b/Novaria.Common/Protos/TravelerDuelQuestRewardReceive.cs @@ -0,0 +1,591 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: traveler_duel_quest_reward_receive.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 Proto { + + /// <summary>Holder for reflection information generated from traveler_duel_quest_reward_receive.proto</summary> + public static partial class TravelerDuelQuestRewardReceiveReflection { + + #region Descriptor + /// <summary>File descriptor for traveler_duel_quest_reward_receive.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TravelerDuelQuestRewardReceiveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cih0cmF2ZWxlcl9kdWVsX3F1ZXN0X3Jld2FyZF9yZWNlaXZlLnByb3RvEgVw", + "cm90bxoMcHVibGljLnByb3RvImUKIVRyYXZlbGVyRHVlbFF1ZXN0UmV3YXJk", + "UmVjZWl2ZVJlcRIKCgJJZBgBIAEoDRIeCgRUeXBlGAIgASgOMhAucHJvdG8u", + "UXVlc3RUeXBlEhQKC05leHRQYWNrYWdlGP8PIAEoDCKDAQoiVHJhdmVsZXJE", + "dWVsUXVlc3RSZXdhcmRSZWNlaXZlUmVzcBIkCgxRdWVzdFJld2FyZHMYASAD", + "KAsyDi5wcm90by5JdGVtVHBsEiEKBkNoYW5nZRgCIAEoCzIRLnByb3RvLkNo", + "YW5nZUluZm8SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelQuestRewardReceiveReq), global::Proto.TravelerDuelQuestRewardReceiveReq.Parser, new[]{ "Id", "Type", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelQuestRewardReceiveResp), global::Proto.TravelerDuelQuestRewardReceiveResp.Parser, new[]{ "QuestRewards", "Change", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelQuestRewardReceiveReq : pb::IMessage<TravelerDuelQuestRewardReceiveReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelQuestRewardReceiveReq> _parser = new pb::MessageParser<TravelerDuelQuestRewardReceiveReq>(() => new TravelerDuelQuestRewardReceiveReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelQuestRewardReceiveReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelQuestRewardReceiveReflection.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 TravelerDuelQuestRewardReceiveReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuestRewardReceiveReq(TravelerDuelQuestRewardReceiveReq other) : this() { + id_ = other.id_; + type_ = other.type_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuestRewardReceiveReq Clone() { + return new TravelerDuelQuestRewardReceiveReq(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 2; + private global::Proto.QuestType type_ = global::Proto.QuestType.UnknownQuest; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.QuestType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelQuestRewardReceiveReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelQuestRewardReceiveReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + if (NextPackage != other.NextPackage) 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 (Type != global::Proto.QuestType.UnknownQuest) hash ^= Type.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Type != global::Proto.QuestType.UnknownQuest) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Type != global::Proto.QuestType.UnknownQuest) { + output.WriteRawTag(16); + output.WriteEnum((int) Type); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Type != global::Proto.QuestType.UnknownQuest) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelQuestRewardReceiveReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Type != global::Proto.QuestType.UnknownQuest) { + Type = other.Type; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Type = (global::Proto.QuestType) input.ReadEnum(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Type = (global::Proto.QuestType) input.ReadEnum(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelQuestRewardReceiveResp : pb::IMessage<TravelerDuelQuestRewardReceiveResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelQuestRewardReceiveResp> _parser = new pb::MessageParser<TravelerDuelQuestRewardReceiveResp>(() => new TravelerDuelQuestRewardReceiveResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelQuestRewardReceiveResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelQuestRewardReceiveReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuestRewardReceiveResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuestRewardReceiveResp(TravelerDuelQuestRewardReceiveResp other) : this() { + questRewards_ = other.questRewards_.Clone(); + change_ = other.change_ != null ? other.change_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuestRewardReceiveResp Clone() { + return new TravelerDuelQuestRewardReceiveResp(this); + } + + /// <summary>Field number for the "QuestRewards" field.</summary> + public const int QuestRewardsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.ItemTpl> _repeated_questRewards_codec + = pb::FieldCodec.ForMessage(10, global::Proto.ItemTpl.Parser); + private readonly pbc::RepeatedField<global::Proto.ItemTpl> questRewards_ = new pbc::RepeatedField<global::Proto.ItemTpl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.ItemTpl> QuestRewards { + get { return questRewards_; } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 2; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelQuestRewardReceiveResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelQuestRewardReceiveResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!questRewards_.Equals(other.questRewards_)) return false; + if (!object.Equals(Change, other.Change)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= questRewards_.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + questRewards_.WriteTo(output, _repeated_questRewards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + questRewards_.WriteTo(ref output, _repeated_questRewards_codec); + if (change_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Change); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += questRewards_.CalculateSize(_repeated_questRewards_codec); + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelQuestRewardReceiveResp other) { + if (other == null) { + return; + } + questRewards_.Add(other.questRewards_); + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + questRewards_.AddEntriesFrom(input, _repeated_questRewards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + questRewards_.AddEntriesFrom(ref input, _repeated_questRewards_codec); + break; + } + case 18: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelRank.cs b/Novaria.Common/Protos/TravelerDuelRank.cs new file mode 100644 index 0000000..54a1ed1 --- /dev/null +++ b/Novaria.Common/Protos/TravelerDuelRank.cs @@ -0,0 +1,1256 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: traveler_duel_rank.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 Proto { + + /// <summary>Holder for reflection information generated from traveler_duel_rank.proto</summary> + public static partial class TravelerDuelRankReflection { + + #region Descriptor + /// <summary>File descriptor for traveler_duel_rank.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TravelerDuelRankReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Chh0cmF2ZWxlcl9kdWVsX3JhbmsucHJvdG8SBXByb3RvGgxwdWJsaWMucHJv", + "dG8itgEKFFRyYXZlbGVyRHVlbFJhbmtJbmZvEhcKD0xhc3RSZWZyZXNoVGlt", + "ZRgBIAEoAxIpCgRTZWxmGAIgASgLMhsucHJvdG8uVHJhdmVsZXJEdWVsUmFu", + "a0RhdGESKQoEUmFuaxgDIAMoCzIbLnByb3RvLlRyYXZlbGVyRHVlbFJhbmtE", + "YXRhEhkKEVVwbG9hZFJlbWFpblRpbWVzGAQgASgNEhQKC05leHRQYWNrYWdl", + "GP8PIAEoDCJHChRUcmF2ZWxlckR1ZWxSYW5rQ2hhchIKCgJJZBgBIAEoDRIN", + "CgVMZXZlbBgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwimQIKFFRyYXZl", + "bGVyRHVlbFJhbmtEYXRhEgoKAklkGAEgASgEEhAKCE5pY2tOYW1lGAIgASgJ", + "EhIKCldvcmxkQ2xhc3MYAyABKA0SEAoISGVhZEljb24YBCABKA0SDQoFU2Nv", + "cmUYBSABKA0SDAoEUmFuaxgGIAEoDRISCgpCdWlsZFNjb3JlGAcgASgNEhMK", + "C1RpdGxlUHJlZml4GAggASgNEhMKC1RpdGxlU3VmZml4GAkgASgNEioKBUNo", + "YXJzGAogAygLMhsucHJvdG8uVHJhdmVsZXJEdWVsUmFua0NoYXISIAoGSG9u", + "b3JzGA8gAygLMhAucHJvdG8uSG9ub3JJbmZvEhQKC05leHRQYWNrYWdlGP8P", + "IAEoDFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelRankInfo), global::Proto.TravelerDuelRankInfo.Parser, new[]{ "LastRefreshTime", "Self", "Rank", "UploadRemainTimes", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelRankChar), global::Proto.TravelerDuelRankChar.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelRankData), global::Proto.TravelerDuelRankData.Parser, new[]{ "Id", "NickName", "WorldClass", "HeadIcon", "Score", "Rank", "BuildScore", "TitlePrefix", "TitleSuffix", "Chars", "Honors", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelRankInfo : pb::IMessage<TravelerDuelRankInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelRankInfo> _parser = new pb::MessageParser<TravelerDuelRankInfo>(() => new TravelerDuelRankInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelRankInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankReflection.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 TravelerDuelRankInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankInfo(TravelerDuelRankInfo other) : this() { + lastRefreshTime_ = other.lastRefreshTime_; + self_ = other.self_ != null ? other.self_.Clone() : null; + rank_ = other.rank_.Clone(); + uploadRemainTimes_ = other.uploadRemainTimes_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankInfo Clone() { + return new TravelerDuelRankInfo(this); + } + + /// <summary>Field number for the "LastRefreshTime" field.</summary> + public const int LastRefreshTimeFieldNumber = 1; + private long lastRefreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastRefreshTime { + get { return lastRefreshTime_; } + set { + lastRefreshTime_ = value; + } + } + + /// <summary>Field number for the "Self" field.</summary> + public const int SelfFieldNumber = 2; + private global::Proto.TravelerDuelRankData self_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TravelerDuelRankData Self { + get { return self_; } + set { + self_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelRankData> _repeated_rank_codec + = pb::FieldCodec.ForMessage(26, global::Proto.TravelerDuelRankData.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelRankData> rank_ = new pbc::RepeatedField<global::Proto.TravelerDuelRankData>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelRankData> Rank { + get { return rank_; } + } + + /// <summary>Field number for the "UploadRemainTimes" field.</summary> + public const int UploadRemainTimesFieldNumber = 4; + private uint uploadRemainTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint UploadRemainTimes { + get { return uploadRemainTimes_; } + set { + uploadRemainTimes_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelRankInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelRankInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (LastRefreshTime != other.LastRefreshTime) return false; + if (!object.Equals(Self, other.Self)) return false; + if(!rank_.Equals(other.rank_)) return false; + if (UploadRemainTimes != other.UploadRemainTimes) return false; + if (NextPackage != other.NextPackage) 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 (LastRefreshTime != 0L) hash ^= LastRefreshTime.GetHashCode(); + if (self_ != null) hash ^= Self.GetHashCode(); + hash ^= rank_.GetHashCode(); + if (UploadRemainTimes != 0) hash ^= UploadRemainTimes.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (LastRefreshTime != 0L) { + output.WriteRawTag(8); + output.WriteInt64(LastRefreshTime); + } + if (self_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Self); + } + rank_.WriteTo(output, _repeated_rank_codec); + if (UploadRemainTimes != 0) { + output.WriteRawTag(32); + output.WriteUInt32(UploadRemainTimes); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (LastRefreshTime != 0L) { + output.WriteRawTag(8); + output.WriteInt64(LastRefreshTime); + } + if (self_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Self); + } + rank_.WriteTo(ref output, _repeated_rank_codec); + if (UploadRemainTimes != 0) { + output.WriteRawTag(32); + output.WriteUInt32(UploadRemainTimes); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (LastRefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastRefreshTime); + } + if (self_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Self); + } + size += rank_.CalculateSize(_repeated_rank_codec); + if (UploadRemainTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UploadRemainTimes); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelRankInfo other) { + if (other == null) { + return; + } + if (other.LastRefreshTime != 0L) { + LastRefreshTime = other.LastRefreshTime; + } + if (other.self_ != null) { + if (self_ == null) { + Self = new global::Proto.TravelerDuelRankData(); + } + Self.MergeFrom(other.Self); + } + rank_.Add(other.rank_); + if (other.UploadRemainTimes != 0) { + UploadRemainTimes = other.UploadRemainTimes; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + LastRefreshTime = input.ReadInt64(); + break; + } + case 18: { + if (self_ == null) { + Self = new global::Proto.TravelerDuelRankData(); + } + input.ReadMessage(Self); + break; + } + case 26: { + rank_.AddEntriesFrom(input, _repeated_rank_codec); + break; + } + case 32: { + UploadRemainTimes = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + LastRefreshTime = input.ReadInt64(); + break; + } + case 18: { + if (self_ == null) { + Self = new global::Proto.TravelerDuelRankData(); + } + input.ReadMessage(Self); + break; + } + case 26: { + rank_.AddEntriesFrom(ref input, _repeated_rank_codec); + break; + } + case 32: { + UploadRemainTimes = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelRankChar : pb::IMessage<TravelerDuelRankChar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelRankChar> _parser = new pb::MessageParser<TravelerDuelRankChar>(() => new TravelerDuelRankChar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelRankChar> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankChar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankChar(TravelerDuelRankChar other) : this() { + id_ = other.id_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankChar Clone() { + return new TravelerDuelRankChar(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelRankChar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelRankChar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelRankChar other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelRankData : pb::IMessage<TravelerDuelRankData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelRankData> _parser = new pb::MessageParser<TravelerDuelRankData>(() => new TravelerDuelRankData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelRankData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankData(TravelerDuelRankData other) : this() { + id_ = other.id_; + nickName_ = other.nickName_; + worldClass_ = other.worldClass_; + headIcon_ = other.headIcon_; + score_ = other.score_; + rank_ = other.rank_; + buildScore_ = other.buildScore_; + titlePrefix_ = other.titlePrefix_; + titleSuffix_ = other.titleSuffix_; + chars_ = other.chars_.Clone(); + honors_ = other.honors_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelRankData Clone() { + return new TravelerDuelRankData(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "NickName" field.</summary> + public const int NickNameFieldNumber = 2; + private string nickName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 3; + private uint worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "HeadIcon" field.</summary> + public const int HeadIconFieldNumber = 4; + private uint headIcon_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint HeadIcon { + get { return headIcon_; } + set { + headIcon_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 5; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 6; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "BuildScore" field.</summary> + public const int BuildScoreFieldNumber = 7; + private uint buildScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BuildScore { + get { return buildScore_; } + set { + buildScore_ = value; + } + } + + /// <summary>Field number for the "TitlePrefix" field.</summary> + public const int TitlePrefixFieldNumber = 8; + private uint titlePrefix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitlePrefix { + get { return titlePrefix_; } + set { + titlePrefix_ = value; + } + } + + /// <summary>Field number for the "TitleSuffix" field.</summary> + public const int TitleSuffixFieldNumber = 9; + private uint titleSuffix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleSuffix { + get { return titleSuffix_; } + set { + titleSuffix_ = value; + } + } + + /// <summary>Field number for the "Chars" field.</summary> + public const int CharsFieldNumber = 10; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelRankChar> _repeated_chars_codec + = pb::FieldCodec.ForMessage(82, global::Proto.TravelerDuelRankChar.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelRankChar> chars_ = new pbc::RepeatedField<global::Proto.TravelerDuelRankChar>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelRankChar> Chars { + get { return chars_; } + } + + /// <summary>Field number for the "Honors" field.</summary> + public const int HonorsFieldNumber = 15; + private static readonly pb::FieldCodec<global::Proto.HonorInfo> _repeated_honors_codec + = pb::FieldCodec.ForMessage(122, global::Proto.HonorInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.HonorInfo> honors_ = new pbc::RepeatedField<global::Proto.HonorInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.HonorInfo> Honors { + get { return honors_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelRankData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelRankData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NickName != other.NickName) return false; + if (WorldClass != other.WorldClass) return false; + if (HeadIcon != other.HeadIcon) return false; + if (Score != other.Score) return false; + if (Rank != other.Rank) return false; + if (BuildScore != other.BuildScore) return false; + if (TitlePrefix != other.TitlePrefix) return false; + if (TitleSuffix != other.TitleSuffix) return false; + if(!chars_.Equals(other.chars_)) return false; + if(!honors_.Equals(other.honors_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (BuildScore != 0) hash ^= BuildScore.GetHashCode(); + if (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); + if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); + hash ^= chars_.GetHashCode(); + hash ^= honors_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldClass); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Rank); + } + if (BuildScore != 0) { + output.WriteRawTag(56); + output.WriteUInt32(BuildScore); + } + if (TitlePrefix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(72); + output.WriteUInt32(TitleSuffix); + } + chars_.WriteTo(output, _repeated_chars_codec); + honors_.WriteTo(output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldClass); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Rank); + } + if (BuildScore != 0) { + output.WriteRawTag(56); + output.WriteUInt32(BuildScore); + } + if (TitlePrefix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(72); + output.WriteUInt32(TitleSuffix); + } + chars_.WriteTo(ref output, _repeated_chars_codec); + honors_.WriteTo(ref output, _repeated_honors_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldClass); + } + if (HeadIcon != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (BuildScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuildScore); + } + if (TitlePrefix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); + } + if (TitleSuffix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); + } + size += chars_.CalculateSize(_repeated_chars_codec); + size += honors_.CalculateSize(_repeated_honors_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelRankData other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.HeadIcon != 0) { + HeadIcon = other.HeadIcon; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.BuildScore != 0) { + BuildScore = other.BuildScore; + } + if (other.TitlePrefix != 0) { + TitlePrefix = other.TitlePrefix; + } + if (other.TitleSuffix != 0) { + TitleSuffix = other.TitleSuffix; + } + chars_.Add(other.chars_); + honors_.Add(other.honors_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + WorldClass = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 48: { + Rank = input.ReadUInt32(); + break; + } + case 56: { + BuildScore = input.ReadUInt32(); + break; + } + case 64: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 72: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 82: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 122: { + honors_.AddEntriesFrom(input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + WorldClass = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 48: { + Rank = input.ReadUInt32(); + break; + } + case 56: { + BuildScore = input.ReadUInt32(); + break; + } + case 64: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 72: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 82: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 122: { + honors_.AddEntriesFrom(ref input, _repeated_honors_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/TravelerDuelRankUpload.cs b/Novaria.Common/Protos/TravelerDuelRankUpload.cs new file mode 100644 index 0000000..22e1b5b --- /dev/null +++ b/Novaria.Common/Protos/TravelerDuelRankUpload.cs @@ -0,0 +1,2361 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: traveler_duel_rank_upload.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 Proto { + + /// <summary>Holder for reflection information generated from traveler_duel_rank_upload.proto</summary> + public static partial class TravelerDuelRankUploadReflection { + + #region Descriptor + /// <summary>File descriptor for traveler_duel_rank_upload.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TravelerDuelRankUploadReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch90cmF2ZWxlcl9kdWVsX3JhbmtfdXBsb2FkLnByb3RvEgVwcm90bxoMcHVi", + "bGljLnByb3RvInQKGVRyYXZlbGVyRHVlbEJhdHRsZVNhbXBsZXMSLwoGU2Ft", + "cGxlGAEgAygLMh8ucHJvdG8uVHJhdmVsZXJEdWVsQmF0dGxlU2FtcGxlEhAK", + "CENoZWNrc3VtGAIgASgEEhQKC05leHRQYWNrYWdlGP8PIAEoDCKMAQoWVHJh", + "dmVsZXJEdWVsQmF0dGxlRGF0YRIpCgRNZXRhGAEgASgLMhsucHJvdG8uVHJh", + "dmVsZXJEdWVsTWV0YUluZm8SMQoHU2FtcGxlcxgCIAEoCzIgLnByb3RvLlRy", + "YXZlbGVyRHVlbEJhdHRsZVNhbXBsZXMSFAoLTmV4dFBhY2thZ2UY/w8gASgM", + "IswBChRUcmF2ZWxlckR1ZWxNZXRhSW5mbxIKCgJJZBgBIAEoBBIPCgdWZXJz", + "aW9uGAIgASgNEgwKBFpvbmUYAyABKAkSEQoJTWlzc2lvbklkGAQgASgNEg4K", + "BlNlYXNvbhgFIAEoDRIQCghQbGF5ZXJJZBgGIAEoBBIQCghOaWNrbmFtZRgH", + "IAEoCRIQCghEdXJhdGlvbhgIIAEoDRIMCgRSYW5rGAkgASgNEgwKBFRpbWUY", + "CiABKAMSFAoLTmV4dFBhY2thZ2UY/w8gASgMIrYDChhUcmF2ZWxlckR1ZWxC", + "YXR0bGVTYW1wbGUSEgoKRnJvbVNyY0F0axgBIAEoBRIeChZGcm9tUGVya0lu", + "dGVuc2l0eVJhdGlvGAIgASgCEhgKEEZyb21TbG90RG1nUmF0aW8YAyABKAIS", + "DgoGRnJvbUVFGAQgASgCEhcKD0Zyb21HZW5EbWdSYXRpbxgFIAEoAhITCgtG", + "cm9tRG1nUGx1cxgGIAEoBRIVCg1Gcm9tQ3JpdFJhdGlvGAcgASgCEhkKEUZy", + "b21GaW5hbERtZ1JhdGlvGAggASgCEhgKEEZyb21GaW5hbERtZ1BsdXMYCSAB", + "KAUSEQoJVG9FckFtZW5kGAogASgCEhIKClRvRGVmQW1lbmQYCyABKAISGQoR", + "VG9SY2RTbG90RG1nUmF0aW8YDCABKAISDwoHVG9FRVJDRBgNIAEoAhIYChBU", + "b0dlbkRtZ1JjZFJhdGlvGA4gASgCEhQKDFRvRG1nUGx1c1JjZBgPIAEoAhIL", + "CgNEbWcYECABKAUSEAoIQ3JpdFJhdGUYESABKAISCgoCSHAYEiABKAUSFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMIksKClJhbmtDaGFuZ2USCwoDT2xkGAEgASgN", + "EgsKA05ldxgCIAEoDRINCgVUb2tlbhgDIAEoCRIUCgtOZXh0UGFja2FnZRj/", + "DyABKAxQAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBattleSamples), global::Proto.TravelerDuelBattleSamples.Parser, new[]{ "Sample", "Checksum", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBattleData), global::Proto.TravelerDuelBattleData.Parser, new[]{ "Meta", "Samples", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelMetaInfo), global::Proto.TravelerDuelMetaInfo.Parser, new[]{ "Id", "Version", "Zone", "MissionId", "Season", "PlayerId", "Nickname", "Duration", "Rank", "Time", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.TravelerDuelBattleSample), global::Proto.TravelerDuelBattleSample.Parser, new[]{ "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.RankChange), global::Proto.RankChange.Parser, new[]{ "Old", "New", "Token", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelBattleSamples : pb::IMessage<TravelerDuelBattleSamples> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelBattleSamples> _parser = new pb::MessageParser<TravelerDuelBattleSamples>(() => new TravelerDuelBattleSamples()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelBattleSamples> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankUploadReflection.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 TravelerDuelBattleSamples() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleSamples(TravelerDuelBattleSamples other) : this() { + sample_ = other.sample_.Clone(); + checksum_ = other.checksum_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleSamples Clone() { + return new TravelerDuelBattleSamples(this); + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(10, global::Proto.TravelerDuelBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "Checksum" field.</summary> + public const int ChecksumFieldNumber = 2; + private ulong checksum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Checksum { + get { return checksum_; } + set { + checksum_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelBattleSamples); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelBattleSamples other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!sample_.Equals(other.sample_)) return false; + if (Checksum != other.Checksum) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= sample_.GetHashCode(); + if (Checksum != 0UL) hash ^= Checksum.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + sample_.WriteTo(output, _repeated_sample_codec); + if (Checksum != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Checksum); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + sample_.WriteTo(ref output, _repeated_sample_codec); + if (Checksum != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(Checksum); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += sample_.CalculateSize(_repeated_sample_codec); + if (Checksum != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Checksum); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelBattleSamples other) { + if (other == null) { + return; + } + sample_.Add(other.sample_); + if (other.Checksum != 0UL) { + Checksum = other.Checksum; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 16: { + Checksum = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 16: { + Checksum = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelBattleData : pb::IMessage<TravelerDuelBattleData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelBattleData> _parser = new pb::MessageParser<TravelerDuelBattleData>(() => new TravelerDuelBattleData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelBattleData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleData(TravelerDuelBattleData other) : this() { + meta_ = other.meta_ != null ? other.meta_.Clone() : null; + samples_ = other.samples_ != null ? other.samples_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleData Clone() { + return new TravelerDuelBattleData(this); + } + + /// <summary>Field number for the "Meta" field.</summary> + public const int MetaFieldNumber = 1; + private global::Proto.TravelerDuelMetaInfo meta_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TravelerDuelMetaInfo Meta { + get { return meta_; } + set { + meta_ = value; + } + } + + /// <summary>Field number for the "Samples" field.</summary> + public const int SamplesFieldNumber = 2; + private global::Proto.TravelerDuelBattleSamples samples_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.TravelerDuelBattleSamples Samples { + get { return samples_; } + set { + samples_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelBattleData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelBattleData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Meta, other.Meta)) return false; + if (!object.Equals(Samples, other.Samples)) return false; + if (NextPackage != other.NextPackage) 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 (meta_ != null) hash ^= Meta.GetHashCode(); + if (samples_ != null) hash ^= Samples.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (samples_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Samples); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (samples_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Samples); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Meta); + } + if (samples_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Samples); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelBattleData other) { + if (other == null) { + return; + } + if (other.meta_ != null) { + if (meta_ == null) { + Meta = new global::Proto.TravelerDuelMetaInfo(); + } + Meta.MergeFrom(other.Meta); + } + if (other.samples_ != null) { + if (samples_ == null) { + Samples = new global::Proto.TravelerDuelBattleSamples(); + } + Samples.MergeFrom(other.Samples); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (meta_ == null) { + Meta = new global::Proto.TravelerDuelMetaInfo(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (samples_ == null) { + Samples = new global::Proto.TravelerDuelBattleSamples(); + } + input.ReadMessage(Samples); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (meta_ == null) { + Meta = new global::Proto.TravelerDuelMetaInfo(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (samples_ == null) { + Samples = new global::Proto.TravelerDuelBattleSamples(); + } + input.ReadMessage(Samples); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelMetaInfo : pb::IMessage<TravelerDuelMetaInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelMetaInfo> _parser = new pb::MessageParser<TravelerDuelMetaInfo>(() => new TravelerDuelMetaInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelMetaInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelMetaInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelMetaInfo(TravelerDuelMetaInfo other) : this() { + id_ = other.id_; + version_ = other.version_; + zone_ = other.zone_; + missionId_ = other.missionId_; + season_ = other.season_; + playerId_ = other.playerId_; + nickname_ = other.nickname_; + duration_ = other.duration_; + rank_ = other.rank_; + time_ = other.time_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelMetaInfo Clone() { + return new TravelerDuelMetaInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Version" field.</summary> + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// <summary>Field number for the "Zone" field.</summary> + public const int ZoneFieldNumber = 3; + private string zone_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Zone { + get { return zone_; } + set { + zone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MissionId" field.</summary> + public const int MissionIdFieldNumber = 4; + private uint missionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MissionId { + get { return missionId_; } + set { + missionId_ = value; + } + } + + /// <summary>Field number for the "Season" field.</summary> + public const int SeasonFieldNumber = 5; + private uint season_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Season { + get { return season_; } + set { + season_ = value; + } + } + + /// <summary>Field number for the "PlayerId" field.</summary> + public const int PlayerIdFieldNumber = 6; + private ulong playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// <summary>Field number for the "Nickname" field.</summary> + public const int NicknameFieldNumber = 7; + private string nickname_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Nickname { + get { return nickname_; } + set { + nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Duration" field.</summary> + public const int DurationFieldNumber = 8; + private uint duration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 9; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 10; + private long time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Time { + get { return time_; } + set { + time_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelMetaInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelMetaInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Version != other.Version) return false; + if (Zone != other.Zone) return false; + if (MissionId != other.MissionId) return false; + if (Season != other.Season) return false; + if (PlayerId != other.PlayerId) return false; + if (Nickname != other.Nickname) return false; + if (Duration != other.Duration) return false; + if (Rank != other.Rank) return false; + if (Time != other.Time) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (Zone.Length != 0) hash ^= Zone.GetHashCode(); + if (MissionId != 0) hash ^= MissionId.GetHashCode(); + if (Season != 0) hash ^= Season.GetHashCode(); + if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); + if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); + if (Duration != 0) hash ^= Duration.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (Time != 0L) hash ^= Time.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (Zone.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Zone); + } + if (MissionId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(MissionId); + } + if (Season != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Season); + } + if (PlayerId != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(PlayerId); + } + if (Nickname.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Nickname); + } + if (Duration != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Duration); + } + if (Rank != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Rank); + } + if (Time != 0L) { + output.WriteRawTag(80); + output.WriteInt64(Time); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + if (Zone.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Zone); + } + if (MissionId != 0) { + output.WriteRawTag(32); + output.WriteUInt32(MissionId); + } + if (Season != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Season); + } + if (PlayerId != 0UL) { + output.WriteRawTag(48); + output.WriteUInt64(PlayerId); + } + if (Nickname.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Nickname); + } + if (Duration != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Duration); + } + if (Rank != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Rank); + } + if (Time != 0L) { + output.WriteRawTag(80); + output.WriteInt64(Time); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + if (Zone.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Zone); + } + if (MissionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MissionId); + } + if (Season != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Season); + } + if (PlayerId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); + } + if (Nickname.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); + } + if (Duration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (Time != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelMetaInfo other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.Zone.Length != 0) { + Zone = other.Zone; + } + if (other.MissionId != 0) { + MissionId = other.MissionId; + } + if (other.Season != 0) { + Season = other.Season; + } + if (other.PlayerId != 0UL) { + PlayerId = other.PlayerId; + } + if (other.Nickname.Length != 0) { + Nickname = other.Nickname; + } + if (other.Duration != 0) { + Duration = other.Duration; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.Time != 0L) { + Time = other.Time; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 26: { + Zone = input.ReadString(); + break; + } + case 32: { + MissionId = input.ReadUInt32(); + break; + } + case 40: { + Season = input.ReadUInt32(); + break; + } + case 48: { + PlayerId = input.ReadUInt64(); + break; + } + case 58: { + Nickname = input.ReadString(); + break; + } + case 64: { + Duration = input.ReadUInt32(); + break; + } + case 72: { + Rank = input.ReadUInt32(); + break; + } + case 80: { + Time = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 26: { + Zone = input.ReadString(); + break; + } + case 32: { + MissionId = input.ReadUInt32(); + break; + } + case 40: { + Season = input.ReadUInt32(); + break; + } + case 48: { + PlayerId = input.ReadUInt64(); + break; + } + case 58: { + Nickname = input.ReadString(); + break; + } + case 64: { + Duration = input.ReadUInt32(); + break; + } + case 72: { + Rank = input.ReadUInt32(); + break; + } + case 80: { + Time = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelBattleSample : pb::IMessage<TravelerDuelBattleSample> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelBattleSample> _parser = new pb::MessageParser<TravelerDuelBattleSample>(() => new TravelerDuelBattleSample()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelBattleSample> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleSample() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleSample(TravelerDuelBattleSample other) : this() { + fromSrcAtk_ = other.fromSrcAtk_; + fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; + fromSlotDmgRatio_ = other.fromSlotDmgRatio_; + fromEE_ = other.fromEE_; + fromGenDmgRatio_ = other.fromGenDmgRatio_; + fromDmgPlus_ = other.fromDmgPlus_; + fromCritRatio_ = other.fromCritRatio_; + fromFinalDmgRatio_ = other.fromFinalDmgRatio_; + fromFinalDmgPlus_ = other.fromFinalDmgPlus_; + toErAmend_ = other.toErAmend_; + toDefAmend_ = other.toDefAmend_; + toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; + toEERCD_ = other.toEERCD_; + toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; + toDmgPlusRcd_ = other.toDmgPlusRcd_; + dmg_ = other.dmg_; + critRate_ = other.critRate_; + hp_ = other.hp_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBattleSample Clone() { + return new TravelerDuelBattleSample(this); + } + + /// <summary>Field number for the "FromSrcAtk" field.</summary> + public const int FromSrcAtkFieldNumber = 1; + private int fromSrcAtk_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSrcAtk { + get { return fromSrcAtk_; } + set { + fromSrcAtk_ = value; + } + } + + /// <summary>Field number for the "FromPerkIntensityRatio" field.</summary> + public const int FromPerkIntensityRatioFieldNumber = 2; + private float fromPerkIntensityRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromPerkIntensityRatio { + get { return fromPerkIntensityRatio_; } + set { + fromPerkIntensityRatio_ = value; + } + } + + /// <summary>Field number for the "FromSlotDmgRatio" field.</summary> + public const int FromSlotDmgRatioFieldNumber = 3; + private float fromSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromSlotDmgRatio { + get { return fromSlotDmgRatio_; } + set { + fromSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "FromEE" field.</summary> + public const int FromEEFieldNumber = 4; + private float fromEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromEE { + get { return fromEE_; } + set { + fromEE_ = value; + } + } + + /// <summary>Field number for the "FromGenDmgRatio" field.</summary> + public const int FromGenDmgRatioFieldNumber = 5; + private float fromGenDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromGenDmgRatio { + get { return fromGenDmgRatio_; } + set { + fromGenDmgRatio_ = value; + } + } + + /// <summary>Field number for the "FromDmgPlus" field.</summary> + public const int FromDmgPlusFieldNumber = 6; + private int fromDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromDmgPlus { + get { return fromDmgPlus_; } + set { + fromDmgPlus_ = value; + } + } + + /// <summary>Field number for the "FromCritRatio" field.</summary> + public const int FromCritRatioFieldNumber = 7; + private float fromCritRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromCritRatio { + get { return fromCritRatio_; } + set { + fromCritRatio_ = value; + } + } + + /// <summary>Field number for the "FromFinalDmgRatio" field.</summary> + public const int FromFinalDmgRatioFieldNumber = 8; + private float fromFinalDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FromFinalDmgRatio { + get { return fromFinalDmgRatio_; } + set { + fromFinalDmgRatio_ = value; + } + } + + /// <summary>Field number for the "FromFinalDmgPlus" field.</summary> + public const int FromFinalDmgPlusFieldNumber = 9; + private int fromFinalDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgPlus { + get { return fromFinalDmgPlus_; } + set { + fromFinalDmgPlus_ = value; + } + } + + /// <summary>Field number for the "ToErAmend" field.</summary> + public const int ToErAmendFieldNumber = 10; + private float toErAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToErAmend { + get { return toErAmend_; } + set { + toErAmend_ = value; + } + } + + /// <summary>Field number for the "ToDefAmend" field.</summary> + public const int ToDefAmendFieldNumber = 11; + private float toDefAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToDefAmend { + get { return toDefAmend_; } + set { + toDefAmend_ = value; + } + } + + /// <summary>Field number for the "ToRcdSlotDmgRatio" field.</summary> + public const int ToRcdSlotDmgRatioFieldNumber = 12; + private float toRcdSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToRcdSlotDmgRatio { + get { return toRcdSlotDmgRatio_; } + set { + toRcdSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "ToEERCD" field.</summary> + public const int ToEERCDFieldNumber = 13; + private float toEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToEERCD { + get { return toEERCD_; } + set { + toEERCD_ = value; + } + } + + /// <summary>Field number for the "ToGenDmgRcdRatio" field.</summary> + public const int ToGenDmgRcdRatioFieldNumber = 14; + private float toGenDmgRcdRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToGenDmgRcdRatio { + get { return toGenDmgRcdRatio_; } + set { + toGenDmgRcdRatio_ = value; + } + } + + /// <summary>Field number for the "ToDmgPlusRcd" field.</summary> + public const int ToDmgPlusRcdFieldNumber = 15; + private float toDmgPlusRcd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ToDmgPlusRcd { + get { return toDmgPlusRcd_; } + set { + toDmgPlusRcd_ = value; + } + } + + /// <summary>Field number for the "Dmg" field.</summary> + public const int DmgFieldNumber = 16; + private int dmg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Dmg { + get { return dmg_; } + set { + dmg_ = value; + } + } + + /// <summary>Field number for the "CritRate" field.</summary> + public const int CritRateFieldNumber = 17; + private float critRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float CritRate { + get { return critRate_; } + set { + critRate_ = value; + } + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 18; + private int hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 TravelerDuelBattleSample); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelBattleSample other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FromSrcAtk != other.FromSrcAtk) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromPerkIntensityRatio, other.FromPerkIntensityRatio)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromSlotDmgRatio, other.FromSlotDmgRatio)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromEE, other.FromEE)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromGenDmgRatio, other.FromGenDmgRatio)) return false; + if (FromDmgPlus != other.FromDmgPlus) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromCritRatio, other.FromCritRatio)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FromFinalDmgRatio, other.FromFinalDmgRatio)) return false; + if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToErAmend, other.ToErAmend)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToDefAmend, other.ToDefAmend)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToRcdSlotDmgRatio, other.ToRcdSlotDmgRatio)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToEERCD, other.ToEERCD)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToGenDmgRcdRatio, other.ToGenDmgRcdRatio)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ToDmgPlusRcd, other.ToDmgPlusRcd)) return false; + if (Dmg != other.Dmg) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CritRate, other.CritRate)) return false; + if (Hp != other.Hp) return false; + if (NextPackage != other.NextPackage) 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 (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); + if (FromPerkIntensityRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromPerkIntensityRatio); + if (FromSlotDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromSlotDmgRatio); + if (FromEE != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromEE); + if (FromGenDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromGenDmgRatio); + if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); + if (FromCritRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromCritRatio); + if (FromFinalDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FromFinalDmgRatio); + if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); + if (ToErAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToErAmend); + if (ToDefAmend != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToDefAmend); + if (ToRcdSlotDmgRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToRcdSlotDmgRatio); + if (ToEERCD != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToEERCD); + if (ToGenDmgRcdRatio != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToGenDmgRcdRatio); + if (ToDmgPlusRcd != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ToDmgPlusRcd); + if (Dmg != 0) hash ^= Dmg.GetHashCode(); + if (CritRate != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CritRate); + if (Hp != 0) hash ^= Hp.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (FromSrcAtk != 0) { + output.WriteRawTag(8); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0F) { + output.WriteRawTag(21); + output.WriteFloat(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0F) { + output.WriteRawTag(29); + output.WriteFloat(FromSlotDmgRatio); + } + if (FromEE != 0F) { + output.WriteRawTag(37); + output.WriteFloat(FromEE); + } + if (FromGenDmgRatio != 0F) { + output.WriteRawTag(45); + output.WriteFloat(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0F) { + output.WriteRawTag(61); + output.WriteFloat(FromCritRatio); + } + if (FromFinalDmgRatio != 0F) { + output.WriteRawTag(69); + output.WriteFloat(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0F) { + output.WriteRawTag(85); + output.WriteFloat(ToErAmend); + } + if (ToDefAmend != 0F) { + output.WriteRawTag(93); + output.WriteFloat(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0F) { + output.WriteRawTag(101); + output.WriteFloat(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0F) { + output.WriteRawTag(109); + output.WriteFloat(ToEERCD); + } + if (ToGenDmgRcdRatio != 0F) { + output.WriteRawTag(117); + output.WriteFloat(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0F) { + output.WriteRawTag(125); + output.WriteFloat(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0F) { + output.WriteRawTag(141, 1); + output.WriteFloat(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Hp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (FromSrcAtk != 0) { + output.WriteRawTag(8); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0F) { + output.WriteRawTag(21); + output.WriteFloat(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0F) { + output.WriteRawTag(29); + output.WriteFloat(FromSlotDmgRatio); + } + if (FromEE != 0F) { + output.WriteRawTag(37); + output.WriteFloat(FromEE); + } + if (FromGenDmgRatio != 0F) { + output.WriteRawTag(45); + output.WriteFloat(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0F) { + output.WriteRawTag(61); + output.WriteFloat(FromCritRatio); + } + if (FromFinalDmgRatio != 0F) { + output.WriteRawTag(69); + output.WriteFloat(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0F) { + output.WriteRawTag(85); + output.WriteFloat(ToErAmend); + } + if (ToDefAmend != 0F) { + output.WriteRawTag(93); + output.WriteFloat(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0F) { + output.WriteRawTag(101); + output.WriteFloat(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0F) { + output.WriteRawTag(109); + output.WriteFloat(ToEERCD); + } + if (ToGenDmgRcdRatio != 0F) { + output.WriteRawTag(117); + output.WriteFloat(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0F) { + output.WriteRawTag(125); + output.WriteFloat(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0F) { + output.WriteRawTag(141, 1); + output.WriteFloat(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Hp); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (FromSrcAtk != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0F) { + size += 1 + 4; + } + if (FromSlotDmgRatio != 0F) { + size += 1 + 4; + } + if (FromEE != 0F) { + size += 1 + 4; + } + if (FromGenDmgRatio != 0F) { + size += 1 + 4; + } + if (FromDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); + } + if (FromCritRatio != 0F) { + size += 1 + 4; + } + if (FromFinalDmgRatio != 0F) { + size += 1 + 4; + } + if (FromFinalDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); + } + if (ToErAmend != 0F) { + size += 1 + 4; + } + if (ToDefAmend != 0F) { + size += 1 + 4; + } + if (ToRcdSlotDmgRatio != 0F) { + size += 1 + 4; + } + if (ToEERCD != 0F) { + size += 1 + 4; + } + if (ToGenDmgRcdRatio != 0F) { + size += 1 + 4; + } + if (ToDmgPlusRcd != 0F) { + size += 1 + 4; + } + if (Dmg != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); + } + if (CritRate != 0F) { + size += 2 + 4; + } + if (Hp != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelBattleSample other) { + if (other == null) { + return; + } + if (other.FromSrcAtk != 0) { + FromSrcAtk = other.FromSrcAtk; + } + if (other.FromPerkIntensityRatio != 0F) { + FromPerkIntensityRatio = other.FromPerkIntensityRatio; + } + if (other.FromSlotDmgRatio != 0F) { + FromSlotDmgRatio = other.FromSlotDmgRatio; + } + if (other.FromEE != 0F) { + FromEE = other.FromEE; + } + if (other.FromGenDmgRatio != 0F) { + FromGenDmgRatio = other.FromGenDmgRatio; + } + if (other.FromDmgPlus != 0) { + FromDmgPlus = other.FromDmgPlus; + } + if (other.FromCritRatio != 0F) { + FromCritRatio = other.FromCritRatio; + } + if (other.FromFinalDmgRatio != 0F) { + FromFinalDmgRatio = other.FromFinalDmgRatio; + } + if (other.FromFinalDmgPlus != 0) { + FromFinalDmgPlus = other.FromFinalDmgPlus; + } + if (other.ToErAmend != 0F) { + ToErAmend = other.ToErAmend; + } + if (other.ToDefAmend != 0F) { + ToDefAmend = other.ToDefAmend; + } + if (other.ToRcdSlotDmgRatio != 0F) { + ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; + } + if (other.ToEERCD != 0F) { + ToEERCD = other.ToEERCD; + } + if (other.ToGenDmgRcdRatio != 0F) { + ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; + } + if (other.ToDmgPlusRcd != 0F) { + ToDmgPlusRcd = other.ToDmgPlusRcd; + } + if (other.Dmg != 0) { + Dmg = other.Dmg; + } + if (other.CritRate != 0F) { + CritRate = other.CritRate; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 21: { + FromPerkIntensityRatio = input.ReadFloat(); + break; + } + case 29: { + FromSlotDmgRatio = input.ReadFloat(); + break; + } + case 37: { + FromEE = input.ReadFloat(); + break; + } + case 45: { + FromGenDmgRatio = input.ReadFloat(); + break; + } + case 48: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 61: { + FromCritRatio = input.ReadFloat(); + break; + } + case 69: { + FromFinalDmgRatio = input.ReadFloat(); + break; + } + case 72: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 85: { + ToErAmend = input.ReadFloat(); + break; + } + case 93: { + ToDefAmend = input.ReadFloat(); + break; + } + case 101: { + ToRcdSlotDmgRatio = input.ReadFloat(); + break; + } + case 109: { + ToEERCD = input.ReadFloat(); + break; + } + case 117: { + ToGenDmgRcdRatio = input.ReadFloat(); + break; + } + case 125: { + ToDmgPlusRcd = input.ReadFloat(); + break; + } + case 128: { + Dmg = input.ReadInt32(); + break; + } + case 141: { + CritRate = input.ReadFloat(); + break; + } + case 144: { + Hp = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 21: { + FromPerkIntensityRatio = input.ReadFloat(); + break; + } + case 29: { + FromSlotDmgRatio = input.ReadFloat(); + break; + } + case 37: { + FromEE = input.ReadFloat(); + break; + } + case 45: { + FromGenDmgRatio = input.ReadFloat(); + break; + } + case 48: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 61: { + FromCritRatio = input.ReadFloat(); + break; + } + case 69: { + FromFinalDmgRatio = input.ReadFloat(); + break; + } + case 72: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 85: { + ToErAmend = input.ReadFloat(); + break; + } + case 93: { + ToDefAmend = input.ReadFloat(); + break; + } + case 101: { + ToRcdSlotDmgRatio = input.ReadFloat(); + break; + } + case 109: { + ToEERCD = input.ReadFloat(); + break; + } + case 117: { + ToGenDmgRcdRatio = input.ReadFloat(); + break; + } + case 125: { + ToDmgPlusRcd = input.ReadFloat(); + break; + } + case 128: { + Dmg = input.ReadInt32(); + break; + } + case 141: { + CritRate = input.ReadFloat(); + break; + } + case 144: { + Hp = input.ReadInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RankChange : pb::IMessage<RankChange> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RankChange> _parser = new pb::MessageParser<RankChange>(() => new RankChange()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RankChange> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.TravelerDuelRankUploadReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankChange() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankChange(RankChange other) : this() { + old_ = other.old_; + new_ = other.new_; + token_ = other.token_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RankChange Clone() { + return new RankChange(this); + } + + /// <summary>Field number for the "Old" field.</summary> + public const int OldFieldNumber = 1; + private uint old_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Old { + get { return old_; } + set { + old_ = value; + } + } + + /// <summary>Field number for the "New" field.</summary> + public const int NewFieldNumber = 2; + private uint new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint New { + get { return new_; } + set { + new_ = value; + } + } + + /// <summary>Field number for the "Token" field.</summary> + public const int TokenFieldNumber = 3; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 RankChange); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RankChange other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Old != other.Old) return false; + if (New != other.New) return false; + if (Token != other.Token) return false; + if (NextPackage != other.NextPackage) 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 (Old != 0) hash ^= Old.GetHashCode(); + if (New != 0) hash ^= New.GetHashCode(); + if (Token.Length != 0) hash ^= Token.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (Old != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Old); + } + if (New != 0) { + output.WriteRawTag(16); + output.WriteUInt32(New); + } + if (Token.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Token); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Old != 0) { + output.WriteRawTag(8); + output.WriteUInt32(Old); + } + if (New != 0) { + output.WriteRawTag(16); + output.WriteUInt32(New); + } + if (Token.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Token); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (Old != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Old); + } + if (New != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(New); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RankChange other) { + if (other == null) { + return; + } + if (other.Old != 0) { + Old = other.Old; + } + if (other.New != 0) { + New = other.New; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + Old = input.ReadUInt32(); + break; + } + case 16: { + New = input.ReadUInt32(); + break; + } + case 26: { + Token = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Old = input.ReadUInt32(); + break; + } + case 16: { + New = input.ReadUInt32(); + break; + } + case 26: { + Token = input.ReadString(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/TrialBuild.cs b/Novaria.Common/Protos/TrialBuild.cs deleted file mode 100644 index a5910a5..0000000 --- a/Novaria.Common/Protos/TrialBuild.cs +++ /dev/null @@ -1,710 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TrialBuild.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 TrialBuild.proto</summary> - public static partial class TrialBuildReflection { - - #region Descriptor - /// <summary>File descriptor for TrialBuild.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TrialBuildReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBUcmlhbEJ1aWxkLnByb3RvIrQCCgpUcmlhbEJ1aWxkEgoKAmlkGAEgASgF", - "EgwKBG5hbWUYAiABKAkSDQoFc2NvcmUYAyABKAUSDAoEY2hhchgEIAMoBRIM", - "CgRkaXNjGAUgAygFEhEKCXBvdGVudGlhbBgGIAEoCRIaChJkaXNjX2NvbW1v", - "bl9za2lsbDEYByABKAkSGgoSZGlzY19jb21tb25fc2tpbGwyGAggASgJEhoK", - "EmRpc2NfY29tbW9uX3NraWxsMxgJIAEoCRIbChNkaXNjX3Bhc3NpdmVfc2tp", - "bGwxGAogASgJEhsKE2Rpc2NfcGFzc2l2ZV9za2lsbDIYCyABKAkSGwoTZGlz", - "Y19wYXNzaXZlX3NraWxsMxgMIAEoCRIVCg1oYXJtb255X3NraWxsGA0gASgJ", - "EgwKBG5vdGUYDiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrialBuild), global::Nova.Client.TrialBuild.Parser, new[]{ "Id", "Name", "Score", "Char", "Disc", "Potential", "DiscCommonSkill1", "DiscCommonSkill2", "DiscCommonSkill3", "DiscPassiveSkill1", "DiscPassiveSkill2", "DiscPassiveSkill3", "HarmonySkill", "Note" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TrialBuild : pb::IMessage<TrialBuild> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TrialBuild> _parser = new pb::MessageParser<TrialBuild>(() => new TrialBuild()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TrialBuild> 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.TrialBuildReflection.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 TrialBuild() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrialBuild(TrialBuild other) : this() { - id_ = other.id_; - name_ = other.name_; - score_ = other.score_; - char_ = other.char_.Clone(); - disc_ = other.disc_.Clone(); - potential_ = other.potential_; - discCommonSkill1_ = other.discCommonSkill1_; - discCommonSkill2_ = other.discCommonSkill2_; - discCommonSkill3_ = other.discCommonSkill3_; - discPassiveSkill1_ = other.discPassiveSkill1_; - discPassiveSkill2_ = other.discPassiveSkill2_; - discPassiveSkill3_ = other.discPassiveSkill3_; - harmonySkill_ = other.harmonySkill_; - note_ = other.note_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrialBuild Clone() { - return new TrialBuild(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 "score" field.</summary> - public const int ScoreFieldNumber = 3; - private int score_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Score { - get { return score_; } - set { - score_ = value; - } - } - - /// <summary>Field number for the "char" field.</summary> - public const int CharFieldNumber = 4; - private static readonly pb::FieldCodec<int> _repeated_char_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField<int> char_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Char { - get { return char_; } - } - - /// <summary>Field number for the "disc" field.</summary> - public const int DiscFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_disc_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> disc_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Disc { - get { return disc_; } - } - - /// <summary>Field number for the "potential" field.</summary> - public const int PotentialFieldNumber = 6; - private string potential_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Potential { - get { return potential_; } - set { - potential_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "disc_common_skill1" field.</summary> - public const int DiscCommonSkill1FieldNumber = 7; - private string discCommonSkill1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DiscCommonSkill1 { - get { return discCommonSkill1_; } - set { - discCommonSkill1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "disc_common_skill2" field.</summary> - public const int DiscCommonSkill2FieldNumber = 8; - private string discCommonSkill2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DiscCommonSkill2 { - get { return discCommonSkill2_; } - set { - discCommonSkill2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "disc_common_skill3" field.</summary> - public const int DiscCommonSkill3FieldNumber = 9; - private string discCommonSkill3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DiscCommonSkill3 { - get { return discCommonSkill3_; } - set { - discCommonSkill3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "disc_passive_skill1" field.</summary> - public const int DiscPassiveSkill1FieldNumber = 10; - private string discPassiveSkill1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DiscPassiveSkill1 { - get { return discPassiveSkill1_; } - set { - discPassiveSkill1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "disc_passive_skill2" field.</summary> - public const int DiscPassiveSkill2FieldNumber = 11; - private string discPassiveSkill2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DiscPassiveSkill2 { - get { return discPassiveSkill2_; } - set { - discPassiveSkill2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "disc_passive_skill3" field.</summary> - public const int DiscPassiveSkill3FieldNumber = 12; - private string discPassiveSkill3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DiscPassiveSkill3 { - get { return discPassiveSkill3_; } - set { - discPassiveSkill3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "harmony_skill" field.</summary> - public const int HarmonySkillFieldNumber = 13; - private string harmonySkill_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string HarmonySkill { - get { return harmonySkill_; } - set { - harmonySkill_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "note" field.</summary> - public const int NoteFieldNumber = 14; - private string note_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Note { - get { return note_; } - set { - note_ = 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 TrialBuild); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TrialBuild 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 (Score != other.Score) return false; - if(!char_.Equals(other.char_)) return false; - if(!disc_.Equals(other.disc_)) return false; - if (Potential != other.Potential) return false; - if (DiscCommonSkill1 != other.DiscCommonSkill1) return false; - if (DiscCommonSkill2 != other.DiscCommonSkill2) return false; - if (DiscCommonSkill3 != other.DiscCommonSkill3) return false; - if (DiscPassiveSkill1 != other.DiscPassiveSkill1) return false; - if (DiscPassiveSkill2 != other.DiscPassiveSkill2) return false; - if (DiscPassiveSkill3 != other.DiscPassiveSkill3) return false; - if (HarmonySkill != other.HarmonySkill) return false; - if (Note != other.Note) 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 (Score != 0) hash ^= Score.GetHashCode(); - hash ^= char_.GetHashCode(); - hash ^= disc_.GetHashCode(); - if (Potential.Length != 0) hash ^= Potential.GetHashCode(); - if (DiscCommonSkill1.Length != 0) hash ^= DiscCommonSkill1.GetHashCode(); - if (DiscCommonSkill2.Length != 0) hash ^= DiscCommonSkill2.GetHashCode(); - if (DiscCommonSkill3.Length != 0) hash ^= DiscCommonSkill3.GetHashCode(); - if (DiscPassiveSkill1.Length != 0) hash ^= DiscPassiveSkill1.GetHashCode(); - if (DiscPassiveSkill2.Length != 0) hash ^= DiscPassiveSkill2.GetHashCode(); - if (DiscPassiveSkill3.Length != 0) hash ^= DiscPassiveSkill3.GetHashCode(); - if (HarmonySkill.Length != 0) hash ^= HarmonySkill.GetHashCode(); - if (Note.Length != 0) hash ^= Note.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 (Score != 0) { - output.WriteRawTag(24); - output.WriteInt32(Score); - } - char_.WriteTo(output, _repeated_char_codec); - disc_.WriteTo(output, _repeated_disc_codec); - if (Potential.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Potential); - } - if (DiscCommonSkill1.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DiscCommonSkill1); - } - if (DiscCommonSkill2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(DiscCommonSkill2); - } - if (DiscCommonSkill3.Length != 0) { - output.WriteRawTag(74); - output.WriteString(DiscCommonSkill3); - } - if (DiscPassiveSkill1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(DiscPassiveSkill1); - } - if (DiscPassiveSkill2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(DiscPassiveSkill2); - } - if (DiscPassiveSkill3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(DiscPassiveSkill3); - } - if (HarmonySkill.Length != 0) { - output.WriteRawTag(106); - output.WriteString(HarmonySkill); - } - if (Note.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Note); - } - 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 (Score != 0) { - output.WriteRawTag(24); - output.WriteInt32(Score); - } - char_.WriteTo(ref output, _repeated_char_codec); - disc_.WriteTo(ref output, _repeated_disc_codec); - if (Potential.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Potential); - } - if (DiscCommonSkill1.Length != 0) { - output.WriteRawTag(58); - output.WriteString(DiscCommonSkill1); - } - if (DiscCommonSkill2.Length != 0) { - output.WriteRawTag(66); - output.WriteString(DiscCommonSkill2); - } - if (DiscCommonSkill3.Length != 0) { - output.WriteRawTag(74); - output.WriteString(DiscCommonSkill3); - } - if (DiscPassiveSkill1.Length != 0) { - output.WriteRawTag(82); - output.WriteString(DiscPassiveSkill1); - } - if (DiscPassiveSkill2.Length != 0) { - output.WriteRawTag(90); - output.WriteString(DiscPassiveSkill2); - } - if (DiscPassiveSkill3.Length != 0) { - output.WriteRawTag(98); - output.WriteString(DiscPassiveSkill3); - } - if (HarmonySkill.Length != 0) { - output.WriteRawTag(106); - output.WriteString(HarmonySkill); - } - if (Note.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Note); - } - 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 (Score != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score); - } - size += char_.CalculateSize(_repeated_char_codec); - size += disc_.CalculateSize(_repeated_disc_codec); - if (Potential.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Potential); - } - if (DiscCommonSkill1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscCommonSkill1); - } - if (DiscCommonSkill2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscCommonSkill2); - } - if (DiscCommonSkill3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscCommonSkill3); - } - if (DiscPassiveSkill1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscPassiveSkill1); - } - if (DiscPassiveSkill2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscPassiveSkill2); - } - if (DiscPassiveSkill3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscPassiveSkill3); - } - if (HarmonySkill.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(HarmonySkill); - } - if (Note.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TrialBuild other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Score != 0) { - Score = other.Score; - } - char_.Add(other.char_); - disc_.Add(other.disc_); - if (other.Potential.Length != 0) { - Potential = other.Potential; - } - if (other.DiscCommonSkill1.Length != 0) { - DiscCommonSkill1 = other.DiscCommonSkill1; - } - if (other.DiscCommonSkill2.Length != 0) { - DiscCommonSkill2 = other.DiscCommonSkill2; - } - if (other.DiscCommonSkill3.Length != 0) { - DiscCommonSkill3 = other.DiscCommonSkill3; - } - if (other.DiscPassiveSkill1.Length != 0) { - DiscPassiveSkill1 = other.DiscPassiveSkill1; - } - if (other.DiscPassiveSkill2.Length != 0) { - DiscPassiveSkill2 = other.DiscPassiveSkill2; - } - if (other.DiscPassiveSkill3.Length != 0) { - DiscPassiveSkill3 = other.DiscPassiveSkill3; - } - if (other.HarmonySkill.Length != 0) { - HarmonySkill = other.HarmonySkill; - } - if (other.Note.Length != 0) { - Note = other.Note; - } - _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: { - Score = input.ReadInt32(); - break; - } - case 34: - case 32: { - char_.AddEntriesFrom(input, _repeated_char_codec); - break; - } - case 42: - case 40: { - disc_.AddEntriesFrom(input, _repeated_disc_codec); - break; - } - case 50: { - Potential = input.ReadString(); - break; - } - case 58: { - DiscCommonSkill1 = input.ReadString(); - break; - } - case 66: { - DiscCommonSkill2 = input.ReadString(); - break; - } - case 74: { - DiscCommonSkill3 = input.ReadString(); - break; - } - case 82: { - DiscPassiveSkill1 = input.ReadString(); - break; - } - case 90: { - DiscPassiveSkill2 = input.ReadString(); - break; - } - case 98: { - DiscPassiveSkill3 = input.ReadString(); - break; - } - case 106: { - HarmonySkill = input.ReadString(); - break; - } - case 114: { - Note = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - Score = input.ReadInt32(); - break; - } - case 34: - case 32: { - char_.AddEntriesFrom(ref input, _repeated_char_codec); - break; - } - case 42: - case 40: { - disc_.AddEntriesFrom(ref input, _repeated_disc_codec); - break; - } - case 50: { - Potential = input.ReadString(); - break; - } - case 58: { - DiscCommonSkill1 = input.ReadString(); - break; - } - case 66: { - DiscCommonSkill2 = input.ReadString(); - break; - } - case 74: { - DiscCommonSkill3 = input.ReadString(); - break; - } - case 82: { - DiscPassiveSkill1 = input.ReadString(); - break; - } - case 90: { - DiscPassiveSkill2 = input.ReadString(); - break; - } - case 98: { - DiscPassiveSkill3 = input.ReadString(); - break; - } - case 106: { - HarmonySkill = input.ReadString(); - break; - } - case 114: { - Note = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TrialCharacter.cs b/Novaria.Common/Protos/TrialCharacter.cs deleted file mode 100644 index 8821ecd..0000000 --- a/Novaria.Common/Protos/TrialCharacter.cs +++ /dev/null @@ -1,485 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TrialCharacter.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 TrialCharacter.proto</summary> - public static partial class TrialCharacterReflection { - - #region Descriptor - /// <summary>File descriptor for TrialCharacter.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TrialCharacterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRUcmlhbENoYXJhY3Rlci5wcm90byKWAQoOVHJpYWxDaGFyYWN0ZXISCgoC", - "aWQYASABKAUSDAoEbmFtZRgCIAEoCRIPCgdjaGFyX2lkGAMgASgFEhYKDmNo", - "YXJhY3Rlcl9za2luGAQgASgFEg0KBWJyZWFrGAUgASgFEg0KBWxldmVsGAYg", - "ASgFEhMKC3NraWxsX2xldmVsGAcgAygFEg4KBnRhbGVudBgIIAMoBUIOqgIL", - "Tm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrialCharacter), global::Nova.Client.TrialCharacter.Parser, new[]{ "Id", "Name", "CharId", "CharacterSkin", "Break", "Level", "SkillLevel", "Talent" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TrialCharacter : pb::IMessage<TrialCharacter> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TrialCharacter> _parser = new pb::MessageParser<TrialCharacter>(() => new TrialCharacter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TrialCharacter> 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.TrialCharacterReflection.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 TrialCharacter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrialCharacter(TrialCharacter other) : this() { - id_ = other.id_; - name_ = other.name_; - charId_ = other.charId_; - characterSkin_ = other.characterSkin_; - break_ = other.break_; - level_ = other.level_; - skillLevel_ = other.skillLevel_.Clone(); - talent_ = other.talent_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrialCharacter Clone() { - return new TrialCharacter(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 "char_id" field.</summary> - public const int CharIdFieldNumber = 3; - 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 "character_skin" field.</summary> - public const int CharacterSkinFieldNumber = 4; - private int characterSkin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterSkin { - get { return characterSkin_; } - set { - characterSkin_ = value; - } - } - - /// <summary>Field number for the "break" field.</summary> - public const int BreakFieldNumber = 5; - private int break_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Break { - get { return break_; } - set { - break_ = value; - } - } - - /// <summary>Field number for the "level" field.</summary> - public const int LevelFieldNumber = 6; - 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 "skill_level" field.</summary> - public const int SkillLevelFieldNumber = 7; - private static readonly pb::FieldCodec<int> _repeated_skillLevel_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField<int> skillLevel_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> SkillLevel { - get { return skillLevel_; } - } - - /// <summary>Field number for the "talent" field.</summary> - public const int TalentFieldNumber = 8; - private static readonly pb::FieldCodec<int> _repeated_talent_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField<int> talent_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Talent { - get { return talent_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TrialCharacter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TrialCharacter 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 (CharId != other.CharId) return false; - if (CharacterSkin != other.CharacterSkin) return false; - if (Break != other.Break) return false; - if (Level != other.Level) return false; - if(!skillLevel_.Equals(other.skillLevel_)) return false; - if(!talent_.Equals(other.talent_)) 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 (CharId != 0) hash ^= CharId.GetHashCode(); - if (CharacterSkin != 0) hash ^= CharacterSkin.GetHashCode(); - if (Break != 0) hash ^= Break.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - hash ^= skillLevel_.GetHashCode(); - hash ^= talent_.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 (CharId != 0) { - output.WriteRawTag(24); - output.WriteInt32(CharId); - } - if (CharacterSkin != 0) { - output.WriteRawTag(32); - output.WriteInt32(CharacterSkin); - } - if (Break != 0) { - output.WriteRawTag(40); - output.WriteInt32(Break); - } - if (Level != 0) { - output.WriteRawTag(48); - output.WriteInt32(Level); - } - skillLevel_.WriteTo(output, _repeated_skillLevel_codec); - talent_.WriteTo(output, _repeated_talent_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 (Name.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Name); - } - if (CharId != 0) { - output.WriteRawTag(24); - output.WriteInt32(CharId); - } - if (CharacterSkin != 0) { - output.WriteRawTag(32); - output.WriteInt32(CharacterSkin); - } - if (Break != 0) { - output.WriteRawTag(40); - output.WriteInt32(Break); - } - if (Level != 0) { - output.WriteRawTag(48); - output.WriteInt32(Level); - } - skillLevel_.WriteTo(ref output, _repeated_skillLevel_codec); - talent_.WriteTo(ref output, _repeated_talent_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 (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (CharacterSkin != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterSkin); - } - if (Break != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - size += skillLevel_.CalculateSize(_repeated_skillLevel_codec); - size += talent_.CalculateSize(_repeated_talent_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TrialCharacter other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.CharacterSkin != 0) { - CharacterSkin = other.CharacterSkin; - } - if (other.Break != 0) { - Break = other.Break; - } - if (other.Level != 0) { - Level = other.Level; - } - skillLevel_.Add(other.skillLevel_); - talent_.Add(other.talent_); - _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: { - CharId = input.ReadInt32(); - break; - } - case 32: { - CharacterSkin = input.ReadInt32(); - break; - } - case 40: { - Break = input.ReadInt32(); - break; - } - case 48: { - Level = input.ReadInt32(); - break; - } - case 58: - case 56: { - skillLevel_.AddEntriesFrom(input, _repeated_skillLevel_codec); - break; - } - case 66: - case 64: { - talent_.AddEntriesFrom(input, _repeated_talent_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 18: { - Name = input.ReadString(); - break; - } - case 24: { - CharId = input.ReadInt32(); - break; - } - case 32: { - CharacterSkin = input.ReadInt32(); - break; - } - case 40: { - Break = input.ReadInt32(); - break; - } - case 48: { - Level = input.ReadInt32(); - break; - } - case 58: - case 56: { - skillLevel_.AddEntriesFrom(ref input, _repeated_skillLevel_codec); - break; - } - case 66: - case 64: { - talent_.AddEntriesFrom(ref input, _repeated_talent_codec); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/TrialDisc.cs b/Novaria.Common/Protos/TrialDisc.cs deleted file mode 100644 index 2562598..0000000 --- a/Novaria.Common/Protos/TrialDisc.cs +++ /dev/null @@ -1,390 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TrialDisc.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 TrialDisc.proto</summary> - public static partial class TrialDiscReflection { - - #region Descriptor - /// <summary>File descriptor for TrialDisc.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static TrialDiscReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9UcmlhbERpc2MucHJvdG8iVAoJVHJpYWxEaXNjEgoKAmlkGAEgASgFEg8K", - "B2Rpc2NfaWQYAiABKAUSDQoFcGhhc2UYAyABKAUSDQoFbGV2ZWwYBCABKAUS", - "DAoEc3RhchgFIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrialDisc), global::Nova.Client.TrialDisc.Parser, new[]{ "Id", "DiscId", "Phase", "Level", "Star" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TrialDisc : pb::IMessage<TrialDisc> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<TrialDisc> _parser = new pb::MessageParser<TrialDisc>(() => new TrialDisc()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TrialDisc> 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.TrialDiscReflection.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 TrialDisc() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrialDisc(TrialDisc other) : this() { - id_ = other.id_; - discId_ = other.discId_; - phase_ = other.phase_; - level_ = other.level_; - star_ = other.star_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TrialDisc Clone() { - return new TrialDisc(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 "disc_id" field.</summary> - public const int DiscIdFieldNumber = 2; - private int discId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DiscId { - get { return discId_; } - set { - discId_ = value; - } - } - - /// <summary>Field number for the "phase" field.</summary> - public const int PhaseFieldNumber = 3; - private int phase_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Phase { - get { return phase_; } - set { - phase_ = value; - } - } - - /// <summary>Field number for the "level" field.</summary> - public const int LevelFieldNumber = 4; - 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 "star" field.</summary> - public const int StarFieldNumber = 5; - private int star_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Star { - get { return star_; } - set { - star_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as TrialDisc); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TrialDisc other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (DiscId != other.DiscId) return false; - if (Phase != other.Phase) return false; - if (Level != other.Level) return false; - if (Star != other.Star) 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 (DiscId != 0) hash ^= DiscId.GetHashCode(); - if (Phase != 0) hash ^= Phase.GetHashCode(); - if (Level != 0) hash ^= Level.GetHashCode(); - if (Star != 0) hash ^= Star.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 (DiscId != 0) { - output.WriteRawTag(16); - output.WriteInt32(DiscId); - } - if (Phase != 0) { - output.WriteRawTag(24); - output.WriteInt32(Phase); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Star != 0) { - output.WriteRawTag(40); - output.WriteInt32(Star); - } - 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 (DiscId != 0) { - output.WriteRawTag(16); - output.WriteInt32(DiscId); - } - if (Phase != 0) { - output.WriteRawTag(24); - output.WriteInt32(Phase); - } - if (Level != 0) { - output.WriteRawTag(32); - output.WriteInt32(Level); - } - if (Star != 0) { - output.WriteRawTag(40); - output.WriteInt32(Star); - } - 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 (DiscId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DiscId); - } - if (Phase != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Phase); - } - if (Level != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); - } - if (Star != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Star); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TrialDisc other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.DiscId != 0) { - DiscId = other.DiscId; - } - if (other.Phase != 0) { - Phase = other.Phase; - } - if (other.Level != 0) { - Level = other.Level; - } - if (other.Star != 0) { - Star = other.Star; - } - _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: { - DiscId = input.ReadInt32(); - break; - } - case 24: { - Phase = input.ReadInt32(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 40: { - Star = 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: { - DiscId = input.ReadInt32(); - break; - } - case 24: { - Phase = input.ReadInt32(); - break; - } - case 32: { - Level = input.ReadInt32(); - break; - } - case 40: { - Star = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireBattleThreshold.cs b/Novaria.Common/Protos/VampireBattleThreshold.cs deleted file mode 100644 index 9e2582d..0000000 --- a/Novaria.Common/Protos/VampireBattleThreshold.cs +++ /dev/null @@ -1,955 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireBattleThreshold.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 VampireBattleThreshold.proto</summary> - public static partial class VampireBattleThresholdReflection { - - #region Descriptor - /// <summary>File descriptor for VampireBattleThreshold.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireBattleThresholdReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxWYW1waXJlQmF0dGxlVGhyZXNob2xkLnByb3RvIu8DChZWYW1waXJlQmF0", - "dGxlVGhyZXNob2xkEhIKCm1pc3Npb25faWQYASABKAUSDwoHdmVyc2lvbhgC", - "IAEoBRIUCgxmcm9tX3NyY19hdGsYAyABKAUSIQoZZnJvbV9wZXJrX2ludGVu", - "c2l0eV9yYXRpbxgEIAEoBRIbChNmcm9tX3Nsb3RfZG1nX3JhdGlvGAUgASgF", - "EhAKCGZyb21fZV9lGAYgASgFEhoKEmZyb21fZ2VuX2RtZ19yYXRpbxgHIAEo", - "BRIVCg1mcm9tX2RtZ19wbHVzGAggASgFEhcKD2Zyb21fY3JpdF9yYXRpbxgJ", - "IAEoBRIcChRmcm9tX2ZpbmFsX2RtZ19yYXRpbxgKIAEoBRIbChNmcm9tX2Zp", - "bmFsX2RtZ19wbHVzGAsgASgFEhMKC3RvX2VyX2FtZW5kGAwgASgFEhQKDHRv", - "X2RlZl9hbWVuZBgNIAEoBRIdChV0b19yY2Rfc2xvdF9kbWdfcmF0aW8YDiAB", - "KAUSFAoMdG9fZV9lX3JfY19kGA8gASgFEhwKFHRvX2dlbl9kbWdfcmNkX3Jh", - "dGlvGBAgASgFEhcKD3RvX2RtZ19wbHVzX3JjZBgRIAEoBRILCgNkbWcYEiAB", - "KAUSEQoJY3JpdF9yYXRlGBMgASgFEgoKAmhwGBQgASgFQg6qAgtOb3ZhLkNs", - "aWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireBattleThreshold), global::Nova.Client.VampireBattleThreshold.Parser, new[]{ "MissionId", "Version", "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireBattleThreshold : pb::IMessage<VampireBattleThreshold> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireBattleThreshold> _parser = new pb::MessageParser<VampireBattleThreshold>(() => new VampireBattleThreshold()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireBattleThreshold> 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.VampireBattleThresholdReflection.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 VampireBattleThreshold() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireBattleThreshold(VampireBattleThreshold other) : this() { - missionId_ = other.missionId_; - version_ = other.version_; - fromSrcAtk_ = other.fromSrcAtk_; - fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; - fromSlotDmgRatio_ = other.fromSlotDmgRatio_; - fromEE_ = other.fromEE_; - fromGenDmgRatio_ = other.fromGenDmgRatio_; - fromDmgPlus_ = other.fromDmgPlus_; - fromCritRatio_ = other.fromCritRatio_; - fromFinalDmgRatio_ = other.fromFinalDmgRatio_; - fromFinalDmgPlus_ = other.fromFinalDmgPlus_; - toErAmend_ = other.toErAmend_; - toDefAmend_ = other.toDefAmend_; - toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; - toEERCD_ = other.toEERCD_; - toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; - toDmgPlusRcd_ = other.toDmgPlusRcd_; - dmg_ = other.dmg_; - critRate_ = other.critRate_; - hp_ = other.hp_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireBattleThreshold Clone() { - return new VampireBattleThreshold(this); - } - - /// <summary>Field number for the "mission_id" field.</summary> - public const int MissionIdFieldNumber = 1; - private int missionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MissionId { - get { return missionId_; } - set { - missionId_ = value; - } - } - - /// <summary>Field number for the "version" field.</summary> - public const int VersionFieldNumber = 2; - private int version_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Version { - get { return version_; } - set { - version_ = value; - } - } - - /// <summary>Field number for the "from_src_atk" field.</summary> - public const int FromSrcAtkFieldNumber = 3; - private int fromSrcAtk_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromSrcAtk { - get { return fromSrcAtk_; } - set { - fromSrcAtk_ = value; - } - } - - /// <summary>Field number for the "from_perk_intensity_ratio" field.</summary> - public const int FromPerkIntensityRatioFieldNumber = 4; - private int fromPerkIntensityRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromPerkIntensityRatio { - get { return fromPerkIntensityRatio_; } - set { - fromPerkIntensityRatio_ = value; - } - } - - /// <summary>Field number for the "from_slot_dmg_ratio" field.</summary> - public const int FromSlotDmgRatioFieldNumber = 5; - private int fromSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromSlotDmgRatio { - get { return fromSlotDmgRatio_; } - set { - fromSlotDmgRatio_ = value; - } - } - - /// <summary>Field number for the "from_e_e" field.</summary> - public const int FromEEFieldNumber = 6; - private int fromEE_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromEE { - get { return fromEE_; } - set { - fromEE_ = value; - } - } - - /// <summary>Field number for the "from_gen_dmg_ratio" field.</summary> - public const int FromGenDmgRatioFieldNumber = 7; - private int fromGenDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromGenDmgRatio { - get { return fromGenDmgRatio_; } - set { - fromGenDmgRatio_ = value; - } - } - - /// <summary>Field number for the "from_dmg_plus" field.</summary> - public const int FromDmgPlusFieldNumber = 8; - private int fromDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromDmgPlus { - get { return fromDmgPlus_; } - set { - fromDmgPlus_ = value; - } - } - - /// <summary>Field number for the "from_crit_ratio" field.</summary> - public const int FromCritRatioFieldNumber = 9; - private int fromCritRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromCritRatio { - get { return fromCritRatio_; } - set { - fromCritRatio_ = value; - } - } - - /// <summary>Field number for the "from_final_dmg_ratio" field.</summary> - public const int FromFinalDmgRatioFieldNumber = 10; - private int fromFinalDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromFinalDmgRatio { - get { return fromFinalDmgRatio_; } - set { - fromFinalDmgRatio_ = value; - } - } - - /// <summary>Field number for the "from_final_dmg_plus" field.</summary> - public const int FromFinalDmgPlusFieldNumber = 11; - private int fromFinalDmgPlus_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FromFinalDmgPlus { - get { return fromFinalDmgPlus_; } - set { - fromFinalDmgPlus_ = value; - } - } - - /// <summary>Field number for the "to_er_amend" field.</summary> - public const int ToErAmendFieldNumber = 12; - private int toErAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToErAmend { - get { return toErAmend_; } - set { - toErAmend_ = value; - } - } - - /// <summary>Field number for the "to_def_amend" field.</summary> - public const int ToDefAmendFieldNumber = 13; - private int toDefAmend_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToDefAmend { - get { return toDefAmend_; } - set { - toDefAmend_ = value; - } - } - - /// <summary>Field number for the "to_rcd_slot_dmg_ratio" field.</summary> - public const int ToRcdSlotDmgRatioFieldNumber = 14; - private int toRcdSlotDmgRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToRcdSlotDmgRatio { - get { return toRcdSlotDmgRatio_; } - set { - toRcdSlotDmgRatio_ = value; - } - } - - /// <summary>Field number for the "to_e_e_r_c_d" field.</summary> - public const int ToEERCDFieldNumber = 15; - private int toEERCD_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToEERCD { - get { return toEERCD_; } - set { - toEERCD_ = value; - } - } - - /// <summary>Field number for the "to_gen_dmg_rcd_ratio" field.</summary> - public const int ToGenDmgRcdRatioFieldNumber = 16; - private int toGenDmgRcdRatio_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToGenDmgRcdRatio { - get { return toGenDmgRcdRatio_; } - set { - toGenDmgRcdRatio_ = value; - } - } - - /// <summary>Field number for the "to_dmg_plus_rcd" field.</summary> - public const int ToDmgPlusRcdFieldNumber = 17; - private int toDmgPlusRcd_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int ToDmgPlusRcd { - get { return toDmgPlusRcd_; } - set { - toDmgPlusRcd_ = value; - } - } - - /// <summary>Field number for the "dmg" field.</summary> - public const int DmgFieldNumber = 18; - private int dmg_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Dmg { - get { return dmg_; } - set { - dmg_ = value; - } - } - - /// <summary>Field number for the "crit_rate" field.</summary> - public const int CritRateFieldNumber = 19; - private int critRate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CritRate { - get { return critRate_; } - set { - critRate_ = value; - } - } - - /// <summary>Field number for the "hp" field.</summary> - public const int HpFieldNumber = 20; - private int hp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Hp { - get { return hp_; } - set { - hp_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireBattleThreshold); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireBattleThreshold other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MissionId != other.MissionId) return false; - if (Version != other.Version) return false; - if (FromSrcAtk != other.FromSrcAtk) return false; - if (FromPerkIntensityRatio != other.FromPerkIntensityRatio) return false; - if (FromSlotDmgRatio != other.FromSlotDmgRatio) return false; - if (FromEE != other.FromEE) return false; - if (FromGenDmgRatio != other.FromGenDmgRatio) return false; - if (FromDmgPlus != other.FromDmgPlus) return false; - if (FromCritRatio != other.FromCritRatio) return false; - if (FromFinalDmgRatio != other.FromFinalDmgRatio) return false; - if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; - if (ToErAmend != other.ToErAmend) return false; - if (ToDefAmend != other.ToDefAmend) return false; - if (ToRcdSlotDmgRatio != other.ToRcdSlotDmgRatio) return false; - if (ToEERCD != other.ToEERCD) return false; - if (ToGenDmgRcdRatio != other.ToGenDmgRcdRatio) return false; - if (ToDmgPlusRcd != other.ToDmgPlusRcd) return false; - if (Dmg != other.Dmg) return false; - if (CritRate != other.CritRate) return false; - if (Hp != other.Hp) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); - if (Version != 0) hash ^= Version.GetHashCode(); - if (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); - if (FromPerkIntensityRatio != 0) hash ^= FromPerkIntensityRatio.GetHashCode(); - if (FromSlotDmgRatio != 0) hash ^= FromSlotDmgRatio.GetHashCode(); - if (FromEE != 0) hash ^= FromEE.GetHashCode(); - if (FromGenDmgRatio != 0) hash ^= FromGenDmgRatio.GetHashCode(); - if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); - if (FromCritRatio != 0) hash ^= FromCritRatio.GetHashCode(); - if (FromFinalDmgRatio != 0) hash ^= FromFinalDmgRatio.GetHashCode(); - if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); - if (ToErAmend != 0) hash ^= ToErAmend.GetHashCode(); - if (ToDefAmend != 0) hash ^= ToDefAmend.GetHashCode(); - if (ToRcdSlotDmgRatio != 0) hash ^= ToRcdSlotDmgRatio.GetHashCode(); - if (ToEERCD != 0) hash ^= ToEERCD.GetHashCode(); - if (ToGenDmgRcdRatio != 0) hash ^= ToGenDmgRcdRatio.GetHashCode(); - if (ToDmgPlusRcd != 0) hash ^= ToDmgPlusRcd.GetHashCode(); - if (Dmg != 0) hash ^= Dmg.GetHashCode(); - if (CritRate != 0) hash ^= CritRate.GetHashCode(); - if (Hp != 0) hash ^= Hp.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 (MissionId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MissionId); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteInt32(Version); - } - if (FromSrcAtk != 0) { - output.WriteRawTag(24); - output.WriteInt32(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - output.WriteRawTag(32); - output.WriteInt32(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - output.WriteRawTag(40); - output.WriteInt32(FromSlotDmgRatio); - } - if (FromEE != 0) { - output.WriteRawTag(48); - output.WriteInt32(FromEE); - } - if (FromGenDmgRatio != 0) { - output.WriteRawTag(56); - output.WriteInt32(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - output.WriteRawTag(64); - output.WriteInt32(FromDmgPlus); - } - if (FromCritRatio != 0) { - output.WriteRawTag(72); - output.WriteInt32(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - output.WriteRawTag(88); - output.WriteInt32(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - output.WriteRawTag(96); - output.WriteInt32(ToErAmend); - } - if (ToDefAmend != 0) { - output.WriteRawTag(104); - output.WriteInt32(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - output.WriteRawTag(120); - output.WriteInt32(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ToDmgPlusRcd); - } - if (Dmg != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Dmg); - } - if (CritRate != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(CritRate); - } - if (Hp != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Hp); - } - 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 (MissionId != 0) { - output.WriteRawTag(8); - output.WriteInt32(MissionId); - } - if (Version != 0) { - output.WriteRawTag(16); - output.WriteInt32(Version); - } - if (FromSrcAtk != 0) { - output.WriteRawTag(24); - output.WriteInt32(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - output.WriteRawTag(32); - output.WriteInt32(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - output.WriteRawTag(40); - output.WriteInt32(FromSlotDmgRatio); - } - if (FromEE != 0) { - output.WriteRawTag(48); - output.WriteInt32(FromEE); - } - if (FromGenDmgRatio != 0) { - output.WriteRawTag(56); - output.WriteInt32(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - output.WriteRawTag(64); - output.WriteInt32(FromDmgPlus); - } - if (FromCritRatio != 0) { - output.WriteRawTag(72); - output.WriteInt32(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - output.WriteRawTag(80); - output.WriteInt32(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - output.WriteRawTag(88); - output.WriteInt32(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - output.WriteRawTag(96); - output.WriteInt32(ToErAmend); - } - if (ToDefAmend != 0) { - output.WriteRawTag(104); - output.WriteInt32(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - output.WriteRawTag(112); - output.WriteInt32(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - output.WriteRawTag(120); - output.WriteInt32(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(ToDmgPlusRcd); - } - if (Dmg != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(Dmg); - } - if (CritRate != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(CritRate); - } - if (Hp != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(Hp); - } - 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 (MissionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); - } - if (Version != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); - } - if (FromSrcAtk != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); - } - if (FromPerkIntensityRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromPerkIntensityRatio); - } - if (FromSlotDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSlotDmgRatio); - } - if (FromEE != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromEE); - } - if (FromGenDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromGenDmgRatio); - } - if (FromDmgPlus != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); - } - if (FromCritRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromCritRatio); - } - if (FromFinalDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgRatio); - } - if (FromFinalDmgPlus != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); - } - if (ToErAmend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToErAmend); - } - if (ToDefAmend != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToDefAmend); - } - if (ToRcdSlotDmgRatio != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRcdSlotDmgRatio); - } - if (ToEERCD != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToEERCD); - } - if (ToGenDmgRcdRatio != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToGenDmgRcdRatio); - } - if (ToDmgPlusRcd != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToDmgPlusRcd); - } - if (Dmg != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); - } - if (CritRate != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritRate); - } - if (Hp != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireBattleThreshold other) { - if (other == null) { - return; - } - if (other.MissionId != 0) { - MissionId = other.MissionId; - } - if (other.Version != 0) { - Version = other.Version; - } - if (other.FromSrcAtk != 0) { - FromSrcAtk = other.FromSrcAtk; - } - if (other.FromPerkIntensityRatio != 0) { - FromPerkIntensityRatio = other.FromPerkIntensityRatio; - } - if (other.FromSlotDmgRatio != 0) { - FromSlotDmgRatio = other.FromSlotDmgRatio; - } - if (other.FromEE != 0) { - FromEE = other.FromEE; - } - if (other.FromGenDmgRatio != 0) { - FromGenDmgRatio = other.FromGenDmgRatio; - } - if (other.FromDmgPlus != 0) { - FromDmgPlus = other.FromDmgPlus; - } - if (other.FromCritRatio != 0) { - FromCritRatio = other.FromCritRatio; - } - if (other.FromFinalDmgRatio != 0) { - FromFinalDmgRatio = other.FromFinalDmgRatio; - } - if (other.FromFinalDmgPlus != 0) { - FromFinalDmgPlus = other.FromFinalDmgPlus; - } - if (other.ToErAmend != 0) { - ToErAmend = other.ToErAmend; - } - if (other.ToDefAmend != 0) { - ToDefAmend = other.ToDefAmend; - } - if (other.ToRcdSlotDmgRatio != 0) { - ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; - } - if (other.ToEERCD != 0) { - ToEERCD = other.ToEERCD; - } - if (other.ToGenDmgRcdRatio != 0) { - ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; - } - if (other.ToDmgPlusRcd != 0) { - ToDmgPlusRcd = other.ToDmgPlusRcd; - } - if (other.Dmg != 0) { - Dmg = other.Dmg; - } - if (other.CritRate != 0) { - CritRate = other.CritRate; - } - if (other.Hp != 0) { - Hp = other.Hp; - } - _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: { - MissionId = input.ReadInt32(); - break; - } - case 16: { - Version = input.ReadInt32(); - break; - } - case 24: { - FromSrcAtk = input.ReadInt32(); - break; - } - case 32: { - FromPerkIntensityRatio = input.ReadInt32(); - break; - } - case 40: { - FromSlotDmgRatio = input.ReadInt32(); - break; - } - case 48: { - FromEE = input.ReadInt32(); - break; - } - case 56: { - FromGenDmgRatio = input.ReadInt32(); - break; - } - case 64: { - FromDmgPlus = input.ReadInt32(); - break; - } - case 72: { - FromCritRatio = input.ReadInt32(); - break; - } - case 80: { - FromFinalDmgRatio = input.ReadInt32(); - break; - } - case 88: { - FromFinalDmgPlus = input.ReadInt32(); - break; - } - case 96: { - ToErAmend = input.ReadInt32(); - break; - } - case 104: { - ToDefAmend = input.ReadInt32(); - break; - } - case 112: { - ToRcdSlotDmgRatio = input.ReadInt32(); - break; - } - case 120: { - ToEERCD = input.ReadInt32(); - break; - } - case 128: { - ToGenDmgRcdRatio = input.ReadInt32(); - break; - } - case 136: { - ToDmgPlusRcd = input.ReadInt32(); - break; - } - case 144: { - Dmg = input.ReadInt32(); - break; - } - case 152: { - CritRate = input.ReadInt32(); - break; - } - case 160: { - Hp = 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: { - MissionId = input.ReadInt32(); - break; - } - case 16: { - Version = input.ReadInt32(); - break; - } - case 24: { - FromSrcAtk = input.ReadInt32(); - break; - } - case 32: { - FromPerkIntensityRatio = input.ReadInt32(); - break; - } - case 40: { - FromSlotDmgRatio = input.ReadInt32(); - break; - } - case 48: { - FromEE = input.ReadInt32(); - break; - } - case 56: { - FromGenDmgRatio = input.ReadInt32(); - break; - } - case 64: { - FromDmgPlus = input.ReadInt32(); - break; - } - case 72: { - FromCritRatio = input.ReadInt32(); - break; - } - case 80: { - FromFinalDmgRatio = input.ReadInt32(); - break; - } - case 88: { - FromFinalDmgPlus = input.ReadInt32(); - break; - } - case 96: { - ToErAmend = input.ReadInt32(); - break; - } - case 104: { - ToDefAmend = input.ReadInt32(); - break; - } - case 112: { - ToRcdSlotDmgRatio = input.ReadInt32(); - break; - } - case 120: { - ToEERCD = input.ReadInt32(); - break; - } - case 128: { - ToGenDmgRcdRatio = input.ReadInt32(); - break; - } - case 136: { - ToDmgPlusRcd = input.ReadInt32(); - break; - } - case 144: { - Dmg = input.ReadInt32(); - break; - } - case 152: { - CritRate = input.ReadInt32(); - break; - } - case 160: { - Hp = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireEnemyPool.cs b/Novaria.Common/Protos/VampireEnemyPool.cs deleted file mode 100644 index d5f465e..0000000 --- a/Novaria.Common/Protos/VampireEnemyPool.cs +++ /dev/null @@ -1,429 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireEnemyPool.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 VampireEnemyPool.proto</summary> - public static partial class VampireEnemyPoolReflection { - - #region Descriptor - /// <summary>File descriptor for VampireEnemyPool.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireEnemyPoolReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZWYW1waXJlRW5lbXlQb29sLnByb3RvIo4BChBWYW1waXJlRW5lbXlQb29s", - "Eg8KB3Bvb2xfaWQYASABKAUSEAoId2F2ZV9udW0YAiABKAUSFQoNbW9uc3Rl", - "cl9sZXZlbBgDIAEoBRIVCg1lbmVteV9zZXRfaV9kGAQgASgFEhYKDndhdmVf", - "a2VlcF90aW1lGAUgASgFEhEKCXBvb2xfdHlwZRgGIAEoBUIOqgILTm92YS5D", - "bGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireEnemyPool), global::Nova.Client.VampireEnemyPool.Parser, new[]{ "PoolId", "WaveNum", "MonsterLevel", "EnemySetID", "WaveKeepTime", "PoolType" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireEnemyPool : pb::IMessage<VampireEnemyPool> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireEnemyPool> _parser = new pb::MessageParser<VampireEnemyPool>(() => new VampireEnemyPool()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireEnemyPool> 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.VampireEnemyPoolReflection.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 VampireEnemyPool() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemyPool(VampireEnemyPool other) : this() { - poolId_ = other.poolId_; - waveNum_ = other.waveNum_; - monsterLevel_ = other.monsterLevel_; - enemySetID_ = other.enemySetID_; - waveKeepTime_ = other.waveKeepTime_; - poolType_ = other.poolType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemyPool Clone() { - return new VampireEnemyPool(this); - } - - /// <summary>Field number for the "pool_id" field.</summary> - public const int PoolIdFieldNumber = 1; - private int poolId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PoolId { - get { return poolId_; } - set { - poolId_ = value; - } - } - - /// <summary>Field number for the "wave_num" field.</summary> - public const int WaveNumFieldNumber = 2; - private int waveNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WaveNum { - get { return waveNum_; } - set { - waveNum_ = value; - } - } - - /// <summary>Field number for the "monster_level" field.</summary> - public const int MonsterLevelFieldNumber = 3; - private int monsterLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterLevel { - get { return monsterLevel_; } - set { - monsterLevel_ = value; - } - } - - /// <summary>Field number for the "enemy_set_i_d" field.</summary> - public const int EnemySetIDFieldNumber = 4; - private int enemySetID_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EnemySetID { - get { return enemySetID_; } - set { - enemySetID_ = value; - } - } - - /// <summary>Field number for the "wave_keep_time" field.</summary> - public const int WaveKeepTimeFieldNumber = 5; - private int waveKeepTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int WaveKeepTime { - get { return waveKeepTime_; } - set { - waveKeepTime_ = value; - } - } - - /// <summary>Field number for the "pool_type" field.</summary> - public const int PoolTypeFieldNumber = 6; - private int poolType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PoolType { - get { return poolType_; } - set { - poolType_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireEnemyPool); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireEnemyPool other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PoolId != other.PoolId) return false; - if (WaveNum != other.WaveNum) return false; - if (MonsterLevel != other.MonsterLevel) return false; - if (EnemySetID != other.EnemySetID) return false; - if (WaveKeepTime != other.WaveKeepTime) return false; - if (PoolType != other.PoolType) 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 (PoolId != 0) hash ^= PoolId.GetHashCode(); - if (WaveNum != 0) hash ^= WaveNum.GetHashCode(); - if (MonsterLevel != 0) hash ^= MonsterLevel.GetHashCode(); - if (EnemySetID != 0) hash ^= EnemySetID.GetHashCode(); - if (WaveKeepTime != 0) hash ^= WaveKeepTime.GetHashCode(); - if (PoolType != 0) hash ^= PoolType.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 (PoolId != 0) { - output.WriteRawTag(8); - output.WriteInt32(PoolId); - } - if (WaveNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(WaveNum); - } - if (MonsterLevel != 0) { - output.WriteRawTag(24); - output.WriteInt32(MonsterLevel); - } - if (EnemySetID != 0) { - output.WriteRawTag(32); - output.WriteInt32(EnemySetID); - } - if (WaveKeepTime != 0) { - output.WriteRawTag(40); - output.WriteInt32(WaveKeepTime); - } - if (PoolType != 0) { - output.WriteRawTag(48); - output.WriteInt32(PoolType); - } - 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 (PoolId != 0) { - output.WriteRawTag(8); - output.WriteInt32(PoolId); - } - if (WaveNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(WaveNum); - } - if (MonsterLevel != 0) { - output.WriteRawTag(24); - output.WriteInt32(MonsterLevel); - } - if (EnemySetID != 0) { - output.WriteRawTag(32); - output.WriteInt32(EnemySetID); - } - if (WaveKeepTime != 0) { - output.WriteRawTag(40); - output.WriteInt32(WaveKeepTime); - } - if (PoolType != 0) { - output.WriteRawTag(48); - output.WriteInt32(PoolType); - } - 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 (PoolId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PoolId); - } - if (WaveNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum); - } - if (MonsterLevel != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLevel); - } - if (EnemySetID != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnemySetID); - } - if (WaveKeepTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveKeepTime); - } - if (PoolType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PoolType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireEnemyPool other) { - if (other == null) { - return; - } - if (other.PoolId != 0) { - PoolId = other.PoolId; - } - if (other.WaveNum != 0) { - WaveNum = other.WaveNum; - } - if (other.MonsterLevel != 0) { - MonsterLevel = other.MonsterLevel; - } - if (other.EnemySetID != 0) { - EnemySetID = other.EnemySetID; - } - if (other.WaveKeepTime != 0) { - WaveKeepTime = other.WaveKeepTime; - } - if (other.PoolType != 0) { - PoolType = other.PoolType; - } - _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: { - PoolId = input.ReadInt32(); - break; - } - case 16: { - WaveNum = input.ReadInt32(); - break; - } - case 24: { - MonsterLevel = input.ReadInt32(); - break; - } - case 32: { - EnemySetID = input.ReadInt32(); - break; - } - case 40: { - WaveKeepTime = input.ReadInt32(); - break; - } - case 48: { - PoolType = 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: { - PoolId = input.ReadInt32(); - break; - } - case 16: { - WaveNum = input.ReadInt32(); - break; - } - case 24: { - MonsterLevel = input.ReadInt32(); - break; - } - case 32: { - EnemySetID = input.ReadInt32(); - break; - } - case 40: { - WaveKeepTime = input.ReadInt32(); - break; - } - case 48: { - PoolType = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireEnemySet.cs b/Novaria.Common/Protos/VampireEnemySet.cs deleted file mode 100644 index 246f78a..0000000 --- a/Novaria.Common/Protos/VampireEnemySet.cs +++ /dev/null @@ -1,655 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireEnemySet.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 VampireEnemySet.proto</summary> - public static partial class VampireEnemySetReflection { - - #region Descriptor - /// <summary>File descriptor for VampireEnemySet.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireEnemySetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVWYW1waXJlRW5lbXlTZXQucHJvdG8ipQIKD1ZhbXBpcmVFbmVteVNldBIO", - "CgZzZXRfaWQYASABKAUSEQoJZ3JvdXBfbnVtGAIgASgFEhIKCm1vbnN0ZXJf", - "aWQYAyABKAUSFAoMbGV2ZWxfY2hhbmdlGAQgASgFEhIKCmRlbGF5X3RpbWUY", - "BSABKAUSDwoHbWF4X251bRgGIAEoBRIQCghhZGRfZGF0YRgHIAMoBRIcChRt", - "YXhfbnVtX2ltcHJvdmVfZGF0YRgIIAMoBRIaChJtb25zdGVyX3NwYXduX3R5", - "cGUYCSABKAUSFQoNbW9uc3Rlcl9wb2ludBgKIAEoBRIQCghkcm9wX2V4cBgL", - "IAMoBRISCgpkcm9wX2NoZXN0GAwgAygFEhcKD21vbnN0ZXJfd2FybmluZxgN", - "IAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireEnemySet), global::Nova.Client.VampireEnemySet.Parser, new[]{ "SetId", "GroupNum", "MonsterId", "LevelChange", "DelayTime", "MaxNum", "AddData", "MaxNumImproveData", "MonsterSpawnType", "MonsterPoint", "DropExp", "DropChest", "MonsterWarning" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireEnemySet : pb::IMessage<VampireEnemySet> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireEnemySet> _parser = new pb::MessageParser<VampireEnemySet>(() => new VampireEnemySet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireEnemySet> 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.VampireEnemySetReflection.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 VampireEnemySet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemySet(VampireEnemySet other) : this() { - setId_ = other.setId_; - groupNum_ = other.groupNum_; - monsterId_ = other.monsterId_; - levelChange_ = other.levelChange_; - delayTime_ = other.delayTime_; - maxNum_ = other.maxNum_; - addData_ = other.addData_.Clone(); - maxNumImproveData_ = other.maxNumImproveData_.Clone(); - monsterSpawnType_ = other.monsterSpawnType_; - monsterPoint_ = other.monsterPoint_; - dropExp_ = other.dropExp_.Clone(); - dropChest_ = other.dropChest_.Clone(); - monsterWarning_ = other.monsterWarning_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireEnemySet Clone() { - return new VampireEnemySet(this); - } - - /// <summary>Field number for the "set_id" field.</summary> - public const int SetIdFieldNumber = 1; - private int setId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SetId { - get { return setId_; } - set { - setId_ = value; - } - } - - /// <summary>Field number for the "group_num" field.</summary> - public const int GroupNumFieldNumber = 2; - private int groupNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupNum { - get { return groupNum_; } - set { - groupNum_ = value; - } - } - - /// <summary>Field number for the "monster_id" field.</summary> - public const int MonsterIdFieldNumber = 3; - private int monsterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterId { - get { return monsterId_; } - set { - monsterId_ = value; - } - } - - /// <summary>Field number for the "level_change" field.</summary> - public const int LevelChangeFieldNumber = 4; - private int levelChange_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelChange { - get { return levelChange_; } - set { - levelChange_ = value; - } - } - - /// <summary>Field number for the "delay_time" field.</summary> - public const int DelayTimeFieldNumber = 5; - private int delayTime_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DelayTime { - get { return delayTime_; } - set { - delayTime_ = value; - } - } - - /// <summary>Field number for the "max_num" field.</summary> - public const int MaxNumFieldNumber = 6; - private int maxNum_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxNum { - get { return maxNum_; } - set { - maxNum_ = value; - } - } - - /// <summary>Field number for the "add_data" field.</summary> - public const int AddDataFieldNumber = 7; - private static readonly pb::FieldCodec<int> _repeated_addData_codec - = pb::FieldCodec.ForInt32(58); - private readonly pbc::RepeatedField<int> addData_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> AddData { - get { return addData_; } - } - - /// <summary>Field number for the "max_num_improve_data" field.</summary> - public const int MaxNumImproveDataFieldNumber = 8; - private static readonly pb::FieldCodec<int> _repeated_maxNumImproveData_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField<int> maxNumImproveData_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> MaxNumImproveData { - get { return maxNumImproveData_; } - } - - /// <summary>Field number for the "monster_spawn_type" field.</summary> - public const int MonsterSpawnTypeFieldNumber = 9; - private int monsterSpawnType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterSpawnType { - get { return monsterSpawnType_; } - set { - monsterSpawnType_ = value; - } - } - - /// <summary>Field number for the "monster_point" field.</summary> - public const int MonsterPointFieldNumber = 10; - private int monsterPoint_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterPoint { - get { return monsterPoint_; } - set { - monsterPoint_ = value; - } - } - - /// <summary>Field number for the "drop_exp" field.</summary> - public const int DropExpFieldNumber = 11; - private static readonly pb::FieldCodec<int> _repeated_dropExp_codec - = pb::FieldCodec.ForInt32(90); - private readonly pbc::RepeatedField<int> dropExp_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> DropExp { - get { return dropExp_; } - } - - /// <summary>Field number for the "drop_chest" field.</summary> - public const int DropChestFieldNumber = 12; - private static readonly pb::FieldCodec<int> _repeated_dropChest_codec - = pb::FieldCodec.ForInt32(98); - private readonly pbc::RepeatedField<int> dropChest_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> DropChest { - get { return dropChest_; } - } - - /// <summary>Field number for the "monster_warning" field.</summary> - public const int MonsterWarningFieldNumber = 13; - private int monsterWarning_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MonsterWarning { - get { return monsterWarning_; } - set { - monsterWarning_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireEnemySet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireEnemySet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SetId != other.SetId) return false; - if (GroupNum != other.GroupNum) return false; - if (MonsterId != other.MonsterId) return false; - if (LevelChange != other.LevelChange) return false; - if (DelayTime != other.DelayTime) return false; - if (MaxNum != other.MaxNum) return false; - if(!addData_.Equals(other.addData_)) return false; - if(!maxNumImproveData_.Equals(other.maxNumImproveData_)) return false; - if (MonsterSpawnType != other.MonsterSpawnType) return false; - if (MonsterPoint != other.MonsterPoint) return false; - if(!dropExp_.Equals(other.dropExp_)) return false; - if(!dropChest_.Equals(other.dropChest_)) return false; - if (MonsterWarning != other.MonsterWarning) 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 (SetId != 0) hash ^= SetId.GetHashCode(); - if (GroupNum != 0) hash ^= GroupNum.GetHashCode(); - if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); - if (LevelChange != 0) hash ^= LevelChange.GetHashCode(); - if (DelayTime != 0) hash ^= DelayTime.GetHashCode(); - if (MaxNum != 0) hash ^= MaxNum.GetHashCode(); - hash ^= addData_.GetHashCode(); - hash ^= maxNumImproveData_.GetHashCode(); - if (MonsterSpawnType != 0) hash ^= MonsterSpawnType.GetHashCode(); - if (MonsterPoint != 0) hash ^= MonsterPoint.GetHashCode(); - hash ^= dropExp_.GetHashCode(); - hash ^= dropChest_.GetHashCode(); - if (MonsterWarning != 0) hash ^= MonsterWarning.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 (SetId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SetId); - } - if (GroupNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupNum); - } - if (MonsterId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MonsterId); - } - if (LevelChange != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelChange); - } - if (DelayTime != 0) { - output.WriteRawTag(40); - output.WriteInt32(DelayTime); - } - if (MaxNum != 0) { - output.WriteRawTag(48); - output.WriteInt32(MaxNum); - } - addData_.WriteTo(output, _repeated_addData_codec); - maxNumImproveData_.WriteTo(output, _repeated_maxNumImproveData_codec); - if (MonsterSpawnType != 0) { - output.WriteRawTag(72); - output.WriteInt32(MonsterSpawnType); - } - if (MonsterPoint != 0) { - output.WriteRawTag(80); - output.WriteInt32(MonsterPoint); - } - dropExp_.WriteTo(output, _repeated_dropExp_codec); - dropChest_.WriteTo(output, _repeated_dropChest_codec); - if (MonsterWarning != 0) { - output.WriteRawTag(104); - output.WriteInt32(MonsterWarning); - } - 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 (SetId != 0) { - output.WriteRawTag(8); - output.WriteInt32(SetId); - } - if (GroupNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupNum); - } - if (MonsterId != 0) { - output.WriteRawTag(24); - output.WriteInt32(MonsterId); - } - if (LevelChange != 0) { - output.WriteRawTag(32); - output.WriteInt32(LevelChange); - } - if (DelayTime != 0) { - output.WriteRawTag(40); - output.WriteInt32(DelayTime); - } - if (MaxNum != 0) { - output.WriteRawTag(48); - output.WriteInt32(MaxNum); - } - addData_.WriteTo(ref output, _repeated_addData_codec); - maxNumImproveData_.WriteTo(ref output, _repeated_maxNumImproveData_codec); - if (MonsterSpawnType != 0) { - output.WriteRawTag(72); - output.WriteInt32(MonsterSpawnType); - } - if (MonsterPoint != 0) { - output.WriteRawTag(80); - output.WriteInt32(MonsterPoint); - } - dropExp_.WriteTo(ref output, _repeated_dropExp_codec); - dropChest_.WriteTo(ref output, _repeated_dropChest_codec); - if (MonsterWarning != 0) { - output.WriteRawTag(104); - output.WriteInt32(MonsterWarning); - } - 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 (SetId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); - } - if (GroupNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupNum); - } - if (MonsterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); - } - if (LevelChange != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelChange); - } - if (DelayTime != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DelayTime); - } - if (MaxNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum); - } - size += addData_.CalculateSize(_repeated_addData_codec); - size += maxNumImproveData_.CalculateSize(_repeated_maxNumImproveData_codec); - if (MonsterSpawnType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterSpawnType); - } - if (MonsterPoint != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterPoint); - } - size += dropExp_.CalculateSize(_repeated_dropExp_codec); - size += dropChest_.CalculateSize(_repeated_dropChest_codec); - if (MonsterWarning != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterWarning); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireEnemySet other) { - if (other == null) { - return; - } - if (other.SetId != 0) { - SetId = other.SetId; - } - if (other.GroupNum != 0) { - GroupNum = other.GroupNum; - } - if (other.MonsterId != 0) { - MonsterId = other.MonsterId; - } - if (other.LevelChange != 0) { - LevelChange = other.LevelChange; - } - if (other.DelayTime != 0) { - DelayTime = other.DelayTime; - } - if (other.MaxNum != 0) { - MaxNum = other.MaxNum; - } - addData_.Add(other.addData_); - maxNumImproveData_.Add(other.maxNumImproveData_); - if (other.MonsterSpawnType != 0) { - MonsterSpawnType = other.MonsterSpawnType; - } - if (other.MonsterPoint != 0) { - MonsterPoint = other.MonsterPoint; - } - dropExp_.Add(other.dropExp_); - dropChest_.Add(other.dropChest_); - if (other.MonsterWarning != 0) { - MonsterWarning = other.MonsterWarning; - } - _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: { - SetId = input.ReadInt32(); - break; - } - case 16: { - GroupNum = input.ReadInt32(); - break; - } - case 24: { - MonsterId = input.ReadInt32(); - break; - } - case 32: { - LevelChange = input.ReadInt32(); - break; - } - case 40: { - DelayTime = input.ReadInt32(); - break; - } - case 48: { - MaxNum = input.ReadInt32(); - break; - } - case 58: - case 56: { - addData_.AddEntriesFrom(input, _repeated_addData_codec); - break; - } - case 66: - case 64: { - maxNumImproveData_.AddEntriesFrom(input, _repeated_maxNumImproveData_codec); - break; - } - case 72: { - MonsterSpawnType = input.ReadInt32(); - break; - } - case 80: { - MonsterPoint = input.ReadInt32(); - break; - } - case 90: - case 88: { - dropExp_.AddEntriesFrom(input, _repeated_dropExp_codec); - break; - } - case 98: - case 96: { - dropChest_.AddEntriesFrom(input, _repeated_dropChest_codec); - break; - } - case 104: { - MonsterWarning = 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: { - SetId = input.ReadInt32(); - break; - } - case 16: { - GroupNum = input.ReadInt32(); - break; - } - case 24: { - MonsterId = input.ReadInt32(); - break; - } - case 32: { - LevelChange = input.ReadInt32(); - break; - } - case 40: { - DelayTime = input.ReadInt32(); - break; - } - case 48: { - MaxNum = input.ReadInt32(); - break; - } - case 58: - case 56: { - addData_.AddEntriesFrom(ref input, _repeated_addData_codec); - break; - } - case 66: - case 64: { - maxNumImproveData_.AddEntriesFrom(ref input, _repeated_maxNumImproveData_codec); - break; - } - case 72: { - MonsterSpawnType = input.ReadInt32(); - break; - } - case 80: { - MonsterPoint = input.ReadInt32(); - break; - } - case 90: - case 88: { - dropExp_.AddEntriesFrom(ref input, _repeated_dropExp_codec); - break; - } - case 98: - case 96: { - dropChest_.AddEntriesFrom(ref input, _repeated_dropChest_codec); - break; - } - case 104: { - MonsterWarning = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireFloor.cs b/Novaria.Common/Protos/VampireFloor.cs deleted file mode 100644 index 8d9710f..0000000 --- a/Novaria.Common/Protos/VampireFloor.cs +++ /dev/null @@ -1,589 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireFloor.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 VampireFloor.proto</summary> - public static partial class VampireFloorReflection { - - #region Descriptor - /// <summary>File descriptor for VampireFloor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireFloorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJWYW1waXJlRmxvb3IucHJvdG8ihAIKDFZhbXBpcmVGbG9vchIKCgJpZBgB", - "IAEoBRIOCgZtYXBfaWQYAiABKAUSEgoKd2F2ZV9jb3VudBgDIAMoBRIaChJm", - "aXJzdF9oYWxmX3Bvb2xfaWQYBCABKAUSFAoMZl9oX2FmZml4X2lkGAUgAygF", - "EhMKC2ZfaF9ib3NzX2lkGAYgASgFEhsKE3NlY29uZF9oYWxmX3Bvb2xfaWQY", - "ByABKAUSFAoMc19oX2FmZml4X2lkGAggAygFEhMKC3NfaF9ib3NzX2lkGAkg", - "ASgFEhwKFHNwZWNpYWxfZW5lbXlfc2V0X2lkGAogASgJEhcKD3RyZWFzdXJl", - "X3NldF9pZBgLIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireFloor), global::Nova.Client.VampireFloor.Parser, new[]{ "Id", "MapId", "WaveCount", "FirstHalfPoolId", "FHAffixId", "FHBossId", "SecondHalfPoolId", "SHAffixId", "SHBossId", "SpecialEnemySetId", "TreasureSetId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireFloor : pb::IMessage<VampireFloor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireFloor> _parser = new pb::MessageParser<VampireFloor>(() => new VampireFloor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireFloor> 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.VampireFloorReflection.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 VampireFloor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireFloor(VampireFloor other) : this() { - id_ = other.id_; - mapId_ = other.mapId_; - waveCount_ = other.waveCount_.Clone(); - firstHalfPoolId_ = other.firstHalfPoolId_; - fHAffixId_ = other.fHAffixId_.Clone(); - fHBossId_ = other.fHBossId_; - secondHalfPoolId_ = other.secondHalfPoolId_; - sHAffixId_ = other.sHAffixId_.Clone(); - sHBossId_ = other.sHBossId_; - specialEnemySetId_ = other.specialEnemySetId_; - treasureSetId_ = other.treasureSetId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireFloor Clone() { - return new VampireFloor(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 "map_id" field.</summary> - public const int MapIdFieldNumber = 2; - private int mapId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MapId { - get { return mapId_; } - set { - mapId_ = value; - } - } - - /// <summary>Field number for the "wave_count" field.</summary> - public const int WaveCountFieldNumber = 3; - private static readonly pb::FieldCodec<int> _repeated_waveCount_codec - = pb::FieldCodec.ForInt32(26); - private readonly pbc::RepeatedField<int> waveCount_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> WaveCount { - get { return waveCount_; } - } - - /// <summary>Field number for the "first_half_pool_id" field.</summary> - public const int FirstHalfPoolIdFieldNumber = 4; - private int firstHalfPoolId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FirstHalfPoolId { - get { return firstHalfPoolId_; } - set { - firstHalfPoolId_ = value; - } - } - - /// <summary>Field number for the "f_h_affix_id" field.</summary> - public const int FHAffixIdFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_fHAffixId_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> fHAffixId_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> FHAffixId { - get { return fHAffixId_; } - } - - /// <summary>Field number for the "f_h_boss_id" field.</summary> - public const int FHBossIdFieldNumber = 6; - private int fHBossId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FHBossId { - get { return fHBossId_; } - set { - fHBossId_ = value; - } - } - - /// <summary>Field number for the "second_half_pool_id" field.</summary> - public const int SecondHalfPoolIdFieldNumber = 7; - private int secondHalfPoolId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SecondHalfPoolId { - get { return secondHalfPoolId_; } - set { - secondHalfPoolId_ = value; - } - } - - /// <summary>Field number for the "s_h_affix_id" field.</summary> - public const int SHAffixIdFieldNumber = 8; - private static readonly pb::FieldCodec<int> _repeated_sHAffixId_codec - = pb::FieldCodec.ForInt32(66); - private readonly pbc::RepeatedField<int> sHAffixId_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> SHAffixId { - get { return sHAffixId_; } - } - - /// <summary>Field number for the "s_h_boss_id" field.</summary> - public const int SHBossIdFieldNumber = 9; - private int sHBossId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SHBossId { - get { return sHBossId_; } - set { - sHBossId_ = value; - } - } - - /// <summary>Field number for the "special_enemy_set_id" field.</summary> - public const int SpecialEnemySetIdFieldNumber = 10; - private string specialEnemySetId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SpecialEnemySetId { - get { return specialEnemySetId_; } - set { - specialEnemySetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "treasure_set_id" field.</summary> - public const int TreasureSetIdFieldNumber = 11; - private string treasureSetId_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string TreasureSetId { - get { return treasureSetId_; } - set { - treasureSetId_ = 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 VampireFloor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireFloor other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (MapId != other.MapId) return false; - if(!waveCount_.Equals(other.waveCount_)) return false; - if (FirstHalfPoolId != other.FirstHalfPoolId) return false; - if(!fHAffixId_.Equals(other.fHAffixId_)) return false; - if (FHBossId != other.FHBossId) return false; - if (SecondHalfPoolId != other.SecondHalfPoolId) return false; - if(!sHAffixId_.Equals(other.sHAffixId_)) return false; - if (SHBossId != other.SHBossId) return false; - if (SpecialEnemySetId != other.SpecialEnemySetId) return false; - if (TreasureSetId != other.TreasureSetId) 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 (MapId != 0) hash ^= MapId.GetHashCode(); - hash ^= waveCount_.GetHashCode(); - if (FirstHalfPoolId != 0) hash ^= FirstHalfPoolId.GetHashCode(); - hash ^= fHAffixId_.GetHashCode(); - if (FHBossId != 0) hash ^= FHBossId.GetHashCode(); - if (SecondHalfPoolId != 0) hash ^= SecondHalfPoolId.GetHashCode(); - hash ^= sHAffixId_.GetHashCode(); - if (SHBossId != 0) hash ^= SHBossId.GetHashCode(); - if (SpecialEnemySetId.Length != 0) hash ^= SpecialEnemySetId.GetHashCode(); - if (TreasureSetId.Length != 0) hash ^= TreasureSetId.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 (MapId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MapId); - } - waveCount_.WriteTo(output, _repeated_waveCount_codec); - if (FirstHalfPoolId != 0) { - output.WriteRawTag(32); - output.WriteInt32(FirstHalfPoolId); - } - fHAffixId_.WriteTo(output, _repeated_fHAffixId_codec); - if (FHBossId != 0) { - output.WriteRawTag(48); - output.WriteInt32(FHBossId); - } - if (SecondHalfPoolId != 0) { - output.WriteRawTag(56); - output.WriteInt32(SecondHalfPoolId); - } - sHAffixId_.WriteTo(output, _repeated_sHAffixId_codec); - if (SHBossId != 0) { - output.WriteRawTag(72); - output.WriteInt32(SHBossId); - } - if (SpecialEnemySetId.Length != 0) { - output.WriteRawTag(82); - output.WriteString(SpecialEnemySetId); - } - if (TreasureSetId.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TreasureSetId); - } - 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 (MapId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MapId); - } - waveCount_.WriteTo(ref output, _repeated_waveCount_codec); - if (FirstHalfPoolId != 0) { - output.WriteRawTag(32); - output.WriteInt32(FirstHalfPoolId); - } - fHAffixId_.WriteTo(ref output, _repeated_fHAffixId_codec); - if (FHBossId != 0) { - output.WriteRawTag(48); - output.WriteInt32(FHBossId); - } - if (SecondHalfPoolId != 0) { - output.WriteRawTag(56); - output.WriteInt32(SecondHalfPoolId); - } - sHAffixId_.WriteTo(ref output, _repeated_sHAffixId_codec); - if (SHBossId != 0) { - output.WriteRawTag(72); - output.WriteInt32(SHBossId); - } - if (SpecialEnemySetId.Length != 0) { - output.WriteRawTag(82); - output.WriteString(SpecialEnemySetId); - } - if (TreasureSetId.Length != 0) { - output.WriteRawTag(90); - output.WriteString(TreasureSetId); - } - 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 (MapId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MapId); - } - size += waveCount_.CalculateSize(_repeated_waveCount_codec); - if (FirstHalfPoolId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FirstHalfPoolId); - } - size += fHAffixId_.CalculateSize(_repeated_fHAffixId_codec); - if (FHBossId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FHBossId); - } - if (SecondHalfPoolId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SecondHalfPoolId); - } - size += sHAffixId_.CalculateSize(_repeated_sHAffixId_codec); - if (SHBossId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SHBossId); - } - if (SpecialEnemySetId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SpecialEnemySetId); - } - if (TreasureSetId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(TreasureSetId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireFloor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MapId != 0) { - MapId = other.MapId; - } - waveCount_.Add(other.waveCount_); - if (other.FirstHalfPoolId != 0) { - FirstHalfPoolId = other.FirstHalfPoolId; - } - fHAffixId_.Add(other.fHAffixId_); - if (other.FHBossId != 0) { - FHBossId = other.FHBossId; - } - if (other.SecondHalfPoolId != 0) { - SecondHalfPoolId = other.SecondHalfPoolId; - } - sHAffixId_.Add(other.sHAffixId_); - if (other.SHBossId != 0) { - SHBossId = other.SHBossId; - } - if (other.SpecialEnemySetId.Length != 0) { - SpecialEnemySetId = other.SpecialEnemySetId; - } - if (other.TreasureSetId.Length != 0) { - TreasureSetId = other.TreasureSetId; - } - _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: { - MapId = input.ReadInt32(); - break; - } - case 26: - case 24: { - waveCount_.AddEntriesFrom(input, _repeated_waveCount_codec); - break; - } - case 32: { - FirstHalfPoolId = input.ReadInt32(); - break; - } - case 42: - case 40: { - fHAffixId_.AddEntriesFrom(input, _repeated_fHAffixId_codec); - break; - } - case 48: { - FHBossId = input.ReadInt32(); - break; - } - case 56: { - SecondHalfPoolId = input.ReadInt32(); - break; - } - case 66: - case 64: { - sHAffixId_.AddEntriesFrom(input, _repeated_sHAffixId_codec); - break; - } - case 72: { - SHBossId = input.ReadInt32(); - break; - } - case 82: { - SpecialEnemySetId = input.ReadString(); - break; - } - case 90: { - TreasureSetId = 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: { - MapId = input.ReadInt32(); - break; - } - case 26: - case 24: { - waveCount_.AddEntriesFrom(ref input, _repeated_waveCount_codec); - break; - } - case 32: { - FirstHalfPoolId = input.ReadInt32(); - break; - } - case 42: - case 40: { - fHAffixId_.AddEntriesFrom(ref input, _repeated_fHAffixId_codec); - break; - } - case 48: { - FHBossId = input.ReadInt32(); - break; - } - case 56: { - SecondHalfPoolId = input.ReadInt32(); - break; - } - case 66: - case 64: { - sHAffixId_.AddEntriesFrom(ref input, _repeated_sHAffixId_codec); - break; - } - case 72: { - SHBossId = input.ReadInt32(); - break; - } - case 82: { - SpecialEnemySetId = input.ReadString(); - break; - } - case 90: { - TreasureSetId = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireMap.cs b/Novaria.Common/Protos/VampireMap.cs deleted file mode 100644 index c1f3518..0000000 --- a/Novaria.Common/Protos/VampireMap.cs +++ /dev/null @@ -1,428 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireMap.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 VampireMap.proto</summary> - public static partial class VampireMapReflection { - - #region Descriptor - /// <summary>File descriptor for VampireMap.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireMapReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBWYW1waXJlTWFwLnByb3RvIoMBCgpWYW1waXJlTWFwEgoKAmlkGAEgASgF", - "EhIKCnNjZW5lX25hbWUYAiABKAkSGgoSY29uZmlnX3ByZWZhYl9uYW1lGAMg", - "ASgJEg0KBXRoZW1lGAQgASgFEg0KBWJfZ19tGAUgASgJEhsKE2xlYXZlX3Ry", - "aWdnZXJfZXZlbnQYBiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireMap), global::Nova.Client.VampireMap.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireMap : pb::IMessage<VampireMap> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireMap> _parser = new pb::MessageParser<VampireMap>(() => new VampireMap()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireMap> 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.VampireMapReflection.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 VampireMap() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireMap(VampireMap other) : this() { - id_ = other.id_; - sceneName_ = other.sceneName_; - configPrefabName_ = other.configPrefabName_; - theme_ = other.theme_; - bGM_ = other.bGM_; - leaveTriggerEvent_ = other.leaveTriggerEvent_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireMap Clone() { - return new VampireMap(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 "scene_name" field.</summary> - public const int SceneNameFieldNumber = 2; - private string sceneName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SceneName { - get { return sceneName_; } - set { - sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "config_prefab_name" field.</summary> - public const int ConfigPrefabNameFieldNumber = 3; - private string configPrefabName_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ConfigPrefabName { - get { return configPrefabName_; } - set { - configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "theme" field.</summary> - public const int ThemeFieldNumber = 4; - private int theme_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Theme { - get { return theme_; } - set { - theme_ = value; - } - } - - /// <summary>Field number for the "b_g_m" field.</summary> - public const int BGMFieldNumber = 5; - private string bGM_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BGM { - get { return bGM_; } - set { - bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "leave_trigger_event" field.</summary> - public const int LeaveTriggerEventFieldNumber = 6; - private string leaveTriggerEvent_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string LeaveTriggerEvent { - get { return leaveTriggerEvent_; } - set { - leaveTriggerEvent_ = 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 VampireMap); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireMap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (SceneName != other.SceneName) return false; - if (ConfigPrefabName != other.ConfigPrefabName) return false; - if (Theme != other.Theme) return false; - if (BGM != other.BGM) return false; - if (LeaveTriggerEvent != other.LeaveTriggerEvent) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); - if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); - if (Theme != 0) hash ^= Theme.GetHashCode(); - if (BGM.Length != 0) hash ^= BGM.GetHashCode(); - if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - 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 (SceneName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(SceneName); - } - if (ConfigPrefabName.Length != 0) { - output.WriteRawTag(26); - output.WriteString(ConfigPrefabName); - } - if (Theme != 0) { - output.WriteRawTag(32); - output.WriteInt32(Theme); - } - if (BGM.Length != 0) { - output.WriteRawTag(42); - output.WriteString(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - output.WriteRawTag(50); - output.WriteString(LeaveTriggerEvent); - } - 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 (SceneName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); - } - if (ConfigPrefabName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); - } - if (Theme != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); - } - if (BGM.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); - } - if (LeaveTriggerEvent.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireMap other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.SceneName.Length != 0) { - SceneName = other.SceneName; - } - if (other.ConfigPrefabName.Length != 0) { - ConfigPrefabName = other.ConfigPrefabName; - } - if (other.Theme != 0) { - Theme = other.Theme; - } - if (other.BGM.Length != 0) { - BGM = other.BGM; - } - if (other.LeaveTriggerEvent.Length != 0) { - LeaveTriggerEvent = other.LeaveTriggerEvent; - } - _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: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = 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 18: { - SceneName = input.ReadString(); - break; - } - case 26: { - ConfigPrefabName = input.ReadString(); - break; - } - case 32: { - Theme = input.ReadInt32(); - break; - } - case 42: { - BGM = input.ReadString(); - break; - } - case 50: { - LeaveTriggerEvent = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireRankReward.cs b/Novaria.Common/Protos/VampireRankReward.cs deleted file mode 100644 index b818c31..0000000 --- a/Novaria.Common/Protos/VampireRankReward.cs +++ /dev/null @@ -1,429 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireRankReward.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 VampireRankReward.proto</summary> - public static partial class VampireRankRewardReflection { - - #region Descriptor - /// <summary>File descriptor for VampireRankReward.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireRankRewardReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdWYW1waXJlUmFua1Jld2FyZC5wcm90byKXAQoRVmFtcGlyZVJhbmtSZXdh", - "cmQSCgoCaWQYASABKAUSEgoKcmFua19sb3dlchgCIAEoBRIXCg9hd2FyZF9p", - "dGVtX3RpZDEYAyABKAUSFwoPYXdhcmRfaXRlbV9udW0xGAQgASgFEhcKD2F3", - "YXJkX2l0ZW1fdGlkMhgFIAEoBRIXCg9hd2FyZF9pdGVtX251bTIYBiABKAVC", - "DqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireRankReward), global::Nova.Client.VampireRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireRankReward : pb::IMessage<VampireRankReward> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireRankReward> _parser = new pb::MessageParser<VampireRankReward>(() => new VampireRankReward()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireRankReward> 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.VampireRankRewardReflection.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 VampireRankReward() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireRankReward(VampireRankReward other) : this() { - id_ = other.id_; - rankLower_ = other.rankLower_; - awardItemTid1_ = other.awardItemTid1_; - awardItemNum1_ = other.awardItemNum1_; - awardItemTid2_ = other.awardItemTid2_; - awardItemNum2_ = other.awardItemNum2_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireRankReward Clone() { - return new VampireRankReward(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 "rank_lower" field.</summary> - public const int RankLowerFieldNumber = 2; - private int rankLower_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RankLower { - get { return rankLower_; } - set { - rankLower_ = value; - } - } - - /// <summary>Field number for the "award_item_tid1" field.</summary> - public const int AwardItemTid1FieldNumber = 3; - private int awardItemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid1 { - get { return awardItemTid1_; } - set { - awardItemTid1_ = value; - } - } - - /// <summary>Field number for the "award_item_num1" field.</summary> - public const int AwardItemNum1FieldNumber = 4; - private int awardItemNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum1 { - get { return awardItemNum1_; } - set { - awardItemNum1_ = value; - } - } - - /// <summary>Field number for the "award_item_tid2" field.</summary> - public const int AwardItemTid2FieldNumber = 5; - private int awardItemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid2 { - get { return awardItemTid2_; } - set { - awardItemTid2_ = value; - } - } - - /// <summary>Field number for the "award_item_num2" field.</summary> - public const int AwardItemNum2FieldNumber = 6; - private int awardItemNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum2 { - get { return awardItemNum2_; } - set { - awardItemNum2_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireRankReward); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireRankReward other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (RankLower != other.RankLower) return false; - if (AwardItemTid1 != other.AwardItemTid1) return false; - if (AwardItemNum1 != other.AwardItemNum1) return false; - if (AwardItemTid2 != other.AwardItemTid2) return false; - if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode(); - if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); - if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); - if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); - if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) { - output.WriteRawTag(16); - output.WriteInt32(RankLower); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(AwardItemNum2); - } - 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 (RankLower != 0) { - output.WriteRawTag(16); - output.WriteInt32(RankLower); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(24); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(32); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(40); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(48); - output.WriteInt32(AwardItemNum2); - } - 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 (RankLower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower); - } - if (AwardItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireRankReward other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.RankLower != 0) { - RankLower = other.RankLower; - } - if (other.AwardItemTid1 != 0) { - AwardItemTid1 = other.AwardItemTid1; - } - if (other.AwardItemNum1 != 0) { - AwardItemNum1 = other.AwardItemNum1; - } - if (other.AwardItemTid2 != 0) { - AwardItemTid2 = other.AwardItemTid2; - } - if (other.AwardItemNum2 != 0) { - AwardItemNum2 = other.AwardItemNum2; - } - _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: { - RankLower = input.ReadInt32(); - break; - } - case 24: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 32: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 40: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 48: { - AwardItemNum2 = 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: { - RankLower = input.ReadInt32(); - break; - } - case 24: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 32: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 40: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 48: { - AwardItemNum2 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireRankSeason.cs b/Novaria.Common/Protos/VampireRankSeason.cs deleted file mode 100644 index 816c990..0000000 --- a/Novaria.Common/Protos/VampireRankSeason.cs +++ /dev/null @@ -1,391 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireRankSeason.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 VampireRankSeason.proto</summary> - public static partial class VampireRankSeasonReflection { - - #region Descriptor - /// <summary>File descriptor for VampireRankSeason.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireRankSeasonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdWYW1waXJlUmFua1NlYXNvbi5wcm90byJtChFWYW1waXJlUmFua1NlYXNv", - "bhIKCgJpZBgBIAEoBRISCgptaXNzaW9uX2lkGAIgASgFEhEKCW9wZW5fdGlt", - "ZRgDIAEoCRIQCghlbmRfdGltZRgEIAEoCRITCgtxdWVzdF9ncm91cBgFIAEo", - "BUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireRankSeason), global::Nova.Client.VampireRankSeason.Parser, new[]{ "Id", "MissionId", "OpenTime", "EndTime", "QuestGroup" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireRankSeason : pb::IMessage<VampireRankSeason> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireRankSeason> _parser = new pb::MessageParser<VampireRankSeason>(() => new VampireRankSeason()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireRankSeason> 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.VampireRankSeasonReflection.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 VampireRankSeason() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireRankSeason(VampireRankSeason other) : this() { - id_ = other.id_; - missionId_ = other.missionId_; - openTime_ = other.openTime_; - endTime_ = other.endTime_; - questGroup_ = other.questGroup_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireRankSeason Clone() { - return new VampireRankSeason(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 "mission_id" field.</summary> - public const int MissionIdFieldNumber = 2; - private int missionId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MissionId { - get { return missionId_; } - set { - missionId_ = value; - } - } - - /// <summary>Field number for the "open_time" field.</summary> - public const int OpenTimeFieldNumber = 3; - private string openTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string OpenTime { - get { return openTime_; } - set { - openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "end_time" field.</summary> - public const int EndTimeFieldNumber = 4; - private string endTime_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string EndTime { - get { return endTime_; } - set { - endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "quest_group" field.</summary> - public const int QuestGroupFieldNumber = 5; - private int questGroup_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int QuestGroup { - get { return questGroup_; } - set { - questGroup_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireRankSeason); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireRankSeason other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (MissionId != other.MissionId) return false; - if (OpenTime != other.OpenTime) return false; - if (EndTime != other.EndTime) return false; - if (QuestGroup != other.QuestGroup) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); - if (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); - if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); - if (QuestGroup != 0) hash ^= QuestGroup.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 (MissionId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MissionId); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(26); - output.WriteString(OpenTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(34); - output.WriteString(EndTime); - } - if (QuestGroup != 0) { - output.WriteRawTag(40); - output.WriteInt32(QuestGroup); - } - 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 (MissionId != 0) { - output.WriteRawTag(16); - output.WriteInt32(MissionId); - } - if (OpenTime.Length != 0) { - output.WriteRawTag(26); - output.WriteString(OpenTime); - } - if (EndTime.Length != 0) { - output.WriteRawTag(34); - output.WriteString(EndTime); - } - if (QuestGroup != 0) { - output.WriteRawTag(40); - output.WriteInt32(QuestGroup); - } - 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 (MissionId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); - } - if (OpenTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); - } - if (EndTime.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); - } - if (QuestGroup != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(QuestGroup); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireRankSeason other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.MissionId != 0) { - MissionId = other.MissionId; - } - if (other.OpenTime.Length != 0) { - OpenTime = other.OpenTime; - } - if (other.EndTime.Length != 0) { - EndTime = other.EndTime; - } - if (other.QuestGroup != 0) { - QuestGroup = other.QuestGroup; - } - _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: { - MissionId = input.ReadInt32(); - break; - } - case 26: { - OpenTime = input.ReadString(); - break; - } - case 34: { - EndTime = input.ReadString(); - break; - } - case 40: { - QuestGroup = 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: { - MissionId = input.ReadInt32(); - break; - } - case 26: { - OpenTime = input.ReadString(); - break; - } - case 34: { - EndTime = input.ReadString(); - break; - } - case 40: { - QuestGroup = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireSurvivor.cs b/Novaria.Common/Protos/VampireSurvivor.cs deleted file mode 100644 index 9610ba4..0000000 --- a/Novaria.Common/Protos/VampireSurvivor.cs +++ /dev/null @@ -1,1396 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireSurvivor.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 VampireSurvivor.proto</summary> - public static partial class VampireSurvivorReflection { - - #region Descriptor - /// <summary>File descriptor for VampireSurvivor.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireSurvivorReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVWYW1waXJlU3Vydml2b3IucHJvdG8i9gUKD1ZhbXBpcmVTdXJ2aXZvchIK", - "CgJpZBgBIAEoBRIMCgRuYW1lGAIgASgJEgwKBGRlc2MYAyABKAkSDQoFZV9l", - "X3QYBCADKAUSEQoJbm90X2VfZV90GAUgAygFEhcKD3N1Z2dlc3RlZF9wb3dl", - "chgGIAEoBRIcChRyZWNvbW1lbmRfYnVpbGRfcmFuaxgHIAEoBRIMCgR0eXBl", - "GAggASgFEhQKDHByZV9sZXZlbF9pZBgJIAEoBRIYChBuZWVkX3dvcmxkX2Ns", - "YXNzGAogASgFEhwKFGZpcnN0X3F1ZXN0X2dyb3VwX2lkGAsgASgFEhYKDmxl", - "dmVsX2dyb3VwX2lkGAwgASgFEhAKCGZsb29yX2lkGA0gASgFEhUKDW5vcm1h", - "bF9zY29yZTEYDiABKAUSFAoMZWxpdGVfc2NvcmUxGA8gASgFEhMKC2Jvc3Nf", - "c2NvcmUxGBAgASgFEhMKC3RpbWVfc2NvcmUxGBEgASgFEhMKC3RpbWVfbGlt", - "aXQxGBIgASgFEhUKDW5vcm1hbF9zY29yZTIYEyABKAUSFAoMZWxpdGVfc2Nv", - "cmUyGBQgASgFEhMKC2Jvc3Nfc2NvcmUyGBUgASgFEhMKC3RpbWVfc2NvcmUy", - "GBYgASgFEhMKC3RpbWVfbGltaXQyGBcgASgFEhQKDGVfZV90X3Njb3JlMRgY", - "IAMoBRIUCgxlX2VfdF9zY29yZTIYGSADKAUSJAocZl9oX3ByZXZpZXdfbW9u", - "c3Rlcl9ncm91cF9pZBgaIAEoBRIkChxzX2hfcHJldmlld19tb25zdGVyX2dy", - "b3VwX2lkGBsgASgFEhUKDWNvdmVyX2VwaXNvZGUYHCABKAkSDwoHZXBpc29k", - "ZRgdIAEoCRIQCghlcGlzb2RlMhgeIAEoCRIYChBmYXRlX2NhcmRfYnVuZGxl", - "GB8gAygFEhgKEHNwZWNpYV9mYXRlX2NhcmQYICABKAkSHgoWc3BlY2lhX2Zh", - "dGVfY2FyZF9wYXJhbRghIAEoCUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireSurvivor), global::Nova.Client.VampireSurvivor.Parser, new[]{ "Id", "Name", "Desc", "EET", "NotEET", "SuggestedPower", "RecommendBuildRank", "Type", "PreLevelId", "NeedWorldClass", "FirstQuestGroupId", "LevelGroupId", "FloorId", "NormalScore1", "EliteScore1", "BossScore1", "TimeScore1", "TimeLimit1", "NormalScore2", "EliteScore2", "BossScore2", "TimeScore2", "TimeLimit2", "EETScore1", "EETScore2", "FHPreviewMonsterGroupId", "SHPreviewMonsterGroupId", "CoverEpisode", "Episode", "Episode2", "FateCardBundle", "SpeciaFateCard", "SpeciaFateCardParam" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireSurvivor : pb::IMessage<VampireSurvivor> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireSurvivor> _parser = new pb::MessageParser<VampireSurvivor>(() => new VampireSurvivor()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireSurvivor> 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.VampireSurvivorReflection.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 VampireSurvivor() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivor(VampireSurvivor other) : this() { - id_ = other.id_; - name_ = other.name_; - desc_ = other.desc_; - eET_ = other.eET_.Clone(); - notEET_ = other.notEET_.Clone(); - suggestedPower_ = other.suggestedPower_; - recommendBuildRank_ = other.recommendBuildRank_; - type_ = other.type_; - preLevelId_ = other.preLevelId_; - needWorldClass_ = other.needWorldClass_; - firstQuestGroupId_ = other.firstQuestGroupId_; - levelGroupId_ = other.levelGroupId_; - floorId_ = other.floorId_; - normalScore1_ = other.normalScore1_; - eliteScore1_ = other.eliteScore1_; - bossScore1_ = other.bossScore1_; - timeScore1_ = other.timeScore1_; - timeLimit1_ = other.timeLimit1_; - normalScore2_ = other.normalScore2_; - eliteScore2_ = other.eliteScore2_; - bossScore2_ = other.bossScore2_; - timeScore2_ = other.timeScore2_; - timeLimit2_ = other.timeLimit2_; - eETScore1_ = other.eETScore1_.Clone(); - eETScore2_ = other.eETScore2_.Clone(); - fHPreviewMonsterGroupId_ = other.fHPreviewMonsterGroupId_; - sHPreviewMonsterGroupId_ = other.sHPreviewMonsterGroupId_; - coverEpisode_ = other.coverEpisode_; - episode_ = other.episode_; - episode2_ = other.episode2_; - fateCardBundle_ = other.fateCardBundle_.Clone(); - speciaFateCard_ = other.speciaFateCard_; - speciaFateCardParam_ = other.speciaFateCardParam_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivor Clone() { - return new VampireSurvivor(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 "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "e_e_t" field.</summary> - public const int EETFieldNumber = 4; - private static readonly pb::FieldCodec<int> _repeated_eET_codec - = pb::FieldCodec.ForInt32(34); - private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EET { - get { return eET_; } - } - - /// <summary>Field number for the "not_e_e_t" field.</summary> - public const int NotEETFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_notEET_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> notEET_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> NotEET { - get { return notEET_; } - } - - /// <summary>Field number for the "suggested_power" field.</summary> - 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; - } - } - - /// <summary>Field number for the "recommend_build_rank" field.</summary> - public const int RecommendBuildRankFieldNumber = 7; - private int recommendBuildRank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RecommendBuildRank { - get { return recommendBuildRank_; } - set { - recommendBuildRank_ = value; - } - } - - /// <summary>Field number for the "type" field.</summary> - public const int TypeFieldNumber = 8; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "pre_level_id" field.</summary> - public const int PreLevelIdFieldNumber = 9; - private int preLevelId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreLevelId { - get { return preLevelId_; } - set { - preLevelId_ = value; - } - } - - /// <summary>Field number for the "need_world_class" field.</summary> - public const int NeedWorldClassFieldNumber = 10; - private int needWorldClass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NeedWorldClass { - get { return needWorldClass_; } - set { - needWorldClass_ = value; - } - } - - /// <summary>Field number for the "first_quest_group_id" field.</summary> - public const int FirstQuestGroupIdFieldNumber = 11; - private int firstQuestGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FirstQuestGroupId { - get { return firstQuestGroupId_; } - set { - firstQuestGroupId_ = value; - } - } - - /// <summary>Field number for the "level_group_id" field.</summary> - public const int LevelGroupIdFieldNumber = 12; - private int levelGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelGroupId { - get { return levelGroupId_; } - set { - levelGroupId_ = value; - } - } - - /// <summary>Field number for the "floor_id" field.</summary> - public const int FloorIdFieldNumber = 13; - private int floorId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FloorId { - get { return floorId_; } - set { - floorId_ = value; - } - } - - /// <summary>Field number for the "normal_score1" field.</summary> - public const int NormalScore1FieldNumber = 14; - private int normalScore1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalScore1 { - get { return normalScore1_; } - set { - normalScore1_ = value; - } - } - - /// <summary>Field number for the "elite_score1" field.</summary> - public const int EliteScore1FieldNumber = 15; - private int eliteScore1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EliteScore1 { - get { return eliteScore1_; } - set { - eliteScore1_ = value; - } - } - - /// <summary>Field number for the "boss_score1" field.</summary> - public const int BossScore1FieldNumber = 16; - private int bossScore1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BossScore1 { - get { return bossScore1_; } - set { - bossScore1_ = value; - } - } - - /// <summary>Field number for the "time_score1" field.</summary> - public const int TimeScore1FieldNumber = 17; - private int timeScore1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TimeScore1 { - get { return timeScore1_; } - set { - timeScore1_ = value; - } - } - - /// <summary>Field number for the "time_limit1" field.</summary> - public const int TimeLimit1FieldNumber = 18; - private int timeLimit1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TimeLimit1 { - get { return timeLimit1_; } - set { - timeLimit1_ = value; - } - } - - /// <summary>Field number for the "normal_score2" field.</summary> - public const int NormalScore2FieldNumber = 19; - private int normalScore2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NormalScore2 { - get { return normalScore2_; } - set { - normalScore2_ = value; - } - } - - /// <summary>Field number for the "elite_score2" field.</summary> - public const int EliteScore2FieldNumber = 20; - private int eliteScore2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EliteScore2 { - get { return eliteScore2_; } - set { - eliteScore2_ = value; - } - } - - /// <summary>Field number for the "boss_score2" field.</summary> - public const int BossScore2FieldNumber = 21; - private int bossScore2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BossScore2 { - get { return bossScore2_; } - set { - bossScore2_ = value; - } - } - - /// <summary>Field number for the "time_score2" field.</summary> - public const int TimeScore2FieldNumber = 22; - private int timeScore2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TimeScore2 { - get { return timeScore2_; } - set { - timeScore2_ = value; - } - } - - /// <summary>Field number for the "time_limit2" field.</summary> - public const int TimeLimit2FieldNumber = 23; - private int timeLimit2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TimeLimit2 { - get { return timeLimit2_; } - set { - timeLimit2_ = value; - } - } - - /// <summary>Field number for the "e_e_t_score1" field.</summary> - public const int EETScore1FieldNumber = 24; - private static readonly pb::FieldCodec<int> _repeated_eETScore1_codec - = pb::FieldCodec.ForInt32(194); - private readonly pbc::RepeatedField<int> eETScore1_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EETScore1 { - get { return eETScore1_; } - } - - /// <summary>Field number for the "e_e_t_score2" field.</summary> - public const int EETScore2FieldNumber = 25; - private static readonly pb::FieldCodec<int> _repeated_eETScore2_codec - = pb::FieldCodec.ForInt32(202); - private readonly pbc::RepeatedField<int> eETScore2_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> EETScore2 { - get { return eETScore2_; } - } - - /// <summary>Field number for the "f_h_preview_monster_group_id" field.</summary> - public const int FHPreviewMonsterGroupIdFieldNumber = 26; - private int fHPreviewMonsterGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int FHPreviewMonsterGroupId { - get { return fHPreviewMonsterGroupId_; } - set { - fHPreviewMonsterGroupId_ = value; - } - } - - /// <summary>Field number for the "s_h_preview_monster_group_id" field.</summary> - public const int SHPreviewMonsterGroupIdFieldNumber = 27; - private int sHPreviewMonsterGroupId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SHPreviewMonsterGroupId { - get { return sHPreviewMonsterGroupId_; } - set { - sHPreviewMonsterGroupId_ = value; - } - } - - /// <summary>Field number for the "cover_episode" field.</summary> - public const int CoverEpisodeFieldNumber = 28; - private string coverEpisode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CoverEpisode { - get { return coverEpisode_; } - set { - coverEpisode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "episode" field.</summary> - public const int EpisodeFieldNumber = 29; - private string episode_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode { - get { return episode_; } - set { - episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "episode2" field.</summary> - public const int Episode2FieldNumber = 30; - private string episode2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Episode2 { - get { return episode2_; } - set { - episode2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "fate_card_bundle" field.</summary> - public const int FateCardBundleFieldNumber = 31; - private static readonly pb::FieldCodec<int> _repeated_fateCardBundle_codec - = pb::FieldCodec.ForInt32(250); - private readonly pbc::RepeatedField<int> fateCardBundle_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> FateCardBundle { - get { return fateCardBundle_; } - } - - /// <summary>Field number for the "specia_fate_card" field.</summary> - public const int SpeciaFateCardFieldNumber = 32; - private string speciaFateCard_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SpeciaFateCard { - get { return speciaFateCard_; } - set { - speciaFateCard_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "specia_fate_card_param" field.</summary> - public const int SpeciaFateCardParamFieldNumber = 33; - private string speciaFateCardParam_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string SpeciaFateCardParam { - get { return speciaFateCardParam_; } - set { - speciaFateCardParam_ = 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 VampireSurvivor); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireSurvivor 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 (Desc != other.Desc) return false; - if(!eET_.Equals(other.eET_)) return false; - if(!notEET_.Equals(other.notEET_)) return false; - if (SuggestedPower != other.SuggestedPower) return false; - if (RecommendBuildRank != other.RecommendBuildRank) return false; - if (Type != other.Type) return false; - if (PreLevelId != other.PreLevelId) return false; - if (NeedWorldClass != other.NeedWorldClass) return false; - if (FirstQuestGroupId != other.FirstQuestGroupId) return false; - if (LevelGroupId != other.LevelGroupId) return false; - if (FloorId != other.FloorId) return false; - if (NormalScore1 != other.NormalScore1) return false; - if (EliteScore1 != other.EliteScore1) return false; - if (BossScore1 != other.BossScore1) return false; - if (TimeScore1 != other.TimeScore1) return false; - if (TimeLimit1 != other.TimeLimit1) return false; - if (NormalScore2 != other.NormalScore2) return false; - if (EliteScore2 != other.EliteScore2) return false; - if (BossScore2 != other.BossScore2) return false; - if (TimeScore2 != other.TimeScore2) return false; - if (TimeLimit2 != other.TimeLimit2) return false; - if(!eETScore1_.Equals(other.eETScore1_)) return false; - if(!eETScore2_.Equals(other.eETScore2_)) return false; - if (FHPreviewMonsterGroupId != other.FHPreviewMonsterGroupId) return false; - if (SHPreviewMonsterGroupId != other.SHPreviewMonsterGroupId) return false; - if (CoverEpisode != other.CoverEpisode) return false; - if (Episode != other.Episode) return false; - if (Episode2 != other.Episode2) return false; - if(!fateCardBundle_.Equals(other.fateCardBundle_)) return false; - if (SpeciaFateCard != other.SpeciaFateCard) return false; - if (SpeciaFateCardParam != other.SpeciaFateCardParam) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); - hash ^= eET_.GetHashCode(); - hash ^= notEET_.GetHashCode(); - if (SuggestedPower != 0) hash ^= SuggestedPower.GetHashCode(); - if (RecommendBuildRank != 0) hash ^= RecommendBuildRank.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); - if (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); - if (FirstQuestGroupId != 0) hash ^= FirstQuestGroupId.GetHashCode(); - if (LevelGroupId != 0) hash ^= LevelGroupId.GetHashCode(); - if (FloorId != 0) hash ^= FloorId.GetHashCode(); - if (NormalScore1 != 0) hash ^= NormalScore1.GetHashCode(); - if (EliteScore1 != 0) hash ^= EliteScore1.GetHashCode(); - if (BossScore1 != 0) hash ^= BossScore1.GetHashCode(); - if (TimeScore1 != 0) hash ^= TimeScore1.GetHashCode(); - if (TimeLimit1 != 0) hash ^= TimeLimit1.GetHashCode(); - if (NormalScore2 != 0) hash ^= NormalScore2.GetHashCode(); - if (EliteScore2 != 0) hash ^= EliteScore2.GetHashCode(); - if (BossScore2 != 0) hash ^= BossScore2.GetHashCode(); - if (TimeScore2 != 0) hash ^= TimeScore2.GetHashCode(); - if (TimeLimit2 != 0) hash ^= TimeLimit2.GetHashCode(); - hash ^= eETScore1_.GetHashCode(); - hash ^= eETScore2_.GetHashCode(); - if (FHPreviewMonsterGroupId != 0) hash ^= FHPreviewMonsterGroupId.GetHashCode(); - if (SHPreviewMonsterGroupId != 0) hash ^= SHPreviewMonsterGroupId.GetHashCode(); - if (CoverEpisode.Length != 0) hash ^= CoverEpisode.GetHashCode(); - if (Episode.Length != 0) hash ^= Episode.GetHashCode(); - if (Episode2.Length != 0) hash ^= Episode2.GetHashCode(); - hash ^= fateCardBundle_.GetHashCode(); - if (SpeciaFateCard.Length != 0) hash ^= SpeciaFateCard.GetHashCode(); - if (SpeciaFateCardParam.Length != 0) hash ^= SpeciaFateCardParam.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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - eET_.WriteTo(output, _repeated_eET_codec); - notEET_.WriteTo(output, _repeated_notEET_codec); - if (SuggestedPower != 0) { - output.WriteRawTag(48); - output.WriteInt32(SuggestedPower); - } - if (RecommendBuildRank != 0) { - output.WriteRawTag(56); - output.WriteInt32(RecommendBuildRank); - } - if (Type != 0) { - output.WriteRawTag(64); - output.WriteInt32(Type); - } - if (PreLevelId != 0) { - output.WriteRawTag(72); - output.WriteInt32(PreLevelId); - } - if (NeedWorldClass != 0) { - output.WriteRawTag(80); - output.WriteInt32(NeedWorldClass); - } - if (FirstQuestGroupId != 0) { - output.WriteRawTag(88); - output.WriteInt32(FirstQuestGroupId); - } - if (LevelGroupId != 0) { - output.WriteRawTag(96); - output.WriteInt32(LevelGroupId); - } - if (FloorId != 0) { - output.WriteRawTag(104); - output.WriteInt32(FloorId); - } - if (NormalScore1 != 0) { - output.WriteRawTag(112); - output.WriteInt32(NormalScore1); - } - if (EliteScore1 != 0) { - output.WriteRawTag(120); - output.WriteInt32(EliteScore1); - } - if (BossScore1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(BossScore1); - } - if (TimeScore1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(TimeScore1); - } - if (TimeLimit1 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(TimeLimit1); - } - if (NormalScore2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(NormalScore2); - } - if (EliteScore2 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(EliteScore2); - } - if (BossScore2 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(BossScore2); - } - if (TimeScore2 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(TimeScore2); - } - if (TimeLimit2 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(TimeLimit2); - } - eETScore1_.WriteTo(output, _repeated_eETScore1_codec); - eETScore2_.WriteTo(output, _repeated_eETScore2_codec); - if (FHPreviewMonsterGroupId != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(FHPreviewMonsterGroupId); - } - if (SHPreviewMonsterGroupId != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(SHPreviewMonsterGroupId); - } - if (CoverEpisode.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(CoverEpisode); - } - if (Episode.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(Episode); - } - if (Episode2.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(Episode2); - } - fateCardBundle_.WriteTo(output, _repeated_fateCardBundle_codec); - if (SpeciaFateCard.Length != 0) { - output.WriteRawTag(130, 2); - output.WriteString(SpeciaFateCard); - } - if (SpeciaFateCardParam.Length != 0) { - output.WriteRawTag(138, 2); - output.WriteString(SpeciaFateCardParam); - } - 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 (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - eET_.WriteTo(ref output, _repeated_eET_codec); - notEET_.WriteTo(ref output, _repeated_notEET_codec); - if (SuggestedPower != 0) { - output.WriteRawTag(48); - output.WriteInt32(SuggestedPower); - } - if (RecommendBuildRank != 0) { - output.WriteRawTag(56); - output.WriteInt32(RecommendBuildRank); - } - if (Type != 0) { - output.WriteRawTag(64); - output.WriteInt32(Type); - } - if (PreLevelId != 0) { - output.WriteRawTag(72); - output.WriteInt32(PreLevelId); - } - if (NeedWorldClass != 0) { - output.WriteRawTag(80); - output.WriteInt32(NeedWorldClass); - } - if (FirstQuestGroupId != 0) { - output.WriteRawTag(88); - output.WriteInt32(FirstQuestGroupId); - } - if (LevelGroupId != 0) { - output.WriteRawTag(96); - output.WriteInt32(LevelGroupId); - } - if (FloorId != 0) { - output.WriteRawTag(104); - output.WriteInt32(FloorId); - } - if (NormalScore1 != 0) { - output.WriteRawTag(112); - output.WriteInt32(NormalScore1); - } - if (EliteScore1 != 0) { - output.WriteRawTag(120); - output.WriteInt32(EliteScore1); - } - if (BossScore1 != 0) { - output.WriteRawTag(128, 1); - output.WriteInt32(BossScore1); - } - if (TimeScore1 != 0) { - output.WriteRawTag(136, 1); - output.WriteInt32(TimeScore1); - } - if (TimeLimit1 != 0) { - output.WriteRawTag(144, 1); - output.WriteInt32(TimeLimit1); - } - if (NormalScore2 != 0) { - output.WriteRawTag(152, 1); - output.WriteInt32(NormalScore2); - } - if (EliteScore2 != 0) { - output.WriteRawTag(160, 1); - output.WriteInt32(EliteScore2); - } - if (BossScore2 != 0) { - output.WriteRawTag(168, 1); - output.WriteInt32(BossScore2); - } - if (TimeScore2 != 0) { - output.WriteRawTag(176, 1); - output.WriteInt32(TimeScore2); - } - if (TimeLimit2 != 0) { - output.WriteRawTag(184, 1); - output.WriteInt32(TimeLimit2); - } - eETScore1_.WriteTo(ref output, _repeated_eETScore1_codec); - eETScore2_.WriteTo(ref output, _repeated_eETScore2_codec); - if (FHPreviewMonsterGroupId != 0) { - output.WriteRawTag(208, 1); - output.WriteInt32(FHPreviewMonsterGroupId); - } - if (SHPreviewMonsterGroupId != 0) { - output.WriteRawTag(216, 1); - output.WriteInt32(SHPreviewMonsterGroupId); - } - if (CoverEpisode.Length != 0) { - output.WriteRawTag(226, 1); - output.WriteString(CoverEpisode); - } - if (Episode.Length != 0) { - output.WriteRawTag(234, 1); - output.WriteString(Episode); - } - if (Episode2.Length != 0) { - output.WriteRawTag(242, 1); - output.WriteString(Episode2); - } - fateCardBundle_.WriteTo(ref output, _repeated_fateCardBundle_codec); - if (SpeciaFateCard.Length != 0) { - output.WriteRawTag(130, 2); - output.WriteString(SpeciaFateCard); - } - if (SpeciaFateCardParam.Length != 0) { - output.WriteRawTag(138, 2); - output.WriteString(SpeciaFateCardParam); - } - 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 (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - size += eET_.CalculateSize(_repeated_eET_codec); - size += notEET_.CalculateSize(_repeated_notEET_codec); - if (SuggestedPower != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuggestedPower); - } - if (RecommendBuildRank != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (PreLevelId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); - } - if (NeedWorldClass != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); - } - if (FirstQuestGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FirstQuestGroupId); - } - if (LevelGroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelGroupId); - } - if (FloorId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); - } - if (NormalScore1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalScore1); - } - if (EliteScore1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EliteScore1); - } - if (BossScore1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(BossScore1); - } - if (TimeScore1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeScore1); - } - if (TimeLimit1 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeLimit1); - } - if (NormalScore2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalScore2); - } - if (EliteScore2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(EliteScore2); - } - if (BossScore2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(BossScore2); - } - if (TimeScore2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeScore2); - } - if (TimeLimit2 != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeLimit2); - } - size += eETScore1_.CalculateSize(_repeated_eETScore1_codec); - size += eETScore2_.CalculateSize(_repeated_eETScore2_codec); - if (FHPreviewMonsterGroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(FHPreviewMonsterGroupId); - } - if (SHPreviewMonsterGroupId != 0) { - size += 2 + pb::CodedOutputStream.ComputeInt32Size(SHPreviewMonsterGroupId); - } - if (CoverEpisode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(CoverEpisode); - } - if (Episode.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Episode); - } - if (Episode2.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(Episode2); - } - size += fateCardBundle_.CalculateSize(_repeated_fateCardBundle_codec); - if (SpeciaFateCard.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(SpeciaFateCard); - } - if (SpeciaFateCardParam.Length != 0) { - size += 2 + pb::CodedOutputStream.ComputeStringSize(SpeciaFateCardParam); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireSurvivor other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - eET_.Add(other.eET_); - notEET_.Add(other.notEET_); - if (other.SuggestedPower != 0) { - SuggestedPower = other.SuggestedPower; - } - if (other.RecommendBuildRank != 0) { - RecommendBuildRank = other.RecommendBuildRank; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.PreLevelId != 0) { - PreLevelId = other.PreLevelId; - } - if (other.NeedWorldClass != 0) { - NeedWorldClass = other.NeedWorldClass; - } - if (other.FirstQuestGroupId != 0) { - FirstQuestGroupId = other.FirstQuestGroupId; - } - if (other.LevelGroupId != 0) { - LevelGroupId = other.LevelGroupId; - } - if (other.FloorId != 0) { - FloorId = other.FloorId; - } - if (other.NormalScore1 != 0) { - NormalScore1 = other.NormalScore1; - } - if (other.EliteScore1 != 0) { - EliteScore1 = other.EliteScore1; - } - if (other.BossScore1 != 0) { - BossScore1 = other.BossScore1; - } - if (other.TimeScore1 != 0) { - TimeScore1 = other.TimeScore1; - } - if (other.TimeLimit1 != 0) { - TimeLimit1 = other.TimeLimit1; - } - if (other.NormalScore2 != 0) { - NormalScore2 = other.NormalScore2; - } - if (other.EliteScore2 != 0) { - EliteScore2 = other.EliteScore2; - } - if (other.BossScore2 != 0) { - BossScore2 = other.BossScore2; - } - if (other.TimeScore2 != 0) { - TimeScore2 = other.TimeScore2; - } - if (other.TimeLimit2 != 0) { - TimeLimit2 = other.TimeLimit2; - } - eETScore1_.Add(other.eETScore1_); - eETScore2_.Add(other.eETScore2_); - if (other.FHPreviewMonsterGroupId != 0) { - FHPreviewMonsterGroupId = other.FHPreviewMonsterGroupId; - } - if (other.SHPreviewMonsterGroupId != 0) { - SHPreviewMonsterGroupId = other.SHPreviewMonsterGroupId; - } - if (other.CoverEpisode.Length != 0) { - CoverEpisode = other.CoverEpisode; - } - if (other.Episode.Length != 0) { - Episode = other.Episode; - } - if (other.Episode2.Length != 0) { - Episode2 = other.Episode2; - } - fateCardBundle_.Add(other.fateCardBundle_); - if (other.SpeciaFateCard.Length != 0) { - SpeciaFateCard = other.SpeciaFateCard; - } - if (other.SpeciaFateCardParam.Length != 0) { - SpeciaFateCardParam = other.SpeciaFateCardParam; - } - _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 26: { - Desc = input.ReadString(); - break; - } - case 34: - case 32: { - eET_.AddEntriesFrom(input, _repeated_eET_codec); - break; - } - case 42: - case 40: { - notEET_.AddEntriesFrom(input, _repeated_notEET_codec); - break; - } - case 48: { - SuggestedPower = input.ReadInt32(); - break; - } - case 56: { - RecommendBuildRank = input.ReadInt32(); - break; - } - case 64: { - Type = input.ReadInt32(); - break; - } - case 72: { - PreLevelId = input.ReadInt32(); - break; - } - case 80: { - NeedWorldClass = input.ReadInt32(); - break; - } - case 88: { - FirstQuestGroupId = input.ReadInt32(); - break; - } - case 96: { - LevelGroupId = input.ReadInt32(); - break; - } - case 104: { - FloorId = input.ReadInt32(); - break; - } - case 112: { - NormalScore1 = input.ReadInt32(); - break; - } - case 120: { - EliteScore1 = input.ReadInt32(); - break; - } - case 128: { - BossScore1 = input.ReadInt32(); - break; - } - case 136: { - TimeScore1 = input.ReadInt32(); - break; - } - case 144: { - TimeLimit1 = input.ReadInt32(); - break; - } - case 152: { - NormalScore2 = input.ReadInt32(); - break; - } - case 160: { - EliteScore2 = input.ReadInt32(); - break; - } - case 168: { - BossScore2 = input.ReadInt32(); - break; - } - case 176: { - TimeScore2 = input.ReadInt32(); - break; - } - case 184: { - TimeLimit2 = input.ReadInt32(); - break; - } - case 194: - case 192: { - eETScore1_.AddEntriesFrom(input, _repeated_eETScore1_codec); - break; - } - case 202: - case 200: { - eETScore2_.AddEntriesFrom(input, _repeated_eETScore2_codec); - break; - } - case 208: { - FHPreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 216: { - SHPreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 226: { - CoverEpisode = input.ReadString(); - break; - } - case 234: { - Episode = input.ReadString(); - break; - } - case 242: { - Episode2 = input.ReadString(); - break; - } - case 250: - case 248: { - fateCardBundle_.AddEntriesFrom(input, _repeated_fateCardBundle_codec); - break; - } - case 258: { - SpeciaFateCard = input.ReadString(); - break; - } - case 266: { - SpeciaFateCardParam = 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 18: { - Name = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: - case 32: { - eET_.AddEntriesFrom(ref input, _repeated_eET_codec); - break; - } - case 42: - case 40: { - notEET_.AddEntriesFrom(ref input, _repeated_notEET_codec); - break; - } - case 48: { - SuggestedPower = input.ReadInt32(); - break; - } - case 56: { - RecommendBuildRank = input.ReadInt32(); - break; - } - case 64: { - Type = input.ReadInt32(); - break; - } - case 72: { - PreLevelId = input.ReadInt32(); - break; - } - case 80: { - NeedWorldClass = input.ReadInt32(); - break; - } - case 88: { - FirstQuestGroupId = input.ReadInt32(); - break; - } - case 96: { - LevelGroupId = input.ReadInt32(); - break; - } - case 104: { - FloorId = input.ReadInt32(); - break; - } - case 112: { - NormalScore1 = input.ReadInt32(); - break; - } - case 120: { - EliteScore1 = input.ReadInt32(); - break; - } - case 128: { - BossScore1 = input.ReadInt32(); - break; - } - case 136: { - TimeScore1 = input.ReadInt32(); - break; - } - case 144: { - TimeLimit1 = input.ReadInt32(); - break; - } - case 152: { - NormalScore2 = input.ReadInt32(); - break; - } - case 160: { - EliteScore2 = input.ReadInt32(); - break; - } - case 168: { - BossScore2 = input.ReadInt32(); - break; - } - case 176: { - TimeScore2 = input.ReadInt32(); - break; - } - case 184: { - TimeLimit2 = input.ReadInt32(); - break; - } - case 194: - case 192: { - eETScore1_.AddEntriesFrom(ref input, _repeated_eETScore1_codec); - break; - } - case 202: - case 200: { - eETScore2_.AddEntriesFrom(ref input, _repeated_eETScore2_codec); - break; - } - case 208: { - FHPreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 216: { - SHPreviewMonsterGroupId = input.ReadInt32(); - break; - } - case 226: { - CoverEpisode = input.ReadString(); - break; - } - case 234: { - Episode = input.ReadString(); - break; - } - case 242: { - Episode2 = input.ReadString(); - break; - } - case 250: - case 248: { - fateCardBundle_.AddEntriesFrom(ref input, _repeated_fateCardBundle_codec); - break; - } - case 258: { - SpeciaFateCard = input.ReadString(); - break; - } - case 266: { - SpeciaFateCardParam = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireSurvivorApply.cs b/Novaria.Common/Protos/VampireSurvivorApply.cs new file mode 100644 index 0000000..a9c0619 --- /dev/null +++ b/Novaria.Common/Protos/VampireSurvivorApply.cs @@ -0,0 +1,760 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_survivor_apply.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_survivor_apply.proto</summary> + public static partial class VampireSurvivorApplyReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_survivor_apply.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireSurvivorApplyReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Chx2YW1waXJlX3N1cnZpdm9yX2FwcGx5LnByb3RvEgVwcm90bxoMcHVibGlj", + "LnByb3RvIl8KF1ZhbXBpcmVTdXJ2aXZvckFwcGx5UmVxEgoKAklkGAEgASgN", + "EhAKCEJ1aWxkSWQxGAIgASgEEhAKCEJ1aWxkSWQyGAMgASgEEhQKC05leHRQ", + "YWNrYWdlGP8PIAEoDCL5AQoYVmFtcGlyZVN1cnZpdm9yQXBwbHlSZXNwEisK", + "BkV2ZW50cxgBIAMoCzIbLnByb3RvLlZhbXBpcmVTdXJ2aXZvckV2ZW50Eg4K", + "BlRpY2tlchgCIAEoDRIhCgZDaGFuZ2UYAyABKAsyES5wcm90by5DaGFuZ2VJ", + "bmZvEjQKBlNlbGVjdBgEIAEoCzIkLnByb3RvLlZhbXBpcmVTdXJ2aXZvckZh", + "dGVDYXJkU2VsZWN0EjEKBlJld2FyZBgFIAEoCzIhLnByb3RvLlZhbXBpcmVT", + "dXJ2aXZvckxldmVsUmV3YXJkEhQKC05leHRQYWNrYWdlGP8PIAEoDFAAYgZw", + "cm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorApplyReq), global::Proto.VampireSurvivorApplyReq.Parser, new[]{ "Id", "BuildId1", "BuildId2", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorApplyResp), global::Proto.VampireSurvivorApplyResp.Parser, new[]{ "Events", "Ticker", "Change", "Select", "Reward", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorApplyReq : pb::IMessage<VampireSurvivorApplyReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorApplyReq> _parser = new pb::MessageParser<VampireSurvivorApplyReq>(() => new VampireSurvivorApplyReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorApplyReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorApplyReflection.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 VampireSurvivorApplyReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorApplyReq(VampireSurvivorApplyReq other) : this() { + id_ = other.id_; + buildId1_ = other.buildId1_; + buildId2_ = other.buildId2_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorApplyReq Clone() { + return new VampireSurvivorApplyReq(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "BuildId1" field.</summary> + public const int BuildId1FieldNumber = 2; + private ulong buildId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId1 { + get { return buildId1_; } + set { + buildId1_ = value; + } + } + + /// <summary>Field number for the "BuildId2" field.</summary> + public const int BuildId2FieldNumber = 3; + private ulong buildId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong BuildId2 { + get { return buildId2_; } + set { + buildId2_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorApplyReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorApplyReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BuildId1 != other.BuildId1) return false; + if (BuildId2 != other.BuildId2) return false; + if (NextPackage != other.NextPackage) 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 (BuildId1 != 0UL) hash ^= BuildId1.GetHashCode(); + if (BuildId2 != 0UL) hash ^= BuildId2.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (BuildId1 != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BuildId1); + } + if (BuildId2 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId2); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (BuildId1 != 0UL) { + output.WriteRawTag(16); + output.WriteUInt64(BuildId1); + } + if (BuildId2 != 0UL) { + output.WriteRawTag(24); + output.WriteUInt64(BuildId2); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (BuildId1 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId1); + } + if (BuildId2 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(BuildId2); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorApplyReq other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BuildId1 != 0UL) { + BuildId1 = other.BuildId1; + } + if (other.BuildId2 != 0UL) { + BuildId2 = other.BuildId2; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + BuildId1 = input.ReadUInt64(); + break; + } + case 24: { + BuildId2 = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + BuildId1 = input.ReadUInt64(); + break; + } + case 24: { + BuildId2 = input.ReadUInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorApplyResp : pb::IMessage<VampireSurvivorApplyResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorApplyResp> _parser = new pb::MessageParser<VampireSurvivorApplyResp>(() => new VampireSurvivorApplyResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorApplyResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorApplyReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorApplyResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorApplyResp(VampireSurvivorApplyResp other) : this() { + events_ = other.events_.Clone(); + ticker_ = other.ticker_; + change_ = other.change_ != null ? other.change_.Clone() : null; + select_ = other.select_ != null ? other.select_.Clone() : null; + reward_ = other.reward_ != null ? other.reward_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorApplyResp Clone() { + return new VampireSurvivorApplyResp(this); + } + + /// <summary>Field number for the "Events" field.</summary> + public const int EventsFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.VampireSurvivorEvent> _repeated_events_codec + = pb::FieldCodec.ForMessage(10, global::Proto.VampireSurvivorEvent.Parser); + private readonly pbc::RepeatedField<global::Proto.VampireSurvivorEvent> events_ = new pbc::RepeatedField<global::Proto.VampireSurvivorEvent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.VampireSurvivorEvent> Events { + get { return events_; } + } + + /// <summary>Field number for the "Ticker" field.</summary> + public const int TickerFieldNumber = 2; + private uint ticker_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Ticker { + get { return ticker_; } + set { + ticker_ = value; + } + } + + /// <summary>Field number for the "Change" field.</summary> + public const int ChangeFieldNumber = 3; + private global::Proto.ChangeInfo change_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.ChangeInfo Change { + get { return change_; } + set { + change_ = value; + } + } + + /// <summary>Field number for the "Select" field.</summary> + public const int SelectFieldNumber = 4; + private global::Proto.VampireSurvivorFateCardSelect select_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorFateCardSelect Select { + get { return select_; } + set { + select_ = value; + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 5; + private global::Proto.VampireSurvivorLevelReward reward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorLevelReward Reward { + get { return reward_; } + set { + reward_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorApplyResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorApplyResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!events_.Equals(other.events_)) return false; + if (Ticker != other.Ticker) return false; + if (!object.Equals(Change, other.Change)) return false; + if (!object.Equals(Select, other.Select)) return false; + if (!object.Equals(Reward, other.Reward)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= events_.GetHashCode(); + if (Ticker != 0) hash ^= Ticker.GetHashCode(); + if (change_ != null) hash ^= Change.GetHashCode(); + if (select_ != null) hash ^= Select.GetHashCode(); + if (reward_ != null) hash ^= Reward.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + events_.WriteTo(output, _repeated_events_codec); + if (Ticker != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Ticker); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (select_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Select); + } + if (reward_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Reward); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + events_.WriteTo(ref output, _repeated_events_codec); + if (Ticker != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Ticker); + } + if (change_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Change); + } + if (select_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Select); + } + if (reward_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Reward); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += events_.CalculateSize(_repeated_events_codec); + if (Ticker != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Ticker); + } + if (change_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change); + } + if (select_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Select); + } + if (reward_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorApplyResp other) { + if (other == null) { + return; + } + events_.Add(other.events_); + if (other.Ticker != 0) { + Ticker = other.Ticker; + } + if (other.change_ != null) { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + Change.MergeFrom(other.Change); + } + if (other.select_ != null) { + if (select_ == null) { + Select = new global::Proto.VampireSurvivorFateCardSelect(); + } + Select.MergeFrom(other.Select); + } + if (other.reward_ != null) { + if (reward_ == null) { + Reward = new global::Proto.VampireSurvivorLevelReward(); + } + Reward.MergeFrom(other.Reward); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + events_.AddEntriesFrom(input, _repeated_events_codec); + break; + } + case 16: { + Ticker = input.ReadUInt32(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 34: { + if (select_ == null) { + Select = new global::Proto.VampireSurvivorFateCardSelect(); + } + input.ReadMessage(Select); + break; + } + case 42: { + if (reward_ == null) { + Reward = new global::Proto.VampireSurvivorLevelReward(); + } + input.ReadMessage(Reward); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + events_.AddEntriesFrom(ref input, _repeated_events_codec); + break; + } + case 16: { + Ticker = input.ReadUInt32(); + break; + } + case 26: { + if (change_ == null) { + Change = new global::Proto.ChangeInfo(); + } + input.ReadMessage(Change); + break; + } + case 34: { + if (select_ == null) { + Select = new global::Proto.VampireSurvivorFateCardSelect(); + } + input.ReadMessage(Select); + break; + } + case 42: { + if (reward_ == null) { + Reward = new global::Proto.VampireSurvivorLevelReward(); + } + input.ReadMessage(Reward); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/TalentGroup.cs b/Novaria.Common/Protos/VampireSurvivorAreaChange.cs similarity index 54% rename from Novaria.Common/Protos/TalentGroup.cs rename to Novaria.Common/Protos/VampireSurvivorAreaChange.cs index 784fb08..84bda60 100644 --- a/Novaria.Common/Protos/TalentGroup.cs +++ b/Novaria.Common/Protos/VampireSurvivorAreaChange.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: TalentGroup.proto +// source: vampire_survivor_area_change.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,31 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from TalentGroup.proto</summary> - public static partial class TalentGroupReflection { + /// <summary>Holder for reflection information generated from vampire_survivor_area_change.proto</summary> + public static partial class VampireSurvivorAreaChangeReflection { #region Descriptor - /// <summary>File descriptor for TalentGroup.proto</summary> + /// <summary>File descriptor for vampire_survivor_area_change.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static TalentGroupReflection() { + static VampireSurvivorAreaChangeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChFUYWxlbnRHcm91cC5wcm90byJgCgtUYWxlbnRHcm91cBIKCgJpZBgBIAEo", - "BRIPCgdjaGFyX2lkGAIgASgFEhEKCXByZV9ncm91cBgDIAEoBRISCgpub2Rl", - "X2xpbWl0GAQgASgFEg0KBXRpdGxlGAUgASgJQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); + "CiJ2YW1waXJlX3N1cnZpdm9yX2FyZWFfY2hhbmdlLnByb3RvEgVwcm90bxoM", + "cHVibGljLnByb3RvGh90cmF2ZWxlcl9kdWVsX3JhbmtfdXBsb2FkLnByb3Rv", + "IoYBChxWYW1waXJlU3Vydml2b3JBcmVhQ2hhbmdlUmVxEhEKCUtpbGxDb3Vu", + "dBgBIAMoDRIMCgRUaW1lGAIgASgNEi8KBlNhbXBsZRgIIAMoCzIfLnByb3Rv", + "LlRyYXZlbGVyRHVlbEJhdHRsZVNhbXBsZRIUCgtOZXh0UGFja2FnZRj/DyAB", + "KAxQAFABYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.TravelerDuelRankUploadReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TalentGroup), global::Nova.Client.TalentGroup.Parser, new[]{ "Id", "CharId", "PreGroup", "NodeLimit", "Title" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorAreaChangeReq), global::Proto.VampireSurvivorAreaChangeReq.Parser, new[]{ "KillCount", "Time", "Sample", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +41,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class TalentGroup : pb::IMessage<TalentGroup> + public sealed partial class VampireSurvivorAreaChangeReq : pb::IMessage<VampireSurvivorAreaChangeReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<TalentGroup> _parser = new pb::MessageParser<TalentGroup>(() => new TalentGroup()); + private static readonly pb::MessageParser<VampireSurvivorAreaChangeReq> _parser = new pb::MessageParser<VampireSurvivorAreaChangeReq>(() => new VampireSurvivorAreaChangeReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<TalentGroup> Parser { get { return _parser; } } + public static pb::MessageParser<VampireSurvivorAreaChangeReq> 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.TalentGroupReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.VampireSurvivorAreaChangeReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +66,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TalentGroup() { + public VampireSurvivorAreaChangeReq() { OnConstruction(); } @@ -72,101 +74,85 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TalentGroup(TalentGroup other) : this() { - id_ = other.id_; - charId_ = other.charId_; - preGroup_ = other.preGroup_; - nodeLimit_ = other.nodeLimit_; - title_ = other.title_; + public VampireSurvivorAreaChangeReq(VampireSurvivorAreaChangeReq other) : this() { + killCount_ = other.killCount_.Clone(); + time_ = other.time_; + sample_ = other.sample_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TalentGroup Clone() { - return new TalentGroup(this); + public VampireSurvivorAreaChangeReq Clone() { + return new VampireSurvivorAreaChangeReq(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "KillCount" field.</summary> + public const int KillCountFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_killCount_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> killCount_ = new pbc::RepeatedField<uint>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pbc::RepeatedField<uint> KillCount { + get { return killCount_; } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 2; + private uint time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Time { + get { return time_; } set { - id_ = value; + time_ = value; } } - /// <summary>Field number for the "char_id" field.</summary> - public const int CharIdFieldNumber = 2; - private int charId_; + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 8; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(66, global::Proto.TravelerDuelBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharId { - get { return charId_; } - set { - charId_ = value; - } + public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample { + get { return sample_; } } - /// <summary>Field number for the "pre_group" field.</summary> - public const int PreGroupFieldNumber = 3; - private int preGroup_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PreGroup { - get { return preGroup_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - preGroup_ = value; - } - } - - /// <summary>Field number for the "node_limit" field.</summary> - public const int NodeLimitFieldNumber = 4; - private int nodeLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int NodeLimit { - get { return nodeLimit_; } - set { - nodeLimit_ = value; - } - } - - /// <summary>Field number for the "title" field.</summary> - public const int TitleFieldNumber = 5; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + nextPackage_ = 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 TalentGroup); + return Equals(other as VampireSurvivorAreaChangeReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(TalentGroup other) { + public bool Equals(VampireSurvivorAreaChangeReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (CharId != other.CharId) return false; - if (PreGroup != other.PreGroup) return false; - if (NodeLimit != other.NodeLimit) return false; - if (Title != other.Title) return false; + if(!killCount_.Equals(other.killCount_)) return false; + if (Time != other.Time) return false; + if(!sample_.Equals(other.sample_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -174,11 +160,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (CharId != 0) hash ^= CharId.GetHashCode(); - if (PreGroup != 0) hash ^= PreGroup.GetHashCode(); - if (NodeLimit != 0) hash ^= NodeLimit.GetHashCode(); - if (Title.Length != 0) hash ^= Title.GetHashCode(); + hash ^= killCount_.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + hash ^= sample_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -197,25 +182,15 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); - } - if (CharId != 0) { + killCount_.WriteTo(output, _repeated_killCount_codec); + if (Time != 0) { output.WriteRawTag(16); - output.WriteInt32(CharId); + output.WriteUInt32(Time); } - if (PreGroup != 0) { - output.WriteRawTag(24); - output.WriteInt32(PreGroup); - } - if (NodeLimit != 0) { - output.WriteRawTag(32); - output.WriteInt32(NodeLimit); - } - if (Title.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Title); + sample_.WriteTo(output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -227,25 +202,15 @@ namespace Nova.Client { [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 (CharId != 0) { + killCount_.WriteTo(ref output, _repeated_killCount_codec); + if (Time != 0) { output.WriteRawTag(16); - output.WriteInt32(CharId); + output.WriteUInt32(Time); } - if (PreGroup != 0) { - output.WriteRawTag(24); - output.WriteInt32(PreGroup); - } - if (NodeLimit != 0) { - output.WriteRawTag(32); - output.WriteInt32(NodeLimit); - } - if (Title.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Title); + sample_.WriteTo(ref output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -257,20 +222,13 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + size += killCount_.CalculateSize(_repeated_killCount_codec); + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time); } - if (CharId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); - } - if (PreGroup != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreGroup); - } - if (NodeLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(NodeLimit); - } - if (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + size += sample_.CalculateSize(_repeated_sample_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -280,24 +238,17 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(TalentGroup other) { + public void MergeFrom(VampireSurvivorAreaChangeReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + killCount_.Add(other.killCount_); + if (other.Time != 0) { + Time = other.Time; } - if (other.CharId != 0) { - CharId = other.CharId; - } - if (other.PreGroup != 0) { - PreGroup = other.PreGroup; - } - if (other.NodeLimit != 0) { - NodeLimit = other.NodeLimit; - } - if (other.Title.Length != 0) { - Title = other.Title; + sample_.Add(other.sample_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -318,24 +269,21 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 10: case 8: { - Id = input.ReadInt32(); + killCount_.AddEntriesFrom(input, _repeated_killCount_codec); break; } case 16: { - CharId = input.ReadInt32(); + Time = input.ReadUInt32(); break; } - case 24: { - PreGroup = input.ReadInt32(); + case 66: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); break; } - case 32: { - NodeLimit = input.ReadInt32(); - break; - } - case 42: { - Title = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -357,24 +305,21 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 10: case 8: { - Id = input.ReadInt32(); + killCount_.AddEntriesFrom(ref input, _repeated_killCount_codec); break; } case 16: { - CharId = input.ReadInt32(); + Time = input.ReadUInt32(); break; } - case 24: { - PreGroup = input.ReadInt32(); + case 66: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); break; } - case 32: { - NodeLimit = input.ReadInt32(); - break; - } - case 42: { - Title = input.ReadString(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/VampireSurvivorQuest.cs b/Novaria.Common/Protos/VampireSurvivorQuest.cs deleted file mode 100644 index 4614d78..0000000 --- a/Novaria.Common/Protos/VampireSurvivorQuest.cs +++ /dev/null @@ -1,766 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireSurvivorQuest.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 VampireSurvivorQuest.proto</summary> - public static partial class VampireSurvivorQuestReflection { - - #region Descriptor - /// <summary>File descriptor for VampireSurvivorQuest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireSurvivorQuestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpWYW1waXJlU3Vydml2b3JRdWVzdC5wcm90byLKAgoUVmFtcGlyZVN1cnZp", - "dm9yUXVlc3QSCgoCaWQYASABKAUSEAoIZ3JvdXBfaWQYAiABKAUSDQoFdGl0", - "bGUYAyABKAkSDAoEZGVzYxgEIAEoCRIPCgdqdW1wX3RvGAUgASgFEg0KBW9y", - "ZGVyGAYgASgFEgwKBHR5cGUYByABKAUSFQoNY29tcGxldGVfY29uZBgIIAEo", - "BRIcChRjb21wbGV0ZV9jb25kX3BhcmFtcxgJIAEoCRIXCg9hd2FyZF9pdGVt", - "X3RpZDEYCiABKAUSFwoPYXdhcmRfaXRlbV9udW0xGAsgASgFEhcKD2F3YXJk", - "X2l0ZW1fdGlkMhgMIAEoBRIXCg9hd2FyZF9pdGVtX251bTIYDSABKAUSFwoP", - "YXdhcmRfaXRlbV90aWQzGA4gASgFEhcKD2F3YXJkX2l0ZW1fbnVtMxgPIAEo", - "BUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireSurvivorQuest), global::Nova.Client.VampireSurvivorQuest.Parser, new[]{ "Id", "GroupId", "Title", "Desc", "JumpTo", "Order", "Type", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireSurvivorQuest : pb::IMessage<VampireSurvivorQuest> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireSurvivorQuest> _parser = new pb::MessageParser<VampireSurvivorQuest>(() => new VampireSurvivorQuest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireSurvivorQuest> 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.VampireSurvivorQuestReflection.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 VampireSurvivorQuest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivorQuest(VampireSurvivorQuest other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - title_ = other.title_; - desc_ = other.desc_; - jumpTo_ = other.jumpTo_; - order_ = other.order_; - type_ = other.type_; - completeCond_ = other.completeCond_; - completeCondParams_ = other.completeCondParams_; - awardItemTid1_ = other.awardItemTid1_; - awardItemNum1_ = other.awardItemNum1_; - awardItemTid2_ = other.awardItemTid2_; - awardItemNum2_ = other.awardItemNum2_; - awardItemTid3_ = other.awardItemTid3_; - awardItemNum3_ = other.awardItemNum3_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireSurvivorQuest Clone() { - return new VampireSurvivorQuest(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 "title" field.</summary> - public const int TitleFieldNumber = 3; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 4; - 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 "jump_to" field.</summary> - public const int JumpToFieldNumber = 5; - private int jumpTo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int JumpTo { - get { return jumpTo_; } - set { - jumpTo_ = value; - } - } - - /// <summary>Field number for the "order" field.</summary> - public const int OrderFieldNumber = 6; - private int order_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Order { - get { return order_; } - set { - order_ = value; - } - } - - /// <summary>Field number for the "type" field.</summary> - public const int TypeFieldNumber = 7; - private int type_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Type { - get { return type_; } - set { - type_ = value; - } - } - - /// <summary>Field number for the "complete_cond" field.</summary> - public const int CompleteCondFieldNumber = 8; - private int completeCond_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CompleteCond { - get { return completeCond_; } - set { - completeCond_ = value; - } - } - - /// <summary>Field number for the "complete_cond_params" field.</summary> - public const int CompleteCondParamsFieldNumber = 9; - private string completeCondParams_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CompleteCondParams { - get { return completeCondParams_; } - set { - completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "award_item_tid1" field.</summary> - public const int AwardItemTid1FieldNumber = 10; - private int awardItemTid1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid1 { - get { return awardItemTid1_; } - set { - awardItemTid1_ = value; - } - } - - /// <summary>Field number for the "award_item_num1" field.</summary> - public const int AwardItemNum1FieldNumber = 11; - private int awardItemNum1_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum1 { - get { return awardItemNum1_; } - set { - awardItemNum1_ = value; - } - } - - /// <summary>Field number for the "award_item_tid2" field.</summary> - public const int AwardItemTid2FieldNumber = 12; - private int awardItemTid2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid2 { - get { return awardItemTid2_; } - set { - awardItemTid2_ = value; - } - } - - /// <summary>Field number for the "award_item_num2" field.</summary> - public const int AwardItemNum2FieldNumber = 13; - private int awardItemNum2_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum2 { - get { return awardItemNum2_; } - set { - awardItemNum2_ = value; - } - } - - /// <summary>Field number for the "award_item_tid3" field.</summary> - public const int AwardItemTid3FieldNumber = 14; - private int awardItemTid3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemTid3 { - get { return awardItemTid3_; } - set { - awardItemTid3_ = value; - } - } - - /// <summary>Field number for the "award_item_num3" field.</summary> - public const int AwardItemNum3FieldNumber = 15; - private int awardItemNum3_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int AwardItemNum3 { - get { return awardItemNum3_; } - set { - awardItemNum3_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireSurvivorQuest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireSurvivorQuest 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 (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (JumpTo != other.JumpTo) return false; - if (Order != other.Order) return false; - if (Type != other.Type) return false; - if (CompleteCond != other.CompleteCond) return false; - if (CompleteCondParams != other.CompleteCondParams) return false; - if (AwardItemTid1 != other.AwardItemTid1) return false; - if (AwardItemNum1 != other.AwardItemNum1) return false; - if (AwardItemTid2 != other.AwardItemTid2) return false; - if (AwardItemNum2 != other.AwardItemNum2) return false; - if (AwardItemTid3 != other.AwardItemTid3) return false; - if (AwardItemNum3 != other.AwardItemNum3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); - if (Order != 0) hash ^= Order.GetHashCode(); - if (Type != 0) hash ^= Type.GetHashCode(); - if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); - if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); - if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); - if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); - if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); - if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode(); - if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode(); - if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(40); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(48); - output.WriteInt32(Order); - } - if (Type != 0) { - output.WriteRawTag(56); - output.WriteInt32(Type); - } - if (CompleteCond != 0) { - output.WriteRawTag(64); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AwardItemNum3); - } - 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 (Title.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Desc); - } - if (JumpTo != 0) { - output.WriteRawTag(40); - output.WriteInt32(JumpTo); - } - if (Order != 0) { - output.WriteRawTag(48); - output.WriteInt32(Order); - } - if (Type != 0) { - output.WriteRawTag(56); - output.WriteInt32(Type); - } - if (CompleteCond != 0) { - output.WriteRawTag(64); - output.WriteInt32(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - output.WriteRawTag(74); - output.WriteString(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - output.WriteRawTag(80); - output.WriteInt32(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - output.WriteRawTag(88); - output.WriteInt32(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - output.WriteRawTag(96); - output.WriteInt32(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - output.WriteRawTag(104); - output.WriteInt32(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - output.WriteRawTag(112); - output.WriteInt32(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - output.WriteRawTag(120); - output.WriteInt32(AwardItemNum3); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (JumpTo != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); - } - if (Order != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); - } - if (Type != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); - } - if (CompleteCond != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); - } - if (CompleteCondParams.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); - } - if (AwardItemTid1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); - } - if (AwardItemNum1 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); - } - if (AwardItemTid2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); - } - if (AwardItemNum2 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); - } - if (AwardItemTid3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3); - } - if (AwardItemNum3 != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireSurvivorQuest other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.JumpTo != 0) { - JumpTo = other.JumpTo; - } - if (other.Order != 0) { - Order = other.Order; - } - if (other.Type != 0) { - Type = other.Type; - } - if (other.CompleteCond != 0) { - CompleteCond = other.CompleteCond; - } - if (other.CompleteCondParams.Length != 0) { - CompleteCondParams = other.CompleteCondParams; - } - if (other.AwardItemTid1 != 0) { - AwardItemTid1 = other.AwardItemTid1; - } - if (other.AwardItemNum1 != 0) { - AwardItemNum1 = other.AwardItemNum1; - } - if (other.AwardItemTid2 != 0) { - AwardItemTid2 = other.AwardItemTid2; - } - if (other.AwardItemNum2 != 0) { - AwardItemNum2 = other.AwardItemNum2; - } - if (other.AwardItemTid3 != 0) { - AwardItemTid3 = other.AwardItemTid3; - } - if (other.AwardItemNum3 != 0) { - AwardItemNum3 = other.AwardItemNum3; - } - _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 26: { - Title = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - JumpTo = input.ReadInt32(); - break; - } - case 48: { - Order = input.ReadInt32(); - break; - } - case 56: { - Type = input.ReadInt32(); - break; - } - case 64: { - CompleteCond = input.ReadInt32(); - break; - } - case 74: { - CompleteCondParams = input.ReadString(); - break; - } - case 80: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 88: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 96: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 104: { - AwardItemNum2 = input.ReadInt32(); - break; - } - case 112: { - AwardItemTid3 = input.ReadInt32(); - break; - } - case 120: { - AwardItemNum3 = 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 26: { - Title = input.ReadString(); - break; - } - case 34: { - Desc = input.ReadString(); - break; - } - case 40: { - JumpTo = input.ReadInt32(); - break; - } - case 48: { - Order = input.ReadInt32(); - break; - } - case 56: { - Type = input.ReadInt32(); - break; - } - case 64: { - CompleteCond = input.ReadInt32(); - break; - } - case 74: { - CompleteCondParams = input.ReadString(); - break; - } - case 80: { - AwardItemTid1 = input.ReadInt32(); - break; - } - case 88: { - AwardItemNum1 = input.ReadInt32(); - break; - } - case 96: { - AwardItemTid2 = input.ReadInt32(); - break; - } - case 104: { - AwardItemNum2 = input.ReadInt32(); - break; - } - case 112: { - AwardItemTid3 = input.ReadInt32(); - break; - } - case 120: { - AwardItemNum3 = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/AddBuffAction.cs b/Novaria.Common/Protos/VampireSurvivorQuestRewardReceive.cs similarity index 58% rename from Novaria.Common/Protos/AddBuffAction.cs rename to Novaria.Common/Protos/VampireSurvivorQuestRewardReceive.cs index 88981e8..1cf5315 100644 --- a/Novaria.Common/Protos/AddBuffAction.cs +++ b/Novaria.Common/Protos/VampireSurvivorQuestRewardReceive.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AddBuffAction.proto +// source: vampire_survivor_quest_reward_receive.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,28 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from AddBuffAction.proto</summary> - public static partial class AddBuffActionReflection { + /// <summary>Holder for reflection information generated from vampire_survivor_quest_reward_receive.proto</summary> + public static partial class VampireSurvivorQuestRewardReceiveReflection { #region Descriptor - /// <summary>File descriptor for AddBuffAction.proto</summary> + /// <summary>File descriptor for vampire_survivor_quest_reward_receive.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static AddBuffActionReflection() { + static VampireSurvivorQuestRewardReceiveReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChNBZGRCdWZmQWN0aW9uLnByb3RvIlMKDUFkZEJ1ZmZBY3Rpb24SCgoCaWQY", - "ASABKAUSEAoIZ3JvdXBfaWQYAiABKAUSEwoLdGFyZ2V0X3R5cGUYAyABKAUS", - "DwoHYnVmZl9pZBgEIAEoBUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); + "Cit2YW1waXJlX3N1cnZpdm9yX3F1ZXN0X3Jld2FyZF9yZWNlaXZlLnByb3Rv", + "EgVwcm90bxoMcHVibGljLnByb3RvImEKJFZhbXBpcmVTdXJ2aXZvclF1ZXN0", + "UmV3YXJkUmVjZWl2ZVJlcRIRCglRdWVzdFR5cGUYASABKA0SEAoIUXVlc3RJ", + "ZHMYAiADKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AddBuffAction), global::Nova.Client.AddBuffAction.Parser, new[]{ "Id", "GroupId", "TargetType", "BuffId" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorQuestRewardReceiveReq), global::Proto.VampireSurvivorQuestRewardReceiveReq.Parser, new[]{ "QuestType", "QuestIds", "NextPackage" }, null, null, null, null) })); } #endregion @@ -38,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class AddBuffAction : pb::IMessage<AddBuffAction> + public sealed partial class VampireSurvivorQuestRewardReceiveReq : pb::IMessage<VampireSurvivorQuestRewardReceiveReq> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<AddBuffAction> _parser = new pb::MessageParser<AddBuffAction>(() => new AddBuffAction()); + private static readonly pb::MessageParser<VampireSurvivorQuestRewardReceiveReq> _parser = new pb::MessageParser<VampireSurvivorQuestRewardReceiveReq>(() => new VampireSurvivorQuestRewardReceiveReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<AddBuffAction> Parser { get { return _parser; } } + public static pb::MessageParser<VampireSurvivorQuestRewardReceiveReq> 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.AddBuffActionReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.VampireSurvivorQuestRewardReceiveReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -63,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddBuffAction() { + public VampireSurvivorQuestRewardReceiveReq() { OnConstruction(); } @@ -71,87 +72,72 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddBuffAction(AddBuffAction other) : this() { - id_ = other.id_; - groupId_ = other.groupId_; - targetType_ = other.targetType_; - buffId_ = other.buffId_; + public VampireSurvivorQuestRewardReceiveReq(VampireSurvivorQuestRewardReceiveReq other) : this() { + questType_ = other.questType_; + questIds_ = other.questIds_.Clone(); + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AddBuffAction Clone() { - return new AddBuffAction(this); + public VampireSurvivorQuestRewardReceiveReq Clone() { + return new VampireSurvivorQuestRewardReceiveReq(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "QuestType" field.</summary> + public const int QuestTypeFieldNumber = 1; + private uint questType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public uint QuestType { + get { return questType_; } set { - id_ = value; + questType_ = value; } } - /// <summary>Field number for the "group_id" field.</summary> - public const int GroupIdFieldNumber = 2; - private int groupId_; + /// <summary>Field number for the "QuestIds" field.</summary> + public const int QuestIdsFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_questIds_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> questIds_ = new pbc::RepeatedField<uint>(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int GroupId { - get { return groupId_; } - set { - groupId_ = value; - } + public pbc::RepeatedField<uint> QuestIds { + get { return questIds_; } } - /// <summary>Field number for the "target_type" field.</summary> - public const int TargetTypeFieldNumber = 3; - private int targetType_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int TargetType { - get { return targetType_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - targetType_ = value; - } - } - - /// <summary>Field number for the "buff_id" field.</summary> - public const int BuffIdFieldNumber = 4; - private int buffId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int BuffId { - get { return buffId_; } - set { - buffId_ = value; + nextPackage_ = 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 AddBuffAction); + return Equals(other as VampireSurvivorQuestRewardReceiveReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AddBuffAction other) { + public bool Equals(VampireSurvivorQuestRewardReceiveReq 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 (TargetType != other.TargetType) return false; - if (BuffId != other.BuffId) return false; + if (QuestType != other.QuestType) return false; + if(!questIds_.Equals(other.questIds_)) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -159,10 +145,9 @@ namespace Nova.Client { [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 (TargetType != 0) hash ^= TargetType.GetHashCode(); - if (BuffId != 0) hash ^= BuffId.GetHashCode(); + if (QuestType != 0) hash ^= QuestType.GetHashCode(); + hash ^= questIds_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -181,21 +166,14 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { + if (QuestType != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(QuestType); } - if (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - if (TargetType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TargetType); - } - if (BuffId != 0) { - output.WriteRawTag(32); - output.WriteInt32(BuffId); + questIds_.WriteTo(output, _repeated_questIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -207,21 +185,14 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Id != 0) { + if (QuestType != 0) { output.WriteRawTag(8); - output.WriteInt32(Id); + output.WriteUInt32(QuestType); } - if (GroupId != 0) { - output.WriteRawTag(16); - output.WriteInt32(GroupId); - } - if (TargetType != 0) { - output.WriteRawTag(24); - output.WriteInt32(TargetType); - } - if (BuffId != 0) { - output.WriteRawTag(32); - output.WriteInt32(BuffId); + questIds_.WriteTo(ref output, _repeated_questIds_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -233,17 +204,12 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (QuestType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(QuestType); } - if (GroupId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); - } - if (TargetType != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(TargetType); - } - if (BuffId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffId); + size += questIds_.CalculateSize(_repeated_questIds_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -253,21 +219,16 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AddBuffAction other) { + public void MergeFrom(VampireSurvivorQuestRewardReceiveReq other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.QuestType != 0) { + QuestType = other.QuestType; } - if (other.GroupId != 0) { - GroupId = other.GroupId; - } - if (other.TargetType != 0) { - TargetType = other.TargetType; - } - if (other.BuffId != 0) { - BuffId = other.BuffId; + questIds_.Add(other.questIds_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,19 +250,16 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Id = input.ReadInt32(); + QuestType = input.ReadUInt32(); break; } + case 18: case 16: { - GroupId = input.ReadInt32(); + questIds_.AddEntriesFrom(input, _repeated_questIds_codec); break; } - case 24: { - TargetType = input.ReadInt32(); - break; - } - case 32: { - BuffId = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,19 +282,16 @@ namespace Nova.Client { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { - Id = input.ReadInt32(); + QuestType = input.ReadUInt32(); break; } + case 18: case 16: { - GroupId = input.ReadInt32(); + questIds_.AddEntriesFrom(ref input, _repeated_questIds_codec); break; } - case 24: { - TargetType = input.ReadInt32(); - break; - } - case 32: { - BuffId = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/VampireSurvivorRank.cs b/Novaria.Common/Protos/VampireSurvivorRank.cs new file mode 100644 index 0000000..d8eec80 --- /dev/null +++ b/Novaria.Common/Protos/VampireSurvivorRank.cs @@ -0,0 +1,2841 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_survivor_rank.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_survivor_rank.proto</summary> + public static partial class VampireSurvivorRankReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_survivor_rank.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireSurvivorRankReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cht2YW1waXJlX3N1cnZpdm9yX3JhbmsucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8aH3RyYXZlbGVyX2R1ZWxfcmFua191cGxvYWQucHJvdG8ijAEKD1Zh", + "bXBpcmVSYW5rSW5mbxIXCg9MYXN0UmVmcmVzaFRpbWUYASABKAMSJAoEU2Vs", + "ZhgCIAEoCzIWLnByb3RvLlZhbXBpcmVSYW5rRGF0YRIkCgRSYW5rGAMgAygL", + "MhYucHJvdG8uVmFtcGlyZVJhbmtEYXRhEhQKC05leHRQYWNrYWdlGP8PIAEo", + "DCI/CgxTdXJ2aXZvckNoYXISCgoCSWQYASABKA0SDQoFTGV2ZWwYAiABKA0S", + "FAoLTmV4dFBhY2thZ2UY/w8gASgMIlwKDFN1cnZpdm9yVGVhbRISCgpCdWls", + "ZFNjb3JlGAEgASgNEiIKBUNoYXJzGAIgAygLMhMucHJvdG8uU3Vydml2b3JD", + "aGFyEhQKC05leHRQYWNrYWdlGP8PIAEoDCL4AQoPVmFtcGlyZVJhbmtEYXRh", + "EgoKAklkGAEgASgEEhAKCE5pY2tOYW1lGAIgASgJEhIKCldvcmxkQ2xhc3MY", + "AyABKA0SEAoISGVhZEljb24YBCABKA0SDQoFU2NvcmUYBSABKA0SDAoEUmFu", + "axgGIAEoDRITCgtUaXRsZVByZWZpeBgHIAEoDRITCgtUaXRsZVN1ZmZpeBgI", + "IAEoDRIgCgZIb25vcnMYCSADKAsyEC5wcm90by5Ib25vckluZm8SIgoFVGVh", + "bXMYCiADKAsyEy5wcm90by5TdXJ2aXZvclRlYW0SFAoLTmV4dFBhY2thZ2UY", + "/w8gASgMIlgKFFZhbXBpcmVCYXR0bGVTYW1wbGVzEioKBlNhbXBsZRgBIAMo", + "CzIaLnByb3RvLlZhbXBpcmVCYXR0bGVTYW1wbGUSFAoLTmV4dFBhY2thZ2UY", + "/w8gASgMIn0KEVZhbXBpcmVCYXR0bGVEYXRhEiQKBE1ldGEYASABKAsyFi5w", + "cm90by5WYW1waXJlTWV0YUluZm8SLAoHU2FtcGxlcxgCIAEoCzIbLnByb3Rv", + "LlZhbXBpcmVCYXR0bGVTYW1wbGVzEhQKC05leHRQYWNrYWdlGP8PIAEoDCLF", + "AQoPVmFtcGlyZU1ldGFJbmZvEgoKAklkGAEgASgEEgwKBFpvbmUYAiABKAkS", + "EQoJTWlzc2lvbklkGAMgASgNEg4KBlNlYXNvbhgEIAEoDRIQCghQbGF5ZXJJ", + "ZBgFIAEoBBIQCghOaWNrbmFtZRgGIAEoCRIQCghEdXJhdGlvbhgHIAEoDRIN", + "CgVTY29yZRgIIAEoDRIMCgRSYW5rGAkgASgNEgwKBFRpbWUYCiABKAMSFAoL", + "TmV4dFBhY2thZ2UY/w8gASgMIn0KE1ZhbXBpcmVCYXR0bGVTYW1wbGUSDgoG", + "Qm9zc0lkGAEgASgNEg8KB1ZlcnNpb24YAiABKA0SLwoGU2FtcGxlGAMgAygL", + "Mh8ucHJvdG8uVHJhdmVsZXJEdWVsQmF0dGxlU2FtcGxlEhQKC05leHRQYWNr", + "YWdlGP8PIAEoDFAAUAFiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.TravelerDuelRankUploadReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireRankInfo), global::Proto.VampireRankInfo.Parser, new[]{ "LastRefreshTime", "Self", "Rank", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SurvivorChar), global::Proto.SurvivorChar.Parser, new[]{ "Id", "Level", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.SurvivorTeam), global::Proto.SurvivorTeam.Parser, new[]{ "BuildScore", "Chars", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireRankData), global::Proto.VampireRankData.Parser, new[]{ "Id", "NickName", "WorldClass", "HeadIcon", "Score", "Rank", "TitlePrefix", "TitleSuffix", "Honors", "Teams", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireBattleSamples), global::Proto.VampireBattleSamples.Parser, new[]{ "Sample", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireBattleData), global::Proto.VampireBattleData.Parser, new[]{ "Meta", "Samples", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireMetaInfo), global::Proto.VampireMetaInfo.Parser, new[]{ "Id", "Zone", "MissionId", "Season", "PlayerId", "Nickname", "Duration", "Score", "Rank", "Time", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireBattleSample), global::Proto.VampireBattleSample.Parser, new[]{ "BossId", "Version", "Sample", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireRankInfo : pb::IMessage<VampireRankInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireRankInfo> _parser = new pb::MessageParser<VampireRankInfo>(() => new VampireRankInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireRankInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.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 VampireRankInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankInfo(VampireRankInfo other) : this() { + lastRefreshTime_ = other.lastRefreshTime_; + self_ = other.self_ != null ? other.self_.Clone() : null; + rank_ = other.rank_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankInfo Clone() { + return new VampireRankInfo(this); + } + + /// <summary>Field number for the "LastRefreshTime" field.</summary> + public const int LastRefreshTimeFieldNumber = 1; + private long lastRefreshTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long LastRefreshTime { + get { return lastRefreshTime_; } + set { + lastRefreshTime_ = value; + } + } + + /// <summary>Field number for the "Self" field.</summary> + public const int SelfFieldNumber = 2; + private global::Proto.VampireRankData self_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireRankData Self { + get { return self_; } + set { + self_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.VampireRankData> _repeated_rank_codec + = pb::FieldCodec.ForMessage(26, global::Proto.VampireRankData.Parser); + private readonly pbc::RepeatedField<global::Proto.VampireRankData> rank_ = new pbc::RepeatedField<global::Proto.VampireRankData>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.VampireRankData> Rank { + get { return rank_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireRankInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireRankInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (LastRefreshTime != other.LastRefreshTime) return false; + if (!object.Equals(Self, other.Self)) return false; + if(!rank_.Equals(other.rank_)) return false; + if (NextPackage != other.NextPackage) 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 (LastRefreshTime != 0L) hash ^= LastRefreshTime.GetHashCode(); + if (self_ != null) hash ^= Self.GetHashCode(); + hash ^= rank_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (LastRefreshTime != 0L) { + output.WriteRawTag(8); + output.WriteInt64(LastRefreshTime); + } + if (self_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Self); + } + rank_.WriteTo(output, _repeated_rank_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (LastRefreshTime != 0L) { + output.WriteRawTag(8); + output.WriteInt64(LastRefreshTime); + } + if (self_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Self); + } + rank_.WriteTo(ref output, _repeated_rank_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (LastRefreshTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastRefreshTime); + } + if (self_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Self); + } + size += rank_.CalculateSize(_repeated_rank_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireRankInfo other) { + if (other == null) { + return; + } + if (other.LastRefreshTime != 0L) { + LastRefreshTime = other.LastRefreshTime; + } + if (other.self_ != null) { + if (self_ == null) { + Self = new global::Proto.VampireRankData(); + } + Self.MergeFrom(other.Self); + } + rank_.Add(other.rank_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + LastRefreshTime = input.ReadInt64(); + break; + } + case 18: { + if (self_ == null) { + Self = new global::Proto.VampireRankData(); + } + input.ReadMessage(Self); + break; + } + case 26: { + rank_.AddEntriesFrom(input, _repeated_rank_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + LastRefreshTime = input.ReadInt64(); + break; + } + case 18: { + if (self_ == null) { + Self = new global::Proto.VampireRankData(); + } + input.ReadMessage(Self); + break; + } + case 26: { + rank_.AddEntriesFrom(ref input, _repeated_rank_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SurvivorChar : pb::IMessage<SurvivorChar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SurvivorChar> _parser = new pb::MessageParser<SurvivorChar>(() => new SurvivorChar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SurvivorChar> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SurvivorChar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SurvivorChar(SurvivorChar other) : this() { + id_ = other.id_; + level_ = other.level_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SurvivorChar Clone() { + return new SurvivorChar(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 2; + private uint level_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Level { + get { return level_; } + set { + level_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SurvivorChar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SurvivorChar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (NextPackage != other.NextPackage) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Level); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Level); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SurvivorChar other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + Level = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SurvivorTeam : pb::IMessage<SurvivorTeam> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SurvivorTeam> _parser = new pb::MessageParser<SurvivorTeam>(() => new SurvivorTeam()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SurvivorTeam> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SurvivorTeam() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SurvivorTeam(SurvivorTeam other) : this() { + buildScore_ = other.buildScore_; + chars_ = other.chars_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SurvivorTeam Clone() { + return new SurvivorTeam(this); + } + + /// <summary>Field number for the "BuildScore" field.</summary> + public const int BuildScoreFieldNumber = 1; + private uint buildScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BuildScore { + get { return buildScore_; } + set { + buildScore_ = value; + } + } + + /// <summary>Field number for the "Chars" field.</summary> + public const int CharsFieldNumber = 2; + private static readonly pb::FieldCodec<global::Proto.SurvivorChar> _repeated_chars_codec + = pb::FieldCodec.ForMessage(18, global::Proto.SurvivorChar.Parser); + private readonly pbc::RepeatedField<global::Proto.SurvivorChar> chars_ = new pbc::RepeatedField<global::Proto.SurvivorChar>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.SurvivorChar> Chars { + get { return chars_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 SurvivorTeam); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SurvivorTeam other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BuildScore != other.BuildScore) return false; + if(!chars_.Equals(other.chars_)) return false; + if (NextPackage != other.NextPackage) 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 (BuildScore != 0) hash ^= BuildScore.GetHashCode(); + hash ^= chars_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (BuildScore != 0) { + output.WriteRawTag(8); + output.WriteUInt32(BuildScore); + } + chars_.WriteTo(output, _repeated_chars_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BuildScore != 0) { + output.WriteRawTag(8); + output.WriteUInt32(BuildScore); + } + chars_.WriteTo(ref output, _repeated_chars_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BuildScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuildScore); + } + size += chars_.CalculateSize(_repeated_chars_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SurvivorTeam other) { + if (other == null) { + return; + } + if (other.BuildScore != 0) { + BuildScore = other.BuildScore; + } + chars_.Add(other.chars_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + BuildScore = input.ReadUInt32(); + break; + } + case 18: { + chars_.AddEntriesFrom(input, _repeated_chars_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + BuildScore = input.ReadUInt32(); + break; + } + case 18: { + chars_.AddEntriesFrom(ref input, _repeated_chars_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireRankData : pb::IMessage<VampireRankData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireRankData> _parser = new pb::MessageParser<VampireRankData>(() => new VampireRankData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireRankData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankData(VampireRankData other) : this() { + id_ = other.id_; + nickName_ = other.nickName_; + worldClass_ = other.worldClass_; + headIcon_ = other.headIcon_; + score_ = other.score_; + rank_ = other.rank_; + titlePrefix_ = other.titlePrefix_; + titleSuffix_ = other.titleSuffix_; + honors_ = other.honors_.Clone(); + teams_ = other.teams_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankData Clone() { + return new VampireRankData(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "NickName" field.</summary> + public const int NickNameFieldNumber = 2; + private string nickName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 3; + private uint worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "HeadIcon" field.</summary> + public const int HeadIconFieldNumber = 4; + private uint headIcon_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint HeadIcon { + get { return headIcon_; } + set { + headIcon_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 5; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 6; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "TitlePrefix" field.</summary> + public const int TitlePrefixFieldNumber = 7; + private uint titlePrefix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitlePrefix { + get { return titlePrefix_; } + set { + titlePrefix_ = value; + } + } + + /// <summary>Field number for the "TitleSuffix" field.</summary> + public const int TitleSuffixFieldNumber = 8; + private uint titleSuffix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TitleSuffix { + get { return titleSuffix_; } + set { + titleSuffix_ = value; + } + } + + /// <summary>Field number for the "Honors" field.</summary> + public const int HonorsFieldNumber = 9; + private static readonly pb::FieldCodec<global::Proto.HonorInfo> _repeated_honors_codec + = pb::FieldCodec.ForMessage(74, global::Proto.HonorInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.HonorInfo> honors_ = new pbc::RepeatedField<global::Proto.HonorInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.HonorInfo> Honors { + get { return honors_; } + } + + /// <summary>Field number for the "Teams" field.</summary> + public const int TeamsFieldNumber = 10; + private static readonly pb::FieldCodec<global::Proto.SurvivorTeam> _repeated_teams_codec + = pb::FieldCodec.ForMessage(82, global::Proto.SurvivorTeam.Parser); + private readonly pbc::RepeatedField<global::Proto.SurvivorTeam> teams_ = new pbc::RepeatedField<global::Proto.SurvivorTeam>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.SurvivorTeam> Teams { + get { return teams_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireRankData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireRankData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NickName != other.NickName) return false; + if (WorldClass != other.WorldClass) return false; + if (HeadIcon != other.HeadIcon) return false; + if (Score != other.Score) return false; + if (Rank != other.Rank) return false; + if (TitlePrefix != other.TitlePrefix) return false; + if (TitleSuffix != other.TitleSuffix) return false; + if(!honors_.Equals(other.honors_)) return false; + if(!teams_.Equals(other.teams_)) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (HeadIcon != 0) hash ^= HeadIcon.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (TitlePrefix != 0) hash ^= TitlePrefix.GetHashCode(); + if (TitleSuffix != 0) hash ^= TitleSuffix.GetHashCode(); + hash ^= honors_.GetHashCode(); + hash ^= teams_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldClass); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Rank); + } + if (TitlePrefix != 0) { + output.WriteRawTag(56); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitleSuffix); + } + honors_.WriteTo(output, _repeated_honors_codec); + teams_.WriteTo(output, _repeated_teams_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteUInt32(WorldClass); + } + if (HeadIcon != 0) { + output.WriteRawTag(32); + output.WriteUInt32(HeadIcon); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(48); + output.WriteUInt32(Rank); + } + if (TitlePrefix != 0) { + output.WriteRawTag(56); + output.WriteUInt32(TitlePrefix); + } + if (TitleSuffix != 0) { + output.WriteRawTag(64); + output.WriteUInt32(TitleSuffix); + } + honors_.WriteTo(ref output, _repeated_honors_codec); + teams_.WriteTo(ref output, _repeated_teams_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldClass); + } + if (HeadIcon != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(HeadIcon); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (TitlePrefix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitlePrefix); + } + if (TitleSuffix != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleSuffix); + } + size += honors_.CalculateSize(_repeated_honors_codec); + size += teams_.CalculateSize(_repeated_teams_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireRankData other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.HeadIcon != 0) { + HeadIcon = other.HeadIcon; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.TitlePrefix != 0) { + TitlePrefix = other.TitlePrefix; + } + if (other.TitleSuffix != 0) { + TitleSuffix = other.TitleSuffix; + } + honors_.Add(other.honors_); + teams_.Add(other.teams_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + WorldClass = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 48: { + Rank = input.ReadUInt32(); + break; + } + case 56: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 64: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 74: { + honors_.AddEntriesFrom(input, _repeated_honors_codec); + break; + } + case 82: { + teams_.AddEntriesFrom(input, _repeated_teams_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 24: { + WorldClass = input.ReadUInt32(); + break; + } + case 32: { + HeadIcon = input.ReadUInt32(); + break; + } + case 40: { + Score = input.ReadUInt32(); + break; + } + case 48: { + Rank = input.ReadUInt32(); + break; + } + case 56: { + TitlePrefix = input.ReadUInt32(); + break; + } + case 64: { + TitleSuffix = input.ReadUInt32(); + break; + } + case 74: { + honors_.AddEntriesFrom(ref input, _repeated_honors_codec); + break; + } + case 82: { + teams_.AddEntriesFrom(ref input, _repeated_teams_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireBattleSamples : pb::IMessage<VampireBattleSamples> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireBattleSamples> _parser = new pb::MessageParser<VampireBattleSamples>(() => new VampireBattleSamples()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireBattleSamples> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleSamples() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleSamples(VampireBattleSamples other) : this() { + sample_ = other.sample_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleSamples Clone() { + return new VampireBattleSamples(this); + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.VampireBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(10, global::Proto.VampireBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.VampireBattleSample> sample_ = new pbc::RepeatedField<global::Proto.VampireBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.VampireBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireBattleSamples); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireBattleSamples other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!sample_.Equals(other.sample_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= sample_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + sample_.WriteTo(output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + sample_.WriteTo(ref output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += sample_.CalculateSize(_repeated_sample_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireBattleSamples other) { + if (other == null) { + return; + } + sample_.Add(other.sample_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireBattleData : pb::IMessage<VampireBattleData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireBattleData> _parser = new pb::MessageParser<VampireBattleData>(() => new VampireBattleData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireBattleData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleData(VampireBattleData other) : this() { + meta_ = other.meta_ != null ? other.meta_.Clone() : null; + samples_ = other.samples_ != null ? other.samples_.Clone() : null; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleData Clone() { + return new VampireBattleData(this); + } + + /// <summary>Field number for the "Meta" field.</summary> + public const int MetaFieldNumber = 1; + private global::Proto.VampireMetaInfo meta_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireMetaInfo Meta { + get { return meta_; } + set { + meta_ = value; + } + } + + /// <summary>Field number for the "Samples" field.</summary> + public const int SamplesFieldNumber = 2; + private global::Proto.VampireBattleSamples samples_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireBattleSamples Samples { + get { return samples_; } + set { + samples_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireBattleData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireBattleData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Meta, other.Meta)) return false; + if (!object.Equals(Samples, other.Samples)) return false; + if (NextPackage != other.NextPackage) 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 (meta_ != null) hash ^= Meta.GetHashCode(); + if (samples_ != null) hash ^= Samples.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (samples_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Samples); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Meta); + } + if (samples_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Samples); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (meta_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Meta); + } + if (samples_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Samples); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireBattleData other) { + if (other == null) { + return; + } + if (other.meta_ != null) { + if (meta_ == null) { + Meta = new global::Proto.VampireMetaInfo(); + } + Meta.MergeFrom(other.Meta); + } + if (other.samples_ != null) { + if (samples_ == null) { + Samples = new global::Proto.VampireBattleSamples(); + } + Samples.MergeFrom(other.Samples); + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: { + if (meta_ == null) { + Meta = new global::Proto.VampireMetaInfo(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (samples_ == null) { + Samples = new global::Proto.VampireBattleSamples(); + } + input.ReadMessage(Samples); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + if (meta_ == null) { + Meta = new global::Proto.VampireMetaInfo(); + } + input.ReadMessage(Meta); + break; + } + case 18: { + if (samples_ == null) { + Samples = new global::Proto.VampireBattleSamples(); + } + input.ReadMessage(Samples); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireMetaInfo : pb::IMessage<VampireMetaInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireMetaInfo> _parser = new pb::MessageParser<VampireMetaInfo>(() => new VampireMetaInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireMetaInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireMetaInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireMetaInfo(VampireMetaInfo other) : this() { + id_ = other.id_; + zone_ = other.zone_; + missionId_ = other.missionId_; + season_ = other.season_; + playerId_ = other.playerId_; + nickname_ = other.nickname_; + duration_ = other.duration_; + score_ = other.score_; + rank_ = other.rank_; + time_ = other.time_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireMetaInfo Clone() { + return new VampireMetaInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private ulong id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "Zone" field.</summary> + public const int ZoneFieldNumber = 2; + private string zone_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Zone { + get { return zone_; } + set { + zone_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MissionId" field.</summary> + public const int MissionIdFieldNumber = 3; + private uint missionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MissionId { + get { return missionId_; } + set { + missionId_ = value; + } + } + + /// <summary>Field number for the "Season" field.</summary> + public const int SeasonFieldNumber = 4; + private uint season_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Season { + get { return season_; } + set { + season_ = value; + } + } + + /// <summary>Field number for the "PlayerId" field.</summary> + public const int PlayerIdFieldNumber = 5; + private ulong playerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong PlayerId { + get { return playerId_; } + set { + playerId_ = value; + } + } + + /// <summary>Field number for the "Nickname" field.</summary> + public const int NicknameFieldNumber = 6; + private string nickname_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Nickname { + get { return nickname_; } + set { + nickname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Duration" field.</summary> + public const int DurationFieldNumber = 7; + private uint duration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 8; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 9; + private uint rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 10; + private long time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Time { + get { return time_; } + set { + time_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireMetaInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireMetaInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Zone != other.Zone) return false; + if (MissionId != other.MissionId) return false; + if (Season != other.Season) return false; + if (PlayerId != other.PlayerId) return false; + if (Nickname != other.Nickname) return false; + if (Duration != other.Duration) return false; + if (Score != other.Score) return false; + if (Rank != other.Rank) return false; + if (Time != other.Time) return false; + if (NextPackage != other.NextPackage) 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 != 0UL) hash ^= Id.GetHashCode(); + if (Zone.Length != 0) hash ^= Zone.GetHashCode(); + if (MissionId != 0) hash ^= MissionId.GetHashCode(); + if (Season != 0) hash ^= Season.GetHashCode(); + if (PlayerId != 0UL) hash ^= PlayerId.GetHashCode(); + if (Nickname.Length != 0) hash ^= Nickname.GetHashCode(); + if (Duration != 0) hash ^= Duration.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + if (Rank != 0) hash ^= Rank.GetHashCode(); + if (Time != 0L) hash ^= Time.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Zone.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Zone); + } + if (MissionId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(MissionId); + } + if (Season != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Season); + } + if (PlayerId != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(PlayerId); + } + if (Nickname.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Nickname); + } + if (Duration != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Duration); + } + if (Score != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Rank); + } + if (Time != 0L) { + output.WriteRawTag(80); + output.WriteInt64(Time); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + output.WriteRawTag(8); + output.WriteUInt64(Id); + } + if (Zone.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Zone); + } + if (MissionId != 0) { + output.WriteRawTag(24); + output.WriteUInt32(MissionId); + } + if (Season != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Season); + } + if (PlayerId != 0UL) { + output.WriteRawTag(40); + output.WriteUInt64(PlayerId); + } + if (Nickname.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Nickname); + } + if (Duration != 0) { + output.WriteRawTag(56); + output.WriteUInt32(Duration); + } + if (Score != 0) { + output.WriteRawTag(64); + output.WriteUInt32(Score); + } + if (Rank != 0) { + output.WriteRawTag(72); + output.WriteUInt32(Rank); + } + if (Time != 0L) { + output.WriteRawTag(80); + output.WriteInt64(Time); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id); + } + if (Zone.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Zone); + } + if (MissionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MissionId); + } + if (Season != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Season); + } + if (PlayerId != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PlayerId); + } + if (Nickname.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Nickname); + } + if (Duration != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Duration); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Rank); + } + if (Time != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Time); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireMetaInfo other) { + if (other == null) { + return; + } + if (other.Id != 0UL) { + Id = other.Id; + } + if (other.Zone.Length != 0) { + Zone = other.Zone; + } + if (other.MissionId != 0) { + MissionId = other.MissionId; + } + if (other.Season != 0) { + Season = other.Season; + } + if (other.PlayerId != 0UL) { + PlayerId = other.PlayerId; + } + if (other.Nickname.Length != 0) { + Nickname = other.Nickname; + } + if (other.Duration != 0) { + Duration = other.Duration; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.Time != 0L) { + Time = other.Time; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt64(); + break; + } + case 18: { + Zone = input.ReadString(); + break; + } + case 24: { + MissionId = input.ReadUInt32(); + break; + } + case 32: { + Season = input.ReadUInt32(); + break; + } + case 40: { + PlayerId = input.ReadUInt64(); + break; + } + case 50: { + Nickname = input.ReadString(); + break; + } + case 56: { + Duration = input.ReadUInt32(); + break; + } + case 64: { + Score = input.ReadUInt32(); + break; + } + case 72: { + Rank = input.ReadUInt32(); + break; + } + case 80: { + Time = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt64(); + break; + } + case 18: { + Zone = input.ReadString(); + break; + } + case 24: { + MissionId = input.ReadUInt32(); + break; + } + case 32: { + Season = input.ReadUInt32(); + break; + } + case 40: { + PlayerId = input.ReadUInt64(); + break; + } + case 50: { + Nickname = input.ReadString(); + break; + } + case 56: { + Duration = input.ReadUInt32(); + break; + } + case 64: { + Score = input.ReadUInt32(); + break; + } + case 72: { + Rank = input.ReadUInt32(); + break; + } + case 80: { + Time = input.ReadInt64(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireBattleSample : pb::IMessage<VampireBattleSample> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireBattleSample> _parser = new pb::MessageParser<VampireBattleSample>(() => new VampireBattleSample()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireBattleSample> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRankReflection.Descriptor.MessageTypes[7]; } + } + + [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 VampireBattleSample() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleSample(VampireBattleSample other) : this() { + bossId_ = other.bossId_; + version_ = other.version_; + sample_ = other.sample_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleSample Clone() { + return new VampireBattleSample(this); + } + + /// <summary>Field number for the "BossId" field.</summary> + public const int BossIdFieldNumber = 1; + private uint bossId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BossId { + get { return bossId_; } + set { + bossId_ = value; + } + } + + /// <summary>Field number for the "Version" field.</summary> + public const int VersionFieldNumber = 2; + private uint version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Version { + get { return version_; } + set { + version_ = value; + } + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 3; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(26, global::Proto.TravelerDuelBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireBattleSample); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireBattleSample other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BossId != other.BossId) return false; + if (Version != other.Version) return false; + if(!sample_.Equals(other.sample_)) return false; + if (NextPackage != other.NextPackage) 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 (BossId != 0) hash ^= BossId.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + hash ^= sample_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (BossId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(BossId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + sample_.WriteTo(output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BossId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(BossId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Version); + } + sample_.WriteTo(ref output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (BossId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BossId); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Version); + } + size += sample_.CalculateSize(_repeated_sample_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireBattleSample other) { + if (other == null) { + return; + } + if (other.BossId != 0) { + BossId = other.BossId; + } + if (other.Version != 0) { + Version = other.Version; + } + sample_.Add(other.sample_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + BossId = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 26: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + BossId = input.ReadUInt32(); + break; + } + case 16: { + Version = input.ReadUInt32(); + break; + } + case 26: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireSurvivorRewardChest.cs b/Novaria.Common/Protos/VampireSurvivorRewardChest.cs new file mode 100644 index 0000000..22c0e61 --- /dev/null +++ b/Novaria.Common/Protos/VampireSurvivorRewardChest.cs @@ -0,0 +1,591 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_survivor_reward_chest.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_survivor_reward_chest.proto</summary> + public static partial class VampireSurvivorRewardChestReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_survivor_reward_chest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireSurvivorRewardChestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiN2YW1waXJlX3N1cnZpdm9yX3Jld2FyZF9jaGVzdC5wcm90bxIFcHJvdG8i", + "WAodVmFtcGlyZVN1cnZpdm9yUmV3YXJkQ2hlc3RSZXESEQoJRXZlbnRUeXBl", + "GAEgASgNEg4KBk51bWJlchgCIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwi", + "TwoeVmFtcGlyZVN1cnZpdm9yUmV3YXJkQ2hlc3RSZXNwEgoKAklkGAEgASgN", + "EgsKA05ldxgCIAEoCBIUCgtOZXh0UGFja2FnZRj/DyABKAxiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRewardChestReq), global::Proto.VampireSurvivorRewardChestReq.Parser, new[]{ "EventType", "Number", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRewardChestResp), global::Proto.VampireSurvivorRewardChestResp.Parser, new[]{ "Id", "New", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorRewardChestReq : pb::IMessage<VampireSurvivorRewardChestReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorRewardChestReq> _parser = new pb::MessageParser<VampireSurvivorRewardChestReq>(() => new VampireSurvivorRewardChestReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorRewardChestReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRewardChestReflection.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 VampireSurvivorRewardChestReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardChestReq(VampireSurvivorRewardChestReq other) : this() { + eventType_ = other.eventType_; + number_ = other.number_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardChestReq Clone() { + return new VampireSurvivorRewardChestReq(this); + } + + /// <summary>Field number for the "EventType" field.</summary> + public const int EventTypeFieldNumber = 1; + private uint eventType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint EventType { + get { return eventType_; } + set { + eventType_ = value; + } + } + + /// <summary>Field number for the "Number" field.</summary> + public const int NumberFieldNumber = 2; + private uint number_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Number { + get { return number_; } + set { + number_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorRewardChestReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorRewardChestReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EventType != other.EventType) return false; + if (Number != other.Number) return false; + if (NextPackage != other.NextPackage) 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 (EventType != 0) hash ^= EventType.GetHashCode(); + if (Number != 0) hash ^= Number.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 (EventType != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EventType); + } + if (Number != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EventType != 0) { + output.WriteRawTag(8); + output.WriteUInt32(EventType); + } + if (Number != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Number); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (EventType != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventType); + } + if (Number != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Number); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorRewardChestReq other) { + if (other == null) { + return; + } + if (other.EventType != 0) { + EventType = other.EventType; + } + if (other.Number != 0) { + Number = other.Number; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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: { + EventType = input.ReadUInt32(); + break; + } + case 16: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + EventType = input.ReadUInt32(); + break; + } + case 16: { + Number = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorRewardChestResp : pb::IMessage<VampireSurvivorRewardChestResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorRewardChestResp> _parser = new pb::MessageParser<VampireSurvivorRewardChestResp>(() => new VampireSurvivorRewardChestResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorRewardChestResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRewardChestReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardChestResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardChestResp(VampireSurvivorRewardChestResp other) : this() { + id_ = other.id_; + new_ = other.new_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardChestResp Clone() { + return new VampireSurvivorRewardChestResp(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "New" field.</summary> + public const int NewFieldNumber = 2; + private bool new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool New { + get { return new_; } + set { + new_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorRewardChestResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorRewardChestResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (New != other.New) return false; + if (NextPackage != other.NextPackage) 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 (New != false) hash ^= New.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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.WriteUInt32(Id); + } + if (New != false) { + output.WriteRawTag(16); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.WriteUInt32(Id); + } + if (New != false) { + output.WriteRawTag(16); + output.WriteBool(New); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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.ComputeUInt32Size(Id); + } + if (New != false) { + size += 1 + 1; + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorRewardChestResp other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.New != false) { + New = other.New; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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.ReadUInt32(); + break; + } + case 16: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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.ReadUInt32(); + break; + } + case 16: { + New = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireSurvivorRewardSelect.cs b/Novaria.Common/Protos/VampireSurvivorRewardSelect.cs new file mode 100644 index 0000000..a0b4b9b --- /dev/null +++ b/Novaria.Common/Protos/VampireSurvivorRewardSelect.cs @@ -0,0 +1,968 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_survivor_reward_select.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_survivor_reward_select.proto</summary> + public static partial class VampireSurvivorRewardSelectReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_survivor_reward_select.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireSurvivorRewardSelectReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiR2YW1waXJlX3N1cnZpdm9yX3Jld2FyZF9zZWxlY3QucHJvdG8SBXByb3Rv", + "GgxwdWJsaWMucHJvdG8iYwoeVmFtcGlyZVN1cnZpdm9yUmV3YXJkU2VsZWN0", + "UmVxEhQKC05leHRQYWNrYWdlGP8PIAEoDBIPCgVJbmRleBgBIAEoDUgAEhAK", + "BlJlUm9sbBgCIAEoCEgAQggKBlNlbGVjdCKIAgofVmFtcGlyZVN1cnZpdm9y", + "UmV3YXJkU2VsZWN0UmVzcBIUCgtOZXh0UGFja2FnZRj/DyABKAwSPgoEUmVz", + "cBgBIAEoCzIuLnByb3RvLlZhbXBpcmVTdXJ2aXZvclJld2FyZFNlbGVjdFJl", + "c3AuU3VjY2Vzc0gAEjMKA1BrZxgCIAEoCzIkLnByb3RvLlZhbXBpcmVTdXJ2", + "aXZvckZhdGVDYXJkU2VsZWN0SAAaUAoHU3VjY2VzcxISCgpGYXRlQ2FyZElk", + "GAEgASgNEjEKBlJld2FyZBgCIAEoCzIhLnByb3RvLlZhbXBpcmVTdXJ2aXZv", + "ckxldmVsUmV3YXJkQggKBlJlc3VsdFAAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRewardSelectReq), global::Proto.VampireSurvivorRewardSelectReq.Parser, new[]{ "NextPackage", "Index", "ReRoll" }, new[]{ "Select" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRewardSelectResp), global::Proto.VampireSurvivorRewardSelectResp.Parser, new[]{ "NextPackage", "Resp", "Pkg" }, new[]{ "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorRewardSelectResp.Types.Success), global::Proto.VampireSurvivorRewardSelectResp.Types.Success.Parser, new[]{ "FateCardId", "Reward" }, null, null, null, null)}) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorRewardSelectReq : pb::IMessage<VampireSurvivorRewardSelectReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorRewardSelectReq> _parser = new pb::MessageParser<VampireSurvivorRewardSelectReq>(() => new VampireSurvivorRewardSelectReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorRewardSelectReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRewardSelectReflection.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 VampireSurvivorRewardSelectReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardSelectReq(VampireSurvivorRewardSelectReq other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.SelectCase) { + case SelectOneofCase.Index: + Index = other.Index; + break; + case SelectOneofCase.ReRoll: + ReRoll = other.ReRoll; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardSelectReq Clone() { + return new VampireSurvivorRewardSelectReq(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Index" field.</summary> + public const int IndexFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Index { + get { return HasIndex ? (uint) select_ : 0; } + set { + select_ = value; + selectCase_ = SelectOneofCase.Index; + } + } + /// <summary>Gets whether the "Index" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndex { + get { return selectCase_ == SelectOneofCase.Index; } + } + /// <summary> Clears the value of the oneof if it's currently set to "Index" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndex() { + if (HasIndex) { + ClearSelect(); + } + } + + /// <summary>Field number for the "ReRoll" field.</summary> + public const int ReRollFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReRoll { + get { return HasReRoll ? (bool) select_ : false; } + set { + select_ = value; + selectCase_ = SelectOneofCase.ReRoll; + } + } + /// <summary>Gets whether the "ReRoll" field is set</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReRoll { + get { return selectCase_ == SelectOneofCase.ReRoll; } + } + /// <summary> Clears the value of the oneof if it's currently set to "ReRoll" </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReRoll() { + if (HasReRoll) { + ClearSelect(); + } + } + + private object select_; + /// <summary>Enum of possible cases for the "Select" oneof.</summary> + public enum SelectOneofCase { + None = 0, + Index = 1, + ReRoll = 2, + } + private SelectOneofCase selectCase_ = SelectOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SelectOneofCase SelectCase { + get { return selectCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSelect() { + selectCase_ = SelectOneofCase.None; + select_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireSurvivorRewardSelectReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorRewardSelectReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (Index != other.Index) return false; + if (ReRoll != other.ReRoll) return false; + if (SelectCase != other.SelectCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (HasIndex) hash ^= Index.GetHashCode(); + if (HasReRoll) hash ^= ReRoll.GetHashCode(); + hash ^= (int) selectCase_; + 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 (HasIndex) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (HasReRoll) { + output.WriteRawTag(16); + output.WriteBool(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (HasIndex) { + output.WriteRawTag(8); + output.WriteUInt32(Index); + } + if (HasReRoll) { + output.WriteRawTag(16); + output.WriteBool(ReRoll); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (HasIndex) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); + } + if (HasReRoll) { + 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(VampireSurvivorRewardSelectReq other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.SelectCase) { + case SelectOneofCase.Index: + Index = other.Index; + break; + case SelectOneofCase.ReRoll: + ReRoll = other.ReRoll; + break; + } + + _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: { + Index = input.ReadUInt32(); + break; + } + case 16: { + ReRoll = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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: { + Index = input.ReadUInt32(); + break; + } + case 16: { + ReRoll = input.ReadBool(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorRewardSelectResp : pb::IMessage<VampireSurvivorRewardSelectResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorRewardSelectResp> _parser = new pb::MessageParser<VampireSurvivorRewardSelectResp>(() => new VampireSurvivorRewardSelectResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorRewardSelectResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRewardSelectReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardSelectResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardSelectResp(VampireSurvivorRewardSelectResp other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ResultCase) { + case ResultOneofCase.Resp: + Resp = other.Resp.Clone(); + break; + case ResultOneofCase.Pkg: + Pkg = other.Pkg.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorRewardSelectResp Clone() { + return new VampireSurvivorRewardSelectResp(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Resp" field.</summary> + public const int RespFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorRewardSelectResp.Types.Success Resp { + get { return resultCase_ == ResultOneofCase.Resp ? (global::Proto.VampireSurvivorRewardSelectResp.Types.Success) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Resp; + } + } + + /// <summary>Field number for the "Pkg" field.</summary> + public const int PkgFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorFateCardSelect Pkg { + get { return resultCase_ == ResultOneofCase.Pkg ? (global::Proto.VampireSurvivorFateCardSelect) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Pkg; + } + } + + private object result_; + /// <summary>Enum of possible cases for the "Result" oneof.</summary> + public enum ResultOneofCase { + None = 0, + Resp = 1, + Pkg = 2, + } + private ResultOneofCase resultCase_ = ResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultOneofCase ResultCase { + get { return resultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + resultCase_ = ResultOneofCase.None; + result_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireSurvivorRewardSelectResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorRewardSelectResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Resp, other.Resp)) return false; + if (!object.Equals(Pkg, other.Pkg)) return false; + if (ResultCase != other.ResultCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (resultCase_ == ResultOneofCase.Resp) hash ^= Resp.GetHashCode(); + if (resultCase_ == ResultOneofCase.Pkg) hash ^= Pkg.GetHashCode(); + hash ^= (int) resultCase_; + 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 (resultCase_ == ResultOneofCase.Resp) { + output.WriteRawTag(10); + output.WriteMessage(Resp); + } + if (resultCase_ == ResultOneofCase.Pkg) { + output.WriteRawTag(18); + output.WriteMessage(Pkg); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resultCase_ == ResultOneofCase.Resp) { + output.WriteRawTag(10); + output.WriteMessage(Resp); + } + if (resultCase_ == ResultOneofCase.Pkg) { + output.WriteRawTag(18); + output.WriteMessage(Pkg); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (resultCase_ == ResultOneofCase.Resp) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Resp); + } + if (resultCase_ == ResultOneofCase.Pkg) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Pkg); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorRewardSelectResp other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ResultCase) { + case ResultOneofCase.Resp: + if (Resp == null) { + Resp = new global::Proto.VampireSurvivorRewardSelectResp.Types.Success(); + } + Resp.MergeFrom(other.Resp); + break; + case ResultOneofCase.Pkg: + if (Pkg == null) { + Pkg = new global::Proto.VampireSurvivorFateCardSelect(); + } + Pkg.MergeFrom(other.Pkg); + break; + } + + _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 10: { + global::Proto.VampireSurvivorRewardSelectResp.Types.Success subBuilder = new global::Proto.VampireSurvivorRewardSelectResp.Types.Success(); + if (resultCase_ == ResultOneofCase.Resp) { + subBuilder.MergeFrom(Resp); + } + input.ReadMessage(subBuilder); + Resp = subBuilder; + break; + } + case 18: { + global::Proto.VampireSurvivorFateCardSelect subBuilder = new global::Proto.VampireSurvivorFateCardSelect(); + if (resultCase_ == ResultOneofCase.Pkg) { + subBuilder.MergeFrom(Pkg); + } + input.ReadMessage(subBuilder); + Pkg = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.VampireSurvivorRewardSelectResp.Types.Success subBuilder = new global::Proto.VampireSurvivorRewardSelectResp.Types.Success(); + if (resultCase_ == ResultOneofCase.Resp) { + subBuilder.MergeFrom(Resp); + } + input.ReadMessage(subBuilder); + Resp = subBuilder; + break; + } + case 18: { + global::Proto.VampireSurvivorFateCardSelect subBuilder = new global::Proto.VampireSurvivorFateCardSelect(); + if (resultCase_ == ResultOneofCase.Pkg) { + subBuilder.MergeFrom(Pkg); + } + input.ReadMessage(subBuilder); + Pkg = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the VampireSurvivorRewardSelectResp message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Success : pb::IMessage<Success> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Success> _parser = new pb::MessageParser<Success>(() => new Success()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Success> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorRewardSelectResp.Descriptor.NestedTypes[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 Success() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Success(Success other) : this() { + fateCardId_ = other.fateCardId_; + reward_ = other.reward_ != null ? other.reward_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Success Clone() { + return new Success(this); + } + + /// <summary>Field number for the "FateCardId" field.</summary> + public const int FateCardIdFieldNumber = 1; + private uint fateCardId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FateCardId { + get { return fateCardId_; } + set { + fateCardId_ = value; + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 2; + private global::Proto.VampireSurvivorLevelReward reward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorLevelReward Reward { + get { return reward_; } + set { + reward_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Success); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Success other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FateCardId != other.FateCardId) return false; + if (!object.Equals(Reward, other.Reward)) 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 (FateCardId != 0) hash ^= FateCardId.GetHashCode(); + if (reward_ != null) hash ^= Reward.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 (FateCardId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(FateCardId); + } + if (reward_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Reward); + } + 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 (FateCardId != 0) { + output.WriteRawTag(8); + output.WriteUInt32(FateCardId); + } + if (reward_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Reward); + } + 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 (FateCardId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FateCardId); + } + if (reward_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Success other) { + if (other == null) { + return; + } + if (other.FateCardId != 0) { + FateCardId = other.FateCardId; + } + if (other.reward_ != null) { + if (reward_ == null) { + Reward = new global::Proto.VampireSurvivorLevelReward(); + } + Reward.MergeFrom(other.Reward); + } + _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: { + FateCardId = input.ReadUInt32(); + break; + } + case 18: { + if (reward_ == null) { + Reward = new global::Proto.VampireSurvivorLevelReward(); + } + input.ReadMessage(Reward); + 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: { + FateCardId = input.ReadUInt32(); + break; + } + case 18: { + if (reward_ == null) { + Reward = new global::Proto.VampireSurvivorLevelReward(); + } + input.ReadMessage(Reward); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireSurvivorSettle.cs b/Novaria.Common/Protos/VampireSurvivorSettle.cs new file mode 100644 index 0000000..cc84215 --- /dev/null +++ b/Novaria.Common/Protos/VampireSurvivorSettle.cs @@ -0,0 +1,1624 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_survivor_settle.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_survivor_settle.proto</summary> + public static partial class VampireSurvivorSettleReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_survivor_settle.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireSurvivorSettleReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch12YW1waXJlX3N1cnZpdm9yX3NldHRsZS5wcm90bxIFcHJvdG8aDHB1Ymxp", + "Yy5wcm90bxofdHJhdmVsZXJfZHVlbF9yYW5rX3VwbG9hZC5wcm90byKkAQoY", + "VmFtcGlyZVN1cnZpdm9yU2V0dGxlUmVxEhEKCUtpbGxDb3VudBgBIAMoDRIM", + "CgRUaW1lGAIgASgNEg4KBkRlZmVhdBgDIAEoCBIQCghDaGVja3N1bRgHIAEo", + "BBIvCgZTYW1wbGUYCCADKAsyHy5wcm90by5UcmF2ZWxlckR1ZWxCYXR0bGVT", + "YW1wbGUSFAoLTmV4dFBhY2thZ2UY/w8gASgMItgCChlWYW1waXJlU3Vydml2", + "b3JTZXR0bGVSZXNwEhQKC05leHRQYWNrYWdlGP8PIAEoDBI/CgdWaWN0b3J5", + "GAEgASgLMiwucHJvdG8uVmFtcGlyZVN1cnZpdm9yU2V0dGxlUmVzcC5WaWN0", + "b3J5RGF0YUgAEj0KBkRlZmVhdBgCIAEoCzIrLnByb3RvLlZhbXBpcmVTdXJ2", + "aXZvclNldHRsZVJlc3AuRGVmZWF0RGF0YUgAGnkKC1ZpY3RvcnlEYXRhEi0K", + "BUluZm9zGAEgAygLMh4ucHJvdG8uVmFtcGlyZVN1cnZpdm9yQXJlYUluZm8S", + "EgoKRmluYWxTY29yZRgCIAEoDRILCgNPbGQYAyABKA0SCwoDTmV3GAQgASgN", + "Eg0KBVRva2VuGAggASgJGiAKCkRlZmVhdERhdGESEgoKRmluYWxTY29yZRgB", + "IAEoDUIICgZSZXN1bHQidgoXVmFtcGlyZVN1cnZpdm9yQXJlYUluZm8SEQoJ", + "S2lsbENvdW50GAEgAygNEhEKCUtpbGxTY29yZRgCIAMoDRIQCghCb3NzVGlt", + "ZRgDIAEoDRINCgVTY29yZRgEIAEoDRIUCgtOZXh0UGFja2FnZRj/DyABKAxQ", + "AFABYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, global::Proto.TravelerDuelRankUploadReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleReq), global::Proto.VampireSurvivorSettleReq.Parser, new[]{ "KillCount", "Time", "Defeat", "Checksum", "Sample", "NextPackage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleResp), global::Proto.VampireSurvivorSettleResp.Parser, new[]{ "NextPackage", "Victory", "Defeat" }, new[]{ "Result" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleResp.Types.VictoryData), global::Proto.VampireSurvivorSettleResp.Types.VictoryData.Parser, new[]{ "Infos", "FinalScore", "Old", "New", "Token" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorSettleResp.Types.DefeatData), global::Proto.VampireSurvivorSettleResp.Types.DefeatData.Parser, new[]{ "FinalScore" }, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireSurvivorAreaInfo), global::Proto.VampireSurvivorAreaInfo.Parser, new[]{ "KillCount", "KillScore", "BossTime", "Score", "NextPackage" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorSettleReq : pb::IMessage<VampireSurvivorSettleReq> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorSettleReq> _parser = new pb::MessageParser<VampireSurvivorSettleReq>(() => new VampireSurvivorSettleReq()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorSettleReq> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorSettleReflection.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 VampireSurvivorSettleReq() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorSettleReq(VampireSurvivorSettleReq other) : this() { + killCount_ = other.killCount_.Clone(); + time_ = other.time_; + defeat_ = other.defeat_; + checksum_ = other.checksum_; + sample_ = other.sample_.Clone(); + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorSettleReq Clone() { + return new VampireSurvivorSettleReq(this); + } + + /// <summary>Field number for the "KillCount" field.</summary> + public const int KillCountFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_killCount_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> killCount_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> KillCount { + get { return killCount_; } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 2; + private uint time_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Time { + get { return time_; } + set { + time_ = value; + } + } + + /// <summary>Field number for the "Defeat" field.</summary> + public const int DefeatFieldNumber = 3; + private bool defeat_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Defeat { + get { return defeat_; } + set { + defeat_ = value; + } + } + + /// <summary>Field number for the "Checksum" field.</summary> + public const int ChecksumFieldNumber = 7; + private ulong checksum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ulong Checksum { + get { return checksum_; } + set { + checksum_ = value; + } + } + + /// <summary>Field number for the "Sample" field.</summary> + public const int SampleFieldNumber = 8; + private static readonly pb::FieldCodec<global::Proto.TravelerDuelBattleSample> _repeated_sample_codec + = pb::FieldCodec.ForMessage(66, global::Proto.TravelerDuelBattleSample.Parser); + private readonly pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> sample_ = new pbc::RepeatedField<global::Proto.TravelerDuelBattleSample>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.TravelerDuelBattleSample> Sample { + get { return sample_; } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorSettleReq); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorSettleReq other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!killCount_.Equals(other.killCount_)) return false; + if (Time != other.Time) return false; + if (Defeat != other.Defeat) return false; + if (Checksum != other.Checksum) return false; + if(!sample_.Equals(other.sample_)) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= killCount_.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (Defeat != false) hash ^= Defeat.GetHashCode(); + if (Checksum != 0UL) hash ^= Checksum.GetHashCode(); + hash ^= sample_.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + killCount_.WriteTo(output, _repeated_killCount_codec); + if (Time != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Time); + } + if (Defeat != false) { + output.WriteRawTag(24); + output.WriteBool(Defeat); + } + if (Checksum != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(Checksum); + } + sample_.WriteTo(output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + killCount_.WriteTo(ref output, _repeated_killCount_codec); + if (Time != 0) { + output.WriteRawTag(16); + output.WriteUInt32(Time); + } + if (Defeat != false) { + output.WriteRawTag(24); + output.WriteBool(Defeat); + } + if (Checksum != 0UL) { + output.WriteRawTag(56); + output.WriteUInt64(Checksum); + } + sample_.WriteTo(ref output, _repeated_sample_codec); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += killCount_.CalculateSize(_repeated_killCount_codec); + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time); + } + if (Defeat != false) { + size += 1 + 1; + } + if (Checksum != 0UL) { + size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Checksum); + } + size += sample_.CalculateSize(_repeated_sample_codec); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorSettleReq other) { + if (other == null) { + return; + } + killCount_.Add(other.killCount_); + if (other.Time != 0) { + Time = other.Time; + } + if (other.Defeat != false) { + Defeat = other.Defeat; + } + if (other.Checksum != 0UL) { + Checksum = other.Checksum; + } + sample_.Add(other.sample_); + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + killCount_.AddEntriesFrom(input, _repeated_killCount_codec); + break; + } + case 16: { + Time = input.ReadUInt32(); + break; + } + case 24: { + Defeat = input.ReadBool(); + break; + } + case 56: { + Checksum = input.ReadUInt64(); + break; + } + case 66: { + sample_.AddEntriesFrom(input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + killCount_.AddEntriesFrom(ref input, _repeated_killCount_codec); + break; + } + case 16: { + Time = input.ReadUInt32(); + break; + } + case 24: { + Defeat = input.ReadBool(); + break; + } + case 56: { + Checksum = input.ReadUInt64(); + break; + } + case 66: { + sample_.AddEntriesFrom(ref input, _repeated_sample_codec); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorSettleResp : pb::IMessage<VampireSurvivorSettleResp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorSettleResp> _parser = new pb::MessageParser<VampireSurvivorSettleResp>(() => new VampireSurvivorSettleResp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorSettleResp> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorSettleReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorSettleResp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorSettleResp(VampireSurvivorSettleResp other) : this() { + nextPackage_ = other.nextPackage_; + switch (other.ResultCase) { + case ResultOneofCase.Victory: + Victory = other.Victory.Clone(); + break; + case ResultOneofCase.Defeat: + Defeat = other.Defeat.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorSettleResp Clone() { + return new VampireSurvivorSettleResp(this); + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Victory" field.</summary> + public const int VictoryFieldNumber = 1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorSettleResp.Types.VictoryData Victory { + get { return resultCase_ == ResultOneofCase.Victory ? (global::Proto.VampireSurvivorSettleResp.Types.VictoryData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Victory; + } + } + + /// <summary>Field number for the "Defeat" field.</summary> + public const int DefeatFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Proto.VampireSurvivorSettleResp.Types.DefeatData Defeat { + get { return resultCase_ == ResultOneofCase.Defeat ? (global::Proto.VampireSurvivorSettleResp.Types.DefeatData) result_ : null; } + set { + result_ = value; + resultCase_ = value == null ? ResultOneofCase.None : ResultOneofCase.Defeat; + } + } + + private object result_; + /// <summary>Enum of possible cases for the "Result" oneof.</summary> + public enum ResultOneofCase { + None = 0, + Victory = 1, + Defeat = 2, + } + private ResultOneofCase resultCase_ = ResultOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultOneofCase ResultCase { + get { return resultCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResult() { + resultCase_ = ResultOneofCase.None; + result_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireSurvivorSettleResp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorSettleResp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NextPackage != other.NextPackage) return false; + if (!object.Equals(Victory, other.Victory)) return false; + if (!object.Equals(Defeat, other.Defeat)) return false; + if (ResultCase != other.ResultCase) 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 (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); + if (resultCase_ == ResultOneofCase.Victory) hash ^= Victory.GetHashCode(); + if (resultCase_ == ResultOneofCase.Defeat) hash ^= Defeat.GetHashCode(); + hash ^= (int) resultCase_; + 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 (resultCase_ == ResultOneofCase.Victory) { + output.WriteRawTag(10); + output.WriteMessage(Victory); + } + if (resultCase_ == ResultOneofCase.Defeat) { + output.WriteRawTag(18); + output.WriteMessage(Defeat); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (resultCase_ == ResultOneofCase.Victory) { + output.WriteRawTag(10); + output.WriteMessage(Victory); + } + if (resultCase_ == ResultOneofCase.Defeat) { + output.WriteRawTag(18); + output.WriteMessage(Defeat); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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 (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (resultCase_ == ResultOneofCase.Victory) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Victory); + } + if (resultCase_ == ResultOneofCase.Defeat) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Defeat); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorSettleResp other) { + if (other == null) { + return; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + switch (other.ResultCase) { + case ResultOneofCase.Victory: + if (Victory == null) { + Victory = new global::Proto.VampireSurvivorSettleResp.Types.VictoryData(); + } + Victory.MergeFrom(other.Victory); + break; + case ResultOneofCase.Defeat: + if (Defeat == null) { + Defeat = new global::Proto.VampireSurvivorSettleResp.Types.DefeatData(); + } + Defeat.MergeFrom(other.Defeat); + break; + } + + _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 10: { + global::Proto.VampireSurvivorSettleResp.Types.VictoryData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.VictoryData(); + if (resultCase_ == ResultOneofCase.Victory) { + subBuilder.MergeFrom(Victory); + } + input.ReadMessage(subBuilder); + Victory = subBuilder; + break; + } + case 18: { + global::Proto.VampireSurvivorSettleResp.Types.DefeatData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.DefeatData(); + if (resultCase_ == ResultOneofCase.Defeat) { + subBuilder.MergeFrom(Defeat); + } + input.ReadMessage(subBuilder); + Defeat = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: { + global::Proto.VampireSurvivorSettleResp.Types.VictoryData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.VictoryData(); + if (resultCase_ == ResultOneofCase.Victory) { + subBuilder.MergeFrom(Victory); + } + input.ReadMessage(subBuilder); + Victory = subBuilder; + break; + } + case 18: { + global::Proto.VampireSurvivorSettleResp.Types.DefeatData subBuilder = new global::Proto.VampireSurvivorSettleResp.Types.DefeatData(); + if (resultCase_ == ResultOneofCase.Defeat) { + subBuilder.MergeFrom(Defeat); + } + input.ReadMessage(subBuilder); + Defeat = subBuilder; + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + #region Nested types + /// <summary>Container for nested types declared in the VampireSurvivorSettleResp message type.</summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VictoryData : pb::IMessage<VictoryData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VictoryData> _parser = new pb::MessageParser<VictoryData>(() => new VictoryData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VictoryData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorSettleResp.Descriptor.NestedTypes[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 VictoryData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VictoryData(VictoryData other) : this() { + infos_ = other.infos_.Clone(); + finalScore_ = other.finalScore_; + old_ = other.old_; + new_ = other.new_; + token_ = other.token_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VictoryData Clone() { + return new VictoryData(this); + } + + /// <summary>Field number for the "Infos" field.</summary> + public const int InfosFieldNumber = 1; + private static readonly pb::FieldCodec<global::Proto.VampireSurvivorAreaInfo> _repeated_infos_codec + = pb::FieldCodec.ForMessage(10, global::Proto.VampireSurvivorAreaInfo.Parser); + private readonly pbc::RepeatedField<global::Proto.VampireSurvivorAreaInfo> infos_ = new pbc::RepeatedField<global::Proto.VampireSurvivorAreaInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Proto.VampireSurvivorAreaInfo> Infos { + get { return infos_; } + } + + /// <summary>Field number for the "FinalScore" field.</summary> + public const int FinalScoreFieldNumber = 2; + private uint finalScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FinalScore { + get { return finalScore_; } + set { + finalScore_ = value; + } + } + + /// <summary>Field number for the "Old" field.</summary> + public const int OldFieldNumber = 3; + private uint old_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Old { + get { return old_; } + set { + old_ = value; + } + } + + /// <summary>Field number for the "New" field.</summary> + public const int NewFieldNumber = 4; + private uint new_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint New { + get { return new_; } + set { + new_ = value; + } + } + + /// <summary>Field number for the "Token" field.</summary> + public const int TokenFieldNumber = 8; + private string token_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Token { + get { return token_; } + set { + token_ = 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 VictoryData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VictoryData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!infos_.Equals(other.infos_)) return false; + if (FinalScore != other.FinalScore) return false; + if (Old != other.Old) return false; + if (New != other.New) return false; + if (Token != other.Token) 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; + hash ^= infos_.GetHashCode(); + if (FinalScore != 0) hash ^= FinalScore.GetHashCode(); + if (Old != 0) hash ^= Old.GetHashCode(); + if (New != 0) hash ^= New.GetHashCode(); + if (Token.Length != 0) hash ^= Token.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 + infos_.WriteTo(output, _repeated_infos_codec); + if (FinalScore != 0) { + output.WriteRawTag(16); + output.WriteUInt32(FinalScore); + } + if (Old != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Old); + } + if (New != 0) { + output.WriteRawTag(32); + output.WriteUInt32(New); + } + if (Token.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Token); + } + 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) { + infos_.WriteTo(ref output, _repeated_infos_codec); + if (FinalScore != 0) { + output.WriteRawTag(16); + output.WriteUInt32(FinalScore); + } + if (Old != 0) { + output.WriteRawTag(24); + output.WriteUInt32(Old); + } + if (New != 0) { + output.WriteRawTag(32); + output.WriteUInt32(New); + } + if (Token.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Token); + } + 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; + size += infos_.CalculateSize(_repeated_infos_codec); + if (FinalScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalScore); + } + if (Old != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Old); + } + if (New != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(New); + } + if (Token.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Token); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VictoryData other) { + if (other == null) { + return; + } + infos_.Add(other.infos_); + if (other.FinalScore != 0) { + FinalScore = other.FinalScore; + } + if (other.Old != 0) { + Old = other.Old; + } + if (other.New != 0) { + New = other.New; + } + if (other.Token.Length != 0) { + Token = other.Token; + } + _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 10: { + infos_.AddEntriesFrom(input, _repeated_infos_codec); + break; + } + case 16: { + FinalScore = input.ReadUInt32(); + break; + } + case 24: { + Old = input.ReadUInt32(); + break; + } + case 32: { + New = input.ReadUInt32(); + break; + } + case 66: { + Token = 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 10: { + infos_.AddEntriesFrom(ref input, _repeated_infos_codec); + break; + } + case 16: { + FinalScore = input.ReadUInt32(); + break; + } + case 24: { + Old = input.ReadUInt32(); + break; + } + case 32: { + New = input.ReadUInt32(); + break; + } + case 66: { + Token = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DefeatData : pb::IMessage<DefeatData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DefeatData> _parser = new pb::MessageParser<DefeatData>(() => new DefeatData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DefeatData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorSettleResp.Descriptor.NestedTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DefeatData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DefeatData(DefeatData other) : this() { + finalScore_ = other.finalScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DefeatData Clone() { + return new DefeatData(this); + } + + /// <summary>Field number for the "FinalScore" field.</summary> + public const int FinalScoreFieldNumber = 1; + private uint finalScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FinalScore { + get { return finalScore_; } + set { + finalScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DefeatData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DefeatData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FinalScore != other.FinalScore) 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 (FinalScore != 0) hash ^= FinalScore.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 (FinalScore != 0) { + output.WriteRawTag(8); + output.WriteUInt32(FinalScore); + } + 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 (FinalScore != 0) { + output.WriteRawTag(8); + output.WriteUInt32(FinalScore); + } + 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 (FinalScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FinalScore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DefeatData other) { + if (other == null) { + return; + } + if (other.FinalScore != 0) { + FinalScore = other.FinalScore; + } + _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: { + FinalScore = input.ReadUInt32(); + 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: { + FinalScore = input.ReadUInt32(); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorAreaInfo : pb::IMessage<VampireSurvivorAreaInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorAreaInfo> _parser = new pb::MessageParser<VampireSurvivorAreaInfo>(() => new VampireSurvivorAreaInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorAreaInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Proto.VampireSurvivorSettleReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorAreaInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorAreaInfo(VampireSurvivorAreaInfo other) : this() { + killCount_ = other.killCount_.Clone(); + killScore_ = other.killScore_.Clone(); + bossTime_ = other.bossTime_; + score_ = other.score_; + nextPackage_ = other.nextPackage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorAreaInfo Clone() { + return new VampireSurvivorAreaInfo(this); + } + + /// <summary>Field number for the "KillCount" field.</summary> + public const int KillCountFieldNumber = 1; + private static readonly pb::FieldCodec<uint> _repeated_killCount_codec + = pb::FieldCodec.ForUInt32(10); + private readonly pbc::RepeatedField<uint> killCount_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> KillCount { + get { return killCount_; } + } + + /// <summary>Field number for the "KillScore" field.</summary> + public const int KillScoreFieldNumber = 2; + private static readonly pb::FieldCodec<uint> _repeated_killScore_codec + = pb::FieldCodec.ForUInt32(18); + private readonly pbc::RepeatedField<uint> killScore_ = new pbc::RepeatedField<uint>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<uint> KillScore { + get { return killScore_; } + } + + /// <summary>Field number for the "BossTime" field.</summary> + public const int BossTimeFieldNumber = 3; + private uint bossTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BossTime { + get { return bossTime_; } + set { + bossTime_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 4; + private uint score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString NextPackage { + get { return nextPackage_; } + set { + nextPackage_ = 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 VampireSurvivorAreaInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorAreaInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!killCount_.Equals(other.killCount_)) return false; + if(!killScore_.Equals(other.killScore_)) return false; + if (BossTime != other.BossTime) return false; + if (Score != other.Score) return false; + if (NextPackage != other.NextPackage) 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; + hash ^= killCount_.GetHashCode(); + hash ^= killScore_.GetHashCode(); + if (BossTime != 0) hash ^= BossTime.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.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 + killCount_.WriteTo(output, _repeated_killCount_codec); + killScore_.WriteTo(output, _repeated_killScore_codec); + if (BossTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(BossTime); + } + if (Score != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Score); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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) { + killCount_.WriteTo(ref output, _repeated_killCount_codec); + killScore_.WriteTo(ref output, _repeated_killScore_codec); + if (BossTime != 0) { + output.WriteRawTag(24); + output.WriteUInt32(BossTime); + } + if (Score != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Score); + } + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); + } + 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; + size += killCount_.CalculateSize(_repeated_killCount_codec); + size += killScore_.CalculateSize(_repeated_killScore_codec); + if (BossTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BossTime); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Score); + } + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorAreaInfo other) { + if (other == null) { + return; + } + killCount_.Add(other.killCount_); + killScore_.Add(other.killScore_); + if (other.BossTime != 0) { + BossTime = other.BossTime; + } + if (other.Score != 0) { + Score = other.Score; + } + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; + } + _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 10: + case 8: { + killCount_.AddEntriesFrom(input, _repeated_killCount_codec); + break; + } + case 18: + case 16: { + killScore_.AddEntriesFrom(input, _repeated_killScore_codec); + break; + } + case 24: { + BossTime = input.ReadUInt32(); + break; + } + case 32: { + Score = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + 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 10: + case 8: { + killCount_.AddEntriesFrom(ref input, _repeated_killCount_codec); + break; + } + case 18: + case 16: { + killScore_.AddEntriesFrom(ref input, _repeated_killScore_codec); + break; + } + case 24: { + BossTime = input.ReadUInt32(); + break; + } + case 32: { + Score = input.ReadUInt32(); + break; + } + case 16378: { + NextPackage = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireTalent.cs b/Novaria.Common/Protos/VampireTalent.cs deleted file mode 100644 index b598d1d..0000000 --- a/Novaria.Common/Protos/VampireTalent.cs +++ /dev/null @@ -1,643 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VampireTalent.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 VampireTalent.proto</summary> - public static partial class VampireTalentReflection { - - #region Descriptor - /// <summary>File descriptor for VampireTalent.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VampireTalentReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNWYW1waXJlVGFsZW50LnByb3RvIs4BCg1WYW1waXJlVGFsZW50EgoKAmlk", - "GAEgASgFEgwKBG5hbWUYAiABKAkSEAoIZGVzY190YWcYAyABKAUSDQoFcGFy", - "YW0YBCABKAUSDAoEcHJldhgFIAMoBRIRCglpc19zZXJ2ZXIYBiABKAgSEQoJ", - "aXNfY2xpZW50GAcgASgIEg4KBmVmZmVjdBgIIAEoBRIOCgZwYXJhbXMYCSAB", - "KAkSDQoFcG9pbnQYCiABKAUSDAoEaWNvbhgLIAEoCRIRCgllZmZlY3RfaWQY", - "DCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalent), global::Nova.Client.VampireTalent.Parser, new[]{ "Id", "Name", "DescTag", "Param", "Prev", "IsServer", "IsClient", "Effect", "Params", "Point", "Icon", "EffectId" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VampireTalent : pb::IMessage<VampireTalent> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VampireTalent> _parser = new pb::MessageParser<VampireTalent>(() => new VampireTalent()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VampireTalent> 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.VampireTalentReflection.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 VampireTalent() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalent(VampireTalent other) : this() { - id_ = other.id_; - name_ = other.name_; - descTag_ = other.descTag_; - param_ = other.param_; - prev_ = other.prev_.Clone(); - isServer_ = other.isServer_; - isClient_ = other.isClient_; - effect_ = other.effect_; - params_ = other.params_; - point_ = other.point_; - icon_ = other.icon_; - effectId_ = other.effectId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VampireTalent Clone() { - return new VampireTalent(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 "desc_tag" field.</summary> - public const int DescTagFieldNumber = 3; - private int descTag_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DescTag { - get { return descTag_; } - set { - descTag_ = value; - } - } - - /// <summary>Field number for the "param" field.</summary> - public const int ParamFieldNumber = 4; - private int param_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Param { - get { return param_; } - set { - param_ = value; - } - } - - /// <summary>Field number for the "prev" field.</summary> - public const int PrevFieldNumber = 5; - private static readonly pb::FieldCodec<int> _repeated_prev_codec - = pb::FieldCodec.ForInt32(42); - private readonly pbc::RepeatedField<int> prev_ = new pbc::RepeatedField<int>(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField<int> Prev { - get { return prev_; } - } - - /// <summary>Field number for the "is_server" field.</summary> - public const int IsServerFieldNumber = 6; - private bool isServer_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsServer { - get { return isServer_; } - set { - isServer_ = value; - } - } - - /// <summary>Field number for the "is_client" field.</summary> - public const int IsClientFieldNumber = 7; - private bool isClient_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsClient { - get { return isClient_; } - set { - isClient_ = value; - } - } - - /// <summary>Field number for the "effect" field.</summary> - public const int EffectFieldNumber = 8; - private int effect_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Effect { - get { return effect_; } - set { - effect_ = value; - } - } - - /// <summary>Field number for the "params" field.</summary> - public const int ParamsFieldNumber = 9; - private string params_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Params { - get { return params_; } - set { - params_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "point" field.</summary> - public const int PointFieldNumber = 10; - private int point_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Point { - get { return point_; } - set { - point_ = value; - } - } - - /// <summary>Field number for the "icon" field.</summary> - public const int IconFieldNumber = 11; - 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 "effect_id" field.</summary> - public const int EffectIdFieldNumber = 12; - private int effectId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int EffectId { - get { return effectId_; } - set { - effectId_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as VampireTalent); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VampireTalent 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 (DescTag != other.DescTag) return false; - if (Param != other.Param) return false; - if(!prev_.Equals(other.prev_)) return false; - if (IsServer != other.IsServer) return false; - if (IsClient != other.IsClient) return false; - if (Effect != other.Effect) return false; - if (Params != other.Params) return false; - if (Point != other.Point) return false; - if (Icon != other.Icon) return false; - if (EffectId != other.EffectId) 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 (DescTag != 0) hash ^= DescTag.GetHashCode(); - if (Param != 0) hash ^= Param.GetHashCode(); - hash ^= prev_.GetHashCode(); - if (IsServer != false) hash ^= IsServer.GetHashCode(); - if (IsClient != false) hash ^= IsClient.GetHashCode(); - if (Effect != 0) hash ^= Effect.GetHashCode(); - if (Params.Length != 0) hash ^= Params.GetHashCode(); - if (Point != 0) hash ^= Point.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (EffectId != 0) hash ^= EffectId.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 (DescTag != 0) { - output.WriteRawTag(24); - output.WriteInt32(DescTag); - } - if (Param != 0) { - output.WriteRawTag(32); - output.WriteInt32(Param); - } - prev_.WriteTo(output, _repeated_prev_codec); - if (IsServer != false) { - output.WriteRawTag(48); - output.WriteBool(IsServer); - } - if (IsClient != false) { - output.WriteRawTag(56); - output.WriteBool(IsClient); - } - if (Effect != 0) { - output.WriteRawTag(64); - output.WriteInt32(Effect); - } - if (Params.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Params); - } - if (Point != 0) { - output.WriteRawTag(80); - output.WriteInt32(Point); - } - if (Icon.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Icon); - } - if (EffectId != 0) { - output.WriteRawTag(96); - output.WriteInt32(EffectId); - } - 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 (DescTag != 0) { - output.WriteRawTag(24); - output.WriteInt32(DescTag); - } - if (Param != 0) { - output.WriteRawTag(32); - output.WriteInt32(Param); - } - prev_.WriteTo(ref output, _repeated_prev_codec); - if (IsServer != false) { - output.WriteRawTag(48); - output.WriteBool(IsServer); - } - if (IsClient != false) { - output.WriteRawTag(56); - output.WriteBool(IsClient); - } - if (Effect != 0) { - output.WriteRawTag(64); - output.WriteInt32(Effect); - } - if (Params.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Params); - } - if (Point != 0) { - output.WriteRawTag(80); - output.WriteInt32(Point); - } - if (Icon.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Icon); - } - if (EffectId != 0) { - output.WriteRawTag(96); - output.WriteInt32(EffectId); - } - 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 (DescTag != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DescTag); - } - if (Param != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Param); - } - size += prev_.CalculateSize(_repeated_prev_codec); - if (IsServer != false) { - size += 1 + 1; - } - if (IsClient != false) { - size += 1 + 1; - } - if (Effect != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect); - } - if (Params.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); - } - if (Point != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Point); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (EffectId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VampireTalent other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Name.Length != 0) { - Name = other.Name; - } - if (other.DescTag != 0) { - DescTag = other.DescTag; - } - if (other.Param != 0) { - Param = other.Param; - } - prev_.Add(other.prev_); - if (other.IsServer != false) { - IsServer = other.IsServer; - } - if (other.IsClient != false) { - IsClient = other.IsClient; - } - if (other.Effect != 0) { - Effect = other.Effect; - } - if (other.Params.Length != 0) { - Params = other.Params; - } - if (other.Point != 0) { - Point = other.Point; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.EffectId != 0) { - EffectId = other.EffectId; - } - _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: { - DescTag = input.ReadInt32(); - break; - } - case 32: { - Param = input.ReadInt32(); - break; - } - case 42: - case 40: { - prev_.AddEntriesFrom(input, _repeated_prev_codec); - break; - } - case 48: { - IsServer = input.ReadBool(); - break; - } - case 56: { - IsClient = input.ReadBool(); - break; - } - case 64: { - Effect = input.ReadInt32(); - break; - } - case 74: { - Params = input.ReadString(); - break; - } - case 80: { - Point = input.ReadInt32(); - break; - } - case 90: { - Icon = input.ReadString(); - break; - } - case 96: { - EffectId = 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 18: { - Name = input.ReadString(); - break; - } - case 24: { - DescTag = input.ReadInt32(); - break; - } - case 32: { - Param = input.ReadInt32(); - break; - } - case 42: - case 40: { - prev_.AddEntriesFrom(ref input, _repeated_prev_codec); - break; - } - case 48: { - IsServer = input.ReadBool(); - break; - } - case 56: { - IsClient = input.ReadBool(); - break; - } - case 64: { - Effect = input.ReadInt32(); - break; - } - case 74: { - Params = input.ReadString(); - break; - } - case 80: { - Point = input.ReadInt32(); - break; - } - case 90: { - Icon = input.ReadString(); - break; - } - case 96: { - EffectId = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/OnceAdditionalAttribute.cs b/Novaria.Common/Protos/VampireTalentDetail.cs similarity index 58% rename from Novaria.Common/Protos/OnceAdditionalAttribute.cs rename to Novaria.Common/Protos/VampireTalentDetail.cs index bc7d00a..62ab68c 100644 --- a/Novaria.Common/Protos/OnceAdditionalAttribute.cs +++ b/Novaria.Common/Protos/VampireTalentDetail.cs @@ -1,6 +1,6 @@ // <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: OnceAdditionalAttribute.proto +// source: vampire_talent_detail.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,29 +9,29 @@ 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 { +namespace Proto { - /// <summary>Holder for reflection information generated from OnceAdditionalAttribute.proto</summary> - public static partial class OnceAdditionalAttributeReflection { + /// <summary>Holder for reflection information generated from vampire_talent_detail.proto</summary> + public static partial class VampireTalentDetailReflection { #region Descriptor - /// <summary>File descriptor for OnceAdditionalAttribute.proto</summary> + /// <summary>File descriptor for vampire_talent_detail.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; - static OnceAdditionalAttributeReflection() { + static VampireTalentDetailReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Ch1PbmNlQWRkaXRpb25hbEF0dHJpYnV0ZS5wcm90byJrChdPbmNlQWRkaXRp", - "b25hbEF0dHJpYnV0ZRIKCgJpZBgBIAEoBRIXCg9sZXZlbF90eXBlX2RhdGEY", - "AiABKAUSEgoKbGV2ZWxfZGF0YRgDIAEoBRIXCg9tYWluX29yX3N1cHBvcnQY", - "BCABKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); + "Cht2YW1waXJlX3RhbGVudF9kZXRhaWwucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG8iYQoXVmFtcGlyZVRhbGVudERldGFpbFJlc3ASDQoFTm9kZXMYASAB", + "KAwSDgoGUG9pbnRzGAIgASgNEhEKCVJlc2V0VGltZRgDIAEoAxIUCgtOZXh0", + "UGFja2FnZRj/DyABKAxQAGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OnceAdditionalAttribute), global::Nova.Client.OnceAdditionalAttribute.Parser, new[]{ "Id", "LevelTypeData", "LevelData", "MainOrSupport" }, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Proto.VampireTalentDetailResp), global::Proto.VampireTalentDetailResp.Parser, new[]{ "Nodes", "Points", "ResetTime", "NextPackage" }, null, null, null, null) })); } #endregion @@ -39,21 +39,21 @@ namespace Nova.Client { } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class OnceAdditionalAttribute : pb::IMessage<OnceAdditionalAttribute> + public sealed partial class VampireTalentDetailResp : pb::IMessage<VampireTalentDetailResp> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser<OnceAdditionalAttribute> _parser = new pb::MessageParser<OnceAdditionalAttribute>(() => new OnceAdditionalAttribute()); + private static readonly pb::MessageParser<VampireTalentDetailResp> _parser = new pb::MessageParser<VampireTalentDetailResp>(() => new VampireTalentDetailResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<OnceAdditionalAttribute> Parser { get { return _parser; } } + public static pb::MessageParser<VampireTalentDetailResp> 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.OnceAdditionalAttributeReflection.Descriptor.MessageTypes[0]; } + get { return global::Proto.VampireTalentDetailReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -64,7 +64,7 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnceAdditionalAttribute() { + public VampireTalentDetailResp() { OnConstruction(); } @@ -72,87 +72,87 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnceAdditionalAttribute(OnceAdditionalAttribute other) : this() { - id_ = other.id_; - levelTypeData_ = other.levelTypeData_; - levelData_ = other.levelData_; - mainOrSupport_ = other.mainOrSupport_; + public VampireTalentDetailResp(VampireTalentDetailResp other) : this() { + nodes_ = other.nodes_; + points_ = other.points_; + resetTime_ = other.resetTime_; + nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public OnceAdditionalAttribute Clone() { - return new OnceAdditionalAttribute(this); + public VampireTalentDetailResp Clone() { + return new VampireTalentDetailResp(this); } - /// <summary>Field number for the "id" field.</summary> - public const int IdFieldNumber = 1; - private int id_; + /// <summary>Field number for the "Nodes" field.</summary> + public const int NodesFieldNumber = 1; + private pb::ByteString nodes_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Id { - get { return id_; } + public pb::ByteString Nodes { + get { return nodes_; } set { - id_ = value; + nodes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// <summary>Field number for the "level_type_data" field.</summary> - public const int LevelTypeDataFieldNumber = 2; - private int levelTypeData_; + /// <summary>Field number for the "Points" field.</summary> + public const int PointsFieldNumber = 2; + private uint points_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelTypeData { - get { return levelTypeData_; } + public uint Points { + get { return points_; } set { - levelTypeData_ = value; + points_ = value; } } - /// <summary>Field number for the "level_data" field.</summary> - public const int LevelDataFieldNumber = 3; - private int levelData_; + /// <summary>Field number for the "ResetTime" field.</summary> + public const int ResetTimeFieldNumber = 3; + private long resetTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int LevelData { - get { return levelData_; } + public long ResetTime { + get { return resetTime_; } set { - levelData_ = value; + resetTime_ = value; } } - /// <summary>Field number for the "main_or_support" field.</summary> - public const int MainOrSupportFieldNumber = 4; - private int mainOrSupport_; + /// <summary>Field number for the "NextPackage" field.</summary> + public const int NextPackageFieldNumber = 2047; + private pb::ByteString nextPackage_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MainOrSupport { - get { return mainOrSupport_; } + public pb::ByteString NextPackage { + get { return nextPackage_; } set { - mainOrSupport_ = value; + nextPackage_ = 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 OnceAdditionalAttribute); + return Equals(other as VampireTalentDetailResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(OnceAdditionalAttribute other) { + public bool Equals(VampireTalentDetailResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Id != other.Id) return false; - if (LevelTypeData != other.LevelTypeData) return false; - if (LevelData != other.LevelData) return false; - if (MainOrSupport != other.MainOrSupport) return false; + if (Nodes != other.Nodes) return false; + if (Points != other.Points) return false; + if (ResetTime != other.ResetTime) return false; + if (NextPackage != other.NextPackage) return false; return Equals(_unknownFields, other._unknownFields); } @@ -160,10 +160,10 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Id != 0) hash ^= Id.GetHashCode(); - if (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); - if (LevelData != 0) hash ^= LevelData.GetHashCode(); - if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); + if (Nodes.Length != 0) hash ^= Nodes.GetHashCode(); + if (Points != 0) hash ^= Points.GetHashCode(); + if (ResetTime != 0L) hash ^= ResetTime.GetHashCode(); + if (NextPackage.Length != 0) hash ^= NextPackage.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -182,21 +182,21 @@ namespace Nova.Client { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Id != 0) { - output.WriteRawTag(8); - output.WriteInt32(Id); + if (Nodes.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Nodes); } - if (LevelTypeData != 0) { + if (Points != 0) { output.WriteRawTag(16); - output.WriteInt32(LevelTypeData); + output.WriteUInt32(Points); } - if (LevelData != 0) { + if (ResetTime != 0L) { output.WriteRawTag(24); - output.WriteInt32(LevelData); + output.WriteInt64(ResetTime); } - if (MainOrSupport != 0) { - output.WriteRawTag(32); - output.WriteInt32(MainOrSupport); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -208,21 +208,21 @@ namespace Nova.Client { [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 (Nodes.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(Nodes); } - if (LevelTypeData != 0) { + if (Points != 0) { output.WriteRawTag(16); - output.WriteInt32(LevelTypeData); + output.WriteUInt32(Points); } - if (LevelData != 0) { + if (ResetTime != 0L) { output.WriteRawTag(24); - output.WriteInt32(LevelData); + output.WriteInt64(ResetTime); } - if (MainOrSupport != 0) { - output.WriteRawTag(32); - output.WriteInt32(MainOrSupport); + if (NextPackage.Length != 0) { + output.WriteRawTag(250, 127); + output.WriteBytes(NextPackage); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -234,17 +234,17 @@ namespace Nova.Client { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Id != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + if (Nodes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Nodes); } - if (LevelTypeData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + if (Points != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Points); } - if (LevelData != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + if (ResetTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ResetTime); } - if (MainOrSupport != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + if (NextPackage.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -254,21 +254,21 @@ namespace Nova.Client { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(OnceAdditionalAttribute other) { + public void MergeFrom(VampireTalentDetailResp other) { if (other == null) { return; } - if (other.Id != 0) { - Id = other.Id; + if (other.Nodes.Length != 0) { + Nodes = other.Nodes; } - if (other.LevelTypeData != 0) { - LevelTypeData = other.LevelTypeData; + if (other.Points != 0) { + Points = other.Points; } - if (other.LevelData != 0) { - LevelData = other.LevelData; + if (other.ResetTime != 0L) { + ResetTime = other.ResetTime; } - if (other.MainOrSupport != 0) { - MainOrSupport = other.MainOrSupport; + if (other.NextPackage.Length != 0) { + NextPackage = other.NextPackage; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -289,20 +289,20 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + Nodes = input.ReadBytes(); break; } case 16: { - LevelTypeData = input.ReadInt32(); + Points = input.ReadUInt32(); break; } case 24: { - LevelData = input.ReadInt32(); + ResetTime = input.ReadInt64(); break; } - case 32: { - MainOrSupport = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } @@ -324,20 +324,20 @@ namespace Nova.Client { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Id = input.ReadInt32(); + case 10: { + Nodes = input.ReadBytes(); break; } case 16: { - LevelTypeData = input.ReadInt32(); + Points = input.ReadUInt32(); break; } case 24: { - LevelData = input.ReadInt32(); + ResetTime = input.ReadInt64(); break; } - case 32: { - MainOrSupport = input.ReadInt32(); + case 16378: { + NextPackage = input.ReadBytes(); break; } } diff --git a/Novaria.Common/Protos/VampireTalentReset.cs b/Novaria.Common/Protos/VampireTalentReset.cs new file mode 100644 index 0000000..db11528 --- /dev/null +++ b/Novaria.Common/Protos/VampireTalentReset.cs @@ -0,0 +1,38 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_talent_reset.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_talent_reset.proto</summary> + public static partial class VampireTalentResetReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_talent_reset.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireTalentResetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Chp2YW1waXJlX3RhbGVudF9yZXNldC5wcm90bxIFcHJvdG8aDHB1YmxpYy5w", + "cm90b1AAYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VampireTalentUnlock.cs b/Novaria.Common/Protos/VampireTalentUnlock.cs new file mode 100644 index 0000000..9bc1b7d --- /dev/null +++ b/Novaria.Common/Protos/VampireTalentUnlock.cs @@ -0,0 +1,38 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vampire_talent_unlock.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 Proto { + + /// <summary>Holder for reflection information generated from vampire_talent_unlock.proto</summary> + public static partial class VampireTalentUnlockReflection { + + #region Descriptor + /// <summary>File descriptor for vampire_talent_unlock.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static VampireTalentUnlockReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cht2YW1waXJlX3RhbGVudF91bmxvY2sucHJvdG8SBXByb3RvGgxwdWJsaWMu", + "cHJvdG9QAGIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, null, null)); + } + #endregion + + } +} + +#endregion Designer generated code diff --git a/Novaria.Common/Protos/VoDirectory.cs b/Novaria.Common/Protos/VoDirectory.cs deleted file mode 100644 index 5c67301..0000000 --- a/Novaria.Common/Protos/VoDirectory.cs +++ /dev/null @@ -1,428 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: VoDirectory.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 VoDirectory.proto</summary> - public static partial class VoDirectoryReflection { - - #region Descriptor - /// <summary>File descriptor for VoDirectory.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static VoDirectoryReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFWb0RpcmVjdG9yeS5wcm90byJzCgtWb0RpcmVjdG9yeRIKCgJpZBgBIAEo", - "BRITCgt2b19yZXNvdXJjZRgCIAEoCRIUCgxjaGFyYWN0ZXJfaWQYAyABKAUS", - "DgoGdm90eXBlGAQgASgJEg0KBWxpbmVzGAUgASgJEg4KBm1vdGlvbhgGIAEo", - "CUIOqgILTm92YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VoDirectory), global::Nova.Client.VoDirectory.Parser, new[]{ "Id", "VoResource", "CharacterId", "Votype", "Lines", "Motion" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class VoDirectory : pb::IMessage<VoDirectory> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<VoDirectory> _parser = new pb::MessageParser<VoDirectory>(() => new VoDirectory()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<VoDirectory> 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.VoDirectoryReflection.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 VoDirectory() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VoDirectory(VoDirectory other) : this() { - id_ = other.id_; - voResource_ = other.voResource_; - characterId_ = other.characterId_; - votype_ = other.votype_; - lines_ = other.lines_; - motion_ = other.motion_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public VoDirectory Clone() { - return new VoDirectory(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 "vo_resource" field.</summary> - public const int VoResourceFieldNumber = 2; - private string voResource_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string VoResource { - get { return voResource_; } - set { - voResource_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "character_id" field.</summary> - public const int CharacterIdFieldNumber = 3; - private int characterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CharacterId { - get { return characterId_; } - set { - characterId_ = value; - } - } - - /// <summary>Field number for the "votype" field.</summary> - public const int VotypeFieldNumber = 4; - private string votype_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Votype { - get { return votype_; } - set { - votype_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "lines" field.</summary> - public const int LinesFieldNumber = 5; - private string lines_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Lines { - get { return lines_; } - set { - lines_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "motion" field.</summary> - public const int MotionFieldNumber = 6; - private string motion_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Motion { - get { return motion_; } - set { - motion_ = 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 VoDirectory); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(VoDirectory other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (VoResource != other.VoResource) return false; - if (CharacterId != other.CharacterId) return false; - if (Votype != other.Votype) return false; - if (Lines != other.Lines) return false; - if (Motion != other.Motion) 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 (VoResource.Length != 0) hash ^= VoResource.GetHashCode(); - if (CharacterId != 0) hash ^= CharacterId.GetHashCode(); - if (Votype.Length != 0) hash ^= Votype.GetHashCode(); - if (Lines.Length != 0) hash ^= Lines.GetHashCode(); - if (Motion.Length != 0) hash ^= Motion.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 (VoResource.Length != 0) { - output.WriteRawTag(18); - output.WriteString(VoResource); - } - if (CharacterId != 0) { - output.WriteRawTag(24); - output.WriteInt32(CharacterId); - } - if (Votype.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Votype); - } - if (Lines.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Lines); - } - if (Motion.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Motion); - } - 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 (VoResource.Length != 0) { - output.WriteRawTag(18); - output.WriteString(VoResource); - } - if (CharacterId != 0) { - output.WriteRawTag(24); - output.WriteInt32(CharacterId); - } - if (Votype.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Votype); - } - if (Lines.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Lines); - } - if (Motion.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Motion); - } - 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 (VoResource.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(VoResource); - } - if (CharacterId != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); - } - if (Votype.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Votype); - } - if (Lines.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Lines); - } - if (Motion.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Motion); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(VoDirectory other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.VoResource.Length != 0) { - VoResource = other.VoResource; - } - if (other.CharacterId != 0) { - CharacterId = other.CharacterId; - } - if (other.Votype.Length != 0) { - Votype = other.Votype; - } - if (other.Lines.Length != 0) { - Lines = other.Lines; - } - if (other.Motion.Length != 0) { - Motion = other.Motion; - } - _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: { - VoResource = input.ReadString(); - break; - } - case 24: { - CharacterId = input.ReadInt32(); - break; - } - case 34: { - Votype = input.ReadString(); - break; - } - case 42: { - Lines = input.ReadString(); - break; - } - case 50: { - Motion = 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 18: { - VoResource = input.ReadString(); - break; - } - case 24: { - CharacterId = input.ReadInt32(); - break; - } - case 34: { - Votype = input.ReadString(); - break; - } - case 42: { - Lines = input.ReadString(); - break; - } - case 50: { - Motion = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/Word.cs b/Novaria.Common/Protos/Word.cs deleted file mode 100644 index 27ccdd4..0000000 --- a/Novaria.Common/Protos/Word.cs +++ /dev/null @@ -1,764 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Word.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 Word.proto</summary> - public static partial class WordReflection { - - #region Descriptor - /// <summary>File descriptor for Word.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static WordReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgpXb3JkLnByb3RvIu0BCgRXb3JkEgoKAmlkGAEgASgFEg0KBXRpdGxlGAIg", - "ASgJEgwKBGRlc2MYAyABKAkSDQoFY29sb3IYBCABKAkSDAoEaWNvbhgFIAEo", - "CRIOCgZwYXJhbTEYBiABKAkSDgoGcGFyYW0yGAcgASgJEg4KBnBhcmFtMxgI", - "IAEoCRIOCgZwYXJhbTQYCSABKAkSDgoGcGFyYW01GAogASgJEg4KBnBhcmFt", - "NhgLIAEoCRIOCgZwYXJhbTcYDCABKAkSDgoGcGFyYW04GA0gASgJEg4KBnBh", - "cmFtORgOIAEoCRIPCgdwYXJhbTEwGA8gASgJQg6qAgtOb3ZhLkNsaWVudGIG", - "cHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Word), global::Nova.Client.Word.Parser, new[]{ "Id", "Title", "Desc", "Color", "Icon", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Word : pb::IMessage<Word> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<Word> _parser = new pb::MessageParser<Word>(() => new Word()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<Word> 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.WordReflection.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 Word() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Word(Word other) : this() { - id_ = other.id_; - title_ = other.title_; - desc_ = other.desc_; - color_ = other.color_; - icon_ = other.icon_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - param5_ = other.param5_; - param6_ = other.param6_; - param7_ = other.param7_; - param8_ = other.param8_; - param9_ = other.param9_; - param10_ = other.param10_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Word Clone() { - return new Word(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 "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "desc" field.</summary> - public const int DescFieldNumber = 3; - 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 "color" field.</summary> - public const int ColorFieldNumber = 4; - private string color_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Color { - get { return color_; } - set { - color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "icon" field.</summary> - public const int IconFieldNumber = 5; - 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 "param1" field.</summary> - public const int Param1FieldNumber = 6; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param2" field.</summary> - public const int Param2FieldNumber = 7; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param3" field.</summary> - public const int Param3FieldNumber = 8; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param4" field.</summary> - public const int Param4FieldNumber = 9; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param5" field.</summary> - public const int Param5FieldNumber = 10; - private string param5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param5 { - get { return param5_; } - set { - param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param6" field.</summary> - public const int Param6FieldNumber = 11; - private string param6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param6 { - get { return param6_; } - set { - param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param7" field.</summary> - public const int Param7FieldNumber = 12; - private string param7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param7 { - get { return param7_; } - set { - param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param8" field.</summary> - public const int Param8FieldNumber = 13; - private string param8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param8 { - get { return param8_; } - set { - param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param9" field.</summary> - public const int Param9FieldNumber = 14; - private string param9_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param9 { - get { return param9_; } - set { - param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param10" field.</summary> - public const int Param10FieldNumber = 15; - private string param10_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param10 { - get { return param10_; } - set { - param10_ = 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 Word); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Word other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Desc != other.Desc) return false; - if (Color != other.Color) return false; - if (Icon != other.Icon) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) return false; - if (Param5 != other.Param5) return false; - if (Param6 != other.Param6) return false; - if (Param7 != other.Param7) return false; - if (Param8 != other.Param8) return false; - if (Param9 != other.Param9) return false; - if (Param10 != other.Param10) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Color.Length != 0) hash ^= Color.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.GetHashCode(); - if (Param5.Length != 0) hash ^= Param5.GetHashCode(); - if (Param6.Length != 0) hash ^= Param6.GetHashCode(); - if (Param7.Length != 0) hash ^= Param7.GetHashCode(); - if (Param8.Length != 0) hash ^= Param8.GetHashCode(); - if (Param9.Length != 0) hash ^= Param9.GetHashCode(); - if (Param10.Length != 0) hash ^= Param10.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Color.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Color); - } - if (Icon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon); - } - if (Param1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Param10); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Desc.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Desc); - } - if (Color.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Color); - } - if (Icon.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Icon); - } - if (Param1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Param10); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Color.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Param1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (Param5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param5); - } - if (Param6.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param6); - } - if (Param7.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param7); - } - if (Param8.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param8); - } - if (Param9.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param9); - } - if (Param10.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param10); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Word other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Color.Length != 0) { - Color = other.Color; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - if (other.Param5.Length != 0) { - Param5 = other.Param5; - } - if (other.Param6.Length != 0) { - Param6 = other.Param6; - } - if (other.Param7.Length != 0) { - Param7 = other.Param7; - } - if (other.Param8.Length != 0) { - Param8 = other.Param8; - } - if (other.Param9.Length != 0) { - Param9 = other.Param9; - } - if (other.Param10.Length != 0) { - Param10 = other.Param10; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Color = input.ReadString(); - break; - } - case 42: { - Icon = input.ReadString(); - break; - } - case 50: { - Param1 = input.ReadString(); - break; - } - case 58: { - Param2 = input.ReadString(); - break; - } - case 66: { - Param3 = input.ReadString(); - break; - } - case 74: { - Param4 = input.ReadString(); - break; - } - case 82: { - Param5 = input.ReadString(); - break; - } - case 90: { - Param6 = input.ReadString(); - break; - } - case 98: { - Param7 = input.ReadString(); - break; - } - case 106: { - Param8 = input.ReadString(); - break; - } - case 114: { - Param9 = input.ReadString(); - break; - } - case 122: { - Param10 = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Desc = input.ReadString(); - break; - } - case 34: { - Color = input.ReadString(); - break; - } - case 42: { - Icon = input.ReadString(); - break; - } - case 50: { - Param1 = input.ReadString(); - break; - } - case 58: { - Param2 = input.ReadString(); - break; - } - case 66: { - Param3 = input.ReadString(); - break; - } - case 74: { - Param4 = input.ReadString(); - break; - } - case 82: { - Param5 = input.ReadString(); - break; - } - case 90: { - Param6 = input.ReadString(); - break; - } - case 98: { - Param7 = input.ReadString(); - break; - } - case 106: { - Param8 = input.ReadString(); - break; - } - case 114: { - Param9 = input.ReadString(); - break; - } - case 122: { - Param10 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/WordSuper.cs b/Novaria.Common/Protos/WordSuper.cs deleted file mode 100644 index 7d012f8..0000000 --- a/Novaria.Common/Protos/WordSuper.cs +++ /dev/null @@ -1,764 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: WordSuper.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 WordSuper.proto</summary> - public static partial class WordSuperReflection { - - #region Descriptor - /// <summary>File descriptor for WordSuper.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static WordSuperReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9Xb3JkU3VwZXIucHJvdG8i8gEKCVdvcmRTdXBlchIKCgJpZBgBIAEoBRIN", - "CgV0aXRsZRgCIAEoCRINCgVjb2xvchgDIAEoCRIMCgRpY29uGAQgASgJEgwK", - "BGRlc2MYBSABKAkSDgoGcGFyYW0xGAYgASgJEg4KBnBhcmFtMhgHIAEoCRIO", - "CgZwYXJhbTMYCCABKAkSDgoGcGFyYW00GAkgASgJEg4KBnBhcmFtNRgKIAEo", - "CRIOCgZwYXJhbTYYCyABKAkSDgoGcGFyYW03GAwgASgJEg4KBnBhcmFtOBgN", - "IAEoCRIOCgZwYXJhbTkYDiABKAkSDwoHcGFyYW0xMBgPIAEoCUIOqgILTm92", - "YS5DbGllbnRiBnByb3RvMw==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.WordSuper), global::Nova.Client.WordSuper.Parser, new[]{ "Id", "Title", "Color", "Icon", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class WordSuper : pb::IMessage<WordSuper> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<WordSuper> _parser = new pb::MessageParser<WordSuper>(() => new WordSuper()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<WordSuper> 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.WordSuperReflection.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 WordSuper() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WordSuper(WordSuper other) : this() { - id_ = other.id_; - title_ = other.title_; - color_ = other.color_; - icon_ = other.icon_; - desc_ = other.desc_; - param1_ = other.param1_; - param2_ = other.param2_; - param3_ = other.param3_; - param4_ = other.param4_; - param5_ = other.param5_; - param6_ = other.param6_; - param7_ = other.param7_; - param8_ = other.param8_; - param9_ = other.param9_; - param10_ = other.param10_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WordSuper Clone() { - return new WordSuper(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 "title" field.</summary> - public const int TitleFieldNumber = 2; - private string title_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Title { - get { return title_; } - set { - title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "color" field.</summary> - public const int ColorFieldNumber = 3; - private string color_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Color { - get { return color_; } - set { - color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "icon" field.</summary> - public const int IconFieldNumber = 4; - 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 "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 "param1" field.</summary> - public const int Param1FieldNumber = 6; - private string param1_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param1 { - get { return param1_; } - set { - param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param2" field.</summary> - public const int Param2FieldNumber = 7; - private string param2_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param2 { - get { return param2_; } - set { - param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param3" field.</summary> - public const int Param3FieldNumber = 8; - private string param3_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param3 { - get { return param3_; } - set { - param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param4" field.</summary> - public const int Param4FieldNumber = 9; - private string param4_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param4 { - get { return param4_; } - set { - param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param5" field.</summary> - public const int Param5FieldNumber = 10; - private string param5_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param5 { - get { return param5_; } - set { - param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param6" field.</summary> - public const int Param6FieldNumber = 11; - private string param6_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param6 { - get { return param6_; } - set { - param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param7" field.</summary> - public const int Param7FieldNumber = 12; - private string param7_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param7 { - get { return param7_; } - set { - param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param8" field.</summary> - public const int Param8FieldNumber = 13; - private string param8_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param8 { - get { return param8_; } - set { - param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param9" field.</summary> - public const int Param9FieldNumber = 14; - private string param9_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param9 { - get { return param9_; } - set { - param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "param10" field.</summary> - public const int Param10FieldNumber = 15; - private string param10_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Param10 { - get { return param10_; } - set { - param10_ = 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 WordSuper); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(WordSuper other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if (Title != other.Title) return false; - if (Color != other.Color) return false; - if (Icon != other.Icon) return false; - if (Desc != other.Desc) return false; - if (Param1 != other.Param1) return false; - if (Param2 != other.Param2) return false; - if (Param3 != other.Param3) return false; - if (Param4 != other.Param4) return false; - if (Param5 != other.Param5) return false; - if (Param6 != other.Param6) return false; - if (Param7 != other.Param7) return false; - if (Param8 != other.Param8) return false; - if (Param9 != other.Param9) return false; - if (Param10 != other.Param10) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); - if (Color.Length != 0) hash ^= Color.GetHashCode(); - if (Icon.Length != 0) hash ^= Icon.GetHashCode(); - if (Desc.Length != 0) hash ^= Desc.GetHashCode(); - if (Param1.Length != 0) hash ^= Param1.GetHashCode(); - if (Param2.Length != 0) hash ^= Param2.GetHashCode(); - if (Param3.Length != 0) hash ^= Param3.GetHashCode(); - if (Param4.Length != 0) hash ^= Param4.GetHashCode(); - if (Param5.Length != 0) hash ^= Param5.GetHashCode(); - if (Param6.Length != 0) hash ^= Param6.GetHashCode(); - if (Param7.Length != 0) hash ^= Param7.GetHashCode(); - if (Param8.Length != 0) hash ^= Param8.GetHashCode(); - if (Param9.Length != 0) hash ^= Param9.GetHashCode(); - if (Param10.Length != 0) hash ^= Param10.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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Color.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Color); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (Desc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc); - } - if (Param1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Param10); - } - 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 (Title.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Title); - } - if (Color.Length != 0) { - output.WriteRawTag(26); - output.WriteString(Color); - } - if (Icon.Length != 0) { - output.WriteRawTag(34); - output.WriteString(Icon); - } - if (Desc.Length != 0) { - output.WriteRawTag(42); - output.WriteString(Desc); - } - if (Param1.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Param1); - } - if (Param2.Length != 0) { - output.WriteRawTag(58); - output.WriteString(Param2); - } - if (Param3.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Param3); - } - if (Param4.Length != 0) { - output.WriteRawTag(74); - output.WriteString(Param4); - } - if (Param5.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Param5); - } - if (Param6.Length != 0) { - output.WriteRawTag(90); - output.WriteString(Param6); - } - if (Param7.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Param7); - } - if (Param8.Length != 0) { - output.WriteRawTag(106); - output.WriteString(Param8); - } - if (Param9.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Param9); - } - if (Param10.Length != 0) { - output.WriteRawTag(122); - output.WriteString(Param10); - } - 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 (Title.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); - } - if (Color.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); - } - if (Icon.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); - } - if (Desc.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); - } - if (Param1.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); - } - if (Param2.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); - } - if (Param3.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); - } - if (Param4.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); - } - if (Param5.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param5); - } - if (Param6.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param6); - } - if (Param7.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param7); - } - if (Param8.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param8); - } - if (Param9.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param9); - } - if (Param10.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Param10); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(WordSuper other) { - if (other == null) { - return; - } - if (other.Id != 0) { - Id = other.Id; - } - if (other.Title.Length != 0) { - Title = other.Title; - } - if (other.Color.Length != 0) { - Color = other.Color; - } - if (other.Icon.Length != 0) { - Icon = other.Icon; - } - if (other.Desc.Length != 0) { - Desc = other.Desc; - } - if (other.Param1.Length != 0) { - Param1 = other.Param1; - } - if (other.Param2.Length != 0) { - Param2 = other.Param2; - } - if (other.Param3.Length != 0) { - Param3 = other.Param3; - } - if (other.Param4.Length != 0) { - Param4 = other.Param4; - } - if (other.Param5.Length != 0) { - Param5 = other.Param5; - } - if (other.Param6.Length != 0) { - Param6 = other.Param6; - } - if (other.Param7.Length != 0) { - Param7 = other.Param7; - } - if (other.Param8.Length != 0) { - Param8 = other.Param8; - } - if (other.Param9.Length != 0) { - Param9 = other.Param9; - } - if (other.Param10.Length != 0) { - Param10 = other.Param10; - } - _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: { - Title = input.ReadString(); - break; - } - case 26: { - Color = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Param1 = input.ReadString(); - break; - } - case 58: { - Param2 = input.ReadString(); - break; - } - case 66: { - Param3 = input.ReadString(); - break; - } - case 74: { - Param4 = input.ReadString(); - break; - } - case 82: { - Param5 = input.ReadString(); - break; - } - case 90: { - Param6 = input.ReadString(); - break; - } - case 98: { - Param7 = input.ReadString(); - break; - } - case 106: { - Param8 = input.ReadString(); - break; - } - case 114: { - Param9 = input.ReadString(); - break; - } - case 122: { - Param10 = 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 18: { - Title = input.ReadString(); - break; - } - case 26: { - Color = input.ReadString(); - break; - } - case 34: { - Icon = input.ReadString(); - break; - } - case 42: { - Desc = input.ReadString(); - break; - } - case 50: { - Param1 = input.ReadString(); - break; - } - case 58: { - Param2 = input.ReadString(); - break; - } - case 66: { - Param3 = input.ReadString(); - break; - } - case 74: { - Param4 = input.ReadString(); - break; - } - case 82: { - Param5 = input.ReadString(); - break; - } - case 90: { - Param6 = input.ReadString(); - break; - } - case 98: { - Param7 = input.ReadString(); - break; - } - case 106: { - Param8 = input.ReadString(); - break; - } - case 114: { - Param9 = input.ReadString(); - break; - } - case 122: { - Param10 = input.ReadString(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/WorldClass.cs b/Novaria.Common/Protos/WorldClass.cs deleted file mode 100644 index 9cbbbb3..0000000 --- a/Novaria.Common/Protos/WorldClass.cs +++ /dev/null @@ -1,465 +0,0 @@ -// <auto-generated> -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: WorldClass.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 WorldClass.proto</summary> - public static partial class WorldClassReflection { - - #region Descriptor - /// <summary>File descriptor for WorldClass.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static WorldClassReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBXb3JsZENsYXNzLnByb3RvIoEBCgpXb3JsZENsYXNzEgwKBHJhbmsYASAB", - "KAUSCwoDZXhwGAIgASgFEg0KBWxpbWl0GAMgASgFEg0KBWFkZGVkGAQgASgF", - "EhQKDGRvdWJsZV9jb3VudBgFIAEoBRIOCgZyZXdhcmQYBiABKAkSFAoMcmV3", - "YXJkX2xpbWl0GAcgASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.WorldClass), global::Nova.Client.WorldClass.Parser, new[]{ "Rank", "Exp", "Limit", "Added", "DoubleCount", "Reward", "RewardLimit" }, null, null, null, null) - })); - } - #endregion - - } - #region Messages - [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class WorldClass : pb::IMessage<WorldClass> - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser<WorldClass> _parser = new pb::MessageParser<WorldClass>(() => new WorldClass()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser<WorldClass> 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.WorldClassReflection.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 WorldClass() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WorldClass(WorldClass other) : this() { - rank_ = other.rank_; - exp_ = other.exp_; - limit_ = other.limit_; - added_ = other.added_; - doubleCount_ = other.doubleCount_; - reward_ = other.reward_; - rewardLimit_ = other.rewardLimit_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public WorldClass Clone() { - return new WorldClass(this); - } - - /// <summary>Field number for the "rank" field.</summary> - public const int RankFieldNumber = 1; - private int rank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Rank { - get { return rank_; } - set { - rank_ = value; - } - } - - /// <summary>Field number for the "exp" field.</summary> - public const int ExpFieldNumber = 2; - private int exp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Exp { - get { return exp_; } - set { - exp_ = value; - } - } - - /// <summary>Field number for the "limit" field.</summary> - public const int LimitFieldNumber = 3; - private int limit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Limit { - get { return limit_; } - set { - limit_ = value; - } - } - - /// <summary>Field number for the "added" field.</summary> - public const int AddedFieldNumber = 4; - private int added_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Added { - get { return added_; } - set { - added_ = value; - } - } - - /// <summary>Field number for the "double_count" field.</summary> - public const int DoubleCountFieldNumber = 5; - private int doubleCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int DoubleCount { - get { return doubleCount_; } - set { - doubleCount_ = value; - } - } - - /// <summary>Field number for the "reward" field.</summary> - public const int RewardFieldNumber = 6; - private string reward_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Reward { - get { return reward_; } - set { - reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "reward_limit" field.</summary> - public const int RewardLimitFieldNumber = 7; - private int rewardLimit_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int RewardLimit { - get { return rewardLimit_; } - set { - rewardLimit_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as WorldClass); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(WorldClass other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Rank != other.Rank) return false; - if (Exp != other.Exp) return false; - if (Limit != other.Limit) return false; - if (Added != other.Added) return false; - if (DoubleCount != other.DoubleCount) return false; - if (Reward != other.Reward) return false; - if (RewardLimit != other.RewardLimit) 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 (Rank != 0) hash ^= Rank.GetHashCode(); - if (Exp != 0) hash ^= Exp.GetHashCode(); - if (Limit != 0) hash ^= Limit.GetHashCode(); - if (Added != 0) hash ^= Added.GetHashCode(); - if (DoubleCount != 0) hash ^= DoubleCount.GetHashCode(); - if (Reward.Length != 0) hash ^= Reward.GetHashCode(); - if (RewardLimit != 0) hash ^= RewardLimit.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 (Rank != 0) { - output.WriteRawTag(8); - output.WriteInt32(Rank); - } - if (Exp != 0) { - output.WriteRawTag(16); - output.WriteInt32(Exp); - } - if (Limit != 0) { - output.WriteRawTag(24); - output.WriteInt32(Limit); - } - if (Added != 0) { - output.WriteRawTag(32); - output.WriteInt32(Added); - } - if (DoubleCount != 0) { - output.WriteRawTag(40); - output.WriteInt32(DoubleCount); - } - if (Reward.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Reward); - } - if (RewardLimit != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardLimit); - } - 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 (Rank != 0) { - output.WriteRawTag(8); - output.WriteInt32(Rank); - } - if (Exp != 0) { - output.WriteRawTag(16); - output.WriteInt32(Exp); - } - if (Limit != 0) { - output.WriteRawTag(24); - output.WriteInt32(Limit); - } - if (Added != 0) { - output.WriteRawTag(32); - output.WriteInt32(Added); - } - if (DoubleCount != 0) { - output.WriteRawTag(40); - output.WriteInt32(DoubleCount); - } - if (Reward.Length != 0) { - output.WriteRawTag(50); - output.WriteString(Reward); - } - if (RewardLimit != 0) { - output.WriteRawTag(56); - output.WriteInt32(RewardLimit); - } - 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 (Rank != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rank); - } - if (Exp != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); - } - if (Limit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); - } - if (Added != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Added); - } - if (DoubleCount != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(DoubleCount); - } - if (Reward.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Reward); - } - if (RewardLimit != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardLimit); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(WorldClass other) { - if (other == null) { - return; - } - if (other.Rank != 0) { - Rank = other.Rank; - } - if (other.Exp != 0) { - Exp = other.Exp; - } - if (other.Limit != 0) { - Limit = other.Limit; - } - if (other.Added != 0) { - Added = other.Added; - } - if (other.DoubleCount != 0) { - DoubleCount = other.DoubleCount; - } - if (other.Reward.Length != 0) { - Reward = other.Reward; - } - if (other.RewardLimit != 0) { - RewardLimit = other.RewardLimit; - } - _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: { - Rank = input.ReadInt32(); - break; - } - case 16: { - Exp = input.ReadInt32(); - break; - } - case 24: { - Limit = input.ReadInt32(); - break; - } - case 32: { - Added = input.ReadInt32(); - break; - } - case 40: { - DoubleCount = input.ReadInt32(); - break; - } - case 50: { - Reward = input.ReadString(); - break; - } - case 56: { - RewardLimit = 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: { - Rank = input.ReadInt32(); - break; - } - case 16: { - Exp = input.ReadInt32(); - break; - } - case 24: { - Limit = input.ReadInt32(); - break; - } - case 32: { - Added = input.ReadInt32(); - break; - } - case 40: { - DoubleCount = input.ReadInt32(); - break; - } - case 50: { - Reward = input.ReadString(); - break; - } - case 56: { - RewardLimit = input.ReadInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/Novaria.Common/Protos/ServerAgent.cs b/Novaria.Common/SDKProtos/ServerAgent.cs similarity index 100% rename from Novaria.Common/Protos/ServerAgent.cs rename to Novaria.Common/SDKProtos/ServerAgent.cs diff --git a/Novaria.Common/Protos/ServerListMeta.cs b/Novaria.Common/SDKProtos/ServerListMeta.cs similarity index 100% rename from Novaria.Common/Protos/ServerListMeta.cs rename to Novaria.Common/SDKProtos/ServerListMeta.cs diff --git a/Novaria.Common/Tables/ClientTable.cs b/Novaria.Common/Tables/ClientTable.cs new file mode 100644 index 0000000..acc8fed --- /dev/null +++ b/Novaria.Common/Tables/ClientTable.cs @@ -0,0 +1,200854 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: client_table.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 client_table.proto</summary> + public static partial class ClientTableReflection { + + #region Descriptor + /// <summary>File descriptor for client_table.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClientTableReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJjbGllbnRfdGFibGUucHJvdG8SC25vdmEuY2xpZW50IocDCgtBY2hpZXZl", + "bWVudBIKCgJJZBgBIAEoBRIRCglBY2hpZXZlSWQYAiABKAUSDQoFVGl0bGUY", + "AyABKAkSDAoERGVzYxgEIAEoCRIOCgZSYXJpdHkYBSABKAUSDAoEVHlwZRgG", + "IAEoBRIMCgRIaWRlGAcgASgIEg4KBkp1bXBUbxgIIAEoBRIUCgxDb21wbGV0", + "ZUNvbmQYCSABKAUSGgoSQ29tcGxldGVDb25kQ2xpZW50GAogASgFEhIKCkFp", + "bU51bVNob3cYCyABKAUSFQoNUHJlcmVxdWlzaXRlcxgMIAMoBRIRCglMZXZl", + "bFR5cGUYDSABKAUSHQoVQ2xpZW50Q29tcGxldGVQYXJhbXMxGA4gAygFEh0K", + "FUNsaWVudENvbXBsZXRlUGFyYW1zMhgPIAMoBRIMCgRUaWQxGBAgASgFEgwK", + "BFF0eTEYESABKAUSDAoEVGlkMhgSIAEoBRIMCgRRdHkyGBMgASgFEgwKBFRp", + "ZDMYFCABKAUSDAoEUXR5MxgVIAEoBSI7ChF0YWJsZV9BY2hpZXZlbWVudBIm", + "CgRsaXN0GAEgAygLMhgubm92YS5jbGllbnQuQWNoaWV2ZW1lbnQitAIKCEFj", + "dGl2aXR5EgoKAklkGAEgASgFEg4KBlNvcnRJZBgCIAEoBRIUCgxBY3Rpdml0", + "eVR5cGUYAyABKAUSDAoETmFtZRgEIAEoCRIQCghQcmVMaW1pdBgFIAEoBRIS", + "CgpMaW1pdFBhcmFtGAYgASgJEhEKCVN0YXJ0VHlwZRgHIAEoBRIRCglTdGFy", + "dFRpbWUYCCABKAkSFQoNU3RhcnRDb25kVHlwZRgJIAEoBRIXCg9TdGFydENv", + "bmRQYXJhbXMYCiADKAUSDwoHRW5kVHlwZRgLIAEoBRIPCgdFbmRUaW1lGAwg", + "ASgJEhMKC0VuZER1cmF0aW9uGA0gASgFEhEKCUJhbm5lclJlcxgOIAEoCRIQ", + "CghQb3BVcFJlcxgPIAEoCRIQCghUYWJCZ1JlcxgQIAEoCSI1Cg50YWJsZV9B", + "Y3Rpdml0eRIjCgRsaXN0GAEgAygLMhUubm92YS5jbGllbnQuQWN0aXZpdHki", + "UAoNQWRkQnVmZkFjdGlvbhIKCgJJZBgBIAEoBRIPCgdHcm91cElkGAIgASgF", + "EhIKClRhcmdldFR5cGUYAyABKAUSDgoGQnVmZklkGAQgASgFIj8KE3RhYmxl", + "X0FkZEJ1ZmZBY3Rpb24SKAoEbGlzdBgBIAMoCzIaLm5vdmEuY2xpZW50LkFk", + "ZEJ1ZmZBY3Rpb24iPgoMQWZmaW5pdHlHaWZ0EgoKAklkGAEgASgFEhQKDEJh", + "c2VBZmZpbml0eRgCIAEoBRIMCgRUYWdzGAMgAygFIj0KEnRhYmxlX0FmZmlu", + "aXR5R2lmdBInCgRsaXN0GAEgAygLMhkubm92YS5jbGllbnQuQWZmaW5pdHlH", + "aWZ0Iv8BCg1BZmZpbml0eUxldmVsEgoKAklkGAEgASgFEhUKDUFmZmluaXR5", + "TGV2ZWwYAiABKAUSDwoHTmVlZEV4cBgDIAEoBRISCgpUZW1wbGF0ZUlkGAQg", + "ASgFEhkKEUFmZmluaXR5TGV2ZWxOYW1lGAUgASgJEhkKEUFmZmluaXR5TGV2", + "ZWxJY29uGAYgASgJEh8KF0FmZmluaXR5TGV2ZWxSZXdhcmRJY29uGAcgASgJ", + "EiMKG0FmZmluaXR5TGV2ZWxSZXdhcmRMb2NrSWNvbhgIIAEoCRIOCgZFZmZl", + "Y3QYCSADKAUSGgoSQWZmaW5pdHlMZXZlbFN0YWdlGAogASgFIj8KE3RhYmxl", + "X0FmZmluaXR5TGV2ZWwSKAoEbGlzdBgBIAMoCzIaLm5vdmEuY2xpZW50LkFm", + "ZmluaXR5TGV2ZWwioAEKDUFmZmluaXR5UXVlc3QSCgoCSWQYASABKAUSDAoE", + "RGVzYxgCIAEoCRIOCgZTb3J0SWQYAyABKAUSDgoGQ2hhcklkGAQgASgFEhQK", + "DENvbXBsZXRlQ29uZBgFIAEoBRIaChJDb21wbGV0ZUNvbmRQYXJhbXMYBiAB", + "KAkSDgoGUmV3YXJkGAcgAygFEhMKC0FmZmluaXR5RXhwGAggASgFIj8KE3Rh", + "YmxlX0FmZmluaXR5UXVlc3QSKAoEbGlzdBgBIAMoCzIaLm5vdmEuY2xpZW50", + "LkFmZmluaXR5UXVlc3Qi7gEKEEFmZmluaXR5VXBSZXdhcmQSCgoCSWQYASAB", + "KAUSDgoGQ2hhcklkGAIgASgFEhMKC1Jld2FyZExldmVsGAMgASgFEg8KB1Jl", + "d2FyZDEYBCADKAUSDwoHUmV3YXJkMhgFIAMoBRIPCgdSZXdhcmQzGAYgAygF", + "EhIKCkRlc2NGcm9udDEYByABKAkSEgoKRGVzY0Zyb250MhgIIAEoCRISCgpE", + "ZXNjRnJvbnQzGAkgASgJEhIKCkRlc2NBZnRlcjEYCiABKAkSEgoKRGVzY0Fm", + "dGVyMhgLIAEoCRISCgpEZXNjQWZ0ZXIzGAwgASgJIkUKFnRhYmxlX0FmZmlu", + "aXR5VXBSZXdhcmQSKwoEbGlzdBgBIAMoCzIdLm5vdmEuY2xpZW50LkFmZmlu", + "aXR5VXBSZXdhcmQi/wMKBUFnZW50EgoKAklkGAEgASgFEgsKA1RhYhgCIAEo", + "BRIMCgROb3RlGAMgASgJEgwKBE5hbWUYBCABKAkSDAoERGVzYxgFIAEoCRIR", + "CglDb25zaWdub3IYBiABKAkSEwoLUmVmcmVzaFR5cGUYByABKAUSEgoKTWVt", + "YmVyVHlwZRgIIAEoBRINCgVMZXZlbBgJIAEoBRISCgpCdWlsZFNjb3JlGAog", + "ASgFEhMKC01lbWJlckxpbWl0GAsgASgFEgwKBFRhZ3MYDCADKAUSEQoJRXh0", + "cmFUYWdzGA0gAygFEhgKEFVubG9ja0NvbmRpdGlvbnMYDiABKAkSDAoEU29y", + "dBgPIAEoBRINCgVUaW1lMRgQIAEoBRIWCg5SZXdhcmRQcmV2aWV3MRgRIAEo", + "CRIVCg1Cb251c1ByZXZpZXcxGBIgASgJEg0KBVRpbWUyGBMgASgFEhYKDlJl", + "d2FyZFByZXZpZXcyGBQgASgJEhUKDUJvbnVzUHJldmlldzIYFSABKAkSDQoF", + "VGltZTMYFiABKAUSFgoOUmV3YXJkUHJldmlldzMYFyABKAkSFQoNQm9udXNQ", + "cmV2aWV3MxgYIAEoCRINCgVUaW1lNBgZIAEoBRIWCg5SZXdhcmRQcmV2aWV3", + "NBgaIAEoCRIVCg1Cb251c1ByZXZpZXc0GBsgASgJIi8KC3RhYmxlX0FnZW50", + "EiAKBGxpc3QYASADKAsyEi5ub3ZhLmNsaWVudC5BZ2VudCJmChdBZ2VudFNw", + "ZWNpYWxQZXJmb3JtYW5jZRIKCgJJZBgBIAEoBRIOCgZDaGFySWQYAiADKAUS", + "DgoGV2VpZ2h0GAMgASgFEgsKA0F2ZxgEIAEoCRISCgpBVkdHcm91cElkGAUg", + "ASgJIlMKHXRhYmxlX0FnZW50U3BlY2lhbFBlcmZvcm1hbmNlEjIKBGxpc3QY", + "ASADKAsyJC5ub3ZhLmNsaWVudC5BZ2VudFNwZWNpYWxQZXJmb3JtYW5jZSI/", + "CghBZ2VudFRhYhIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEgoKAkJnGAMg", + "ASgJEg0KBVNwVGFnGAQgASgIIjUKDnRhYmxlX0FnZW50VGFiEiMKBGxpc3QY", + "ASADKAsyFS5ub3ZhLmNsaWVudC5BZ2VudFRhYiKTAQoCQUkSCgoCSWQYASAB", + "KAUSDwoHRkNTcGF3bhgCIAEoCRIOCgZGQ0lkbGUYAyABKAkSEAoIRkNBY3Rp", + "b24YBCABKAkSFQoNRkNMb3N0Q29udHJvbBgFIAEoCRIPCgdGQ0RlYXRoGAYg", + "ASgJEhAKCEZDR2xvYmFsGAcgASgJEhQKDEZDQ29tYm9Hcm91cBgIIAEoCSIp", + "Cgh0YWJsZV9BSRIdCgRsaXN0GAEgAygLMg8ubm92YS5jbGllbnQuQUkiRgoK", + "QXJlYUVmZmVjdBIPCgdBcmVhVGFnGAEgASgFEhAKCE1heENvdW50GAIgASgF", + "EhUKDU92ZXJMaW1pdFR5cGUYAyABKAUiOQoQdGFibGVfQXJlYUVmZmVjdBIl", + "CgRsaXN0GAEgAygLMhcubm92YS5jbGllbnQuQXJlYUVmZmVjdCKpCwoJQXR0", + "cmlidXRlEgoKAklkGAEgASgJEg8KB0dyb3VwSWQYAiABKAUSDQoFQnJlYWsY", + "AyABKAUSCwoDbHZsGAQgASgFEgsKA0F0axgFIAEoBRIKCgJIcBgGIAEoBRIL", + "CgNEZWYYByABKAUSEAoIQ3JpdFJhdGUYCCABKAUSFgoOTm9ybWFsQ3JpdFJh", + "dGUYCSABKAUSFQoNU2tpbGxDcml0UmF0ZRgKIAEoBRIVCg1VbHRyYUNyaXRS", + "YXRlGAsgASgFEhQKDE1hcmtDcml0UmF0ZRgMIAEoBRIWCg5TdW1tb25Dcml0", + "UmF0ZRgNIAEoBRIaChJQcm9qZWN0aWxlQ3JpdFJhdGUYDiABKAUSFQoNT3Ro", + "ZXJDcml0UmF0ZRgPIAEoBRIWCg5Dcml0UmVzaXN0YW5jZRgQIAEoBRIRCglD", + "cml0UG93ZXIYESABKAUSFwoPTm9ybWFsQ3JpdFBvd2VyGBIgASgFEhYKDlNr", + "aWxsQ3JpdFBvd2VyGBMgASgFEhYKDlVsdHJhQ3JpdFBvd2VyGBQgASgFEhUK", + "DU1hcmtDcml0UG93ZXIYFSABKAUSFwoPU3VtbW9uQ3JpdFBvd2VyGBYgASgF", + "EhsKE1Byb2plY3RpbGVDcml0UG93ZXIYFyABKAUSFgoOT3RoZXJDcml0UG93", + "ZXIYGCABKAUSDwoHSGl0UmF0ZRgZIAEoBRILCgNFdmQYGiABKAUSEQoJRGVm", + "UGllcmNlGBsgASgFEhEKCURlZklnbm9yZRgcIAEoBRILCgNXRVAYHSABKAUS", + "CwoDRkVQGB4gASgFEgsKA1NFUBgfIAEoBRILCgNBRVAYICABKAUSCwoDTEVQ", + "GCEgASgFEgsKA0RFUBgiIAEoBRILCgNXRUkYIyABKAUSCwoDRkVJGCQgASgF", + "EgsKA1NFSRglIAEoBRILCgNBRUkYJiABKAUSCwoDTEVJGCcgASgFEgsKA0RF", + "SRgoIAEoBRILCgNXRUUYKSABKAUSCwoDRkVFGCogASgFEgsKA1NFRRgrIAEo", + "BRILCgNBRUUYLCABKAUSCwoDTEVFGC0gASgFEgsKA0RFRRguIAEoBRILCgNX", + "RVIYLyABKAUSCwoDRkVSGDAgASgFEgsKA1NFUhgxIAEoBRILCgNBRVIYMiAB", + "KAUSCwoDTEVSGDMgASgFEgsKA0RFUhg0IAEoBRIdChVUb3VnaG5lc3NEYW1h", + "Z2VBZGp1c3QYNSABKAUSEQoJVG91Z2huZXNzGDYgASgFEhAKCFN1cHByZXNz", + "GDcgASgFEhEKCU5PUk1BTERNRxg4IAEoBRIQCghTS0lMTERNRxg5IAEoBRIQ", + "CghVTFRSQURNRxg6IAEoBRIQCghPVEhFUkRNRxg7IAEoBRIUCgxSQ0ROT1JN", + "QUxETUcYPCABKAUSEwoLUkNEU0tJTExETUcYPSABKAUSEwoLUkNEVUxUUkFE", + "TUcYPiABKAUSEwoLUkNET1RIRVJETUcYPyABKAUSDwoHTUFSS0RNRxhAIAEo", + "BRISCgpSQ0RNQVJLRE1HGEEgASgFEhEKCVNVTU1PTkRNRxhCIAEoBRIUCgxS", + "Q0RTVU1NT05ETUcYQyABKAUSFQoNUFJPSkVDVElMRURNRxhEIAEoBRIYChBS", + "Q0RQUk9KRUNUSUxFRE1HGEUgASgFEg4KBkdFTkRNRxhGIAEoBRIPCgdETUdQ", + "TFVTGEcgASgFEhAKCEZJTkFMRE1HGEggASgFEhQKDEZJTkFMRE1HUExVUxhJ", + "IAEoBRIOCgZXRUVSQ0QYSiABKAUSDgoGRkVFUkNEGEsgASgFEg4KBlNFRVJD", + "RBhMIAEoBRIOCgZBRUVSQ0QYTSABKAUSDgoGTEVFUkNEGE4gASgFEg4KBkRF", + "RVJDRBhPIAEoBRIRCglHRU5ETUdSQ0QYUCABKAUSEgoKRE1HUExVU1JDRBhR", + "IAEoBSI3Cg90YWJsZV9BdHRyaWJ1dGUSJAoEbGlzdBgBIAMoCzIWLm5vdmEu", + "Y2xpZW50LkF0dHJpYnV0ZSJNCg5BdHRyaWJ1dGVMaW1pdBIKCgJJZBgBIAEo", + "BRINCgVMb3dlchgCIAEoBRINCgVVcHBlchgDIAEoBRIRCglJc0xpbWl0ZWQY", + "BCABKAgiQQoUdGFibGVfQXR0cmlidXRlTGltaXQSKQoEbGlzdBgBIAMoCzIb", + "Lm5vdmEuY2xpZW50LkF0dHJpYnV0ZUxpbWl0IuEDCgpCYXR0bGVQYXNzEgoK", + "AklEGAEgASgFEgwKBE5hbWUYAiABKAkSEQoJU3RhcnRUaW1lGAMgASgJEg8K", + "B0VuZFRpbWUYBCABKAkSFwoPTHV4dXJ5UHJvZHVjdElkGAUgASgJEhMKC0x1", + "eHVyeVByaWNlGAYgASgFEhgKEEx1eHVyeUJvbnVzTGV2ZWwYByABKAUSEQoJ", + "THV4dXJ5VGlkGAggASgFEhEKCUx1eHVyeVF0eRgJIAEoBRIYChBQcmVtaXVt", + "UHJvZHVjdElkGAogASgJEhQKDFByZW1pdW1QcmljZRgLIAEoBRISCgpQcmVt", + "aXVtVGlkGAwgASgFEhIKClByZW1pdW1RdHkYDSABKAUSHgoWQ29tcGxlbWVu", + "dGFyeVByb2R1Y3RJZBgOIAEoCRIaChJDb21wbGVtZW50YXJ5UHJpY2UYDyAB", + "KAUSGAoQQ29tcGxlbWVudGFyeVRpZBgQIAEoBRIYChBDb21wbGVtZW50YXJ5", + "UXR5GBEgASgFEg0KBUNvdmVyGBIgASgJEhgKEFByZW1pdW1TaG93SXRlbXMY", + "EyADKAUSFwoPTHV4dXJ5U2hvd0l0ZW1zGBQgAygFEh0KFU91dGZpdFBhY2th", + "Z2VTaG93SXRlbRgVIAEoBSI5ChB0YWJsZV9CYXR0bGVQYXNzEiUKBGxpc3QY", + "ASADKAsyFy5ub3ZhLmNsaWVudC5CYXR0bGVQYXNzIkQKD0JhdHRsZVBhc3NM", + "ZXZlbBIKCgJJRBgBIAEoBRILCgNFeHAYAiABKAUSCwoDVGlkGAMgASgFEgsK", + "A1F0eRgEIAEoBSJDChV0YWJsZV9CYXR0bGVQYXNzTGV2ZWwSKgoEbGlzdBgB", + "IAMoCzIcLm5vdmEuY2xpZW50LkJhdHRsZVBhc3NMZXZlbCJXCg9CYXR0bGVQ", + "YXNzUXVlc3QSCgoCSWQYASABKAUSDAoEVHlwZRgCIAEoBRINCgVUaXRsZRgD", + "IAEoCRIOCgZKdW1wVG8YBCABKAUSCwoDRXhwGAUgASgFIkMKFXRhYmxlX0Jh", + "dHRsZVBhc3NRdWVzdBIqCgRsaXN0GAEgAygLMhwubm92YS5jbGllbnQuQmF0", + "dGxlUGFzc1F1ZXN0IpABChBCYXR0bGVQYXNzUmV3YXJkEgoKAklEGAEgASgF", + "Eg0KBUxldmVsGAIgASgFEgwKBFRpZDEYAyABKAUSDAoEUXR5MRgEIAEoBRIM", + "CgRUaWQyGAUgASgFEgwKBFF0eTIYBiABKAUSDAoEVGlkMxgHIAEoBRIMCgRR", + "dHkzGAggASgFEg0KBUZvY3VzGAkgASgIIkUKFnRhYmxlX0JhdHRsZVBhc3NS", + "ZXdhcmQSKwoEbGlzdBgBIAMoCzIdLm5vdmEuY2xpZW50LkJhdHRsZVBhc3NS", + "ZXdhcmQiuwMKD0JhdHRsZVRocmVzaG9sZBIRCglNaXNzaW9uSWQYASABKAUS", + "DwoHVmVyc2lvbhgCIAEoBRISCgpmcm9tU3JjQXRrGAMgASgFEh4KFmZyb21Q", + "ZXJrSW50ZW5zaXR5UmF0aW8YBCABKAUSGAoQZnJvbVNsb3REbWdSYXRpbxgF", + "IAEoBRIOCgZmcm9tRUUYBiABKAUSFwoPZnJvbUdlbkRtZ1JhdGlvGAcgASgF", + "EhMKC2Zyb21EbWdQbHVzGAggASgFEhUKDWZyb21Dcml0UmF0aW8YCSABKAUS", + "GQoRZnJvbUZpbmFsRG1nUmF0aW8YCiABKAUSGAoQZnJvbUZpbmFsRG1nUGx1", + "cxgLIAEoBRIRCgl0b0VyQW1lbmQYDCABKAUSEgoKdG9EZWZBbWVuZBgNIAEo", + "BRIZChF0b1JjZFNsb3REbWdSYXRpbxgOIAEoBRIPCgd0b0VFUkNEGA8gASgF", + "EhgKEHRvR2VuRG1nUmNkUmF0aW8YECABKAUSFAoMdG9EbWdQbHVzUmNkGBEg", + "ASgFEgsKA0RtZxgSIAEoBRIQCghDcml0UmF0ZRgTIAEoBRIKCgJIcBgUIAEo", + "BSJDChV0YWJsZV9CYXR0bGVUaHJlc2hvbGQSKgoEbGlzdBgBIAMoCzIcLm5v", + "dmEuY2xpZW50LkJhdHRsZVRocmVzaG9sZCJKCghCb2FyZE5QQxIKCgJJZBgB", + "IAEoBRIMCgROYW1lGAIgASgJEg0KBUFsaWFzGAMgASgJEhUKDURlZmF1bHRT", + "a2luSWQYBCABKAUiNQoOdGFibGVfQm9hcmROUEMSIwoEbGlzdBgBIAMoCzIV", + "Lm5vdmEuY2xpZW50LkJvYXJkTlBDItoCCgRCdWZmEgoKAklkGAEgASgFEgwK", + "BE5hbWUYAiABKAkSFQoNbGV2ZWxUeXBlRGF0YRgDIAEoBRIRCglMZXZlbERh", + "dGEYBCABKAUSFQoNTWFpbk9yU3VwcG9ydBgFIAEoBRIPCgdHcm91cElkGAYg", + "ASgFEhIKClJlZHVjZVRpbWUYByABKAUSEAoIQnVmZlRhZzEYCCABKAUSEAoI", + "QnVmZlRhZzIYCSABKAUSEAoIQnVmZlRhZzMYCiABKAUSEAoIQnVmZlRhZzQY", + "CyABKAUSEAoIQnVmZlRhZzUYDCABKAUSEgoKQmluZEVmZmVjdBgNIAEoCRIM", + "CgRJY29uGA4gASgJEg4KBklzU2hvdxgPIAEoCBIXCg9Ub3BvZkhlYWRFZmZl", + "Y3QYECABKAkSGgoSQnVmZk51bUVmZmVjdExldmVsGBEgAygFEhEKCU5vdFJl", + "bW92ZRgSIAEoCCItCgp0YWJsZV9CdWZmEh8KBGxpc3QYASADKAsyES5ub3Zh", + "LmNsaWVudC5CdWZmIokCCglCdWZmVmFsdWUSCgoCSWQYASABKAUSDAoETmFt", + "ZRgCIAEoCRIMCgRTb3J0GAMgASgFEhMKC0J1ZmZFZmZlY3RzGAQgAygFEgwK", + "BFRpbWUYBSABKAUSFAoMTGFtaW5hdGVkTnVtGAYgASgFEgsKA051bRgHIAEo", + "BRIZChFUaW1lU3VwZXJwb3NpdGlvbhgIIAEoBRIOCgZUaW1pbmcYCSABKAUS", + "EwoLUmVwbGFjZVR5cGUYCiABKAgSEwoLQXR0YWNrQ2xlYXIYCyABKAgSEAoI", + "SGl0Q2xlYXIYDCABKAgSEQoJSXNJbmhlcml0GA0gASgIEhQKDElzRXhpdERl", + "bGV0ZRgOIAEoCCI3Cg90YWJsZV9CdWZmVmFsdWUSJAoEbGlzdBgBIAMoCzIW", + "Lm5vdmEuY2xpZW50LkJ1ZmZWYWx1ZSKzAQoHQ2hhcHRlchIKCgJJZBgBIAEo", + "BRIMCgROYW1lGAIgASgJEgwKBERlc2MYAyABKAkSEwoLQ2hhcHRlclR5cGUY", + "BCABKAUSEgoKV29ybGRDbGFzcxgFIAEoBRIVCg1QcmV2TWFpbmxpbmVzGAYg", + "AygFEhcKD0NvbXBsZXRlUmV3YXJkcxgHIAEoCRISCgpDaGFwdGVySW1nGAgg", + "ASgJEhMKC0NoYXB0ZXJJY29uGAkgASgJIjMKDXRhYmxlX0NoYXB0ZXISIgoE", + "bGlzdBgBIAMoCzIULm5vdmEuY2xpZW50LkNoYXB0ZXIilwsKCUNoYXJhY3Rl", + "chIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEg8KB1Zpc2libGUYAyABKAgS", + "EQoJQXZhaWxhYmxlGAQgASgIEg0KBUdyYWRlGAUgASgFEhUKDURlZmF1bHRT", + "a2luSWQYBiABKAUSFQoNQWR2YW5jZVNraW5JZBgHIAEoBRIUCgxBZHZhbmNl", + "R3JvdXAYCCABKAUSHgoWQWR2YW5jZVNraW5VbmxvY2tMZXZlbBgJIAEoBRIP", + "CgdGYWN0aW9uGAogASgFEg4KBldlaWdodBgLIAEoBRILCgNFRVQYDCABKAUS", + "DQoFQ2xhc3MYDSABKAUSGwoTQ2hhcmFjdGVyQXR0YWNrVHlwZRgOIAEoBRIY", + "ChBTZWFyY2hUYXJnZXRUeXBlGA8gASgFEg4KBkF0a1NwZBgQIAEoBRIPCgdN", + "b3ZUeXBlGBEgASgFEg8KB1dhbGtTcGQYEiABKAUSDgoGUnVuU3BkGBMgASgF", + "EhAKCFNwUnVuU3BkGBQgASgFEhAKCFRyYW5zU3BkGBUgASgFEhkKEVdhbGtU", + "b1J1bkR1cmF0aW9uGBYgASgFEiMKG0RvZGdlVG9SdW5BY2NlbGVyYXRpb25P", + "ck5vdBgXIAEoCBIOCgZNb3ZBY2MYGCABKAUSDgoGUm90U3BkGBkgASgFEg4K", + "BlJvdEFjYxgaIAEoBRIRCglWaXNpb25EZWcYGyABKAUSEQoJVmlzaW9uUm5n", + "GBwgASgFEhcKD1Zpc2lvbkF0dGFja1JuZxgdIAEoBRIPCgdIZWFyUm5nGB4g", + "ASgFEhUKDUhlYXJBdHRhY2tSbmcYHyABKAUSEwoLUmFpc2VHdW5SbmcYICAB", + "KAUSEgoKQnVsbGV0VHlwZRghIAEoBRIMCgRBbW1vGCIgASgFEgwKBEFJSWQY", + "IyABKAUSEwoLTm9ybWFsQXRrSWQYJCABKAUSDwoHRG9kZ2VJZBglIAEoBRIP", + "CgdTa2lsbElkGCYgASgFEhYKDlNwZWNpYWxTa2lsbElkGCcgASgFEhIKClVs", + "dGltYXRlSWQYKCABKAUSEgoKQXNzaXN0QUlJZBgpIAEoBRIZChFBc3Npc3RO", + "b3JtYWxBdGtJZBgqIAEoBRIVCg1Bc3Npc3REb2RnZUlkGCsgASgFEhUKDUFz", + "c2lzdFNraWxsSWQYLCABKAUSHAoUQXNzaXN0U3BlY2lhbFNraWxsSWQYLSAB", + "KAUSGAoQQXNzaXN0VWx0aW1hdGVJZBguIAEoBRIVCg1UYWxlbnRTa2lsbElk", + "GC8gASgFEh4KFkFzc2lzdFNraWxsT25TdGFnZVR5cGUYMCABKAUSGAoQQXNz", + "aXN0U2tpbGxBbmdsZRgxIAEoBRIZChFBc3Npc3RTa2lsbFJhZGl1cxgyIAEo", + "BRIlCh1Bc3Npc3RTa2lsbE9uU3RhZ2VPcmllbnRhdGlvbhgzIAEoBRIhChlB", + "c3Npc3RVbHRpbWF0ZU9uU3RhZ2VUeXBlGDQgASgFEhsKE0Fzc2lzdFVsdGlt", + "YXRlQW5nbGUYNSABKAUSHAoUQXNzaXN0VWx0aW1hdGVSYWRpdXMYNiABKAUS", + "KAogQXNzaXN0VWx0aW1hdGVPblN0YWdlT3JpZW50YXRpb24YNyABKAUSEAoI", + "U3dpdGNoQ0QYOCABKAUSFwoPRW5lcmd5Q29udlJhdGlvGDkgASgFEhgKEEVu", + "ZXJneUVmZmljaWVuY3kYOiABKAUSEwoLRnJhZ21lbnRzSWQYOyABKAUSFAoM", + "VHJhbnNmb3JtUXR5GDwgASgFEhYKDlJlY3J1aXRtZW50UXR5GD0gASgFEhMK", + "C0F0dHJpYnV0ZUlkGD4gASgJEhcKD1ByZXNlbnRzVHJhaXRJZBg/IAEoBRIa", + "ChJTa2lsbHNVcGdyYWRlR3JvdXAYQCADKAUiNwoPdGFibGVfQ2hhcmFjdGVy", + "EiQKBGxpc3QYASADKAsyFi5ub3ZhLmNsaWVudC5DaGFyYWN0ZXIi1gMKEENo", + "YXJhY3RlckFkdmFuY2USCgoCSWQYASABKAUSDQoFR3JvdXAYAiABKAUSEgoK", + "QWR2YW5jZUx2bBgDIAEoBRIMCgRUaWQxGAQgASgFEgwKBFF0eTEYBSABKAUS", + "DAoEVGlkMhgGIAEoBRIMCgRRdHkyGAcgASgFEgwKBFRpZDMYCCABKAUSDAoE", + "UXR5MxgJIAEoBRIMCgRUaWQ0GAogASgFEgwKBFF0eTQYCyABKAUSDwoHR29s", + "ZFF0eRgMIAEoBRIRCglBd2FyZFRpZDEYDSABKAUSEQoJQXdhcmRRdHkxGA4g", + "ASgFEhEKCUF3YXJkVGlkMhgPIAEoBRIRCglBd2FyZFF0eTIYECABKAUSEQoJ", + "QXdhcmRUaWQzGBEgASgFEhEKCUF3YXJkUXR5MxgSIAEoBRIZChFBZHZhbmNl", + "RGVzY0Zyb250MRgTIAEoCRIZChFBZHZhbmNlRGVzY0FmdGVyMRgUIAEoCRIZ", + "ChFBZHZhbmNlRGVzY0Zyb250MhgVIAEoCRIZChFBZHZhbmNlRGVzY0FmdGVy", + "MhgWIAEoCRIZChFBZHZhbmNlRGVzY0Zyb250MxgXIAEoCRIZChFBZHZhbmNl", + "RGVzY0FmdGVyMxgYIAEoCSJFChZ0YWJsZV9DaGFyYWN0ZXJBZHZhbmNlEisK", + "BGxpc3QYASADKAsyHS5ub3ZhLmNsaWVudC5DaGFyYWN0ZXJBZHZhbmNlIoIB", + "ChBDaGFyYWN0ZXJBcmNoaXZlEgoKAklkGAEgASgFEhAKCEFyY2hUeXBlGAIg", + "ASgFEhMKC0NoYXJhY3RlcklkGAMgASgFEhsKE1VubG9ja0FmZmluaXR5TGV2", + "ZWwYBCABKAUSEAoIUmVjb3JkSWQYBSABKAUSDAoEU29ydBgGIAEoBSJFChZ0", + "YWJsZV9DaGFyYWN0ZXJBcmNoaXZlEisKBGxpc3QYASADKAsyHS5ub3ZhLmNs", + "aWVudC5DaGFyYWN0ZXJBcmNoaXZlImkKGENoYXJhY3RlckFyY2hpdmVCYXNl", + "SW5mbxIKCgJJZBgBIAEoBRITCgtDaGFyYWN0ZXJJZBgCIAEoBRINCgVUaXRs", + "ZRgDIAEoCRIPCgdDb250ZW50GAQgASgJEgwKBFNvcnQYBSABKAUiVQoedGFi", + "bGVfQ2hhcmFjdGVyQXJjaGl2ZUJhc2VJbmZvEjMKBGxpc3QYASADKAsyJS5u", + "b3ZhLmNsaWVudC5DaGFyYWN0ZXJBcmNoaXZlQmFzZUluZm8iRQoXQ2hhcmFj", + "dGVyQXJjaGl2ZUNvbnRlbnQSCgoCSWQYASABKAUSDQoFVGl0bGUYAiABKAkS", + "DwoHQ29udGVudBgDIAEoCSJTCh10YWJsZV9DaGFyYWN0ZXJBcmNoaXZlQ29u", + "dGVudBIyCgRsaXN0GAEgAygLMiQubm92YS5jbGllbnQuQ2hhcmFjdGVyQXJj", + "aGl2ZUNvbnRlbnQirQEKFUNoYXJhY3RlckFyY2hpdmVWb2ljZRIKCgJJZBgB", + "IAEoBRITCgtDaGFyYWN0ZXJJZBgCIAEoBRIbChNVbmxvY2tBZmZpbml0eUxl", + "dmVsGAMgASgFEhIKClVubG9ja1Bsb3QYBCABKAUSDQoFVGl0bGUYBSABKAkS", + "DgoGU291cmNlGAYgASgJEhUKDUFyY2hWb2ljZVR5cGUYByABKAUSDAoEU29y", + "dBgIIAEoBSJPCht0YWJsZV9DaGFyYWN0ZXJBcmNoaXZlVm9pY2USMAoEbGlz", + "dBgBIAMoCzIiLm5vdmEuY2xpZW50LkNoYXJhY3RlckFyY2hpdmVWb2ljZSJu", + "CgtDaGFyYWN0ZXJDRxIKCgJJZBgBIAEoBRIaChJGdWxsU2NyZWVuUG9ydHJh", + "aXQYAiABKAkSFQoNRnVsbFNjcmVlbkwyRBgDIAEoCRISCgpVbmxvY2tQbG90", + "GAQgASgFEgwKBE5hbWUYBSABKAkiOwoRdGFibGVfQ2hhcmFjdGVyQ0cSJgoE", + "bGlzdBgBIAMoCzIYLm5vdmEuY2xpZW50LkNoYXJhY3RlckNHIsMBCgxDaGFy", + "YWN0ZXJEZXMSCgoCSWQYASABKAUSDQoFQWxpYXMYAiABKAkSDAoEQ25DdhgD", + "IAEoCRIMCgRKcEN2GAQgASgJEhEKCUNoYXJDb2xvchgFIAEoCRIWCg5DaGFy", + "U2tpbGxDb2xvchgGIAEoCRIPCgdDaGFyRGVzGAcgASgJEgsKA1RhZxgIIAMo", + "BRINCgVGb3JjZRgJIAEoBRISCgpQcmVmZXJUYWdzGAogAygFEhAKCEhhdGVU", + "YWdzGAsgAygFIj0KEnRhYmxlX0NoYXJhY3RlckRlcxInCgRsaXN0GAEgAygL", + "Mhkubm92YS5jbGllbnQuQ2hhcmFjdGVyRGVzIscBChVDaGFyYWN0ZXJTa2ls", + "bFVwZ3JhZGUSCgoCSWQYASABKAUSDQoFR3JvdXAYAiABKAUSEgoKQWR2YW5j", + "ZU51bRgDIAEoBRIMCgRUaWQxGAQgASgFEgwKBFF0eTEYBSABKAUSDAoEVGlk", + "MhgGIAEoBRIMCgRRdHkyGAcgASgFEgwKBFRpZDMYCCABKAUSDAoEUXR5MxgJ", + "IAEoBRIMCgRUaWQ0GAogASgFEgwKBFF0eTQYCyABKAUSDwoHR29sZFF0eRgM", + "IAEoBSJPCht0YWJsZV9DaGFyYWN0ZXJTa2lsbFVwZ3JhZGUSMAoEbGlzdBgB", + "IAMoCzIiLm5vdmEuY2xpZW50LkNoYXJhY3RlclNraWxsVXBncmFkZSK/BAoN", + "Q2hhcmFjdGVyU2tpbhIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEgwKBERl", + "c2MYAyABKAkSDgoGSXNTaG93GAQgASgIEg4KBkNoYXJJZBgFIAEoBRIMCgRU", + "eXBlGAYgASgFEhIKClNvdXJjZURlc2MYByABKAUSEQoJVHJhbnNmb3JtGAgg", + "ASgJEhgKEFdhbGtBbmltYXRpb25TcGQYCSABKAUSFwoPUnVuQW5pbWF0aW9u", + "U3BkGAogASgFEhkKEVNwUnVuQW5pbWF0aW9uU3BkGAsgASgFEhIKCk1vZGVs", + "U2NhbGUYDCABKAUSFQoNQ29sbGlkZXJTY2FsZRgNIAEoBRIWCg5Nb2RlbFNo", + "b3dTY2FsZRgOIAEoBRIVCg1Nb2RlbEVuZFNjYWxlGA8gASgFEhkKEUZvcmJp", + "ZGRlbkJlaGl0Um90GBAgASgIEgwKBEljb24YESABKAkSEAoIUG9ydHJhaXQY", + "EiABKAkSCgoCQmcYEyABKAkSDgoGT2Zmc2V0GBQgASgJEgsKA0wyRBgVIAEo", + "CRITCgtDaGFyYWN0ZXJDRxgWIAEoBRINCgVNb2RlbBgXIAEoCRISCgpNb2Rl", + "bF9TaG93GBggASgJEhEKCU1vZGVsX0VuZBgZIAEoCRIQCghHYWNoYUwyRBga", + "IAEoCRIRCglTa2luVGhlbWUYGyABKAUSGAoQRWZmZWN0U2NhbGVWYWx1ZRgc", + "IAEoBRIbChNUYWdFZmZlY3RTY2FsZVZhbHVlGB0gASgFIj8KE3RhYmxlX0No", + "YXJhY3RlclNraW4SKAoEbGlzdBgBIAMoCzIaLm5vdmEuY2xpZW50LkNoYXJh", + "Y3RlclNraW4ibwoWQ2hhcmFjdGVyU2tpblBhbmVsRmFjZRIKCgJJZBgBIAEo", + "BRIQCghNYWluVmlldxgCIAEoCRIQCghDaGFySW5mbxgDIAEoCRIRCglCYXR0", + "ZWxXaW4YBCABKAkSEgoKQmF0dGxlTG9zZRgFIAEoCSJRChx0YWJsZV9DaGFy", + "YWN0ZXJTa2luUGFuZWxGYWNlEjEKBGxpc3QYASADKAsyIy5ub3ZhLmNsaWVu", + "dC5DaGFyYWN0ZXJTa2luUGFuZWxGYWNlIkoKEkNoYXJhY3RlclNraW5UaGVt", + "ZRIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEgwKBERlc2MYAyABKAkSDAoE", + "SWNvbhgEIAEoCSJJChh0YWJsZV9DaGFyYWN0ZXJTa2luVGhlbWUSLQoEbGlz", + "dBgBIAMoCzIfLm5vdmEuY2xpZW50LkNoYXJhY3RlclNraW5UaGVtZSI6CgxD", + "aGFyYWN0ZXJUYWcSCgoCSWQYASABKAUSDQoFVGl0bGUYAiABKAkSDwoHVGFn", + "VHlwZRgDIAEoBSI9ChJ0YWJsZV9DaGFyYWN0ZXJUYWcSJwoEbGlzdBgBIAMo", + "CzIZLm5vdmEuY2xpZW50LkNoYXJhY3RlclRhZyJKChBDaGFyYWN0ZXJVcGdy", + "YWRlEgoKAklkGAEgASgFEg4KBlJhcml0eRgCIAEoBRINCgVMZXZlbBgDIAEo", + "BRILCgNFeHAYBCABKAUiRQoWdGFibGVfQ2hhcmFjdGVyVXBncmFkZRIrCgRs", + "aXN0GAEgAygLMh0ubm92YS5jbGllbnQuQ2hhcmFjdGVyVXBncmFkZSK2AQoV", + "Q2hhcmFjdGVyVm9pY2VDb250cm9sEgoKAklkGAEgASgJEhMKC3Byb2JhYmls", + "aXR5GAIgASgFEg8KB3Jlc1R5cGUYAyABKAUSEgoKY29tYmF0T25seRgEIAEo", + "CBIXCg93b3JsZExldmVsVHlwZXMYBSADKAUSDgoGYnViYmxlGAYgASgIEgoK", + "AmNkGAcgASgCEhAKCHZvUGxheWVyGAggASgFEhAKCHByaW9yaXR5GAkgASgF", + "Ik8KG3RhYmxlX0NoYXJhY3RlclZvaWNlQ29udHJvbBIwCgRsaXN0GAEgAygL", + "MiIubm92YS5jbGllbnQuQ2hhcmFjdGVyVm9pY2VDb250cm9sIjYKFENoYXJB", + "ZmZpbml0eVRlbXBsYXRlEgoKAklkGAEgASgFEhIKClRlbXBsYXRlSWQYAiAB", + "KAUiTQoadGFibGVfQ2hhckFmZmluaXR5VGVtcGxhdGUSLwoEbGlzdBgBIAMo", + "CzIhLm5vdmEuY2xpZW50LkNoYXJBZmZpbml0eVRlbXBsYXRlIoABCglDaGFy", + "R3JhZGUSDQoFR3JhZGUYASABKAUSFAoMRnJhZ21lbnRzUXR5GAIgASgFEhkK", + "EUdlbmVyYWxGcmFnbWVudElkGAMgASgFEhgKEFN1YnN0aXR1dGVJdGVtSWQY", + "BCABKAUSGQoRU3Vic3RpdHV0ZUl0ZW1RdHkYBSABKAUiNwoPdGFibGVfQ2hh", + "ckdyYWRlEiQKBGxpc3QYASADKAsyFi5ub3ZhLmNsaWVudC5DaGFyR3JhZGUi", + "OwoLQ2hhckl0ZW1FeHASCgoCSWQYASABKAUSDgoGSXRlbUlkGAIgASgFEhAK", + "CEV4cFZhbHVlGAMgASgFIjsKEXRhYmxlX0NoYXJJdGVtRXhwEiYKBGxpc3QY", + "ASADKAsyGC5ub3ZhLmNsaWVudC5DaGFySXRlbUV4cCLDAQoNQ2hhclBvdGVu", + "dGlhbBIKCgJJZBgBIAEoBRIiChpNYXN0ZXJTcGVjaWZpY1BvdGVudGlhbElk", + "cxgCIAMoBRIiChpBc3Npc3RTcGVjaWZpY1BvdGVudGlhbElkcxgDIAMoBRIa", + "ChJDb21tb25Qb3RlbnRpYWxJZHMYBCADKAUSIAoYTWFzdGVyTm9ybWFsUG90", + "ZW50aWFsSWRzGAUgAygFEiAKGEFzc2lzdE5vcm1hbFBvdGVudGlhbElkcxgG", + "IAMoBSI/ChN0YWJsZV9DaGFyUG90ZW50aWFsEigKBGxpc3QYASADKAsyGi5u", + "b3ZhLmNsaWVudC5DaGFyUG90ZW50aWFsIm0KEkNoYXJSYXJpdHlTZXF1ZW5j", + "ZRIKCgJJZBgBIAEoBRINCgVHcmFkZRgCIAEoBRISCgpBZHZhbmNlTHZsGAMg", + "ASgFEg8KB0x2TGltaXQYBCABKAUSFwoPV29ybGRDbGFzc0xpbWl0GAUgASgF", + "IkkKGHRhYmxlX0NoYXJSYXJpdHlTZXF1ZW5jZRItCgRsaXN0GAEgAygLMh8u", + "bm92YS5jbGllbnQuQ2hhclJhcml0eVNlcXVlbmNlIrcCCgRDaGF0EgoKAklk", + "GAEgASgFEhUKDUFkZHJlc3NCb29rSWQYAiABKAUSDQoFQVZHSWQYAyABKAkS", + "EgoKQVZHR3JvdXBJZBgEIAEoCRIRCglQcmVDaGF0SWQYBSABKAUSEAoIUHJp", + "b3JpdHkYBiABKAUSEwoLVHJpZ2dlclR5cGUYByABKAUSEQoJQXV0b1BvcFVw", + "GAggASgIEhMKC1RyaWdnZXJDb25kGAkgASgFEhgKEFRyaWdnZXJDb25kUGFy", + "YW0YCiABKAkSDwoHUmV3YXJkMRgLIAEoBRISCgpSZXdhcmRRdHkxGAwgASgF", + "Eg8KB1Jld2FyZDIYDSABKAUSEgoKUmV3YXJkUXR5MhgOIAEoBRIPCgdSZXdh", + "cmQzGA8gASgFEhIKClJld2FyZFF0eTMYECABKAUiLQoKdGFibGVfQ2hhdBIf", + "CgRsaXN0GAEgAygLMhEubm92YS5jbGllbnQuQ2hhdCKUAgoFQ2hlc3QSCgoC", + "SWQYASABKAUSDQoFR3JvdXAYAiABKAUSDQoFTGFiZWwYAyABKAUSEAoITG93", + "Rmxvb3IYBCABKAUSEQoJSGlnaEZsb29yGAUgASgFEhcKD1RudGVyYWN0aW9u", + "VHlwZRgGIAEoBRIQCghBdXRvT3BlbhgHIAEoBRIRCglNb2RlbFBhdGgYCCAB", + "KAkSDQoFSXRlbTEYCSABKAUSDwoHTnVtYmVyMRgKIAEoBRINCgVJdGVtMhgL", + "IAEoBRIPCgdOdW1iZXIyGAwgASgFEg0KBUl0ZW0zGA0gASgFEg8KB051bWJl", + "cjMYDiABKAUSDQoFSXRlbTQYDyABKAUSDwoHTnVtYmVyNBgQIAEoBSIvCgt0", + "YWJsZV9DaGVzdBIgCgRsaXN0GAEgAygLMhIubm92YS5jbGllbnQuQ2hlc3Qi", + "IwoGQ29uZmlnEgoKAklkGAEgASgJEg0KBVZhbHVlGAIgASgJIjEKDHRhYmxl", + "X0NvbmZpZxIhCgRsaXN0GAEgAygLMhMubm92YS5jbGllbnQuQ29uZmlnIjwK", + "C0NvbnRlbnRXb3JkEgoKAklkGAEgASgFEhMKC1ByZXNldENvbG9yGAIgASgJ", + "EgwKBFdvcmQYAyABKAkiOwoRdGFibGVfQ29udGVudFdvcmQSJgoEbGlzdBgB", + "IAMoCzIYLm5vdmEuY2xpZW50LkNvbnRlbnRXb3JkIsQDCg1EYWlseUluc3Rh", + "bmNlEgoKAklkGAEgASgFEhEKCURhaWx5VHlwZRgCIAEoBRISCgpEaWZmaWN1", + "bHR5GAMgASgFEgwKBE5hbWUYBCABKAkSDAoERGVzYxgFIAEoCRIWCg5TdWdn", + "ZXN0ZWRQb3dlchgGIAEoBRISCgpQcmVMZXZlbElkGAcgASgFEhQKDFByZUxl", + "dmVsU3RhchgIIAEoBRIWCg5OZWVkV29ybGRDbGFzcxgJIAEoBRIPCgdGbG9v", + "cklkGAogASgFEhMKC09uZVN0YXJEZXNjGAsgASgJEhMKC1R3b1N0YXJEZXNj", + "GAwgASgJEhUKDVRocmVlU3RhckRlc2MYDSABKAkSHAoUT25lU3RhckVuZXJn", + "eUNvbnN1bWUYDiABKAUSHAoUVHdvU3RhckVuZXJneUNvbnN1bWUYDyABKAUS", + "HgoWVGhyZWVTdGFyRW5lcmd5Q29uc3VtZRgQIAEoBRITCgtBd2FyZERyb3BJ", + "ZBgRIAEoBRIdChVQcmV2aWV3TW9uc3Rlckdyb3VwSWQYEiABKAUSDAoESWNv", + "bhgTIAEoCRIaChJGaXJzdFJld2FyZFByZXZpZXcYFCADKAUiPwoTdGFibGVf", + "RGFpbHlJbnN0YW5jZRIoCgRsaXN0GAEgAygLMhoubm92YS5jbGllbnQuRGFp", + "bHlJbnN0YW5jZSKPAwoSRGFpbHlJbnN0YW5jZUZsb29yEgoKAklkGAEgASgF", + "EhEKCVNjZW5lTmFtZRgCIAEoCRIYChBDb25maWdQcmVmYWJOYW1lGAMgASgJ", + "Eg0KBVRoZW1lGAQgASgFEgsKA0JHTRgFIAEoCRIZChFMZWF2ZVRyaWdnZXJF", + "dmVudBgGIAEoCRIRCgltb25zdGVySWQYByABKAUSGAoQT25lU3RhckNvbmRp", + "dGlvbhgIIAEoBRIYChBUd29TdGFyQ29uZGl0aW9uGAkgASgFEhoKElRocmVl", + "U3RhckNvbmRpdGlvbhgKIAEoBRIWCg5MZXZlbFRvdGFsVGltZRgLIAEoBRIZ", + "ChFUaW1lRW5kU2V0dGxlbWVudBgMIAEoCBIZChFTdGFyQ29uZGl0aW9uVHlw", + "ZRgNIAEoBRIRCglNb25zdGVyTHYYDiABKAUSGQoRRHJvcEVudGl0eUdyb3Vw", + "SWQYDyABKAUSFgoORHJvcEVudGl0eVJhdGUYECABKAUSEgoKRHJvcE1heE51", + "bRgRIAEoBSJJChh0YWJsZV9EYWlseUluc3RhbmNlRmxvb3ISLQoEbGlzdBgB", + "IAMoCzIfLm5vdmEuY2xpZW50LkRhaWx5SW5zdGFuY2VGbG9vciK1AQoYRGFp", + "bHlJbnN0YW5jZVJld2FyZEdyb3VwEgoKAklkGAEgASgFEg8KB0dyb3VwSWQY", + "AiABKAUSFwoPRGFpbHlSZXdhcmRUeXBlGAMgASgFEhIKClJld2FyZE5hbWUY", + "BCABKAkSEQoJUmV3YXJkRGVzGAUgASgJEhIKClJld2FyZEljb24YBiABKAkS", + "DgoGRHJvcElkGAcgASgFEhgKEEJhc2VBd2FyZFByZXZpZXcYCCABKAkiVQoe", + "dGFibGVfRGFpbHlJbnN0YW5jZVJld2FyZEdyb3VwEjMKBGxpc3QYASADKAsy", + "JS5ub3ZhLmNsaWVudC5EYWlseUluc3RhbmNlUmV3YXJkR3JvdXAimwEKEURh", + "aWx5SW5zdGFuY2VUeXBlEgoKAklkGAEgASgFEgwKBE5hbWUYAiABKAkSEgoK", + "TWFpbkxpbmVJZBgDIAEoBRIXCg9Xb3JsZENsYXNzTGV2ZWwYBCABKAUSDwoH", + "RXBpc29kZRgFIAEoCRINCgVJbWFnZRgGIAEoCRIMCgRTb3J0GAcgASgFEhEK", + "CUhvd1Jld2FyZBgIIAMoBSJHChd0YWJsZV9EYWlseUluc3RhbmNlVHlwZRIs", + "CgRsaXN0GAEgAygLMh4ubm92YS5jbGllbnQuRGFpbHlJbnN0YW5jZVR5cGUi", + "uAIKCkRhaWx5UXVlc3QSCgoCSWQYASABKAUSDQoFVGl0bGUYAiABKAkSDAoE", + "RGVzYxgDIAEoCRIOCgZKdW1wVG8YBCABKAUSDQoFT3JkZXIYBSABKAUSDgoG", + "QWN0aXZlGAYgASgFEg0KBUFwZWFyGAcgASgIEhUKDUFjY2VwdFBhcmFtczIY", + "CCABKAkSFAoMQ29tcGxldGVDb25kGAkgASgFEhoKEkNvbXBsZXRlQ29uZFBh", + "cmFtcxgKIAEoCRIaChJDb21wbGV0ZUNvbmRDbGllbnQYCyABKAUSHQoVQ2xp", + "ZW50Q29tcGxldGVQYXJhbXMxGAwgAygFEh0KFUNsaWVudENvbXBsZXRlUGFy", + "YW1zMhgNIAMoBRIPCgdJdGVtVGlkGA4gASgFEg8KB0l0ZW1RdHkYDyABKAUi", + "OQoQdGFibGVfRGFpbHlRdWVzdBIlCgRsaXN0GAEgAygLMhcubm92YS5jbGll", + "bnQuRGFpbHlRdWVzdCJ0ChBEYWlseVF1ZXN0QWN0aXZlEgoKAklkGAEgASgF", + "Eg4KBkFjdGl2ZRgCIAEoBRIQCghJdGVtVGlkMRgDIAEoBRIPCgdOdW1iZXIx", + "GAQgASgFEhAKCEl0ZW1UaWQyGAUgASgFEg8KB051bWJlcjIYBiABKAUiRQoW", + "dGFibGVfRGFpbHlRdWVzdEFjdGl2ZRIrCgRsaXN0GAEgAygLMh0ubm92YS5j", + "bGllbnQuRGFpbHlRdWVzdEFjdGl2ZSKWAQoPRGFpbHlRdWVzdEF3YXJkEgoK", + "AklkGAEgASgFEg0KBVRpdGxlGAIgASgJEhEKCU5lZWRQb2ludBgDIAEoBRIP", + "CgdOdW1TaG93GAQgASgFEhAKCEl0ZW1UaWQxGAUgASgFEg8KB051bWJlcjEY", + "BiABKAUSEAoISXRlbVRpZDIYByABKAUSDwoHTnVtYmVyMhgIIAEoBSJDChV0", + "YWJsZV9EYWlseVF1ZXN0QXdhcmQSKgoEbGlzdBgBIAMoCzIcLm5vdmEuY2xp", + "ZW50LkRhaWx5UXVlc3RBd2FyZCKEAQoSRGF0aW5nQ2hhclJlc3BvbnNlEgoK", + "AklkGAEgASgFEg4KBkNoYXJJZBgCIAEoBRIMCgRUeXBlGAMgASgJEhAKCFZv", + "aWNlS2V5GAQgASgJEg4KBkFjdGlvbhgFIAEoCRINCgVXb3JkcxgGIAEoCRIT", + "CgtCdWJibGVFbW9qaRgHIAEoCSJJChh0YWJsZV9EYXRpbmdDaGFyUmVzcG9u", + "c2USLQoEbGlzdBgBIAMoCzIfLm5vdmEuY2xpZW50LkRhdGluZ0NoYXJSZXNw", + "b25zZSL9AQoLRGF0aW5nRXZlbnQSCgoCSWQYASABKAUSFwoPRGF0aW5nRXZl", + "bnRUeXBlGAIgASgFEhkKEURhdGluZ0V2ZW50UGFyYW1zGAMgAygFEhAKCE11", + "dGV4VGFnGAQgASgFEg8KB1NvcnRUYWcYBSABKAUSEAoIQWZmaW5pdHkYBiAB", + "KAUSDgoGUmV3YXJkGAcgAygFEg0KBURlc2MxGAggASgJEg0KBURlc2MyGAkg", + "ASgJEg0KBURlc2MzGAogASgJEhAKCFJlc3BvbnNlGAsgASgJEgwKBE5hbWUY", + "DCABKAkSDAoEQ2x1ZRgNIAEoCRIOCgZNZW1vcnkYDiABKAkiOwoRdGFibGVf", + "RGF0aW5nRXZlbnQSJgoEbGlzdBgBIAMoCzIYLm5vdmEuY2xpZW50LkRhdGlu", + "Z0V2ZW50IlIKDkRhdGluZ0xhbmRtYXJrEgoKAklkGAEgASgFEgwKBE5hbWUY", + "AiABKAkSDAoERGVzYxgDIAEoCRIMCgRJY29uGAQgASgJEgoKAkJnGAUgASgJ", + "IkEKFHRhYmxlX0RhdGluZ0xhbmRtYXJrEikKBGxpc3QYASADKAsyGy5ub3Zh", + "LmNsaWVudC5EYXRpbmdMYW5kbWFyayJtCg1EZXN0cm95T2JqZWN0EgoKAklk", + "GAEgASgFEgwKBE5hbWUYAiABKAkSCgoCTHYYAyABKAUSEwoLQXR0cmlidXRl", + "SWQYBCABKAkSEAoIVGVtcGxldGUYBSABKAUSDwoHRmFjdGlvbhgGIAEoBSI/", + "ChN0YWJsZV9EZXN0cm95T2JqZWN0EigKBGxpc3QYASADKAsyGi5ub3ZhLmNs", + "aWVudC5EZXN0cm95T2JqZWN0IkoKEURpY3Rpb25hcnlEaWFncmFtEgoKAklk", + "GAEgASgFEg0KBVRpdGxlGAIgASgJEgwKBERlc2MYAyABKAkSDAoESWNvbhgE", + "IAEoCSJHChd0YWJsZV9EaWN0aW9uYXJ5RGlhZ3JhbRIsCgRsaXN0GAEgAygL", + "Mh4ubm92YS5jbGllbnQuRGljdGlvbmFyeURpYWdyYW0ilwEKD0RpY3Rpb25h", + "cnlFbnRyeRIKCgJJZBgBIAEoBRINCgVJbmRleBgCIAEoBRINCgVUaXRsZRgD", + "IAEoCRILCgNUYWIYBCABKAUSDgoGSXRlbUlkGAUgASgFEgsKA1F0eRgGIAEo", + "BRITCgtEaWFncmFtTGlzdBgHIAMoBRIMCgRTb3J0GAggASgFEg0KBVBvcHVw", + "GAkgASgIIkMKFXRhYmxlX0RpY3Rpb25hcnlFbnRyeRIqCgRsaXN0GAEgAygL", + "Mhwubm92YS5jbGllbnQuRGljdGlvbmFyeUVudHJ5ImAKDURpY3Rpb25hcnlU", + "YWISDQoFVGFiSWQYASABKAUSDAoESWNvbhgCIAEoCRINCgVJY29uMhgDIAEo", + "CRINCgVUaXRsZRgEIAEoCRIUCgxIaWRlSW5CYXR0bGUYBSABKAgiPwoTdGFi", + "bGVfRGljdGlvbmFyeVRhYhIoCgRsaXN0GAEgAygLMhoubm92YS5jbGllbnQu", + "RGljdGlvbmFyeVRhYiJHChVEaWN0aW9uYXJ5VG9wQmFyRW50cnkSCgoCSWQY", + "ASABKAUSDQoFVGl0bGUYAiABKAkSEwoLRGlhZ3JhbUxpc3QYAyADKAUiTwob", + "dGFibGVfRGljdGlvbmFyeVRvcEJhckVudHJ5EjAKBGxpc3QYASADKAsyIi5u", + "b3ZhLmNsaWVudC5EaWN0aW9uYXJ5VG9wQmFyRW50cnki1QQKBERpc2MSCgoC", + "SWQYASABKAUSCwoDRUVUGAIgASgFEgwKBFRhZ3MYAyADKAUSDwoHVmlzaWJs", + "ZRgEIAEoCBIRCglBdmFpbGFibGUYBSABKAgSDQoFSW1hZ2UYBiABKAkSDAoE", + "Tm90ZRgHIAMoBRIOCgZEaXNjQmcYCCABKAkSDAoEQ2FyZBgJIAEoCRIPCgdH", + "YWNoYUJnGAogASgJEhkKEVN0cmVuZ3RoZW5Hcm91cElkGAsgASgFEhcKD0F0", + "dHJCYXNlR3JvdXBJZBgMIAEoBRIWCg5Qcm9tb3RlR3JvdXBJZBgNIAEoBRIX", + "Cg9UcmFuc2Zvcm1JdGVtSWQYDiABKAUSHAoUTWF4U3RhclRyYW5zZm9ybUl0", + "ZW0YDyADKAUSGwoTUGFzc2l2ZVNraWxsR3JvdXBJZBgQIAEoBRIWCg5Db21t", + "b25Ta2lsbElkMRgRIAEoBRIWCg5Db21tb25Ta2lsbElkMhgSIAEoBRISCgpS", + "ZWFkUmV3YXJkGBMgAygFEg4KBlZvRmlsZRgUIAEoCRIQCghWb0JlZ2luMRgV", + "IAEoAhIPCgdWb0xvb3AxGBYgASgCEg8KB1ZvTmFtZTEYFyABKAkSEAoIVm9C", + "ZWdpbjIYGCABKAISDwoHVm9Mb29wMhgZIAEoAhIPCgdWb05hbWUyGBogASgJ", + "Eg8KB1ZvU3RvcnkYGyABKAkSEQoJU3RvcnlOYW1lGBwgASgJEhEKCVN0b3J5", + "RGVzYxgdIAEoCRIOCgZDaGFySWQYHiABKAUSEwoLU2tpbGxTY3JpcHQYHyAB", + "KAkiLQoKdGFibGVfRGlzYxIfCgRsaXN0GAEgAygLMhEubm92YS5jbGllbnQu", + "RGlzYyK5AwoPRGlzY0NvbW1vblNraWxsEgoKAklkGAEgASgFEhYKDkFjdGl2", + "ZU5vdGVUeXBlGAIgAygFEhUKDUFjdGl2ZU5vdGVOdW0YAyADKAUSEQoJRWZm", + "ZWN0SWQxGAQgAygFEhEKCUVmZmVjdElkMhgFIAMoBRIRCglFZmZlY3RJZDMY", + "BiADKAUSEQoJRWZmZWN0SWQ0GAcgAygFEhEKCUVmZmVjdElkNRgIIAMoBRIR", + "CglFZmZlY3RJZDYYCSADKAUSEQoJRWZmZWN0SWQ3GAogAygFEhEKCUVmZmVj", + "dElkOBgLIAMoBRIRCglFZmZlY3RJZDkYDCADKAUSEgoKRWZmZWN0SWQxMBgN", + "IAMoBRISCgpMYXllclNjb3JlGA4gAygFEgwKBE5hbWUYDyABKAkSDAoESWNv", + "bhgQIAEoCRIOCgZJY29uQmcYESABKAkSDAoERGVzYxgSIAEoCRIOCgZQYXJh", + "bTEYEyADKAkSDgoGUGFyYW0yGBQgAygJEg4KBlBhcmFtMxgVIAMoCRIOCgZQ", + "YXJhbTQYFiADKAkSDgoGUGFyYW01GBcgAygJEg4KBlBhcmFtNhgYIAMoCSJD", + "ChV0YWJsZV9EaXNjQ29tbW9uU2tpbGwSKgoEbGlzdBgBIAMoCzIcLm5vdmEu", + "Y2xpZW50LkRpc2NDb21tb25Ta2lsbCI2CgtEaXNjSXRlbUV4cBIKCgJJZBgB", + "IAEoBRIOCgZJdGVtSWQYAiABKAUSCwoDRXhwGAMgASgFIjsKEXRhYmxlX0Rp", + "c2NJdGVtRXhwEiYKBGxpc3QYASADKAsyGC5ub3ZhLmNsaWVudC5EaXNjSXRl", + "bUV4cCKXBAoQRGlzY1Bhc3NpdmVTa2lsbBIKCgJJZBgBIAEoBRIPCgdHcm91", + "cElkGAIgASgFEg0KBUxldmVsGAMgASgFEg0KBUJyZWFrGAQgASgFEhAKCE1h", + "aW5Ob3RlGAUgASgFEhQKDEFjdGl2ZVBhcmFtMRgGIAEoCRIRCglFZmZlY3RJ", + "ZDEYByADKAUSFAoMQWN0aXZlUGFyYW0yGAggASgJEhEKCUVmZmVjdElkMhgJ", + "IAMoBRIUCgxBY3RpdmVQYXJhbTMYCiABKAkSEQoJRWZmZWN0SWQzGAsgAygF", + "EhQKDEFjdGl2ZVBhcmFtNBgMIAEoCRIRCglFZmZlY3RJZDQYDSADKAUSFAoM", + "QWN0aXZlUGFyYW01GA4gASgJEhEKCUVmZmVjdElkNRgPIAMoBRISCgpMYXll", + "clNjb3JlGBAgAygFEgwKBE5hbWUYESABKAkSDAoESWNvbhgSIAEoCRIOCgZJ", + "Y29uQmcYEyABKAkSDQoFRGVzYzEYFCABKAkSDQoFRGVzYzIYFSABKAkSDQoF", + "RGVzYzMYFiABKAkSDQoFRGVzYzQYFyABKAkSDQoFRGVzYzUYGCABKAkSDgoG", + "UGFyYW0xGBkgASgJEg4KBlBhcmFtMhgaIAEoCRIOCgZQYXJhbTMYGyABKAkS", + "DgoGUGFyYW00GBwgASgJEg4KBlBhcmFtNRgdIAEoCRIOCgZQYXJhbTYYHiAB", + "KAkiRQoWdGFibGVfRGlzY1Bhc3NpdmVTa2lsbBIrCgRsaXN0GAEgAygLMh0u", + "bm92YS5jbGllbnQuRGlzY1Bhc3NpdmVTa2lsbCKqAQoLRGlzY1Byb21vdGUS", + "CgoCSWQYASABKAUSDwoHSXRlbUlkMRgCIAEoBRIMCgROdW0xGAMgASgFEg8K", + "B0l0ZW1JZDIYBCABKAUSDAoETnVtMhgFIAEoBRIPCgdJdGVtSWQzGAYgASgF", + "EgwKBE51bTMYByABKAUSDwoHSXRlbUlkNBgIIAEoBRIMCgROdW00GAkgASgF", + "EhMKC0V4cGVuc2VHb2xkGAogASgFIjsKEXRhYmxlX0Rpc2NQcm9tb3RlEiYK", + "BGxpc3QYASADKAsyGC5ub3ZhLmNsaWVudC5EaXNjUHJvbW90ZSJPChBEaXNj", + "UHJvbW90ZUxpbWl0EgoKAklkGAEgASgFEg4KBlJhcml0eRgCIAEoBRINCgVQ", + "aGFzZRgDIAEoCRIQCghNYXhMZXZlbBgEIAEoCSJFChZ0YWJsZV9EaXNjUHJv", + "bW90ZUxpbWl0EisKBGxpc3QYASADKAsyHS5ub3ZhLmNsaWVudC5EaXNjUHJv", + "bW90ZUxpbWl0IikKDkRpc2NTdHJlbmd0aGVuEgoKAklkGAEgASgFEgsKA0V4", + "cBgCIAEoBSJBChR0YWJsZV9EaXNjU3RyZW5ndGhlbhIpCgRsaXN0GAEgAygL", + "Mhsubm92YS5jbGllbnQuRGlzY1N0cmVuZ3RoZW4iJAoHRGlzY1RhZxIKCgJJ", + "ZBgBIAEoBRINCgVUaXRsZRgCIAEoCSIzCg10YWJsZV9EaXNjVGFnEiIKBGxp", + "c3QYASADKAsyFC5ub3ZhLmNsaWVudC5EaXNjVGFnIiUKBERyb3ASDgoGRHJv", + "cElkGAEgASgFEg0KBVBrZ0lkGAIgASgFIi0KCnRhYmxlX0Ryb3ASHwoEbGlz", + "dBgBIAMoCzIRLm5vdmEuY2xpZW50LkRyb3AiPwoMRHJvcEl0ZW1TaG93Eg4K", + "BkRyb3BJZBgBIAEoBRIOCgZJdGVtSWQYAiABKAUSDwoHSXRlbVF0eRgDIAEo", + "BSI9ChJ0YWJsZV9Ecm9wSXRlbVNob3cSJwoEbGlzdBgBIAMoCzIZLm5vdmEu", + "Y2xpZW50LkRyb3BJdGVtU2hvdyIvCgpEcm9wT2JqZWN0EgoKAklkGAEgASgF", + "EhUKDURyb3BPYmplY3RSZXMYAiABKAkiOQoQdGFibGVfRHJvcE9iamVjdBIl", + "CgRsaXN0GAEgAygLMhcubm92YS5jbGllbnQuRHJvcE9iamVjdCJSCg9Ecm9w", + "T2JqZWN0R3JvdXASGQoRRHJvcE9iamVjdEdyb3VwSWQYASABKAUSFAoMRHJv", + "cE9iamVjdElkGAIgASgFEg4KBndlaWdodBgDIAEoBSJDChV0YWJsZV9Ecm9w", + "T2JqZWN0R3JvdXASKgoEbGlzdBgBIAMoCzIcLm5vdmEuY2xpZW50LkRyb3BP", + "YmplY3RHcm91cCIoCgdEcm9wUGtnEg0KBVBrZ0lkGAEgASgFEg4KBkl0ZW1J", + "ZBgCIAEoBSIzCg10YWJsZV9Ecm9wUGtnEiIKBGxpc3QYASADKAsyFC5ub3Zh", + "LmNsaWVudC5Ecm9wUGtnIqQICgZFZmZlY3QSCgoCSWQYASABKAUSDAoETmFt", + "ZRgCIAEoCRIVCg1sZXZlbFR5cGVEYXRhGAMgASgFEhEKCUxldmVsRGF0YRgE", + "IAEoBRIVCg1NYWluT3JTdXBwb3J0GAUgASgFEg8KB1RyaWdnZXIYBiABKAUS", + "FQoNVHJpZ2dlclRhcmdldBgHIAEoBRIZChFUcmlnZ2VyQ29uZGl0aW9uMRgI", + "IAEoBRIVCg1UcmlnZ2VyUGFyYW0xGAkgASgJEhUKDVRyaWdnZXJQYXJhbTIY", + "CiABKAkSFQoNVHJpZ2dlclBhcmFtMxgLIAEoCRIVCg1UcmlnZ2VyUGFyYW00", + "GAwgASgJEhYKDlRyaWdnZXJUYXJnZXQyGA0gASgFEhkKEVRyaWdnZXJDb25k", + "aXRpb24yGA4gASgFEhYKDlRyaWdnZXIyUGFyYW0xGA8gASgJEhYKDlRyaWdn", + "ZXIyUGFyYW0yGBAgASgJEhYKDlRyaWdnZXIyUGFyYW0zGBEgASgJEhYKDlRy", + "aWdnZXIyUGFyYW00GBIgASgJEhgKEFRyaWdnZXJMb2dpY1R5cGUYEyABKAUS", + "GQoRVGFrZUVmZmVjdFRhcmdldDEYFCABKAUSHAoUVGFrZUVmZmVjdENvbmRp", + "dGlvbjEYFSABKAUSGAoQVGFrZUVmZmVjdFBhcmFtMRgWIAEoCRIYChBUYWtl", + "RWZmZWN0UGFyYW0yGBcgASgJEhgKEFRha2VFZmZlY3RQYXJhbTMYGCABKAkS", + "GAoQVGFrZUVmZmVjdFBhcmFtNBgZIAEoCRIZChFUYWtlRWZmZWN0VGFyZ2V0", + "MhgaIAEoBRIcChRUYWtlRWZmZWN0Q29uZGl0aW9uMhgbIAEoBRIZChFUYWtl", + "RWZmZWN0MlBhcmFtMRgcIAEoCRIZChFUYWtlRWZmZWN0MlBhcmFtMhgdIAEo", + "CRIZChFUYWtlRWZmZWN0MlBhcmFtMxgeIAEoCRIZChFUYWtlRWZmZWN0MlBh", + "cmFtNBgfIAEoCRIbChNUYWtlRWZmZWN0TG9naWNUeXBlGCAgASgFEg8KB1Rh", + "cmdldDEYISABKAUSGAoQVGFyZ2V0Q29uZGl0aW9uMRgiIAEoBRIUCgxUYXJn", + "ZXRQYXJhbTEYIyABKAkSFAoMVGFyZ2V0UGFyYW0yGCQgASgJEhQKDFRhcmdl", + "dFBhcmFtMxglIAEoCRIUCgxUYXJnZXRQYXJhbTQYJiABKAkSGAoQVGFyZ2V0", + "Q29uZGl0aW9uMhgnIAEoBRIVCg1UYXJnZXQyUGFyYW0xGCggASgJEhUKDVRh", + "cmdldDJQYXJhbTIYKSABKAkSFQoNVGFyZ2V0MlBhcmFtMxgqIAEoCRIVCg1U", + "YXJnZXQyUGFyYW00GCsgASgJEhcKD0ZpbHRlckxvZ2ljVHlwZRgsIAEoBSIx", + "Cgx0YWJsZV9FZmZlY3QSIQoEbGlzdBgBIAMoCzITLm5vdmEuY2xpZW50LkVm", + "ZmVjdCKzAQoKRWZmZWN0RGVzYxIKCgJJZBgBIAEoBRIOCgZUeXBlSUQYAiAB", + "KAUSDwoHVHlwZTJJRBgDIAEoBRIMCgREZXNjGAQgASgJEhYKDlJhbmRvbUF0", + "dHJEZXNjGAUgASgJEhEKCUF0dHJpYnV0ZRgGIAEoCRIOCgZXb3JkSUQYByAB", + "KAUSEQoJaXNQZXJjZW50GAggASgIEgwKBEljb24YCSABKAkSDgoGRm9ybWF0", + "GAogASgFIjkKEHRhYmxlX0VmZmVjdERlc2MSJQoEbGlzdBgBIAMoCzIXLm5v", + "dmEuY2xpZW50LkVmZmVjdERlc2MiiAMKC0VmZmVjdFZhbHVlEgoKAklkGAEg", + "ASgFEgwKBE5hbWUYAiABKAkSCwoDVGFnGAMgASgJEhcKD1Rha2VFZmZlY3RM", + "aW1pdBgEIAEoBRIOCgZSZW1vdmUYBSABKAgSCgoCQ0QYBiABKAUSEgoKRWZm", + "ZWN0UmF0ZRgHIAEoBRISCgpFZmZlY3RUeXBlGAggASgFEh4KFkVmZmVjdFR5", + "cGVGaXJzdFN1YnR5cGUYCSABKAUSHwoXRWZmZWN0VHlwZVNlY29uZFN1YnR5", + "cGUYCiABKAUSGAoQRWZmZWN0VHlwZVBhcmFtMRgLIAEoCRIYChBFZmZlY3RU", + "eXBlUGFyYW0yGAwgASgJEhgKEEVmZmVjdFR5cGVQYXJhbTMYDSABKAkSGAoQ", + "RWZmZWN0VHlwZVBhcmFtNBgOIAEoCRIYChBFZmZlY3RUeXBlUGFyYW01GA8g", + "ASgJEhgKEEVmZmVjdFR5cGVQYXJhbTYYECABKAkSGAoQRWZmZWN0VHlwZVBh", + "cmFtNxgRIAEoCSI7ChF0YWJsZV9FZmZlY3RWYWx1ZRImCgRsaXN0GAEgAygL", + "Mhgubm92YS5jbGllbnQuRWZmZWN0VmFsdWUiTAoMRW5kU2NlbmVUeXBlEgoK", + "AklkGAEgASgFEg0KBVRoZW1lGAIgASgFEhQKDEVuZFNjZW5lTmFtZRgDIAEo", + "CRILCgNCR00YBCABKAkiPQoSdGFibGVfRW5kU2NlbmVUeXBlEicKBGxpc3QY", + "ASADKAsyGS5ub3ZhLmNsaWVudC5FbmRTY2VuZVR5cGUiXQoJRW5lcmd5QnV5", + "EgoKAklkGAEgASgFEhYKDkN1cnJlbmN5SXRlbUlkGAIgASgFEhcKD0N1cnJl", + "bmN5SXRlbVF0eRgDIAEoBRITCgtFbmVyZ3lWYWx1ZRgEIAEoBSI3Cg90YWJs", + "ZV9FbmVyZ3lCdXkSJAoEbGlzdBgBIAMoCzIWLm5vdmEuY2xpZW50LkVuZXJn", + "eUJ1eSI4CghFbnVtRGVzYxIQCghFbnVtTmFtZRgBIAEoCRINCgVWYWx1ZRgC", + "IAEoBRILCgNLZXkYAyABKAkiNQoOdGFibGVfRW51bURlc2MSIwoEbGlzdBgB", + "IAMoCzIVLm5vdmEuY2xpZW50LkVudW1EZXNjIpoCCglFcXVpcG1lbnQSCgoC", + "SWQYASABKAUSDAoETmFtZRgCIAEoCRIVCg1FcXVpcG1lbnRUeXBlGAMgASgF", + "EhMKC0F0dHJHcm91cElkGAQgASgFEhIKCkV4cEdyb3VwSWQYBSABKAUSEAoI", + "TWF4TGV2ZWwYBiABKAUSFwoPUmFuZG9tQXR0ckNvdW50GAcgASgFEhgKEEF0", + "dHIxVW5sb2NrTGV2ZWwYCCABKAUSGAoQQXR0cjJVbmxvY2tMZXZlbBgJIAEo", + "BRIYChBBdHRyM1VubG9ja0xldmVsGAogASgFEhgKEEF0dHI0VW5sb2NrTGV2", + "ZWwYCyABKAUSEgoKUHJvdmlkZUV4cBgMIAEoBRIMCgRJY29uGA0gASgJIjcK", + "D3RhYmxlX0VxdWlwbWVudBIkCgRsaXN0GAEgAygLMhYubm92YS5jbGllbnQu", + "RXF1aXBtZW50ImIKEUVxdWlwbWVudEdyb3VwRXhwEgoKAklkGAEgASgFEg8K", + "B0dyb3VwSWQYAiABKAUSDQoFTGV2ZWwYAyABKAUSDwoHTmVlZEV4cBgEIAEo", + "BRIQCghUb3RhbEV4cBgFIAEoBSJHChd0YWJsZV9FcXVpcG1lbnRHcm91cEV4", + "cBIsCgRsaXN0GAEgAygLMh4ubm92YS5jbGllbnQuRXF1aXBtZW50R3JvdXBF", + "eHAitQMKEUVxdWlwbWVudEluc3RhbmNlEgoKAklkGAEgASgFEhUKDUVxdWlw", + "bWVudFR5cGUYAiABKAUSEgoKRGlmZmljdWx0eRgDIAEoBRIMCgROYW1lGAQg", + "ASgJEgwKBERlc2MYBSABKAkSFgoOU3VnZ2VzdGVkUG93ZXIYBiABKAUSEgoK", + "UHJlTGV2ZWxJZBgHIAEoBRIUCgxQcmVMZXZlbFN0YXIYCCABKAUSFgoOTmVl", + "ZFdvcmxkQ2xhc3MYCSABKAUSDwoHRmxvb3JJZBgKIAEoBRITCgtPbmVTdGFy", + "RGVzYxgLIAEoCRITCgtUd29TdGFyRGVzYxgMIAEoCRIVCg1UaHJlZVN0YXJE", + "ZXNjGA0gASgJEhwKFE9uZVN0YXJFbmVyZ3lDb25zdW1lGA4gASgFEhwKFFR3", + "b1N0YXJFbmVyZ3lDb25zdW1lGA8gASgFEh4KFlRocmVlU3RhckVuZXJneUNv", + "bnN1bWUYECABKAUSGAoQQmFzZUF3YXJkUHJldmlldxgRIAEoCRIdChVQcmV2", + "aWV3TW9uc3Rlckdyb3VwSWQYEiABKAUSDAoESWNvbhgTIAEoCSJHChd0YWJs", + "ZV9FcXVpcG1lbnRJbnN0YW5jZRIsCgRsaXN0GAEgAygLMh4ubm92YS5jbGll", + "bnQuRXF1aXBtZW50SW5zdGFuY2UikwMKFkVxdWlwbWVudEluc3RhbmNlRmxv", + "b3ISCgoCSWQYASABKAUSEQoJU2NlbmVOYW1lGAIgASgJEhgKEENvbmZpZ1By", + "ZWZhYk5hbWUYAyABKAkSDQoFVGhlbWUYBCABKAUSCwoDQkdNGAUgASgJEhkK", + "EUxlYXZlVHJpZ2dlckV2ZW50GAYgASgJEhEKCW1vbnN0ZXJJZBgHIAEoBRIY", + "ChBPbmVTdGFyQ29uZGl0aW9uGAggASgFEhgKEFR3b1N0YXJDb25kaXRpb24Y", + "CSABKAUSGgoSVGhyZWVTdGFyQ29uZGl0aW9uGAogASgFEhYKDkxldmVsVG90", + "YWxUaW1lGAsgASgFEhkKEVRpbWVFbmRTZXR0bGVtZW50GAwgASgIEhkKEVN0", + "YXJDb25kaXRpb25UeXBlGA0gASgFEhEKCU1vbnN0ZXJMdhgOIAEoBRIZChFE", + "cm9wT2JqZWN0R3JvdXBJZBgPIAEoBRIWCg5Ecm9wT2JqZWN0UmF0ZRgQIAEo", + "BRISCgpEcm9wTWF4TnVtGBEgASgFIlEKHHRhYmxlX0VxdWlwbWVudEluc3Rh", + "bmNlRmxvb3ISMQoEbGlzdBgBIAMoCzIjLm5vdmEuY2xpZW50LkVxdWlwbWVu", + "dEluc3RhbmNlRmxvb3Ii0gEKFUVxdWlwbWVudEluc3RhbmNlVHlwZRIKCgJJ", + "ZBgBIAEoBRIMCgROYW1lGAIgASgJEhIKCk1haW5MaW5lSWQYAyABKAUSFwoP", + "V29ybGRDbGFzc0xldmVsGAQgASgFEg8KB09wZW5EYXkYBSADKAUSEwoLT3Bl", + "bkRheURlc2MYBiABKAkSDwoHRXBpc29kZRgHIAEoCRINCgVJbWFnZRgIIAEo", + "CRIMCgRTb3J0GAkgASgFEhEKCUhvd1Jld2FyZBgKIAMoBRILCgNFRVQYCyAD", + "KAUiTwobdGFibGVfRXF1aXBtZW50SW5zdGFuY2VUeXBlEjAKBGxpc3QYASAD", + "KAsyIi5ub3ZhLmNsaWVudC5FcXVpcG1lbnRJbnN0YW5jZVR5cGUiOwoQRXF1", + "aXBtZW50SXRlbUV4cBIKCgJJZBgBIAEoBRIOCgZJdGVtSWQYAiABKAUSCwoD", + "RXhwGAMgASgFIkUKFnRhYmxlX0VxdWlwbWVudEl0ZW1FeHASKwoEbGlzdBgB", + "IAMoCzIdLm5vdmEuY2xpZW50LkVxdWlwbWVudEl0ZW1FeHAitgEKGEVxdWlw", + "bWVudFJhbmRvbUF0dHJpYnV0ZRIKCgJJZBgBIAEoBRITCgtFbGVtZW50VHlw", + "ZRgCIAEoBRIVCg1BdHRyR3JvdXBUeXBlGAMgASgFEhMKC0F0dHJWYWx1ZUlk", + "GAQgASgFEhAKCEF0dHJUeXBlGAUgASgFEhwKFEF0dHJUeXBlRmlyc3RTdWJ0", + "eXBlGAYgASgFEh0KFUF0dHJUeXBlU2Vjb25kU3VidHlwZRgHIAEoBSJVCh50", + "YWJsZV9FcXVpcG1lbnRSYW5kb21BdHRyaWJ1dGUSMwoEbGlzdBgBIAMoCzIl", + "Lm5vdmEuY2xpZW50LkVxdWlwbWVudFJhbmRvbUF0dHJpYnV0ZSJKCglFcnJv", + "ckNvZGUSCgoCSWQYASABKAUSDQoFVGl0bGUYAiABKAkSEAoIVGVtcGxhdGUY", + "AyABKAkSEAoIU2hvd1R5cGUYBCABKAUiNwoPdGFibGVfRXJyb3JDb2RlEiQK", + "BGxpc3QYASADKAsyFi5ub3ZhLmNsaWVudC5FcnJvckNvZGUiQwoMRXZlbnRP", + "cHRpb25zEgoKAklkGAEgASgFEgwKBERlc2MYAiABKAkSGQoRSWdub3JlSW50", + "ZXJBY3RpdmUYAyABKAgiPQoSdGFibGVfRXZlbnRPcHRpb25zEicKBGxpc3QY", + "ASADKAsyGS5ub3ZhLmNsaWVudC5FdmVudE9wdGlvbnMiOwoRRXZlbnRPcHRp", + "b25zUnVsZXMSCgoCSWQYASABKAUSDAoETmFtZRgCIAEoCRIMCgREZXNjGAMg", + "ASgJIkcKF3RhYmxlX0V2ZW50T3B0aW9uc1J1bGVzEiwKBGxpc3QYASADKAsy", + "Hi5ub3ZhLmNsaWVudC5FdmVudE9wdGlvbnNSdWxlcyKIAQoLRXZlbnRSZXN1", + "bHQSCgoCSWQYASABKAUSDwoHRWZmZWN0MRgCIAEoBRISCgpQYXJhbWV0ZXIx", + "GAMgAygFEg8KB0VmZmVjdDIYBCABKAUSEgoKUGFyYW1ldGVyMhgFIAMoBRIP", + "CgdFZmZlY3QzGAYgASgFEhIKClBhcmFtZXRlcjMYByADKAUiOwoRdGFibGVf", + "RXZlbnRSZXN1bHQSJgoEbGlzdBgBIAMoCzIYLm5vdmEuY2xpZW50LkV2ZW50", + "UmVzdWx0IjoKD0ZhY3Rpb25SZWxhdGlvbhIKCgJJZBgBIAEoBRIbChNGYWN0", + "aW9uUmVsYXRpb25TaGlwGAIgAygFIkMKFXRhYmxlX0ZhY3Rpb25SZWxhdGlv", + "bhIqCgRsaXN0GAEgAygLMhwubm92YS5jbGllbnQuRmFjdGlvblJlbGF0aW9u", + "IoEDCghGYXRlQ2FyZBIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEgwKBERl", + "c2MYAyABKAkSDQoFRGVzYzIYBCABKAkSDwoHSXNUb3dlchgFIAEoCBIRCglJ", + "c1ZhbXBpcmUYBiABKAgSGAoQSXNWYW1waXJlU3BlY2lhbBgHIAEoCBIUCgxB", + "Y3RpdmVOdW1iZXIYCCABKAUSEAoIRHVyYXRpb24YCSABKAUSFwoPQWN0aXZl", + "Um9vbVR5cGVzGAogAygFEhQKDEFjdGl2ZUFjdGlvbhgLIAEoBRISCgpNZXRo", + "b2RNb2RlGAwgASgFEhQKDENsaWVudEVmZmVjdBgNIAEoBRINCgVDb3VudBgO", + "IAEoBRIRCglUaGVtZVR5cGUYDyABKAUSEgoKVGhlbWVWYWx1ZRgQIAEoBRIY", + "ChBUaGVtZVRyaWdnZXJUeXBlGBEgAygFEhwKFEVmZmVjdGl2ZUltbWVkaWF0", + "ZWx5GBIgASgIEhEKCVJlbW92YWJsZRgTIAEoCCI1Cg50YWJsZV9GYXRlQ2Fy", + "ZBIjCgRsaXN0GAEgAygLMhUubm92YS5jbGllbnQuRmF0ZUNhcmQiXAoJRmxv", + "b3JCdWZmEgoKAklkGAEgASgFEg8KB0FkZENhbXAYAiADKAUSEAoIQWRkQ2xh", + "c3MYAyADKAUSEAoIRWZmZWN0SWQYBCADKAUSDgoGQnVmZklkGAUgAygFIjcK", + "D3RhYmxlX0Zsb29yQnVmZhIkCgRsaXN0GAEgAygLMhYubm92YS5jbGllbnQu", + "Rmxvb3JCdWZmIlMKBUZvcmNlEgoKAklkGAEgASgFEg0KBVRpdGxlGAIgASgJ", + "Eg0KBUljb24xGAMgASgJEg0KBUljb24yGAQgASgJEhEKCVRhbGVudFBvcxgF", + "IAMoBSIvCgt0YWJsZV9Gb3JjZRIgCgRsaXN0GAEgAygLMhIubm92YS5jbGll", + "bnQuRm9yY2UiMQoORm9ybWF0aW9uU2NlbmUSEQoJU2NlbmVOYW1lGAEgASgJ", + "EgwKBFBhdGgYAiABKAkiQQoUdGFibGVfRm9ybWF0aW9uU2NlbmUSKQoEbGlz", + "dBgBIAMoCzIbLm5vdmEuY2xpZW50LkZvcm1hdGlvblNjZW5lIpsDCgVHYWNo", + "YRIKCgJJZBgBIAEoBRIRCglEZWZhdWx0SWQYAiABKAUSEgoKRGVmYXVsdFF0", + "eRgDIAEoBRIOCgZDb3N0SWQYBCABKAUSDwoHQ29zdFF0eRgFIAEoBRIVCg1P", + "bmNlUHJlZmVycmVkGAYgASgJEhkKEVRlblRpbWVzUHJlZmVycmVkGAcgASgJ", + "EhIKCkxpbWl0VGltZXMYCCABKAUSFwoPQVR5cGVVcFNob3dQcm9iGAkgASgF", + "EhcKD0JUeXBlVXBTaG93UHJvYhgKIAEoBRIRCglTdG9yYWdlSWQYCyABKAUS", + "EQoJU3RhcnRUaW1lGAwgASgJEg8KB0VuZFRpbWUYDSABKAkSDAoEU29ydBgO", + "IAEoBRIMCgRJY29uGA8gASgJEg0KBUltYWdlGBAgASgJEhMKC1VQQ2hhcmFj", + "dGVyGBEgAygFEhAKCFVQT3V0Zml0GBIgAygFEhEKCUNoYXJhY3RlchgTIAMo", + "BRIOCgZPdXRmaXQYFCADKAUSCwoDVGFnGBUgASgJEg0KBVZvaWNlGBYgASgJ", + "Ii8KC3RhYmxlX0dhY2hhEiAKBGxpc3QYASADKAsyEi5ub3ZhLmNsaWVudC5H", + "YWNoYSJ+ChJHYWNoYUFjcXVpcmVSZXdhcmQSCgoCSWQYASABKAUSEQoJaXRl", + "bVN0eXBlGAIgASgFEhIKCml0ZW1SYXJpdHkYAyABKAUSFAoMQWNxdWlyZVRp", + "bWVzGAQgASgFEg4KBkl0ZW1JZBgFIAEoBRIPCgdJdGVtTnVtGAYgASgFIkkK", + "GHRhYmxlX0dhY2hhQWNxdWlyZVJld2FyZBItCgRsaXN0GAEgAygLMh8ubm92", + "YS5jbGllbnQuR2FjaGFBY3F1aXJlUmV3YXJkIv8BCglHYWNoYVR5cGUSCgoC", + "SWQYASABKAUSDAoETmFtZRgCIAEoCRIQCghDb2luSXRlbRgDIAMoBRIOCgZU", + "aXRsZTEYBCABKAkSDQoFRGVzYzEYBSABKAkSDgoGVGl0bGUyGAYgASgJEg0K", + "BURlc2MyGAcgASgJEg4KBlRpdGxlMxgIIAEoCRINCgVEZXNjMxgJIAEoCRIO", + "CgZUaXRsZTQYCiABKAkSDQoFRGVzYzQYCyABKAkSDQoFRGVzYzUYDCABKAkS", + "DgoGVGl0bGU1GA0gASgJEg0KBURlc2M2GA4gASgJEg0KBURlc2M3GA8gASgJ", + "Eg0KBURlc2M4GBAgASgJIjcKD3RhYmxlX0dhY2hhVHlwZRIkCgRsaXN0GAEg", + "AygLMhYubm92YS5jbGllbnQuR2FjaGFUeXBlIkYKDUdhbWVwYWRCdXR0b24S", + "CgoCSWQYASABKAkSEAoIWGJveEljb24YAiABKAkSFwoPUGxheVN0YXRpb25J", + "Y29uGAMgASgJIj8KE3RhYmxlX0dhbWVwYWRCdXR0b24SKAoEbGlzdBgBIAMo", + "CzIaLm5vdmEuY2xpZW50LkdhbWVwYWRCdXR0b24iKAoHR01CdWlsZBIKCgJJ", + "ZBgBIAEoBRIRCglCdWlsZERhdGEYAiABKAkiMwoNdGFibGVfR01CdWlsZBIi", + "CgRsaXN0GAEgAygLMhQubm92YS5jbGllbnQuR01CdWlsZCKKAQoHR01PcmRl", + "chINCgVPcmRlchgBIAEoCRIMCgREZXNjGAIgASgJEhIKClBhcmFtQ291bnQY", + "AyABKAUSEgoKUGFyYW1OYW1lMRgEIAEoCRISCgpQYXJhbU5hbWUyGAUgASgJ", + "EhIKClBhcmFtTmFtZTMYBiABKAkSEgoKUGFyYW1OYW1lNBgHIAEoCSIzCg10", + "YWJsZV9HTU9yZGVyEiIKBGxpc3QYASADKAsyFC5ub3ZhLmNsaWVudC5HTU9y", + "ZGVyIksKBkdNVGVhbRIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEhUKDVRl", + "YW1DaGFyYWN0ZXIYAyADKAUSEAoIVGVhbURpc2MYBCADKAUiMQoMdGFibGVf", + "R01UZWFtEiEKBGxpc3QYASADKAsyEy5ub3ZhLmNsaWVudC5HTVRlYW0itAMK", + "BUd1aWRlEgoKAklkGAEgASgFEg8KB0dyb3VwSWQYAiABKAUSDAoEU3RlcBgD", + "IAEoBRIMCgRUeXBlGAQgASgFEhQKDEd1aWRlUHJlcG9zZRgFIAEoBRIVCg1Q", + "cmVwb3NlUGFyYW1zGAYgASgJEhQKDEd1aWRlVHJpZ2dlchgHIAEoBRIVCg1U", + "cmlnZ2VyUGFyYW1zGAggASgJEg8KB0VuZFR5cGUYCSABKAUSFAoMQ2VudGVy", + "T2Zmc2V0GAogASgCEhAKCEJpbmRJY29uGAsgAygJEhoKEkJpbmRJY29uQ2hp", + "bGRDb3VudBgMIAEoBRIMCgRTaXplGA0gAygFEhEKCURldmlhdGlvbhgOIAMo", + "BRINCgVEZWxheRgPIAEoBRIMCgRIZWFkGBAgASgJEgwKBERlc2MYESABKAkS", + "FQoNRGVzY0RldmlhdGlvbhgSIAMoBRIVCg1IYW5kRGV2aWF0aW9uGBMgAygF", + "EhQKDEhhbmRSb3RhdGlvbhgUIAEoBRISCgpEaWN0aW9uYXJ5GBUgASgFEg0K", + "BUF2Z0lkGBYgASgJEhAKCElzQWN0aXZlGBcgASgIIi8KC3RhYmxlX0d1aWRl", + "EiAKBGxpc3QYASADKAsyEi5ub3ZhLmNsaWVudC5HdWlkZSKyAgoKR3VpZGVH", + "cm91cBIKCgJJZBgBIAEoBRIaChJHdWlkZURldGVjdGlvblR5cGUYAiABKAUS", + "EgoKUGFzc2l2ZU1zZxgDIAEoCRIUCgxHdWlkZVByZXBvc2UYBCABKAUSFQoN", + "UHJlcG9zZVBhcmFtcxgFIAEoCRIVCg1HdWlkZVByZXBvc2UyGAYgASgFEhYK", + "DlByZXBvc2VQYXJhbXMyGAcgASgJEhEKCUd1aWRlUG9zdBgIIAEoBRISCgpQ", + "b3N0UGFyYW1zGAkgASgJEhQKDEd1aWRlVHJpZ2dlchgKIAEoBRIVCg1Ucmln", + "Z2VyUGFyYW1zGAsgASgJEhIKClRvd2VyU3RhdGUYDCABKAgSEgoKU2NyaXB0", + "UGF0aBgNIAEoCRIQCghJc0FjdGl2ZRgOIAEoCCI5ChB0YWJsZV9HdWlkZUdy", + "b3VwEiUKBGxpc3QYASADKAsyFy5ub3ZhLmNsaWVudC5HdWlkZUdyb3VwImEK", + "CEhhbmRib29rEgoKAklkGAEgASgFEg0KBUluZGV4GAIgASgFEgwKBFR5cGUY", + "AyABKAUSDgoGQ2hhcklkGAQgASgFEg4KBlNraW5JZBgFIAEoBRIMCgRDb25k", + "GAYgASgFIjUKDnRhYmxlX0hhbmRib29rEiMKBGxpc3QYASADKAsyFS5ub3Zh", + "LmNsaWVudC5IYW5kYm9vayKvBAoJSGl0RGFtYWdlEgoKAklkGAEgASgFEhUK", + "DWxldmVsVHlwZURhdGEYAiABKAUSEQoJTGV2ZWxEYXRhGAMgASgFEhUKDU1h", + "aW5PclN1cHBvcnQYBCABKAUSFQoNSGl0ZGFtYWdlSW5mbxgFIAEoCRIUCgxE", + "aXN0YW5jZVR5cGUYBiABKAUSEgoKU291cmNlVHlwZRgHIAEoBRISCgpEYW1h", + "Z2VUeXBlGAggASgFEhIKCkVmZmVjdFR5cGUYCSABKAUSEwoLRWxlbWVudFR5", + "cGUYCiABKAUSEQoJRGFtYWdlVGFnGAsgAygFEhcKD0RhbWFnZUJvbnVzVHlw", + "ZRgMIAEoBRIZChFTa2lsbFBlcmNlbnRBbWVuZBgNIAMoBRIVCg1Ta2lsbEFi", + "c0FtZW5kGA4gAygFEhgKEEFkZGl0aW9uYWxTb3VyY2UYDyABKAUSFgoOQWRk", + "aXRpb25hbFR5cGUYECABKAUSGQoRQWRkaXRpb25hbFBlcmNlbnQYESADKAUS", + "FAoMRW5lcmd5Q2hhcmdlGBIgASgFEhoKElRhbGVudFBlcmNlbnRBbWVuZBgT", + "IAMoBRIWCg5UYWxlbnRBYnNBbWVuZBgUIAMoBRITCgtJc0RlbnNlVHlwZRgV", + "IAEoCBIVCg1QZXJrSW50ZW5zaXR5GBYgAygFEg8KB1NraWxsSWQYFyABKAUS", + "FQoNU2tpbGxTbG90VHlwZRgYIAEoBRIOCgZQZXJrSWQYGSABKAUiNwoPdGFi", + "bGVfSGl0RGFtYWdlEiQKBGxpc3QYASADKAsyFi5ub3ZhLmNsaWVudC5IaXRE", + "YW1hZ2UiswEKBUhvbm9yEgoKAklkGAEgASgFEgwKBE5hbWUYAiABKAkSEAoI", + "SXNVbmxvY2sYAyABKAgSDAoEVHlwZRgEIAEoBRIPCgdUYWJUeXBlGAUgASgF", + "Eg4KBlBhcmFtcxgGIAMoBRIQCghQcmlvdGl0eRgHIAEoBRIPCgdNYWluUmVz", + "GAggASgJEg4KBlN1YlJlcxgJIAEoCRIMCgRTb3J0GAogASgFEg4KBkJHVHlw", + "ZRgLIAEoBSIvCgt0YWJsZV9Ib25vchIgCgRsaXN0GAEgAygLMhIubm92YS5j", + "bGllbnQuSG9ub3IilAEKDkhvbm9yQ2hhcmFjdGVyEgoKAklkGAEgASgFEg4K", + "BkNoYXJJZBgCIAEoBRINCgVMZXZlbBgDIAEoBRIRCglCaWdCZ1BhdGgYBCAB", + "KAkSEwoLU21hbGxCZ1BhdGgYBSABKAkSEQoJU3Rhckdyb3VwGAYgAygFEgwK", + "BFNvcnQYByABKAUSDgoGQkdUeXBlGAggASgFIkEKFHRhYmxlX0hvbm9yQ2hh", + "cmFjdGVyEikKBGxpc3QYASADKAsyGy5ub3ZhLmNsaWVudC5Ib25vckNoYXJh", + "Y3RlciKlAQoNSW5maW5pdHlUb3dlchIKCgJJZBgBIAEoBRIMCgROYW1lGAIg", + "ASgJEhMKC0VsZW1lbnRUeXBlGAMgASgFEhoKEkZvcm1hdGlvblNjZW5lTmFt", + "ZRgEIAEoCRIKCgJCZxgFIAEoCRIXCg9QcmVUb3dlckxldmVsSWQYBiABKAUS", + "DwoHT3BlbkRheRgHIAMoBRITCgtPcGVuRGF5RGVzYxgIIAEoCSI/ChN0YWJs", + "ZV9JbmZpbml0eVRvd2VyEigKBGxpc3QYASADKAsyGi5ub3ZhLmNsaWVudC5J", + "bmZpbml0eVRvd2VyIn0KEkluZmluaXR5VG93ZXJBZmZpeBIKCgJJZBgBIAEo", + "BRIMCgROYW1lGAIgASgJEgwKBERlc2MYAyABKAkSDwoHQWRkQ2FtcBgEIAMo", + "BRIYChBUcmlnZ2VyQ29uZGl0aW9uGAUgASgFEhQKDFRyaWdnZXJQYXJhbRgG", + "IAEoCSJJChh0YWJsZV9JbmZpbml0eVRvd2VyQWZmaXgSLQoEbGlzdBgBIAMo", + "CzIfLm5vdmEuY2xpZW50LkluZmluaXR5VG93ZXJBZmZpeCKdAgoYSW5maW5p", + "dHlUb3dlckJvdW50eUxldmVsEgoKAklkGAEgASgFEg0KBUxldmVsGAIgASgF", + "EgwKBE5hbWUYAyABKAkSDAoESWNvbhgEIAEoCRIUCgxSZXdhcmREcm9wSWQY", + "BSABKAUSEgoKUmV3YXJkU2hvdxgGIAEoCRINCgVDb25kMRgHIAEoBRISCgpD", + "b25kUGFyYW0xGAggAygFEhEKCUNvbmREZXNjMRgJIAEoCRINCgVDb25kMhgK", + "IAEoBRISCgpDb25kUGFyYW0yGAsgAygFEhEKCUNvbmREZXNjMhgMIAEoCRIN", + "CgVDb25kMxgNIAEoBRISCgpDb25kUGFyYW0zGA4gAygFEhEKCUNvbmREZXNj", + "MxgPIAEoCSJVCh50YWJsZV9JbmZpbml0eVRvd2VyQm91bnR5TGV2ZWwSMwoE", + "bGlzdBgBIAMoCzIlLm5vdmEuY2xpZW50LkluZmluaXR5VG93ZXJCb3VudHlM", + "ZXZlbCKtAQoXSW5maW5pdHlUb3dlckRpZmZpY3VsdHkSCgoCSWQYASABKAUS", + "DAoETmFtZRgCIAEoCRIPCgdUb3dlcklkGAMgASgFEhgKEFVubG9ja1dvcmxk", + "Q2xhc3MYBCABKAUSEgoKVW5sb2NrVGlwcxgFIAEoCRITCgtJc0NoYWxsZW5n", + "ZRgGIAEoCBIWCg5SZWNvbW1lbmRMZXZlbBgHIAEoBRIMCgRTb3J0GAggASgF", + "IlMKHXRhYmxlX0luZmluaXR5VG93ZXJEaWZmaWN1bHR5EjIKBGxpc3QYASAD", + "KAsyJC5ub3ZhLmNsaWVudC5JbmZpbml0eVRvd2VyRGlmZmljdWx0eSK0AQoV", + "SW5maW5pdHlUb3dlckVuZW15U2V0Eg0KBVNldElkGAEgASgFEg8KB1dhdmVO", + "dW0YAiABKAUSEAoIR3JvdXBOdW0YAyABKAUSDgoGTWF4TnVtGAQgASgFEhUK", + "DU1heE51bVBlcldhdmUYBSABKAUSEQoJTW9uc3RlcklkGAYgASgFEhMKC0xl", + "dmVsQ2hhbmdlGAcgASgFEhoKEkNvbW1vbkdhbWVwbGF5VHlwZRgIIAEoBSJP", + "Cht0YWJsZV9JbmZpbml0eVRvd2VyRW5lbXlTZXQSMAoEbGlzdBgBIAMoCzIi", + "Lm5vdmEuY2xpZW50LkluZmluaXR5VG93ZXJFbmVteVNldCLWAQoSSW5maW5p", + "dHlUb3dlckZsb29yEgoKAklkGAEgASgFEgwKBEx2SWQYAiABKAUSDQoFTWFw", + "SWQYAyABKAUSEAoIQmF0dGxlTHYYBCABKAUSEQoJRmxvb3JGdW5jGAUgASgF", + "EhEKCU1vbnN0ZXJMdhgGIAEoBRINCgVTdGFnZRgHIAEoBRINCgVTZXRJZBgI", + "IAEoBRIRCglMaW1pdFRpbWUYCSABKAUSHQoVUHJldmlld01vbnN0ZXJHcm91", + "cElkGAogASgFEg8KB0FmZml4SWQYCyADKAUiSQoYdGFibGVfSW5maW5pdHlU", + "b3dlckZsb29yEi0KBGxpc3QYASADKAsyHy5ub3ZhLmNsaWVudC5JbmZpbml0", + "eVRvd2VyRmxvb3IilgIKEkluZmluaXR5VG93ZXJMZXZlbBIKCgJJZBgBIAEo", + "BRIMCgROYW1lGAIgASgJEhQKDERpZmZpY3VsdHlJZBgDIAEoBRIRCglMZXZl", + "bFR5cGUYBCABKAUSDQoFRmxvb3IYBSABKAUSDwoHRmxvb3JJZBgGIAEoBRIS", + "CgpQcmVMZXZlbElkGAcgASgFEhEKCUVudHJ5Q29uZBgIIAEoBRIWCg5FbnRy", + "eUNvbmRQYXJhbRgJIAMoBRITCgtBd2FyZERyb3BJZBgKIAEoBRITCgtSZWNv", + "bW1lbmRMdhgLIAEoBRIaChJSZWNvbW1lbmRCdWlsZFJhbmsYDCABKAUSGAoQ", + "QmFzZUF3YXJkUHJldmlldxgNIAEoCSJJChh0YWJsZV9JbmZpbml0eVRvd2Vy", + "TGV2ZWwSLQoEbGlzdBgBIAMoCzIfLm5vdmEuY2xpZW50LkluZmluaXR5VG93", + "ZXJMZXZlbCKCAQoQSW5maW5pdHlUb3dlck1hcBIKCgJJZBgBIAEoBRIRCglT", + "Y2VuZU5hbWUYAiABKAkSGAoQQ29uZmlnUHJlZmFiTmFtZRgDIAEoCRINCgVU", + "aGVtZRgEIAEoBRILCgNCR00YBSABKAkSGQoRTGVhdmVUcmlnZ2VyRXZlbnQY", + "BiABKAkiRQoWdGFibGVfSW5maW5pdHlUb3dlck1hcBIrCgRsaXN0GAEgAygL", + "Mh0ubm92YS5jbGllbnQuSW5maW5pdHlUb3dlck1hcCKCAQoQSW5maW5pdHlU", + "b3dlck1zZxIKCgJJZBgBIAEoBRINCgVUaXRsZRgCIAEoCRIPCgdDb250ZW50", + "GAMgASgJEgwKBFR5cGUYBCABKAUSEQoJRGF5T2ZXZWVrGAUgAygFEhEKCUNv", + "bmRpdGlvbhgGIAEoBRIOCgZQYXJhbXMYByABKAkiRQoWdGFibGVfSW5maW5p", + "dHlUb3dlck1zZxIrCgRsaXN0GAEgAygLMh0ubm92YS5jbGllbnQuSW5maW5p", + "dHlUb3dlck1zZyK/AQoRSW5maW5pdHlUb3dlclBsb3QSCgoCSWQYASABKAUS", + "DAoETmFtZRgCIAEoCRIMCgREZXNjGAMgASgJEg8KB1Bsb3RTdW0YBCABKAkS", + "DgoGUGxvdElkGAUgASgFEg0KBWF2Z0lkGAYgASgJEhIKClVubG9ja0NvbmQY", + "ByABKAUSEQoJQ29uZFBhcmFtGAggAygFEhQKDFJld2FyZEl0ZW1JZBgJIAEo", + "BRIVCg1SZXdhcmRJdGVtUXR5GAogASgFIkcKF3RhYmxlX0luZmluaXR5VG93", + "ZXJQbG90EiwKBGxpc3QYASADKAsyHi5ub3ZhLmNsaWVudC5JbmZpbml0eVRv", + "d2VyUGxvdCJwChFJbnRlcmFjdGl2ZUFjdGlvbhIKCgJJZBgBIAEoBRIRCglQ", + "bGF5ZXJBbmkYAiABKAgSDQoFSWNvbjAYAyABKAkSDgoGVGl0bGUwGAQgASgJ", + "Eg0KBUljb24xGAUgASgJEg4KBlRpdGxlMRgGIAEoCSJHChd0YWJsZV9JbnRl", + "cmFjdGl2ZUFjdGlvbhIsCgRsaXN0GAEgAygLMh4ubm92YS5jbGllbnQuSW50", + "ZXJhY3RpdmVBY3Rpb24irwIKBEl0ZW0SCgoCSWQYASABKAUSDQoFVGl0bGUY", + "AiABKAkSDAoERGVzYxgDIAEoCRIQCghMaXRlcmFyeRgEIAEoCRIMCgRUeXBl", + "GAUgASgFEg0KBVN0eXBlGAYgASgFEg4KBlJhcml0eRgHIAEoBRINCgVTdGFj", + "axgIIAEoCBIVCg1Qb3NpdGlvbkxpbWl0GAkgASgFEhIKCkV4cGlyZVR5cGUY", + "CiABKAUSDwoHVXNlTW9kZRgLIAEoBRIRCglVc2VBY3Rpb24YDCABKAUSDwoH", + "VXNlQXJncxgNIAEoCRIPCgdEaXNwbGF5GA4gASgIEhIKCk9idGFpbldheXMY", + "DyABKAkSDgoGSnVtcFRvGBAgAygFEgwKBEljb24YESABKAkSDQoFSWNvbjIY", + "EiABKAkiLQoKdGFibGVfSXRlbRIfCgRsaXN0GAEgAygLMhEubm92YS5jbGll", + "bnQuSXRlbSJbCgxJdGVtUGFja01hcmsSCgoCSWQYASABKAUSEAoIUGFja01h", + "cmsYAiABKAUSEQoJSXRlbVN0eXBlGAMgAygFEgwKBE5hbWUYBCABKAkSDAoE", + "U29ydBgFIAEoBSI9ChJ0YWJsZV9JdGVtUGFja01hcmsSJwoEbGlzdBgBIAMo", + "CzIZLm5vdmEuY2xpZW50Lkl0ZW1QYWNrTWFyayJNCgZKdW1wVG8SCgoCSWQY", + "ASABKAUSDAoEVHlwZRgCIAEoBRINCgVQYXJhbRgDIAMoBRIMCgREZXNjGAQg", + "ASgJEgwKBEljb24YBSABKAkiMQoMdGFibGVfSnVtcFRvEiEKBGxpc3QYASAD", + "KAsyEy5ub3ZhLmNsaWVudC5KdW1wVG8icAoSTG9naW5SZXdhcmRDb250cm9s", + "EgoKAklkGAEgASgFEhQKDFJld2FyZHNHcm91cBgCIAEoBRIPCgdEZXNUZXh0", + "GAMgASgJEhAKCFVJQXNzZXRzGAQgASgJEhUKDVBvcFVwVUlBc3NldHMYBSAB", + "KAkiSQoYdGFibGVfTG9naW5SZXdhcmRDb250cm9sEi0KBGxpc3QYASADKAsy", + "Hy5ub3ZhLmNsaWVudC5Mb2dpblJld2FyZENvbnRyb2wi2AEKEExvZ2luUmV3", + "YXJkR3JvdXASFQoNUmV3YXJkR3JvdXBJZBgBIAEoBRINCgVPcmRlchgCIAEo", + "BRIRCglSZXdhcmRJZDEYAyABKAUSDAoEUXR5MRgEIAEoBRIRCglSZXdhcmRJ", + "ZDIYBSABKAUSDAoEUXR5MhgGIAEoBRIRCglSZXdhcmRJZDMYByABKAUSDAoE", + "UXR5MxgIIAEoBRISCgpSZXdhcmRJY29uGAkgASgJEhMKC1Jld2FyZENvdW50", + "GAogASgFEhIKClJld2FyZERlc2MYCyABKAkiRQoWdGFibGVfTG9naW5SZXdh", + "cmRHcm91cBIrCgRsaXN0GAEgAygLMh0ubm92YS5jbGllbnQuTG9naW5SZXdh", + "cmRHcm91cCLtAgoMTWFpbFRlbXBsYXRlEgoKAklkGAEgASgFEhMKC0V4cGxh", + "bmF0aW9uGAIgASgJEgwKBEljb24YAyABKAkSDgoGQXV0aG9yGAQgASgJEhMK", + "C0xldHRlclBhcGVyGAUgASgJEg8KB1N1YmplY3QYBiABKAkSDAoERGVzYxgH", + "IAEoCRIMCgRUeXBlGAggASgFEg4KBlByb3BzMRgJIAEoBRITCgtQcm9wc0Nv", + "dW50MRgKIAEoBRIOCgZQcm9wczIYCyABKAUSEwoLUHJvcHNDb3VudDIYDCAB", + "KAUSDgoGUHJvcHMzGA0gASgFEhMKC1Byb3BzQ291bnQzGA4gASgFEg4KBlBy", + "b3BzNBgPIAEoBRITCgtQcm9wc0NvdW50NBgQIAEoBRIOCgZQcm9wczUYESAB", + "KAUSEwoLUHJvcHNDb3VudDUYEiABKAUSDgoGUHJvcHM2GBMgASgFEhMKC1By", + "b3BzQ291bnQ2GBQgASgFIj0KEnRhYmxlX01haWxUZW1wbGF0ZRInCgRsaXN0", + "GAEgAygLMhkubm92YS5jbGllbnQuTWFpbFRlbXBsYXRlIuYECghNYWlubGlu", + "ZRIKCgJJZBgBIAEoBRILCgNOdW0YAiABKAkSDAoETmFtZRgDIAEoCRIMCgRE", + "ZXNjGAQgASgJEgwKBFR5cGUYBSABKAUSDgoGRW5lcmd5GAYgASgFEhEKCUNo", + "YXB0ZXJJZBgHIAEoBRIMCgRQcmV2GAggAygFEgwKBEZvcm0YCSADKAUSDQoF", + "QXZnSWQYCiABKAkSFgoOVHJpYWxDaGFyYWN0ZXIYCyADKAUSEwoLQmVmb3Jl", + "QXZnSWQYDCABKAkSEgoKQWZ0ZXJBdmdJZBgNIAEoCRIVCg1FbmVyZ3lDb25z", + "dW1lGA4gASgFEhIKClVubG9ja0l0ZW0YDyABKAUSEQoJVW5sb2NrUXR5GBAg", + "ASgFEhIKCkdsb2JSZXdhcmQYESABKAUSFQoNUmV3YXJkUHJldmlldxgSIAEo", + "CRISCgpJdGVtUmV3YXJkGBMgASgFEhcKD0ZpcnN0SXRlbVJld2FyZBgUIAEo", + "BRIVCg1EaWFtb25kUmV3YXJkGBUgASgFEhYKDk1pbkNoZXN0UmV3YXJkGBYg", + "ASgJEhYKDk1heENoZXN0UmV3YXJkGBcgASgJEhIKCkNoYXJCYW5uZWQYGCAD", + "KAUSDwoHRmxvb3JJZBgZIAMoBRIMCgRJY29uGBogASgJEg0KBVBvc0lkGBsg", + "ASgFEh0KFVByZXZpZXdNb25zdGVyR3JvdXBJZBgcIAEoBRIRCglSZWNvbW1l", + "bmQYHSABKAUSDgoGUmVwZWF0GB4gASgIEhIKClN1Yk1hcE5hbWUYHyABKAUS", + "EwoLTWFpbmxpbmVJbWcYICABKAkiNQoOdGFibGVfTWFpbmxpbmUSIwoEbGlz", + "dBgBIAMoCzIVLm5vdmEuY2xpZW50Lk1haW5saW5lIpIBCg1NYWlubGluZUZs", + "b29yEgoKAklkGAEgASgFEhEKCVNjZW5lTmFtZRgCIAEoCRIYChBDb25maWdQ", + "cmVmYWJOYW1lGAMgASgJEg0KBVRoZW1lGAQgASgFEgsKA0JHTRgFIAEoCRIZ", + "ChFMZWF2ZVRyaWdnZXJFdmVudBgGIAEoCRIRCglNb25zdGVyTHYYByABKAUi", + "PwoTdGFibGVfTWFpbmxpbmVGbG9vchIoCgRsaXN0GAEgAygLMhoubm92YS5j", + "bGllbnQuTWFpbmxpbmVGbG9vciLwAQoHTWFsbEdlbRIKCgJJZBgBIAEoCRIM", + "CgROYW1lGAIgASgJEg0KBU9yZGVyGAMgASgFEhIKCkJhc2VJdGVtSWQYBCAB", + "KAUSEwoLQmFzZUl0ZW1RdHkYBSABKAUSHgoWRXhwZXJpZW5jZWRCb251c0l0", + "ZW1JZBgGIAEoBRIfChdFeHBlcmllbmNlZEJvbnVzSXRlbVF0eRgHIAEoBRIZ", + "ChFNYWlkZW5Cb251c0l0ZW1JRBgIIAEoBRIaChJNYWlkZW5Cb251c0l0ZW1R", + "dHkYCSABKAUSDQoFUHJpY2UYCiABKAUSDAoESWNvbhgLIAEoCSIzCg10YWJs", + "ZV9NYWxsR2VtEiIKBGxpc3QYASADKAsyFC5ub3ZhLmNsaWVudC5NYWxsR2Vt", + "IpkBCg9NYWxsTW9udGhseUNhcmQSCgoCSWQYASABKAkSDAoETmFtZRgCIAEo", + "CRIVCg1Nb250aGx5Q2FyZElkGAMgASgFEg0KBVByaWNlGAQgASgFEhIKCkJh", + "c2VJdGVtSWQYBSABKAUSEwoLQmFzZUl0ZW1RdHkYBiABKAUSDwoHTWF4RGF5", + "cxgHIAEoBRIMCgRJY29uGAggASgJIkMKFXRhYmxlX01hbGxNb250aGx5Q2Fy", + "ZBIqCgRsaXN0GAEgAygLMhwubm92YS5jbGllbnQuTWFsbE1vbnRobHlDYXJk", + "IucCCgtNYWxsUGFja2FnZRIKCgJJZBgBIAEoCRIMCgROYW1lGAIgASgJEg8K", + "B0dyb3VwSWQYAyABKAUSDAoEU29ydBgEIAEoBRIUCgxDdXJyZW5jeVR5cGUY", + "BSABKAUSFgoOQ3VycmVuY3lJdGVtSWQYBiABKAUSFwoPQ3VycmVuY3lJdGVt", + "UXR5GAcgASgFEg0KBVN0b2NrGAggASgFEhMKC1JlZnJlc2hUeXBlGAkgASgF", + "Eg0KBUl0ZW1zGAogASgJEhQKDExpc3RDb25kVHlwZRgLIAEoBRIWCg5MaXN0", + "Q29uZFBhcmFtcxgMIAEoCRIVCg1PcmRlckNvbmRUeXBlGA0gASgFEhcKD09y", + "ZGVyQ29uZFBhcmFtcxgOIAEoCRIQCghMaXN0VGltZRgPIAEoCRISCgpEZUxp", + "c3RUaW1lGBAgASgJEhMKC0Rpc3BsYXlNb2RlGBEgASgFEgwKBEljb24YEiAB", + "KAkiOwoRdGFibGVfTWFsbFBhY2thZ2USJgoEbGlzdBgBIAMoCzIYLm5vdmEu", + "Y2xpZW50Lk1hbGxQYWNrYWdlIjkKD01hbGxQYWNrYWdlUGFnZRIKCgJJZBgB", + "IAEoBRIMCgROYW1lGAIgASgJEgwKBFNvcnQYAyABKAUiQwoVdGFibGVfTWFs", + "bFBhY2thZ2VQYWdlEioKBGxpc3QYASADKAsyHC5ub3ZhLmNsaWVudC5NYWxs", + "UGFja2FnZVBhZ2Ui4AIKCE1hbGxTaG9wEgoKAklkGAEgASgJEgwKBE5hbWUY", + "AiABKAkSDAoERGVzYxgDIAEoCRIPCgdHcm91cElkGAQgASgFEgwKBFNvcnQY", + "BSABKAUSFgoORXhjaGFuZ2VJdGVtSWQYBiABKAUSFwoPRXhjaGFuZ2VJdGVt", + "UXR5GAcgASgFEg0KBVN0b2NrGAggASgFEhMKC1JlZnJlc2hUeXBlGAkgASgF", + "Eg4KBkl0ZW1JZBgKIAEoBRIPCgdJdGVtUXR5GAsgASgFEhQKDExpc3RDb25k", + "VHlwZRgMIAEoBRIWCg5MaXN0Q29uZFBhcmFtcxgNIAEoCRIVCg1PcmRlckNv", + "bmRUeXBlGA4gASgFEhcKD09yZGVyQ29uZFBhcmFtcxgPIAEoCRIQCghMaXN0", + "VGltZRgQIAEoCRISCgpEZUxpc3RUaW1lGBEgASgJEhMKC0Rpc3BsYXlNb2Rl", + "GBIgASgFIjUKDnRhYmxlX01hbGxTaG9wEiMKBGxpc3QYASADKAsyFS5ub3Zh", + "LmNsaWVudC5NYWxsU2hvcCKHAQoMTWFsbFNob3BQYWdlEgoKAklkGAEgASgF", + "EgwKBFNvcnQYAiABKAUSDAoETmFtZRgDIAEoCRIXCg9SZWZyZXNoVGltZVR5", + "cGUYBCABKAUSEAoIU2hvcENvaW4YBSABKAUSEAoITGlzdFRpbWUYBiABKAkS", + "EgoKRGVMaXN0VGltZRgHIAEoCSI9ChJ0YWJsZV9NYWxsU2hvcFBhZ2USJwoE", + "bGlzdBgBIAMoCzIZLm5vdmEuY2xpZW50Lk1hbGxTaG9wUGFnZSLsBQoHTW9u", + "c3RlchIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEhQKDEZvcm1hbE5hbWVJ", + "ZBgDIAEoBRIOCgZFcGljTHYYBCABKAUSFwoPTW9uc3RlclBvc2l0aW9uGAUg", + "ASgFEhEKCUJsb29kVHlwZRgGIAEoBRINCgVGb3JjZRgHIAEoCRIMCgRGQ0lk", + "GAggASgFEgwKBEZBSWQYCSABKAUSDwoHTW92VHlwZRgKIAEoBRIOCgZSdW5T", + "cGQYCyABKAUSFQoNVHJhbnNTcGRTY2FsZRgMIAEoBRIPCgdXYWxrU3BkGA0g", + "ASgFEg4KBk1vdkFjYxgOIAEoBRIRCglWaXNpb25SbmcYDyABKAUSEQoJVmlz", + "aW9uRGVnGBAgASgFEg8KB0hlYXJSbmcYESABKAUSDgoGUmVmUm5nGBIgASgF", + "Eg4KBkFjdFJuZxgTIAEoBRIRCglEaXNBY3RSbmcYFCABKAUSEQoJU2VhcmNo", + "Um5nGBUgASgFEg4KBlJvdFNwZBgWIAEoBRIVCg1Sb3RTcGRJblNraWxsGBcg", + "ASgFEhAKCFRlbXBsZXRlGBggASgFEg8KB0J1ZmZJZHMYGSADKAUSDwoHU3Vi", + "VHlwZRgaIAEoBRIPCgdGYWN0aW9uGBsgASgFEhIKClRyYXBUYWdJZHMYHCAD", + "KAUSEQoJU3VwQ2hhcmdlGB0gASgFEhEKCUlzU2hvd1JuZxgeIAEoCBIOCgZX", + "ZWlnaHQYHyABKAUSGwoTVG91Z2huZXNzQnJva2VuVGltZRggIAEoBRIMCgRU", + "YWcxGCEgASgJEgwKBFRhZzIYIiABKAkSDAoEVGFnMxgjIAEoCRIMCgRUYWc0", + "GCQgASgJEgwKBFRhZzUYJSABKAkSFgoOQXR0YWNrSGludFR5cGUYJiABKAUS", + "FQoNQmxvY2tQcmlvcml0eRgnIAEoBRIVCg1XYXlQb2ludFNoaWZ0GCggASgF", + "EhUKDU1vbnN0ZXJUZWFtSWQYKSABKAUiMwoNdGFibGVfTW9uc3RlchIiCgRs", + "aXN0GAEgAygLMhQubm92YS5jbGllbnQuTW9uc3RlciL5BAoTTW9uc3RlckFj", + "dGlvbkJyYW5jaBIKCgJJZBgBIAEoBRIPCgdHcm91cElkGAIgASgFEg8KB1Nr", + "aWxsSWQYAyABKAUSEAoIUHJpb3JpdHkYBCABKAUSDgoGV2VpZ2h0GAUgASgF", + "EgwKBFJhdGUYBiABKAUSCgoCQ0QYByABKAUSFQoNSW5pdGlhbENEUG9vbBgI", + "IAMoBRIUCgxNaW5Jbml0aWFsQ0QYCSABKAUSFAoMTWF4SW5pdGlhbENEGAog", + "ASgFEhMKC1N0YXJ0Q0RUaW1lGAsgASgFEg8KB0ZpeGVkQ0QYDCABKAgSFwoP", + "UmVsZWFzZURpc3RhbmNlGA0gASgFEhQKDFJlbGVhc2VBbmdsZRgOIAEoBRIV", + "Cg1UcmFjZUR1cmF0aW9uGA8gASgFEhAKCEFjdGl2YXRlGBAgASgIEhwKFEFj", + "dGl2ZUNvbmRpdGlvblR5cGUxGBEgASgFEhQKDEFjdGl2ZVBhcmFtMRgSIAEo", + "CRIUCgxBY3RpdmVQYXJhbTIYEyABKAkSHgoWRGVBY3RpdmVDb25kaXRpb25U", + "eXBlMRgUIAEoBRIWCg5EZUFjdGl2ZVBhcmFtMRgVIAEoCRIWCg5EZUFjdGl2", + "ZVBhcmFtMhgWIAEoCRIYChBGb2xsb3dFdmVudFR5cGUxGBcgASgFEhkKEUZv", + "bGxvd0V2ZW50UGFyYW0xGBggASgJEhgKEEZvbGxvd0V2ZW50VHlwZTIYGSAB", + "KAUSGQoRRm9sbG93RXZlbnRQYXJhbTIYGiABKAkSGAoQRm9sbG93RXZlbnRU", + "eXBlMxgbIAEoBRIZChFGb2xsb3dFdmVudFBhcmFtMxgcIAEoCSJLChl0YWJs", + "ZV9Nb25zdGVyQWN0aW9uQnJhbmNoEi4KBGxpc3QYASADKAsyIC5ub3ZhLmNs", + "aWVudC5Nb25zdGVyQWN0aW9uQnJhbmNoItgCCglNb25zdGVyQUkSCgoCSWQY", + "ASABKAUSFgoOQ29tYm9Hcm91cFBhdGgYAiABKAkSGAoQU3Bhd25TaG93U2tp", + "bGxJZBgDIAEoBRIXCg9JZGxlU2hvd1NraWxsSWQYBCABKAUSEgoKRGllU2tp", + "bGxJZBgFIAEoBRIUCgxBY3Rpb25BSVBhdGgYBiABKAkSFwoPQWN0aW9uQnJh", + "bmNoSWRzGAcgAygFEhUKDVRoaW5rSW50ZXJ2YWwYCCABKAUSEgoKSWRsZUFJ", + "UGF0aBgJIAEoCRITCgtTcGF3bkFJUGF0aBgKIAEoCRIWCg5QYXJhbGxlbEFJ", + "UGF0aBgLIAEoCRIYChBDaGVja0FjaGlldmVtZW50GAwgASgIEhMKC1dhbmRl", + "clJhbmdlGA0gASgFEhYKDldhbmRlckludGVydmFsGA4gASgFEhIKCldhbmRl", + "clJhdGUYDyABKAUiNwoPdGFibGVfTW9uc3RlckFJEiQKBGxpc3QYASADKAsy", + "Fi5ub3ZhLmNsaWVudC5Nb25zdGVyQUkibgoQTW9uc3RlckJvcm5Hcm91cBIP", + "CgdHcm91cElkGAEgASgFEhEKCU1vbnN0ZXJJZBgCIAEoBRISCgpEaWZmaWN1", + "bHR5GAMgASgFEhAKCE1pbkZsb29yGAQgASgFEhAKCE1heEZsb29yGAUgASgF", + "IkUKFnRhYmxlX01vbnN0ZXJCb3JuR3JvdXASKwoEbGlzdBgBIAMoCzIdLm5v", + "dmEuY2xpZW50Lk1vbnN0ZXJCb3JuR3JvdXAiLAoMTW9uc3Rlckdyb3VwEgoK", + "AklkGAEgASgFEhAKCE1vbnN0ZXJzGAIgASgJIj0KEnRhYmxlX01vbnN0ZXJH", + "cm91cBInCgRsaXN0GAEgAygLMhkubm92YS5jbGllbnQuTW9uc3Rlckdyb3Vw", + "IrwCCgtNb25zdGVyU2tpbhIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEgwK", + "BERlc2MYAyABKAkSDAoESWNvbhgEIAEoCRIQCghIaW50SWNvbhgFIAEoCRIN", + "CgVNb2RlbBgGIAEoCRIXCg9SdW5BbmltYXRpb25TcGQYByABKAUSGAoQV2Fs", + "a0FuaW1hdGlvblNwZBgIIAEoBRIRCglCYXJIZWlnaHQYCSABKAUSEgoKTW9k", + "ZWxTY2FsZRgKIAEoBRITCgtCdWZmRlhTY2FsZRgLIAEoBRIVCg1Db2xsaWRl", + "clNjYWxlGAwgASgFEhkKEUZvcmJpZGRlbkJlaGl0Um90GA0gASgIEhgKEEVm", + "ZmVjdFNjYWxlVmFsdWUYDiABKAUSGwoTVGFnRWZmZWN0U2NhbGVWYWx1ZRgP", + "IAEoBSI7ChF0YWJsZV9Nb25zdGVyU2tpbhImCgRsaXN0GAEgAygLMhgubm92", + "YS5jbGllbnQuTW9uc3RlclNraW4ioQEKC01vbnN0ZXJUZWFtEgoKAklkGAEg", + "ASgFEg8KB01hdGUwSWQYAiABKAUSDwoHTWF0ZTFJZBgDIAEoBRIPCgdNYXRl", + "MklkGAQgASgFEg8KB01hdGUzSWQYBSABKAUSDwoHTWF0ZTRJZBgGIAEoBRIP", + "CgdNYXRlNUlkGAcgASgFEg8KB01hdGU2SWQYCCABKAUSDwoHTWF0ZTdJZBgJ", + "IAEoBSI7ChF0YWJsZV9Nb25zdGVyVGVhbRImCgRsaXN0GAEgAygLMhgubm92", + "YS5jbGllbnQuTW9uc3RlclRlYW0izQcKFE1vbnN0ZXJWYWx1ZVRlbXBsZXRl", + "EgoKAklkGAEgASgDEhIKClRlbXBsYXRlSWQYAiABKAUSDAoETmFtZRgDIAEo", + "CRIKCgJMdhgEIAEoBRIKCgJIcBgFIAEoBRILCgNBdGsYBiABKAUSCwoDRGVm", + "GAcgASgFEhAKCENyaXRSYXRlGAggASgFEhYKDk5vcm1hbENyaXRSYXRlGAkg", + "ASgFEhUKDVNraWxsQ3JpdFJhdGUYCiABKAUSFQoNVWx0cmFDcml0UmF0ZRgL", + "IAEoBRIUCgxNYXJrQ3JpdFJhdGUYDCABKAUSFgoOU3VtbW9uQ3JpdFJhdGUY", + "DSABKAUSGgoSUHJvamVjdGlsZUNyaXRSYXRlGA4gASgFEhUKDU90aGVyQ3Jp", + "dFJhdGUYDyABKAUSFgoOQ3JpdFJlc2lzdGFuY2UYECABKAUSEQoJQ3JpdFBv", + "d2VyGBEgASgFEhcKD05vcm1hbENyaXRQb3dlchgSIAEoBRIWCg5Ta2lsbENy", + "aXRQb3dlchgTIAEoBRIWCg5VbHRyYUNyaXRQb3dlchgUIAEoBRIVCg1NYXJr", + "Q3JpdFBvd2VyGBUgASgFEhcKD1N1bW1vbkNyaXRQb3dlchgWIAEoBRIbChNQ", + "cm9qZWN0aWxlQ3JpdFBvd2VyGBcgASgFEhYKDk90aGVyQ3JpdFBvd2VyGBgg", + "ASgFEg8KB0hpdFJhdGUYGSABKAUSCwoDRXZkGBogASgFEg4KBkF0a1NwZBgb", + "IAEoBRIRCglEZWZQaWVyY2UYHCABKAUSEQoJRGVmSWdub3JlGB0gASgFEgsK", + "A1dFUBgeIAEoBRILCgNGRVAYHyABKAUSCwoDU0VQGCAgASgFEgsKA0FFUBgh", + "IAEoBRILCgNMRVAYIiABKAUSCwoDREVQGCMgASgFEgsKA1dFSRgkIAEoBRIL", + "CgNGRUkYJSABKAUSCwoDU0VJGCYgASgFEgsKA0FFSRgnIAEoBRILCgNMRUkY", + "KCABKAUSCwoDREVJGCkgASgFEgsKA1dFRRgqIAEoBRILCgNGRUUYKyABKAUS", + "CwoDU0VFGCwgASgFEgsKA0FFRRgtIAEoBRILCgNMRUUYLiABKAUSCwoDREVF", + "GC8gASgFEgsKA1dFUhgwIAEoBRILCgNGRVIYMSABKAUSCwoDU0VSGDIgASgF", + "EgsKA0FFUhgzIAEoBRILCgNMRVIYNCABKAUSCwoDREVSGDUgASgFEhEKCVRv", + "dWdobmVzcxg2IAEoBRIQCghTdXBwcmVzcxg3IAEoBRISCgpSQ0RNQVJLRE1H", + "GDggASgFIk0KGnRhYmxlX01vbnN0ZXJWYWx1ZVRlbXBsZXRlEi8KBGxpc3QY", + "ASADKAsyIS5ub3ZhLmNsaWVudC5Nb25zdGVyVmFsdWVUZW1wbGV0ZSLQAwoa", + "TW9uc3RlclZhbHVlVGVtcGxldGVBZGp1c3QSCgoCSWQYASABKAMSEgoKVGVt", + "cGxhdGVJZBgCIAEoBRIMCgROYW1lGAMgASgJEgsKA0VFVBgEIAEoBRIPCgdX", + "ZWFrRUVUGAUgAygFEg8KB0hwUmF0aW8YBiABKAUSDQoFSHBGaXgYByABKAUS", + "EAoIQXRrUmF0aW8YCCABKAUSDgoGQXRrRml4GAkgASgFEhAKCFdFUlJhdGlv", + "GAogASgFEg4KBldFUkZpeBgLIAEoBRIQCghGRVJSYXRpbxgMIAEoBRIOCgZG", + "RVJGaXgYDSABKAUSEAoIU0VSUmF0aW8YDiABKAUSDgoGU0VSRml4GA8gASgF", + "EhAKCEFFUlJhdGlvGBAgASgFEg4KBkFFUkZpeBgRIAEoBRIQCghMRVJSYXRp", + "bxgSIAEoBRIOCgZMRVJGaXgYEyABKAUSEAoIREVSUmF0aW8YFCABKAUSDgoG", + "REVSRml4GBUgASgFEhYKDlRvdWdobmVzc1JhdGlvGBYgASgFEhQKDFRvdWdo", + "bmVzc0ZpeBgXIAEoBRIVCg1TdXBwcmVzc1JhdGlvGBggASgFEhMKC1N1cHBy", + "ZXNzRml4GBkgASgFIlkKIHRhYmxlX01vbnN0ZXJWYWx1ZVRlbXBsZXRlQWRq", + "dXN0EjUKBGxpc3QYASADKAsyJy5ub3ZhLmNsaWVudC5Nb25zdGVyVmFsdWVU", + "ZW1wbGV0ZUFkanVzdCJ3CgtNb250aGx5Q2FyZBIKCgJJZBgBIAEoBRIOCgZD", + "YXJkSWQYAiABKAUSEQoJUmV3YXJkSWQxGAMgASgFEhIKClJld2FyZE51bTEY", + "BCABKAUSEQoJUmV3YXJkSWQyGAUgASgFEhIKClJld2FyZE51bTIYBiABKAUi", + "OwoRdGFibGVfTW9udGhseUNhcmQSJgoEbGlzdBgBIAMoCzIYLm5vdmEuY2xp", + "ZW50Lk1vbnRobHlDYXJkIs0BCgROb3RlEgoKAklkGAEgASgFEgwKBE5vdGUY", + "AiABKAUSDgoGU3R5bGUxGAMgASgJEg4KBlN0eWxlMhgEIAEoCRIOCgZTdHls", + "ZTMYBSABKAkSDgoGU3R5bGU0GAYgASgJEg4KBlN0eWxlNRgHIAEoCRIOCgZT", + "dHlsZTYYCCABKAkSDgoGU3R5bGU3GAkgASgJEg4KBlN0eWxlOBgKIAEoCRIN", + "CgVDb2xvchgLIAEoCRINCgVOYW1lMRgMIAEoCRINCgVOYW1lMhgNIAEoCSIt", + "Cgp0YWJsZV9Ob3RlEh8KBGxpc3QYASADKAsyES5ub3ZhLmNsaWVudC5Ob3Rl", + "IroBCg1Ob3RlRHJvcEdyb3VwEg0KBUluZGV4GAEgASgFEg8KB0dyb3VwSWQY", + "AiABKAUSFwoPUmFuZG9tTm90ZVJhbmdlGAMgAygFEhIKCkFOb3RlUmFuZ2UY", + "BCADKAUSEgoKQk5vdGVSYW5nZRgFIAMoBRISCgpDTm90ZVJhbmdlGAYgAygF", + "EhIKCkROb3RlUmFuZ2UYByADKAUSEgoKRU5vdGVSYW5nZRgIIAMoBRIMCgRJ", + "Y29uGAkgASgJIj8KE3RhYmxlX05vdGVEcm9wR3JvdXASKAoEbGlzdBgBIAMo", + "CzIaLm5vdmEuY2xpZW50Lk5vdGVEcm9wR3JvdXAizQEKCU5QQ0NvbmZpZxIK", + "CgJJZBgBIAEoBRIMCgR0eXBlGAIgASgFEgwKBE5hbWUYAyABKAkSDAoERGVz", + "YxgEIAEoCRIQCghMaXRlcmFyeRgFIAEoCRIUCgxSZWZyZXNoUG9pbnQYBiAB", + "KAUSEgoKRmlyc3RMaW5lcxgHIAEoBRINCgVMaW5lcxgIIAMoBRIMCgRDaGF0", + "GAkgAygFEhAKCENoYXRQcm9wGAogASgFEhAKCENoYXRUaW1lGAsgASgFEg0K", + "BU5QQ0lkGAwgASgFIjcKD3RhYmxlX05QQ0NvbmZpZxIkCgRsaXN0GAEgAygL", + "MhYubm92YS5jbGllbnQuTlBDQ29uZmlnIt0CCgdOUENTa2luEgoKAklkGAEg", + "ASgFEgwKBE5hbWUYAiABKAkSDAoERGVzYxgDIAEoCRIOCgZJc1Nob3cYBCAB", + "KAgSDgoGQ2hhcklkGAUgASgFEgwKBFR5cGUYBiABKAUSEgoKU291cmNlRGVz", + "YxgHIAEoBRIMCgRJY29uGAggASgJEhUKDVNtYWxsUG9ydHJhaXQYCSABKAkS", + "EgoKTW9kZWxTY2FsZRgKIAEoBRINCgVNb2RlbBgLIAEoCRIQCghQb3J0cmFp", + "dBgMIAEoCRIKCgJCZxgNIAEoCRIOCgZPZmZzZXQYDiABKAkSCwoDTDJEGA8g", + "ASgJEhoKEkZ1bGxTY3JlZW5Qb3J0cmFpdBgQIAEoCRIRCglTa2luVGhlbWUY", + "ESABKAUSGQoRSW50ZXJhY3RpdmVBY3Rpb24YEiABKAgSGwoTSW50ZXJhY3Rp", + "dmVBY3Rpb25JZBgTIAEoBSIzCg10YWJsZV9OUENTa2luEiIKBGxpc3QYASAD", + "KAsyFC5ub3ZhLmNsaWVudC5OUENTa2luImYKF09uY2VBZGRpdGlvbmFsQXR0", + "cmlidXRlEgoKAklkGAEgASgFEhUKDWxldmVsVHlwZURhdGEYAiABKAUSEQoJ", + "TGV2ZWxEYXRhGAMgASgFEhUKDU1haW5PclN1cHBvcnQYBCABKAUiUwoddGFi", + "bGVfT25jZUFkZGl0aW9uYWxBdHRyaWJ1dGUSMgoEbGlzdBgBIAMoCzIkLm5v", + "dmEuY2xpZW50Lk9uY2VBZGRpdGlvbmFsQXR0cmlidXRlIuoBChxPbmNlQWRk", + "aXRpb25hbEF0dHJpYnV0ZVZhbHVlEgoKAklkGAEgASgFEhYKDkF0dHJpYnV0", + "ZVR5cGUxGAIgASgFEhYKDlBhcmFtZXRlclR5cGUxGAMgASgFEg4KBlZhbHVl", + "MRgEIAEoBRIWCg5BdHRyaWJ1dGVUeXBlMhgFIAEoBRIWCg5QYXJhbWV0ZXJU", + "eXBlMhgGIAEoBRIOCgZWYWx1ZTIYByABKAUSFgoOQXR0cmlidXRlVHlwZTMY", + "CCABKAUSFgoOUGFyYW1ldGVyVHlwZTMYCSABKAUSDgoGVmFsdWUzGAogASgF", + "Il0KInRhYmxlX09uY2VBZGRpdGlvbmFsQXR0cmlidXRlVmFsdWUSNwoEbGlz", + "dBgBIAMoCzIpLm5vdmEuY2xpZW50Lk9uY2VBZGRpdGlvbmFsQXR0cmlidXRl", + "VmFsdWUiqQEKCE9wZW5GdW5jEgoKAklkGAEgASgFEgwKBE5hbWUYAiABKAkS", + "FgoOTmVlZFdvcmxkQ2xhc3MYAyABKAUSFgoOTmVlZENvbmRpdGlvbnMYBCAB", + "KAUSFQoNTmVlZFJvZ3VlbGlrZRgFIAEoBRISCgpQb3BXaW5kb3dzGAYgASgI", + "EgwKBERlc2MYByABKAkSDAoESWNvbhgIIAEoCRIMCgRUaXBzGAkgASgJIjUK", + "DnRhYmxlX09wZW5GdW5jEiMKBGxpc3QYASADKAsyFS5ub3ZhLmNsaWVudC5P", + "cGVuRnVuYyJ+Cg1QZXJpb2RpY1F1ZXN0EgoKAklkGAEgASgFEg4KBkJlbG9u", + "ZxgCIAEoBRIPCgdHcm91cGlkGAMgASgFEg0KBVRpdGxlGAQgASgJEg4KBkp1", + "bXBUbxgFIAEoBRIOCgZSZXdhcmQYBiABKAUSEQoJUmV3YXJkUXR5GAcgASgF", + "Ij8KE3RhYmxlX1BlcmlvZGljUXVlc3QSKAoEbGlzdBgBIAMoCzIaLm5vdmEu", + "Y2xpZW50LlBlcmlvZGljUXVlc3Qi+QEKFFBlcmlvZGljUXVlc3RDb250cm9s", + "EgoKAklkGAEgASgFEhQKDEZpbmFsUmV3YXJkMRgCIAEoBRIXCg9GaW5hbFJl", + "d2FyZFF0eTEYAyABKAUSFAoMRmluYWxSZXdhcmQyGAQgASgFEhcKD0ZpbmFs", + "UmV3YXJkUXR5MhgFIAEoBRIUCgxGaW5hbFJld2FyZDMYBiABKAUSFwoPRmlu", + "YWxSZXdhcmRRdHkzGAcgASgFEg8KB0Rlc1RleHQYCCABKAkSEAoIVUlBc3Nl", + "dHMYCSABKAkSEAoIQ3RybE5hbWUYCiABKAkSEwoLUHJldmlld1R5cGUYCyAB", + "KAUiTQoadGFibGVfUGVyaW9kaWNRdWVzdENvbnRyb2wSLwoEbGlzdBgBIAMo", + "CzIhLm5vdmEuY2xpZW50LlBlcmlvZGljUXVlc3RDb250cm9sIkkKElBlcmlv", + "ZGljUXVlc3RHcm91cBIOCgZCZWxvbmcYASABKAUSDwoHR3JvdXBJZBgCIAEo", + "BRISCgpVbmxvY2tUaW1lGAMgASgFIkkKGHRhYmxlX1BlcmlvZGljUXVlc3RH", + "cm91cBItCgRsaXN0GAEgAygLMh8ubm92YS5jbGllbnQuUGVyaW9kaWNRdWVz", + "dEdyb3VwIoQECgRQZXJrEgoKAklkGAEgASgFEhAKCE1heExldmVsGAIgASgF", + "EhcKD0FkZGl0aW9uYWxMZXZlbBgDIAEoCBILCgNFRVQYBCABKAUSFAoMU2Nv", + "cmVHcm91cElkGAUgASgFEhUKDVN0cmVuZ3RoU2NvcmUYBiADKAUSEAoIUGVy", + "a1R5cGUYByABKAUSDgoGQ2hhcklkGAggASgFEhQKDENoYXJQZXJrVHlwZRgJ", + "IAEoBRINCgVUaGVtZRgKIAEoBRISCgpHYW1lQm9va0lkGAsgASgFEhoKEk9w", + "ZXJhdGluZ0Zsb29yVHlwZRgMIAMoBRIXCg9PcGVyYXRpbmdOdW1iZXIYDSAB", + "KAUSDQoFUHJpY2UYDiABKAUSDAoEU2xvdBgPIAEoBRIMCgRUYWdzGBAgAygF", + "EhIKClByZVBlcmtJZHMYESADKAUSEgoKUHJlVGFnUGtncxgSIAEoCRIRCglO", + "ZWVkRmxvb3IYEyABKAUSFQoNRWZmZWN0R3JvdXBJZBgUIAEoBRITCgtJc0Vm", + "ZmVjdGl2ZRgVIAEoCBIQCghQZXJrVGFnMRgWIAEoCRIQCghQZXJrVGFnMhgX", + "IAEoCRIQCghQZXJrVGFnMxgYIAEoCRIQCghQZXJrVGFnNBgZIAEoCRIQCghM", + "b2dvSWNvbhgaIAEoCRIPCgdTbG90VGFnGBsgASgJIi0KCnRhYmxlX1BlcmsS", + "HwoEbGlzdBgBIAMoCzIRLm5vdmEuY2xpZW50LlBlcmsipwIKEFBlcmtQYXNz", + "aXZlU2tpbGwSCgoCSWQYASABKAUSDwoHU2hhcmVDRBgCIAEoCBISCgpTaGFy", + "ZVRpbWVzGAMgASgIEhEKCUVmZmVjdElkMRgEIAEoBRIRCglFZmZlY3RJZDIY", + "BSABKAUSEQoJRWZmZWN0SWQzGAYgASgFEhEKCUVmZmVjdElkNBgHIAEoBRIM", + "CgROYW1lGAggASgJEgwKBERlc2MYCSABKAkSDQoFRGVzYzEYCiABKAkSDgoG", + "UGFyYW0xGAsgASgJEg0KBURlc2MyGAwgASgJEg4KBlBhcmFtMhgNIAEoCRIN", + "CgVEZXNjMxgOIAEoCRIOCgZQYXJhbTMYDyABKAkSDQoFRGVzYzQYECABKAkS", + "DgoGUGFyYW00GBEgASgJIkUKFnRhYmxlX1BlcmtQYXNzaXZlU2tpbGwSKwoE", + "bGlzdBgBIAMoCzIdLm5vdmEuY2xpZW50LlBlcmtQYXNzaXZlU2tpbGwiJgoK", + "UGxheWVySGVhZBIKCgJJZBgBIAEoBRIMCgRJY29uGAIgASgJIjkKEHRhYmxl", + "X1BsYXllckhlYWQSJQoEbGlzdBgBIAMoCzIXLm5vdmEuY2xpZW50LlBsYXll", + "ckhlYWQizwEKBFBsb3QSCgoCSWQYASABKAUSDAoEQ2hhchgCIAEoBRIMCgRO", + "YW1lGAMgASgJEgwKBERlc2MYBCABKAkSDQoFQXZnSWQYBSABKAkSEQoJTWFp", + "bmxpbmVzGAYgAygFEhsKE1VubG9ja0FmZmluaXR5TGV2ZWwYByABKAUSFQoN", + "Q29ubmVjdENoYXRJZBgIIAEoBRIXCg9DaGFyQWR2YW5jZUNvbmQYCSABKAkS", + "DwoHUmV3YXJkcxgKIAEoCRIRCglQaWNTb3VyY2UYCyABKAkiLQoKdGFibGVf", + "UGxvdBIfCgRsaXN0GAEgAygLMhEubm92YS5jbGllbnQuUGxvdCLPBAoJUG90", + "ZW50aWFsEgoKAklkGAEgASgFEg4KBkNoYXJJZBgCIAEoBRISCgpCcmFuY2hU", + "eXBlGAMgASgFEhAKCE1heExldmVsGAQgASgFEhQKDFNjb3JlR3JvdXBJZBgF", + "IAEoBRISCgpCdWlsZFNjb3JlGAYgAygFEhIKCkdhbWVCb29rSWQYByABKAUS", + "FQoNRWZmZWN0R3JvdXBJZBgIIAEoBRITCgtJc0VmZmVjdGl2ZRgJIAEoCBIV", + "Cg1Qb3RlbnRpYWxUYWcxGAogASgJEhUKDVBvdGVudGlhbFRhZzIYCyABKAkS", + "FQoNUG90ZW50aWFsVGFnMxgMIAEoCRIVCg1Qb3RlbnRpYWxUYWc0GA0gASgJ", + "Eg4KBkNvcm5lchgOIAEoBRIMCgRTcEJnGA8gASgJEg4KBlNwRmFjZRgQIAEo", + "CRIRCglFZmZlY3RJZDEYESABKAUSEQoJRWZmZWN0SWQyGBIgASgFEhEKCUVm", + "ZmVjdElkMxgTIAEoBRIRCglFZmZlY3RJZDQYFCABKAUSEQoJQnJpZWZEZXNj", + "GBUgASgJEgwKBERlc2MYFiABKAkSDgoGUGFyYW0xGBcgASgJEg4KBlBhcmFt", + "MhgYIAEoCRIOCgZQYXJhbTMYGSABKAkSDgoGUGFyYW00GBogASgJEg4KBlBh", + "cmFtNRgbIAEoCRIOCgZQYXJhbTYYHCABKAkSDgoGUGFyYW03GB0gASgJEg4K", + "BlBhcmFtOBgeIAEoCRIOCgZQYXJhbTkYHyABKAkSDwoHUGFyYW0xMBggIAEo", + "CSI3Cg90YWJsZV9Qb3RlbnRpYWwSJAoEbGlzdBgBIAMoCzIWLm5vdmEuY2xp", + "ZW50LlBvdGVudGlhbCL1AQoVUG90ZW50aWFsUGFzc2l2ZVNraWxsEgoKAklk", + "GAEgASgFEg8KB1NoYXJlQ0QYAiABKAgSEgoKU2hhcmVUaW1lcxgDIAEoCBIR", + "CglFZmZlY3RJZDEYBCABKAUSEQoJRWZmZWN0SWQyGAUgASgFEhEKCUVmZmVj", + "dElkMxgGIAEoBRIRCglFZmZlY3RJZDQYByABKAUSEQoJQnJpZWZEZXNjGAgg", + "ASgJEgwKBERlc2MYCSABKAkSDgoGUGFyYW0xGAogASgJEg4KBlBhcmFtMhgL", + "IAEoCRIOCgZQYXJhbTMYDCABKAkSDgoGUGFyYW00GA0gASgJIk8KG3RhYmxl", + "X1BvdGVudGlhbFBhc3NpdmVTa2lsbBIwCgRsaXN0GAEgAygLMiIubm92YS5j", + "bGllbnQuUG90ZW50aWFsUGFzc2l2ZVNraWxsIm4KE1ByZXZpZXdNb25zdGVy", + "R3JvdXASCgoCSWQYASABKAUSDwoHR3JvdXBJZBgCIAEoBRIcChRQcmV2aWV3", + "TW9uc3Rlckxpc3RJZBgDIAEoBRINCgVNaW5MdhgEIAEoCRINCgVNYXhMdhgF", + "IAEoCSJLChl0YWJsZV9QcmV2aWV3TW9uc3Rlckdyb3VwEi4KBGxpc3QYASAD", + "KAsyIC5ub3ZhLmNsaWVudC5QcmV2aWV3TW9uc3Rlckdyb3VwIs0CChJQcmV2", + "aWV3TW9uc3Rlckxpc3QSCgoCSWQYASABKAUSDAoESWNvbhgCIAEoCRIMCgRO", + "YW1lGAMgASgJEhEKCVJlc2lzdEVFVBgEIAMoBRILCgNFRVQYBSADKAUSDAoE", + "RGVzYxgGIAEoCRIRCglTa2lsbERlc2MYByABKAkSDgoGRXBpY0x2GAggASgF", + "EgoKAkhQGAkgASgFEgsKA0FUSxgKIAEoBRILCgNERUYYCyABKAUSEQoJVE9V", + "R0hORVNTGAwgASgFEhUKDUFiaWxpdHlUaXRsZTEYDSABKAkSFAoMQWJpbGl0", + "eURlc2MxGA4gASgJEhUKDUFiaWxpdHlUaXRsZTIYDyABKAkSFAoMQWJpbGl0", + "eURlc2MyGBAgASgJEhUKDUFiaWxpdHlUaXRsZTMYESABKAkSFAoMQWJpbGl0", + "eURlc2MzGBIgASgJIkkKGHRhYmxlX1ByZXZpZXdNb25zdGVyTGlzdBItCgRs", + "aXN0GAEgAygLMh8ubm92YS5jbGllbnQuUHJldmlld01vbnN0ZXJMaXN0IvID", + "CgpQcm9kdWN0aW9uEgoKAklkGAEgASgFEgwKBE5hbWUYAiABKAkSDAoERGVz", + "YxgDIAEoCRIUCgxQcm9kdWN0aW9uSWQYBCABKAUSGgoSUHJvZHVjdGlvblBl", + "ckJhdGNoGAUgASgFEhgKEFNob3dQcm9kdWN0aW9uSWQYBiABKAUSHgoWU2hv", + "d1Byb2R1Y3Rpb25QZXJCYXRjaBgHIAEoBRINCgVHcm91cBgIIAEoBRILCgNU", + "YWcYCSABKAUSFgoOUmF3TWF0ZXJpYWxJZDEYCiABKAUSGQoRUmF3TWF0ZXJp", + "YWxDb3VudDEYCyABKAUSFgoOUmF3TWF0ZXJpYWxJZDIYDCABKAUSGQoRUmF3", + "TWF0ZXJpYWxDb3VudDIYDSABKAUSFgoOUmF3TWF0ZXJpYWxJZDMYDiABKAUS", + "GQoRUmF3TWF0ZXJpYWxDb3VudDMYDyABKAUSFgoOUmF3TWF0ZXJpYWxJZDQY", + "ECABKAUSGQoRUmF3TWF0ZXJpYWxDb3VudDQYESABKAUSGAoQSXNTaG93V29y", + "bGRMZXZlbBgSIAEoBRIYChBVbmxvY2tXb3JsZExldmVsGBMgASgFEhEKCVVu", + "bG9ja1RpcBgUIAEoCRIOCgZTb3J0SWQYFSABKAUSEQoJSXNBY3RpdmVkGBYg", + "ASgIIjkKEHRhYmxlX1Byb2R1Y3Rpb24SJQoEbGlzdBgBIAMoCzIXLm5vdmEu", + "Y2xpZW50LlByb2R1Y3Rpb24iPgoOUHJvZHVjdGlvblR5cGUSCgoCSWQYASAB", + "KAUSEAoIVHlwZU5hbWUYAiABKAkSDgoGU29ydElkGAMgASgFIkEKFHRhYmxl", + "X1Byb2R1Y3Rpb25UeXBlEikKBGxpc3QYASADKAsyGy5ub3ZhLmNsaWVudC5Q", + "cm9kdWN0aW9uVHlwZSKPBgoSUmFuZG9tTGV2ZWxNb25zdGVyEgoKAklkGAEg", + "ASgFEgwKBE5hbWUYAiABKAkSDgoGRXBpY0x2GAMgASgFEhEKCUJsb29kVHlw", + "ZRgEIAEoBRILCgNFRVQYBSABKAUSDAoERkNJZBgGIAEoBRIMCgRGQUlkGAcg", + "ASgFEg8KB01vdlR5cGUYCCABKAUSDgoGUnVuU3BkGAkgASgFEhUKDVRyYW5z", + "U3BkU2NhbGUYCiABKAUSDwoHV2Fsa1NwZBgLIAEoBRIOCgZNb3ZBY2MYDCAB", + "KAUSEQoJVmlzaW9uUm5nGA0gASgFEhEKCVZpc2lvbkRlZxgOIAEoBRIPCgdI", + "ZWFyUm5nGA8gASgFEg4KBlJlZlJuZxgQIAEoBRIOCgZBY3RSbmcYESABKAUS", + "EQoJRGlzQWN0Um5nGBIgASgFEg4KBlJvdFNwZBgTIAEoBRIQCghUZW1wbGV0", + "ZRgUIAEoBRILCgNXRVAYFSABKAUSCwoDRkVQGBYgASgFEgsKA1NFUBgXIAEo", + "BRILCgNBRVAYGCABKAUSCwoDTEVQGBkgASgFEgsKA0RFUBgaIAEoBRILCgNX", + "RUUYGyABKAUSCwoDRkVFGBwgASgFEgsKA1NFRRgdIAEoBRILCgNBRUUYHiAB", + "KAUSCwoDTEVFGB8gASgFEgsKA0RFRRggIAEoBRILCgNXRVIYISABKAUSCwoD", + "RkVSGCIgASgFEgsKA1NFUhgjIAEoBRILCgNBRVIYJCABKAUSCwoDTEVSGCUg", + "ASgFEgsKA0RFUhgmIAEoBRIPCgdCdWZmSWRzGCcgAygFEg4KBndlaWdodBgo", + "IAEoBRISCgpUcmFwVGFnSWRzGCkgAygFEg8KB0ZhY3Rpb24YKiABKAUSEQoJ", + "U3VwQ2hhcmdlGCsgASgFEhEKCUlzU2hvd1JuZxgsIAEoCBISCgpUcmFwQXR0", + "cklkGC0gASgFEgwKBFRhZzEYLiABKAkSDAoEVGFnMhgvIAEoCRIMCgRUYWcz", + "GDAgASgJEgwKBFRhZzQYMSABKAkSDAoEVGFnNRgyIAEoCSJJChh0YWJsZV9S", + "YW5kb21MZXZlbE1vbnN0ZXISLQoEbGlzdBgBIAMoCzIfLm5vdmEuY2xpZW50", + "LlJhbmRvbUxldmVsTW9uc3RlciIhCgRSYW5rEgwKBFJhbmsYASABKAUSCwoD", + "RXhwGAIgASgFIi0KCnRhYmxlX1JhbmsSHwoEbGlzdBgBIAMoCzIRLm5vdmEu", + "Y2xpZW50LlJhbmsi/gEKClJlZ2lvbkJvc3MSCgoCSWQYASABKAUSEQoJTW9u", + "c3RlcklkGAIgASgFEhIKClJlZ2lvblR5cGUYAyABKAUSDAoETmFtZRgEIAEo", + "CRIMCgRJY29uGAUgASgJEhcKD1VubG9ja0NvbmRpdGlvbhgGIAEoCRIVCg1O", + "ZWVkUm9ndWVsaWtlGAcgASgFEgwKBFNvcnQYCCABKAUSDwoHT3BlbkRheRgJ", + "IAMoBRITCgtPcGVuRGF5RGVzYxgKIAEoCRILCgNFRVQYCyADKAUSDwoHRXBp", + "c29kZRgMIAEoCRINCgVJbWFnZRgNIAEoCRIQCghEcm9wSXRlbRgOIAMoBSI5", + "ChB0YWJsZV9SZWdpb25Cb3NzEiUKBGxpc3QYASADKAsyFy5ub3ZhLmNsaWVu", + "dC5SZWdpb25Cb3NzIqwBCg9SZWdpb25Cb3NzQWZmaXgSCgoCSWQYASABKAUS", + "DwoHR3JvdXBJZBgCIAEoBRINCgVMZXZlbBgDIAEoBRIMCgROYW1lGAQgASgJ", + "EgwKBERlc2MYBSABKAkSDAoESWNvbhgGIAEoCRIPCgdFbGVtZW50GAcgASgF", + "Eg8KB0FkZENhbXAYCCADKAUSEAoIQWRkQ2xhc3MYCSADKAUSDwoHU2tpbGxJ", + "ZBgKIAEoBSJDChV0YWJsZV9SZWdpb25Cb3NzQWZmaXgSKgoEbGlzdBgBIAMo", + "CzIcLm5vdmEuY2xpZW50LlJlZ2lvbkJvc3NBZmZpeCKqAQoPUmVnaW9uQm9z", + "c0Zsb29yEgoKAklkGAEgASgFEhEKCVNjZW5lTmFtZRgCIAEoCRIYChBDb25m", + "aWdQcmVmYWJOYW1lGAMgASgJEg0KBVRoZW1lGAQgASgFEgsKA0JHTRgFIAEo", + "CRIZChFMZWF2ZVRyaWdnZXJFdmVudBgGIAEoCRIRCglNb25zdGVyTHYYByAB", + "KAUSFAoMRHVuZ2VvbkRlbGF5GAggASgFIkMKFXRhYmxlX1JlZ2lvbkJvc3NG", + "bG9vchIqCgRsaXN0GAEgAygLMhwubm92YS5jbGllbnQuUmVnaW9uQm9zc0Zs", + "b29yIr0FCg9SZWdpb25Cb3NzTGV2ZWwSCgoCSWQYASABKAUSFAoMUmVnaW9u", + "Qm9zc0lkGAIgASgFEhIKCkRpZmZpY3VsdHkYAyABKAUSEgoKUmVnaW9uVHlw", + "ZRgEIAEoBRIMCgROYW1lGAUgASgJEgwKBERlc2MYBiABKAkSDAoESWNvbhgH", + "IAEoCRIWCg5TdWdnZXN0ZWRQb3dlchgIIAEoBRISCgpQcmVMZXZlbElkGAkg", + "ASgFEhQKDEJvc3NTaG93VGltZRgKIAEoBRIUCgxQcmVMZXZlbFN0YXIYCyAB", + "KAUSFgoOTmVlZFdvcmxkQ2xhc3MYDCABKAUSFQoNTmVlZFJvZ3VlbGlrZRgN", + "IAEoBRIPCgdGbG9vcklkGA4gASgFEhgKEE9uZVN0YXJDb25kaXRpb24YDyAB", + "KAkSGAoQVHdvU3RhckNvbmRpdGlvbhgQIAEoCRIaChJUaHJlZVN0YXJDb25k", + "aXRpb24YESABKAkSDgoGRHJvcElkGBIgASgFEhUKDUVuZXJneUNvbnN1bWUY", + "EyABKAUSGAoQQmFzZUF3YXJkUHJldmlldxgUIAEoCRIVCg1FbnRyeUdyb3Vw", + "SWQxGBUgASgFEhgKEEVudHJ5R3JvdXBMZXZlbDEYFiABKAUSFQoNRW50cnlH", + "cm91cElkMhgXIAEoBRIYChBFbnRyeUdyb3VwTGV2ZWwyGBggASgFEhUKDUVu", + "dHJ5R3JvdXBJZDMYGSABKAUSGAoQRW50cnlHcm91cExldmVsMxgaIAEoBRIV", + "Cg1FbnRyeUdyb3VwSWQ0GBsgASgFEhgKEEVudHJ5R3JvdXBMZXZlbDQYHCAB", + "KAUSFQoNRW50cnlHcm91cElkNRgdIAEoBRIYChBFbnRyeUdyb3VwTGV2ZWw1", + "GB4gASgFEhgKEEV4dHJhRHJvcFByZXZpZXcYHyADKAUiQwoVdGFibGVfUmVn", + "aW9uQm9zc0xldmVsEioKBGxpc3QYASADKAsyHC5ub3ZhLmNsaWVudC5SZWdp", + "b25Cb3NzTGV2ZWwirAMKDVJlc2lkZW50R29vZHMSCgoCSWQYASABKAUSDAoE", + "TmFtZRgCIAEoCRIMCgREZXNjGAMgASgJEg4KBlNob3BJZBgEIAEoBRISCgpT", + "YWxlTnVtYmVyGAUgASgFEg4KBkl0ZW1JZBgGIAEoBRIUCgxJdGVtUXVhbnRp", + "dHkYByABKAUSFAoMTWF4aW11bUxpbWl0GAggASgFEhYKDkN1cnJlbmN5SXRl", + "bUlkGAkgASgFEg0KBVByaWNlGAogASgFEhUKDU9yaWdpbmFsUHJpY2UYCyAB", + "KAUSEAoIRGlzY291bnQYDCABKAUSFgoOQXBwZWFyQ29uZFR5cGUYDSABKAUS", + "GAoQQXBwZWFyQ29uZFBhcmFtcxgOIAEoCRIYChBQdXJjaGFzZUNvbmRUeXBl", + "GA8gASgFEhoKElB1cmNoYXNlQ29uZFBhcmFtcxgQIAEoCRITCgtVcFNoZWxm", + "VGltZRgRIAEoCRIVCg1Eb3duU2hlbGZUaW1lGBIgASgJEhoKElVubG9ja1B1", + "cmNoYXNlVGltZRgTIAEoCRITCgtEaXNwbGF5TW9kZRgUIAEoBSI/ChN0YWJs", + "ZV9SZXNpZGVudEdvb2RzEigKBGxpc3QYASADKAsyGi5ub3ZhLmNsaWVudC5S", + "ZXNpZGVudEdvb2RzIuMBCgxSZXNpZGVudFNob3ASCgoCSWQYASABKAUSEAoI", + "U2hvcENvaW4YAiABKAUSDAoEVHlwZRgDIAEoBRIMCgROYW1lGAQgASgJEhAK", + "CFNlcXVlbmNlGAUgASgFEhcKD1JlZnJlc2hUaW1lVHlwZRgGIAEoBRIXCg9S", + "ZWZyZXNoSW50ZXJ2YWwYByABKAUSFgoOVW5sb2NrQ29uZFR5cGUYCCABKAUS", + "GAoQVW5sb2NrQ29uZFBhcmFtcxgJIAEoCRIQCghPcGVuVGltZRgKIAEoCRIR", + "CglDbG9zZVRpbWUYCyABKAkiPQoSdGFibGVfUmVzaWRlbnRTaG9wEicKBGxp", + "c3QYASADKAsyGS5ub3ZhLmNsaWVudC5SZXNpZGVudFNob3AiXgoPU2NyaXB0", + "UGFyYW1ldGVyEgoKAklkGAEgASgFEhUKDWxldmVsVHlwZURhdGEYAiABKAUS", + "EQoJTGV2ZWxEYXRhGAMgASgFEhUKDU1haW5PclN1cHBvcnQYBCABKAUiQwoV", + "dGFibGVfU2NyaXB0UGFyYW1ldGVyEioKBGxpc3QYASADKAsyHC5ub3ZhLmNs", + "aWVudC5TY3JpcHRQYXJhbWV0ZXIiNgoUU2NyaXB0UGFyYW1ldGVyVmFsdWUS", + "CgoCSWQYASABKAUSEgoKQ29tbW9uRGF0YRgCIAEoBSJNChp0YWJsZV9TY3Jp", + "cHRQYXJhbWV0ZXJWYWx1ZRIvCgRsaXN0GAEgAygLMiEubm92YS5jbGllbnQu", + "U2NyaXB0UGFyYW1ldGVyVmFsdWUi4QEKBlNoaWVsZBIKCgJJZBgBIAEoBRIM", + "CgROYW1lGAIgASgJEhUKDWxldmVsVHlwZURhdGEYAyABKAUSEQoJTGV2ZWxE", + "YXRhGAQgASgFEhUKDU1haW5PclN1cHBvcnQYBSABKAUSEgoKQmluZEVmZmVj", + "dBgGIAEoCRISCgpTaGllbGRUYWcxGAcgASgFEhIKClNoaWVsZFRhZzIYCCAB", + "KAUSEgoKU2hpZWxkVGFnMxgJIAEoBRIZChFUaW1lU3VwZXJwb3NpdGlvbhgK", + "IAEoBRIRCglOb3RSZW1vdmUYCyABKAgiMQoMdGFibGVfU2hpZWxkEiEKBGxp", + "c3QYASADKAsyEy5ub3ZhLmNsaWVudC5TaGllbGQi4QEKC1NoaWVsZFZhbHVl", + "EgoKAklkGAEgASgFEgwKBE5hbWUYAiABKAkSFgoOQWJzb3JwdGlvbkJhc2UY", + "AyABKAUSFwoPUmVmZXJlbmNlVGFyZ2V0GAQgASgFEhcKD1JlZmVyZW5jZUF0", + "dHJpYhgFIAEoBRIWCg5SZWZlcmVuY2VTY2FsZRgGIAEoBRIMCgRUaW1lGAcg", + "ASgFEhoKElNoaWVsZExhbWluYXRlZE51bRgIIAEoBRIZChFUaW1lU3VwZXJw", + "b3NpdGlvbhgJIAEoBRIRCglOb3RSZW1vdmUYCiABKAgiOwoRdGFibGVfU2hp", + "ZWxkVmFsdWUSJgoEbGlzdBgBIAMoCzIYLm5vdmEuY2xpZW50LlNoaWVsZFZh", + "bHVlIlEKBlNpZ25JbhIKCgJJRBgBIAEoBRINCgVHcm91cBgCIAEoBRILCgNE", + "YXkYAyABKAUSDgoGSXRlbUlkGAQgASgFEg8KB0l0ZW1RdHkYBSABKAUiMQoM", + "dGFibGVfU2lnbkluEiEKBGxpc3QYASADKAsyEy5ub3ZhLmNsaWVudC5TaWdu", + "SW4i7AMKBVNraWxsEgoKAklkGAEgASgFEg0KBVRpdGxlGAIgASgJEg4KBkZD", + "UGF0aBgDIAEoCRIMCgRUeXBlGAQgASgFEgwKBERlc2MYBSABKAkSDAoESWNv", + "bhgGIAEoCRIPCgdTa2lsbENEGAcgASgFEhAKCE1heExldmVsGAggASgFEhQK", + "DFJlbGF0ZWRTa2lsbBgJIAEoCRIVCg1TZWN0aW9uQW1vdW50GAogASgFEhMK", + "C1VzZUludGVydmFsGAsgASgFEhMKC1VzZVRpbWVIaW50GAwgASgFEhMKC1Vs", + "dHJhRW5lcmd5GA0gASgFEhYKDkNoZWNrQ0RSZXN0b3JlGA4gASgIEhYKDkZv", + "cmNlUnVuRmluaXNoGA8gASgIEhYKDkdldEVuZXJneUxpbWl0GBAgASgFEg4K", + "BlBhcmFtMRgRIAEoCRIOCgZQYXJhbTIYEiABKAkSDgoGUGFyYW0zGBMgASgJ", + "Eg4KBlBhcmFtNBgUIAEoCRIOCgZQYXJhbTUYFSABKAkSDgoGUGFyYW02GBYg", + "ASgJEg4KBlBhcmFtNxgXIAEoCRIOCgZQYXJhbTgYGCABKAkSDgoGUGFyYW05", + "GBkgASgJEg8KB1BhcmFtMTAYGiABKAkSFgoOSXNDbGVhblNraWxsQ0QYGyAB", + "KAgiLwoLdGFibGVfU2tpbGwSIAoEbGlzdBgBIAMoCzISLm5vdmEuY2xpZW50", + "LlNraWxsIisKC1NraWxsRGFtYWdlEgoKAklkGAEgASgFEhAKCExWRGFtYWdl", + "GAIgAygFIjsKEXRhYmxlX1NraWxsRGFtYWdlEiYKBGxpc3QYASADKAsyGC5u", + "b3ZhLmNsaWVudC5Ta2lsbERhbWFnZSK2BAoJU3RhclRvd2VyEgoKAklkGAEg", + "ASgFEgwKBE5hbWUYAiABKAkSDAoERGVzYxgDIAEoCRIPCgdHcm91cElkGAQg", + "ASgFEhUKDVByZUNvbmRpdGlvbnMYBSABKAkSHQoVUHJldmlld01vbnN0ZXJH", + "cm91cElkGAYgASgFEhIKCkRpZmZpY3VsdHkYByABKAUSFwoPVmFsdWVEaWZm", + "aWN1bHR5GAggASgFEhEKCVJlY29tbWVuZBgJIAEoBRISCgpDdXJyZW5jeUlk", + "GAogASgFEhUKDVN0YWdlR3JvdXBJZHMYCyADKAUSEAoIRmxvb3JOdW0YDCAD", + "KAUSFgoOVGVhbUV4cEdyb3VwSWQYDSABKAUSCwoDRUVUGA4gAygFEg4KBk5v", + "dEVFVBgPIAMoBRIPCgdFcGlzb2RlGBAgASgJEg0KBUltYWdlGBEgASgJEg0K", + "BU5QQ0lkGBIgASgFEhUKDVJld2FyZFByZXZpZXcYEyABKAkSDwoHU2hvcE5w", + "YxgUIAEoBRIUCgxTdGFuZFNob3BOcGMYFSABKAUSEgoKVXBncmFkZU5wYxgW", + "IAEoBRIRCglSZXNxdWVOcGMYFyABKAUSEQoJRGFuZ2VyTnBjGBggASgFEhEK", + "CUhvcnJvck5wYxgZIAEoBRIWCg5EYW5nZXJFbmRFdmVudBgaIAEoBRIWCg5I", + "b3Jyb3JFbmRFdmVudBgbIAEoBRIeChZEZXN0cnVjdGlibGVPYmplY3RUeXBl", + "GBwgASgFIjcKD3RhYmxlX1N0YXJUb3dlchIkCgRsaXN0GAEgAygLMhYubm92", + "YS5jbGllbnQuU3RhclRvd2VyIsQDChhTdGFyVG93ZXJCYXR0bGVUaHJlc2hv", + "bGQSEQoJTWlzc2lvbklkGAEgASgFEg8KB1ZlcnNpb24YAiABKAUSEgoKZnJv", + "bVNyY0F0axgDIAEoBRIeChZmcm9tUGVya0ludGVuc2l0eVJhdGlvGAQgASgF", + "EhgKEGZyb21TbG90RG1nUmF0aW8YBSABKAUSDgoGZnJvbUVFGAYgASgFEhcK", + "D2Zyb21HZW5EbWdSYXRpbxgHIAEoBRITCgtmcm9tRG1nUGx1cxgIIAEoBRIV", + "Cg1mcm9tQ3JpdFJhdGlvGAkgASgFEhkKEWZyb21GaW5hbERtZ1JhdGlvGAog", + "ASgFEhgKEGZyb21GaW5hbERtZ1BsdXMYCyABKAUSEQoJdG9FckFtZW5kGAwg", + "ASgFEhIKCnRvRGVmQW1lbmQYDSABKAUSGQoRdG9SY2RTbG90RG1nUmF0aW8Y", + "DiABKAUSDwoHdG9FRVJDRBgPIAEoBRIYChB0b0dlbkRtZ1JjZFJhdGlvGBAg", + "ASgFEhQKDHRvRG1nUGx1c1JjZBgRIAEoBRILCgNEbWcYEiABKAUSEAoIQ3Jp", + "dFJhdGUYEyABKAUSCgoCSHAYFCABKAUiVQoedGFibGVfU3RhclRvd2VyQmF0", + "dGxlVGhyZXNob2xkEjMKBGxpc3QYASADKAsyJS5ub3ZhLmNsaWVudC5TdGFy", + "VG93ZXJCYXR0bGVUaHJlc2hvbGQiUQoVU3RhclRvd2VyQm9va0VudHJhbmNl", + "EgoKAklkGAEgASgFEgwKBEljb24YAiABKAkSEAoIUG9zaXRpb24YAyABKAkS", + "DAoERGVzYxgEIAEoCSJPCht0YWJsZV9TdGFyVG93ZXJCb29rRW50cmFuY2US", + "MAoEbGlzdBgBIAMoCzIiLm5vdmEuY2xpZW50LlN0YXJUb3dlckJvb2tFbnRy", + "YW5jZSKjAQoYU3RhclRvd2VyQm9va0V2ZW50UmV3YXJkEgoKAklkGAEgASgF", + "EgwKBE5hbWUYAiABKAkSDQoFU3RvcnkYAyABKAkSDQoFTlBDSWQYBCABKAUS", + "DAoEU29ydBgFIAEoBRIOCgZTb3VyY2UYBiABKAkSDgoGSXRlbUlkGAcgASgF", + "Eg8KB0l0ZW1RdHkYCCABKAUSEAoISXNCYW5uZWQYCSABKAgiVQoedGFibGVf", + "U3RhclRvd2VyQm9va0V2ZW50UmV3YXJkEjMKBGxpc3QYASADKAsyJS5ub3Zh", + "LmNsaWVudC5TdGFyVG93ZXJCb29rRXZlbnRSZXdhcmQi3AEKFVN0YXJUb3dl", + "ckJvb2tGYXRlQ2FyZBIKCgJJZBgBIAEoBRIQCghCdW5kbGVJZBgCIAEoBRIM", + "CgRJY29uGAMgASgJEg4KBlNvcnRJZBgEIAEoBRIOCgZTb3VyY2UYBSABKAkS", + "EQoJVW5sb2NrVGlwGAYgASgJEhIKCldvcmxkQ2xhc3MYByABKAUSEwoLU3Rh", + "clRvd2VySWQYCCABKAUSFAoMQ29sbGVjdENhcmRzGAkgAygFEhMKC1VubG9j", + "a0NhcmRzGAogAygFEhAKCElzQmFubmVkGAsgASgIIk8KG3RhYmxlX1N0YXJU", + "b3dlckJvb2tGYXRlQ2FyZBIwCgRsaXN0GAEgAygLMiIubm92YS5jbGllbnQu", + "U3RhclRvd2VyQm9va0ZhdGVDYXJkIvABChtTdGFyVG93ZXJCb29rRmF0ZUNh", + "cmRCdW5kbGUSCgoCSWQYASABKAUSDAoETmFtZRgCIAEoCRIRCglTaG9ydE5h", + "bWUYAyABKAkSDgoGU29ydElkGAQgASgFEgsKA1RhZxgFIAEoCRIRCglTbWFs", + "bEljb24YBiABKAkSEgoKQnVuZGxlSWNvbhgHIAEoCRIMCgRJY29uGAggASgJ", + "EhIKCldvcmxkQ2xhc3MYCSABKAUSEwoLU3RhclRvd2VySWQYCiABKAUSFAoM", + "Q29sbGVjdENhcmRzGAsgAygFEhMKC1VubG9ja0NhcmRzGAwgAygFIlsKIXRh", + "YmxlX1N0YXJUb3dlckJvb2tGYXRlQ2FyZEJ1bmRsZRI2CgRsaXN0GAEgAygL", + "Migubm92YS5jbGllbnQuU3RhclRvd2VyQm9va0ZhdGVDYXJkQnVuZGxlIsYB", + "ChpTdGFyVG93ZXJCb29rRmF0ZUNhcmRRdWVzdBIKCgJJZBgBIAEoBRIQCghC", + "dW5kbGVJZBgCIAEoBRIMCgREZXNjGAMgASgJEhIKCkZpbmlzaFR5cGUYBCAB", + "KAUSFAoMRmluaXNoUGFyYW1zGAUgASgJEgwKBFRpZDEYBiABKAUSDAoEUXR5", + "MRgHIAEoBRIMCgRUaWQyGAggASgFEgwKBFF0eTIYCSABKAUSDAoEVGlkMxgK", + "IAEoBRIMCgRRdHkzGAsgASgFIlkKIHRhYmxlX1N0YXJUb3dlckJvb2tGYXRl", + "Q2FyZFF1ZXN0EjUKBGxpc3QYASADKAsyJy5ub3ZhLmNsaWVudC5TdGFyVG93", + "ZXJCb29rRmF0ZUNhcmRRdWVzdCKVAQocU3RhclRvd2VyQm9va1BvdGVudGlh", + "bFJld2FyZBIKCgJJZBgBIAEoBRIOCgZDaGFySWQYAiABKAUSDAoERGVzYxgD", + "IAEoCRIMCgRTb3J0GAQgASgFEgwKBENvbmQYBSABKAUSDgoGUGFyYW1zGAYg", + "ASgJEg4KBkl0ZW1JZBgHIAEoBRIPCgdJdGVtUXR5GAggASgFIl0KInRhYmxl", + "X1N0YXJUb3dlckJvb2tQb3RlbnRpYWxSZXdhcmQSNwoEbGlzdBgBIAMoCzIp", + "Lm5vdmEuY2xpZW50LlN0YXJUb3dlckJvb2tQb3RlbnRpYWxSZXdhcmQiQgoS", + "U3RhclRvd2VyQnVpbGRSYW5rEgoKAklkGAEgASgFEhAKCE1pbkdyYWRlGAIg", + "ASgFEg4KBlJhcml0eRgDIAEoBSJJChh0YWJsZV9TdGFyVG93ZXJCdWlsZFJh", + "bmsSLQoEbGlzdBgBIAMoCzIfLm5vdmEuY2xpZW50LlN0YXJUb3dlckJ1aWxk", + "UmFuayJ/ChRTdGFyVG93ZXJDb21iYXRFdmVudBIKCgJJZBgBIAEoBRIMCgRO", + "YW1lGAIgASgJEgwKBFR5cGUYAyABKAUSDgoGUGFyYW1zGAQgASgJEg4KBkFj", + "dGl2ZRgFIAEoBRINCgVTdGFydBgGIAEoBRIQCghJbnRlcmFjdBgHIAEoBSJN", + "Chp0YWJsZV9TdGFyVG93ZXJDb21iYXRFdmVudBIvCgRsaXN0GAEgAygLMiEu", + "bm92YS5jbGllbnQuU3RhclRvd2VyQ29tYmF0RXZlbnQiLwoOU3RhclRvd2Vy", + "Q29tYm8SCgoCSWQYASABKAUSEQoJQmF0dGxlTHZzGAIgAygFIkEKFHRhYmxl", + "X1N0YXJUb3dlckNvbWJvEikKBGxpc3QYASADKAsyGy5ub3ZhLmNsaWVudC5T", + "dGFyVG93ZXJDb21ibyJiChFTdGFyVG93ZXJEcm9wSXRlbRIKCgJJZBgBIAEo", + "BRIMCgRUeXBlGAIgASgFEhYKDkRyb3BTcGxpdFJhbmdlGAMgAygFEgwKBFJh", + "dGUYBCADKAUSDQoFTW9kZWwYBSABKAkiRwoXdGFibGVfU3RhclRvd2VyRHJv", + "cEl0ZW0SLAoEbGlzdBgBIAMoCzIeLm5vdmEuY2xpZW50LlN0YXJUb3dlckRy", + "b3BJdGVtIoIBChFTdGFyVG93ZXJFbmVteVNldBINCgVTZXRJZBgBIAEoBRIP", + "CgdXYXZlTnVtGAIgASgFEg4KBk1heE51bRgDIAEoBRIVCg1NYXhOdW1QZXJX", + "YXZlGAQgASgFEhEKCU1vbnN0ZXJJZBgFIAEoBRITCgtSZWZJbnRlcnZhbBgG", + "IAEoAiJHChd0YWJsZV9TdGFyVG93ZXJFbmVteVNldBIsCgRsaXN0GAEgAygL", + "Mh4ubm92YS5jbGllbnQuU3RhclRvd2VyRW5lbXlTZXQipgEKDlN0YXJUb3dl", + "ckV2ZW50EgoKAklkGAEgASgFEg8KB0dyb3VwSWQYAiABKAUSFgoOT3B0aW9u", + "c1J1bGVzSWQYAyABKAUSDAoERGVzYxgEIAEoCRIRCglFdmVudFR5cGUYBSAB", + "KAUSFwoPR3VhcmFudGVlZE1hcElkGAYgASgFEgsKA05wYxgHIAMoBRIYChBS", + "ZWxhdGVkQ2hhcmFjdGVyGAggASgFIkEKFHRhYmxlX1N0YXJUb3dlckV2ZW50", + "EikKBGxpc3QYASADKAsyGy5ub3ZhLmNsaWVudC5TdGFyVG93ZXJFdmVudCJj", + "ChRTdGFyVG93ZXJFdmVudEFjdGlvbhIKCgJJZBgBIAEoBRIPCgdFdmVudElk", + "GAIgASgFEhEKCVRyaWdWb2ljZRgDIAEoCRIMCgREZXNjGAQgASgJEg0KBUdy", + "b3VwGAUgASgFIk0KGnRhYmxlX1N0YXJUb3dlckV2ZW50QWN0aW9uEi8KBGxp", + "c3QYASADKAsyIS5ub3ZhLmNsaWVudC5TdGFyVG93ZXJFdmVudEFjdGlvbiJX", + "ChpTdGFyVG93ZXJFdmVudE9wdGlvbkFjdGlvbhIKCgJJZBgBIAEoBRIQCghP", + "cHRpb25JZBgCIAEoBRIMCgREZXNjGAMgASgJEg0KBUdyb3VwGAQgASgFIlkK", + "IHRhYmxlX1N0YXJUb3dlckV2ZW50T3B0aW9uQWN0aW9uEjUKBGxpc3QYASAD", + "KAsyJy5ub3ZhLmNsaWVudC5TdGFyVG93ZXJFdmVudE9wdGlvbkFjdGlvbiLH", + "AQoOU3RhclRvd2VyRmxvb3ISCgoCSWQYASABKAUSGgoSQ29tbW9uR2FtZXBs", + "YXlUeXBlGAIgASgFEhgKEENvbW1vbk1vbnN0ZXJTZXQYAyABKAkSEQoJTGlt", + "aXRUaW1lGAQgASgFEhkKEURyb3BPYmplY3RHcm91cElkGAUgASgFEhYKDkRy", + "b3BPYmplY3RSYXRlGAYgASgFEhIKCkRyb3BNYXhOdW0YByABKAUSGQoRTW9u", + "c3RlclN1cnBsdXNOdW0YCCABKAUiQQoUdGFibGVfU3RhclRvd2VyRmxvb3IS", + "KQoEbGlzdBgBIAMoCzIbLm5vdmEuY2xpZW50LlN0YXJUb3dlckZsb29yIpMB", + "ChNTdGFyVG93ZXJGbG9vckF3YXJkEgoKAklkGAEgASgFEhMKC1JvZ3VlbGlr", + "ZUlkGAIgASgFEhMKC0NvbWJhdEZsb29yGAMgASgFEiAKGEludGVyaW9yQ3Vy", + "cmVuY3lRdWFudGl0eRgEIAEoBRISCgpOZWVkRW5lcmd5GAUgASgFEhAKCEFm", + "ZmluaXR5GAYgASgFIksKGXRhYmxlX1N0YXJUb3dlckZsb29yQXdhcmQSLgoE", + "bGlzdBgBIAMoCzIgLm5vdmEuY2xpZW50LlN0YXJUb3dlckZsb29yQXdhcmQi", + "tQEKEVN0YXJUb3dlckZsb29yRXhwEgoKAklkGAEgASgFEhMKC1N0YXJUb3dl", + "cklkGAIgASgFEg0KBVN0YWdlGAMgASgFEhEKCU5vcm1hbEV4cBgEIAEoBRIQ", + "CghFbGl0ZUV4cBgFIAEoBRIPCgdCb3NzRXhwGAYgASgFEhQKDEZpbmFsQm9z", + "c0V4cBgHIAEoBRIRCglEYW5nZXJFeHAYCCABKAUSEQoJSG9ycm9yRXhwGAkg", + "ASgFIkcKF3RhYmxlX1N0YXJUb3dlckZsb29yRXhwEiwKBGxpc3QYASADKAsy", + "Hi5ub3ZhLmNsaWVudC5TdGFyVG93ZXJGbG9vckV4cCL2AQoRU3RhclRvd2Vy", + "Rmxvb3JTZXQSCgoCSWQYASABKAUSEQoJQmF0dGxlTHZzGAIgASgFEg0KBVN0", + "YWdlGAMgAygFEhAKCFJvb21UeXBlGAQgASgFEg0KBU1hcElEGAUgAygFEg8K", + "B0Zsb29ySUQYBiADKAUSEQoJTW9uc3Rlckx2GAcgASgFEhQKDFRoZW1lU2tp", + "bGxMdhgIIAEoBRIOCgZXZWlnaHQYCSABKAUSEgoKTXV0ZXhHcm91cBgKIAMo", + "BRIVCg1TcGVjaWFsTW9kZUlkGAsgASgFEh0KFU1vbnN0ZXJHcm91cEJsYWNr", + "bGlzdBgMIAMoBSJHChd0YWJsZV9TdGFyVG93ZXJGbG9vclNldBIsCgRsaXN0", + "GAEgAygLMh4ubm92YS5jbGllbnQuU3RhclRvd2VyRmxvb3JTZXQifQoOU3Rh", + "clRvd2VyR3JvdXASCgoCSWQYASABKAUSDAoETmFtZRgCIAEoCRILCgNFRVQY", + "AyADKAUSDwoHRXBpc29kZRgEIAEoCRIMCgRTb3J0GAUgASgFEhEKCUdyb3Vw", + "VHlwZRgGIAEoBRISCgpHcm91cFRoZW1lGAcgASgFIkEKFHRhYmxlX1N0YXJU", + "b3dlckdyb3VwEikKBGxpc3QYASADKAsyGy5ub3ZhLmNsaWVudC5TdGFyVG93", + "ZXJHcm91cCJWChRTdGFyVG93ZXJHcm93dGhHcm91cBIKCgJJZBgBIAEoBRIQ", + "CghQcmVHcm91cBgCIAEoBRISCgpXb3JsZENsYXNzGAMgASgFEgwKBE5hbWUY", + "BCABKAkiTQoadGFibGVfU3RhclRvd2VyR3Jvd3RoR3JvdXASLwoEbGlzdBgB", + "IAMoCzIhLm5vdmEuY2xpZW50LlN0YXJUb3dlckdyb3d0aEdyb3VwIvYCChNT", + "dGFyVG93ZXJHcm93dGhOb2RlEgoKAklkGAEgASgFEg4KBk5vZGVJZBgCIAEo", + "BRINCgVHcm91cBgDIAEoBRIMCgROYW1lGAQgASgJEhAKCElzU2VydmVyGAUg", + "ASgIEhAKCElzQ2xpZW50GAYgASgIEgwKBFR5cGUYByABKAUSDQoFQ29sb3IY", + "CCABKAUSEAoIUHJlTm9kZXMYCSADKAUSFAoMRWZmZWN0Q2xpZW50GAogASgF", + "EhQKDENsaWVudFBhcmFtcxgLIAEoCRIQCghQcmlvcml0eRgMIAEoBRIMCgRJ", + "Y29uGA0gASgJEhAKCFBvc2l0aW9uGA4gAygFEgwKBERlc2MYDyABKAkSDwoH", + "SXRlbUlkMRgQIAEoBRIQCghJdGVtUXR5MRgRIAEoBRIPCgdJdGVtSWQyGBIg", + "ASgFEhAKCEl0ZW1RdHkyGBMgASgFEg8KB0l0ZW1JZDMYFCABKAUSEAoISXRl", + "bVF0eTMYFSABKAUiSwoZdGFibGVfU3RhclRvd2VyR3Jvd3RoTm9kZRIuCgRs", + "aXN0GAEgAygLMiAubm92YS5jbGllbnQuU3RhclRvd2VyR3Jvd3RoTm9kZSKv", + "AQoVU3RhclRvd2VySGFybW9ueVNraWxsEgoKAklkGAEgASgFEg4KBlJhcml0", + "eRgCIAEoBRIMCgROYW1lGAMgASgJEgsKA1RhZxgEIAEoBRINCgVTY29yZRgF", + "IAEoBRIQCghFZmZlY3RJZBgGIAMoBRIMCgREZXNjGAcgASgJEgwKBEljb24Y", + "CCABKAkSDgoGSWNvbkJnGAkgASgJEhIKCkljb25Db3JuZXIYCiABKAkiTwob", + "dGFibGVfU3RhclRvd2VySGFybW9ueVNraWxsEjAKBGxpc3QYASADKAsyIi5u", + "b3ZhLmNsaWVudC5TdGFyVG93ZXJIYXJtb255U2tpbGwiawoUU3RhclRvd2Vy", + "TGltaXRSZXdhcmQSCgoCSWQYASABKAUSDQoFU3RhZ2UYAiABKAUSEwoLU3Rh", + "clRvd2VySWQYAyABKAUSEAoIUm9vbVR5cGUYBCABKAUSEQoJVGltZUxpbWl0", + "GAUgAygFIk0KGnRhYmxlX1N0YXJUb3dlckxpbWl0UmV3YXJkEi8KBGxpc3QY", + "ASADKAsyIS5ub3ZhLmNsaWVudC5TdGFyVG93ZXJMaW1pdFJld2FyZCLIAQoM", + "U3RhclRvd2VyTWFwEgoKAklkGAEgASgFEhAKCFNjZW5lUmVzGAIgASgJEhIK", + "CkJHU2NlbmVSZXMYAyABKAkSDQoFVGhlbWUYBCABKAUSEQoJUHJlZmFiTnVt", + "GAUgAygFEgsKA01pchgGIAEoCBISCgpPdXRQb3J0TnVtGAcgASgFEhMKC091", + "dFBvcnRIaW50GAggASgIEg4KBkJHTVJlcxgJIAEoCRIeChZDb21wbGV0ZVNv", + "dW5kRWZmZWN0UmVzGAogASgJIj0KEnRhYmxlX1N0YXJUb3dlck1hcBInCgRs", + "aXN0GAEgAygLMhkubm92YS5jbGllbnQuU3RhclRvd2VyTWFwIkAKGlN0YXJU", + "b3dlck1hcE1heE51bVBlclN0YWdlEgoKAklkGAEgASgFEhYKDk1heE51bVBl", + "clN0YWdlGAIgASgFIlkKIHRhYmxlX1N0YXJUb3dlck1hcE1heE51bVBlclN0", + "YWdlEjUKBGxpc3QYASADKAsyJy5ub3ZhLmNsaWVudC5TdGFyVG93ZXJNYXBN", + "YXhOdW1QZXJTdGFnZSJ3ChlTdGFyVG93ZXJNb25zdGVyQm9ybkdyb3VwEg8K", + "B0dyb3VwSWQYASABKAUSEQoJTW9uc3RlcklkGAIgASgFEhIKCkRpZmZpY3Vs", + "dHkYAyABKAUSEAoITWluRmxvb3IYBCABKAUSEAoITWF4Rmxvb3IYBSABKAUi", + "VwofdGFibGVfU3RhclRvd2VyTW9uc3RlckJvcm5Hcm91cBI0CgRsaXN0GAEg", + "AygLMiYubm92YS5jbGllbnQuU3RhclRvd2VyTW9uc3RlckJvcm5Hcm91cCLT", + "AQoWU3RhclRvd2VyTW9uc3RlclNwQXR0chIKCgJJZBgBIAEoBRIXCg9Nb25z", + "dGVyUG9zaXRpb24YAiABKAUSEwoLVGhlbWVTa2lsbHMYAyABKAkSHQoVQ29u", + "dGludW91c0tpbGxpbmdUaW1lGAQgASgFEhsKE1JvdWdlTW9uZXlEcm9wUmFu", + "Z2UYBSADKAUSGQoRUm91Z2VFeHBEcm9wUmFuZ2UYBiADKAUSEwoLUmVmRGlz", + "dGFuY2UYByADKAUSEwoLUmVmSW50ZXJ2YWwYCCABKAUiUQocdGFibGVfU3Rh", + "clRvd2VyTW9uc3RlclNwQXR0chIxCgRsaXN0GAEgAygLMiMubm92YS5jbGll", + "bnQuU3RhclRvd2VyTW9uc3RlclNwQXR0ciLcAQoOU3RhclRvd2VyUXVlc3QS", + "CgoCSWQYASABKAUSDQoFVGl0bGUYAiABKAkSDgoGSnVtcFRvGAMgASgFEhYK", + "DlRvd2VyUXVlc3RUeXBlGAQgASgFEhgKEFByZVRvd2VyUXVlc3RJZHMYBSAD", + "KAUSDwoHUmV3YXJkMRgGIAEoBRISCgpSZXdhcmRRdHkxGAcgASgFEg8KB1Jl", + "d2FyZDIYCCABKAUSEgoKUmV3YXJkUXR5MhgJIAEoBRIPCgdSZXdhcmQzGAog", + "ASgFEhIKClJld2FyZFF0eTMYCyABKAUiQQoUdGFibGVfU3RhclRvd2VyUXVl", + "c3QSKQoEbGlzdBgBIAMoCzIbLm5vdmEuY2xpZW50LlN0YXJUb3dlclF1ZXN0", + "IlwKElN0YXJUb3dlclJhbmtBZmZpeBIKCgJJZBgBIAEoBRIMCgROYW1lGAIg", + "ASgJEgwKBERlc2MYAyABKAkSDgoGUmFyaXR5GAQgASgFEg4KBkVmZmVjdBgF", + "IAMoBSJJChh0YWJsZV9TdGFyVG93ZXJSYW5rQWZmaXgSLQoEbGlzdBgBIAMo", + "CzIfLm5vdmEuY2xpZW50LlN0YXJUb3dlclJhbmtBZmZpeCKQAQoTU3RhclRv", + "d2VyUmFua1Jld2FyZBIKCgJJZBgBIAEoBRIRCglSYW5rTG93ZXIYAiABKAUS", + "FQoNQXdhcmRJdGVtVGlkMRgDIAEoBRIVCg1Bd2FyZEl0ZW1OdW0xGAQgASgF", + "EhUKDUF3YXJkSXRlbVRpZDIYBSABKAUSFQoNQXdhcmRJdGVtTnVtMhgGIAEo", + "BSJLChl0YWJsZV9TdGFyVG93ZXJSYW5rUmV3YXJkEi4KBGxpc3QYASADKAsy", + "IC5ub3ZhLmNsaWVudC5TdGFyVG93ZXJSYW5rUmV3YXJkIlEKElN0YXJUb3dl", + "clJhbmtTY29yZRISCgpEaWZmaWN1bHR5GAEgASgFEhEKCUJhc2VTY29yZRgC", + "IAEoBRIUCgxNYXhpbXVtU2NvcmUYAyABKAUiSQoYdGFibGVfU3RhclRvd2Vy", + "UmFua1Njb3JlEi0KBGxpc3QYASADKAsyHy5ub3ZhLmNsaWVudC5TdGFyVG93", + "ZXJSYW5rU2NvcmUi4QEKE1N0YXJUb3dlclJhbmtTZWFzb24SCgoCSWQYASAB", + "KAUSDwoHR3JvdXBJZBgCIAEoBRIQCghPcGVuVGltZRgDIAEoCRIPCgdFbmRU", + "aW1lGAQgASgJEg4KBkFmZml4MRgFIAEoBRIRCglBZmZpeEFkZDEYBiADKAUS", + "DgoGQWZmaXgyGAcgASgFEhEKCUFmZml4QWRkMhgIIAMoBRIOCgZBZmZpeDMY", + "CSABKAUSEQoJQWZmaXhBZGQzGAogAygFEg4KBkFmZml4NBgLIAEoBRIRCglB", + "ZmZpeEFkZDQYDCADKAUiSwoZdGFibGVfU3RhclRvd2VyUmFua1NlYXNvbhIu", + "CgRsaXN0GAEgAygLMiAubm92YS5jbGllbnQuU3RhclRvd2VyUmFua1NlYXNv", + "biJeChRTdGFyVG93ZXJTY2VuZVByZWZhYhIKCgJJZBgBIAEoBRIRCglDb25m", + "aWdSZXMYAiABKAkSEAoIQmlhblF1YW4YAyABKAkSFQoNR2FtZXBsYXlUeXBl", + "cxgEIAMoBSJNChp0YWJsZV9TdGFyVG93ZXJTY2VuZVByZWZhYhIvCgRsaXN0", + "GAEgAygLMiEubm92YS5jbGllbnQuU3RhclRvd2VyU2NlbmVQcmVmYWIiNwoX", + "U3RhclRvd2VyU2hvcEdvb2RzR3JvdXASCgoCSWQYASABKAUSEAoIU2hvd0l0", + "ZW0YAiABKAUiUwoddGFibGVfU3RhclRvd2VyU2hvcEdvb2RzR3JvdXASMgoE", + "bGlzdBgBIAMoCzIkLm5vdmEuY2xpZW50LlN0YXJUb3dlclNob3BHb29kc0dy", + "b3VwImAKF1N0YXJUb3dlclNwZWNpZmljQ29tYmF0EgoKAklkGAEgASgFEgwK", + "BE5hbWUYAiABKAkSDAoERGVzYxgDIAEoCRIMCgRUeXBlGAQgASgFEg8KB0V2", + "ZW50SWQYBSABKAUiUwoddGFibGVfU3RhclRvd2VyU3BlY2lmaWNDb21iYXQS", + "MgoEbGlzdBgBIAMoCzIkLm5vdmEuY2xpZW50LlN0YXJUb3dlclNwZWNpZmlj", + "Q29tYmF0IogBCg9TdGFyVG93ZXJTcE1vZGUSCgoCSWQYASABKAUSFwoPTGlt", + "aXRUaW1lV2VpZ2h0GAIgASgIEhkKEUxpbWl0S2lsbGVkV2VpZ2h0GAMgASgI", + "EhQKDEdvYmxpbldlaWdodBgEIAEoCBIfChdDb250aW51b3VzS2lsbGluZ1dl", + "aWdodBgFIAEoCCJDChV0YWJsZV9TdGFyVG93ZXJTcE1vZGUSKgoEbGlzdBgB", + "IAMoCzIcLm5vdmEuY2xpZW50LlN0YXJUb3dlclNwTW9kZSK5AQoOU3RhclRv", + "d2VyU3RhZ2USCgoCSWQYASABKAUSDQoFU3RhZ2UYAiABKAUSDwoHR3JvdXBJ", + "ZBgDIAEoBRINCgVGbG9vchgEIAEoBRIQCghSb29tVHlwZRgFIAEoBRIgChhJ", + "bnRlcmlvckN1cnJlbmN5UXVhbnRpdHkYBiABKAUSFwoPR3VhcmFudGVlZE1h", + "cElkGAcgASgFEh8KF0d1YXJhbnRlZWRNb25zdGVyUGxhbklkGAggASgFIkEK", + "FHRhYmxlX1N0YXJUb3dlclN0YWdlEikKBGxpc3QYASADKAsyGy5ub3ZhLmNs", + "aWVudC5TdGFyVG93ZXJTdGFnZSJmCg1TdGFyVG93ZXJUYWxrEgoKAklkGAEg", + "ASgFEgwKBE5hbWUYAiABKAkSDwoHQ29udGVudBgDIAEoCRINCgVDb2xvchgE", + "IAEoCRIMCgRGYWNlGAUgASgJEg0KBVZvaWNlGAYgASgJIj8KE3RhYmxlX1N0", + "YXJUb3dlclRhbGsSKAoEbGlzdBgBIAMoCzIaLm5vdmEuY2xpZW50LlN0YXJU", + "b3dlclRhbGsiTwoQU3RhclRvd2VyVGVhbUV4cBIKCgJJZBgBIAEoBRIPCgdH", + "cm91cElkGAIgASgFEg0KBUxldmVsGAMgASgFEg8KB05lZWRFeHAYBCABKAUi", + "RQoWdGFibGVfU3RhclRvd2VyVGVhbUV4cBIrCgRsaXN0GAEgAygLMh0ubm92", + "YS5jbGllbnQuU3RhclRvd2VyVGVhbUV4cCL2AgoFU3RvcnkSCgoCSWQYASAB", + "KAUSDwoHU3RvcnlJZBgCIAEoCRIPCgdDb21tZW50GAMgASgJEg8KB0NoYXB0", + "ZXIYBCABKAUSDQoFSW5kZXgYBSABKAkSDQoFVGl0bGUYBiABKAkSDAoERGVz", + "YxgHIAEoCRISCgpUcmlhbEJ1aWxkGAggASgFEhMKC0NvbmRpdGlvbklkGAkg", + "ASgJEhAKCElzQnJhbmNoGAogASgIEhAKCElzQmF0dGxlGAsgASgIEg4KBlJl", + "d2FyZBgMIAEoBRIVCg1SZXdhcmREaXNwbGF5GA0gASgJEhUKDVBhcmVudFN0", + "b3J5SWQYDiADKAkSEwoLSGFzRXZpZGVuY2UYDyABKAgSEgoKQXZnTHVhTmFt", + "ZRgQIAEoCRIPCgdGbG9vcklkGBEgAygFEh0KFVByZXZpZXdNb25zdGVyR3Jv", + "dXBJZBgSIAEoBRIRCglSZWNvbW1lbmQYEyABKAkSCwoDQWltGBQgASgJIi8K", + "C3RhYmxlX1N0b3J5EiAKBGxpc3QYASADKAsyEi5ub3ZhLmNsaWVudC5TdG9y", + "eSLUAQoMU3RvcnlDaGFwdGVyEgoKAklkGAEgASgFEgwKBFR5cGUYAiABKAUS", + "EgoKV29ybGRDbGFzcxgDIAEoBRITCgtQcmV2U3RvcmllcxgEIAMoCRINCgVJ", + "bmRleBgFIAEoCRIMCgROYW1lGAYgASgJEgwKBERlc2MYByABKAkSEwoLQ2hh", + "cHRlckljb24YCCABKAkSEQoJVGltZVN0YW1wGAkgAygJEhMKC0NoYXB0ZXJZ", + "ZWFyGAogASgJEhkKEVVubG9ja1Nob3dTdG9yeUlkGAsgASgFIj0KEnRhYmxl", + "X1N0b3J5Q2hhcHRlchInCgRsaXN0GAEgAygLMhkubm92YS5jbGllbnQuU3Rv", + "cnlDaGFwdGVyIqQBCg5TdG9yeUNvbmRpdGlvbhIKCgJJZBgBIAEoBRITCgtD", + "b25kaXRpb25JZBgCIAEoCRIPCgdDb21tZW50GAMgASgJEg8KB0V2SWRzX2EY", + "BCADKAkSDwoHRXZJZHNfYhgFIAMoCRIRCglTdG9yeUlkX2EYBiADKAkSEQoJ", + "U3RvcnlJZF9iGAcgAygJEhgKEFBsYXllcldvcmxkTGV2ZWwYCCABKAUiQQoU", + "dGFibGVfU3RvcnlDb25kaXRpb24SKQoEbGlzdBgBIAMoCzIbLm5vdmEuY2xp", + "ZW50LlN0b3J5Q29uZGl0aW9uInQKDVN0b3J5RXZpZGVuY2USCgoCSWQYASAB", + "KAUSDAoERXZJZBgCIAEoCRIPCgdDb21tZW50GAMgASgJEgwKBE5hbWUYBCAB", + "KAkSDAoERGVzYxgFIAEoCRIMCgRJY29uGAYgASgJEg4KBkljb25CZxgHIAEo", + "CSI/ChN0YWJsZV9TdG9yeUV2aWRlbmNlEigKBGxpc3QYASADKAsyGi5ub3Zh", + "LmNsaWVudC5TdG9yeUV2aWRlbmNlIlUKEFN0b3J5UGVyc29uYWxpdHkSCgoC", + "SWQYASABKAUSDAoETmFtZRgCIAEoCRIKCgJEYhgDIAEoCRIMCgRJY29uGAQg", + "ASgJEg0KBUNvbG9yGAUgASgJIkUKFnRhYmxlX1N0b3J5UGVyc29uYWxpdHkS", + "KwoEbGlzdBgBIAMoCzIdLm5vdmEuY2xpZW50LlN0b3J5UGVyc29uYWxpdHki", + "nAMKFFN0b3J5Um9sZVBlcnNvbmFsaXR5EgoKAklkGAEgASgFEhEKCUF2Z0No", + "YXJJZBgCIAEoCRIUCgxQZXJzb25hbGl0eXMYAyADKAUSEQoJQmFzZVZhbHVl", + "GAQgAygFEgwKBEFtYXgYBSABKAkSEAoIQW1heEZhY2UYBiABKAkSDAoEQm1h", + "eBgHIAEoCRIQCghCbWF4RmFjZRgIIAEoCRIMCgRDbWF4GAkgASgJEhAKCENt", + "YXhGYWNlGAogASgJEg0KBUFwbHVzGAsgASgJEhEKCUFwbHVzRmFjZRgMIAEo", + "CRINCgVCcGx1cxgNIAEoCRIRCglCcGx1c0ZhY2UYDiABKAkSDQoFQ3BsdXMY", + "DyABKAkSEQoJQ3BsdXNGYWNlGBAgASgJEgoKAkFiGBEgASgJEg4KBkFiRmFj", + "ZRgSIAEoCRIKCgJBYxgTIAEoCRIOCgZBY0ZhY2UYFCABKAkSCgoCQmMYFSAB", + "KAkSDgoGQmNGYWNlGBYgASgJEg4KBk5vcm1hbBgXIAEoCRISCgpOb3JtYWxG", + "YWNlGBggASgJIk0KGnRhYmxlX1N0b3J5Um9sZVBlcnNvbmFsaXR5Ei8KBGxp", + "c3QYASADKAsyIS5ub3ZhLmNsaWVudC5TdG9yeVJvbGVQZXJzb25hbGl0eSK8", + "AwoGVGFsZW50EgoKAklkGAEgASgFEg0KBUluZGV4GAIgASgFEg0KBVRpdGxl", + "GAMgASgJEg8KB0dyb3VwSWQYBCABKAUSDAoEVHlwZRgFIAEoBRIPCgdTdWJU", + "eXBlGAYgASgFEgwKBFNvcnQYByABKAUSDQoFTm9kZXMYCCABKAUSEAoIRWZm", + "ZWN0SWQYCSADKAUSFgoORW5oYW5jZVNraWxsSWQYCiABKAUSGQoRRW5oYW5j", + "ZVNraWxsTGV2ZWwYCyABKAUSGgoSRW5oYW5jZVBvdGVudGlhbElkGAwgASgF", + "Eh0KFUVuaGFuY2VQb3RlbnRpYWxMZXZlbBgNIAEoBRIMCgREZXNjGA4gASgJ", + "EgwKBEljb24YDyABKAkSDgoGUGFyYW0xGBAgASgJEg4KBlBhcmFtMhgRIAEo", + "CRIOCgZQYXJhbTMYEiABKAkSDgoGUGFyYW00GBMgASgJEg4KBlBhcmFtNRgU", + "IAEoCRIOCgZQYXJhbTYYFSABKAkSDgoGUGFyYW03GBYgASgJEg4KBlBhcmFt", + "OBgXIAEoCRIOCgZQYXJhbTkYGCABKAkSDwoHUGFyYW0xMBgZIAEoCSIxCgx0", + "YWJsZV9UYWxlbnQSIQoEbGlzdBgBIAMoCzITLm5vdmEuY2xpZW50LlRhbGVu", + "dCJdCgtUYWxlbnRHcm91cBIKCgJJZBgBIAEoBRIOCgZDaGFySWQYAiABKAUS", + "EAoIUHJlR3JvdXAYAyABKAUSEQoJTm9kZUxpbWl0GAQgASgFEg0KBVRpdGxl", + "GAUgASgJIjsKEXRhYmxlX1RhbGVudEdyb3VwEiYKBGxpc3QYASADKAsyGC5u", + "b3ZhLmNsaWVudC5UYWxlbnRHcm91cCJSCgVUaXRsZRIKCgJJZBgBIAEoBRIO", + "CgZJdGVtSWQYAiABKAUSEQoJVGl0bGVUeXBlGAMgASgFEgwKBERlc2MYBCAB", + "KAkSDAoEU29ydBgFIAEoBSIvCgt0YWJsZV9UaXRsZRIgCgRsaXN0GAEgAygL", + "MhIubm92YS5jbGllbnQuVGl0bGUiigEKBlRvcEJhchIKCgJJZBgBIAEoCRIN", + "CgVUaXRsZRgCIAEoCRIPCgdFbnRyeUlkGAMgASgFEhAKCEhpZGVCYWNrGAQg", + "ASgIEg4KBkVuZXJneRgFIAEoCBIMCgRDb2luGAYgASgIEg8KB0NvaW5JZHMY", + "ByADKAUSEwoLSGlkZUNvaW5BZGQYCCABKAgiMQoMdGFibGVfVG9wQmFyEiEK", + "BGxpc3QYASADKAsyEy5ub3ZhLmNsaWVudC5Ub3BCYXIiuQEKDlRvdXJHdWlk", + "ZVF1ZXN0EgoKAklkGAEgASgFEg0KBU9yZGVyGAIgASgFEg0KBVRpdGxlGAMg", + "ASgJEg4KBkp1bXBUbxgEIAEoBRIPCgdSZXdhcmQxGAUgASgFEhIKClJld2Fy", + "ZFF0eTEYBiABKAUSDwoHUmV3YXJkMhgHIAEoBRISCgpSZXdhcmRRdHkyGAgg", + "ASgFEg8KB1Jld2FyZDMYCSABKAUSEgoKUmV3YXJkUXR5MxgKIAEoBSJBChR0", + "YWJsZV9Ub3VyR3VpZGVRdWVzdBIpCgRsaXN0GAEgAygLMhsubm92YS5jbGll", + "bnQuVG91ckd1aWRlUXVlc3QijgIKE1RvdXJHdWlkZVF1ZXN0R3JvdXASCgoC", + "SWQYASABKAUSDQoFT3JkZXIYAiABKAUSDwoHUmV3YXJkMRgDIAEoBRISCgpS", + "ZXdhcmRRdHkxGAQgASgFEg8KB1Jld2FyZDIYBSABKAUSEgoKUmV3YXJkUXR5", + "MhgGIAEoBRIPCgdSZXdhcmQzGAcgASgFEhIKClJld2FyZFF0eTMYCCABKAUS", + "DwoHUmV3YXJkNBgJIAEoBRISCgpSZXdhcmRRdHk0GAogASgFEg8KB1Jld2Fy", + "ZDUYCyABKAUSEgoKUmV3YXJkUXR5NRgMIAEoBRIPCgdSZXdhcmQ2GA0gASgF", + "EhIKClJld2FyZFF0eTYYDiABKAUiSwoZdGFibGVfVG91ckd1aWRlUXVlc3RH", + "cm91cBIuCgRsaXN0GAEgAygLMiAubm92YS5jbGllbnQuVG91ckd1aWRlUXVl", + "c3RHcm91cCK0BAoEVHJhcBIKCgJJZBgBIAEoBRIMCgROYW1lGAIgASgJEgwK", + "BEZDSWQYAyABKAUSDQoFTW9kZWwYBCABKAkSEgoKTW9kZWxTY2FsZRgFIAEo", + "BRITCgtCdWZmRlhTY2FsZRgGIAEoBRIVCg1Db2xsaWRlclNjYWxlGAcgASgF", + "EhMKC0F0dHJpYnV0ZUlkGAggASgJEhAKCFRlbXBsZXRlGAkgASgFEg8KB0J1", + "ZmZJZHMYCiADKAUSFgoOVHVybk9mZkJ1ZmZJZHMYCyADKAUSFQoNVHVybk9u", + "QnVmZklkcxgMIAMoBRIWCg5JbnRlcnJ1cHRTa2lsbBgNIAEoCBIPCgdTdWJU", + "eXBlGA4gASgFEg8KB0ZhY3Rpb24YDyABKAUSDgoGRmlsdGVyGBAgAygFEhcK", + "D0lnbm9yZUNvbGxpc2lvbhgRIAEoCBIRCglBY3RpdmVFZmYYEiABKAkSEQoJ", + "U2hhcGVUeXBlGBMgASgFEg0KBXdpZHRoGBQgASgCEg4KBmxlbmd0aBgVIAEo", + "AhIOCgZyYWRpdXMYFiABKAISEwoLaW5uZXJSYWRpdXMYFyABKAISDQoFYW5n", + "bGUYGCABKAISDgoGb2Zmc2V0GBkgAygCEhAKCHJvdGF0aW9uGBogASgCEg4K", + "BmlzTW92ZRgbIAEoCBIPCgdpc0Jsb2NrGBwgASgIEg4KBk1vdkFjYxgdIAEo", + "BRIOCgZSb3RTcGQYHiABKAUSDwoHTW92ZVNwZBgfIAEoBSItCgp0YWJsZV9U", + "cmFwEh8KBGxpc3QYASADKAsyES5ub3ZhLmNsaWVudC5UcmFwIlAKDVRyYXBB", + "dHRyaWJ1dGUSCgoCSWQYASABKAUSDwoHVHJpZ2dlchgCIAEoCBISCgpUcmln", + "Z2VySURzGAMgAygFEg4KBkZpbHRlchgEIAMoBSI/ChN0YWJsZV9UcmFwQXR0", + "cmlidXRlEigKBGxpc3QYASADKAsyGi5ub3ZhLmNsaWVudC5UcmFwQXR0cmli", + "dXRlIo0BChBUcmF2ZWxlckR1ZWxCb3NzEgoKAklkGAEgASgFEgwKBE5hbWUY", + "AiABKAkSHAoUVHJhdmVsZXJEdWVsQm9zc1R5cGUYAyABKAUSDwoHRXBpc29k", + "ZRgEIAEoCRINCgVJbWFnZRgFIAEoCRINCgVDb3ZlchgGIAEoCRISCgpTaG93", + "UmV3YXJkGAcgAygFIkUKFnRhYmxlX1RyYXZlbGVyRHVlbEJvc3MSKwoEbGlz", + "dBgBIAMoCzIdLm5vdmEuY2xpZW50LlRyYXZlbGVyRHVlbEJvc3Mi2wMKFVRy", + "YXZlbGVyRHVlbEJvc3NMZXZlbBIKCgJJZBgBIAEoBRIOCgZCb3NzSWQYAiAB", + "KAUSEgoKRGlmZmljdWx0eRgDIAEoBRIMCgROYW1lGAQgASgJEgwKBERlc2MY", + "BSABKAkSFgoOU3VnZ2VzdGVkUG93ZXIYBiABKAUSGgoSUmVjb21tZW5kQnVp", + "bGRSYW5rGAcgASgFEgsKA0VFVBgIIAMoBRIRCglUaW1lbGltaXQYCSABKAUS", + "HQoVUHJldmlld01vbnN0ZXJHcm91cElkGAogASgFEg8KB0Zsb29ySWQYCyAB", + "KAUSEgoKUHJlTGV2ZWxJZBgMIAEoBRIUCgxQcmVMZXZlbFN0YXIYDSABKAUS", + "GAoQVW5sb2NrV29ybGRDbGFzcxgOIAEoBRIXCg9VbmxvY2tEdWVsTGV2ZWwY", + "DyABKAUSDwoHRHVlbEV4cBgQIAEoBRIYChBCYXNlQXdhcmRQcmV2aWV3GBEg", + "ASgJEhAKCEFmZmluaXR5GBIgASgFEgwKBEljb24YEyABKAkSEQoJU2tpbGxT", + "aG93GBQgAygFEg0KBUNvdmVyGBUgASgJEg4KBlNraW5JZBgWIAEoBRIYChBF", + "eHRyYURyb3BQcmV2aWV3GBcgAygFIk8KG3RhYmxlX1RyYXZlbGVyRHVlbEJv", + "c3NMZXZlbBIwCgRsaXN0GAEgAygLMiIubm92YS5jbGllbnQuVHJhdmVsZXJE", + "dWVsQm9zc0xldmVsIpsCChpUcmF2ZWxlckR1ZWxDaGFsbGVuZ2VBZmZpeBIK", + "CgJJZBgBIAEoBRIPCgdHcm91cElkGAIgASgFEhIKCkRpZmZpY3VsdHkYAyAB", + "KAUSGAoQVW5sb2NrV29ybGRDbGFzcxgEIAEoBRIXCg9VbmxvY2tEdWVsTGV2", + "ZWwYBSABKAUSGAoQVW5sb2NrRGlmZmljdWx0eRgGIAEoBRIMCgROYW1lGAcg", + "ASgJEgwKBERlc2MYCCABKAkSDAoESWNvbhgJIAEoCRIPCgdFbGVtZW50GAog", + "ASgFEg8KB0FkZENhbXAYCyADKAUSEAoIQWRkQ2xhc3MYDCADKAUSDwoHU2tp", + "bGxJZBgNIAEoBRIQCghCcmFuY2hJZBgOIAEoBSJZCiB0YWJsZV9UcmF2ZWxl", + "ckR1ZWxDaGFsbGVuZ2VBZmZpeBI1CgRsaXN0GAEgAygLMicubm92YS5jbGll", + "bnQuVHJhdmVsZXJEdWVsQ2hhbGxlbmdlQWZmaXgigQEKH1RyYXZlbGVyRHVl", + "bENoYWxsZW5nZURpZmZpY3VsdHkSCgoCSWQYASABKAUSDAoEQXR0chgCIAEo", + "BRIQCghFZmZlY3RJZBgDIAMoBRIWCg5SZWNvbW1lbmRTY29yZRgEIAEoBRIa", + "ChJSZWNvbW1lbmRCdWlsZFJhbmsYBSABKAUiYwoldGFibGVfVHJhdmVsZXJE", + "dWVsQ2hhbGxlbmdlRGlmZmljdWx0eRI6CgRsaXN0GAEgAygLMiwubm92YS5j", + "bGllbnQuVHJhdmVsZXJEdWVsQ2hhbGxlbmdlRGlmZmljdWx0eSLIAgoaVHJh", + "dmVsZXJEdWVsQ2hhbGxlbmdlUXVlc3QSCgoCSWQYASABKAUSDwoHR3JvdXBJ", + "ZBgCIAEoBRINCgVUaXRsZRgDIAEoCRIMCgREZXNjGAQgASgJEg4KBkp1bXBU", + "bxgFIAEoBRINCgVPcmRlchgGIAEoBRIVCg1BY2NlcHRQYXJhbXMyGAcgASgJ", + "EhQKDENvbXBsZXRlQ29uZBgIIAEoBRIaChJDb21wbGV0ZUNvbmRQYXJhbXMY", + "CSABKAkSFQoNQXdhcmRJdGVtVGlkMRgKIAEoBRIVCg1Bd2FyZEl0ZW1OdW0x", + "GAsgASgFEhUKDUF3YXJkSXRlbVRpZDIYDCABKAUSFQoNQXdhcmRJdGVtTnVt", + "MhgNIAEoBRIVCg1Bd2FyZEl0ZW1UaWQzGA4gASgFEhUKDUF3YXJkSXRlbU51", + "bTMYDyABKAUiWQogdGFibGVfVHJhdmVsZXJEdWVsQ2hhbGxlbmdlUXVlc3QS", + "NQoEbGlzdBgBIAMoCzInLm5vdmEuY2xpZW50LlRyYXZlbGVyRHVlbENoYWxs", + "ZW5nZVF1ZXN0IpwBCh9UcmF2ZWxlckR1ZWxDaGFsbGVuZ2VSYW5rUmV3YXJk", + "EgoKAklkGAEgASgFEhEKCVJhbmtMb3dlchgCIAEoBRIVCg1Bd2FyZEl0ZW1U", + "aWQxGAMgASgFEhUKDUF3YXJkSXRlbU51bTEYBCABKAUSFQoNQXdhcmRJdGVt", + "VGlkMhgFIAEoBRIVCg1Bd2FyZEl0ZW1OdW0yGAYgASgFImMKJXRhYmxlX1Ry", + "YXZlbGVyRHVlbENoYWxsZW5nZVJhbmtSZXdhcmQSOgoEbGlzdBgBIAMoCzIs", + "Lm5vdmEuY2xpZW50LlRyYXZlbGVyRHVlbENoYWxsZW5nZVJhbmtSZXdhcmQi", + "owEKG1RyYXZlbGVyRHVlbENoYWxsZW5nZVNlYXNvbhIKCgJJZBgBIAEoBRIO", + "CgZCb3NzSWQYAiABKAUSFQoNQWZmaXhHcm91cElkcxgDIAEoCRIUCgxRdWVz", + "dEdyb3VwSWQYBCABKAUSGAoQQmFja0dyb3VuZFNvdXJjZRgFIAEoCRIQCghP", + "cGVuVGltZRgGIAEoCRIPCgdFbmRUaW1lGAcgASgJIlsKIXRhYmxlX1RyYXZl", + "bGVyRHVlbENoYWxsZW5nZVNlYXNvbhI2CgRsaXN0GAEgAygLMigubm92YS5j", + "bGllbnQuVHJhdmVsZXJEdWVsQ2hhbGxlbmdlU2Vhc29uIq0BChFUcmF2ZWxl", + "ckR1ZWxGbG9vchIKCgJJZBgBIAEoBRIRCglTY2VuZU5hbWUYAiABKAkSGAoQ", + "Q29uZmlnUHJlZmFiTmFtZRgDIAEoCRINCgVUaGVtZRgEIAEoBRILCgNCR00Y", + "BSABKAkSGQoRTGVhdmVUcmlnZ2VyRXZlbnQYBiABKAkSEQoJTW9uc3Rlckx2", + "GAcgASgFEhUKDUludHJvQ3V0c2NlbmUYCCABKAkiRwoXdGFibGVfVHJhdmVs", + "ZXJEdWVsRmxvb3ISLAoEbGlzdBgBIAMoCzIeLm5vdmEuY2xpZW50LlRyYXZl", + "bGVyRHVlbEZsb29yIk0KEVRyYXZlbGVyRHVlbExldmVsEgoKAklkGAEgASgF", + "EhIKCkxldmVsVXBFeHAYAiABKAUSGAoQQ29pbkFkZGl0aW9uUHJvYhgDIAEo", + "BSJHChd0YWJsZV9UcmF2ZWxlckR1ZWxMZXZlbBIsCgRsaXN0GAEgAygLMh4u", + "bm92YS5jbGllbnQuVHJhdmVsZXJEdWVsTGV2ZWwirgIKEVRyYXZlbGVyRHVl", + "bFF1ZXN0EgoKAklkGAEgASgFEg0KBVRpdGxlGAIgASgJEgwKBERlc2MYAyAB", + "KAkSDgoGSnVtcFRvGAQgASgFEg0KBU9yZGVyGAUgASgFEhUKDUFjY2VwdFBh", + "cmFtczIYBiABKAkSFAoMQ29tcGxldGVDb25kGAcgASgFEhoKEkNvbXBsZXRl", + "Q29uZFBhcmFtcxgIIAEoCRIVCg1Bd2FyZEl0ZW1UaWQxGAkgASgFEhUKDUF3", + "YXJkSXRlbU51bTEYCiABKAUSFQoNQXdhcmRJdGVtVGlkMhgLIAEoBRIVCg1B", + "d2FyZEl0ZW1OdW0yGAwgASgFEhUKDUF3YXJkSXRlbVRpZDMYDSABKAUSFQoN", + "QXdhcmRJdGVtTnVtMxgOIAEoBSJHChd0YWJsZV9UcmF2ZWxlckR1ZWxRdWVz", + "dBIsCgRsaXN0GAEgAygLMh4ubm92YS5jbGllbnQuVHJhdmVsZXJEdWVsUXVl", + "c3QipwIKClRyaWFsQnVpbGQSCgoCSWQYASABKAUSDAoETmFtZRgCIAEoCRIN", + "CgVTY29yZRgDIAEoBRIMCgRDaGFyGAQgAygFEgwKBERpc2MYBSADKAUSEQoJ", + "UG90ZW50aWFsGAYgASgJEhgKEERpc2NDb21tb25Ta2lsbDEYByABKAkSGAoQ", + "RGlzY0NvbW1vblNraWxsMhgIIAEoCRIYChBEaXNjQ29tbW9uU2tpbGwzGAkg", + "ASgJEhkKEURpc2NQYXNzaXZlU2tpbGwxGAogASgJEhkKEURpc2NQYXNzaXZl", + "U2tpbGwyGAsgASgJEhkKEURpc2NQYXNzaXZlU2tpbGwzGAwgASgJEhQKDEhh", + "cm1vbnlTa2lsbBgNIAEoCRIMCgROb3RlGA4gASgJIjkKEHRhYmxlX1RyaWFs", + "QnVpbGQSJQoEbGlzdBgBIAMoCzIXLm5vdmEuY2xpZW50LlRyaWFsQnVpbGQi", + "kwEKDlRyaWFsQ2hhcmFjdGVyEgoKAklkGAEgASgFEgwKBE5hbWUYAiABKAkS", + "DgoGQ2hhcklkGAMgASgFEhUKDUNoYXJhY3RlclNraW4YBCABKAUSDQoFQnJl", + "YWsYBSABKAUSDQoFTGV2ZWwYBiABKAUSEgoKU2tpbGxMZXZlbBgHIAMoBRIO", + "CgZUYWxlbnQYCCADKAUiQQoUdGFibGVfVHJpYWxDaGFyYWN0ZXISKQoEbGlz", + "dBgBIAMoCzIbLm5vdmEuY2xpZW50LlRyaWFsQ2hhcmFjdGVyIlMKCVRyaWFs", + "RGlzYxIKCgJJZBgBIAEoBRIOCgZEaXNjSWQYAiABKAUSDQoFUGhhc2UYAyAB", + "KAUSDQoFTGV2ZWwYBCABKAUSDAoEU3RhchgFIAEoBSI3Cg90YWJsZV9Ucmlh", + "bERpc2MSJAoEbGlzdBgBIAMoCzIWLm5vdmEuY2xpZW50LlRyaWFsRGlzYyIi", + "CgZVSVRleHQSCgoCSWQYASABKAkSDAoEVGV4dBgCIAEoCSIxCgx0YWJsZV9V", + "SVRleHQSIQoEbGlzdBgBIAMoCzITLm5vdmEuY2xpZW50LlVJVGV4dCLCAwoW", + "VmFtcGlyZUJhdHRsZVRocmVzaG9sZBIRCglNaXNzaW9uSWQYASABKAUSDwoH", + "VmVyc2lvbhgCIAEoBRISCgpmcm9tU3JjQXRrGAMgASgFEh4KFmZyb21QZXJr", + "SW50ZW5zaXR5UmF0aW8YBCABKAUSGAoQZnJvbVNsb3REbWdSYXRpbxgFIAEo", + "BRIOCgZmcm9tRUUYBiABKAUSFwoPZnJvbUdlbkRtZ1JhdGlvGAcgASgFEhMK", + "C2Zyb21EbWdQbHVzGAggASgFEhUKDWZyb21Dcml0UmF0aW8YCSABKAUSGQoR", + "ZnJvbUZpbmFsRG1nUmF0aW8YCiABKAUSGAoQZnJvbUZpbmFsRG1nUGx1cxgL", + "IAEoBRIRCgl0b0VyQW1lbmQYDCABKAUSEgoKdG9EZWZBbWVuZBgNIAEoBRIZ", + "ChF0b1JjZFNsb3REbWdSYXRpbxgOIAEoBRIPCgd0b0VFUkNEGA8gASgFEhgK", + "EHRvR2VuRG1nUmNkUmF0aW8YECABKAUSFAoMdG9EbWdQbHVzUmNkGBEgASgF", + "EgsKA0RtZxgSIAEoBRIQCghDcml0UmF0ZRgTIAEoBRIKCgJIcBgUIAEoBSJR", + "Chx0YWJsZV9WYW1waXJlQmF0dGxlVGhyZXNob2xkEjEKBGxpc3QYASADKAsy", + "Iy5ub3ZhLmNsaWVudC5WYW1waXJlQmF0dGxlVGhyZXNob2xkIoUBChBWYW1w", + "aXJlRW5lbXlQb29sEg4KBlBvb2xJZBgBIAEoBRIPCgdXYXZlTnVtGAIgASgF", + "EhQKDE1vbnN0ZXJMZXZlbBgDIAEoBRISCgpFbmVteVNldElEGAQgASgFEhQK", + "DFdhdmVLZWVwVGltZRgFIAEoBRIQCghQb29sVHlwZRgGIAEoBSJFChZ0YWJs", + "ZV9WYW1waXJlRW5lbXlQb29sEisKBGxpc3QYASADKAsyHS5ub3ZhLmNsaWVu", + "dC5WYW1waXJlRW5lbXlQb29sIpUCCg9WYW1waXJlRW5lbXlTZXQSDQoFU2V0", + "SWQYASABKAUSEAoIR3JvdXBOdW0YAiABKAUSEQoJTW9uc3RlcklkGAMgASgF", + "EhMKC0xldmVsQ2hhbmdlGAQgASgFEhEKCURlbGF5VGltZRgFIAEoBRIOCgZN", + "YXhOdW0YBiABKAUSDwoHQWRkRGF0YRgHIAMoBRIZChFNYXhOdW1JbXByb3Zl", + "RGF0YRgIIAMoBRIYChBNb25zdGVyU3Bhd25UeXBlGAkgASgFEhQKDE1vbnN0", + "ZXJQb2ludBgKIAEoBRIPCgdEcm9wRXhwGAsgAygFEhEKCURyb3BDaGVzdBgM", + "IAMoBRIWCg5Nb25zdGVyV2FybmluZxgNIAEoBSJDChV0YWJsZV9WYW1waXJl", + "RW5lbXlTZXQSKgoEbGlzdBgBIAMoCzIcLm5vdmEuY2xpZW50LlZhbXBpcmVF", + "bmVteVNldCJKChJWYW1waXJlRW5lbXlTcEF0dHISCgoCSWQYASABKAUSEwoL", + "UmVmRGlzdGFuY2UYAiADKAUSEwoLUmVmSW50ZXJ2YWwYAyADKAUiSQoYdGFi", + "bGVfVmFtcGlyZUVuZW15U3BBdHRyEi0KBGxpc3QYASADKAsyHy5ub3ZhLmNs", + "aWVudC5WYW1waXJlRW5lbXlTcEF0dHIi6wEKDFZhbXBpcmVGbG9vchIKCgJJ", + "ZBgBIAEoBRINCgVNYXBJZBgCIAEoBRIRCglXYXZlQ291bnQYAyADKAUSFwoP", + "Rmlyc3RIYWxmUG9vbElkGAQgASgFEhEKCUZIQWZmaXhJZBgFIAMoBRIQCghG", + "SEJvc3NJZBgGIAEoBRIYChBTZWNvbmRIYWxmUG9vbElkGAcgASgFEhEKCVNI", + "QWZmaXhJZBgIIAMoBRIQCghTSEJvc3NJZBgJIAEoBRIZChFTcGVjaWFsRW5l", + "bXlTZXRJZBgKIAEoCRIVCg1UcmVhc3VyZVNldElkGAsgASgJIj0KEnRhYmxl", + "X1ZhbXBpcmVGbG9vchInCgRsaXN0GAEgAygLMhkubm92YS5jbGllbnQuVmFt", + "cGlyZUZsb29yInwKClZhbXBpcmVNYXASCgoCSWQYASABKAUSEQoJU2NlbmVO", + "YW1lGAIgASgJEhgKEENvbmZpZ1ByZWZhYk5hbWUYAyABKAkSDQoFVGhlbWUY", + "BCABKAUSCwoDQkdNGAUgASgJEhkKEUxlYXZlVHJpZ2dlckV2ZW50GAYgASgJ", + "IjkKEHRhYmxlX1ZhbXBpcmVNYXASJQoEbGlzdBgBIAMoCzIXLm5vdmEuY2xp", + "ZW50LlZhbXBpcmVNYXAijgEKEVZhbXBpcmVSYW5rUmV3YXJkEgoKAklkGAEg", + "ASgFEhEKCVJhbmtMb3dlchgCIAEoBRIVCg1Bd2FyZEl0ZW1UaWQxGAMgASgF", + "EhUKDUF3YXJkSXRlbU51bTEYBCABKAUSFQoNQXdhcmRJdGVtVGlkMhgFIAEo", + "BRIVCg1Bd2FyZEl0ZW1OdW0yGAYgASgFIkcKF3RhYmxlX1ZhbXBpcmVSYW5r", + "UmV3YXJkEiwKBGxpc3QYASADKAsyHi5ub3ZhLmNsaWVudC5WYW1waXJlUmFu", + "a1Jld2FyZCJpChFWYW1waXJlUmFua1NlYXNvbhIKCgJJZBgBIAEoBRIRCglN", + "aXNzaW9uSWQYAiABKAUSEAoIT3BlblRpbWUYAyABKAkSDwoHRW5kVGltZRgE", + "IAEoCRISCgpRdWVzdEdyb3VwGAUgASgFIkcKF3RhYmxlX1ZhbXBpcmVSYW5r", + "U2Vhc29uEiwKBGxpc3QYASADKAsyHi5ub3ZhLmNsaWVudC5WYW1waXJlUmFu", + "a1NlYXNvbiLCBQoPVmFtcGlyZVN1cnZpdm9yEgoKAklkGAEgASgFEgwKBE5h", + "bWUYAiABKAkSDAoERGVzYxgDIAEoCRILCgNFRVQYBCADKAUSDgoGTm90RUVU", + "GAUgAygFEhYKDlN1Z2dlc3RlZFBvd2VyGAYgASgFEhoKElJlY29tbWVuZEJ1", + "aWxkUmFuaxgHIAEoBRIMCgRUeXBlGAggASgFEhIKClByZUxldmVsSWQYCSAB", + "KAUSFgoOTmVlZFdvcmxkQ2xhc3MYCiABKAUSGQoRRmlyc3RRdWVzdEdyb3Vw", + "SWQYCyABKAUSFAoMTGV2ZWxHcm91cElkGAwgASgFEg8KB0Zsb29ySWQYDSAB", + "KAUSFAoMTm9ybWFsU2NvcmUxGA4gASgFEhMKC0VsaXRlU2NvcmUxGA8gASgF", + "EhIKCkJvc3NTY29yZTEYECABKAUSEgoKVGltZVNjb3JlMRgRIAEoBRISCgpU", + "aW1lTGltaXQxGBIgASgFEhQKDE5vcm1hbFNjb3JlMhgTIAEoBRITCgtFbGl0", + "ZVNjb3JlMhgUIAEoBRISCgpCb3NzU2NvcmUyGBUgASgFEhIKClRpbWVTY29y", + "ZTIYFiABKAUSEgoKVGltZUxpbWl0MhgXIAEoBRIRCglFRVRTY29yZTEYGCAD", + "KAUSEQoJRUVUU2NvcmUyGBkgAygFEh8KF0ZIUHJldmlld01vbnN0ZXJHcm91", + "cElkGBogASgFEh8KF1NIUHJldmlld01vbnN0ZXJHcm91cElkGBsgASgFEhQK", + "DENvdmVyRXBpc29kZRgcIAEoCRIPCgdFcGlzb2RlGB0gASgJEhAKCEVwaXNv", + "ZGUyGB4gASgJEhYKDkZhdGVDYXJkQnVuZGxlGB8gAygFEhYKDlNwZWNpYUZh", + "dGVDYXJkGCAgASgJEhsKE1NwZWNpYUZhdGVDYXJkUGFyYW0YISABKAkiQwoV", + "dGFibGVfVmFtcGlyZVN1cnZpdm9yEioKBGxpc3QYASADKAsyHC5ub3ZhLmNs", + "aWVudC5WYW1waXJlU3Vydml2b3IiQwoUVmFtcGlyZVN1cnZpdm9yTGV2ZWwS", + "DwoHR3JvdXBJRBgBIAEoBRINCgVMZXZlbBgCIAEoBRILCgNFeHAYAyABKAUi", + "TQoadGFibGVfVmFtcGlyZVN1cnZpdm9yTGV2ZWwSLwoEbGlzdBgBIAMoCzIh", + "Lm5vdmEuY2xpZW50LlZhbXBpcmVTdXJ2aXZvckxldmVsIrkCChRWYW1waXJl", + "U3Vydml2b3JRdWVzdBIKCgJJZBgBIAEoBRIPCgdHcm91cElkGAIgASgFEg0K", + "BVRpdGxlGAMgASgJEgwKBERlc2MYBCABKAkSDgoGSnVtcFRvGAUgASgFEg0K", + "BU9yZGVyGAYgASgFEgwKBFR5cGUYByABKAUSFAoMQ29tcGxldGVDb25kGAgg", + "ASgFEhoKEkNvbXBsZXRlQ29uZFBhcmFtcxgJIAEoCRIVCg1Bd2FyZEl0ZW1U", + "aWQxGAogASgFEhUKDUF3YXJkSXRlbU51bTEYCyABKAUSFQoNQXdhcmRJdGVt", + "VGlkMhgMIAEoBRIVCg1Bd2FyZEl0ZW1OdW0yGA0gASgFEhUKDUF3YXJkSXRl", + "bVRpZDMYDiABKAUSFQoNQXdhcmRJdGVtTnVtMxgPIAEoBSJNChp0YWJsZV9W", + "YW1waXJlU3Vydml2b3JRdWVzdBIvCgRsaXN0GAEgAygLMiEubm92YS5jbGll", + "bnQuVmFtcGlyZVN1cnZpdm9yUXVlc3QiygEKDVZhbXBpcmVUYWxlbnQSCgoC", + "SWQYASABKAUSDAoETmFtZRgCIAEoCRIPCgdEZXNjVGFnGAMgASgFEg0KBVBh", + "cmFtGAQgASgFEgwKBFByZXYYBSADKAUSEAoISXNTZXJ2ZXIYBiABKAgSEAoI", + "SXNDbGllbnQYByABKAgSDgoGRWZmZWN0GAggASgFEg4KBlBhcmFtcxgJIAEo", + "CRINCgVQb2ludBgKIAEoBRIMCgRJY29uGAsgASgJEhAKCEVmZmVjdElkGAwg", + "ASgFIj8KE3RhYmxlX1ZhbXBpcmVUYWxlbnQSKAoEbGlzdBgBIAMoCzIaLm5v", + "dmEuY2xpZW50LlZhbXBpcmVUYWxlbnQiLAoRVmFtcGlyZVRhbGVudERlc2MS", + "CgoCSWQYASABKAUSCwoDTnVtGAIgASgJIkcKF3RhYmxlX1ZhbXBpcmVUYWxl", + "bnREZXNjEiwKBGxpc3QYASADKAsyHi5ub3ZhLmNsaWVudC5WYW1waXJlVGFs", + "ZW50RGVzYyI/ChJWYW1waXJlVGFsZW50Rmxvb3ISCgoCSWQYASABKAUSCwoD", + "TnVtGAIgASgFEhAKCFRhbGVudElkGAMgAygFIkkKGHRhYmxlX1ZhbXBpcmVU", + "YWxlbnRGbG9vchItCgRsaXN0GAEgAygLMh8ubm92YS5jbGllbnQuVmFtcGly", + "ZVRhbGVudEZsb29yInEKC1ZvRGlyZWN0b3J5EgoKAklkGAEgASgFEhIKCnZv", + "UmVzb3VyY2UYAiABKAkSEwoLY2hhcmFjdGVySWQYAyABKAUSDgoGdm90eXBl", + "GAQgASgJEg0KBWxpbmVzGAUgASgJEg4KBm1vdGlvbhgGIAEoCSI7ChF0YWJs", + "ZV9Wb0RpcmVjdG9yeRImCgRsaXN0GAEgAygLMhgubm92YS5jbGllbnQuVm9E", + "aXJlY3RvcnkiQQoPV2VpZ2h0UGFyYW1ldGVyEgoKAmlkGAEgASgFEhIKClBy", + "b3BvcnRpb24YAiABKAUSDgoGZWZmZWN0GAMgASgFIkMKFXRhYmxlX1dlaWdo", + "dFBhcmFtZXRlchIqCgRsaXN0GAEgAygLMhwubm92YS5jbGllbnQuV2VpZ2h0", + "UGFyYW1ldGVyIu0BCgRXb3JkEgoKAklkGAEgASgFEg0KBVRpdGxlGAIgASgJ", + "EgwKBERlc2MYAyABKAkSDQoFQ29sb3IYBCABKAkSDAoESWNvbhgFIAEoCRIO", + "CgZQYXJhbTEYBiABKAkSDgoGUGFyYW0yGAcgASgJEg4KBlBhcmFtMxgIIAEo", + "CRIOCgZQYXJhbTQYCSABKAkSDgoGUGFyYW01GAogASgJEg4KBlBhcmFtNhgL", + "IAEoCRIOCgZQYXJhbTcYDCABKAkSDgoGUGFyYW04GA0gASgJEg4KBlBhcmFt", + "ORgOIAEoCRIPCgdQYXJhbTEwGA8gASgJIi0KCnRhYmxlX1dvcmQSHwoEbGlz", + "dBgBIAMoCzIRLm5vdmEuY2xpZW50LldvcmQi8gEKCVdvcmRTdXBlchIKCgJJ", + "ZBgBIAEoBRINCgVUaXRsZRgCIAEoCRINCgVDb2xvchgDIAEoCRIMCgRJY29u", + "GAQgASgJEgwKBERlc2MYBSABKAkSDgoGUGFyYW0xGAYgASgJEg4KBlBhcmFt", + "MhgHIAEoCRIOCgZQYXJhbTMYCCABKAkSDgoGUGFyYW00GAkgASgJEg4KBlBh", + "cmFtNRgKIAEoCRIOCgZQYXJhbTYYCyABKAkSDgoGUGFyYW03GAwgASgJEg4K", + "BlBhcmFtOBgNIAEoCRIOCgZQYXJhbTkYDiABKAkSDwoHUGFyYW0xMBgPIAEo", + "CSI3Cg90YWJsZV9Xb3JkU3VwZXISJAoEbGlzdBgBIAMoCzIWLm5vdmEuY2xp", + "ZW50LldvcmRTdXBlciJ/CgpXb3JsZENsYXNzEgwKBFJhbmsYASABKAUSCwoD", + "RXhwGAIgASgFEg0KBUxpbWl0GAMgASgFEg0KBUFkZGVkGAQgASgFEhMKC0Rv", + "dWJsZUNvdW50GAUgASgFEg4KBlJld2FyZBgGIAEoCRITCgtSZXdhcmRMaW1p", + "dBgHIAEoBSI5ChB0YWJsZV9Xb3JsZENsYXNzEiUKBGxpc3QYASADKAsyFy5u", + "b3ZhLmNsaWVudC5Xb3JsZENsYXNzYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Achievement), global::Nova.Client.Achievement.Parser, new[]{ "Id", "AchieveId", "Title", "Desc", "Rarity", "Type", "Hide", "JumpTo", "CompleteCond", "CompleteCondClient", "AimNumShow", "Prerequisites", "LevelType", "ClientCompleteParams1", "ClientCompleteParams2", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Achievement), global::Nova.Client.table_Achievement.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Activity), global::Nova.Client.Activity.Parser, new[]{ "Id", "SortId", "ActivityType", "Name", "PreLimit", "LimitParam", "StartType", "StartTime", "StartCondType", "StartCondParams", "EndType", "EndTime", "EndDuration", "BannerRes", "PopUpRes", "TabBgRes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Activity), global::Nova.Client.table_Activity.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AddBuffAction), global::Nova.Client.AddBuffAction.Parser, new[]{ "Id", "GroupId", "TargetType", "BuffId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AddBuffAction), global::Nova.Client.table_AddBuffAction.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityGift), global::Nova.Client.AffinityGift.Parser, new[]{ "Id", "BaseAffinity", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityGift), global::Nova.Client.table_AffinityGift.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityLevel), global::Nova.Client.AffinityLevel.Parser, new[]{ "Id", "AffinityLevel_", "NeedExp", "TemplateId", "AffinityLevelName", "AffinityLevelIcon", "AffinityLevelRewardIcon", "AffinityLevelRewardLockIcon", "Effect", "AffinityLevelStage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityLevel), global::Nova.Client.table_AffinityLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityQuest), global::Nova.Client.AffinityQuest.Parser, new[]{ "Id", "Desc", "SortId", "CharId", "CompleteCond", "CompleteCondParams", "Reward", "AffinityExp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityQuest), global::Nova.Client.table_AffinityQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AffinityUpReward), global::Nova.Client.AffinityUpReward.Parser, new[]{ "Id", "CharId", "RewardLevel", "Reward1", "Reward2", "Reward3", "DescFront1", "DescFront2", "DescFront3", "DescAfter1", "DescAfter2", "DescAfter3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AffinityUpReward), global::Nova.Client.table_AffinityUpReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Agent), global::Nova.Client.Agent.Parser, new[]{ "Id", "Tab", "Note", "Name", "Desc", "Consignor", "RefreshType", "MemberType", "Level", "BuildScore", "MemberLimit", "Tags", "ExtraTags", "UnlockConditions", "Sort", "Time1", "RewardPreview1", "BonusPreview1", "Time2", "RewardPreview2", "BonusPreview2", "Time3", "RewardPreview3", "BonusPreview3", "Time4", "RewardPreview4", "BonusPreview4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Agent), global::Nova.Client.table_Agent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AgentSpecialPerformance), global::Nova.Client.AgentSpecialPerformance.Parser, new[]{ "Id", "CharId", "Weight", "Avg", "AVGGroupId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AgentSpecialPerformance), global::Nova.Client.table_AgentSpecialPerformance.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AgentTab), global::Nova.Client.AgentTab.Parser, new[]{ "Id", "Name", "Bg", "SpTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AgentTab), global::Nova.Client.table_AgentTab.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AI), global::Nova.Client.AI.Parser, new[]{ "Id", "FCSpawn", "FCIdle", "FCAction", "FCLostControl", "FCDeath", "FCGlobal", "FCComboGroup" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AI), global::Nova.Client.table_AI.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AreaEffect), global::Nova.Client.AreaEffect.Parser, new[]{ "AreaTag", "MaxCount", "OverLimitType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AreaEffect), global::Nova.Client.table_AreaEffect.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Attribute), global::Nova.Client.Attribute.Parser, new[]{ "Id", "GroupId", "Break", "Lvl", "Atk", "Hp", "Def", "CritRate", "NormalCritRate", "SkillCritRate", "UltraCritRate", "MarkCritRate", "SummonCritRate", "ProjectileCritRate", "OtherCritRate", "CritResistance", "CritPower", "NormalCritPower", "SkillCritPower", "UltraCritPower", "MarkCritPower", "SummonCritPower", "ProjectileCritPower", "OtherCritPower", "HitRate", "Evd", "DefPierce", "DefIgnore", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEI", "FEI", "SEI", "AEI", "LEI", "DEI", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "ToughnessDamageAdjust", "Toughness", "Suppress", "NORMALDMG", "SKILLDMG", "ULTRADMG", "OTHERDMG", "RCDNORMALDMG", "RCDSKILLDMG", "RCDULTRADMG", "RCDOTHERDMG", "MARKDMG", "RCDMARKDMG", "SUMMONDMG", "RCDSUMMONDMG", "PROJECTILEDMG", "RCDPROJECTILEDMG", "GENDMG", "DMGPLUS", "FINALDMG", "FINALDMGPLUS", "WEERCD", "FEERCD", "SEERCD", "AEERCD", "LEERCD", "DEERCD", "GENDMGRCD", "DMGPLUSRCD" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Attribute), global::Nova.Client.table_Attribute.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AttributeLimit), global::Nova.Client.AttributeLimit.Parser, new[]{ "Id", "Lower", "Upper", "IsLimited" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_AttributeLimit), global::Nova.Client.table_AttributeLimit.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePass), global::Nova.Client.BattlePass.Parser, new[]{ "ID", "Name", "StartTime", "EndTime", "LuxuryProductId", "LuxuryPrice", "LuxuryBonusLevel", "LuxuryTid", "LuxuryQty", "PremiumProductId", "PremiumPrice", "PremiumTid", "PremiumQty", "ComplementaryProductId", "ComplementaryPrice", "ComplementaryTid", "ComplementaryQty", "Cover", "PremiumShowItems", "LuxuryShowItems", "OutfitPackageShowItem" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePass), global::Nova.Client.table_BattlePass.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePassLevel), global::Nova.Client.BattlePassLevel.Parser, new[]{ "ID", "Exp", "Tid", "Qty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePassLevel), global::Nova.Client.table_BattlePassLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePassQuest), global::Nova.Client.BattlePassQuest.Parser, new[]{ "Id", "Type", "Title", "JumpTo", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePassQuest), global::Nova.Client.table_BattlePassQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattlePassReward), global::Nova.Client.BattlePassReward.Parser, new[]{ "ID", "Level", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Focus" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattlePassReward), global::Nova.Client.table_BattlePassReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BattleThreshold), global::Nova.Client.BattleThreshold.Parser, new[]{ "MissionId", "Version", "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BattleThreshold), global::Nova.Client.table_BattleThreshold.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.BoardNPC), global::Nova.Client.BoardNPC.Parser, new[]{ "Id", "Name", "Alias", "DefaultSkinId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BoardNPC), global::Nova.Client.table_BoardNPC.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Buff), global::Nova.Client.Buff.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "GroupId", "ReduceTime", "BuffTag1", "BuffTag2", "BuffTag3", "BuffTag4", "BuffTag5", "BindEffect", "Icon", "IsShow", "TopofHeadEffect", "BuffNumEffectLevel", "NotRemove" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Buff), global::Nova.Client.table_Buff.Parser, new[]{ "List" }, null, null, null, null), + 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), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_BuffValue), global::Nova.Client.table_BuffValue.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chapter), global::Nova.Client.Chapter.Parser, new[]{ "Id", "Name", "Desc", "ChapterType", "WorldClass", "PrevMainlines", "CompleteRewards", "ChapterImg", "ChapterIcon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Chapter), global::Nova.Client.table_Chapter.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Character), global::Nova.Client.Character.Parser, new[]{ "Id", "Name", "Visible", "Available", "Grade", "DefaultSkinId", "AdvanceSkinId", "AdvanceGroup", "AdvanceSkinUnlockLevel", "Faction", "Weight", "EET", "Class", "CharacterAttackType", "SearchTargetType", "AtkSpd", "MovType", "WalkSpd", "RunSpd", "SpRunSpd", "TransSpd", "WalkToRunDuration", "DodgeToRunAccelerationOrNot", "MovAcc", "RotSpd", "RotAcc", "VisionDeg", "VisionRng", "VisionAttackRng", "HearRng", "HearAttackRng", "RaiseGunRng", "BulletType", "Ammo", "AIId", "NormalAtkId", "DodgeId", "SkillId", "SpecialSkillId", "UltimateId", "AssistAIId", "AssistNormalAtkId", "AssistDodgeId", "AssistSkillId", "AssistSpecialSkillId", "AssistUltimateId", "TalentSkillId", "AssistSkillOnStageType", "AssistSkillAngle", "AssistSkillRadius", "AssistSkillOnStageOrientation", "AssistUltimateOnStageType", "AssistUltimateAngle", "AssistUltimateRadius", "AssistUltimateOnStageOrientation", "SwitchCD", "EnergyConvRatio", "EnergyEfficiency", "FragmentsId", "TransformQty", "RecruitmentQty", "AttributeId", "PresentsTraitId", "SkillsUpgradeGroup" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Character), global::Nova.Client.table_Character.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterAdvance), global::Nova.Client.CharacterAdvance.Parser, new[]{ "Id", "Group", "AdvanceLvl", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Tid4", "Qty4", "GoldQty", "AwardTid1", "AwardQty1", "AwardTid2", "AwardQty2", "AwardTid3", "AwardQty3", "AdvanceDescFront1", "AdvanceDescAfter1", "AdvanceDescFront2", "AdvanceDescAfter2", "AdvanceDescFront3", "AdvanceDescAfter3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterAdvance), global::Nova.Client.table_CharacterAdvance.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchive), global::Nova.Client.CharacterArchive.Parser, new[]{ "Id", "ArchType", "CharacterId", "UnlockAffinityLevel", "RecordId", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchive), global::Nova.Client.table_CharacterArchive.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchiveBaseInfo), global::Nova.Client.CharacterArchiveBaseInfo.Parser, new[]{ "Id", "CharacterId", "Title", "Content", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchiveBaseInfo), global::Nova.Client.table_CharacterArchiveBaseInfo.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchiveContent), global::Nova.Client.CharacterArchiveContent.Parser, new[]{ "Id", "Title", "Content" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchiveContent), global::Nova.Client.table_CharacterArchiveContent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterArchiveVoice), global::Nova.Client.CharacterArchiveVoice.Parser, new[]{ "Id", "CharacterId", "UnlockAffinityLevel", "UnlockPlot", "Title", "Source", "ArchVoiceType", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterArchiveVoice), global::Nova.Client.table_CharacterArchiveVoice.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterCG), global::Nova.Client.CharacterCG.Parser, new[]{ "Id", "FullScreenPortrait", "FullScreenL2D", "UnlockPlot", "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterCG), global::Nova.Client.table_CharacterCG.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterDes), global::Nova.Client.CharacterDes.Parser, new[]{ "Id", "Alias", "CnCv", "JpCv", "CharColor", "CharSkillColor", "CharDes", "Tag", "Force", "PreferTags", "HateTags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterDes), global::Nova.Client.table_CharacterDes.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkillUpgrade), global::Nova.Client.CharacterSkillUpgrade.Parser, new[]{ "Id", "Group", "AdvanceNum", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3", "Tid4", "Qty4", "GoldQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkillUpgrade), global::Nova.Client.table_CharacterSkillUpgrade.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkin), global::Nova.Client.CharacterSkin.Parser, new[]{ "Id", "Name", "Desc", "IsShow", "CharId", "Type", "SourceDesc", "Transform", "WalkAnimationSpd", "RunAnimationSpd", "SpRunAnimationSpd", "ModelScale", "ColliderScale", "ModelShowScale", "ModelEndScale", "ForbiddenBehitRot", "Icon", "Portrait", "Bg", "Offset", "L2D", "CharacterCG", "Model", "ModelShow", "ModelEnd", "GachaL2D", "SkinTheme", "EffectScaleValue", "TagEffectScaleValue" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkin), global::Nova.Client.table_CharacterSkin.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkinPanelFace), global::Nova.Client.CharacterSkinPanelFace.Parser, new[]{ "Id", "MainView", "CharInfo", "BattelWin", "BattleLose" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkinPanelFace), global::Nova.Client.table_CharacterSkinPanelFace.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterSkinTheme), global::Nova.Client.CharacterSkinTheme.Parser, new[]{ "Id", "Name", "Desc", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterSkinTheme), global::Nova.Client.table_CharacterSkinTheme.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterTag), global::Nova.Client.CharacterTag.Parser, new[]{ "Id", "Title", "TagType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterTag), global::Nova.Client.table_CharacterTag.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterUpgrade), global::Nova.Client.CharacterUpgrade.Parser, new[]{ "Id", "Rarity", "Level", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterUpgrade), global::Nova.Client.table_CharacterUpgrade.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharacterVoiceControl), global::Nova.Client.CharacterVoiceControl.Parser, new[]{ "Id", "Probability", "ResType", "CombatOnly", "WorldLevelTypes", "Bubble", "Cd", "VoPlayer", "Priority" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharacterVoiceControl), global::Nova.Client.table_CharacterVoiceControl.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharAffinityTemplate), global::Nova.Client.CharAffinityTemplate.Parser, new[]{ "Id", "TemplateId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharAffinityTemplate), global::Nova.Client.table_CharAffinityTemplate.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharGrade), global::Nova.Client.CharGrade.Parser, new[]{ "Grade", "FragmentsQty", "GeneralFragmentId", "SubstituteItemId", "SubstituteItemQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharGrade), global::Nova.Client.table_CharGrade.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharItemExp), global::Nova.Client.CharItemExp.Parser, new[]{ "Id", "ItemId", "ExpValue" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharItemExp), global::Nova.Client.table_CharItemExp.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharPotential), global::Nova.Client.CharPotential.Parser, new[]{ "Id", "MasterSpecificPotentialIds", "AssistSpecificPotentialIds", "CommonPotentialIds", "MasterNormalPotentialIds", "AssistNormalPotentialIds" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharPotential), global::Nova.Client.table_CharPotential.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.CharRaritySequence), global::Nova.Client.CharRaritySequence.Parser, new[]{ "Id", "Grade", "AdvanceLvl", "LvLimit", "WorldClassLimit" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_CharRaritySequence), global::Nova.Client.table_CharRaritySequence.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chat), global::Nova.Client.Chat.Parser, new[]{ "Id", "AddressBookId", "AVGId", "AVGGroupId", "PreChatId", "Priority", "TriggerType", "AutoPopUp", "TriggerCond", "TriggerCondParam", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Chat), global::Nova.Client.table_Chat.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Chest), global::Nova.Client.Chest.Parser, new[]{ "Id", "Group", "Label", "LowFloor", "HighFloor", "TnteractionType", "AutoOpen", "ModelPath", "Item1", "Number1", "Item2", "Number2", "Item3", "Number3", "Item4", "Number4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Chest), global::Nova.Client.table_Chest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Config), global::Nova.Client.Config.Parser, new[]{ "Id", "Value" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Config), global::Nova.Client.table_Config.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ContentWord), global::Nova.Client.ContentWord.Parser, new[]{ "Id", "PresetColor", "Word" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ContentWord), global::Nova.Client.table_ContentWord.Parser, new[]{ "List" }, null, null, null, null), + 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), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstance), global::Nova.Client.table_DailyInstance.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceFloor), global::Nova.Client.DailyInstanceFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "LevelTotalTime", "TimeEndSettlement", "StarConditionType", "MonsterLv", "DropEntityGroupId", "DropEntityRate", "DropMaxNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstanceFloor), global::Nova.Client.table_DailyInstanceFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceRewardGroup), global::Nova.Client.DailyInstanceRewardGroup.Parser, new[]{ "Id", "GroupId", "DailyRewardType", "RewardName", "RewardDes", "RewardIcon", "DropId", "BaseAwardPreview" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstanceRewardGroup), global::Nova.Client.table_DailyInstanceRewardGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyInstanceType), global::Nova.Client.DailyInstanceType.Parser, new[]{ "Id", "Name", "MainLineId", "WorldClassLevel", "Episode", "Image", "Sort", "HowReward" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyInstanceType), global::Nova.Client.table_DailyInstanceType.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuest), global::Nova.Client.DailyQuest.Parser, new[]{ "Id", "Title", "Desc", "JumpTo", "Order", "Active", "Apear", "AcceptParams2", "CompleteCond", "CompleteCondParams", "CompleteCondClient", "ClientCompleteParams1", "ClientCompleteParams2", "ItemTid", "ItemQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyQuest), global::Nova.Client.table_DailyQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuestActive), global::Nova.Client.DailyQuestActive.Parser, new[]{ "Id", "Active", "ItemTid1", "Number1", "ItemTid2", "Number2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyQuestActive), global::Nova.Client.table_DailyQuestActive.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DailyQuestAward), global::Nova.Client.DailyQuestAward.Parser, new[]{ "Id", "Title", "NeedPoint", "NumShow", "ItemTid1", "Number1", "ItemTid2", "Number2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DailyQuestAward), global::Nova.Client.table_DailyQuestAward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingCharResponse), global::Nova.Client.DatingCharResponse.Parser, new[]{ "Id", "CharId", "Type", "VoiceKey", "Action", "Words", "BubbleEmoji" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DatingCharResponse), global::Nova.Client.table_DatingCharResponse.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingEvent), global::Nova.Client.DatingEvent.Parser, new[]{ "Id", "DatingEventType", "DatingEventParams", "MutexTag", "SortTag", "Affinity", "Reward", "Desc1", "Desc2", "Desc3", "Response", "Name", "Clue", "Memory" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DatingEvent), global::Nova.Client.table_DatingEvent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DatingLandmark), global::Nova.Client.DatingLandmark.Parser, new[]{ "Id", "Name", "Desc", "Icon", "Bg" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DatingLandmark), global::Nova.Client.table_DatingLandmark.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DestroyObject), global::Nova.Client.DestroyObject.Parser, new[]{ "Id", "Name", "Lv", "AttributeId", "Templete", "Faction" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DestroyObject), global::Nova.Client.table_DestroyObject.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryDiagram), global::Nova.Client.DictionaryDiagram.Parser, new[]{ "Id", "Title", "Desc", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryDiagram), global::Nova.Client.table_DictionaryDiagram.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryEntry), global::Nova.Client.DictionaryEntry.Parser, new[]{ "Id", "Index", "Title", "Tab", "ItemId", "Qty", "DiagramList", "Sort", "Popup" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryEntry), global::Nova.Client.table_DictionaryEntry.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryTab), global::Nova.Client.DictionaryTab.Parser, new[]{ "TabId", "Icon", "Icon2", "Title", "HideInBattle" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryTab), global::Nova.Client.table_DictionaryTab.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DictionaryTopBarEntry), global::Nova.Client.DictionaryTopBarEntry.Parser, new[]{ "Id", "Title", "DiagramList" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DictionaryTopBarEntry), global::Nova.Client.table_DictionaryTopBarEntry.Parser, new[]{ "List" }, null, null, null, null), + 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), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Disc), global::Nova.Client.table_Disc.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscCommonSkill), global::Nova.Client.DiscCommonSkill.Parser, new[]{ "Id", "ActiveNoteType", "ActiveNoteNum", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "EffectId5", "EffectId6", "EffectId7", "EffectId8", "EffectId9", "EffectId10", "LayerScore", "Name", "Icon", "IconBg", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscCommonSkill), global::Nova.Client.table_DiscCommonSkill.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscItemExp), global::Nova.Client.DiscItemExp.Parser, new[]{ "Id", "ItemId", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscItemExp), global::Nova.Client.table_DiscItemExp.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPassiveSkill), global::Nova.Client.DiscPassiveSkill.Parser, new[]{ "Id", "GroupId", "Level", "Break", "MainNote", "ActiveParam1", "EffectId1", "ActiveParam2", "EffectId2", "ActiveParam3", "EffectId3", "ActiveParam4", "EffectId4", "ActiveParam5", "EffectId5", "LayerScore", "Name", "Icon", "IconBg", "Desc1", "Desc2", "Desc3", "Desc4", "Desc5", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscPassiveSkill), global::Nova.Client.table_DiscPassiveSkill.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPromote), global::Nova.Client.DiscPromote.Parser, new[]{ "Id", "ItemId1", "Num1", "ItemId2", "Num2", "ItemId3", "Num3", "ItemId4", "Num4", "ExpenseGold" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscPromote), global::Nova.Client.table_DiscPromote.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscPromoteLimit), global::Nova.Client.DiscPromoteLimit.Parser, new[]{ "Id", "Rarity", "Phase", "MaxLevel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscPromoteLimit), global::Nova.Client.table_DiscPromoteLimit.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscStrengthen), global::Nova.Client.DiscStrengthen.Parser, new[]{ "Id", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscStrengthen), global::Nova.Client.table_DiscStrengthen.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DiscTag), global::Nova.Client.DiscTag.Parser, new[]{ "Id", "Title" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DiscTag), global::Nova.Client.table_DiscTag.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Drop), global::Nova.Client.Drop.Parser, new[]{ "DropId", "PkgId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Drop), global::Nova.Client.table_Drop.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropItemShow), global::Nova.Client.DropItemShow.Parser, new[]{ "DropId", "ItemId", "ItemQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropItemShow), global::Nova.Client.table_DropItemShow.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropObject), global::Nova.Client.DropObject.Parser, new[]{ "Id", "DropObjectRes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropObject), global::Nova.Client.table_DropObject.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropObjectGroup), global::Nova.Client.DropObjectGroup.Parser, new[]{ "DropObjectGroupId", "DropObjectId", "Weight" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropObjectGroup), global::Nova.Client.table_DropObjectGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.DropPkg), global::Nova.Client.DropPkg.Parser, new[]{ "PkgId", "ItemId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_DropPkg), global::Nova.Client.table_DropPkg.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Effect), global::Nova.Client.Effect.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "Trigger", "TriggerTarget", "TriggerCondition1", "TriggerParam1", "TriggerParam2", "TriggerParam3", "TriggerParam4", "TriggerTarget2", "TriggerCondition2", "Trigger2Param1", "Trigger2Param2", "Trigger2Param3", "Trigger2Param4", "TriggerLogicType", "TakeEffectTarget1", "TakeEffectCondition1", "TakeEffectParam1", "TakeEffectParam2", "TakeEffectParam3", "TakeEffectParam4", "TakeEffectTarget2", "TakeEffectCondition2", "TakeEffect2Param1", "TakeEffect2Param2", "TakeEffect2Param3", "TakeEffect2Param4", "TakeEffectLogicType", "Target1", "TargetCondition1", "TargetParam1", "TargetParam2", "TargetParam3", "TargetParam4", "TargetCondition2", "Target2Param1", "Target2Param2", "Target2Param3", "Target2Param4", "FilterLogicType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Effect), global::Nova.Client.table_Effect.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EffectDesc), global::Nova.Client.EffectDesc.Parser, new[]{ "Id", "TypeID", "Type2ID", "Desc", "RandomAttrDesc", "Attribute", "WordID", "IsPercent", "Icon", "Format" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EffectDesc), global::Nova.Client.table_EffectDesc.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EffectValue), global::Nova.Client.EffectValue.Parser, new[]{ "Id", "Name", "Tag", "TakeEffectLimit", "Remove", "CD", "EffectRate", "EffectType", "EffectTypeFirstSubtype", "EffectTypeSecondSubtype", "EffectTypeParam1", "EffectTypeParam2", "EffectTypeParam3", "EffectTypeParam4", "EffectTypeParam5", "EffectTypeParam6", "EffectTypeParam7" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EffectValue), global::Nova.Client.table_EffectValue.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EndSceneType), global::Nova.Client.EndSceneType.Parser, new[]{ "Id", "Theme", "EndSceneName", "BGM" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EndSceneType), global::Nova.Client.table_EndSceneType.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EnergyBuy), global::Nova.Client.EnergyBuy.Parser, new[]{ "Id", "CurrencyItemId", "CurrencyItemQty", "EnergyValue" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EnergyBuy), global::Nova.Client.table_EnergyBuy.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EnumDesc), global::Nova.Client.EnumDesc.Parser, new[]{ "EnumName", "Value", "Key" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EnumDesc), global::Nova.Client.table_EnumDesc.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Equipment), global::Nova.Client.Equipment.Parser, new[]{ "Id", "Name", "EquipmentType", "AttrGroupId", "ExpGroupId", "MaxLevel", "RandomAttrCount", "Attr1UnlockLevel", "Attr2UnlockLevel", "Attr3UnlockLevel", "Attr4UnlockLevel", "ProvideExp", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Equipment), global::Nova.Client.table_Equipment.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentGroupExp), global::Nova.Client.EquipmentGroupExp.Parser, new[]{ "Id", "GroupId", "Level", "NeedExp", "TotalExp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentGroupExp), global::Nova.Client.table_EquipmentGroupExp.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentInstance), global::Nova.Client.EquipmentInstance.Parser, new[]{ "Id", "EquipmentType", "Difficulty", "Name", "Desc", "SuggestedPower", "PreLevelId", "PreLevelStar", "NeedWorldClass", "FloorId", "OneStarDesc", "TwoStarDesc", "ThreeStarDesc", "OneStarEnergyConsume", "TwoStarEnergyConsume", "ThreeStarEnergyConsume", "BaseAwardPreview", "PreviewMonsterGroupId", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentInstance), global::Nova.Client.table_EquipmentInstance.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentInstanceFloor), global::Nova.Client.EquipmentInstanceFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "LevelTotalTime", "TimeEndSettlement", "StarConditionType", "MonsterLv", "DropObjectGroupId", "DropObjectRate", "DropMaxNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentInstanceFloor), global::Nova.Client.table_EquipmentInstanceFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentInstanceType), global::Nova.Client.EquipmentInstanceType.Parser, new[]{ "Id", "Name", "MainLineId", "WorldClassLevel", "OpenDay", "OpenDayDesc", "Episode", "Image", "Sort", "HowReward", "EET" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentInstanceType), global::Nova.Client.table_EquipmentInstanceType.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentItemExp), global::Nova.Client.EquipmentItemExp.Parser, new[]{ "Id", "ItemId", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentItemExp), global::Nova.Client.table_EquipmentItemExp.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EquipmentRandomAttribute), global::Nova.Client.EquipmentRandomAttribute.Parser, new[]{ "Id", "ElementType", "AttrGroupType", "AttrValueId", "AttrType", "AttrTypeFirstSubtype", "AttrTypeSecondSubtype" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EquipmentRandomAttribute), global::Nova.Client.table_EquipmentRandomAttribute.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ErrorCode), global::Nova.Client.ErrorCode.Parser, new[]{ "Id", "Title", "Template", "ShowType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ErrorCode), global::Nova.Client.table_ErrorCode.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EventOptions), global::Nova.Client.EventOptions.Parser, new[]{ "Id", "Desc", "IgnoreInterActive" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EventOptions), global::Nova.Client.table_EventOptions.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EventOptionsRules), global::Nova.Client.EventOptionsRules.Parser, new[]{ "Id", "Name", "Desc" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EventOptionsRules), global::Nova.Client.table_EventOptionsRules.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.EventResult), global::Nova.Client.EventResult.Parser, new[]{ "Id", "Effect1", "Parameter1", "Effect2", "Parameter2", "Effect3", "Parameter3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_EventResult), global::Nova.Client.table_EventResult.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FactionRelation), global::Nova.Client.FactionRelation.Parser, new[]{ "Id", "FactionRelationShip" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FactionRelation), global::Nova.Client.table_FactionRelation.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FateCard), global::Nova.Client.FateCard.Parser, new[]{ "Id", "Name", "Desc", "Desc2", "IsTower", "IsVampire", "IsVampireSpecial", "ActiveNumber", "Duration", "ActiveRoomTypes", "ActiveAction", "MethodMode", "ClientEffect", "Count", "ThemeType", "ThemeValue", "ThemeTriggerType", "EffectiveImmediately", "Removable" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FateCard), global::Nova.Client.table_FateCard.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FloorBuff), global::Nova.Client.FloorBuff.Parser, new[]{ "Id", "AddCamp", "AddClass", "EffectId", "BuffId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FloorBuff), global::Nova.Client.table_FloorBuff.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Force), global::Nova.Client.Force.Parser, new[]{ "Id", "Title", "Icon1", "Icon2", "TalentPos" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Force), global::Nova.Client.table_Force.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.FormationScene), global::Nova.Client.FormationScene.Parser, new[]{ "SceneName", "Path" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_FormationScene), global::Nova.Client.table_FormationScene.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Gacha), global::Nova.Client.Gacha.Parser, new[]{ "Id", "DefaultId", "DefaultQty", "CostId", "CostQty", "OncePreferred", "TenTimesPreferred", "LimitTimes", "ATypeUpShowProb", "BTypeUpShowProb", "StorageId", "StartTime", "EndTime", "Sort", "Icon", "Image", "UPCharacter", "UPOutfit", "Character", "Outfit", "Tag", "Voice" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Gacha), global::Nova.Client.table_Gacha.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GachaAcquireReward), global::Nova.Client.GachaAcquireReward.Parser, new[]{ "Id", "ItemStype", "ItemRarity", "AcquireTimes", "ItemId", "ItemNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GachaAcquireReward), global::Nova.Client.table_GachaAcquireReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GachaType), global::Nova.Client.GachaType.Parser, new[]{ "Id", "Name", "CoinItem", "Title1", "Desc1", "Title2", "Desc2", "Title3", "Desc3", "Title4", "Desc4", "Desc5", "Title5", "Desc6", "Desc7", "Desc8" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GachaType), global::Nova.Client.table_GachaType.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GamepadButton), global::Nova.Client.GamepadButton.Parser, new[]{ "Id", "XboxIcon", "PlayStationIcon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GamepadButton), global::Nova.Client.table_GamepadButton.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMBuild), global::Nova.Client.GMBuild.Parser, new[]{ "Id", "BuildData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GMBuild), global::Nova.Client.table_GMBuild.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMOrder), global::Nova.Client.GMOrder.Parser, new[]{ "Order", "Desc", "ParamCount", "ParamName1", "ParamName2", "ParamName3", "ParamName4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GMOrder), global::Nova.Client.table_GMOrder.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMTeam), global::Nova.Client.GMTeam.Parser, new[]{ "Id", "Name", "TeamCharacter", "TeamDisc" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GMTeam), global::Nova.Client.table_GMTeam.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Guide), global::Nova.Client.Guide.Parser, new[]{ "Id", "GroupId", "Step", "Type", "GuidePrepose", "PreposeParams", "GuideTrigger", "TriggerParams", "EndType", "CenterOffset", "BindIcon", "BindIconChildCount", "Size", "Deviation", "Delay", "Head", "Desc", "DescDeviation", "HandDeviation", "HandRotation", "Dictionary", "AvgId", "IsActive" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Guide), global::Nova.Client.table_Guide.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GuideGroup), global::Nova.Client.GuideGroup.Parser, new[]{ "Id", "GuideDetectionType", "PassiveMsg", "GuidePrepose", "PreposeParams", "GuidePrepose2", "PreposeParams2", "GuidePost", "PostParams", "GuideTrigger", "TriggerParams", "TowerState", "ScriptPath", "IsActive" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_GuideGroup), global::Nova.Client.table_GuideGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Handbook), global::Nova.Client.Handbook.Parser, new[]{ "Id", "Index", "Type", "CharId", "SkinId", "Cond" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Handbook), global::Nova.Client.table_Handbook.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.HitDamage), global::Nova.Client.HitDamage.Parser, new[]{ "Id", "LevelTypeData", "LevelData", "MainOrSupport", "HitdamageInfo", "DistanceType", "SourceType", "DamageType", "EffectType", "ElementType", "DamageTag", "DamageBonusType", "SkillPercentAmend", "SkillAbsAmend", "AdditionalSource", "AdditionalType", "AdditionalPercent", "EnergyCharge", "TalentPercentAmend", "TalentAbsAmend", "IsDenseType", "PerkIntensity", "SkillId", "SkillSlotType", "PerkId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_HitDamage), global::Nova.Client.table_HitDamage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Honor), global::Nova.Client.Honor.Parser, new[]{ "Id", "Name", "IsUnlock", "Type", "TabType", "Params", "Priotity", "MainRes", "SubRes", "Sort", "BGType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Honor), global::Nova.Client.table_Honor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.HonorCharacter), global::Nova.Client.HonorCharacter.Parser, new[]{ "Id", "CharId", "Level", "BigBgPath", "SmallBgPath", "StarGroup", "Sort", "BGType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_HonorCharacter), global::Nova.Client.table_HonorCharacter.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTower), global::Nova.Client.InfinityTower.Parser, new[]{ "Id", "Name", "ElementType", "FormationSceneName", "Bg", "PreTowerLevelId", "OpenDay", "OpenDayDesc" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTower), global::Nova.Client.table_InfinityTower.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerAffix), global::Nova.Client.InfinityTowerAffix.Parser, new[]{ "Id", "Name", "Desc", "AddCamp", "TriggerCondition", "TriggerParam" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerAffix), global::Nova.Client.table_InfinityTowerAffix.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerBountyLevel), global::Nova.Client.InfinityTowerBountyLevel.Parser, new[]{ "Id", "Level", "Name", "Icon", "RewardDropId", "RewardShow", "Cond1", "CondParam1", "CondDesc1", "Cond2", "CondParam2", "CondDesc2", "Cond3", "CondParam3", "CondDesc3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerBountyLevel), global::Nova.Client.table_InfinityTowerBountyLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerDifficulty), global::Nova.Client.InfinityTowerDifficulty.Parser, new[]{ "Id", "Name", "TowerId", "UnlockWorldClass", "UnlockTips", "IsChallenge", "RecommendLevel", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerDifficulty), global::Nova.Client.table_InfinityTowerDifficulty.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerEnemySet), global::Nova.Client.InfinityTowerEnemySet.Parser, new[]{ "SetId", "WaveNum", "GroupNum", "MaxNum", "MaxNumPerWave", "MonsterId", "LevelChange", "CommonGameplayType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerEnemySet), global::Nova.Client.table_InfinityTowerEnemySet.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerFloor), global::Nova.Client.InfinityTowerFloor.Parser, new[]{ "Id", "LvId", "MapId", "BattleLv", "FloorFunc", "MonsterLv", "Stage", "SetId", "LimitTime", "PreviewMonsterGroupId", "AffixId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerFloor), global::Nova.Client.table_InfinityTowerFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerLevel), global::Nova.Client.InfinityTowerLevel.Parser, new[]{ "Id", "Name", "DifficultyId", "LevelType", "Floor", "FloorId", "PreLevelId", "EntryCond", "EntryCondParam", "AwardDropId", "RecommendLv", "RecommendBuildRank", "BaseAwardPreview" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerLevel), global::Nova.Client.table_InfinityTowerLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerMap), global::Nova.Client.InfinityTowerMap.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerMap), global::Nova.Client.table_InfinityTowerMap.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerMsg), global::Nova.Client.InfinityTowerMsg.Parser, new[]{ "Id", "Title", "Content", "Type", "DayOfWeek", "Condition", "Params" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerMsg), global::Nova.Client.table_InfinityTowerMsg.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InfinityTowerPlot), global::Nova.Client.InfinityTowerPlot.Parser, new[]{ "Id", "Name", "Desc", "PlotSum", "PlotId", "AvgId", "UnlockCond", "CondParam", "RewardItemId", "RewardItemQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InfinityTowerPlot), global::Nova.Client.table_InfinityTowerPlot.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InteractiveAction), global::Nova.Client.InteractiveAction.Parser, new[]{ "Id", "PlayerAni", "Icon0", "Title0", "Icon1", "Title1" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_InteractiveAction), global::Nova.Client.table_InteractiveAction.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Item), global::Nova.Client.Item.Parser, new[]{ "Id", "Title", "Desc", "Literary", "Type", "Stype", "Rarity", "Stack", "PositionLimit", "ExpireType", "UseMode", "UseAction", "UseArgs", "Display", "ObtainWays", "JumpTo", "Icon", "Icon2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Item), global::Nova.Client.table_Item.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ItemPackMark), global::Nova.Client.ItemPackMark.Parser, new[]{ "Id", "PackMark", "ItemStype", "Name", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ItemPackMark), global::Nova.Client.table_ItemPackMark.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.JumpTo), global::Nova.Client.JumpTo.Parser, new[]{ "Id", "Type", "Param", "Desc", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_JumpTo), global::Nova.Client.table_JumpTo.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.LoginRewardControl), global::Nova.Client.LoginRewardControl.Parser, new[]{ "Id", "RewardsGroup", "DesText", "UIAssets", "PopUpUIAssets" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_LoginRewardControl), global::Nova.Client.table_LoginRewardControl.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.LoginRewardGroup), global::Nova.Client.LoginRewardGroup.Parser, new[]{ "RewardGroupId", "Order", "RewardId1", "Qty1", "RewardId2", "Qty2", "RewardId3", "Qty3", "RewardIcon", "RewardCount", "RewardDesc" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_LoginRewardGroup), global::Nova.Client.table_LoginRewardGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MailTemplate), global::Nova.Client.MailTemplate.Parser, new[]{ "Id", "Explanation", "Icon", "Author", "LetterPaper", "Subject", "Desc", "Type", "Props1", "PropsCount1", "Props2", "PropsCount2", "Props3", "PropsCount3", "Props4", "PropsCount4", "Props5", "PropsCount5", "Props6", "PropsCount6" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MailTemplate), global::Nova.Client.table_MailTemplate.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Mainline), global::Nova.Client.Mainline.Parser, new[]{ "Id", "Num", "Name", "Desc", "Type", "Energy", "ChapterId", "Prev", "Form", "AvgId", "TrialCharacter", "BeforeAvgId", "AfterAvgId", "EnergyConsume", "UnlockItem", "UnlockQty", "GlobReward", "RewardPreview", "ItemReward", "FirstItemReward", "DiamondReward", "MinChestReward", "MaxChestReward", "CharBanned", "FloorId", "Icon", "PosId", "PreviewMonsterGroupId", "Recommend", "Repeat", "SubMapName", "MainlineImg" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Mainline), global::Nova.Client.table_Mainline.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MainlineFloor), global::Nova.Client.MainlineFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterLv" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MainlineFloor), global::Nova.Client.table_MainlineFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallGem), global::Nova.Client.MallGem.Parser, new[]{ "Id", "Name", "Order", "BaseItemId", "BaseItemQty", "ExperiencedBonusItemId", "ExperiencedBonusItemQty", "MaidenBonusItemID", "MaidenBonusItemQty", "Price", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallGem), global::Nova.Client.table_MallGem.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallMonthlyCard), global::Nova.Client.MallMonthlyCard.Parser, new[]{ "Id", "Name", "MonthlyCardId", "Price", "BaseItemId", "BaseItemQty", "MaxDays", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallMonthlyCard), global::Nova.Client.table_MallMonthlyCard.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallPackage), global::Nova.Client.MallPackage.Parser, new[]{ "Id", "Name", "GroupId", "Sort", "CurrencyType", "CurrencyItemId", "CurrencyItemQty", "Stock", "RefreshType", "Items", "ListCondType", "ListCondParams", "OrderCondType", "OrderCondParams", "ListTime", "DeListTime", "DisplayMode", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallPackage), global::Nova.Client.table_MallPackage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallPackagePage), global::Nova.Client.MallPackagePage.Parser, new[]{ "Id", "Name", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallPackagePage), global::Nova.Client.table_MallPackagePage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallShop), global::Nova.Client.MallShop.Parser, new[]{ "Id", "Name", "Desc", "GroupId", "Sort", "ExchangeItemId", "ExchangeItemQty", "Stock", "RefreshType", "ItemId", "ItemQty", "ListCondType", "ListCondParams", "OrderCondType", "OrderCondParams", "ListTime", "DeListTime", "DisplayMode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallShop), global::Nova.Client.table_MallShop.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallShopPage), global::Nova.Client.MallShopPage.Parser, new[]{ "Id", "Sort", "Name", "RefreshTimeType", "ShopCoin", "ListTime", "DeListTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MallShopPage), global::Nova.Client.table_MallShopPage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Monster), global::Nova.Client.Monster.Parser, new[]{ "Id", "Name", "FormalNameId", "EpicLv", "MonsterPosition", "BloodType", "Force", "FCId", "FAId", "MovType", "RunSpd", "TransSpdScale", "WalkSpd", "MovAcc", "VisionRng", "VisionDeg", "HearRng", "RefRng", "ActRng", "DisActRng", "SearchRng", "RotSpd", "RotSpdInSkill", "Templete", "BuffIds", "SubType", "Faction", "TrapTagIds", "SupCharge", "IsShowRng", "Weight", "ToughnessBrokenTime", "Tag1", "Tag2", "Tag3", "Tag4", "Tag5", "AttackHintType", "BlockPriority", "WayPointShift", "MonsterTeamId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Monster), global::Nova.Client.table_Monster.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterActionBranch), global::Nova.Client.MonsterActionBranch.Parser, new[]{ "Id", "GroupId", "SkillId", "Priority", "Weight", "Rate", "CD", "InitialCDPool", "MinInitialCD", "MaxInitialCD", "StartCDTime", "FixedCD", "ReleaseDistance", "ReleaseAngle", "TraceDuration", "Activate", "ActiveConditionType1", "ActiveParam1", "ActiveParam2", "DeActiveConditionType1", "DeActiveParam1", "DeActiveParam2", "FollowEventType1", "FollowEventParam1", "FollowEventType2", "FollowEventParam2", "FollowEventType3", "FollowEventParam3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterActionBranch), global::Nova.Client.table_MonsterActionBranch.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterAI), global::Nova.Client.MonsterAI.Parser, new[]{ "Id", "ComboGroupPath", "SpawnShowSkillId", "IdleShowSkillId", "DieSkillId", "ActionAIPath", "ActionBranchIds", "ThinkInterval", "IdleAIPath", "SpawnAIPath", "ParallelAIPath", "CheckAchievement", "WanderRange", "WanderInterval", "WanderRate" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterAI), global::Nova.Client.table_MonsterAI.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterBornGroup), global::Nova.Client.MonsterBornGroup.Parser, new[]{ "GroupId", "MonsterId", "Difficulty", "MinFloor", "MaxFloor" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterBornGroup), global::Nova.Client.table_MonsterBornGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterGroup), global::Nova.Client.MonsterGroup.Parser, new[]{ "Id", "Monsters" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterGroup), global::Nova.Client.table_MonsterGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterSkin), global::Nova.Client.MonsterSkin.Parser, new[]{ "Id", "Name", "Desc", "Icon", "HintIcon", "Model", "RunAnimationSpd", "WalkAnimationSpd", "BarHeight", "ModelScale", "BuffFXScale", "ColliderScale", "ForbiddenBehitRot", "EffectScaleValue", "TagEffectScaleValue" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterSkin), global::Nova.Client.table_MonsterSkin.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterTeam), global::Nova.Client.MonsterTeam.Parser, new[]{ "Id", "Mate0Id", "Mate1Id", "Mate2Id", "Mate3Id", "Mate4Id", "Mate5Id", "Mate6Id", "Mate7Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterTeam), global::Nova.Client.table_MonsterTeam.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterValueTemplete), global::Nova.Client.MonsterValueTemplete.Parser, new[]{ "Id", "TemplateId", "Name", "Lv", "Hp", "Atk", "Def", "CritRate", "NormalCritRate", "SkillCritRate", "UltraCritRate", "MarkCritRate", "SummonCritRate", "ProjectileCritRate", "OtherCritRate", "CritResistance", "CritPower", "NormalCritPower", "SkillCritPower", "UltraCritPower", "MarkCritPower", "SummonCritPower", "ProjectileCritPower", "OtherCritPower", "HitRate", "Evd", "AtkSpd", "DefPierce", "DefIgnore", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEI", "FEI", "SEI", "AEI", "LEI", "DEI", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "Toughness", "Suppress", "RCDMARKDMG" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterValueTemplete), global::Nova.Client.table_MonsterValueTemplete.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonsterValueTempleteAdjust), global::Nova.Client.MonsterValueTempleteAdjust.Parser, new[]{ "Id", "TemplateId", "Name", "EET", "WeakEET", "HpRatio", "HpFix", "AtkRatio", "AtkFix", "WERRatio", "WERFix", "FERRatio", "FERFix", "SERRatio", "SERFix", "AERRatio", "AERFix", "LERRatio", "LERFix", "DERRatio", "DERFix", "ToughnessRatio", "ToughnessFix", "SuppressRatio", "SuppressFix" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonsterValueTempleteAdjust), global::Nova.Client.table_MonsterValueTempleteAdjust.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MonthlyCard), global::Nova.Client.MonthlyCard.Parser, new[]{ "Id", "CardId", "RewardId1", "RewardNum1", "RewardId2", "RewardNum2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_MonthlyCard), global::Nova.Client.table_MonthlyCard.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Note), global::Nova.Client.Note.Parser, new[]{ "Id", "Note_", "Style1", "Style2", "Style3", "Style4", "Style5", "Style6", "Style7", "Style8", "Color", "Name1", "Name2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Note), global::Nova.Client.table_Note.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.NoteDropGroup), global::Nova.Client.NoteDropGroup.Parser, new[]{ "Index", "GroupId", "RandomNoteRange", "ANoteRange", "BNoteRange", "CNoteRange", "DNoteRange", "ENoteRange", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_NoteDropGroup), global::Nova.Client.table_NoteDropGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.NPCConfig), global::Nova.Client.NPCConfig.Parser, new[]{ "Id", "Type", "Name", "Desc", "Literary", "RefreshPoint", "FirstLines", "Lines", "Chat", "ChatProp", "ChatTime", "NPCId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_NPCConfig), global::Nova.Client.table_NPCConfig.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.NPCSkin), global::Nova.Client.NPCSkin.Parser, new[]{ "Id", "Name", "Desc", "IsShow", "CharId", "Type", "SourceDesc", "Icon", "SmallPortrait", "ModelScale", "Model", "Portrait", "Bg", "Offset", "L2D", "FullScreenPortrait", "SkinTheme", "InteractiveAction", "InteractiveActionId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_NPCSkin), global::Nova.Client.table_NPCSkin.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OnceAdditionalAttribute), global::Nova.Client.OnceAdditionalAttribute.Parser, new[]{ "Id", "LevelTypeData", "LevelData", "MainOrSupport" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_OnceAdditionalAttribute), global::Nova.Client.table_OnceAdditionalAttribute.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OnceAdditionalAttributeValue), global::Nova.Client.OnceAdditionalAttributeValue.Parser, new[]{ "Id", "AttributeType1", "ParameterType1", "Value1", "AttributeType2", "ParameterType2", "Value2", "AttributeType3", "ParameterType3", "Value3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_OnceAdditionalAttributeValue), global::Nova.Client.table_OnceAdditionalAttributeValue.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OpenFunc), global::Nova.Client.OpenFunc.Parser, new[]{ "Id", "Name", "NeedWorldClass", "NeedConditions", "NeedRoguelike", "PopWindows", "Desc", "Icon", "Tips" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_OpenFunc), global::Nova.Client.table_OpenFunc.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PeriodicQuest), global::Nova.Client.PeriodicQuest.Parser, new[]{ "Id", "Belong", "Groupid", "Title", "JumpTo", "Reward", "RewardQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PeriodicQuest), global::Nova.Client.table_PeriodicQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PeriodicQuestControl), global::Nova.Client.PeriodicQuestControl.Parser, new[]{ "Id", "FinalReward1", "FinalRewardQty1", "FinalReward2", "FinalRewardQty2", "FinalReward3", "FinalRewardQty3", "DesText", "UIAssets", "CtrlName", "PreviewType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PeriodicQuestControl), global::Nova.Client.table_PeriodicQuestControl.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PeriodicQuestGroup), global::Nova.Client.PeriodicQuestGroup.Parser, new[]{ "Belong", "GroupId", "UnlockTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PeriodicQuestGroup), global::Nova.Client.table_PeriodicQuestGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Perk), global::Nova.Client.Perk.Parser, new[]{ "Id", "MaxLevel", "AdditionalLevel", "EET", "ScoreGroupId", "StrengthScore", "PerkType", "CharId", "CharPerkType", "Theme", "GameBookId", "OperatingFloorType", "OperatingNumber", "Price", "Slot", "Tags", "PrePerkIds", "PreTagPkgs", "NeedFloor", "EffectGroupId", "IsEffective", "PerkTag1", "PerkTag2", "PerkTag3", "PerkTag4", "LogoIcon", "SlotTag" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Perk), global::Nova.Client.table_Perk.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PerkPassiveSkill), global::Nova.Client.PerkPassiveSkill.Parser, new[]{ "Id", "ShareCD", "ShareTimes", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "Name", "Desc", "Desc1", "Param1", "Desc2", "Param2", "Desc3", "Param3", "Desc4", "Param4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PerkPassiveSkill), global::Nova.Client.table_PerkPassiveSkill.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PlayerHead), global::Nova.Client.PlayerHead.Parser, new[]{ "Id", "Icon" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PlayerHead), global::Nova.Client.table_PlayerHead.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Plot), global::Nova.Client.Plot.Parser, new[]{ "Id", "Char", "Name", "Desc", "AvgId", "Mainlines", "UnlockAffinityLevel", "ConnectChatId", "CharAdvanceCond", "Rewards", "PicSource" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Plot), global::Nova.Client.table_Plot.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Potential), global::Nova.Client.Potential.Parser, new[]{ "Id", "CharId", "BranchType", "MaxLevel", "ScoreGroupId", "BuildScore", "GameBookId", "EffectGroupId", "IsEffective", "PotentialTag1", "PotentialTag2", "PotentialTag3", "PotentialTag4", "Corner", "SpBg", "SpFace", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "BriefDesc", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Potential), global::Nova.Client.table_Potential.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PotentialPassiveSkill), global::Nova.Client.PotentialPassiveSkill.Parser, new[]{ "Id", "ShareCD", "ShareTimes", "EffectId1", "EffectId2", "EffectId3", "EffectId4", "BriefDesc", "Desc", "Param1", "Param2", "Param3", "Param4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PotentialPassiveSkill), global::Nova.Client.table_PotentialPassiveSkill.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PreviewMonsterGroup), global::Nova.Client.PreviewMonsterGroup.Parser, new[]{ "Id", "GroupId", "PreviewMonsterListId", "MinLv", "MaxLv" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PreviewMonsterGroup), global::Nova.Client.table_PreviewMonsterGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.PreviewMonsterList), global::Nova.Client.PreviewMonsterList.Parser, new[]{ "Id", "Icon", "Name", "ResistEET", "EET", "Desc", "SkillDesc", "EpicLv", "HP", "ATK", "DEF", "TOUGHNESS", "AbilityTitle1", "AbilityDesc1", "AbilityTitle2", "AbilityDesc2", "AbilityTitle3", "AbilityDesc3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_PreviewMonsterList), global::Nova.Client.table_PreviewMonsterList.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Production), global::Nova.Client.Production.Parser, new[]{ "Id", "Name", "Desc", "ProductionId", "ProductionPerBatch", "ShowProductionId", "ShowProductionPerBatch", "Group", "Tag", "RawMaterialId1", "RawMaterialCount1", "RawMaterialId2", "RawMaterialCount2", "RawMaterialId3", "RawMaterialCount3", "RawMaterialId4", "RawMaterialCount4", "IsShowWorldLevel", "UnlockWorldLevel", "UnlockTip", "SortId", "IsActived" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Production), global::Nova.Client.table_Production.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ProductionType), global::Nova.Client.ProductionType.Parser, new[]{ "Id", "TypeName", "SortId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ProductionType), global::Nova.Client.table_ProductionType.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RandomLevelMonster), global::Nova.Client.RandomLevelMonster.Parser, new[]{ "Id", "Name", "EpicLv", "BloodType", "EET", "FCId", "FAId", "MovType", "RunSpd", "TransSpdScale", "WalkSpd", "MovAcc", "VisionRng", "VisionDeg", "HearRng", "RefRng", "ActRng", "DisActRng", "RotSpd", "Templete", "WEP", "FEP", "SEP", "AEP", "LEP", "DEP", "WEE", "FEE", "SEE", "AEE", "LEE", "DEE", "WER", "FER", "SER", "AER", "LER", "DER", "BuffIds", "Weight", "TrapTagIds", "Faction", "SupCharge", "IsShowRng", "TrapAttrId", "Tag1", "Tag2", "Tag3", "Tag4", "Tag5" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RandomLevelMonster), global::Nova.Client.table_RandomLevelMonster.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Rank), global::Nova.Client.Rank.Parser, new[]{ "Rank_", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Rank), global::Nova.Client.table_Rank.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBoss), global::Nova.Client.RegionBoss.Parser, new[]{ "Id", "MonsterId", "RegionType", "Name", "Icon", "UnlockCondition", "NeedRoguelike", "Sort", "OpenDay", "OpenDayDesc", "EET", "Episode", "Image", "DropItem" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBoss), global::Nova.Client.table_RegionBoss.Parser, new[]{ "List" }, null, null, null, null), + 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), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBossAffix), global::Nova.Client.table_RegionBossAffix.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBossFloor), global::Nova.Client.RegionBossFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterLv", "DungeonDelay" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBossFloor), global::Nova.Client.table_RegionBossFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.RegionBossLevel), global::Nova.Client.RegionBossLevel.Parser, new[]{ "Id", "RegionBossId", "Difficulty", "RegionType", "Name", "Desc", "Icon", "SuggestedPower", "PreLevelId", "BossShowTime", "PreLevelStar", "NeedWorldClass", "NeedRoguelike", "FloorId", "OneStarCondition", "TwoStarCondition", "ThreeStarCondition", "DropId", "EnergyConsume", "BaseAwardPreview", "EntryGroupId1", "EntryGroupLevel1", "EntryGroupId2", "EntryGroupLevel2", "EntryGroupId3", "EntryGroupLevel3", "EntryGroupId4", "EntryGroupLevel4", "EntryGroupId5", "EntryGroupLevel5", "ExtraDropPreview" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_RegionBossLevel), global::Nova.Client.table_RegionBossLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ResidentGoods), global::Nova.Client.ResidentGoods.Parser, new[]{ "Id", "Name", "Desc", "ShopId", "SaleNumber", "ItemId", "ItemQuantity", "MaximumLimit", "CurrencyItemId", "Price", "OriginalPrice", "Discount", "AppearCondType", "AppearCondParams", "PurchaseCondType", "PurchaseCondParams", "UpShelfTime", "DownShelfTime", "UnlockPurchaseTime", "DisplayMode" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ResidentGoods), global::Nova.Client.table_ResidentGoods.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ResidentShop), global::Nova.Client.ResidentShop.Parser, new[]{ "Id", "ShopCoin", "Type", "Name", "Sequence", "RefreshTimeType", "RefreshInterval", "UnlockCondType", "UnlockCondParams", "OpenTime", "CloseTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ResidentShop), global::Nova.Client.table_ResidentShop.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ScriptParameter), global::Nova.Client.ScriptParameter.Parser, new[]{ "Id", "LevelTypeData", "LevelData", "MainOrSupport" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ScriptParameter), global::Nova.Client.table_ScriptParameter.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ScriptParameterValue), global::Nova.Client.ScriptParameterValue.Parser, new[]{ "Id", "CommonData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ScriptParameterValue), global::Nova.Client.table_ScriptParameterValue.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Shield), global::Nova.Client.Shield.Parser, new[]{ "Id", "Name", "LevelTypeData", "LevelData", "MainOrSupport", "BindEffect", "ShieldTag1", "ShieldTag2", "ShieldTag3", "TimeSuperposition", "NotRemove" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Shield), global::Nova.Client.table_Shield.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.ShieldValue), global::Nova.Client.ShieldValue.Parser, new[]{ "Id", "Name", "AbsorptionBase", "ReferenceTarget", "ReferenceAttrib", "ReferenceScale", "Time", "ShieldLaminatedNum", "TimeSuperposition", "NotRemove" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_ShieldValue), global::Nova.Client.table_ShieldValue.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.SignIn), global::Nova.Client.SignIn.Parser, new[]{ "ID", "Group", "Day", "ItemId", "ItemQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_SignIn), global::Nova.Client.table_SignIn.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Skill), global::Nova.Client.Skill.Parser, new[]{ "Id", "Title", "FCPath", "Type", "Desc", "Icon", "SkillCD", "MaxLevel", "RelatedSkill", "SectionAmount", "UseInterval", "UseTimeHint", "UltraEnergy", "CheckCDRestore", "ForceRunFinish", "GetEnergyLimit", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10", "IsCleanSkillCD" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Skill), global::Nova.Client.table_Skill.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.SkillDamage), global::Nova.Client.SkillDamage.Parser, new[]{ "Id", "LVDamage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_SkillDamage), global::Nova.Client.table_SkillDamage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTower), global::Nova.Client.StarTower.Parser, new[]{ "Id", "Name", "Desc", "GroupId", "PreConditions", "PreviewMonsterGroupId", "Difficulty", "ValueDifficulty", "Recommend", "CurrencyId", "StageGroupIds", "FloorNum", "TeamExpGroupId", "EET", "NotEET", "Episode", "Image", "NPCId", "RewardPreview", "ShopNpc", "StandShopNpc", "UpgradeNpc", "ResqueNpc", "DangerNpc", "HorrorNpc", "DangerEndEvent", "HorrorEndEvent", "DestructibleObjectType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTower), global::Nova.Client.table_StarTower.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBattleThreshold), global::Nova.Client.StarTowerBattleThreshold.Parser, new[]{ "MissionId", "Version", "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBattleThreshold), global::Nova.Client.table_StarTowerBattleThreshold.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookEntrance), global::Nova.Client.StarTowerBookEntrance.Parser, new[]{ "Id", "Icon", "Position", "Desc" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookEntrance), global::Nova.Client.table_StarTowerBookEntrance.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookEventReward), global::Nova.Client.StarTowerBookEventReward.Parser, new[]{ "Id", "Name", "Story", "NPCId", "Sort", "Source", "ItemId", "ItemQty", "IsBanned" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookEventReward), global::Nova.Client.table_StarTowerBookEventReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCard), global::Nova.Client.StarTowerBookFateCard.Parser, new[]{ "Id", "BundleId", "Icon", "SortId", "Source", "UnlockTip", "WorldClass", "StarTowerId", "CollectCards", "UnlockCards", "IsBanned" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookFateCard), global::Nova.Client.table_StarTowerBookFateCard.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCardBundle), global::Nova.Client.StarTowerBookFateCardBundle.Parser, new[]{ "Id", "Name", "ShortName", "SortId", "Tag", "SmallIcon", "BundleIcon", "Icon", "WorldClass", "StarTowerId", "CollectCards", "UnlockCards" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookFateCardBundle), global::Nova.Client.table_StarTowerBookFateCardBundle.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCardQuest), global::Nova.Client.StarTowerBookFateCardQuest.Parser, new[]{ "Id", "BundleId", "Desc", "FinishType", "FinishParams", "Tid1", "Qty1", "Tid2", "Qty2", "Tid3", "Qty3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookFateCardQuest), global::Nova.Client.table_StarTowerBookFateCardQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookPotentialReward), global::Nova.Client.StarTowerBookPotentialReward.Parser, new[]{ "Id", "CharId", "Desc", "Sort", "Cond", "Params", "ItemId", "ItemQty" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBookPotentialReward), global::Nova.Client.table_StarTowerBookPotentialReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBuildRank), global::Nova.Client.StarTowerBuildRank.Parser, new[]{ "Id", "MinGrade", "Rarity" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerBuildRank), global::Nova.Client.table_StarTowerBuildRank.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerCombatEvent), global::Nova.Client.StarTowerCombatEvent.Parser, new[]{ "Id", "Name", "Type", "Params", "Active", "Start", "Interact" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerCombatEvent), global::Nova.Client.table_StarTowerCombatEvent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerCombo), global::Nova.Client.StarTowerCombo.Parser, new[]{ "Id", "BattleLvs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerCombo), global::Nova.Client.table_StarTowerCombo.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerDropItem), global::Nova.Client.StarTowerDropItem.Parser, new[]{ "Id", "Type", "DropSplitRange", "Rate", "Model" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerDropItem), global::Nova.Client.table_StarTowerDropItem.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEnemySet), global::Nova.Client.StarTowerEnemySet.Parser, new[]{ "SetId", "WaveNum", "MaxNum", "MaxNumPerWave", "MonsterId", "RefInterval" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEnemySet), global::Nova.Client.table_StarTowerEnemySet.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEvent), global::Nova.Client.StarTowerEvent.Parser, new[]{ "Id", "GroupId", "OptionsRulesId", "Desc", "EventType", "GuaranteedMapId", "Npc", "RelatedCharacter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEvent), global::Nova.Client.table_StarTowerEvent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEventAction), global::Nova.Client.StarTowerEventAction.Parser, new[]{ "Id", "EventId", "TrigVoice", "Desc", "Group" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEventAction), global::Nova.Client.table_StarTowerEventAction.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerEventOptionAction), global::Nova.Client.StarTowerEventOptionAction.Parser, new[]{ "Id", "OptionId", "Desc", "Group" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerEventOptionAction), global::Nova.Client.table_StarTowerEventOptionAction.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloor), global::Nova.Client.StarTowerFloor.Parser, new[]{ "Id", "CommonGameplayType", "CommonMonsterSet", "LimitTime", "DropObjectGroupId", "DropObjectRate", "DropMaxNum", "MonsterSurplusNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloor), global::Nova.Client.table_StarTowerFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorAward), global::Nova.Client.StarTowerFloorAward.Parser, new[]{ "Id", "RoguelikeId", "CombatFloor", "InteriorCurrencyQuantity", "NeedEnergy", "Affinity" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloorAward), global::Nova.Client.table_StarTowerFloorAward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorExp), global::Nova.Client.StarTowerFloorExp.Parser, new[]{ "Id", "StarTowerId", "Stage", "NormalExp", "EliteExp", "BossExp", "FinalBossExp", "DangerExp", "HorrorExp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloorExp), global::Nova.Client.table_StarTowerFloorExp.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerFloorSet), global::Nova.Client.StarTowerFloorSet.Parser, new[]{ "Id", "BattleLvs", "Stage", "RoomType", "MapID", "FloorID", "MonsterLv", "ThemeSkillLv", "Weight", "MutexGroup", "SpecialModeId", "MonsterGroupBlacklist" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerFloorSet), global::Nova.Client.table_StarTowerFloorSet.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerGroup), global::Nova.Client.StarTowerGroup.Parser, new[]{ "Id", "Name", "EET", "Episode", "Sort", "GroupType", "GroupTheme" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerGroup), global::Nova.Client.table_StarTowerGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerGrowthGroup), global::Nova.Client.StarTowerGrowthGroup.Parser, new[]{ "Id", "PreGroup", "WorldClass", "Name" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerGrowthGroup), global::Nova.Client.table_StarTowerGrowthGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerGrowthNode), global::Nova.Client.StarTowerGrowthNode.Parser, new[]{ "Id", "NodeId", "Group", "Name", "IsServer", "IsClient", "Type", "Color", "PreNodes", "EffectClient", "ClientParams", "Priority", "Icon", "Position", "Desc", "ItemId1", "ItemQty1", "ItemId2", "ItemQty2", "ItemId3", "ItemQty3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerGrowthNode), global::Nova.Client.table_StarTowerGrowthNode.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerHarmonySkill), global::Nova.Client.StarTowerHarmonySkill.Parser, new[]{ "Id", "Rarity", "Name", "Tag", "Score", "EffectId", "Desc", "Icon", "IconBg", "IconCorner" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerHarmonySkill), global::Nova.Client.table_StarTowerHarmonySkill.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerLimitReward), global::Nova.Client.StarTowerLimitReward.Parser, new[]{ "Id", "Stage", "StarTowerId", "RoomType", "TimeLimit" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerLimitReward), global::Nova.Client.table_StarTowerLimitReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMap), global::Nova.Client.StarTowerMap.Parser, new[]{ "Id", "SceneRes", "BGSceneRes", "Theme", "PrefabNum", "Mir", "OutPortNum", "OutPortHint", "BGMRes", "CompleteSoundEffectRes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMap), global::Nova.Client.table_StarTowerMap.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMapMaxNumPerStage), global::Nova.Client.StarTowerMapMaxNumPerStage.Parser, new[]{ "Id", "MaxNumPerStage" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMapMaxNumPerStage), global::Nova.Client.table_StarTowerMapMaxNumPerStage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMonsterBornGroup), global::Nova.Client.StarTowerMonsterBornGroup.Parser, new[]{ "GroupId", "MonsterId", "Difficulty", "MinFloor", "MaxFloor" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMonsterBornGroup), global::Nova.Client.table_StarTowerMonsterBornGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerMonsterSpAttr), global::Nova.Client.StarTowerMonsterSpAttr.Parser, new[]{ "Id", "MonsterPosition", "ThemeSkills", "ContinuousKillingTime", "RougeMoneyDropRange", "RougeExpDropRange", "RefDistance", "RefInterval" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerMonsterSpAttr), global::Nova.Client.table_StarTowerMonsterSpAttr.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerQuest), global::Nova.Client.StarTowerQuest.Parser, new[]{ "Id", "Title", "JumpTo", "TowerQuestType", "PreTowerQuestIds", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerQuest), global::Nova.Client.table_StarTowerQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankAffix), global::Nova.Client.StarTowerRankAffix.Parser, new[]{ "Id", "Name", "Desc", "Rarity", "Effect" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankAffix), global::Nova.Client.table_StarTowerRankAffix.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankReward), global::Nova.Client.StarTowerRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankReward), global::Nova.Client.table_StarTowerRankReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankScore), global::Nova.Client.StarTowerRankScore.Parser, new[]{ "Difficulty", "BaseScore", "MaximumScore" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankScore), global::Nova.Client.table_StarTowerRankScore.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerRankSeason), global::Nova.Client.StarTowerRankSeason.Parser, new[]{ "Id", "GroupId", "OpenTime", "EndTime", "Affix1", "AffixAdd1", "Affix2", "AffixAdd2", "Affix3", "AffixAdd3", "Affix4", "AffixAdd4" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerRankSeason), global::Nova.Client.table_StarTowerRankSeason.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerScenePrefab), global::Nova.Client.StarTowerScenePrefab.Parser, new[]{ "Id", "ConfigRes", "BianQuan", "GameplayTypes" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerScenePrefab), global::Nova.Client.table_StarTowerScenePrefab.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerShopGoodsGroup), global::Nova.Client.StarTowerShopGoodsGroup.Parser, new[]{ "Id", "ShowItem" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerShopGoodsGroup), global::Nova.Client.table_StarTowerShopGoodsGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerSpecificCombat), global::Nova.Client.StarTowerSpecificCombat.Parser, new[]{ "Id", "Name", "Desc", "Type", "EventId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerSpecificCombat), global::Nova.Client.table_StarTowerSpecificCombat.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerSpMode), global::Nova.Client.StarTowerSpMode.Parser, new[]{ "Id", "LimitTimeWeight", "LimitKilledWeight", "GoblinWeight", "ContinuousKillingWeight" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerSpMode), global::Nova.Client.table_StarTowerSpMode.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerStage), global::Nova.Client.StarTowerStage.Parser, new[]{ "Id", "Stage", "GroupId", "Floor", "RoomType", "InteriorCurrencyQuantity", "GuaranteedMapId", "GuaranteedMonsterPlanId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerStage), global::Nova.Client.table_StarTowerStage.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerTalk), global::Nova.Client.StarTowerTalk.Parser, new[]{ "Id", "Name", "Content", "Color", "Face", "Voice" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerTalk), global::Nova.Client.table_StarTowerTalk.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerTeamExp), global::Nova.Client.StarTowerTeamExp.Parser, new[]{ "Id", "GroupId", "Level", "NeedExp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StarTowerTeamExp), global::Nova.Client.table_StarTowerTeamExp.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Story), global::Nova.Client.Story.Parser, new[]{ "Id", "StoryId", "Comment", "Chapter", "Index", "Title", "Desc", "TrialBuild", "ConditionId", "IsBranch", "IsBattle", "Reward", "RewardDisplay", "ParentStoryId", "HasEvidence", "AvgLuaName", "FloorId", "PreviewMonsterGroupId", "Recommend", "Aim" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Story), global::Nova.Client.table_Story.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryChapter), global::Nova.Client.StoryChapter.Parser, new[]{ "Id", "Type", "WorldClass", "PrevStories", "Index", "Name", "Desc", "ChapterIcon", "TimeStamp", "ChapterYear", "UnlockShowStoryId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryChapter), global::Nova.Client.table_StoryChapter.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryCondition), global::Nova.Client.StoryCondition.Parser, new[]{ "Id", "ConditionId", "Comment", "EvIdsA", "EvIdsB", "StoryIdA", "StoryIdB", "PlayerWorldLevel" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryCondition), global::Nova.Client.table_StoryCondition.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryEvidence), global::Nova.Client.StoryEvidence.Parser, new[]{ "Id", "EvId", "Comment", "Name", "Desc", "Icon", "IconBg" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryEvidence), global::Nova.Client.table_StoryEvidence.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryPersonality), global::Nova.Client.StoryPersonality.Parser, new[]{ "Id", "Name", "Db", "Icon", "Color" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryPersonality), global::Nova.Client.table_StoryPersonality.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StoryRolePersonality), global::Nova.Client.StoryRolePersonality.Parser, new[]{ "Id", "AvgCharId", "Personalitys", "BaseValue", "Amax", "AmaxFace", "Bmax", "BmaxFace", "Cmax", "CmaxFace", "Aplus", "AplusFace", "Bplus", "BplusFace", "Cplus", "CplusFace", "Ab", "AbFace", "Ac", "AcFace", "Bc", "BcFace", "Normal", "NormalFace" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_StoryRolePersonality), global::Nova.Client.table_StoryRolePersonality.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Talent), global::Nova.Client.Talent.Parser, new[]{ "Id", "Index", "Title", "GroupId", "Type", "SubType", "Sort", "Nodes", "EffectId", "EnhanceSkillId", "EnhanceSkillLevel", "EnhancePotentialId", "EnhancePotentialLevel", "Desc", "Icon", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Talent), global::Nova.Client.table_Talent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TalentGroup), global::Nova.Client.TalentGroup.Parser, new[]{ "Id", "CharId", "PreGroup", "NodeLimit", "Title" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TalentGroup), global::Nova.Client.table_TalentGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Title), global::Nova.Client.Title.Parser, new[]{ "Id", "ItemId", "TitleType", "Desc", "Sort" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Title), global::Nova.Client.table_Title.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TopBar), global::Nova.Client.TopBar.Parser, new[]{ "Id", "Title", "EntryId", "HideBack", "Energy", "Coin", "CoinIds", "HideCoinAdd" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TopBar), global::Nova.Client.table_TopBar.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TourGuideQuest), global::Nova.Client.TourGuideQuest.Parser, new[]{ "Id", "Order", "Title", "JumpTo", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TourGuideQuest), global::Nova.Client.table_TourGuideQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TourGuideQuestGroup), global::Nova.Client.TourGuideQuestGroup.Parser, new[]{ "Id", "Order", "Reward1", "RewardQty1", "Reward2", "RewardQty2", "Reward3", "RewardQty3", "Reward4", "RewardQty4", "Reward5", "RewardQty5", "Reward6", "RewardQty6" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TourGuideQuestGroup), global::Nova.Client.table_TourGuideQuestGroup.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Trap), global::Nova.Client.Trap.Parser, new[]{ "Id", "Name", "FCId", "Model", "ModelScale", "BuffFXScale", "ColliderScale", "AttributeId", "Templete", "BuffIds", "TurnOffBuffIds", "TurnOnBuffIds", "InterruptSkill", "SubType", "Faction", "Filter", "IgnoreCollision", "ActiveEff", "ShapeType", "Width", "Length", "Radius", "InnerRadius", "Angle", "Offset", "Rotation", "IsMove", "IsBlock", "MovAcc", "RotSpd", "MoveSpd" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Trap), global::Nova.Client.table_Trap.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrapAttribute), global::Nova.Client.TrapAttribute.Parser, new[]{ "Id", "Trigger", "TriggerIDs", "Filter" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrapAttribute), global::Nova.Client.table_TrapAttribute.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelBoss), global::Nova.Client.TravelerDuelBoss.Parser, new[]{ "Id", "Name", "TravelerDuelBossType", "Episode", "Image", "Cover", "ShowReward" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelBoss), global::Nova.Client.table_TravelerDuelBoss.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelBossLevel), global::Nova.Client.TravelerDuelBossLevel.Parser, new[]{ "Id", "BossId", "Difficulty", "Name", "Desc", "SuggestedPower", "RecommendBuildRank", "EET", "Timelimit", "PreviewMonsterGroupId", "FloorId", "PreLevelId", "PreLevelStar", "UnlockWorldClass", "UnlockDuelLevel", "DuelExp", "BaseAwardPreview", "Affinity", "Icon", "SkillShow", "Cover", "SkinId", "ExtraDropPreview" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelBossLevel), global::Nova.Client.table_TravelerDuelBossLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeAffix), global::Nova.Client.TravelerDuelChallengeAffix.Parser, new[]{ "Id", "GroupId", "Difficulty", "UnlockWorldClass", "UnlockDuelLevel", "UnlockDifficulty", "Name", "Desc", "Icon", "Element", "AddCamp", "AddClass", "SkillId", "BranchId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeAffix), global::Nova.Client.table_TravelerDuelChallengeAffix.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeDifficulty), global::Nova.Client.TravelerDuelChallengeDifficulty.Parser, new[]{ "Id", "Attr", "EffectId", "RecommendScore", "RecommendBuildRank" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeDifficulty), global::Nova.Client.table_TravelerDuelChallengeDifficulty.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeQuest), global::Nova.Client.TravelerDuelChallengeQuest.Parser, new[]{ "Id", "GroupId", "Title", "Desc", "JumpTo", "Order", "AcceptParams2", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeQuest), global::Nova.Client.table_TravelerDuelChallengeQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeRankReward), global::Nova.Client.TravelerDuelChallengeRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeRankReward), global::Nova.Client.table_TravelerDuelChallengeRankReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelChallengeSeason), global::Nova.Client.TravelerDuelChallengeSeason.Parser, new[]{ "Id", "BossId", "AffixGroupIds", "QuestGroupId", "BackGroundSource", "OpenTime", "EndTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelChallengeSeason), global::Nova.Client.table_TravelerDuelChallengeSeason.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelFloor), global::Nova.Client.TravelerDuelFloor.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent", "MonsterLv", "IntroCutscene" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelFloor), global::Nova.Client.table_TravelerDuelFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelLevel), global::Nova.Client.TravelerDuelLevel.Parser, new[]{ "Id", "LevelUpExp", "CoinAdditionProb" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelLevel), global::Nova.Client.table_TravelerDuelLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TravelerDuelQuest), global::Nova.Client.TravelerDuelQuest.Parser, new[]{ "Id", "Title", "Desc", "JumpTo", "Order", "AcceptParams2", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TravelerDuelQuest), global::Nova.Client.table_TravelerDuelQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrialBuild), global::Nova.Client.TrialBuild.Parser, new[]{ "Id", "Name", "Score", "Char", "Disc", "Potential", "DiscCommonSkill1", "DiscCommonSkill2", "DiscCommonSkill3", "DiscPassiveSkill1", "DiscPassiveSkill2", "DiscPassiveSkill3", "HarmonySkill", "Note" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrialBuild), global::Nova.Client.table_TrialBuild.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrialCharacter), global::Nova.Client.TrialCharacter.Parser, new[]{ "Id", "Name", "CharId", "CharacterSkin", "Break", "Level", "SkillLevel", "Talent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrialCharacter), global::Nova.Client.table_TrialCharacter.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.TrialDisc), global::Nova.Client.TrialDisc.Parser, new[]{ "Id", "DiscId", "Phase", "Level", "Star" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_TrialDisc), global::Nova.Client.table_TrialDisc.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.UIText), global::Nova.Client.UIText.Parser, new[]{ "Id", "Text" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_UIText), global::Nova.Client.table_UIText.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireBattleThreshold), global::Nova.Client.VampireBattleThreshold.Parser, new[]{ "MissionId", "Version", "FromSrcAtk", "FromPerkIntensityRatio", "FromSlotDmgRatio", "FromEE", "FromGenDmgRatio", "FromDmgPlus", "FromCritRatio", "FromFinalDmgRatio", "FromFinalDmgPlus", "ToErAmend", "ToDefAmend", "ToRcdSlotDmgRatio", "ToEERCD", "ToGenDmgRcdRatio", "ToDmgPlusRcd", "Dmg", "CritRate", "Hp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireBattleThreshold), global::Nova.Client.table_VampireBattleThreshold.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireEnemyPool), global::Nova.Client.VampireEnemyPool.Parser, new[]{ "PoolId", "WaveNum", "MonsterLevel", "EnemySetID", "WaveKeepTime", "PoolType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireEnemyPool), global::Nova.Client.table_VampireEnemyPool.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireEnemySet), global::Nova.Client.VampireEnemySet.Parser, new[]{ "SetId", "GroupNum", "MonsterId", "LevelChange", "DelayTime", "MaxNum", "AddData", "MaxNumImproveData", "MonsterSpawnType", "MonsterPoint", "DropExp", "DropChest", "MonsterWarning" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireEnemySet), global::Nova.Client.table_VampireEnemySet.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireEnemySpAttr), global::Nova.Client.VampireEnemySpAttr.Parser, new[]{ "Id", "RefDistance", "RefInterval" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireEnemySpAttr), global::Nova.Client.table_VampireEnemySpAttr.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireFloor), global::Nova.Client.VampireFloor.Parser, new[]{ "Id", "MapId", "WaveCount", "FirstHalfPoolId", "FHAffixId", "FHBossId", "SecondHalfPoolId", "SHAffixId", "SHBossId", "SpecialEnemySetId", "TreasureSetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireFloor), global::Nova.Client.table_VampireFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireMap), global::Nova.Client.VampireMap.Parser, new[]{ "Id", "SceneName", "ConfigPrefabName", "Theme", "BGM", "LeaveTriggerEvent" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireMap), global::Nova.Client.table_VampireMap.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireRankReward), global::Nova.Client.VampireRankReward.Parser, new[]{ "Id", "RankLower", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireRankReward), global::Nova.Client.table_VampireRankReward.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireRankSeason), global::Nova.Client.VampireRankSeason.Parser, new[]{ "Id", "MissionId", "OpenTime", "EndTime", "QuestGroup" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireRankSeason), global::Nova.Client.table_VampireRankSeason.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireSurvivor), global::Nova.Client.VampireSurvivor.Parser, new[]{ "Id", "Name", "Desc", "EET", "NotEET", "SuggestedPower", "RecommendBuildRank", "Type", "PreLevelId", "NeedWorldClass", "FirstQuestGroupId", "LevelGroupId", "FloorId", "NormalScore1", "EliteScore1", "BossScore1", "TimeScore1", "TimeLimit1", "NormalScore2", "EliteScore2", "BossScore2", "TimeScore2", "TimeLimit2", "EETScore1", "EETScore2", "FHPreviewMonsterGroupId", "SHPreviewMonsterGroupId", "CoverEpisode", "Episode", "Episode2", "FateCardBundle", "SpeciaFateCard", "SpeciaFateCardParam" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireSurvivor), global::Nova.Client.table_VampireSurvivor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireSurvivorLevel), global::Nova.Client.VampireSurvivorLevel.Parser, new[]{ "GroupID", "Level", "Exp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireSurvivorLevel), global::Nova.Client.table_VampireSurvivorLevel.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireSurvivorQuest), global::Nova.Client.VampireSurvivorQuest.Parser, new[]{ "Id", "GroupId", "Title", "Desc", "JumpTo", "Order", "Type", "CompleteCond", "CompleteCondParams", "AwardItemTid1", "AwardItemNum1", "AwardItemTid2", "AwardItemNum2", "AwardItemTid3", "AwardItemNum3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireSurvivorQuest), global::Nova.Client.table_VampireSurvivorQuest.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalent), global::Nova.Client.VampireTalent.Parser, new[]{ "Id", "Name", "DescTag", "Param", "Prev", "IsServer", "IsClient", "Effect", "Params", "Point", "Icon", "EffectId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireTalent), global::Nova.Client.table_VampireTalent.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalentDesc), global::Nova.Client.VampireTalentDesc.Parser, new[]{ "Id", "Num" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireTalentDesc), global::Nova.Client.table_VampireTalentDesc.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VampireTalentFloor), global::Nova.Client.VampireTalentFloor.Parser, new[]{ "Id", "Num", "TalentId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VampireTalentFloor), global::Nova.Client.table_VampireTalentFloor.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.VoDirectory), global::Nova.Client.VoDirectory.Parser, new[]{ "Id", "VoResource", "CharacterId", "Votype", "Lines", "Motion" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_VoDirectory), global::Nova.Client.table_VoDirectory.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.WeightParameter), global::Nova.Client.WeightParameter.Parser, new[]{ "Id", "Proportion", "Effect" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_WeightParameter), global::Nova.Client.table_WeightParameter.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Word), global::Nova.Client.Word.Parser, new[]{ "Id", "Title", "Desc", "Color", "Icon", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_Word), global::Nova.Client.table_Word.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.WordSuper), global::Nova.Client.WordSuper.Parser, new[]{ "Id", "Title", "Color", "Icon", "Desc", "Param1", "Param2", "Param3", "Param4", "Param5", "Param6", "Param7", "Param8", "Param9", "Param10" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_WordSuper), global::Nova.Client.table_WordSuper.Parser, new[]{ "List" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.WorldClass), global::Nova.Client.WorldClass.Parser, new[]{ "Rank", "Exp", "Limit", "Added", "DoubleCount", "Reward", "RewardLimit" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.table_WorldClass), global::Nova.Client.table_WorldClass.Parser, new[]{ "List" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Achievement : pb::IMessage<Achievement> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Achievement> _parser = new pb::MessageParser<Achievement>(() => new Achievement()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Achievement> 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.ClientTableReflection.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 Achievement() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Achievement(Achievement other) : this() { + id_ = other.id_; + achieveId_ = other.achieveId_; + title_ = other.title_; + desc_ = other.desc_; + rarity_ = other.rarity_; + type_ = other.type_; + hide_ = other.hide_; + jumpTo_ = other.jumpTo_; + completeCond_ = other.completeCond_; + completeCondClient_ = other.completeCondClient_; + aimNumShow_ = other.aimNumShow_; + prerequisites_ = other.prerequisites_.Clone(); + levelType_ = other.levelType_; + clientCompleteParams1_ = other.clientCompleteParams1_.Clone(); + clientCompleteParams2_ = other.clientCompleteParams2_.Clone(); + tid1_ = other.tid1_; + qty1_ = other.qty1_; + tid2_ = other.tid2_; + qty2_ = other.qty2_; + tid3_ = other.tid3_; + qty3_ = other.qty3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Achievement Clone() { + return new Achievement(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 "AchieveId" field.</summary> + public const int AchieveIdFieldNumber = 2; + private int achieveId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AchieveId { + get { return achieveId_; } + set { + achieveId_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "Rarity" field.</summary> + public const int RarityFieldNumber = 5; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 6; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Hide" field.</summary> + public const int HideFieldNumber = 7; + private bool hide_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Hide { + get { return hide_; } + set { + hide_ = value; + } + } + + /// <summary>Field number for the "JumpTo" field.</summary> + public const int JumpToFieldNumber = 8; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "CompleteCond" field.</summary> + public const int CompleteCondFieldNumber = 9; + private int completeCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCond { + get { return completeCond_; } + set { + completeCond_ = value; + } + } + + /// <summary>Field number for the "CompleteCondClient" field.</summary> + public const int CompleteCondClientFieldNumber = 10; + private int completeCondClient_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCondClient { + get { return completeCondClient_; } + set { + completeCondClient_ = value; + } + } + + /// <summary>Field number for the "AimNumShow" field.</summary> + public const int AimNumShowFieldNumber = 11; + private int aimNumShow_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AimNumShow { + get { return aimNumShow_; } + set { + aimNumShow_ = value; + } + } + + /// <summary>Field number for the "Prerequisites" field.</summary> + public const int PrerequisitesFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_prerequisites_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> prerequisites_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Prerequisites { + get { return prerequisites_; } + } + + /// <summary>Field number for the "LevelType" field.</summary> + public const int LevelTypeFieldNumber = 13; + private int levelType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelType { + get { return levelType_; } + set { + levelType_ = value; + } + } + + /// <summary>Field number for the "ClientCompleteParams1" field.</summary> + public const int ClientCompleteParams1FieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_clientCompleteParams1_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> clientCompleteParams1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ClientCompleteParams1 { + get { return clientCompleteParams1_; } + } + + /// <summary>Field number for the "ClientCompleteParams2" field.</summary> + public const int ClientCompleteParams2FieldNumber = 15; + private static readonly pb::FieldCodec<int> _repeated_clientCompleteParams2_codec + = pb::FieldCodec.ForInt32(122); + private readonly pbc::RepeatedField<int> clientCompleteParams2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ClientCompleteParams2 { + get { return clientCompleteParams2_; } + } + + /// <summary>Field number for the "Tid1" field.</summary> + public const int Tid1FieldNumber = 16; + private int tid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid1 { + get { return tid1_; } + set { + tid1_ = value; + } + } + + /// <summary>Field number for the "Qty1" field.</summary> + public const int Qty1FieldNumber = 17; + private int qty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty1 { + get { return qty1_; } + set { + qty1_ = value; + } + } + + /// <summary>Field number for the "Tid2" field.</summary> + public const int Tid2FieldNumber = 18; + private int tid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid2 { + get { return tid2_; } + set { + tid2_ = value; + } + } + + /// <summary>Field number for the "Qty2" field.</summary> + public const int Qty2FieldNumber = 19; + private int qty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty2 { + get { return qty2_; } + set { + qty2_ = value; + } + } + + /// <summary>Field number for the "Tid3" field.</summary> + public const int Tid3FieldNumber = 20; + private int tid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid3 { + get { return tid3_; } + set { + tid3_ = value; + } + } + + /// <summary>Field number for the "Qty3" field.</summary> + public const int Qty3FieldNumber = 21; + private int qty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty3 { + get { return qty3_; } + set { + qty3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Achievement); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Achievement other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (AchieveId != other.AchieveId) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (Rarity != other.Rarity) return false; + if (Type != other.Type) return false; + if (Hide != other.Hide) return false; + if (JumpTo != other.JumpTo) return false; + if (CompleteCond != other.CompleteCond) return false; + if (CompleteCondClient != other.CompleteCondClient) return false; + if (AimNumShow != other.AimNumShow) return false; + if(!prerequisites_.Equals(other.prerequisites_)) return false; + if (LevelType != other.LevelType) return false; + if(!clientCompleteParams1_.Equals(other.clientCompleteParams1_)) return false; + if(!clientCompleteParams2_.Equals(other.clientCompleteParams2_)) return false; + if (Tid1 != other.Tid1) return false; + if (Qty1 != other.Qty1) return false; + if (Tid2 != other.Tid2) return false; + if (Qty2 != other.Qty2) return false; + if (Tid3 != other.Tid3) return false; + if (Qty3 != other.Qty3) 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 (AchieveId != 0) hash ^= AchieveId.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Rarity != 0) hash ^= Rarity.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Hide != false) hash ^= Hide.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); + if (CompleteCondClient != 0) hash ^= CompleteCondClient.GetHashCode(); + if (AimNumShow != 0) hash ^= AimNumShow.GetHashCode(); + hash ^= prerequisites_.GetHashCode(); + if (LevelType != 0) hash ^= LevelType.GetHashCode(); + hash ^= clientCompleteParams1_.GetHashCode(); + hash ^= clientCompleteParams2_.GetHashCode(); + if (Tid1 != 0) hash ^= Tid1.GetHashCode(); + if (Qty1 != 0) hash ^= Qty1.GetHashCode(); + if (Tid2 != 0) hash ^= Tid2.GetHashCode(); + if (Qty2 != 0) hash ^= Qty2.GetHashCode(); + if (Tid3 != 0) hash ^= Tid3.GetHashCode(); + if (Qty3 != 0) hash ^= Qty3.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 (AchieveId != 0) { + output.WriteRawTag(16); + output.WriteInt32(AchieveId); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Rarity != 0) { + output.WriteRawTag(40); + output.WriteInt32(Rarity); + } + if (Type != 0) { + output.WriteRawTag(48); + output.WriteInt32(Type); + } + if (Hide != false) { + output.WriteRawTag(56); + output.WriteBool(Hide); + } + if (JumpTo != 0) { + output.WriteRawTag(64); + output.WriteInt32(JumpTo); + } + if (CompleteCond != 0) { + output.WriteRawTag(72); + output.WriteInt32(CompleteCond); + } + if (CompleteCondClient != 0) { + output.WriteRawTag(80); + output.WriteInt32(CompleteCondClient); + } + if (AimNumShow != 0) { + output.WriteRawTag(88); + output.WriteInt32(AimNumShow); + } + prerequisites_.WriteTo(output, _repeated_prerequisites_codec); + if (LevelType != 0) { + output.WriteRawTag(104); + output.WriteInt32(LevelType); + } + clientCompleteParams1_.WriteTo(output, _repeated_clientCompleteParams1_codec); + clientCompleteParams2_.WriteTo(output, _repeated_clientCompleteParams2_codec); + if (Tid1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Qty3); + } + 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 (AchieveId != 0) { + output.WriteRawTag(16); + output.WriteInt32(AchieveId); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Rarity != 0) { + output.WriteRawTag(40); + output.WriteInt32(Rarity); + } + if (Type != 0) { + output.WriteRawTag(48); + output.WriteInt32(Type); + } + if (Hide != false) { + output.WriteRawTag(56); + output.WriteBool(Hide); + } + if (JumpTo != 0) { + output.WriteRawTag(64); + output.WriteInt32(JumpTo); + } + if (CompleteCond != 0) { + output.WriteRawTag(72); + output.WriteInt32(CompleteCond); + } + if (CompleteCondClient != 0) { + output.WriteRawTag(80); + output.WriteInt32(CompleteCondClient); + } + if (AimNumShow != 0) { + output.WriteRawTag(88); + output.WriteInt32(AimNumShow); + } + prerequisites_.WriteTo(ref output, _repeated_prerequisites_codec); + if (LevelType != 0) { + output.WriteRawTag(104); + output.WriteInt32(LevelType); + } + clientCompleteParams1_.WriteTo(ref output, _repeated_clientCompleteParams1_codec); + clientCompleteParams2_.WriteTo(ref output, _repeated_clientCompleteParams2_codec); + if (Tid1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Qty3); + } + 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 (AchieveId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AchieveId); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Hide != false) { + size += 1 + 1; + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (CompleteCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); + } + if (CompleteCondClient != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCondClient); + } + if (AimNumShow != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AimNumShow); + } + size += prerequisites_.CalculateSize(_repeated_prerequisites_codec); + if (LevelType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelType); + } + size += clientCompleteParams1_.CalculateSize(_repeated_clientCompleteParams1_codec); + size += clientCompleteParams2_.CalculateSize(_repeated_clientCompleteParams2_codec); + if (Tid1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid1); + } + if (Qty1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty1); + } + if (Tid2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid2); + } + if (Qty2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty2); + } + if (Tid3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Tid3); + } + if (Qty3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Qty3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Achievement other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.AchieveId != 0) { + AchieveId = other.AchieveId; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Hide != false) { + Hide = other.Hide; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.CompleteCond != 0) { + CompleteCond = other.CompleteCond; + } + if (other.CompleteCondClient != 0) { + CompleteCondClient = other.CompleteCondClient; + } + if (other.AimNumShow != 0) { + AimNumShow = other.AimNumShow; + } + prerequisites_.Add(other.prerequisites_); + if (other.LevelType != 0) { + LevelType = other.LevelType; + } + clientCompleteParams1_.Add(other.clientCompleteParams1_); + clientCompleteParams2_.Add(other.clientCompleteParams2_); + if (other.Tid1 != 0) { + Tid1 = other.Tid1; + } + if (other.Qty1 != 0) { + Qty1 = other.Qty1; + } + if (other.Tid2 != 0) { + Tid2 = other.Tid2; + } + if (other.Qty2 != 0) { + Qty2 = other.Qty2; + } + if (other.Tid3 != 0) { + Tid3 = other.Tid3; + } + if (other.Qty3 != 0) { + Qty3 = other.Qty3; + } + _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: { + AchieveId = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Rarity = input.ReadInt32(); + break; + } + case 48: { + Type = input.ReadInt32(); + break; + } + case 56: { + Hide = input.ReadBool(); + break; + } + case 64: { + JumpTo = input.ReadInt32(); + break; + } + case 72: { + CompleteCond = input.ReadInt32(); + break; + } + case 80: { + CompleteCondClient = input.ReadInt32(); + break; + } + case 88: { + AimNumShow = input.ReadInt32(); + break; + } + case 98: + case 96: { + prerequisites_.AddEntriesFrom(input, _repeated_prerequisites_codec); + break; + } + case 104: { + LevelType = input.ReadInt32(); + break; + } + case 114: + case 112: { + clientCompleteParams1_.AddEntriesFrom(input, _repeated_clientCompleteParams1_codec); + break; + } + case 122: + case 120: { + clientCompleteParams2_.AddEntriesFrom(input, _repeated_clientCompleteParams2_codec); + break; + } + case 128: { + Tid1 = input.ReadInt32(); + break; + } + case 136: { + Qty1 = input.ReadInt32(); + break; + } + case 144: { + Tid2 = input.ReadInt32(); + break; + } + case 152: { + Qty2 = input.ReadInt32(); + break; + } + case 160: { + Tid3 = input.ReadInt32(); + break; + } + case 168: { + Qty3 = 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: { + AchieveId = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Rarity = input.ReadInt32(); + break; + } + case 48: { + Type = input.ReadInt32(); + break; + } + case 56: { + Hide = input.ReadBool(); + break; + } + case 64: { + JumpTo = input.ReadInt32(); + break; + } + case 72: { + CompleteCond = input.ReadInt32(); + break; + } + case 80: { + CompleteCondClient = input.ReadInt32(); + break; + } + case 88: { + AimNumShow = input.ReadInt32(); + break; + } + case 98: + case 96: { + prerequisites_.AddEntriesFrom(ref input, _repeated_prerequisites_codec); + break; + } + case 104: { + LevelType = input.ReadInt32(); + break; + } + case 114: + case 112: { + clientCompleteParams1_.AddEntriesFrom(ref input, _repeated_clientCompleteParams1_codec); + break; + } + case 122: + case 120: { + clientCompleteParams2_.AddEntriesFrom(ref input, _repeated_clientCompleteParams2_codec); + break; + } + case 128: { + Tid1 = input.ReadInt32(); + break; + } + case 136: { + Qty1 = input.ReadInt32(); + break; + } + case 144: { + Tid2 = input.ReadInt32(); + break; + } + case 152: { + Qty2 = input.ReadInt32(); + break; + } + case 160: { + Tid3 = input.ReadInt32(); + break; + } + case 168: { + Qty3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Achievement : pb::IMessage<table_Achievement> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Achievement> _parser = new pb::MessageParser<table_Achievement>(() => new table_Achievement()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Achievement> 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.ClientTableReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Achievement() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Achievement(table_Achievement other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Achievement Clone() { + return new table_Achievement(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Achievement> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Achievement.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Achievement> list_ = new pbc::RepeatedField<global::Nova.Client.Achievement>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Achievement> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Achievement); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Achievement other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Achievement other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Activity : pb::IMessage<Activity> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Activity> _parser = new pb::MessageParser<Activity>(() => new Activity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Activity> 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.ClientTableReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Activity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Activity(Activity other) : this() { + id_ = other.id_; + sortId_ = other.sortId_; + activityType_ = other.activityType_; + name_ = other.name_; + preLimit_ = other.preLimit_; + limitParam_ = other.limitParam_; + startType_ = other.startType_; + startTime_ = other.startTime_; + startCondType_ = other.startCondType_; + startCondParams_ = other.startCondParams_.Clone(); + endType_ = other.endType_; + endTime_ = other.endTime_; + endDuration_ = other.endDuration_; + bannerRes_ = other.bannerRes_; + popUpRes_ = other.popUpRes_; + tabBgRes_ = other.tabBgRes_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Activity Clone() { + return new Activity(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 "SortId" field.</summary> + public const int SortIdFieldNumber = 2; + private int sortId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortId { + get { return sortId_; } + set { + sortId_ = value; + } + } + + /// <summary>Field number for the "ActivityType" field.</summary> + public const int ActivityTypeFieldNumber = 3; + private int activityType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActivityType { + get { return activityType_; } + set { + activityType_ = 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 "PreLimit" field.</summary> + public const int PreLimitFieldNumber = 5; + private int preLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreLimit { + get { return preLimit_; } + set { + preLimit_ = value; + } + } + + /// <summary>Field number for the "LimitParam" field.</summary> + public const int LimitParamFieldNumber = 6; + private string limitParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LimitParam { + get { return limitParam_; } + set { + limitParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StartType" field.</summary> + public const int StartTypeFieldNumber = 7; + private int startType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StartType { + get { return startType_; } + set { + startType_ = value; + } + } + + /// <summary>Field number for the "StartTime" field.</summary> + public const int StartTimeFieldNumber = 8; + private string startTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StartTime { + get { return startTime_; } + set { + startTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StartCondType" field.</summary> + public const int StartCondTypeFieldNumber = 9; + private int startCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StartCondType { + get { return startCondType_; } + set { + startCondType_ = value; + } + } + + /// <summary>Field number for the "StartCondParams" field.</summary> + public const int StartCondParamsFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_startCondParams_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> startCondParams_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> StartCondParams { + get { return startCondParams_; } + } + + /// <summary>Field number for the "EndType" field.</summary> + public const int EndTypeFieldNumber = 11; + private int endType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EndType { + get { return endType_; } + set { + endType_ = value; + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 12; + private string endTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndTime { + get { return endTime_; } + set { + endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndDuration" field.</summary> + public const int EndDurationFieldNumber = 13; + private int endDuration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EndDuration { + get { return endDuration_; } + set { + endDuration_ = value; + } + } + + /// <summary>Field number for the "BannerRes" field.</summary> + public const int BannerResFieldNumber = 14; + private string bannerRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BannerRes { + get { return bannerRes_; } + set { + bannerRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PopUpRes" field.</summary> + public const int PopUpResFieldNumber = 15; + private string popUpRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PopUpRes { + get { return popUpRes_; } + set { + popUpRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TabBgRes" field.</summary> + public const int TabBgResFieldNumber = 16; + private string tabBgRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TabBgRes { + get { return tabBgRes_; } + set { + tabBgRes_ = 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 Activity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Activity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SortId != other.SortId) return false; + if (ActivityType != other.ActivityType) return false; + if (Name != other.Name) return false; + if (PreLimit != other.PreLimit) return false; + if (LimitParam != other.LimitParam) return false; + if (StartType != other.StartType) return false; + if (StartTime != other.StartTime) return false; + if (StartCondType != other.StartCondType) return false; + if(!startCondParams_.Equals(other.startCondParams_)) return false; + if (EndType != other.EndType) return false; + if (EndTime != other.EndTime) return false; + if (EndDuration != other.EndDuration) return false; + if (BannerRes != other.BannerRes) return false; + if (PopUpRes != other.PopUpRes) return false; + if (TabBgRes != other.TabBgRes) 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 (SortId != 0) hash ^= SortId.GetHashCode(); + if (ActivityType != 0) hash ^= ActivityType.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (PreLimit != 0) hash ^= PreLimit.GetHashCode(); + if (LimitParam.Length != 0) hash ^= LimitParam.GetHashCode(); + if (StartType != 0) hash ^= StartType.GetHashCode(); + if (StartTime.Length != 0) hash ^= StartTime.GetHashCode(); + if (StartCondType != 0) hash ^= StartCondType.GetHashCode(); + hash ^= startCondParams_.GetHashCode(); + if (EndType != 0) hash ^= EndType.GetHashCode(); + if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); + if (EndDuration != 0) hash ^= EndDuration.GetHashCode(); + if (BannerRes.Length != 0) hash ^= BannerRes.GetHashCode(); + if (PopUpRes.Length != 0) hash ^= PopUpRes.GetHashCode(); + if (TabBgRes.Length != 0) hash ^= TabBgRes.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 (SortId != 0) { + output.WriteRawTag(16); + output.WriteInt32(SortId); + } + if (ActivityType != 0) { + output.WriteRawTag(24); + output.WriteInt32(ActivityType); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (PreLimit != 0) { + output.WriteRawTag(40); + output.WriteInt32(PreLimit); + } + if (LimitParam.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LimitParam); + } + if (StartType != 0) { + output.WriteRawTag(56); + output.WriteInt32(StartType); + } + if (StartTime.Length != 0) { + output.WriteRawTag(66); + output.WriteString(StartTime); + } + if (StartCondType != 0) { + output.WriteRawTag(72); + output.WriteInt32(StartCondType); + } + startCondParams_.WriteTo(output, _repeated_startCondParams_codec); + if (EndType != 0) { + output.WriteRawTag(88); + output.WriteInt32(EndType); + } + if (EndTime.Length != 0) { + output.WriteRawTag(98); + output.WriteString(EndTime); + } + if (EndDuration != 0) { + output.WriteRawTag(104); + output.WriteInt32(EndDuration); + } + if (BannerRes.Length != 0) { + output.WriteRawTag(114); + output.WriteString(BannerRes); + } + if (PopUpRes.Length != 0) { + output.WriteRawTag(122); + output.WriteString(PopUpRes); + } + if (TabBgRes.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(TabBgRes); + } + 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 (SortId != 0) { + output.WriteRawTag(16); + output.WriteInt32(SortId); + } + if (ActivityType != 0) { + output.WriteRawTag(24); + output.WriteInt32(ActivityType); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (PreLimit != 0) { + output.WriteRawTag(40); + output.WriteInt32(PreLimit); + } + if (LimitParam.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LimitParam); + } + if (StartType != 0) { + output.WriteRawTag(56); + output.WriteInt32(StartType); + } + if (StartTime.Length != 0) { + output.WriteRawTag(66); + output.WriteString(StartTime); + } + if (StartCondType != 0) { + output.WriteRawTag(72); + output.WriteInt32(StartCondType); + } + startCondParams_.WriteTo(ref output, _repeated_startCondParams_codec); + if (EndType != 0) { + output.WriteRawTag(88); + output.WriteInt32(EndType); + } + if (EndTime.Length != 0) { + output.WriteRawTag(98); + output.WriteString(EndTime); + } + if (EndDuration != 0) { + output.WriteRawTag(104); + output.WriteInt32(EndDuration); + } + if (BannerRes.Length != 0) { + output.WriteRawTag(114); + output.WriteString(BannerRes); + } + if (PopUpRes.Length != 0) { + output.WriteRawTag(122); + output.WriteString(PopUpRes); + } + if (TabBgRes.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(TabBgRes); + } + 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 (SortId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); + } + if (ActivityType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActivityType); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (PreLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLimit); + } + if (LimitParam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LimitParam); + } + if (StartType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartType); + } + if (StartTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StartTime); + } + if (StartCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartCondType); + } + size += startCondParams_.CalculateSize(_repeated_startCondParams_codec); + if (EndType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndType); + } + if (EndTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); + } + if (EndDuration != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndDuration); + } + if (BannerRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BannerRes); + } + if (PopUpRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PopUpRes); + } + if (TabBgRes.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TabBgRes); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Activity other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SortId != 0) { + SortId = other.SortId; + } + if (other.ActivityType != 0) { + ActivityType = other.ActivityType; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.PreLimit != 0) { + PreLimit = other.PreLimit; + } + if (other.LimitParam.Length != 0) { + LimitParam = other.LimitParam; + } + if (other.StartType != 0) { + StartType = other.StartType; + } + if (other.StartTime.Length != 0) { + StartTime = other.StartTime; + } + if (other.StartCondType != 0) { + StartCondType = other.StartCondType; + } + startCondParams_.Add(other.startCondParams_); + if (other.EndType != 0) { + EndType = other.EndType; + } + if (other.EndTime.Length != 0) { + EndTime = other.EndTime; + } + if (other.EndDuration != 0) { + EndDuration = other.EndDuration; + } + if (other.BannerRes.Length != 0) { + BannerRes = other.BannerRes; + } + if (other.PopUpRes.Length != 0) { + PopUpRes = other.PopUpRes; + } + if (other.TabBgRes.Length != 0) { + TabBgRes = other.TabBgRes; + } + _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: { + SortId = input.ReadInt32(); + break; + } + case 24: { + ActivityType = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + PreLimit = input.ReadInt32(); + break; + } + case 50: { + LimitParam = input.ReadString(); + break; + } + case 56: { + StartType = input.ReadInt32(); + break; + } + case 66: { + StartTime = input.ReadString(); + break; + } + case 72: { + StartCondType = input.ReadInt32(); + break; + } + case 82: + case 80: { + startCondParams_.AddEntriesFrom(input, _repeated_startCondParams_codec); + break; + } + case 88: { + EndType = input.ReadInt32(); + break; + } + case 98: { + EndTime = input.ReadString(); + break; + } + case 104: { + EndDuration = input.ReadInt32(); + break; + } + case 114: { + BannerRes = input.ReadString(); + break; + } + case 122: { + PopUpRes = input.ReadString(); + break; + } + case 130: { + TabBgRes = 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: { + SortId = input.ReadInt32(); + break; + } + case 24: { + ActivityType = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + PreLimit = input.ReadInt32(); + break; + } + case 50: { + LimitParam = input.ReadString(); + break; + } + case 56: { + StartType = input.ReadInt32(); + break; + } + case 66: { + StartTime = input.ReadString(); + break; + } + case 72: { + StartCondType = input.ReadInt32(); + break; + } + case 82: + case 80: { + startCondParams_.AddEntriesFrom(ref input, _repeated_startCondParams_codec); + break; + } + case 88: { + EndType = input.ReadInt32(); + break; + } + case 98: { + EndTime = input.ReadString(); + break; + } + case 104: { + EndDuration = input.ReadInt32(); + break; + } + case 114: { + BannerRes = input.ReadString(); + break; + } + case 122: { + PopUpRes = input.ReadString(); + break; + } + case 130: { + TabBgRes = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Activity : pb::IMessage<table_Activity> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Activity> _parser = new pb::MessageParser<table_Activity>(() => new table_Activity()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Activity> 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.ClientTableReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Activity() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Activity(table_Activity other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Activity Clone() { + return new table_Activity(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Activity> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Activity.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Activity> list_ = new pbc::RepeatedField<global::Nova.Client.Activity>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Activity> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Activity); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Activity other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Activity other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AddBuffAction : pb::IMessage<AddBuffAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AddBuffAction> _parser = new pb::MessageParser<AddBuffAction>(() => new AddBuffAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AddBuffAction> 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.ClientTableReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBuffAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBuffAction(AddBuffAction other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + targetType_ = other.targetType_; + buffId_ = other.buffId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AddBuffAction Clone() { + return new AddBuffAction(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 "GroupId" 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 "TargetType" field.</summary> + public const int TargetTypeFieldNumber = 3; + private int targetType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TargetType { + get { return targetType_; } + set { + targetType_ = value; + } + } + + /// <summary>Field number for the "BuffId" field.</summary> + public const int BuffIdFieldNumber = 4; + private int buffId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffId { + get { return buffId_; } + set { + buffId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AddBuffAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AddBuffAction 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 (TargetType != other.TargetType) return false; + if (BuffId != other.BuffId) 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 (TargetType != 0) hash ^= TargetType.GetHashCode(); + if (BuffId != 0) hash ^= BuffId.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 (TargetType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TargetType); + } + if (BuffId != 0) { + output.WriteRawTag(32); + output.WriteInt32(BuffId); + } + 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 (TargetType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TargetType); + } + if (BuffId != 0) { + output.WriteRawTag(32); + output.WriteInt32(BuffId); + } + 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 (TargetType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TargetType); + } + if (BuffId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AddBuffAction other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.TargetType != 0) { + TargetType = other.TargetType; + } + if (other.BuffId != 0) { + BuffId = other.BuffId; + } + _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: { + TargetType = input.ReadInt32(); + break; + } + case 32: { + BuffId = 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: { + TargetType = input.ReadInt32(); + break; + } + case 32: { + BuffId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AddBuffAction : pb::IMessage<table_AddBuffAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AddBuffAction> _parser = new pb::MessageParser<table_AddBuffAction>(() => new table_AddBuffAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AddBuffAction> 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.ClientTableReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AddBuffAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AddBuffAction(table_AddBuffAction other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AddBuffAction Clone() { + return new table_AddBuffAction(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AddBuffAction> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AddBuffAction.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AddBuffAction> list_ = new pbc::RepeatedField<global::Nova.Client.AddBuffAction>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AddBuffAction> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AddBuffAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AddBuffAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AddBuffAction other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AffinityGift : pb::IMessage<AffinityGift> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AffinityGift> _parser = new pb::MessageParser<AffinityGift>(() => new AffinityGift()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AffinityGift> 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.ClientTableReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityGift() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityGift(AffinityGift other) : this() { + id_ = other.id_; + baseAffinity_ = other.baseAffinity_; + tags_ = other.tags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityGift Clone() { + return new AffinityGift(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 "BaseAffinity" field.</summary> + public const int BaseAffinityFieldNumber = 2; + private int baseAffinity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BaseAffinity { + get { return baseAffinity_; } + set { + baseAffinity_ = 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_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AffinityGift); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AffinityGift other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BaseAffinity != other.BaseAffinity) return false; + if(!tags_.Equals(other.tags_)) 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 (BaseAffinity != 0) hash ^= BaseAffinity.GetHashCode(); + hash ^= tags_.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 (BaseAffinity != 0) { + output.WriteRawTag(16); + output.WriteInt32(BaseAffinity); + } + tags_.WriteTo(output, _repeated_tags_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 (BaseAffinity != 0) { + output.WriteRawTag(16); + output.WriteInt32(BaseAffinity); + } + tags_.WriteTo(ref output, _repeated_tags_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 (BaseAffinity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseAffinity); + } + size += tags_.CalculateSize(_repeated_tags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AffinityGift other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BaseAffinity != 0) { + BaseAffinity = other.BaseAffinity; + } + tags_.Add(other.tags_); + _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: { + BaseAffinity = input.ReadInt32(); + break; + } + case 26: + case 24: { + tags_.AddEntriesFrom(input, _repeated_tags_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: { + BaseAffinity = input.ReadInt32(); + break; + } + case 26: + case 24: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AffinityGift : pb::IMessage<table_AffinityGift> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AffinityGift> _parser = new pb::MessageParser<table_AffinityGift>(() => new table_AffinityGift()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AffinityGift> 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.ClientTableReflection.Descriptor.MessageTypes[7]; } + } + + [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 table_AffinityGift() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityGift(table_AffinityGift other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityGift Clone() { + return new table_AffinityGift(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AffinityGift> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityGift.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AffinityGift> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityGift>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AffinityGift> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AffinityGift); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AffinityGift other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AffinityGift other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AffinityLevel : pb::IMessage<AffinityLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AffinityLevel> _parser = new pb::MessageParser<AffinityLevel>(() => new AffinityLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AffinityLevel> 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.ClientTableReflection.Descriptor.MessageTypes[8]; } + } + + [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 AffinityLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityLevel(AffinityLevel other) : this() { + id_ = other.id_; + affinityLevel_ = other.affinityLevel_; + needExp_ = other.needExp_; + templateId_ = other.templateId_; + affinityLevelName_ = other.affinityLevelName_; + affinityLevelIcon_ = other.affinityLevelIcon_; + affinityLevelRewardIcon_ = other.affinityLevelRewardIcon_; + affinityLevelRewardLockIcon_ = other.affinityLevelRewardLockIcon_; + effect_ = other.effect_.Clone(); + affinityLevelStage_ = other.affinityLevelStage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityLevel Clone() { + return new AffinityLevel(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 "AffinityLevel" field.</summary> + public const int AffinityLevel_FieldNumber = 2; + private int affinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AffinityLevel_ { + get { return affinityLevel_; } + set { + affinityLevel_ = value; + } + } + + /// <summary>Field number for the "NeedExp" field.</summary> + public const int NeedExpFieldNumber = 3; + private int needExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedExp { + get { return needExp_; } + set { + needExp_ = value; + } + } + + /// <summary>Field number for the "TemplateId" field.</summary> + public const int TemplateIdFieldNumber = 4; + private int templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// <summary>Field number for the "AffinityLevelName" field.</summary> + public const int AffinityLevelNameFieldNumber = 5; + private string affinityLevelName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AffinityLevelName { + get { return affinityLevelName_; } + set { + affinityLevelName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AffinityLevelIcon" field.</summary> + public const int AffinityLevelIconFieldNumber = 6; + private string affinityLevelIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AffinityLevelIcon { + get { return affinityLevelIcon_; } + set { + affinityLevelIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AffinityLevelRewardIcon" field.</summary> + public const int AffinityLevelRewardIconFieldNumber = 7; + private string affinityLevelRewardIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AffinityLevelRewardIcon { + get { return affinityLevelRewardIcon_; } + set { + affinityLevelRewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AffinityLevelRewardLockIcon" field.</summary> + public const int AffinityLevelRewardLockIconFieldNumber = 8; + private string affinityLevelRewardLockIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AffinityLevelRewardLockIcon { + get { return affinityLevelRewardLockIcon_; } + set { + affinityLevelRewardLockIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Effect" field.</summary> + public const int EffectFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_effect_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> effect_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Effect { + get { return effect_; } + } + + /// <summary>Field number for the "AffinityLevelStage" field.</summary> + public const int AffinityLevelStageFieldNumber = 10; + private int affinityLevelStage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AffinityLevelStage { + get { return affinityLevelStage_; } + set { + affinityLevelStage_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AffinityLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AffinityLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (AffinityLevel_ != other.AffinityLevel_) return false; + if (NeedExp != other.NeedExp) return false; + if (TemplateId != other.TemplateId) return false; + if (AffinityLevelName != other.AffinityLevelName) return false; + if (AffinityLevelIcon != other.AffinityLevelIcon) return false; + if (AffinityLevelRewardIcon != other.AffinityLevelRewardIcon) return false; + if (AffinityLevelRewardLockIcon != other.AffinityLevelRewardLockIcon) return false; + if(!effect_.Equals(other.effect_)) return false; + if (AffinityLevelStage != other.AffinityLevelStage) 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 (AffinityLevel_ != 0) hash ^= AffinityLevel_.GetHashCode(); + if (NeedExp != 0) hash ^= NeedExp.GetHashCode(); + if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); + if (AffinityLevelName.Length != 0) hash ^= AffinityLevelName.GetHashCode(); + if (AffinityLevelIcon.Length != 0) hash ^= AffinityLevelIcon.GetHashCode(); + if (AffinityLevelRewardIcon.Length != 0) hash ^= AffinityLevelRewardIcon.GetHashCode(); + if (AffinityLevelRewardLockIcon.Length != 0) hash ^= AffinityLevelRewardLockIcon.GetHashCode(); + hash ^= effect_.GetHashCode(); + if (AffinityLevelStage != 0) hash ^= AffinityLevelStage.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 (AffinityLevel_ != 0) { + output.WriteRawTag(16); + output.WriteInt32(AffinityLevel_); + } + if (NeedExp != 0) { + output.WriteRawTag(24); + output.WriteInt32(NeedExp); + } + if (TemplateId != 0) { + output.WriteRawTag(32); + output.WriteInt32(TemplateId); + } + if (AffinityLevelName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AffinityLevelName); + } + if (AffinityLevelIcon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AffinityLevelIcon); + } + if (AffinityLevelRewardIcon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(AffinityLevelRewardIcon); + } + if (AffinityLevelRewardLockIcon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(AffinityLevelRewardLockIcon); + } + effect_.WriteTo(output, _repeated_effect_codec); + if (AffinityLevelStage != 0) { + output.WriteRawTag(80); + output.WriteInt32(AffinityLevelStage); + } + 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 (AffinityLevel_ != 0) { + output.WriteRawTag(16); + output.WriteInt32(AffinityLevel_); + } + if (NeedExp != 0) { + output.WriteRawTag(24); + output.WriteInt32(NeedExp); + } + if (TemplateId != 0) { + output.WriteRawTag(32); + output.WriteInt32(TemplateId); + } + if (AffinityLevelName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AffinityLevelName); + } + if (AffinityLevelIcon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AffinityLevelIcon); + } + if (AffinityLevelRewardIcon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(AffinityLevelRewardIcon); + } + if (AffinityLevelRewardLockIcon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(AffinityLevelRewardLockIcon); + } + effect_.WriteTo(ref output, _repeated_effect_codec); + if (AffinityLevelStage != 0) { + output.WriteRawTag(80); + output.WriteInt32(AffinityLevelStage); + } + 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 (AffinityLevel_ != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityLevel_); + } + if (NeedExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp); + } + if (TemplateId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); + } + if (AffinityLevelName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelName); + } + if (AffinityLevelIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelIcon); + } + if (AffinityLevelRewardIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelRewardIcon); + } + if (AffinityLevelRewardLockIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AffinityLevelRewardLockIcon); + } + size += effect_.CalculateSize(_repeated_effect_codec); + if (AffinityLevelStage != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityLevelStage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AffinityLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.AffinityLevel_ != 0) { + AffinityLevel_ = other.AffinityLevel_; + } + if (other.NeedExp != 0) { + NeedExp = other.NeedExp; + } + if (other.TemplateId != 0) { + TemplateId = other.TemplateId; + } + if (other.AffinityLevelName.Length != 0) { + AffinityLevelName = other.AffinityLevelName; + } + if (other.AffinityLevelIcon.Length != 0) { + AffinityLevelIcon = other.AffinityLevelIcon; + } + if (other.AffinityLevelRewardIcon.Length != 0) { + AffinityLevelRewardIcon = other.AffinityLevelRewardIcon; + } + if (other.AffinityLevelRewardLockIcon.Length != 0) { + AffinityLevelRewardLockIcon = other.AffinityLevelRewardLockIcon; + } + effect_.Add(other.effect_); + if (other.AffinityLevelStage != 0) { + AffinityLevelStage = other.AffinityLevelStage; + } + _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: { + AffinityLevel_ = input.ReadInt32(); + break; + } + case 24: { + NeedExp = input.ReadInt32(); + break; + } + case 32: { + TemplateId = input.ReadInt32(); + break; + } + case 42: { + AffinityLevelName = input.ReadString(); + break; + } + case 50: { + AffinityLevelIcon = input.ReadString(); + break; + } + case 58: { + AffinityLevelRewardIcon = input.ReadString(); + break; + } + case 66: { + AffinityLevelRewardLockIcon = input.ReadString(); + break; + } + case 74: + case 72: { + effect_.AddEntriesFrom(input, _repeated_effect_codec); + break; + } + case 80: { + AffinityLevelStage = 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: { + AffinityLevel_ = input.ReadInt32(); + break; + } + case 24: { + NeedExp = input.ReadInt32(); + break; + } + case 32: { + TemplateId = input.ReadInt32(); + break; + } + case 42: { + AffinityLevelName = input.ReadString(); + break; + } + case 50: { + AffinityLevelIcon = input.ReadString(); + break; + } + case 58: { + AffinityLevelRewardIcon = input.ReadString(); + break; + } + case 66: { + AffinityLevelRewardLockIcon = input.ReadString(); + break; + } + case 74: + case 72: { + effect_.AddEntriesFrom(ref input, _repeated_effect_codec); + break; + } + case 80: { + AffinityLevelStage = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AffinityLevel : pb::IMessage<table_AffinityLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AffinityLevel> _parser = new pb::MessageParser<table_AffinityLevel>(() => new table_AffinityLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AffinityLevel> 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.ClientTableReflection.Descriptor.MessageTypes[9]; } + } + + [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 table_AffinityLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityLevel(table_AffinityLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityLevel Clone() { + return new table_AffinityLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AffinityLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AffinityLevel> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AffinityLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AffinityLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AffinityLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AffinityLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AffinityQuest : pb::IMessage<AffinityQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AffinityQuest> _parser = new pb::MessageParser<AffinityQuest>(() => new AffinityQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AffinityQuest> 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.ClientTableReflection.Descriptor.MessageTypes[10]; } + } + + [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 AffinityQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityQuest(AffinityQuest other) : this() { + id_ = other.id_; + desc_ = other.desc_; + sortId_ = other.sortId_; + charId_ = other.charId_; + completeCond_ = other.completeCond_; + completeCondParams_ = other.completeCondParams_; + reward_ = other.reward_.Clone(); + affinityExp_ = other.affinityExp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityQuest Clone() { + return new AffinityQuest(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 "Desc" field.</summary> + public const int DescFieldNumber = 2; + 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 "SortId" field.</summary> + public const int SortIdFieldNumber = 3; + private int sortId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortId { + get { return sortId_; } + set { + sortId_ = value; + } + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 4; + 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 "CompleteCond" field.</summary> + public const int CompleteCondFieldNumber = 5; + private int completeCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCond { + get { return completeCond_; } + set { + completeCond_ = value; + } + } + + /// <summary>Field number for the "CompleteCondParams" field.</summary> + public const int CompleteCondParamsFieldNumber = 6; + private string completeCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteCondParams { + get { return completeCondParams_; } + set { + completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_reward_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> reward_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Reward { + get { return reward_; } + } + + /// <summary>Field number for the "AffinityExp" field.</summary> + public const int AffinityExpFieldNumber = 8; + private int affinityExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AffinityExp { + get { return affinityExp_; } + set { + affinityExp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AffinityQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AffinityQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Desc != other.Desc) return false; + if (SortId != other.SortId) return false; + if (CharId != other.CharId) return false; + if (CompleteCond != other.CompleteCond) return false; + if (CompleteCondParams != other.CompleteCondParams) return false; + if(!reward_.Equals(other.reward_)) return false; + if (AffinityExp != other.AffinityExp) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (SortId != 0) hash ^= SortId.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); + if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); + hash ^= reward_.GetHashCode(); + if (AffinityExp != 0) hash ^= AffinityExp.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 (Desc.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Desc); + } + if (SortId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SortId); + } + if (CharId != 0) { + output.WriteRawTag(32); + output.WriteInt32(CharId); + } + if (CompleteCond != 0) { + output.WriteRawTag(40); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(50); + output.WriteString(CompleteCondParams); + } + reward_.WriteTo(output, _repeated_reward_codec); + if (AffinityExp != 0) { + output.WriteRawTag(64); + output.WriteInt32(AffinityExp); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Desc); + } + if (SortId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SortId); + } + if (CharId != 0) { + output.WriteRawTag(32); + output.WriteInt32(CharId); + } + if (CompleteCond != 0) { + output.WriteRawTag(40); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(50); + output.WriteString(CompleteCondParams); + } + reward_.WriteTo(ref output, _repeated_reward_codec); + if (AffinityExp != 0) { + output.WriteRawTag(64); + output.WriteInt32(AffinityExp); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (SortId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (CompleteCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); + } + size += reward_.CalculateSize(_repeated_reward_codec); + if (AffinityExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AffinityExp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AffinityQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.SortId != 0) { + SortId = other.SortId; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.CompleteCond != 0) { + CompleteCond = other.CompleteCond; + } + if (other.CompleteCondParams.Length != 0) { + CompleteCondParams = other.CompleteCondParams; + } + reward_.Add(other.reward_); + if (other.AffinityExp != 0) { + AffinityExp = other.AffinityExp; + } + _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: { + Desc = input.ReadString(); + break; + } + case 24: { + SortId = input.ReadInt32(); + break; + } + case 32: { + CharId = input.ReadInt32(); + break; + } + case 40: { + CompleteCond = input.ReadInt32(); + break; + } + case 50: { + CompleteCondParams = input.ReadString(); + break; + } + case 58: + case 56: { + reward_.AddEntriesFrom(input, _repeated_reward_codec); + break; + } + case 64: { + AffinityExp = 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 18: { + Desc = input.ReadString(); + break; + } + case 24: { + SortId = input.ReadInt32(); + break; + } + case 32: { + CharId = input.ReadInt32(); + break; + } + case 40: { + CompleteCond = input.ReadInt32(); + break; + } + case 50: { + CompleteCondParams = input.ReadString(); + break; + } + case 58: + case 56: { + reward_.AddEntriesFrom(ref input, _repeated_reward_codec); + break; + } + case 64: { + AffinityExp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AffinityQuest : pb::IMessage<table_AffinityQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AffinityQuest> _parser = new pb::MessageParser<table_AffinityQuest>(() => new table_AffinityQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AffinityQuest> 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.ClientTableReflection.Descriptor.MessageTypes[11]; } + } + + [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 table_AffinityQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityQuest(table_AffinityQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityQuest Clone() { + return new table_AffinityQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AffinityQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AffinityQuest> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AffinityQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AffinityQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AffinityQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AffinityQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AffinityUpReward : pb::IMessage<AffinityUpReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AffinityUpReward> _parser = new pb::MessageParser<AffinityUpReward>(() => new AffinityUpReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AffinityUpReward> 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.ClientTableReflection.Descriptor.MessageTypes[12]; } + } + + [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 AffinityUpReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityUpReward(AffinityUpReward other) : this() { + id_ = other.id_; + charId_ = other.charId_; + rewardLevel_ = other.rewardLevel_; + reward1_ = other.reward1_.Clone(); + reward2_ = other.reward2_.Clone(); + reward3_ = other.reward3_.Clone(); + descFront1_ = other.descFront1_; + descFront2_ = other.descFront2_; + descFront3_ = other.descFront3_; + descAfter1_ = other.descAfter1_; + descAfter2_ = other.descAfter2_; + descAfter3_ = other.descAfter3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AffinityUpReward Clone() { + return new AffinityUpReward(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + 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 "RewardLevel" field.</summary> + public const int RewardLevelFieldNumber = 3; + private int rewardLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardLevel { + get { return rewardLevel_; } + set { + rewardLevel_ = value; + } + } + + /// <summary>Field number for the "Reward1" field.</summary> + public const int Reward1FieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_reward1_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> reward1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Reward1 { + get { return reward1_; } + } + + /// <summary>Field number for the "Reward2" field.</summary> + public const int Reward2FieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_reward2_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> reward2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Reward2 { + get { return reward2_; } + } + + /// <summary>Field number for the "Reward3" field.</summary> + public const int Reward3FieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_reward3_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> reward3_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Reward3 { + get { return reward3_; } + } + + /// <summary>Field number for the "DescFront1" field.</summary> + public const int DescFront1FieldNumber = 7; + private string descFront1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescFront1 { + get { return descFront1_; } + set { + descFront1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DescFront2" field.</summary> + public const int DescFront2FieldNumber = 8; + private string descFront2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescFront2 { + get { return descFront2_; } + set { + descFront2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DescFront3" field.</summary> + public const int DescFront3FieldNumber = 9; + private string descFront3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescFront3 { + get { return descFront3_; } + set { + descFront3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DescAfter1" field.</summary> + public const int DescAfter1FieldNumber = 10; + private string descAfter1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescAfter1 { + get { return descAfter1_; } + set { + descAfter1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DescAfter2" field.</summary> + public const int DescAfter2FieldNumber = 11; + private string descAfter2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescAfter2 { + get { return descAfter2_; } + set { + descAfter2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DescAfter3" field.</summary> + public const int DescAfter3FieldNumber = 12; + private string descAfter3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DescAfter3 { + get { return descAfter3_; } + set { + descAfter3_ = 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 AffinityUpReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AffinityUpReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (RewardLevel != other.RewardLevel) return false; + if(!reward1_.Equals(other.reward1_)) return false; + if(!reward2_.Equals(other.reward2_)) return false; + if(!reward3_.Equals(other.reward3_)) return false; + if (DescFront1 != other.DescFront1) return false; + if (DescFront2 != other.DescFront2) return false; + if (DescFront3 != other.DescFront3) return false; + if (DescAfter1 != other.DescAfter1) return false; + if (DescAfter2 != other.DescAfter2) return false; + if (DescAfter3 != other.DescAfter3) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (RewardLevel != 0) hash ^= RewardLevel.GetHashCode(); + hash ^= reward1_.GetHashCode(); + hash ^= reward2_.GetHashCode(); + hash ^= reward3_.GetHashCode(); + if (DescFront1.Length != 0) hash ^= DescFront1.GetHashCode(); + if (DescFront2.Length != 0) hash ^= DescFront2.GetHashCode(); + if (DescFront3.Length != 0) hash ^= DescFront3.GetHashCode(); + if (DescAfter1.Length != 0) hash ^= DescAfter1.GetHashCode(); + if (DescAfter2.Length != 0) hash ^= DescAfter2.GetHashCode(); + if (DescAfter3.Length != 0) hash ^= DescAfter3.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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (RewardLevel != 0) { + output.WriteRawTag(24); + output.WriteInt32(RewardLevel); + } + reward1_.WriteTo(output, _repeated_reward1_codec); + reward2_.WriteTo(output, _repeated_reward2_codec); + reward3_.WriteTo(output, _repeated_reward3_codec); + if (DescFront1.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DescFront1); + } + if (DescFront2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DescFront2); + } + if (DescFront3.Length != 0) { + output.WriteRawTag(74); + output.WriteString(DescFront3); + } + if (DescAfter1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(DescAfter1); + } + if (DescAfter2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(DescAfter2); + } + if (DescAfter3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(DescAfter3); + } + 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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (RewardLevel != 0) { + output.WriteRawTag(24); + output.WriteInt32(RewardLevel); + } + reward1_.WriteTo(ref output, _repeated_reward1_codec); + reward2_.WriteTo(ref output, _repeated_reward2_codec); + reward3_.WriteTo(ref output, _repeated_reward3_codec); + if (DescFront1.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DescFront1); + } + if (DescFront2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DescFront2); + } + if (DescFront3.Length != 0) { + output.WriteRawTag(74); + output.WriteString(DescFront3); + } + if (DescAfter1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(DescAfter1); + } + if (DescAfter2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(DescAfter2); + } + if (DescAfter3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(DescAfter3); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (RewardLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardLevel); + } + size += reward1_.CalculateSize(_repeated_reward1_codec); + size += reward2_.CalculateSize(_repeated_reward2_codec); + size += reward3_.CalculateSize(_repeated_reward3_codec); + if (DescFront1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront1); + } + if (DescFront2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront2); + } + if (DescFront3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescFront3); + } + if (DescAfter1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter1); + } + if (DescAfter2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter2); + } + if (DescAfter3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DescAfter3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AffinityUpReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.RewardLevel != 0) { + RewardLevel = other.RewardLevel; + } + reward1_.Add(other.reward1_); + reward2_.Add(other.reward2_); + reward3_.Add(other.reward3_); + if (other.DescFront1.Length != 0) { + DescFront1 = other.DescFront1; + } + if (other.DescFront2.Length != 0) { + DescFront2 = other.DescFront2; + } + if (other.DescFront3.Length != 0) { + DescFront3 = other.DescFront3; + } + if (other.DescAfter1.Length != 0) { + DescAfter1 = other.DescAfter1; + } + if (other.DescAfter2.Length != 0) { + DescAfter2 = other.DescAfter2; + } + if (other.DescAfter3.Length != 0) { + DescAfter3 = other.DescAfter3; + } + _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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + RewardLevel = input.ReadInt32(); + break; + } + case 34: + case 32: { + reward1_.AddEntriesFrom(input, _repeated_reward1_codec); + break; + } + case 42: + case 40: { + reward2_.AddEntriesFrom(input, _repeated_reward2_codec); + break; + } + case 50: + case 48: { + reward3_.AddEntriesFrom(input, _repeated_reward3_codec); + break; + } + case 58: { + DescFront1 = input.ReadString(); + break; + } + case 66: { + DescFront2 = input.ReadString(); + break; + } + case 74: { + DescFront3 = input.ReadString(); + break; + } + case 82: { + DescAfter1 = input.ReadString(); + break; + } + case 90: { + DescAfter2 = input.ReadString(); + break; + } + case 98: { + DescAfter3 = 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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + RewardLevel = input.ReadInt32(); + break; + } + case 34: + case 32: { + reward1_.AddEntriesFrom(ref input, _repeated_reward1_codec); + break; + } + case 42: + case 40: { + reward2_.AddEntriesFrom(ref input, _repeated_reward2_codec); + break; + } + case 50: + case 48: { + reward3_.AddEntriesFrom(ref input, _repeated_reward3_codec); + break; + } + case 58: { + DescFront1 = input.ReadString(); + break; + } + case 66: { + DescFront2 = input.ReadString(); + break; + } + case 74: { + DescFront3 = input.ReadString(); + break; + } + case 82: { + DescAfter1 = input.ReadString(); + break; + } + case 90: { + DescAfter2 = input.ReadString(); + break; + } + case 98: { + DescAfter3 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AffinityUpReward : pb::IMessage<table_AffinityUpReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AffinityUpReward> _parser = new pb::MessageParser<table_AffinityUpReward>(() => new table_AffinityUpReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AffinityUpReward> 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.ClientTableReflection.Descriptor.MessageTypes[13]; } + } + + [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 table_AffinityUpReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityUpReward(table_AffinityUpReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AffinityUpReward Clone() { + return new table_AffinityUpReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AffinityUpReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AffinityUpReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AffinityUpReward> list_ = new pbc::RepeatedField<global::Nova.Client.AffinityUpReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AffinityUpReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AffinityUpReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AffinityUpReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AffinityUpReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Agent : pb::IMessage<Agent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Agent> _parser = new pb::MessageParser<Agent>(() => new Agent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Agent> 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.ClientTableReflection.Descriptor.MessageTypes[14]; } + } + + [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 Agent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Agent(Agent other) : this() { + id_ = other.id_; + tab_ = other.tab_; + note_ = other.note_; + name_ = other.name_; + desc_ = other.desc_; + consignor_ = other.consignor_; + refreshType_ = other.refreshType_; + memberType_ = other.memberType_; + level_ = other.level_; + buildScore_ = other.buildScore_; + memberLimit_ = other.memberLimit_; + tags_ = other.tags_.Clone(); + extraTags_ = other.extraTags_.Clone(); + unlockConditions_ = other.unlockConditions_; + sort_ = other.sort_; + time1_ = other.time1_; + rewardPreview1_ = other.rewardPreview1_; + bonusPreview1_ = other.bonusPreview1_; + time2_ = other.time2_; + rewardPreview2_ = other.rewardPreview2_; + bonusPreview2_ = other.bonusPreview2_; + time3_ = other.time3_; + rewardPreview3_ = other.rewardPreview3_; + bonusPreview3_ = other.bonusPreview3_; + time4_ = other.time4_; + rewardPreview4_ = other.rewardPreview4_; + bonusPreview4_ = other.bonusPreview4_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Agent Clone() { + return new Agent(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 "Tab" field.</summary> + public const int TabFieldNumber = 2; + private int tab_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tab { + get { return tab_; } + set { + tab_ = value; + } + } + + /// <summary>Field number for the "Note" field.</summary> + public const int NoteFieldNumber = 3; + private string note_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Note { + get { return note_; } + set { + note_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "Consignor" field.</summary> + public const int ConsignorFieldNumber = 6; + private string consignor_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Consignor { + get { return consignor_; } + set { + consignor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RefreshType" field.</summary> + public const int RefreshTypeFieldNumber = 7; + private int refreshType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshType { + get { return refreshType_; } + set { + refreshType_ = value; + } + } + + /// <summary>Field number for the "MemberType" field.</summary> + public const int MemberTypeFieldNumber = 8; + private int memberType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MemberType { + get { return memberType_; } + set { + memberType_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 9; + 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 "BuildScore" field.</summary> + public const int BuildScoreFieldNumber = 10; + private int buildScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuildScore { + get { return buildScore_; } + set { + buildScore_ = value; + } + } + + /// <summary>Field number for the "MemberLimit" field.</summary> + public const int MemberLimitFieldNumber = 11; + private int memberLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MemberLimit { + get { return memberLimit_; } + set { + memberLimit_ = value; + } + } + + /// <summary>Field number for the "Tags" field.</summary> + public const int TagsFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_tags_codec + = pb::FieldCodec.ForInt32(98); + 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 "ExtraTags" field.</summary> + public const int ExtraTagsFieldNumber = 13; + private static readonly pb::FieldCodec<int> _repeated_extraTags_codec + = pb::FieldCodec.ForInt32(106); + private readonly pbc::RepeatedField<int> extraTags_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ExtraTags { + get { return extraTags_; } + } + + /// <summary>Field number for the "UnlockConditions" field.</summary> + public const int UnlockConditionsFieldNumber = 14; + private string unlockConditions_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockConditions { + get { return unlockConditions_; } + set { + unlockConditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 15; + 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 "Time1" field.</summary> + public const int Time1FieldNumber = 16; + private int time1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Time1 { + get { return time1_; } + set { + time1_ = value; + } + } + + /// <summary>Field number for the "RewardPreview1" field.</summary> + public const int RewardPreview1FieldNumber = 17; + private string rewardPreview1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardPreview1 { + get { return rewardPreview1_; } + set { + rewardPreview1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BonusPreview1" field.</summary> + public const int BonusPreview1FieldNumber = 18; + private string bonusPreview1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BonusPreview1 { + get { return bonusPreview1_; } + set { + bonusPreview1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Time2" field.</summary> + public const int Time2FieldNumber = 19; + private int time2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Time2 { + get { return time2_; } + set { + time2_ = value; + } + } + + /// <summary>Field number for the "RewardPreview2" field.</summary> + public const int RewardPreview2FieldNumber = 20; + private string rewardPreview2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardPreview2 { + get { return rewardPreview2_; } + set { + rewardPreview2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BonusPreview2" field.</summary> + public const int BonusPreview2FieldNumber = 21; + private string bonusPreview2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BonusPreview2 { + get { return bonusPreview2_; } + set { + bonusPreview2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Time3" field.</summary> + public const int Time3FieldNumber = 22; + private int time3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Time3 { + get { return time3_; } + set { + time3_ = value; + } + } + + /// <summary>Field number for the "RewardPreview3" field.</summary> + public const int RewardPreview3FieldNumber = 23; + private string rewardPreview3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardPreview3 { + get { return rewardPreview3_; } + set { + rewardPreview3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BonusPreview3" field.</summary> + public const int BonusPreview3FieldNumber = 24; + private string bonusPreview3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BonusPreview3 { + get { return bonusPreview3_; } + set { + bonusPreview3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Time4" field.</summary> + public const int Time4FieldNumber = 25; + private int time4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Time4 { + get { return time4_; } + set { + time4_ = value; + } + } + + /// <summary>Field number for the "RewardPreview4" field.</summary> + public const int RewardPreview4FieldNumber = 26; + private string rewardPreview4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardPreview4 { + get { return rewardPreview4_; } + set { + rewardPreview4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BonusPreview4" field.</summary> + public const int BonusPreview4FieldNumber = 27; + private string bonusPreview4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BonusPreview4 { + get { return bonusPreview4_; } + set { + bonusPreview4_ = 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 Agent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Agent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Tab != other.Tab) return false; + if (Note != other.Note) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (Consignor != other.Consignor) return false; + if (RefreshType != other.RefreshType) return false; + if (MemberType != other.MemberType) return false; + if (Level != other.Level) return false; + if (BuildScore != other.BuildScore) return false; + if (MemberLimit != other.MemberLimit) return false; + if(!tags_.Equals(other.tags_)) return false; + if(!extraTags_.Equals(other.extraTags_)) return false; + if (UnlockConditions != other.UnlockConditions) return false; + if (Sort != other.Sort) return false; + if (Time1 != other.Time1) return false; + if (RewardPreview1 != other.RewardPreview1) return false; + if (BonusPreview1 != other.BonusPreview1) return false; + if (Time2 != other.Time2) return false; + if (RewardPreview2 != other.RewardPreview2) return false; + if (BonusPreview2 != other.BonusPreview2) return false; + if (Time3 != other.Time3) return false; + if (RewardPreview3 != other.RewardPreview3) return false; + if (BonusPreview3 != other.BonusPreview3) return false; + if (Time4 != other.Time4) return false; + if (RewardPreview4 != other.RewardPreview4) return false; + if (BonusPreview4 != other.BonusPreview4) 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 (Tab != 0) hash ^= Tab.GetHashCode(); + if (Note.Length != 0) hash ^= Note.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Consignor.Length != 0) hash ^= Consignor.GetHashCode(); + if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); + if (MemberType != 0) hash ^= MemberType.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (BuildScore != 0) hash ^= BuildScore.GetHashCode(); + if (MemberLimit != 0) hash ^= MemberLimit.GetHashCode(); + hash ^= tags_.GetHashCode(); + hash ^= extraTags_.GetHashCode(); + if (UnlockConditions.Length != 0) hash ^= UnlockConditions.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (Time1 != 0) hash ^= Time1.GetHashCode(); + if (RewardPreview1.Length != 0) hash ^= RewardPreview1.GetHashCode(); + if (BonusPreview1.Length != 0) hash ^= BonusPreview1.GetHashCode(); + if (Time2 != 0) hash ^= Time2.GetHashCode(); + if (RewardPreview2.Length != 0) hash ^= RewardPreview2.GetHashCode(); + if (BonusPreview2.Length != 0) hash ^= BonusPreview2.GetHashCode(); + if (Time3 != 0) hash ^= Time3.GetHashCode(); + if (RewardPreview3.Length != 0) hash ^= RewardPreview3.GetHashCode(); + if (BonusPreview3.Length != 0) hash ^= BonusPreview3.GetHashCode(); + if (Time4 != 0) hash ^= Time4.GetHashCode(); + if (RewardPreview4.Length != 0) hash ^= RewardPreview4.GetHashCode(); + if (BonusPreview4.Length != 0) hash ^= BonusPreview4.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 (Tab != 0) { + output.WriteRawTag(16); + output.WriteInt32(Tab); + } + if (Note.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Note); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc); + } + if (Consignor.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Consignor); + } + if (RefreshType != 0) { + output.WriteRawTag(56); + output.WriteInt32(RefreshType); + } + if (MemberType != 0) { + output.WriteRawTag(64); + output.WriteInt32(MemberType); + } + if (Level != 0) { + output.WriteRawTag(72); + output.WriteInt32(Level); + } + if (BuildScore != 0) { + output.WriteRawTag(80); + output.WriteInt32(BuildScore); + } + if (MemberLimit != 0) { + output.WriteRawTag(88); + output.WriteInt32(MemberLimit); + } + tags_.WriteTo(output, _repeated_tags_codec); + extraTags_.WriteTo(output, _repeated_extraTags_codec); + if (UnlockConditions.Length != 0) { + output.WriteRawTag(114); + output.WriteString(UnlockConditions); + } + if (Sort != 0) { + output.WriteRawTag(120); + output.WriteInt32(Sort); + } + if (Time1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Time1); + } + if (RewardPreview1.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(RewardPreview1); + } + if (BonusPreview1.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(BonusPreview1); + } + if (Time2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Time2); + } + if (RewardPreview2.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(RewardPreview2); + } + if (BonusPreview2.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(BonusPreview2); + } + if (Time3 != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(Time3); + } + if (RewardPreview3.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(RewardPreview3); + } + if (BonusPreview3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(BonusPreview3); + } + if (Time4 != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(Time4); + } + if (RewardPreview4.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(RewardPreview4); + } + if (BonusPreview4.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(BonusPreview4); + } + 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 (Tab != 0) { + output.WriteRawTag(16); + output.WriteInt32(Tab); + } + if (Note.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Note); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc); + } + if (Consignor.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Consignor); + } + if (RefreshType != 0) { + output.WriteRawTag(56); + output.WriteInt32(RefreshType); + } + if (MemberType != 0) { + output.WriteRawTag(64); + output.WriteInt32(MemberType); + } + if (Level != 0) { + output.WriteRawTag(72); + output.WriteInt32(Level); + } + if (BuildScore != 0) { + output.WriteRawTag(80); + output.WriteInt32(BuildScore); + } + if (MemberLimit != 0) { + output.WriteRawTag(88); + output.WriteInt32(MemberLimit); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + extraTags_.WriteTo(ref output, _repeated_extraTags_codec); + if (UnlockConditions.Length != 0) { + output.WriteRawTag(114); + output.WriteString(UnlockConditions); + } + if (Sort != 0) { + output.WriteRawTag(120); + output.WriteInt32(Sort); + } + if (Time1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Time1); + } + if (RewardPreview1.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(RewardPreview1); + } + if (BonusPreview1.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(BonusPreview1); + } + if (Time2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Time2); + } + if (RewardPreview2.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(RewardPreview2); + } + if (BonusPreview2.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(BonusPreview2); + } + if (Time3 != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(Time3); + } + if (RewardPreview3.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(RewardPreview3); + } + if (BonusPreview3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(BonusPreview3); + } + if (Time4 != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(Time4); + } + if (RewardPreview4.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(RewardPreview4); + } + if (BonusPreview4.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(BonusPreview4); + } + 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 (Tab != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tab); + } + if (Note.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Consignor.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Consignor); + } + if (RefreshType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); + } + if (MemberType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MemberType); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (BuildScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuildScore); + } + if (MemberLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MemberLimit); + } + size += tags_.CalculateSize(_repeated_tags_codec); + size += extraTags_.CalculateSize(_repeated_extraTags_codec); + if (UnlockConditions.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockConditions); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Time1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time1); + } + if (RewardPreview1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview1); + } + if (BonusPreview1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview1); + } + if (Time2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time2); + } + if (RewardPreview2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview2); + } + if (BonusPreview2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview2); + } + if (Time3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time3); + } + if (RewardPreview3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview3); + } + if (BonusPreview3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview3); + } + if (Time4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Time4); + } + if (RewardPreview4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview4); + } + if (BonusPreview4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BonusPreview4); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Agent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Tab != 0) { + Tab = other.Tab; + } + if (other.Note.Length != 0) { + Note = other.Note; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Consignor.Length != 0) { + Consignor = other.Consignor; + } + if (other.RefreshType != 0) { + RefreshType = other.RefreshType; + } + if (other.MemberType != 0) { + MemberType = other.MemberType; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.BuildScore != 0) { + BuildScore = other.BuildScore; + } + if (other.MemberLimit != 0) { + MemberLimit = other.MemberLimit; + } + tags_.Add(other.tags_); + extraTags_.Add(other.extraTags_); + if (other.UnlockConditions.Length != 0) { + UnlockConditions = other.UnlockConditions; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Time1 != 0) { + Time1 = other.Time1; + } + if (other.RewardPreview1.Length != 0) { + RewardPreview1 = other.RewardPreview1; + } + if (other.BonusPreview1.Length != 0) { + BonusPreview1 = other.BonusPreview1; + } + if (other.Time2 != 0) { + Time2 = other.Time2; + } + if (other.RewardPreview2.Length != 0) { + RewardPreview2 = other.RewardPreview2; + } + if (other.BonusPreview2.Length != 0) { + BonusPreview2 = other.BonusPreview2; + } + if (other.Time3 != 0) { + Time3 = other.Time3; + } + if (other.RewardPreview3.Length != 0) { + RewardPreview3 = other.RewardPreview3; + } + if (other.BonusPreview3.Length != 0) { + BonusPreview3 = other.BonusPreview3; + } + if (other.Time4 != 0) { + Time4 = other.Time4; + } + if (other.RewardPreview4.Length != 0) { + RewardPreview4 = other.RewardPreview4; + } + if (other.BonusPreview4.Length != 0) { + BonusPreview4 = other.BonusPreview4; + } + _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: { + Tab = input.ReadInt32(); + break; + } + case 26: { + Note = input.ReadString(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Consignor = input.ReadString(); + break; + } + case 56: { + RefreshType = input.ReadInt32(); + break; + } + case 64: { + MemberType = input.ReadInt32(); + break; + } + case 72: { + Level = input.ReadInt32(); + break; + } + case 80: { + BuildScore = input.ReadInt32(); + break; + } + case 88: { + MemberLimit = input.ReadInt32(); + break; + } + case 98: + case 96: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 106: + case 104: { + extraTags_.AddEntriesFrom(input, _repeated_extraTags_codec); + break; + } + case 114: { + UnlockConditions = input.ReadString(); + break; + } + case 120: { + Sort = input.ReadInt32(); + break; + } + case 128: { + Time1 = input.ReadInt32(); + break; + } + case 138: { + RewardPreview1 = input.ReadString(); + break; + } + case 146: { + BonusPreview1 = input.ReadString(); + break; + } + case 152: { + Time2 = input.ReadInt32(); + break; + } + case 162: { + RewardPreview2 = input.ReadString(); + break; + } + case 170: { + BonusPreview2 = input.ReadString(); + break; + } + case 176: { + Time3 = input.ReadInt32(); + break; + } + case 186: { + RewardPreview3 = input.ReadString(); + break; + } + case 194: { + BonusPreview3 = input.ReadString(); + break; + } + case 200: { + Time4 = input.ReadInt32(); + break; + } + case 210: { + RewardPreview4 = input.ReadString(); + break; + } + case 218: { + BonusPreview4 = 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: { + Tab = input.ReadInt32(); + break; + } + case 26: { + Note = input.ReadString(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Consignor = input.ReadString(); + break; + } + case 56: { + RefreshType = input.ReadInt32(); + break; + } + case 64: { + MemberType = input.ReadInt32(); + break; + } + case 72: { + Level = input.ReadInt32(); + break; + } + case 80: { + BuildScore = input.ReadInt32(); + break; + } + case 88: { + MemberLimit = input.ReadInt32(); + break; + } + case 98: + case 96: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 106: + case 104: { + extraTags_.AddEntriesFrom(ref input, _repeated_extraTags_codec); + break; + } + case 114: { + UnlockConditions = input.ReadString(); + break; + } + case 120: { + Sort = input.ReadInt32(); + break; + } + case 128: { + Time1 = input.ReadInt32(); + break; + } + case 138: { + RewardPreview1 = input.ReadString(); + break; + } + case 146: { + BonusPreview1 = input.ReadString(); + break; + } + case 152: { + Time2 = input.ReadInt32(); + break; + } + case 162: { + RewardPreview2 = input.ReadString(); + break; + } + case 170: { + BonusPreview2 = input.ReadString(); + break; + } + case 176: { + Time3 = input.ReadInt32(); + break; + } + case 186: { + RewardPreview3 = input.ReadString(); + break; + } + case 194: { + BonusPreview3 = input.ReadString(); + break; + } + case 200: { + Time4 = input.ReadInt32(); + break; + } + case 210: { + RewardPreview4 = input.ReadString(); + break; + } + case 218: { + BonusPreview4 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Agent : pb::IMessage<table_Agent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Agent> _parser = new pb::MessageParser<table_Agent>(() => new table_Agent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Agent> 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.ClientTableReflection.Descriptor.MessageTypes[15]; } + } + + [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 table_Agent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Agent(table_Agent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Agent Clone() { + return new table_Agent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Agent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Agent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Agent> list_ = new pbc::RepeatedField<global::Nova.Client.Agent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Agent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Agent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Agent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Agent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentSpecialPerformance : pb::IMessage<AgentSpecialPerformance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AgentSpecialPerformance> _parser = new pb::MessageParser<AgentSpecialPerformance>(() => new AgentSpecialPerformance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AgentSpecialPerformance> 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.ClientTableReflection.Descriptor.MessageTypes[16]; } + } + + [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 AgentSpecialPerformance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentSpecialPerformance(AgentSpecialPerformance other) : this() { + id_ = other.id_; + charId_ = other.charId_.Clone(); + weight_ = other.weight_; + avg_ = other.avg_; + aVGGroupId_ = other.aVGGroupId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentSpecialPerformance Clone() { + return new AgentSpecialPerformance(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_charId_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> charId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CharId { + get { return charId_; } + } + + /// <summary>Field number for the "Weight" field.</summary> + public const int WeightFieldNumber = 3; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + /// <summary>Field number for the "Avg" field.</summary> + public const int AvgFieldNumber = 4; + private string avg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Avg { + get { return avg_; } + set { + avg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AVGGroupId" field.</summary> + public const int AVGGroupIdFieldNumber = 5; + private string aVGGroupId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AVGGroupId { + get { return aVGGroupId_; } + set { + aVGGroupId_ = 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 AgentSpecialPerformance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentSpecialPerformance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!charId_.Equals(other.charId_)) return false; + if (Weight != other.Weight) return false; + if (Avg != other.Avg) return false; + if (AVGGroupId != other.AVGGroupId) 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(); + hash ^= charId_.GetHashCode(); + if (Weight != 0) hash ^= Weight.GetHashCode(); + if (Avg.Length != 0) hash ^= Avg.GetHashCode(); + if (AVGGroupId.Length != 0) hash ^= AVGGroupId.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); + } + charId_.WriteTo(output, _repeated_charId_codec); + if (Weight != 0) { + output.WriteRawTag(24); + output.WriteInt32(Weight); + } + if (Avg.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Avg); + } + if (AVGGroupId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AVGGroupId); + } + 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); + } + charId_.WriteTo(ref output, _repeated_charId_codec); + if (Weight != 0) { + output.WriteRawTag(24); + output.WriteInt32(Weight); + } + if (Avg.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Avg); + } + if (AVGGroupId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AVGGroupId); + } + 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); + } + size += charId_.CalculateSize(_repeated_charId_codec); + if (Weight != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + if (Avg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Avg); + } + if (AVGGroupId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGGroupId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AgentSpecialPerformance other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + charId_.Add(other.charId_); + if (other.Weight != 0) { + Weight = other.Weight; + } + if (other.Avg.Length != 0) { + Avg = other.Avg; + } + if (other.AVGGroupId.Length != 0) { + AVGGroupId = other.AVGGroupId; + } + _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: + case 16: { + charId_.AddEntriesFrom(input, _repeated_charId_codec); + break; + } + case 24: { + Weight = input.ReadInt32(); + break; + } + case 34: { + Avg = input.ReadString(); + break; + } + case 42: { + AVGGroupId = 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 18: + case 16: { + charId_.AddEntriesFrom(ref input, _repeated_charId_codec); + break; + } + case 24: { + Weight = input.ReadInt32(); + break; + } + case 34: { + Avg = input.ReadString(); + break; + } + case 42: { + AVGGroupId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AgentSpecialPerformance : pb::IMessage<table_AgentSpecialPerformance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AgentSpecialPerformance> _parser = new pb::MessageParser<table_AgentSpecialPerformance>(() => new table_AgentSpecialPerformance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AgentSpecialPerformance> 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.ClientTableReflection.Descriptor.MessageTypes[17]; } + } + + [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 table_AgentSpecialPerformance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AgentSpecialPerformance(table_AgentSpecialPerformance other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AgentSpecialPerformance Clone() { + return new table_AgentSpecialPerformance(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AgentSpecialPerformance> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AgentSpecialPerformance.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AgentSpecialPerformance> list_ = new pbc::RepeatedField<global::Nova.Client.AgentSpecialPerformance>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AgentSpecialPerformance> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AgentSpecialPerformance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AgentSpecialPerformance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AgentSpecialPerformance other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AgentTab : pb::IMessage<AgentTab> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AgentTab> _parser = new pb::MessageParser<AgentTab>(() => new AgentTab()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AgentTab> 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.ClientTableReflection.Descriptor.MessageTypes[18]; } + } + + [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 AgentTab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentTab(AgentTab other) : this() { + id_ = other.id_; + name_ = other.name_; + bg_ = other.bg_; + spTag_ = other.spTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AgentTab Clone() { + return new AgentTab(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 "Bg" field.</summary> + public const int BgFieldNumber = 3; + private string bg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bg { + get { return bg_; } + set { + bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SpTag" field.</summary> + public const int SpTagFieldNumber = 4; + private bool spTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SpTag { + get { return spTag_; } + set { + spTag_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AgentTab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AgentTab 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 (Bg != other.Bg) return false; + if (SpTag != other.SpTag) 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 (Bg.Length != 0) hash ^= Bg.GetHashCode(); + if (SpTag != false) hash ^= SpTag.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 (Bg.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Bg); + } + if (SpTag != false) { + output.WriteRawTag(32); + output.WriteBool(SpTag); + } + 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 (Bg.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Bg); + } + if (SpTag != false) { + output.WriteRawTag(32); + output.WriteBool(SpTag); + } + 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 (Bg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); + } + if (SpTag != 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(AgentTab other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Bg.Length != 0) { + Bg = other.Bg; + } + if (other.SpTag != false) { + SpTag = other.SpTag; + } + _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 26: { + Bg = input.ReadString(); + break; + } + case 32: { + SpTag = 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 26: { + Bg = input.ReadString(); + break; + } + case 32: { + SpTag = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AgentTab : pb::IMessage<table_AgentTab> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AgentTab> _parser = new pb::MessageParser<table_AgentTab>(() => new table_AgentTab()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AgentTab> 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.ClientTableReflection.Descriptor.MessageTypes[19]; } + } + + [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 table_AgentTab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AgentTab(table_AgentTab other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AgentTab Clone() { + return new table_AgentTab(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AgentTab> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AgentTab.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AgentTab> list_ = new pbc::RepeatedField<global::Nova.Client.AgentTab>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AgentTab> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AgentTab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AgentTab other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AgentTab other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AI : pb::IMessage<AI> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AI> _parser = new pb::MessageParser<AI>(() => new AI()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AI> 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.ClientTableReflection.Descriptor.MessageTypes[20]; } + } + + [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 AI() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AI(AI other) : this() { + id_ = other.id_; + fCSpawn_ = other.fCSpawn_; + fCIdle_ = other.fCIdle_; + fCAction_ = other.fCAction_; + fCLostControl_ = other.fCLostControl_; + fCDeath_ = other.fCDeath_; + fCGlobal_ = other.fCGlobal_; + fCComboGroup_ = other.fCComboGroup_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AI Clone() { + return new AI(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 "FCSpawn" field.</summary> + public const int FCSpawnFieldNumber = 2; + private string fCSpawn_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCSpawn { + get { return fCSpawn_; } + set { + fCSpawn_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCIdle" field.</summary> + public const int FCIdleFieldNumber = 3; + private string fCIdle_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCIdle { + get { return fCIdle_; } + set { + fCIdle_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCAction" field.</summary> + public const int FCActionFieldNumber = 4; + private string fCAction_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCAction { + get { return fCAction_; } + set { + fCAction_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCLostControl" field.</summary> + public const int FCLostControlFieldNumber = 5; + private string fCLostControl_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCLostControl { + get { return fCLostControl_; } + set { + fCLostControl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCDeath" field.</summary> + public const int FCDeathFieldNumber = 6; + private string fCDeath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCDeath { + get { return fCDeath_; } + set { + fCDeath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCGlobal" field.</summary> + public const int FCGlobalFieldNumber = 7; + private string fCGlobal_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCGlobal { + get { return fCGlobal_; } + set { + fCGlobal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCComboGroup" field.</summary> + public const int FCComboGroupFieldNumber = 8; + private string fCComboGroup_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCComboGroup { + get { return fCComboGroup_; } + set { + fCComboGroup_ = 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 AI); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AI other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (FCSpawn != other.FCSpawn) return false; + if (FCIdle != other.FCIdle) return false; + if (FCAction != other.FCAction) return false; + if (FCLostControl != other.FCLostControl) return false; + if (FCDeath != other.FCDeath) return false; + if (FCGlobal != other.FCGlobal) return false; + if (FCComboGroup != other.FCComboGroup) 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 (FCSpawn.Length != 0) hash ^= FCSpawn.GetHashCode(); + if (FCIdle.Length != 0) hash ^= FCIdle.GetHashCode(); + if (FCAction.Length != 0) hash ^= FCAction.GetHashCode(); + if (FCLostControl.Length != 0) hash ^= FCLostControl.GetHashCode(); + if (FCDeath.Length != 0) hash ^= FCDeath.GetHashCode(); + if (FCGlobal.Length != 0) hash ^= FCGlobal.GetHashCode(); + if (FCComboGroup.Length != 0) hash ^= FCComboGroup.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 (FCSpawn.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FCSpawn); + } + if (FCIdle.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FCIdle); + } + if (FCAction.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FCAction); + } + if (FCLostControl.Length != 0) { + output.WriteRawTag(42); + output.WriteString(FCLostControl); + } + if (FCDeath.Length != 0) { + output.WriteRawTag(50); + output.WriteString(FCDeath); + } + if (FCGlobal.Length != 0) { + output.WriteRawTag(58); + output.WriteString(FCGlobal); + } + if (FCComboGroup.Length != 0) { + output.WriteRawTag(66); + output.WriteString(FCComboGroup); + } + 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 (FCSpawn.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FCSpawn); + } + if (FCIdle.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FCIdle); + } + if (FCAction.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FCAction); + } + if (FCLostControl.Length != 0) { + output.WriteRawTag(42); + output.WriteString(FCLostControl); + } + if (FCDeath.Length != 0) { + output.WriteRawTag(50); + output.WriteString(FCDeath); + } + if (FCGlobal.Length != 0) { + output.WriteRawTag(58); + output.WriteString(FCGlobal); + } + if (FCComboGroup.Length != 0) { + output.WriteRawTag(66); + output.WriteString(FCComboGroup); + } + 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 (FCSpawn.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCSpawn); + } + if (FCIdle.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCIdle); + } + if (FCAction.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCAction); + } + if (FCLostControl.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCLostControl); + } + if (FCDeath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCDeath); + } + if (FCGlobal.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCGlobal); + } + if (FCComboGroup.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCComboGroup); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AI other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.FCSpawn.Length != 0) { + FCSpawn = other.FCSpawn; + } + if (other.FCIdle.Length != 0) { + FCIdle = other.FCIdle; + } + if (other.FCAction.Length != 0) { + FCAction = other.FCAction; + } + if (other.FCLostControl.Length != 0) { + FCLostControl = other.FCLostControl; + } + if (other.FCDeath.Length != 0) { + FCDeath = other.FCDeath; + } + if (other.FCGlobal.Length != 0) { + FCGlobal = other.FCGlobal; + } + if (other.FCComboGroup.Length != 0) { + FCComboGroup = other.FCComboGroup; + } + _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: { + FCSpawn = input.ReadString(); + break; + } + case 26: { + FCIdle = input.ReadString(); + break; + } + case 34: { + FCAction = input.ReadString(); + break; + } + case 42: { + FCLostControl = input.ReadString(); + break; + } + case 50: { + FCDeath = input.ReadString(); + break; + } + case 58: { + FCGlobal = input.ReadString(); + break; + } + case 66: { + FCComboGroup = 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 18: { + FCSpawn = input.ReadString(); + break; + } + case 26: { + FCIdle = input.ReadString(); + break; + } + case 34: { + FCAction = input.ReadString(); + break; + } + case 42: { + FCLostControl = input.ReadString(); + break; + } + case 50: { + FCDeath = input.ReadString(); + break; + } + case 58: { + FCGlobal = input.ReadString(); + break; + } + case 66: { + FCComboGroup = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AI : pb::IMessage<table_AI> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AI> _parser = new pb::MessageParser<table_AI>(() => new table_AI()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AI> 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.ClientTableReflection.Descriptor.MessageTypes[21]; } + } + + [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 table_AI() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AI(table_AI other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AI Clone() { + return new table_AI(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AI> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AI.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AI> list_ = new pbc::RepeatedField<global::Nova.Client.AI>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AI> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AI); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AI other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AI other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AreaEffect : pb::IMessage<AreaEffect> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AreaEffect> _parser = new pb::MessageParser<AreaEffect>(() => new AreaEffect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AreaEffect> 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.ClientTableReflection.Descriptor.MessageTypes[22]; } + } + + [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 AreaEffect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AreaEffect(AreaEffect other) : this() { + areaTag_ = other.areaTag_; + maxCount_ = other.maxCount_; + overLimitType_ = other.overLimitType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AreaEffect Clone() { + return new AreaEffect(this); + } + + /// <summary>Field number for the "AreaTag" field.</summary> + public const int AreaTagFieldNumber = 1; + private int areaTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AreaTag { + get { return areaTag_; } + set { + areaTag_ = value; + } + } + + /// <summary>Field number for the "MaxCount" field.</summary> + public const int MaxCountFieldNumber = 2; + private int maxCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxCount { + get { return maxCount_; } + set { + maxCount_ = value; + } + } + + /// <summary>Field number for the "OverLimitType" field.</summary> + public const int OverLimitTypeFieldNumber = 3; + private int overLimitType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OverLimitType { + get { return overLimitType_; } + set { + overLimitType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AreaEffect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AreaEffect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (AreaTag != other.AreaTag) return false; + if (MaxCount != other.MaxCount) return false; + if (OverLimitType != other.OverLimitType) 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 (AreaTag != 0) hash ^= AreaTag.GetHashCode(); + if (MaxCount != 0) hash ^= MaxCount.GetHashCode(); + if (OverLimitType != 0) hash ^= OverLimitType.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 (AreaTag != 0) { + output.WriteRawTag(8); + output.WriteInt32(AreaTag); + } + if (MaxCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxCount); + } + if (OverLimitType != 0) { + output.WriteRawTag(24); + output.WriteInt32(OverLimitType); + } + 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 (AreaTag != 0) { + output.WriteRawTag(8); + output.WriteInt32(AreaTag); + } + if (MaxCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxCount); + } + if (OverLimitType != 0) { + output.WriteRawTag(24); + output.WriteInt32(OverLimitType); + } + 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 (AreaTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AreaTag); + } + if (MaxCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxCount); + } + if (OverLimitType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OverLimitType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AreaEffect other) { + if (other == null) { + return; + } + if (other.AreaTag != 0) { + AreaTag = other.AreaTag; + } + if (other.MaxCount != 0) { + MaxCount = other.MaxCount; + } + if (other.OverLimitType != 0) { + OverLimitType = other.OverLimitType; + } + _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: { + AreaTag = input.ReadInt32(); + break; + } + case 16: { + MaxCount = input.ReadInt32(); + break; + } + case 24: { + OverLimitType = 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: { + AreaTag = input.ReadInt32(); + break; + } + case 16: { + MaxCount = input.ReadInt32(); + break; + } + case 24: { + OverLimitType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AreaEffect : pb::IMessage<table_AreaEffect> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AreaEffect> _parser = new pb::MessageParser<table_AreaEffect>(() => new table_AreaEffect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AreaEffect> 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.ClientTableReflection.Descriptor.MessageTypes[23]; } + } + + [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 table_AreaEffect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AreaEffect(table_AreaEffect other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AreaEffect Clone() { + return new table_AreaEffect(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AreaEffect> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AreaEffect.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AreaEffect> list_ = new pbc::RepeatedField<global::Nova.Client.AreaEffect>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AreaEffect> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AreaEffect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AreaEffect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AreaEffect other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Attribute : pb::IMessage<Attribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Attribute> _parser = new pb::MessageParser<Attribute>(() => new Attribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Attribute> 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.ClientTableReflection.Descriptor.MessageTypes[24]; } + } + + [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 Attribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute(Attribute other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + break_ = other.break_; + lvl_ = other.lvl_; + atk_ = other.atk_; + hp_ = other.hp_; + def_ = other.def_; + critRate_ = other.critRate_; + normalCritRate_ = other.normalCritRate_; + skillCritRate_ = other.skillCritRate_; + ultraCritRate_ = other.ultraCritRate_; + markCritRate_ = other.markCritRate_; + summonCritRate_ = other.summonCritRate_; + projectileCritRate_ = other.projectileCritRate_; + otherCritRate_ = other.otherCritRate_; + critResistance_ = other.critResistance_; + critPower_ = other.critPower_; + normalCritPower_ = other.normalCritPower_; + skillCritPower_ = other.skillCritPower_; + ultraCritPower_ = other.ultraCritPower_; + markCritPower_ = other.markCritPower_; + summonCritPower_ = other.summonCritPower_; + projectileCritPower_ = other.projectileCritPower_; + otherCritPower_ = other.otherCritPower_; + hitRate_ = other.hitRate_; + evd_ = other.evd_; + defPierce_ = other.defPierce_; + defIgnore_ = other.defIgnore_; + wEP_ = other.wEP_; + fEP_ = other.fEP_; + sEP_ = other.sEP_; + aEP_ = other.aEP_; + lEP_ = other.lEP_; + dEP_ = other.dEP_; + wEI_ = other.wEI_; + fEI_ = other.fEI_; + sEI_ = other.sEI_; + aEI_ = other.aEI_; + lEI_ = other.lEI_; + dEI_ = other.dEI_; + wEE_ = other.wEE_; + fEE_ = other.fEE_; + sEE_ = other.sEE_; + aEE_ = other.aEE_; + lEE_ = other.lEE_; + dEE_ = other.dEE_; + wER_ = other.wER_; + fER_ = other.fER_; + sER_ = other.sER_; + aER_ = other.aER_; + lER_ = other.lER_; + dER_ = other.dER_; + toughnessDamageAdjust_ = other.toughnessDamageAdjust_; + toughness_ = other.toughness_; + suppress_ = other.suppress_; + nORMALDMG_ = other.nORMALDMG_; + sKILLDMG_ = other.sKILLDMG_; + uLTRADMG_ = other.uLTRADMG_; + oTHERDMG_ = other.oTHERDMG_; + rCDNORMALDMG_ = other.rCDNORMALDMG_; + rCDSKILLDMG_ = other.rCDSKILLDMG_; + rCDULTRADMG_ = other.rCDULTRADMG_; + rCDOTHERDMG_ = other.rCDOTHERDMG_; + mARKDMG_ = other.mARKDMG_; + rCDMARKDMG_ = other.rCDMARKDMG_; + sUMMONDMG_ = other.sUMMONDMG_; + rCDSUMMONDMG_ = other.rCDSUMMONDMG_; + pROJECTILEDMG_ = other.pROJECTILEDMG_; + rCDPROJECTILEDMG_ = other.rCDPROJECTILEDMG_; + gENDMG_ = other.gENDMG_; + dMGPLUS_ = other.dMGPLUS_; + fINALDMG_ = other.fINALDMG_; + fINALDMGPLUS_ = other.fINALDMGPLUS_; + wEERCD_ = other.wEERCD_; + fEERCD_ = other.fEERCD_; + sEERCD_ = other.sEERCD_; + aEERCD_ = other.aEERCD_; + lEERCD_ = other.lEERCD_; + dEERCD_ = other.dEERCD_; + gENDMGRCD_ = other.gENDMGRCD_; + dMGPLUSRCD_ = other.dMGPLUSRCD_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Attribute Clone() { + return new Attribute(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GroupId" 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 "Break" field.</summary> + public const int BreakFieldNumber = 3; + private int break_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Break { + get { return break_; } + set { + break_ = value; + } + } + + /// <summary>Field number for the "lvl" field.</summary> + public const int LvlFieldNumber = 4; + private int lvl_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Lvl { + get { return lvl_; } + set { + lvl_ = value; + } + } + + /// <summary>Field number for the "Atk" field.</summary> + public const int AtkFieldNumber = 5; + private int atk_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Atk { + get { return atk_; } + set { + atk_ = value; + } + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 6; + private int hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + /// <summary>Field number for the "Def" field.</summary> + public const int DefFieldNumber = 7; + private int def_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Def { + get { return def_; } + set { + def_ = value; + } + } + + /// <summary>Field number for the "CritRate" field.</summary> + public const int CritRateFieldNumber = 8; + private int critRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritRate { + get { return critRate_; } + set { + critRate_ = value; + } + } + + /// <summary>Field number for the "NormalCritRate" field.</summary> + public const int NormalCritRateFieldNumber = 9; + private int normalCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalCritRate { + get { return normalCritRate_; } + set { + normalCritRate_ = value; + } + } + + /// <summary>Field number for the "SkillCritRate" field.</summary> + public const int SkillCritRateFieldNumber = 10; + private int skillCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillCritRate { + get { return skillCritRate_; } + set { + skillCritRate_ = value; + } + } + + /// <summary>Field number for the "UltraCritRate" field.</summary> + public const int UltraCritRateFieldNumber = 11; + private int ultraCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UltraCritRate { + get { return ultraCritRate_; } + set { + ultraCritRate_ = value; + } + } + + /// <summary>Field number for the "MarkCritRate" field.</summary> + public const int MarkCritRateFieldNumber = 12; + private int markCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MarkCritRate { + get { return markCritRate_; } + set { + markCritRate_ = value; + } + } + + /// <summary>Field number for the "SummonCritRate" field.</summary> + public const int SummonCritRateFieldNumber = 13; + private int summonCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SummonCritRate { + get { return summonCritRate_; } + set { + summonCritRate_ = value; + } + } + + /// <summary>Field number for the "ProjectileCritRate" field.</summary> + public const int ProjectileCritRateFieldNumber = 14; + private int projectileCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProjectileCritRate { + get { return projectileCritRate_; } + set { + projectileCritRate_ = value; + } + } + + /// <summary>Field number for the "OtherCritRate" field.</summary> + public const int OtherCritRateFieldNumber = 15; + private int otherCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OtherCritRate { + get { return otherCritRate_; } + set { + otherCritRate_ = value; + } + } + + /// <summary>Field number for the "CritResistance" field.</summary> + public const int CritResistanceFieldNumber = 16; + private int critResistance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritResistance { + get { return critResistance_; } + set { + critResistance_ = value; + } + } + + /// <summary>Field number for the "CritPower" field.</summary> + public const int CritPowerFieldNumber = 17; + private int critPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritPower { + get { return critPower_; } + set { + critPower_ = value; + } + } + + /// <summary>Field number for the "NormalCritPower" field.</summary> + public const int NormalCritPowerFieldNumber = 18; + private int normalCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalCritPower { + get { return normalCritPower_; } + set { + normalCritPower_ = value; + } + } + + /// <summary>Field number for the "SkillCritPower" field.</summary> + public const int SkillCritPowerFieldNumber = 19; + private int skillCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillCritPower { + get { return skillCritPower_; } + set { + skillCritPower_ = value; + } + } + + /// <summary>Field number for the "UltraCritPower" field.</summary> + public const int UltraCritPowerFieldNumber = 20; + private int ultraCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UltraCritPower { + get { return ultraCritPower_; } + set { + ultraCritPower_ = value; + } + } + + /// <summary>Field number for the "MarkCritPower" field.</summary> + public const int MarkCritPowerFieldNumber = 21; + private int markCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MarkCritPower { + get { return markCritPower_; } + set { + markCritPower_ = value; + } + } + + /// <summary>Field number for the "SummonCritPower" field.</summary> + public const int SummonCritPowerFieldNumber = 22; + private int summonCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SummonCritPower { + get { return summonCritPower_; } + set { + summonCritPower_ = value; + } + } + + /// <summary>Field number for the "ProjectileCritPower" field.</summary> + public const int ProjectileCritPowerFieldNumber = 23; + private int projectileCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProjectileCritPower { + get { return projectileCritPower_; } + set { + projectileCritPower_ = value; + } + } + + /// <summary>Field number for the "OtherCritPower" field.</summary> + public const int OtherCritPowerFieldNumber = 24; + private int otherCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OtherCritPower { + get { return otherCritPower_; } + set { + otherCritPower_ = value; + } + } + + /// <summary>Field number for the "HitRate" field.</summary> + public const int HitRateFieldNumber = 25; + private int hitRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HitRate { + get { return hitRate_; } + set { + hitRate_ = value; + } + } + + /// <summary>Field number for the "Evd" field.</summary> + public const int EvdFieldNumber = 26; + private int evd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Evd { + get { return evd_; } + set { + evd_ = value; + } + } + + /// <summary>Field number for the "DefPierce" field.</summary> + public const int DefPierceFieldNumber = 27; + private int defPierce_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefPierce { + get { return defPierce_; } + set { + defPierce_ = value; + } + } + + /// <summary>Field number for the "DefIgnore" field.</summary> + public const int DefIgnoreFieldNumber = 28; + private int defIgnore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefIgnore { + get { return defIgnore_; } + set { + defIgnore_ = value; + } + } + + /// <summary>Field number for the "WEP" field.</summary> + public const int WEPFieldNumber = 29; + private int wEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEP { + get { return wEP_; } + set { + wEP_ = value; + } + } + + /// <summary>Field number for the "FEP" field.</summary> + public const int FEPFieldNumber = 30; + private int fEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEP { + get { return fEP_; } + set { + fEP_ = value; + } + } + + /// <summary>Field number for the "SEP" field.</summary> + public const int SEPFieldNumber = 31; + private int sEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEP { + get { return sEP_; } + set { + sEP_ = value; + } + } + + /// <summary>Field number for the "AEP" field.</summary> + public const int AEPFieldNumber = 32; + private int aEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEP { + get { return aEP_; } + set { + aEP_ = value; + } + } + + /// <summary>Field number for the "LEP" field.</summary> + public const int LEPFieldNumber = 33; + private int lEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEP { + get { return lEP_; } + set { + lEP_ = value; + } + } + + /// <summary>Field number for the "DEP" field.</summary> + public const int DEPFieldNumber = 34; + private int dEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEP { + get { return dEP_; } + set { + dEP_ = value; + } + } + + /// <summary>Field number for the "WEI" field.</summary> + public const int WEIFieldNumber = 35; + private int wEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEI { + get { return wEI_; } + set { + wEI_ = value; + } + } + + /// <summary>Field number for the "FEI" field.</summary> + public const int FEIFieldNumber = 36; + private int fEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEI { + get { return fEI_; } + set { + fEI_ = value; + } + } + + /// <summary>Field number for the "SEI" field.</summary> + public const int SEIFieldNumber = 37; + private int sEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEI { + get { return sEI_; } + set { + sEI_ = value; + } + } + + /// <summary>Field number for the "AEI" field.</summary> + public const int AEIFieldNumber = 38; + private int aEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEI { + get { return aEI_; } + set { + aEI_ = value; + } + } + + /// <summary>Field number for the "LEI" field.</summary> + public const int LEIFieldNumber = 39; + private int lEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEI { + get { return lEI_; } + set { + lEI_ = value; + } + } + + /// <summary>Field number for the "DEI" field.</summary> + public const int DEIFieldNumber = 40; + private int dEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEI { + get { return dEI_; } + set { + dEI_ = value; + } + } + + /// <summary>Field number for the "WEE" field.</summary> + public const int WEEFieldNumber = 41; + private int wEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEE { + get { return wEE_; } + set { + wEE_ = value; + } + } + + /// <summary>Field number for the "FEE" field.</summary> + public const int FEEFieldNumber = 42; + private int fEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEE { + get { return fEE_; } + set { + fEE_ = value; + } + } + + /// <summary>Field number for the "SEE" field.</summary> + public const int SEEFieldNumber = 43; + private int sEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEE { + get { return sEE_; } + set { + sEE_ = value; + } + } + + /// <summary>Field number for the "AEE" field.</summary> + public const int AEEFieldNumber = 44; + private int aEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEE { + get { return aEE_; } + set { + aEE_ = value; + } + } + + /// <summary>Field number for the "LEE" field.</summary> + public const int LEEFieldNumber = 45; + private int lEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEE { + get { return lEE_; } + set { + lEE_ = value; + } + } + + /// <summary>Field number for the "DEE" field.</summary> + public const int DEEFieldNumber = 46; + private int dEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEE { + get { return dEE_; } + set { + dEE_ = value; + } + } + + /// <summary>Field number for the "WER" field.</summary> + public const int WERFieldNumber = 47; + private int wER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WER { + get { return wER_; } + set { + wER_ = value; + } + } + + /// <summary>Field number for the "FER" field.</summary> + public const int FERFieldNumber = 48; + private int fER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FER { + get { return fER_; } + set { + fER_ = value; + } + } + + /// <summary>Field number for the "SER" field.</summary> + public const int SERFieldNumber = 49; + private int sER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SER { + get { return sER_; } + set { + sER_ = value; + } + } + + /// <summary>Field number for the "AER" field.</summary> + public const int AERFieldNumber = 50; + private int aER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AER { + get { return aER_; } + set { + aER_ = value; + } + } + + /// <summary>Field number for the "LER" field.</summary> + public const int LERFieldNumber = 51; + private int lER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LER { + get { return lER_; } + set { + lER_ = value; + } + } + + /// <summary>Field number for the "DER" field.</summary> + public const int DERFieldNumber = 52; + private int dER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DER { + get { return dER_; } + set { + dER_ = value; + } + } + + /// <summary>Field number for the "ToughnessDamageAdjust" field.</summary> + public const int ToughnessDamageAdjustFieldNumber = 53; + private int toughnessDamageAdjust_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToughnessDamageAdjust { + get { return toughnessDamageAdjust_; } + set { + toughnessDamageAdjust_ = value; + } + } + + /// <summary>Field number for the "Toughness" field.</summary> + public const int ToughnessFieldNumber = 54; + private int toughness_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Toughness { + get { return toughness_; } + set { + toughness_ = value; + } + } + + /// <summary>Field number for the "Suppress" field.</summary> + public const int SuppressFieldNumber = 55; + private int suppress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Suppress { + get { return suppress_; } + set { + suppress_ = value; + } + } + + /// <summary>Field number for the "NORMALDMG" field.</summary> + public const int NORMALDMGFieldNumber = 56; + private int nORMALDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NORMALDMG { + get { return nORMALDMG_; } + set { + nORMALDMG_ = value; + } + } + + /// <summary>Field number for the "SKILLDMG" field.</summary> + public const int SKILLDMGFieldNumber = 57; + private int sKILLDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SKILLDMG { + get { return sKILLDMG_; } + set { + sKILLDMG_ = value; + } + } + + /// <summary>Field number for the "ULTRADMG" field.</summary> + public const int ULTRADMGFieldNumber = 58; + private int uLTRADMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ULTRADMG { + get { return uLTRADMG_; } + set { + uLTRADMG_ = value; + } + } + + /// <summary>Field number for the "OTHERDMG" field.</summary> + public const int OTHERDMGFieldNumber = 59; + private int oTHERDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OTHERDMG { + get { return oTHERDMG_; } + set { + oTHERDMG_ = value; + } + } + + /// <summary>Field number for the "RCDNORMALDMG" field.</summary> + public const int RCDNORMALDMGFieldNumber = 60; + private int rCDNORMALDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDNORMALDMG { + get { return rCDNORMALDMG_; } + set { + rCDNORMALDMG_ = value; + } + } + + /// <summary>Field number for the "RCDSKILLDMG" field.</summary> + public const int RCDSKILLDMGFieldNumber = 61; + private int rCDSKILLDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDSKILLDMG { + get { return rCDSKILLDMG_; } + set { + rCDSKILLDMG_ = value; + } + } + + /// <summary>Field number for the "RCDULTRADMG" field.</summary> + public const int RCDULTRADMGFieldNumber = 62; + private int rCDULTRADMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDULTRADMG { + get { return rCDULTRADMG_; } + set { + rCDULTRADMG_ = value; + } + } + + /// <summary>Field number for the "RCDOTHERDMG" field.</summary> + public const int RCDOTHERDMGFieldNumber = 63; + private int rCDOTHERDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDOTHERDMG { + get { return rCDOTHERDMG_; } + set { + rCDOTHERDMG_ = value; + } + } + + /// <summary>Field number for the "MARKDMG" field.</summary> + public const int MARKDMGFieldNumber = 64; + private int mARKDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MARKDMG { + get { return mARKDMG_; } + set { + mARKDMG_ = value; + } + } + + /// <summary>Field number for the "RCDMARKDMG" field.</summary> + public const int RCDMARKDMGFieldNumber = 65; + private int rCDMARKDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDMARKDMG { + get { return rCDMARKDMG_; } + set { + rCDMARKDMG_ = value; + } + } + + /// <summary>Field number for the "SUMMONDMG" field.</summary> + public const int SUMMONDMGFieldNumber = 66; + private int sUMMONDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SUMMONDMG { + get { return sUMMONDMG_; } + set { + sUMMONDMG_ = value; + } + } + + /// <summary>Field number for the "RCDSUMMONDMG" field.</summary> + public const int RCDSUMMONDMGFieldNumber = 67; + private int rCDSUMMONDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDSUMMONDMG { + get { return rCDSUMMONDMG_; } + set { + rCDSUMMONDMG_ = value; + } + } + + /// <summary>Field number for the "PROJECTILEDMG" field.</summary> + public const int PROJECTILEDMGFieldNumber = 68; + private int pROJECTILEDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PROJECTILEDMG { + get { return pROJECTILEDMG_; } + set { + pROJECTILEDMG_ = value; + } + } + + /// <summary>Field number for the "RCDPROJECTILEDMG" field.</summary> + public const int RCDPROJECTILEDMGFieldNumber = 69; + private int rCDPROJECTILEDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDPROJECTILEDMG { + get { return rCDPROJECTILEDMG_; } + set { + rCDPROJECTILEDMG_ = value; + } + } + + /// <summary>Field number for the "GENDMG" field.</summary> + public const int GENDMGFieldNumber = 70; + private int gENDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GENDMG { + get { return gENDMG_; } + set { + gENDMG_ = value; + } + } + + /// <summary>Field number for the "DMGPLUS" field.</summary> + public const int DMGPLUSFieldNumber = 71; + private int dMGPLUS_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DMGPLUS { + get { return dMGPLUS_; } + set { + dMGPLUS_ = value; + } + } + + /// <summary>Field number for the "FINALDMG" field.</summary> + public const int FINALDMGFieldNumber = 72; + private int fINALDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FINALDMG { + get { return fINALDMG_; } + set { + fINALDMG_ = value; + } + } + + /// <summary>Field number for the "FINALDMGPLUS" field.</summary> + public const int FINALDMGPLUSFieldNumber = 73; + private int fINALDMGPLUS_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FINALDMGPLUS { + get { return fINALDMGPLUS_; } + set { + fINALDMGPLUS_ = value; + } + } + + /// <summary>Field number for the "WEERCD" field.</summary> + public const int WEERCDFieldNumber = 74; + private int wEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEERCD { + get { return wEERCD_; } + set { + wEERCD_ = value; + } + } + + /// <summary>Field number for the "FEERCD" field.</summary> + public const int FEERCDFieldNumber = 75; + private int fEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEERCD { + get { return fEERCD_; } + set { + fEERCD_ = value; + } + } + + /// <summary>Field number for the "SEERCD" field.</summary> + public const int SEERCDFieldNumber = 76; + private int sEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEERCD { + get { return sEERCD_; } + set { + sEERCD_ = value; + } + } + + /// <summary>Field number for the "AEERCD" field.</summary> + public const int AEERCDFieldNumber = 77; + private int aEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEERCD { + get { return aEERCD_; } + set { + aEERCD_ = value; + } + } + + /// <summary>Field number for the "LEERCD" field.</summary> + public const int LEERCDFieldNumber = 78; + private int lEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEERCD { + get { return lEERCD_; } + set { + lEERCD_ = value; + } + } + + /// <summary>Field number for the "DEERCD" field.</summary> + public const int DEERCDFieldNumber = 79; + private int dEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEERCD { + get { return dEERCD_; } + set { + dEERCD_ = value; + } + } + + /// <summary>Field number for the "GENDMGRCD" field.</summary> + public const int GENDMGRCDFieldNumber = 80; + private int gENDMGRCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GENDMGRCD { + get { return gENDMGRCD_; } + set { + gENDMGRCD_ = value; + } + } + + /// <summary>Field number for the "DMGPLUSRCD" field.</summary> + public const int DMGPLUSRCDFieldNumber = 81; + private int dMGPLUSRCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DMGPLUSRCD { + get { return dMGPLUSRCD_; } + set { + dMGPLUSRCD_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Attribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Attribute 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 (Break != other.Break) return false; + if (Lvl != other.Lvl) return false; + if (Atk != other.Atk) return false; + if (Hp != other.Hp) return false; + if (Def != other.Def) return false; + if (CritRate != other.CritRate) return false; + if (NormalCritRate != other.NormalCritRate) return false; + if (SkillCritRate != other.SkillCritRate) return false; + if (UltraCritRate != other.UltraCritRate) return false; + if (MarkCritRate != other.MarkCritRate) return false; + if (SummonCritRate != other.SummonCritRate) return false; + if (ProjectileCritRate != other.ProjectileCritRate) return false; + if (OtherCritRate != other.OtherCritRate) return false; + if (CritResistance != other.CritResistance) return false; + if (CritPower != other.CritPower) return false; + if (NormalCritPower != other.NormalCritPower) return false; + if (SkillCritPower != other.SkillCritPower) return false; + if (UltraCritPower != other.UltraCritPower) return false; + if (MarkCritPower != other.MarkCritPower) return false; + if (SummonCritPower != other.SummonCritPower) return false; + if (ProjectileCritPower != other.ProjectileCritPower) return false; + if (OtherCritPower != other.OtherCritPower) return false; + if (HitRate != other.HitRate) return false; + if (Evd != other.Evd) return false; + if (DefPierce != other.DefPierce) return false; + if (DefIgnore != other.DefIgnore) return false; + if (WEP != other.WEP) return false; + if (FEP != other.FEP) return false; + if (SEP != other.SEP) return false; + if (AEP != other.AEP) return false; + if (LEP != other.LEP) return false; + if (DEP != other.DEP) return false; + if (WEI != other.WEI) return false; + if (FEI != other.FEI) return false; + if (SEI != other.SEI) return false; + if (AEI != other.AEI) return false; + if (LEI != other.LEI) return false; + if (DEI != other.DEI) return false; + if (WEE != other.WEE) return false; + if (FEE != other.FEE) return false; + if (SEE != other.SEE) return false; + if (AEE != other.AEE) return false; + if (LEE != other.LEE) return false; + if (DEE != other.DEE) return false; + if (WER != other.WER) return false; + if (FER != other.FER) return false; + if (SER != other.SER) return false; + if (AER != other.AER) return false; + if (LER != other.LER) return false; + if (DER != other.DER) return false; + if (ToughnessDamageAdjust != other.ToughnessDamageAdjust) return false; + if (Toughness != other.Toughness) return false; + if (Suppress != other.Suppress) return false; + if (NORMALDMG != other.NORMALDMG) return false; + if (SKILLDMG != other.SKILLDMG) return false; + if (ULTRADMG != other.ULTRADMG) return false; + if (OTHERDMG != other.OTHERDMG) return false; + if (RCDNORMALDMG != other.RCDNORMALDMG) return false; + if (RCDSKILLDMG != other.RCDSKILLDMG) return false; + if (RCDULTRADMG != other.RCDULTRADMG) return false; + if (RCDOTHERDMG != other.RCDOTHERDMG) return false; + if (MARKDMG != other.MARKDMG) return false; + if (RCDMARKDMG != other.RCDMARKDMG) return false; + if (SUMMONDMG != other.SUMMONDMG) return false; + if (RCDSUMMONDMG != other.RCDSUMMONDMG) return false; + if (PROJECTILEDMG != other.PROJECTILEDMG) return false; + if (RCDPROJECTILEDMG != other.RCDPROJECTILEDMG) return false; + if (GENDMG != other.GENDMG) return false; + if (DMGPLUS != other.DMGPLUS) return false; + if (FINALDMG != other.FINALDMG) return false; + if (FINALDMGPLUS != other.FINALDMGPLUS) return false; + if (WEERCD != other.WEERCD) return false; + if (FEERCD != other.FEERCD) return false; + if (SEERCD != other.SEERCD) return false; + if (AEERCD != other.AEERCD) return false; + if (LEERCD != other.LEERCD) return false; + if (DEERCD != other.DEERCD) return false; + if (GENDMGRCD != other.GENDMGRCD) return false; + if (DMGPLUSRCD != other.DMGPLUSRCD) 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.Length != 0) hash ^= Id.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (Break != 0) hash ^= Break.GetHashCode(); + if (Lvl != 0) hash ^= Lvl.GetHashCode(); + if (Atk != 0) hash ^= Atk.GetHashCode(); + if (Hp != 0) hash ^= Hp.GetHashCode(); + if (Def != 0) hash ^= Def.GetHashCode(); + if (CritRate != 0) hash ^= CritRate.GetHashCode(); + if (NormalCritRate != 0) hash ^= NormalCritRate.GetHashCode(); + if (SkillCritRate != 0) hash ^= SkillCritRate.GetHashCode(); + if (UltraCritRate != 0) hash ^= UltraCritRate.GetHashCode(); + if (MarkCritRate != 0) hash ^= MarkCritRate.GetHashCode(); + if (SummonCritRate != 0) hash ^= SummonCritRate.GetHashCode(); + if (ProjectileCritRate != 0) hash ^= ProjectileCritRate.GetHashCode(); + if (OtherCritRate != 0) hash ^= OtherCritRate.GetHashCode(); + if (CritResistance != 0) hash ^= CritResistance.GetHashCode(); + if (CritPower != 0) hash ^= CritPower.GetHashCode(); + if (NormalCritPower != 0) hash ^= NormalCritPower.GetHashCode(); + if (SkillCritPower != 0) hash ^= SkillCritPower.GetHashCode(); + if (UltraCritPower != 0) hash ^= UltraCritPower.GetHashCode(); + if (MarkCritPower != 0) hash ^= MarkCritPower.GetHashCode(); + if (SummonCritPower != 0) hash ^= SummonCritPower.GetHashCode(); + if (ProjectileCritPower != 0) hash ^= ProjectileCritPower.GetHashCode(); + if (OtherCritPower != 0) hash ^= OtherCritPower.GetHashCode(); + if (HitRate != 0) hash ^= HitRate.GetHashCode(); + if (Evd != 0) hash ^= Evd.GetHashCode(); + if (DefPierce != 0) hash ^= DefPierce.GetHashCode(); + if (DefIgnore != 0) hash ^= DefIgnore.GetHashCode(); + if (WEP != 0) hash ^= WEP.GetHashCode(); + if (FEP != 0) hash ^= FEP.GetHashCode(); + if (SEP != 0) hash ^= SEP.GetHashCode(); + if (AEP != 0) hash ^= AEP.GetHashCode(); + if (LEP != 0) hash ^= LEP.GetHashCode(); + if (DEP != 0) hash ^= DEP.GetHashCode(); + if (WEI != 0) hash ^= WEI.GetHashCode(); + if (FEI != 0) hash ^= FEI.GetHashCode(); + if (SEI != 0) hash ^= SEI.GetHashCode(); + if (AEI != 0) hash ^= AEI.GetHashCode(); + if (LEI != 0) hash ^= LEI.GetHashCode(); + if (DEI != 0) hash ^= DEI.GetHashCode(); + if (WEE != 0) hash ^= WEE.GetHashCode(); + if (FEE != 0) hash ^= FEE.GetHashCode(); + if (SEE != 0) hash ^= SEE.GetHashCode(); + if (AEE != 0) hash ^= AEE.GetHashCode(); + if (LEE != 0) hash ^= LEE.GetHashCode(); + if (DEE != 0) hash ^= DEE.GetHashCode(); + if (WER != 0) hash ^= WER.GetHashCode(); + if (FER != 0) hash ^= FER.GetHashCode(); + if (SER != 0) hash ^= SER.GetHashCode(); + if (AER != 0) hash ^= AER.GetHashCode(); + if (LER != 0) hash ^= LER.GetHashCode(); + if (DER != 0) hash ^= DER.GetHashCode(); + if (ToughnessDamageAdjust != 0) hash ^= ToughnessDamageAdjust.GetHashCode(); + if (Toughness != 0) hash ^= Toughness.GetHashCode(); + if (Suppress != 0) hash ^= Suppress.GetHashCode(); + if (NORMALDMG != 0) hash ^= NORMALDMG.GetHashCode(); + if (SKILLDMG != 0) hash ^= SKILLDMG.GetHashCode(); + if (ULTRADMG != 0) hash ^= ULTRADMG.GetHashCode(); + if (OTHERDMG != 0) hash ^= OTHERDMG.GetHashCode(); + if (RCDNORMALDMG != 0) hash ^= RCDNORMALDMG.GetHashCode(); + if (RCDSKILLDMG != 0) hash ^= RCDSKILLDMG.GetHashCode(); + if (RCDULTRADMG != 0) hash ^= RCDULTRADMG.GetHashCode(); + if (RCDOTHERDMG != 0) hash ^= RCDOTHERDMG.GetHashCode(); + if (MARKDMG != 0) hash ^= MARKDMG.GetHashCode(); + if (RCDMARKDMG != 0) hash ^= RCDMARKDMG.GetHashCode(); + if (SUMMONDMG != 0) hash ^= SUMMONDMG.GetHashCode(); + if (RCDSUMMONDMG != 0) hash ^= RCDSUMMONDMG.GetHashCode(); + if (PROJECTILEDMG != 0) hash ^= PROJECTILEDMG.GetHashCode(); + if (RCDPROJECTILEDMG != 0) hash ^= RCDPROJECTILEDMG.GetHashCode(); + if (GENDMG != 0) hash ^= GENDMG.GetHashCode(); + if (DMGPLUS != 0) hash ^= DMGPLUS.GetHashCode(); + if (FINALDMG != 0) hash ^= FINALDMG.GetHashCode(); + if (FINALDMGPLUS != 0) hash ^= FINALDMGPLUS.GetHashCode(); + if (WEERCD != 0) hash ^= WEERCD.GetHashCode(); + if (FEERCD != 0) hash ^= FEERCD.GetHashCode(); + if (SEERCD != 0) hash ^= SEERCD.GetHashCode(); + if (AEERCD != 0) hash ^= AEERCD.GetHashCode(); + if (LEERCD != 0) hash ^= LEERCD.GetHashCode(); + if (DEERCD != 0) hash ^= DEERCD.GetHashCode(); + if (GENDMGRCD != 0) hash ^= GENDMGRCD.GetHashCode(); + if (DMGPLUSRCD != 0) hash ^= DMGPLUSRCD.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + if (Break != 0) { + output.WriteRawTag(24); + output.WriteInt32(Break); + } + if (Lvl != 0) { + output.WriteRawTag(32); + output.WriteInt32(Lvl); + } + if (Atk != 0) { + output.WriteRawTag(40); + output.WriteInt32(Atk); + } + if (Hp != 0) { + output.WriteRawTag(48); + output.WriteInt32(Hp); + } + if (Def != 0) { + output.WriteRawTag(56); + output.WriteInt32(Def); + } + if (CritRate != 0) { + output.WriteRawTag(64); + output.WriteInt32(CritRate); + } + if (NormalCritRate != 0) { + output.WriteRawTag(72); + output.WriteInt32(NormalCritRate); + } + if (SkillCritRate != 0) { + output.WriteRawTag(80); + output.WriteInt32(SkillCritRate); + } + if (UltraCritRate != 0) { + output.WriteRawTag(88); + output.WriteInt32(UltraCritRate); + } + if (MarkCritRate != 0) { + output.WriteRawTag(96); + output.WriteInt32(MarkCritRate); + } + if (SummonCritRate != 0) { + output.WriteRawTag(104); + output.WriteInt32(SummonCritRate); + } + if (ProjectileCritRate != 0) { + output.WriteRawTag(112); + output.WriteInt32(ProjectileCritRate); + } + if (OtherCritRate != 0) { + output.WriteRawTag(120); + output.WriteInt32(OtherCritRate); + } + if (CritResistance != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(CritResistance); + } + if (CritPower != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(CritPower); + } + if (NormalCritPower != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NormalCritPower); + } + if (SkillCritPower != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(SkillCritPower); + } + if (UltraCritPower != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(UltraCritPower); + } + if (MarkCritPower != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(MarkCritPower); + } + if (SummonCritPower != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(SummonCritPower); + } + if (ProjectileCritPower != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ProjectileCritPower); + } + if (OtherCritPower != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(OtherCritPower); + } + if (HitRate != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(HitRate); + } + if (Evd != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(Evd); + } + if (DefPierce != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(DefPierce); + } + if (DefIgnore != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(DefIgnore); + } + if (WEP != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(WEP); + } + if (FEP != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(FEP); + } + if (SEP != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(SEP); + } + if (AEP != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(AEP); + } + if (LEP != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(LEP); + } + if (DEP != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(DEP); + } + if (WEI != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(WEI); + } + if (FEI != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(FEI); + } + if (SEI != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(SEI); + } + if (AEI != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(AEI); + } + if (LEI != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(LEI); + } + if (DEI != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(DEI); + } + if (WEE != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(WEE); + } + if (FEE != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(FEE); + } + if (SEE != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(SEE); + } + if (AEE != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(AEE); + } + if (LEE != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(LEE); + } + if (DEE != 0) { + output.WriteRawTag(240, 2); + output.WriteInt32(DEE); + } + if (WER != 0) { + output.WriteRawTag(248, 2); + output.WriteInt32(WER); + } + if (FER != 0) { + output.WriteRawTag(128, 3); + output.WriteInt32(FER); + } + if (SER != 0) { + output.WriteRawTag(136, 3); + output.WriteInt32(SER); + } + if (AER != 0) { + output.WriteRawTag(144, 3); + output.WriteInt32(AER); + } + if (LER != 0) { + output.WriteRawTag(152, 3); + output.WriteInt32(LER); + } + if (DER != 0) { + output.WriteRawTag(160, 3); + output.WriteInt32(DER); + } + if (ToughnessDamageAdjust != 0) { + output.WriteRawTag(168, 3); + output.WriteInt32(ToughnessDamageAdjust); + } + if (Toughness != 0) { + output.WriteRawTag(176, 3); + output.WriteInt32(Toughness); + } + if (Suppress != 0) { + output.WriteRawTag(184, 3); + output.WriteInt32(Suppress); + } + if (NORMALDMG != 0) { + output.WriteRawTag(192, 3); + output.WriteInt32(NORMALDMG); + } + if (SKILLDMG != 0) { + output.WriteRawTag(200, 3); + output.WriteInt32(SKILLDMG); + } + if (ULTRADMG != 0) { + output.WriteRawTag(208, 3); + output.WriteInt32(ULTRADMG); + } + if (OTHERDMG != 0) { + output.WriteRawTag(216, 3); + output.WriteInt32(OTHERDMG); + } + if (RCDNORMALDMG != 0) { + output.WriteRawTag(224, 3); + output.WriteInt32(RCDNORMALDMG); + } + if (RCDSKILLDMG != 0) { + output.WriteRawTag(232, 3); + output.WriteInt32(RCDSKILLDMG); + } + if (RCDULTRADMG != 0) { + output.WriteRawTag(240, 3); + output.WriteInt32(RCDULTRADMG); + } + if (RCDOTHERDMG != 0) { + output.WriteRawTag(248, 3); + output.WriteInt32(RCDOTHERDMG); + } + if (MARKDMG != 0) { + output.WriteRawTag(128, 4); + output.WriteInt32(MARKDMG); + } + if (RCDMARKDMG != 0) { + output.WriteRawTag(136, 4); + output.WriteInt32(RCDMARKDMG); + } + if (SUMMONDMG != 0) { + output.WriteRawTag(144, 4); + output.WriteInt32(SUMMONDMG); + } + if (RCDSUMMONDMG != 0) { + output.WriteRawTag(152, 4); + output.WriteInt32(RCDSUMMONDMG); + } + if (PROJECTILEDMG != 0) { + output.WriteRawTag(160, 4); + output.WriteInt32(PROJECTILEDMG); + } + if (RCDPROJECTILEDMG != 0) { + output.WriteRawTag(168, 4); + output.WriteInt32(RCDPROJECTILEDMG); + } + if (GENDMG != 0) { + output.WriteRawTag(176, 4); + output.WriteInt32(GENDMG); + } + if (DMGPLUS != 0) { + output.WriteRawTag(184, 4); + output.WriteInt32(DMGPLUS); + } + if (FINALDMG != 0) { + output.WriteRawTag(192, 4); + output.WriteInt32(FINALDMG); + } + if (FINALDMGPLUS != 0) { + output.WriteRawTag(200, 4); + output.WriteInt32(FINALDMGPLUS); + } + if (WEERCD != 0) { + output.WriteRawTag(208, 4); + output.WriteInt32(WEERCD); + } + if (FEERCD != 0) { + output.WriteRawTag(216, 4); + output.WriteInt32(FEERCD); + } + if (SEERCD != 0) { + output.WriteRawTag(224, 4); + output.WriteInt32(SEERCD); + } + if (AEERCD != 0) { + output.WriteRawTag(232, 4); + output.WriteInt32(AEERCD); + } + if (LEERCD != 0) { + output.WriteRawTag(240, 4); + output.WriteInt32(LEERCD); + } + if (DEERCD != 0) { + output.WriteRawTag(248, 4); + output.WriteInt32(DEERCD); + } + if (GENDMGRCD != 0) { + output.WriteRawTag(128, 5); + output.WriteInt32(GENDMGRCD); + } + if (DMGPLUSRCD != 0) { + output.WriteRawTag(136, 5); + output.WriteInt32(DMGPLUSRCD); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + if (Break != 0) { + output.WriteRawTag(24); + output.WriteInt32(Break); + } + if (Lvl != 0) { + output.WriteRawTag(32); + output.WriteInt32(Lvl); + } + if (Atk != 0) { + output.WriteRawTag(40); + output.WriteInt32(Atk); + } + if (Hp != 0) { + output.WriteRawTag(48); + output.WriteInt32(Hp); + } + if (Def != 0) { + output.WriteRawTag(56); + output.WriteInt32(Def); + } + if (CritRate != 0) { + output.WriteRawTag(64); + output.WriteInt32(CritRate); + } + if (NormalCritRate != 0) { + output.WriteRawTag(72); + output.WriteInt32(NormalCritRate); + } + if (SkillCritRate != 0) { + output.WriteRawTag(80); + output.WriteInt32(SkillCritRate); + } + if (UltraCritRate != 0) { + output.WriteRawTag(88); + output.WriteInt32(UltraCritRate); + } + if (MarkCritRate != 0) { + output.WriteRawTag(96); + output.WriteInt32(MarkCritRate); + } + if (SummonCritRate != 0) { + output.WriteRawTag(104); + output.WriteInt32(SummonCritRate); + } + if (ProjectileCritRate != 0) { + output.WriteRawTag(112); + output.WriteInt32(ProjectileCritRate); + } + if (OtherCritRate != 0) { + output.WriteRawTag(120); + output.WriteInt32(OtherCritRate); + } + if (CritResistance != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(CritResistance); + } + if (CritPower != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(CritPower); + } + if (NormalCritPower != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NormalCritPower); + } + if (SkillCritPower != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(SkillCritPower); + } + if (UltraCritPower != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(UltraCritPower); + } + if (MarkCritPower != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(MarkCritPower); + } + if (SummonCritPower != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(SummonCritPower); + } + if (ProjectileCritPower != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ProjectileCritPower); + } + if (OtherCritPower != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(OtherCritPower); + } + if (HitRate != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(HitRate); + } + if (Evd != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(Evd); + } + if (DefPierce != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(DefPierce); + } + if (DefIgnore != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(DefIgnore); + } + if (WEP != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(WEP); + } + if (FEP != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(FEP); + } + if (SEP != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(SEP); + } + if (AEP != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(AEP); + } + if (LEP != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(LEP); + } + if (DEP != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(DEP); + } + if (WEI != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(WEI); + } + if (FEI != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(FEI); + } + if (SEI != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(SEI); + } + if (AEI != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(AEI); + } + if (LEI != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(LEI); + } + if (DEI != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(DEI); + } + if (WEE != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(WEE); + } + if (FEE != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(FEE); + } + if (SEE != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(SEE); + } + if (AEE != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(AEE); + } + if (LEE != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(LEE); + } + if (DEE != 0) { + output.WriteRawTag(240, 2); + output.WriteInt32(DEE); + } + if (WER != 0) { + output.WriteRawTag(248, 2); + output.WriteInt32(WER); + } + if (FER != 0) { + output.WriteRawTag(128, 3); + output.WriteInt32(FER); + } + if (SER != 0) { + output.WriteRawTag(136, 3); + output.WriteInt32(SER); + } + if (AER != 0) { + output.WriteRawTag(144, 3); + output.WriteInt32(AER); + } + if (LER != 0) { + output.WriteRawTag(152, 3); + output.WriteInt32(LER); + } + if (DER != 0) { + output.WriteRawTag(160, 3); + output.WriteInt32(DER); + } + if (ToughnessDamageAdjust != 0) { + output.WriteRawTag(168, 3); + output.WriteInt32(ToughnessDamageAdjust); + } + if (Toughness != 0) { + output.WriteRawTag(176, 3); + output.WriteInt32(Toughness); + } + if (Suppress != 0) { + output.WriteRawTag(184, 3); + output.WriteInt32(Suppress); + } + if (NORMALDMG != 0) { + output.WriteRawTag(192, 3); + output.WriteInt32(NORMALDMG); + } + if (SKILLDMG != 0) { + output.WriteRawTag(200, 3); + output.WriteInt32(SKILLDMG); + } + if (ULTRADMG != 0) { + output.WriteRawTag(208, 3); + output.WriteInt32(ULTRADMG); + } + if (OTHERDMG != 0) { + output.WriteRawTag(216, 3); + output.WriteInt32(OTHERDMG); + } + if (RCDNORMALDMG != 0) { + output.WriteRawTag(224, 3); + output.WriteInt32(RCDNORMALDMG); + } + if (RCDSKILLDMG != 0) { + output.WriteRawTag(232, 3); + output.WriteInt32(RCDSKILLDMG); + } + if (RCDULTRADMG != 0) { + output.WriteRawTag(240, 3); + output.WriteInt32(RCDULTRADMG); + } + if (RCDOTHERDMG != 0) { + output.WriteRawTag(248, 3); + output.WriteInt32(RCDOTHERDMG); + } + if (MARKDMG != 0) { + output.WriteRawTag(128, 4); + output.WriteInt32(MARKDMG); + } + if (RCDMARKDMG != 0) { + output.WriteRawTag(136, 4); + output.WriteInt32(RCDMARKDMG); + } + if (SUMMONDMG != 0) { + output.WriteRawTag(144, 4); + output.WriteInt32(SUMMONDMG); + } + if (RCDSUMMONDMG != 0) { + output.WriteRawTag(152, 4); + output.WriteInt32(RCDSUMMONDMG); + } + if (PROJECTILEDMG != 0) { + output.WriteRawTag(160, 4); + output.WriteInt32(PROJECTILEDMG); + } + if (RCDPROJECTILEDMG != 0) { + output.WriteRawTag(168, 4); + output.WriteInt32(RCDPROJECTILEDMG); + } + if (GENDMG != 0) { + output.WriteRawTag(176, 4); + output.WriteInt32(GENDMG); + } + if (DMGPLUS != 0) { + output.WriteRawTag(184, 4); + output.WriteInt32(DMGPLUS); + } + if (FINALDMG != 0) { + output.WriteRawTag(192, 4); + output.WriteInt32(FINALDMG); + } + if (FINALDMGPLUS != 0) { + output.WriteRawTag(200, 4); + output.WriteInt32(FINALDMGPLUS); + } + if (WEERCD != 0) { + output.WriteRawTag(208, 4); + output.WriteInt32(WEERCD); + } + if (FEERCD != 0) { + output.WriteRawTag(216, 4); + output.WriteInt32(FEERCD); + } + if (SEERCD != 0) { + output.WriteRawTag(224, 4); + output.WriteInt32(SEERCD); + } + if (AEERCD != 0) { + output.WriteRawTag(232, 4); + output.WriteInt32(AEERCD); + } + if (LEERCD != 0) { + output.WriteRawTag(240, 4); + output.WriteInt32(LEERCD); + } + if (DEERCD != 0) { + output.WriteRawTag(248, 4); + output.WriteInt32(DEERCD); + } + if (GENDMGRCD != 0) { + output.WriteRawTag(128, 5); + output.WriteInt32(GENDMGRCD); + } + if (DMGPLUSRCD != 0) { + output.WriteRawTag(136, 5); + output.WriteInt32(DMGPLUSRCD); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (Break != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); + } + if (Lvl != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lvl); + } + if (Atk != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Atk); + } + if (Hp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hp); + } + if (Def != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Def); + } + if (CritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritRate); + } + if (NormalCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalCritRate); + } + if (SkillCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillCritRate); + } + if (UltraCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UltraCritRate); + } + if (MarkCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MarkCritRate); + } + if (SummonCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SummonCritRate); + } + if (ProjectileCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritRate); + } + if (OtherCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OtherCritRate); + } + if (CritResistance != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritResistance); + } + if (CritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritPower); + } + if (NormalCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalCritPower); + } + if (SkillCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillCritPower); + } + if (UltraCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraCritPower); + } + if (MarkCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkCritPower); + } + if (SummonCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonCritPower); + } + if (ProjectileCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritPower); + } + if (OtherCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherCritPower); + } + if (HitRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HitRate); + } + if (Evd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Evd); + } + if (DefPierce != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefPierce); + } + if (DefIgnore != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefIgnore); + } + if (WEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); + } + if (FEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); + } + if (SEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); + } + if (AEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); + } + if (LEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); + } + if (DEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); + } + if (WEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEI); + } + if (FEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEI); + } + if (SEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEI); + } + if (AEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEI); + } + if (LEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEI); + } + if (DEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEI); + } + if (WEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); + } + if (FEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); + } + if (SEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); + } + if (AEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); + } + if (LEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); + } + if (DEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); + } + if (WER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); + } + if (FER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); + } + if (SER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); + } + if (AER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); + } + if (LER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); + } + if (DER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); + } + if (ToughnessDamageAdjust != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessDamageAdjust); + } + if (Toughness != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Toughness); + } + if (Suppress != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Suppress); + } + if (NORMALDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NORMALDMG); + } + if (SKILLDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SKILLDMG); + } + if (ULTRADMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ULTRADMG); + } + if (OTHERDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(OTHERDMG); + } + if (RCDNORMALDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDNORMALDMG); + } + if (RCDSKILLDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDSKILLDMG); + } + if (RCDULTRADMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDULTRADMG); + } + if (RCDOTHERDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDOTHERDMG); + } + if (MARKDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MARKDMG); + } + if (RCDMARKDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDMARKDMG); + } + if (SUMMONDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SUMMONDMG); + } + if (RCDSUMMONDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDSUMMONDMG); + } + if (PROJECTILEDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PROJECTILEDMG); + } + if (RCDPROJECTILEDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDPROJECTILEDMG); + } + if (GENDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(GENDMG); + } + if (DMGPLUS != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DMGPLUS); + } + if (FINALDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FINALDMG); + } + if (FINALDMGPLUS != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FINALDMGPLUS); + } + if (WEERCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEERCD); + } + if (FEERCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEERCD); + } + if (SEERCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEERCD); + } + if (AEERCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEERCD); + } + if (LEERCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEERCD); + } + if (DEERCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEERCD); + } + if (GENDMGRCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(GENDMGRCD); + } + if (DMGPLUSRCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DMGPLUSRCD); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Attribute other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Break != 0) { + Break = other.Break; + } + if (other.Lvl != 0) { + Lvl = other.Lvl; + } + if (other.Atk != 0) { + Atk = other.Atk; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + if (other.Def != 0) { + Def = other.Def; + } + if (other.CritRate != 0) { + CritRate = other.CritRate; + } + if (other.NormalCritRate != 0) { + NormalCritRate = other.NormalCritRate; + } + if (other.SkillCritRate != 0) { + SkillCritRate = other.SkillCritRate; + } + if (other.UltraCritRate != 0) { + UltraCritRate = other.UltraCritRate; + } + if (other.MarkCritRate != 0) { + MarkCritRate = other.MarkCritRate; + } + if (other.SummonCritRate != 0) { + SummonCritRate = other.SummonCritRate; + } + if (other.ProjectileCritRate != 0) { + ProjectileCritRate = other.ProjectileCritRate; + } + if (other.OtherCritRate != 0) { + OtherCritRate = other.OtherCritRate; + } + if (other.CritResistance != 0) { + CritResistance = other.CritResistance; + } + if (other.CritPower != 0) { + CritPower = other.CritPower; + } + if (other.NormalCritPower != 0) { + NormalCritPower = other.NormalCritPower; + } + if (other.SkillCritPower != 0) { + SkillCritPower = other.SkillCritPower; + } + if (other.UltraCritPower != 0) { + UltraCritPower = other.UltraCritPower; + } + if (other.MarkCritPower != 0) { + MarkCritPower = other.MarkCritPower; + } + if (other.SummonCritPower != 0) { + SummonCritPower = other.SummonCritPower; + } + if (other.ProjectileCritPower != 0) { + ProjectileCritPower = other.ProjectileCritPower; + } + if (other.OtherCritPower != 0) { + OtherCritPower = other.OtherCritPower; + } + if (other.HitRate != 0) { + HitRate = other.HitRate; + } + if (other.Evd != 0) { + Evd = other.Evd; + } + if (other.DefPierce != 0) { + DefPierce = other.DefPierce; + } + if (other.DefIgnore != 0) { + DefIgnore = other.DefIgnore; + } + if (other.WEP != 0) { + WEP = other.WEP; + } + if (other.FEP != 0) { + FEP = other.FEP; + } + if (other.SEP != 0) { + SEP = other.SEP; + } + if (other.AEP != 0) { + AEP = other.AEP; + } + if (other.LEP != 0) { + LEP = other.LEP; + } + if (other.DEP != 0) { + DEP = other.DEP; + } + if (other.WEI != 0) { + WEI = other.WEI; + } + if (other.FEI != 0) { + FEI = other.FEI; + } + if (other.SEI != 0) { + SEI = other.SEI; + } + if (other.AEI != 0) { + AEI = other.AEI; + } + if (other.LEI != 0) { + LEI = other.LEI; + } + if (other.DEI != 0) { + DEI = other.DEI; + } + if (other.WEE != 0) { + WEE = other.WEE; + } + if (other.FEE != 0) { + FEE = other.FEE; + } + if (other.SEE != 0) { + SEE = other.SEE; + } + if (other.AEE != 0) { + AEE = other.AEE; + } + if (other.LEE != 0) { + LEE = other.LEE; + } + if (other.DEE != 0) { + DEE = other.DEE; + } + if (other.WER != 0) { + WER = other.WER; + } + if (other.FER != 0) { + FER = other.FER; + } + if (other.SER != 0) { + SER = other.SER; + } + if (other.AER != 0) { + AER = other.AER; + } + if (other.LER != 0) { + LER = other.LER; + } + if (other.DER != 0) { + DER = other.DER; + } + if (other.ToughnessDamageAdjust != 0) { + ToughnessDamageAdjust = other.ToughnessDamageAdjust; + } + if (other.Toughness != 0) { + Toughness = other.Toughness; + } + if (other.Suppress != 0) { + Suppress = other.Suppress; + } + if (other.NORMALDMG != 0) { + NORMALDMG = other.NORMALDMG; + } + if (other.SKILLDMG != 0) { + SKILLDMG = other.SKILLDMG; + } + if (other.ULTRADMG != 0) { + ULTRADMG = other.ULTRADMG; + } + if (other.OTHERDMG != 0) { + OTHERDMG = other.OTHERDMG; + } + if (other.RCDNORMALDMG != 0) { + RCDNORMALDMG = other.RCDNORMALDMG; + } + if (other.RCDSKILLDMG != 0) { + RCDSKILLDMG = other.RCDSKILLDMG; + } + if (other.RCDULTRADMG != 0) { + RCDULTRADMG = other.RCDULTRADMG; + } + if (other.RCDOTHERDMG != 0) { + RCDOTHERDMG = other.RCDOTHERDMG; + } + if (other.MARKDMG != 0) { + MARKDMG = other.MARKDMG; + } + if (other.RCDMARKDMG != 0) { + RCDMARKDMG = other.RCDMARKDMG; + } + if (other.SUMMONDMG != 0) { + SUMMONDMG = other.SUMMONDMG; + } + if (other.RCDSUMMONDMG != 0) { + RCDSUMMONDMG = other.RCDSUMMONDMG; + } + if (other.PROJECTILEDMG != 0) { + PROJECTILEDMG = other.PROJECTILEDMG; + } + if (other.RCDPROJECTILEDMG != 0) { + RCDPROJECTILEDMG = other.RCDPROJECTILEDMG; + } + if (other.GENDMG != 0) { + GENDMG = other.GENDMG; + } + if (other.DMGPLUS != 0) { + DMGPLUS = other.DMGPLUS; + } + if (other.FINALDMG != 0) { + FINALDMG = other.FINALDMG; + } + if (other.FINALDMGPLUS != 0) { + FINALDMGPLUS = other.FINALDMGPLUS; + } + if (other.WEERCD != 0) { + WEERCD = other.WEERCD; + } + if (other.FEERCD != 0) { + FEERCD = other.FEERCD; + } + if (other.SEERCD != 0) { + SEERCD = other.SEERCD; + } + if (other.AEERCD != 0) { + AEERCD = other.AEERCD; + } + if (other.LEERCD != 0) { + LEERCD = other.LEERCD; + } + if (other.DEERCD != 0) { + DEERCD = other.DEERCD; + } + if (other.GENDMGRCD != 0) { + GENDMGRCD = other.GENDMGRCD; + } + if (other.DMGPLUSRCD != 0) { + DMGPLUSRCD = other.DMGPLUSRCD; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 16: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + Break = input.ReadInt32(); + break; + } + case 32: { + Lvl = input.ReadInt32(); + break; + } + case 40: { + Atk = input.ReadInt32(); + break; + } + case 48: { + Hp = input.ReadInt32(); + break; + } + case 56: { + Def = input.ReadInt32(); + break; + } + case 64: { + CritRate = input.ReadInt32(); + break; + } + case 72: { + NormalCritRate = input.ReadInt32(); + break; + } + case 80: { + SkillCritRate = input.ReadInt32(); + break; + } + case 88: { + UltraCritRate = input.ReadInt32(); + break; + } + case 96: { + MarkCritRate = input.ReadInt32(); + break; + } + case 104: { + SummonCritRate = input.ReadInt32(); + break; + } + case 112: { + ProjectileCritRate = input.ReadInt32(); + break; + } + case 120: { + OtherCritRate = input.ReadInt32(); + break; + } + case 128: { + CritResistance = input.ReadInt32(); + break; + } + case 136: { + CritPower = input.ReadInt32(); + break; + } + case 144: { + NormalCritPower = input.ReadInt32(); + break; + } + case 152: { + SkillCritPower = input.ReadInt32(); + break; + } + case 160: { + UltraCritPower = input.ReadInt32(); + break; + } + case 168: { + MarkCritPower = input.ReadInt32(); + break; + } + case 176: { + SummonCritPower = input.ReadInt32(); + break; + } + case 184: { + ProjectileCritPower = input.ReadInt32(); + break; + } + case 192: { + OtherCritPower = input.ReadInt32(); + break; + } + case 200: { + HitRate = input.ReadInt32(); + break; + } + case 208: { + Evd = input.ReadInt32(); + break; + } + case 216: { + DefPierce = input.ReadInt32(); + break; + } + case 224: { + DefIgnore = input.ReadInt32(); + break; + } + case 232: { + WEP = input.ReadInt32(); + break; + } + case 240: { + FEP = input.ReadInt32(); + break; + } + case 248: { + SEP = input.ReadInt32(); + break; + } + case 256: { + AEP = input.ReadInt32(); + break; + } + case 264: { + LEP = input.ReadInt32(); + break; + } + case 272: { + DEP = input.ReadInt32(); + break; + } + case 280: { + WEI = input.ReadInt32(); + break; + } + case 288: { + FEI = input.ReadInt32(); + break; + } + case 296: { + SEI = input.ReadInt32(); + break; + } + case 304: { + AEI = input.ReadInt32(); + break; + } + case 312: { + LEI = input.ReadInt32(); + break; + } + case 320: { + DEI = input.ReadInt32(); + break; + } + case 328: { + WEE = input.ReadInt32(); + break; + } + case 336: { + FEE = input.ReadInt32(); + break; + } + case 344: { + SEE = input.ReadInt32(); + break; + } + case 352: { + AEE = input.ReadInt32(); + break; + } + case 360: { + LEE = input.ReadInt32(); + break; + } + case 368: { + DEE = input.ReadInt32(); + break; + } + case 376: { + WER = input.ReadInt32(); + break; + } + case 384: { + FER = input.ReadInt32(); + break; + } + case 392: { + SER = input.ReadInt32(); + break; + } + case 400: { + AER = input.ReadInt32(); + break; + } + case 408: { + LER = input.ReadInt32(); + break; + } + case 416: { + DER = input.ReadInt32(); + break; + } + case 424: { + ToughnessDamageAdjust = input.ReadInt32(); + break; + } + case 432: { + Toughness = input.ReadInt32(); + break; + } + case 440: { + Suppress = input.ReadInt32(); + break; + } + case 448: { + NORMALDMG = input.ReadInt32(); + break; + } + case 456: { + SKILLDMG = input.ReadInt32(); + break; + } + case 464: { + ULTRADMG = input.ReadInt32(); + break; + } + case 472: { + OTHERDMG = input.ReadInt32(); + break; + } + case 480: { + RCDNORMALDMG = input.ReadInt32(); + break; + } + case 488: { + RCDSKILLDMG = input.ReadInt32(); + break; + } + case 496: { + RCDULTRADMG = input.ReadInt32(); + break; + } + case 504: { + RCDOTHERDMG = input.ReadInt32(); + break; + } + case 512: { + MARKDMG = input.ReadInt32(); + break; + } + case 520: { + RCDMARKDMG = input.ReadInt32(); + break; + } + case 528: { + SUMMONDMG = input.ReadInt32(); + break; + } + case 536: { + RCDSUMMONDMG = input.ReadInt32(); + break; + } + case 544: { + PROJECTILEDMG = input.ReadInt32(); + break; + } + case 552: { + RCDPROJECTILEDMG = input.ReadInt32(); + break; + } + case 560: { + GENDMG = input.ReadInt32(); + break; + } + case 568: { + DMGPLUS = input.ReadInt32(); + break; + } + case 576: { + FINALDMG = input.ReadInt32(); + break; + } + case 584: { + FINALDMGPLUS = input.ReadInt32(); + break; + } + case 592: { + WEERCD = input.ReadInt32(); + break; + } + case 600: { + FEERCD = input.ReadInt32(); + break; + } + case 608: { + SEERCD = input.ReadInt32(); + break; + } + case 616: { + AEERCD = input.ReadInt32(); + break; + } + case 624: { + LEERCD = input.ReadInt32(); + break; + } + case 632: { + DEERCD = input.ReadInt32(); + break; + } + case 640: { + GENDMGRCD = input.ReadInt32(); + break; + } + case 648: { + DMGPLUSRCD = 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 10: { + Id = input.ReadString(); + break; + } + case 16: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + Break = input.ReadInt32(); + break; + } + case 32: { + Lvl = input.ReadInt32(); + break; + } + case 40: { + Atk = input.ReadInt32(); + break; + } + case 48: { + Hp = input.ReadInt32(); + break; + } + case 56: { + Def = input.ReadInt32(); + break; + } + case 64: { + CritRate = input.ReadInt32(); + break; + } + case 72: { + NormalCritRate = input.ReadInt32(); + break; + } + case 80: { + SkillCritRate = input.ReadInt32(); + break; + } + case 88: { + UltraCritRate = input.ReadInt32(); + break; + } + case 96: { + MarkCritRate = input.ReadInt32(); + break; + } + case 104: { + SummonCritRate = input.ReadInt32(); + break; + } + case 112: { + ProjectileCritRate = input.ReadInt32(); + break; + } + case 120: { + OtherCritRate = input.ReadInt32(); + break; + } + case 128: { + CritResistance = input.ReadInt32(); + break; + } + case 136: { + CritPower = input.ReadInt32(); + break; + } + case 144: { + NormalCritPower = input.ReadInt32(); + break; + } + case 152: { + SkillCritPower = input.ReadInt32(); + break; + } + case 160: { + UltraCritPower = input.ReadInt32(); + break; + } + case 168: { + MarkCritPower = input.ReadInt32(); + break; + } + case 176: { + SummonCritPower = input.ReadInt32(); + break; + } + case 184: { + ProjectileCritPower = input.ReadInt32(); + break; + } + case 192: { + OtherCritPower = input.ReadInt32(); + break; + } + case 200: { + HitRate = input.ReadInt32(); + break; + } + case 208: { + Evd = input.ReadInt32(); + break; + } + case 216: { + DefPierce = input.ReadInt32(); + break; + } + case 224: { + DefIgnore = input.ReadInt32(); + break; + } + case 232: { + WEP = input.ReadInt32(); + break; + } + case 240: { + FEP = input.ReadInt32(); + break; + } + case 248: { + SEP = input.ReadInt32(); + break; + } + case 256: { + AEP = input.ReadInt32(); + break; + } + case 264: { + LEP = input.ReadInt32(); + break; + } + case 272: { + DEP = input.ReadInt32(); + break; + } + case 280: { + WEI = input.ReadInt32(); + break; + } + case 288: { + FEI = input.ReadInt32(); + break; + } + case 296: { + SEI = input.ReadInt32(); + break; + } + case 304: { + AEI = input.ReadInt32(); + break; + } + case 312: { + LEI = input.ReadInt32(); + break; + } + case 320: { + DEI = input.ReadInt32(); + break; + } + case 328: { + WEE = input.ReadInt32(); + break; + } + case 336: { + FEE = input.ReadInt32(); + break; + } + case 344: { + SEE = input.ReadInt32(); + break; + } + case 352: { + AEE = input.ReadInt32(); + break; + } + case 360: { + LEE = input.ReadInt32(); + break; + } + case 368: { + DEE = input.ReadInt32(); + break; + } + case 376: { + WER = input.ReadInt32(); + break; + } + case 384: { + FER = input.ReadInt32(); + break; + } + case 392: { + SER = input.ReadInt32(); + break; + } + case 400: { + AER = input.ReadInt32(); + break; + } + case 408: { + LER = input.ReadInt32(); + break; + } + case 416: { + DER = input.ReadInt32(); + break; + } + case 424: { + ToughnessDamageAdjust = input.ReadInt32(); + break; + } + case 432: { + Toughness = input.ReadInt32(); + break; + } + case 440: { + Suppress = input.ReadInt32(); + break; + } + case 448: { + NORMALDMG = input.ReadInt32(); + break; + } + case 456: { + SKILLDMG = input.ReadInt32(); + break; + } + case 464: { + ULTRADMG = input.ReadInt32(); + break; + } + case 472: { + OTHERDMG = input.ReadInt32(); + break; + } + case 480: { + RCDNORMALDMG = input.ReadInt32(); + break; + } + case 488: { + RCDSKILLDMG = input.ReadInt32(); + break; + } + case 496: { + RCDULTRADMG = input.ReadInt32(); + break; + } + case 504: { + RCDOTHERDMG = input.ReadInt32(); + break; + } + case 512: { + MARKDMG = input.ReadInt32(); + break; + } + case 520: { + RCDMARKDMG = input.ReadInt32(); + break; + } + case 528: { + SUMMONDMG = input.ReadInt32(); + break; + } + case 536: { + RCDSUMMONDMG = input.ReadInt32(); + break; + } + case 544: { + PROJECTILEDMG = input.ReadInt32(); + break; + } + case 552: { + RCDPROJECTILEDMG = input.ReadInt32(); + break; + } + case 560: { + GENDMG = input.ReadInt32(); + break; + } + case 568: { + DMGPLUS = input.ReadInt32(); + break; + } + case 576: { + FINALDMG = input.ReadInt32(); + break; + } + case 584: { + FINALDMGPLUS = input.ReadInt32(); + break; + } + case 592: { + WEERCD = input.ReadInt32(); + break; + } + case 600: { + FEERCD = input.ReadInt32(); + break; + } + case 608: { + SEERCD = input.ReadInt32(); + break; + } + case 616: { + AEERCD = input.ReadInt32(); + break; + } + case 624: { + LEERCD = input.ReadInt32(); + break; + } + case 632: { + DEERCD = input.ReadInt32(); + break; + } + case 640: { + GENDMGRCD = input.ReadInt32(); + break; + } + case 648: { + DMGPLUSRCD = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Attribute : pb::IMessage<table_Attribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Attribute> _parser = new pb::MessageParser<table_Attribute>(() => new table_Attribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Attribute> 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.ClientTableReflection.Descriptor.MessageTypes[25]; } + } + + [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 table_Attribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Attribute(table_Attribute other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Attribute Clone() { + return new table_Attribute(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Attribute> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Attribute.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Attribute> list_ = new pbc::RepeatedField<global::Nova.Client.Attribute>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Attribute> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Attribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Attribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Attribute other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AttributeLimit : pb::IMessage<AttributeLimit> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AttributeLimit> _parser = new pb::MessageParser<AttributeLimit>(() => new AttributeLimit()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AttributeLimit> 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.ClientTableReflection.Descriptor.MessageTypes[26]; } + } + + [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 AttributeLimit() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeLimit(AttributeLimit other) : this() { + id_ = other.id_; + lower_ = other.lower_; + upper_ = other.upper_; + isLimited_ = other.isLimited_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AttributeLimit Clone() { + return new AttributeLimit(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 "Lower" field.</summary> + public const int LowerFieldNumber = 2; + private int lower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Lower { + get { return lower_; } + set { + lower_ = value; + } + } + + /// <summary>Field number for the "Upper" field.</summary> + public const int UpperFieldNumber = 3; + private int upper_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Upper { + get { return upper_; } + set { + upper_ = value; + } + } + + /// <summary>Field number for the "IsLimited" field.</summary> + public const int IsLimitedFieldNumber = 4; + private bool isLimited_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsLimited { + get { return isLimited_; } + set { + isLimited_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AttributeLimit); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AttributeLimit other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Lower != other.Lower) return false; + if (Upper != other.Upper) return false; + if (IsLimited != other.IsLimited) 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 (Lower != 0) hash ^= Lower.GetHashCode(); + if (Upper != 0) hash ^= Upper.GetHashCode(); + if (IsLimited != false) hash ^= IsLimited.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 (Lower != 0) { + output.WriteRawTag(16); + output.WriteInt32(Lower); + } + if (Upper != 0) { + output.WriteRawTag(24); + output.WriteInt32(Upper); + } + if (IsLimited != false) { + output.WriteRawTag(32); + output.WriteBool(IsLimited); + } + 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 (Lower != 0) { + output.WriteRawTag(16); + output.WriteInt32(Lower); + } + if (Upper != 0) { + output.WriteRawTag(24); + output.WriteInt32(Upper); + } + if (IsLimited != false) { + output.WriteRawTag(32); + output.WriteBool(IsLimited); + } + 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 (Lower != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lower); + } + if (Upper != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Upper); + } + if (IsLimited != 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(AttributeLimit other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Lower != 0) { + Lower = other.Lower; + } + if (other.Upper != 0) { + Upper = other.Upper; + } + if (other.IsLimited != false) { + IsLimited = other.IsLimited; + } + _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: { + Lower = input.ReadInt32(); + break; + } + case 24: { + Upper = input.ReadInt32(); + break; + } + case 32: { + IsLimited = 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 16: { + Lower = input.ReadInt32(); + break; + } + case 24: { + Upper = input.ReadInt32(); + break; + } + case 32: { + IsLimited = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_AttributeLimit : pb::IMessage<table_AttributeLimit> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_AttributeLimit> _parser = new pb::MessageParser<table_AttributeLimit>(() => new table_AttributeLimit()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_AttributeLimit> 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.ClientTableReflection.Descriptor.MessageTypes[27]; } + } + + [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 table_AttributeLimit() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AttributeLimit(table_AttributeLimit other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_AttributeLimit Clone() { + return new table_AttributeLimit(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.AttributeLimit> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.AttributeLimit.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.AttributeLimit> list_ = new pbc::RepeatedField<global::Nova.Client.AttributeLimit>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.AttributeLimit> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_AttributeLimit); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_AttributeLimit other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_AttributeLimit other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePass : pb::IMessage<BattlePass> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BattlePass> _parser = new pb::MessageParser<BattlePass>(() => new BattlePass()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BattlePass> 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.ClientTableReflection.Descriptor.MessageTypes[28]; } + } + + [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 BattlePass() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePass(BattlePass other) : this() { + iD_ = other.iD_; + name_ = other.name_; + startTime_ = other.startTime_; + endTime_ = other.endTime_; + luxuryProductId_ = other.luxuryProductId_; + luxuryPrice_ = other.luxuryPrice_; + luxuryBonusLevel_ = other.luxuryBonusLevel_; + luxuryTid_ = other.luxuryTid_; + luxuryQty_ = other.luxuryQty_; + premiumProductId_ = other.premiumProductId_; + premiumPrice_ = other.premiumPrice_; + premiumTid_ = other.premiumTid_; + premiumQty_ = other.premiumQty_; + complementaryProductId_ = other.complementaryProductId_; + complementaryPrice_ = other.complementaryPrice_; + complementaryTid_ = other.complementaryTid_; + complementaryQty_ = other.complementaryQty_; + cover_ = other.cover_; + premiumShowItems_ = other.premiumShowItems_.Clone(); + luxuryShowItems_ = other.luxuryShowItems_.Clone(); + outfitPackageShowItem_ = other.outfitPackageShowItem_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePass Clone() { + return new BattlePass(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 "StartTime" field.</summary> + public const int StartTimeFieldNumber = 3; + private string startTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StartTime { + get { return startTime_; } + set { + startTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 4; + private string endTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndTime { + get { return endTime_; } + set { + endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LuxuryProductId" field.</summary> + public const int LuxuryProductIdFieldNumber = 5; + private string luxuryProductId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LuxuryProductId { + get { return luxuryProductId_; } + set { + luxuryProductId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LuxuryPrice" field.</summary> + public const int LuxuryPriceFieldNumber = 6; + private int luxuryPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LuxuryPrice { + get { return luxuryPrice_; } + set { + luxuryPrice_ = value; + } + } + + /// <summary>Field number for the "LuxuryBonusLevel" field.</summary> + public const int LuxuryBonusLevelFieldNumber = 7; + private int luxuryBonusLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LuxuryBonusLevel { + get { return luxuryBonusLevel_; } + set { + luxuryBonusLevel_ = value; + } + } + + /// <summary>Field number for the "LuxuryTid" field.</summary> + public const int LuxuryTidFieldNumber = 8; + private int luxuryTid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LuxuryTid { + get { return luxuryTid_; } + set { + luxuryTid_ = value; + } + } + + /// <summary>Field number for the "LuxuryQty" field.</summary> + public const int LuxuryQtyFieldNumber = 9; + private int luxuryQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LuxuryQty { + get { return luxuryQty_; } + set { + luxuryQty_ = value; + } + } + + /// <summary>Field number for the "PremiumProductId" field.</summary> + public const int PremiumProductIdFieldNumber = 10; + private string premiumProductId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PremiumProductId { + get { return premiumProductId_; } + set { + premiumProductId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PremiumPrice" field.</summary> + public const int PremiumPriceFieldNumber = 11; + private int premiumPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PremiumPrice { + get { return premiumPrice_; } + set { + premiumPrice_ = value; + } + } + + /// <summary>Field number for the "PremiumTid" field.</summary> + public const int PremiumTidFieldNumber = 12; + private int premiumTid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PremiumTid { + get { return premiumTid_; } + set { + premiumTid_ = value; + } + } + + /// <summary>Field number for the "PremiumQty" field.</summary> + public const int PremiumQtyFieldNumber = 13; + private int premiumQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PremiumQty { + get { return premiumQty_; } + set { + premiumQty_ = value; + } + } + + /// <summary>Field number for the "ComplementaryProductId" field.</summary> + public const int ComplementaryProductIdFieldNumber = 14; + private string complementaryProductId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ComplementaryProductId { + get { return complementaryProductId_; } + set { + complementaryProductId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ComplementaryPrice" field.</summary> + public const int ComplementaryPriceFieldNumber = 15; + private int complementaryPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ComplementaryPrice { + get { return complementaryPrice_; } + set { + complementaryPrice_ = value; + } + } + + /// <summary>Field number for the "ComplementaryTid" field.</summary> + public const int ComplementaryTidFieldNumber = 16; + private int complementaryTid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ComplementaryTid { + get { return complementaryTid_; } + set { + complementaryTid_ = value; + } + } + + /// <summary>Field number for the "ComplementaryQty" field.</summary> + public const int ComplementaryQtyFieldNumber = 17; + private int complementaryQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ComplementaryQty { + get { return complementaryQty_; } + set { + complementaryQty_ = value; + } + } + + /// <summary>Field number for the "Cover" field.</summary> + public const int CoverFieldNumber = 18; + private string cover_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cover { + get { return cover_; } + set { + cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PremiumShowItems" field.</summary> + public const int PremiumShowItemsFieldNumber = 19; + private static readonly pb::FieldCodec<int> _repeated_premiumShowItems_codec + = pb::FieldCodec.ForInt32(154); + private readonly pbc::RepeatedField<int> premiumShowItems_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PremiumShowItems { + get { return premiumShowItems_; } + } + + /// <summary>Field number for the "LuxuryShowItems" field.</summary> + public const int LuxuryShowItemsFieldNumber = 20; + private static readonly pb::FieldCodec<int> _repeated_luxuryShowItems_codec + = pb::FieldCodec.ForInt32(162); + private readonly pbc::RepeatedField<int> luxuryShowItems_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> LuxuryShowItems { + get { return luxuryShowItems_; } + } + + /// <summary>Field number for the "OutfitPackageShowItem" field.</summary> + public const int OutfitPackageShowItemFieldNumber = 21; + private int outfitPackageShowItem_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OutfitPackageShowItem { + get { return outfitPackageShowItem_; } + set { + outfitPackageShowItem_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BattlePass); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePass 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 (StartTime != other.StartTime) return false; + if (EndTime != other.EndTime) return false; + if (LuxuryProductId != other.LuxuryProductId) return false; + if (LuxuryPrice != other.LuxuryPrice) return false; + if (LuxuryBonusLevel != other.LuxuryBonusLevel) return false; + if (LuxuryTid != other.LuxuryTid) return false; + if (LuxuryQty != other.LuxuryQty) return false; + if (PremiumProductId != other.PremiumProductId) return false; + if (PremiumPrice != other.PremiumPrice) return false; + if (PremiumTid != other.PremiumTid) return false; + if (PremiumQty != other.PremiumQty) return false; + if (ComplementaryProductId != other.ComplementaryProductId) return false; + if (ComplementaryPrice != other.ComplementaryPrice) return false; + if (ComplementaryTid != other.ComplementaryTid) return false; + if (ComplementaryQty != other.ComplementaryQty) return false; + if (Cover != other.Cover) return false; + if(!premiumShowItems_.Equals(other.premiumShowItems_)) return false; + if(!luxuryShowItems_.Equals(other.luxuryShowItems_)) return false; + if (OutfitPackageShowItem != other.OutfitPackageShowItem) 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 (StartTime.Length != 0) hash ^= StartTime.GetHashCode(); + if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); + if (LuxuryProductId.Length != 0) hash ^= LuxuryProductId.GetHashCode(); + if (LuxuryPrice != 0) hash ^= LuxuryPrice.GetHashCode(); + if (LuxuryBonusLevel != 0) hash ^= LuxuryBonusLevel.GetHashCode(); + if (LuxuryTid != 0) hash ^= LuxuryTid.GetHashCode(); + if (LuxuryQty != 0) hash ^= LuxuryQty.GetHashCode(); + if (PremiumProductId.Length != 0) hash ^= PremiumProductId.GetHashCode(); + if (PremiumPrice != 0) hash ^= PremiumPrice.GetHashCode(); + if (PremiumTid != 0) hash ^= PremiumTid.GetHashCode(); + if (PremiumQty != 0) hash ^= PremiumQty.GetHashCode(); + if (ComplementaryProductId.Length != 0) hash ^= ComplementaryProductId.GetHashCode(); + if (ComplementaryPrice != 0) hash ^= ComplementaryPrice.GetHashCode(); + if (ComplementaryTid != 0) hash ^= ComplementaryTid.GetHashCode(); + if (ComplementaryQty != 0) hash ^= ComplementaryQty.GetHashCode(); + if (Cover.Length != 0) hash ^= Cover.GetHashCode(); + hash ^= premiumShowItems_.GetHashCode(); + hash ^= luxuryShowItems_.GetHashCode(); + if (OutfitPackageShowItem != 0) hash ^= OutfitPackageShowItem.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 (StartTime.Length != 0) { + output.WriteRawTag(26); + output.WriteString(StartTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(34); + output.WriteString(EndTime); + } + if (LuxuryProductId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LuxuryProductId); + } + if (LuxuryPrice != 0) { + output.WriteRawTag(48); + output.WriteInt32(LuxuryPrice); + } + if (LuxuryBonusLevel != 0) { + output.WriteRawTag(56); + output.WriteInt32(LuxuryBonusLevel); + } + if (LuxuryTid != 0) { + output.WriteRawTag(64); + output.WriteInt32(LuxuryTid); + } + if (LuxuryQty != 0) { + output.WriteRawTag(72); + output.WriteInt32(LuxuryQty); + } + if (PremiumProductId.Length != 0) { + output.WriteRawTag(82); + output.WriteString(PremiumProductId); + } + if (PremiumPrice != 0) { + output.WriteRawTag(88); + output.WriteInt32(PremiumPrice); + } + if (PremiumTid != 0) { + output.WriteRawTag(96); + output.WriteInt32(PremiumTid); + } + if (PremiumQty != 0) { + output.WriteRawTag(104); + output.WriteInt32(PremiumQty); + } + if (ComplementaryProductId.Length != 0) { + output.WriteRawTag(114); + output.WriteString(ComplementaryProductId); + } + if (ComplementaryPrice != 0) { + output.WriteRawTag(120); + output.WriteInt32(ComplementaryPrice); + } + if (ComplementaryTid != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ComplementaryTid); + } + if (ComplementaryQty != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ComplementaryQty); + } + if (Cover.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Cover); + } + premiumShowItems_.WriteTo(output, _repeated_premiumShowItems_codec); + luxuryShowItems_.WriteTo(output, _repeated_luxuryShowItems_codec); + if (OutfitPackageShowItem != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(OutfitPackageShowItem); + } + 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 (StartTime.Length != 0) { + output.WriteRawTag(26); + output.WriteString(StartTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(34); + output.WriteString(EndTime); + } + if (LuxuryProductId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LuxuryProductId); + } + if (LuxuryPrice != 0) { + output.WriteRawTag(48); + output.WriteInt32(LuxuryPrice); + } + if (LuxuryBonusLevel != 0) { + output.WriteRawTag(56); + output.WriteInt32(LuxuryBonusLevel); + } + if (LuxuryTid != 0) { + output.WriteRawTag(64); + output.WriteInt32(LuxuryTid); + } + if (LuxuryQty != 0) { + output.WriteRawTag(72); + output.WriteInt32(LuxuryQty); + } + if (PremiumProductId.Length != 0) { + output.WriteRawTag(82); + output.WriteString(PremiumProductId); + } + if (PremiumPrice != 0) { + output.WriteRawTag(88); + output.WriteInt32(PremiumPrice); + } + if (PremiumTid != 0) { + output.WriteRawTag(96); + output.WriteInt32(PremiumTid); + } + if (PremiumQty != 0) { + output.WriteRawTag(104); + output.WriteInt32(PremiumQty); + } + if (ComplementaryProductId.Length != 0) { + output.WriteRawTag(114); + output.WriteString(ComplementaryProductId); + } + if (ComplementaryPrice != 0) { + output.WriteRawTag(120); + output.WriteInt32(ComplementaryPrice); + } + if (ComplementaryTid != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ComplementaryTid); + } + if (ComplementaryQty != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ComplementaryQty); + } + if (Cover.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Cover); + } + premiumShowItems_.WriteTo(ref output, _repeated_premiumShowItems_codec); + luxuryShowItems_.WriteTo(ref output, _repeated_luxuryShowItems_codec); + if (OutfitPackageShowItem != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(OutfitPackageShowItem); + } + 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 (StartTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StartTime); + } + if (EndTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); + } + if (LuxuryProductId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LuxuryProductId); + } + if (LuxuryPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryPrice); + } + if (LuxuryBonusLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryBonusLevel); + } + if (LuxuryTid != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryTid); + } + if (LuxuryQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LuxuryQty); + } + if (PremiumProductId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PremiumProductId); + } + if (PremiumPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PremiumPrice); + } + if (PremiumTid != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PremiumTid); + } + if (PremiumQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PremiumQty); + } + if (ComplementaryProductId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ComplementaryProductId); + } + if (ComplementaryPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ComplementaryPrice); + } + if (ComplementaryTid != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ComplementaryTid); + } + if (ComplementaryQty != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ComplementaryQty); + } + if (Cover.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Cover); + } + size += premiumShowItems_.CalculateSize(_repeated_premiumShowItems_codec); + size += luxuryShowItems_.CalculateSize(_repeated_luxuryShowItems_codec); + if (OutfitPackageShowItem != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(OutfitPackageShowItem); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePass other) { + if (other == null) { + return; + } + if (other.ID != 0) { + ID = other.ID; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.StartTime.Length != 0) { + StartTime = other.StartTime; + } + if (other.EndTime.Length != 0) { + EndTime = other.EndTime; + } + if (other.LuxuryProductId.Length != 0) { + LuxuryProductId = other.LuxuryProductId; + } + if (other.LuxuryPrice != 0) { + LuxuryPrice = other.LuxuryPrice; + } + if (other.LuxuryBonusLevel != 0) { + LuxuryBonusLevel = other.LuxuryBonusLevel; + } + if (other.LuxuryTid != 0) { + LuxuryTid = other.LuxuryTid; + } + if (other.LuxuryQty != 0) { + LuxuryQty = other.LuxuryQty; + } + if (other.PremiumProductId.Length != 0) { + PremiumProductId = other.PremiumProductId; + } + if (other.PremiumPrice != 0) { + PremiumPrice = other.PremiumPrice; + } + if (other.PremiumTid != 0) { + PremiumTid = other.PremiumTid; + } + if (other.PremiumQty != 0) { + PremiumQty = other.PremiumQty; + } + if (other.ComplementaryProductId.Length != 0) { + ComplementaryProductId = other.ComplementaryProductId; + } + if (other.ComplementaryPrice != 0) { + ComplementaryPrice = other.ComplementaryPrice; + } + if (other.ComplementaryTid != 0) { + ComplementaryTid = other.ComplementaryTid; + } + if (other.ComplementaryQty != 0) { + ComplementaryQty = other.ComplementaryQty; + } + if (other.Cover.Length != 0) { + Cover = other.Cover; + } + premiumShowItems_.Add(other.premiumShowItems_); + luxuryShowItems_.Add(other.luxuryShowItems_); + if (other.OutfitPackageShowItem != 0) { + OutfitPackageShowItem = other.OutfitPackageShowItem; + } + _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 26: { + StartTime = input.ReadString(); + break; + } + case 34: { + EndTime = input.ReadString(); + break; + } + case 42: { + LuxuryProductId = input.ReadString(); + break; + } + case 48: { + LuxuryPrice = input.ReadInt32(); + break; + } + case 56: { + LuxuryBonusLevel = input.ReadInt32(); + break; + } + case 64: { + LuxuryTid = input.ReadInt32(); + break; + } + case 72: { + LuxuryQty = input.ReadInt32(); + break; + } + case 82: { + PremiumProductId = input.ReadString(); + break; + } + case 88: { + PremiumPrice = input.ReadInt32(); + break; + } + case 96: { + PremiumTid = input.ReadInt32(); + break; + } + case 104: { + PremiumQty = input.ReadInt32(); + break; + } + case 114: { + ComplementaryProductId = input.ReadString(); + break; + } + case 120: { + ComplementaryPrice = input.ReadInt32(); + break; + } + case 128: { + ComplementaryTid = input.ReadInt32(); + break; + } + case 136: { + ComplementaryQty = input.ReadInt32(); + break; + } + case 146: { + Cover = input.ReadString(); + break; + } + case 154: + case 152: { + premiumShowItems_.AddEntriesFrom(input, _repeated_premiumShowItems_codec); + break; + } + case 162: + case 160: { + luxuryShowItems_.AddEntriesFrom(input, _repeated_luxuryShowItems_codec); + break; + } + case 168: { + OutfitPackageShowItem = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + StartTime = input.ReadString(); + break; + } + case 34: { + EndTime = input.ReadString(); + break; + } + case 42: { + LuxuryProductId = input.ReadString(); + break; + } + case 48: { + LuxuryPrice = input.ReadInt32(); + break; + } + case 56: { + LuxuryBonusLevel = input.ReadInt32(); + break; + } + case 64: { + LuxuryTid = input.ReadInt32(); + break; + } + case 72: { + LuxuryQty = input.ReadInt32(); + break; + } + case 82: { + PremiumProductId = input.ReadString(); + break; + } + case 88: { + PremiumPrice = input.ReadInt32(); + break; + } + case 96: { + PremiumTid = input.ReadInt32(); + break; + } + case 104: { + PremiumQty = input.ReadInt32(); + break; + } + case 114: { + ComplementaryProductId = input.ReadString(); + break; + } + case 120: { + ComplementaryPrice = input.ReadInt32(); + break; + } + case 128: { + ComplementaryTid = input.ReadInt32(); + break; + } + case 136: { + ComplementaryQty = input.ReadInt32(); + break; + } + case 146: { + Cover = input.ReadString(); + break; + } + case 154: + case 152: { + premiumShowItems_.AddEntriesFrom(ref input, _repeated_premiumShowItems_codec); + break; + } + case 162: + case 160: { + luxuryShowItems_.AddEntriesFrom(ref input, _repeated_luxuryShowItems_codec); + break; + } + case 168: { + OutfitPackageShowItem = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BattlePass : pb::IMessage<table_BattlePass> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BattlePass> _parser = new pb::MessageParser<table_BattlePass>(() => new table_BattlePass()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_BattlePass> 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.ClientTableReflection.Descriptor.MessageTypes[29]; } + } + + [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 table_BattlePass() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePass(table_BattlePass other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePass Clone() { + return new table_BattlePass(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BattlePass> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePass.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BattlePass> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePass>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BattlePass> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BattlePass); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BattlePass other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BattlePass other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassLevel : pb::IMessage<BattlePassLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BattlePassLevel> _parser = new pb::MessageParser<BattlePassLevel>(() => new BattlePassLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BattlePassLevel> 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.ClientTableReflection.Descriptor.MessageTypes[30]; } + } + + [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 BattlePassLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassLevel(BattlePassLevel other) : this() { + iD_ = other.iD_; + exp_ = other.exp_; + tid_ = other.tid_; + qty_ = other.qty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassLevel Clone() { + return new BattlePassLevel(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 "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "Tid" field.</summary> + public const int TidFieldNumber = 3; + private int tid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid { + get { return tid_; } + set { + tid_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 4; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BattlePassLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ID != other.ID) return false; + if (Exp != other.Exp) return false; + if (Tid != other.Tid) return false; + if (Qty != other.Qty) 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 (Exp != 0) hash ^= Exp.GetHashCode(); + if (Tid != 0) hash ^= Tid.GetHashCode(); + if (Qty != 0) hash ^= Qty.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 (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + if (Tid != 0) { + output.WriteRawTag(24); + output.WriteInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(32); + output.WriteInt32(Qty); + } + 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 (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + if (Tid != 0) { + output.WriteRawTag(24); + output.WriteInt32(Tid); + } + if (Qty != 0) { + output.WriteRawTag(32); + output.WriteInt32(Qty); + } + 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 (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (Tid != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassLevel other) { + if (other == null) { + return; + } + if (other.ID != 0) { + ID = other.ID; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Tid != 0) { + Tid = other.Tid; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + _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: { + Exp = input.ReadInt32(); + break; + } + case 24: { + Tid = input.ReadInt32(); + break; + } + case 32: { + Qty = 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: { + Exp = input.ReadInt32(); + break; + } + case 24: { + Tid = input.ReadInt32(); + break; + } + case 32: { + Qty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BattlePassLevel : pb::IMessage<table_BattlePassLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BattlePassLevel> _parser = new pb::MessageParser<table_BattlePassLevel>(() => new table_BattlePassLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_BattlePassLevel> 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.ClientTableReflection.Descriptor.MessageTypes[31]; } + } + + [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 table_BattlePassLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePassLevel(table_BattlePassLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePassLevel Clone() { + return new table_BattlePassLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BattlePassLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePassLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BattlePassLevel> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePassLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BattlePassLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BattlePassLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BattlePassLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BattlePassLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassQuest : pb::IMessage<BattlePassQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BattlePassQuest> _parser = new pb::MessageParser<BattlePassQuest>(() => new BattlePassQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BattlePassQuest> 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.ClientTableReflection.Descriptor.MessageTypes[32]; } + } + + [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 BattlePassQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassQuest(BattlePassQuest other) : this() { + id_ = other.id_; + type_ = other.type_; + title_ = other.title_; + jumpTo_ = other.jumpTo_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassQuest Clone() { + return new BattlePassQuest(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 "Type" field.</summary> + public const int TypeFieldNumber = 2; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "JumpTo" field.</summary> + public const int JumpToFieldNumber = 4; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 5; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BattlePassQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + if (Title != other.Title) return false; + if (JumpTo != other.JumpTo) return false; + if (Exp != other.Exp) 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 (Type != 0) hash ^= Type.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Exp != 0) hash ^= Exp.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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Exp != 0) { + output.WriteRawTag(40); + output.WriteInt32(Exp); + } + 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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Exp != 0) { + output.WriteRawTag(40); + output.WriteInt32(Exp); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattlePassQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + Type = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Exp = 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: { + Type = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BattlePassQuest : pb::IMessage<table_BattlePassQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BattlePassQuest> _parser = new pb::MessageParser<table_BattlePassQuest>(() => new table_BattlePassQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_BattlePassQuest> 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.ClientTableReflection.Descriptor.MessageTypes[33]; } + } + + [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 table_BattlePassQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePassQuest(table_BattlePassQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePassQuest Clone() { + return new table_BattlePassQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BattlePassQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePassQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BattlePassQuest> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePassQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BattlePassQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BattlePassQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BattlePassQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BattlePassQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattlePassReward : pb::IMessage<BattlePassReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BattlePassReward> _parser = new pb::MessageParser<BattlePassReward>(() => new BattlePassReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BattlePassReward> 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.ClientTableReflection.Descriptor.MessageTypes[34]; } + } + + [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 BattlePassReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassReward(BattlePassReward other) : this() { + iD_ = other.iD_; + level_ = other.level_; + tid1_ = other.tid1_; + qty1_ = other.qty1_; + tid2_ = other.tid2_; + qty2_ = other.qty2_; + tid3_ = other.tid3_; + qty3_ = other.qty3_; + focus_ = other.focus_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattlePassReward Clone() { + return new BattlePassReward(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 "Level" field.</summary> + public const int LevelFieldNumber = 2; + 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 "Tid1" field.</summary> + public const int Tid1FieldNumber = 3; + private int tid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid1 { + get { return tid1_; } + set { + tid1_ = value; + } + } + + /// <summary>Field number for the "Qty1" field.</summary> + public const int Qty1FieldNumber = 4; + private int qty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty1 { + get { return qty1_; } + set { + qty1_ = value; + } + } + + /// <summary>Field number for the "Tid2" field.</summary> + public const int Tid2FieldNumber = 5; + private int tid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid2 { + get { return tid2_; } + set { + tid2_ = value; + } + } + + /// <summary>Field number for the "Qty2" field.</summary> + public const int Qty2FieldNumber = 6; + private int qty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty2 { + get { return qty2_; } + set { + qty2_ = value; + } + } + + /// <summary>Field number for the "Tid3" field.</summary> + public const int Tid3FieldNumber = 7; + private int tid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid3 { + get { return tid3_; } + set { + tid3_ = value; + } + } + + /// <summary>Field number for the "Qty3" field.</summary> + public const int Qty3FieldNumber = 8; + private int qty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty3 { + get { return qty3_; } + set { + qty3_ = value; + } + } + + /// <summary>Field number for the "Focus" field.</summary> + public const int FocusFieldNumber = 9; + private bool focus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Focus { + get { return focus_; } + set { + focus_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BattlePassReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattlePassReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ID != other.ID) return false; + if (Level != other.Level) return false; + if (Tid1 != other.Tid1) return false; + if (Qty1 != other.Qty1) return false; + if (Tid2 != other.Tid2) return false; + if (Qty2 != other.Qty2) return false; + if (Tid3 != other.Tid3) return false; + if (Qty3 != other.Qty3) return false; + if (Focus != other.Focus) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Tid1 != 0) hash ^= Tid1.GetHashCode(); + if (Qty1 != 0) hash ^= Qty1.GetHashCode(); + if (Tid2 != 0) hash ^= Tid2.GetHashCode(); + if (Qty2 != 0) hash ^= Qty2.GetHashCode(); + if (Tid3 != 0) hash ^= Tid3.GetHashCode(); + if (Qty3 != 0) hash ^= Qty3.GetHashCode(); + if (Focus != false) hash ^= Focus.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 (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (Tid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Qty3); + } + if (Focus != false) { + output.WriteRawTag(72); + output.WriteBool(Focus); + } + 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 (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (Tid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Qty3); + } + if (Focus != false) { + output.WriteRawTag(72); + output.WriteBool(Focus); + } + 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 (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (Tid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); + } + if (Qty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); + } + if (Tid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); + } + if (Qty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); + } + if (Tid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); + } + if (Qty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); + } + if (Focus != 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(BattlePassReward other) { + if (other == null) { + return; + } + if (other.ID != 0) { + ID = other.ID; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Tid1 != 0) { + Tid1 = other.Tid1; + } + if (other.Qty1 != 0) { + Qty1 = other.Qty1; + } + if (other.Tid2 != 0) { + Tid2 = other.Tid2; + } + if (other.Qty2 != 0) { + Qty2 = other.Qty2; + } + if (other.Tid3 != 0) { + Tid3 = other.Tid3; + } + if (other.Qty3 != 0) { + Qty3 = other.Qty3; + } + if (other.Focus != false) { + Focus = other.Focus; + } + _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: { + Level = input.ReadInt32(); + break; + } + case 24: { + Tid1 = input.ReadInt32(); + break; + } + case 32: { + Qty1 = input.ReadInt32(); + break; + } + case 40: { + Tid2 = input.ReadInt32(); + break; + } + case 48: { + Qty2 = input.ReadInt32(); + break; + } + case 56: { + Tid3 = input.ReadInt32(); + break; + } + case 64: { + Qty3 = input.ReadInt32(); + break; + } + case 72: { + Focus = 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 16: { + Level = input.ReadInt32(); + break; + } + case 24: { + Tid1 = input.ReadInt32(); + break; + } + case 32: { + Qty1 = input.ReadInt32(); + break; + } + case 40: { + Tid2 = input.ReadInt32(); + break; + } + case 48: { + Qty2 = input.ReadInt32(); + break; + } + case 56: { + Tid3 = input.ReadInt32(); + break; + } + case 64: { + Qty3 = input.ReadInt32(); + break; + } + case 72: { + Focus = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BattlePassReward : pb::IMessage<table_BattlePassReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BattlePassReward> _parser = new pb::MessageParser<table_BattlePassReward>(() => new table_BattlePassReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_BattlePassReward> 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.ClientTableReflection.Descriptor.MessageTypes[35]; } + } + + [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 table_BattlePassReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePassReward(table_BattlePassReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattlePassReward Clone() { + return new table_BattlePassReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BattlePassReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattlePassReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BattlePassReward> list_ = new pbc::RepeatedField<global::Nova.Client.BattlePassReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BattlePassReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BattlePassReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BattlePassReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BattlePassReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BattleThreshold : pb::IMessage<BattleThreshold> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BattleThreshold> _parser = new pb::MessageParser<BattleThreshold>(() => new BattleThreshold()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BattleThreshold> 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.ClientTableReflection.Descriptor.MessageTypes[36]; } + } + + [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 BattleThreshold() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattleThreshold(BattleThreshold other) : this() { + missionId_ = other.missionId_; + version_ = other.version_; + fromSrcAtk_ = other.fromSrcAtk_; + fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; + fromSlotDmgRatio_ = other.fromSlotDmgRatio_; + fromEE_ = other.fromEE_; + fromGenDmgRatio_ = other.fromGenDmgRatio_; + fromDmgPlus_ = other.fromDmgPlus_; + fromCritRatio_ = other.fromCritRatio_; + fromFinalDmgRatio_ = other.fromFinalDmgRatio_; + fromFinalDmgPlus_ = other.fromFinalDmgPlus_; + toErAmend_ = other.toErAmend_; + toDefAmend_ = other.toDefAmend_; + toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; + toEERCD_ = other.toEERCD_; + toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; + toDmgPlusRcd_ = other.toDmgPlusRcd_; + dmg_ = other.dmg_; + critRate_ = other.critRate_; + hp_ = other.hp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BattleThreshold Clone() { + return new BattleThreshold(this); + } + + /// <summary>Field number for the "MissionId" field.</summary> + public const int MissionIdFieldNumber = 1; + private int missionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MissionId { + get { return missionId_; } + set { + missionId_ = value; + } + } + + /// <summary>Field number for the "Version" field.</summary> + public const int VersionFieldNumber = 2; + private int version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Version { + get { return version_; } + set { + version_ = value; + } + } + + /// <summary>Field number for the "fromSrcAtk" field.</summary> + public const int FromSrcAtkFieldNumber = 3; + private int fromSrcAtk_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSrcAtk { + get { return fromSrcAtk_; } + set { + fromSrcAtk_ = value; + } + } + + /// <summary>Field number for the "fromPerkIntensityRatio" field.</summary> + public const int FromPerkIntensityRatioFieldNumber = 4; + private int fromPerkIntensityRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromPerkIntensityRatio { + get { return fromPerkIntensityRatio_; } + set { + fromPerkIntensityRatio_ = value; + } + } + + /// <summary>Field number for the "fromSlotDmgRatio" field.</summary> + public const int FromSlotDmgRatioFieldNumber = 5; + private int fromSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSlotDmgRatio { + get { return fromSlotDmgRatio_; } + set { + fromSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromEE" field.</summary> + public const int FromEEFieldNumber = 6; + private int fromEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromEE { + get { return fromEE_; } + set { + fromEE_ = value; + } + } + + /// <summary>Field number for the "fromGenDmgRatio" field.</summary> + public const int FromGenDmgRatioFieldNumber = 7; + private int fromGenDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromGenDmgRatio { + get { return fromGenDmgRatio_; } + set { + fromGenDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromDmgPlus" field.</summary> + public const int FromDmgPlusFieldNumber = 8; + private int fromDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromDmgPlus { + get { return fromDmgPlus_; } + set { + fromDmgPlus_ = value; + } + } + + /// <summary>Field number for the "fromCritRatio" field.</summary> + public const int FromCritRatioFieldNumber = 9; + private int fromCritRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromCritRatio { + get { return fromCritRatio_; } + set { + fromCritRatio_ = value; + } + } + + /// <summary>Field number for the "fromFinalDmgRatio" field.</summary> + public const int FromFinalDmgRatioFieldNumber = 10; + private int fromFinalDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgRatio { + get { return fromFinalDmgRatio_; } + set { + fromFinalDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromFinalDmgPlus" field.</summary> + public const int FromFinalDmgPlusFieldNumber = 11; + private int fromFinalDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgPlus { + get { return fromFinalDmgPlus_; } + set { + fromFinalDmgPlus_ = value; + } + } + + /// <summary>Field number for the "toErAmend" field.</summary> + public const int ToErAmendFieldNumber = 12; + private int toErAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToErAmend { + get { return toErAmend_; } + set { + toErAmend_ = value; + } + } + + /// <summary>Field number for the "toDefAmend" field.</summary> + public const int ToDefAmendFieldNumber = 13; + private int toDefAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToDefAmend { + get { return toDefAmend_; } + set { + toDefAmend_ = value; + } + } + + /// <summary>Field number for the "toRcdSlotDmgRatio" field.</summary> + public const int ToRcdSlotDmgRatioFieldNumber = 14; + private int toRcdSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToRcdSlotDmgRatio { + get { return toRcdSlotDmgRatio_; } + set { + toRcdSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "toEERCD" field.</summary> + public const int ToEERCDFieldNumber = 15; + private int toEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToEERCD { + get { return toEERCD_; } + set { + toEERCD_ = value; + } + } + + /// <summary>Field number for the "toGenDmgRcdRatio" field.</summary> + public const int ToGenDmgRcdRatioFieldNumber = 16; + private int toGenDmgRcdRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToGenDmgRcdRatio { + get { return toGenDmgRcdRatio_; } + set { + toGenDmgRcdRatio_ = value; + } + } + + /// <summary>Field number for the "toDmgPlusRcd" field.</summary> + public const int ToDmgPlusRcdFieldNumber = 17; + private int toDmgPlusRcd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToDmgPlusRcd { + get { return toDmgPlusRcd_; } + set { + toDmgPlusRcd_ = value; + } + } + + /// <summary>Field number for the "Dmg" field.</summary> + public const int DmgFieldNumber = 18; + private int dmg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Dmg { + get { return dmg_; } + set { + dmg_ = value; + } + } + + /// <summary>Field number for the "CritRate" field.</summary> + public const int CritRateFieldNumber = 19; + private int critRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritRate { + get { return critRate_; } + set { + critRate_ = value; + } + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 20; + private int hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BattleThreshold); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BattleThreshold other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MissionId != other.MissionId) return false; + if (Version != other.Version) return false; + if (FromSrcAtk != other.FromSrcAtk) return false; + if (FromPerkIntensityRatio != other.FromPerkIntensityRatio) return false; + if (FromSlotDmgRatio != other.FromSlotDmgRatio) return false; + if (FromEE != other.FromEE) return false; + if (FromGenDmgRatio != other.FromGenDmgRatio) return false; + if (FromDmgPlus != other.FromDmgPlus) return false; + if (FromCritRatio != other.FromCritRatio) return false; + if (FromFinalDmgRatio != other.FromFinalDmgRatio) return false; + if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; + if (ToErAmend != other.ToErAmend) return false; + if (ToDefAmend != other.ToDefAmend) return false; + if (ToRcdSlotDmgRatio != other.ToRcdSlotDmgRatio) return false; + if (ToEERCD != other.ToEERCD) return false; + if (ToGenDmgRcdRatio != other.ToGenDmgRcdRatio) return false; + if (ToDmgPlusRcd != other.ToDmgPlusRcd) return false; + if (Dmg != other.Dmg) return false; + if (CritRate != other.CritRate) return false; + if (Hp != other.Hp) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); + if (FromPerkIntensityRatio != 0) hash ^= FromPerkIntensityRatio.GetHashCode(); + if (FromSlotDmgRatio != 0) hash ^= FromSlotDmgRatio.GetHashCode(); + if (FromEE != 0) hash ^= FromEE.GetHashCode(); + if (FromGenDmgRatio != 0) hash ^= FromGenDmgRatio.GetHashCode(); + if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); + if (FromCritRatio != 0) hash ^= FromCritRatio.GetHashCode(); + if (FromFinalDmgRatio != 0) hash ^= FromFinalDmgRatio.GetHashCode(); + if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); + if (ToErAmend != 0) hash ^= ToErAmend.GetHashCode(); + if (ToDefAmend != 0) hash ^= ToDefAmend.GetHashCode(); + if (ToRcdSlotDmgRatio != 0) hash ^= ToRcdSlotDmgRatio.GetHashCode(); + if (ToEERCD != 0) hash ^= ToEERCD.GetHashCode(); + if (ToGenDmgRcdRatio != 0) hash ^= ToGenDmgRcdRatio.GetHashCode(); + if (ToDmgPlusRcd != 0) hash ^= ToDmgPlusRcd.GetHashCode(); + if (Dmg != 0) hash ^= Dmg.GetHashCode(); + if (CritRate != 0) hash ^= CritRate.GetHashCode(); + if (Hp != 0) hash ^= Hp.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 (MissionId != 0) { + output.WriteRawTag(8); + output.WriteInt32(MissionId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); + } + if (FromSrcAtk != 0) { + output.WriteRawTag(24); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + output.WriteRawTag(32); + output.WriteInt32(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + output.WriteRawTag(40); + output.WriteInt32(FromSlotDmgRatio); + } + if (FromEE != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromEE); + } + if (FromGenDmgRatio != 0) { + output.WriteRawTag(56); + output.WriteInt32(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(64); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(88); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + output.WriteRawTag(96); + output.WriteInt32(ToErAmend); + } + if (ToDefAmend != 0) { + output.WriteRawTag(104); + output.WriteInt32(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + output.WriteRawTag(120); + output.WriteInt32(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Hp); + } + 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 (MissionId != 0) { + output.WriteRawTag(8); + output.WriteInt32(MissionId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); + } + if (FromSrcAtk != 0) { + output.WriteRawTag(24); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + output.WriteRawTag(32); + output.WriteInt32(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + output.WriteRawTag(40); + output.WriteInt32(FromSlotDmgRatio); + } + if (FromEE != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromEE); + } + if (FromGenDmgRatio != 0) { + output.WriteRawTag(56); + output.WriteInt32(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(64); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(88); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + output.WriteRawTag(96); + output.WriteInt32(ToErAmend); + } + if (ToDefAmend != 0) { + output.WriteRawTag(104); + output.WriteInt32(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + output.WriteRawTag(120); + output.WriteInt32(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Hp); + } + 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 (MissionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); + } + if (FromSrcAtk != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSlotDmgRatio); + } + if (FromEE != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromEE); + } + if (FromGenDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); + } + if (FromCritRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToErAmend); + } + if (ToDefAmend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToDmgPlusRcd); + } + if (Dmg != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); + } + if (CritRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritRate); + } + if (Hp != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BattleThreshold other) { + if (other == null) { + return; + } + if (other.MissionId != 0) { + MissionId = other.MissionId; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.FromSrcAtk != 0) { + FromSrcAtk = other.FromSrcAtk; + } + if (other.FromPerkIntensityRatio != 0) { + FromPerkIntensityRatio = other.FromPerkIntensityRatio; + } + if (other.FromSlotDmgRatio != 0) { + FromSlotDmgRatio = other.FromSlotDmgRatio; + } + if (other.FromEE != 0) { + FromEE = other.FromEE; + } + if (other.FromGenDmgRatio != 0) { + FromGenDmgRatio = other.FromGenDmgRatio; + } + if (other.FromDmgPlus != 0) { + FromDmgPlus = other.FromDmgPlus; + } + if (other.FromCritRatio != 0) { + FromCritRatio = other.FromCritRatio; + } + if (other.FromFinalDmgRatio != 0) { + FromFinalDmgRatio = other.FromFinalDmgRatio; + } + if (other.FromFinalDmgPlus != 0) { + FromFinalDmgPlus = other.FromFinalDmgPlus; + } + if (other.ToErAmend != 0) { + ToErAmend = other.ToErAmend; + } + if (other.ToDefAmend != 0) { + ToDefAmend = other.ToDefAmend; + } + if (other.ToRcdSlotDmgRatio != 0) { + ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; + } + if (other.ToEERCD != 0) { + ToEERCD = other.ToEERCD; + } + if (other.ToGenDmgRcdRatio != 0) { + ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; + } + if (other.ToDmgPlusRcd != 0) { + ToDmgPlusRcd = other.ToDmgPlusRcd; + } + if (other.Dmg != 0) { + Dmg = other.Dmg; + } + if (other.CritRate != 0) { + CritRate = other.CritRate; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + _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: { + MissionId = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 32: { + FromPerkIntensityRatio = input.ReadInt32(); + break; + } + case 40: { + FromSlotDmgRatio = input.ReadInt32(); + break; + } + case 48: { + FromEE = input.ReadInt32(); + break; + } + case 56: { + FromGenDmgRatio = input.ReadInt32(); + break; + } + case 64: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 72: { + FromCritRatio = input.ReadInt32(); + break; + } + case 80: { + FromFinalDmgRatio = input.ReadInt32(); + break; + } + case 88: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 96: { + ToErAmend = input.ReadInt32(); + break; + } + case 104: { + ToDefAmend = input.ReadInt32(); + break; + } + case 112: { + ToRcdSlotDmgRatio = input.ReadInt32(); + break; + } + case 120: { + ToEERCD = input.ReadInt32(); + break; + } + case 128: { + ToGenDmgRcdRatio = input.ReadInt32(); + break; + } + case 136: { + ToDmgPlusRcd = input.ReadInt32(); + break; + } + case 144: { + Dmg = input.ReadInt32(); + break; + } + case 152: { + CritRate = input.ReadInt32(); + break; + } + case 160: { + Hp = 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: { + MissionId = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 32: { + FromPerkIntensityRatio = input.ReadInt32(); + break; + } + case 40: { + FromSlotDmgRatio = input.ReadInt32(); + break; + } + case 48: { + FromEE = input.ReadInt32(); + break; + } + case 56: { + FromGenDmgRatio = input.ReadInt32(); + break; + } + case 64: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 72: { + FromCritRatio = input.ReadInt32(); + break; + } + case 80: { + FromFinalDmgRatio = input.ReadInt32(); + break; + } + case 88: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 96: { + ToErAmend = input.ReadInt32(); + break; + } + case 104: { + ToDefAmend = input.ReadInt32(); + break; + } + case 112: { + ToRcdSlotDmgRatio = input.ReadInt32(); + break; + } + case 120: { + ToEERCD = input.ReadInt32(); + break; + } + case 128: { + ToGenDmgRcdRatio = input.ReadInt32(); + break; + } + case 136: { + ToDmgPlusRcd = input.ReadInt32(); + break; + } + case 144: { + Dmg = input.ReadInt32(); + break; + } + case 152: { + CritRate = input.ReadInt32(); + break; + } + case 160: { + Hp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BattleThreshold : pb::IMessage<table_BattleThreshold> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BattleThreshold> _parser = new pb::MessageParser<table_BattleThreshold>(() => new table_BattleThreshold()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_BattleThreshold> 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.ClientTableReflection.Descriptor.MessageTypes[37]; } + } + + [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 table_BattleThreshold() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattleThreshold(table_BattleThreshold other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BattleThreshold Clone() { + return new table_BattleThreshold(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BattleThreshold> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BattleThreshold.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BattleThreshold> list_ = new pbc::RepeatedField<global::Nova.Client.BattleThreshold>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BattleThreshold> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BattleThreshold); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BattleThreshold other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BattleThreshold other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BoardNPC : pb::IMessage<BoardNPC> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BoardNPC> _parser = new pb::MessageParser<BoardNPC>(() => new BoardNPC()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BoardNPC> 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.ClientTableReflection.Descriptor.MessageTypes[38]; } + } + + [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 BoardNPC() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoardNPC(BoardNPC other) : this() { + id_ = other.id_; + name_ = other.name_; + alias_ = other.alias_; + defaultSkinId_ = other.defaultSkinId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BoardNPC Clone() { + return new BoardNPC(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 "Alias" field.</summary> + public const int AliasFieldNumber = 3; + private string alias_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Alias { + get { return alias_; } + set { + alias_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DefaultSkinId" field.</summary> + public const int DefaultSkinIdFieldNumber = 4; + private int defaultSkinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefaultSkinId { + get { return defaultSkinId_; } + set { + defaultSkinId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BoardNPC); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BoardNPC 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 (Alias != other.Alias) return false; + if (DefaultSkinId != other.DefaultSkinId) 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 (Alias.Length != 0) hash ^= Alias.GetHashCode(); + if (DefaultSkinId != 0) hash ^= DefaultSkinId.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 (Alias.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Alias); + } + if (DefaultSkinId != 0) { + output.WriteRawTag(32); + output.WriteInt32(DefaultSkinId); + } + 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 (Alias.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Alias); + } + if (DefaultSkinId != 0) { + output.WriteRawTag(32); + output.WriteInt32(DefaultSkinId); + } + 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 (Alias.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Alias); + } + if (DefaultSkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultSkinId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BoardNPC other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Alias.Length != 0) { + Alias = other.Alias; + } + if (other.DefaultSkinId != 0) { + DefaultSkinId = other.DefaultSkinId; + } + _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 26: { + Alias = input.ReadString(); + break; + } + case 32: { + DefaultSkinId = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Alias = input.ReadString(); + break; + } + case 32: { + DefaultSkinId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BoardNPC : pb::IMessage<table_BoardNPC> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BoardNPC> _parser = new pb::MessageParser<table_BoardNPC>(() => new table_BoardNPC()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_BoardNPC> 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.ClientTableReflection.Descriptor.MessageTypes[39]; } + } + + [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 table_BoardNPC() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BoardNPC(table_BoardNPC other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BoardNPC Clone() { + return new table_BoardNPC(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BoardNPC> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BoardNPC.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BoardNPC> list_ = new pbc::RepeatedField<global::Nova.Client.BoardNPC>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BoardNPC> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BoardNPC); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BoardNPC other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BoardNPC other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Buff : pb::IMessage<Buff> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Buff> _parser = new pb::MessageParser<Buff>(() => new Buff()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Buff> 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.ClientTableReflection.Descriptor.MessageTypes[40]; } + } + + [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 Buff() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Buff(Buff other) : this() { + id_ = other.id_; + name_ = other.name_; + levelTypeData_ = other.levelTypeData_; + levelData_ = other.levelData_; + mainOrSupport_ = other.mainOrSupport_; + groupId_ = other.groupId_; + reduceTime_ = other.reduceTime_; + buffTag1_ = other.buffTag1_; + buffTag2_ = other.buffTag2_; + buffTag3_ = other.buffTag3_; + buffTag4_ = other.buffTag4_; + buffTag5_ = other.buffTag5_; + bindEffect_ = other.bindEffect_; + icon_ = other.icon_; + isShow_ = other.isShow_; + topofHeadEffect_ = other.topofHeadEffect_; + buffNumEffectLevel_ = other.buffNumEffectLevel_.Clone(); + notRemove_ = other.notRemove_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Buff Clone() { + return new Buff(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 "levelTypeData" field.</summary> + public const int LevelTypeDataFieldNumber = 3; + private int levelTypeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTypeData { + get { return levelTypeData_; } + set { + levelTypeData_ = value; + } + } + + /// <summary>Field number for the "LevelData" field.</summary> + public const int LevelDataFieldNumber = 4; + private int levelData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelData { + get { return levelData_; } + set { + levelData_ = value; + } + } + + /// <summary>Field number for the "MainOrSupport" field.</summary> + public const int MainOrSupportFieldNumber = 5; + private int mainOrSupport_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainOrSupport { + get { return mainOrSupport_; } + set { + mainOrSupport_ = value; + } + } + + /// <summary>Field number for the "GroupId" field.</summary> + public const int GroupIdFieldNumber = 6; + 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 "ReduceTime" field.</summary> + public const int ReduceTimeFieldNumber = 7; + private int reduceTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReduceTime { + get { return reduceTime_; } + set { + reduceTime_ = value; + } + } + + /// <summary>Field number for the "BuffTag1" field.</summary> + public const int BuffTag1FieldNumber = 8; + private int buffTag1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffTag1 { + get { return buffTag1_; } + set { + buffTag1_ = value; + } + } + + /// <summary>Field number for the "BuffTag2" field.</summary> + public const int BuffTag2FieldNumber = 9; + private int buffTag2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffTag2 { + get { return buffTag2_; } + set { + buffTag2_ = value; + } + } + + /// <summary>Field number for the "BuffTag3" field.</summary> + public const int BuffTag3FieldNumber = 10; + private int buffTag3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffTag3 { + get { return buffTag3_; } + set { + buffTag3_ = value; + } + } + + /// <summary>Field number for the "BuffTag4" field.</summary> + public const int BuffTag4FieldNumber = 11; + private int buffTag4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffTag4 { + get { return buffTag4_; } + set { + buffTag4_ = value; + } + } + + /// <summary>Field number for the "BuffTag5" field.</summary> + public const int BuffTag5FieldNumber = 12; + private int buffTag5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffTag5 { + get { return buffTag5_; } + set { + buffTag5_ = value; + } + } + + /// <summary>Field number for the "BindEffect" field.</summary> + public const int BindEffectFieldNumber = 13; + private string bindEffect_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BindEffect { + get { return bindEffect_; } + set { + bindEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 14; + 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 "IsShow" field.</summary> + public const int IsShowFieldNumber = 15; + private bool isShow_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsShow { + get { return isShow_; } + set { + isShow_ = value; + } + } + + /// <summary>Field number for the "TopofHeadEffect" field.</summary> + public const int TopofHeadEffectFieldNumber = 16; + private string topofHeadEffect_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TopofHeadEffect { + get { return topofHeadEffect_; } + set { + topofHeadEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BuffNumEffectLevel" field.</summary> + public const int BuffNumEffectLevelFieldNumber = 17; + private static readonly pb::FieldCodec<int> _repeated_buffNumEffectLevel_codec + = pb::FieldCodec.ForInt32(138); + private readonly pbc::RepeatedField<int> buffNumEffectLevel_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BuffNumEffectLevel { + get { return buffNumEffectLevel_; } + } + + /// <summary>Field number for the "NotRemove" field.</summary> + public const int NotRemoveFieldNumber = 18; + private bool notRemove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NotRemove { + get { return notRemove_; } + set { + notRemove_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Buff); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Buff 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 (LevelTypeData != other.LevelTypeData) return false; + if (LevelData != other.LevelData) return false; + if (MainOrSupport != other.MainOrSupport) return false; + if (GroupId != other.GroupId) return false; + if (ReduceTime != other.ReduceTime) return false; + if (BuffTag1 != other.BuffTag1) return false; + if (BuffTag2 != other.BuffTag2) return false; + if (BuffTag3 != other.BuffTag3) return false; + if (BuffTag4 != other.BuffTag4) return false; + if (BuffTag5 != other.BuffTag5) return false; + if (BindEffect != other.BindEffect) return false; + if (Icon != other.Icon) return false; + if (IsShow != other.IsShow) return false; + if (TopofHeadEffect != other.TopofHeadEffect) return false; + if(!buffNumEffectLevel_.Equals(other.buffNumEffectLevel_)) return false; + if (NotRemove != other.NotRemove) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); + if (LevelData != 0) hash ^= LevelData.GetHashCode(); + if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (ReduceTime != 0) hash ^= ReduceTime.GetHashCode(); + if (BuffTag1 != 0) hash ^= BuffTag1.GetHashCode(); + if (BuffTag2 != 0) hash ^= BuffTag2.GetHashCode(); + if (BuffTag3 != 0) hash ^= BuffTag3.GetHashCode(); + if (BuffTag4 != 0) hash ^= BuffTag4.GetHashCode(); + if (BuffTag5 != 0) hash ^= BuffTag5.GetHashCode(); + if (BindEffect.Length != 0) hash ^= BindEffect.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (IsShow != false) hash ^= IsShow.GetHashCode(); + if (TopofHeadEffect.Length != 0) hash ^= TopofHeadEffect.GetHashCode(); + hash ^= buffNumEffectLevel_.GetHashCode(); + if (NotRemove != false) hash ^= NotRemove.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 (LevelTypeData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainOrSupport); + } + if (GroupId != 0) { + output.WriteRawTag(48); + output.WriteInt32(GroupId); + } + if (ReduceTime != 0) { + output.WriteRawTag(56); + output.WriteInt32(ReduceTime); + } + if (BuffTag1 != 0) { + output.WriteRawTag(64); + output.WriteInt32(BuffTag1); + } + if (BuffTag2 != 0) { + output.WriteRawTag(72); + output.WriteInt32(BuffTag2); + } + if (BuffTag3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(BuffTag3); + } + if (BuffTag4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(BuffTag4); + } + if (BuffTag5 != 0) { + output.WriteRawTag(96); + output.WriteInt32(BuffTag5); + } + if (BindEffect.Length != 0) { + output.WriteRawTag(106); + output.WriteString(BindEffect); + } + if (Icon.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Icon); + } + if (IsShow != false) { + output.WriteRawTag(120); + output.WriteBool(IsShow); + } + if (TopofHeadEffect.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(TopofHeadEffect); + } + buffNumEffectLevel_.WriteTo(output, _repeated_buffNumEffectLevel_codec); + if (NotRemove != false) { + output.WriteRawTag(144, 1); + output.WriteBool(NotRemove); + } + 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 (LevelTypeData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainOrSupport); + } + if (GroupId != 0) { + output.WriteRawTag(48); + output.WriteInt32(GroupId); + } + if (ReduceTime != 0) { + output.WriteRawTag(56); + output.WriteInt32(ReduceTime); + } + if (BuffTag1 != 0) { + output.WriteRawTag(64); + output.WriteInt32(BuffTag1); + } + if (BuffTag2 != 0) { + output.WriteRawTag(72); + output.WriteInt32(BuffTag2); + } + if (BuffTag3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(BuffTag3); + } + if (BuffTag4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(BuffTag4); + } + if (BuffTag5 != 0) { + output.WriteRawTag(96); + output.WriteInt32(BuffTag5); + } + if (BindEffect.Length != 0) { + output.WriteRawTag(106); + output.WriteString(BindEffect); + } + if (Icon.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Icon); + } + if (IsShow != false) { + output.WriteRawTag(120); + output.WriteBool(IsShow); + } + if (TopofHeadEffect.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(TopofHeadEffect); + } + buffNumEffectLevel_.WriteTo(ref output, _repeated_buffNumEffectLevel_codec); + if (NotRemove != false) { + output.WriteRawTag(144, 1); + output.WriteBool(NotRemove); + } + 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 (LevelTypeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + } + if (LevelData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + } + if (MainOrSupport != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (ReduceTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReduceTime); + } + if (BuffTag1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag1); + } + if (BuffTag2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag2); + } + if (BuffTag3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag3); + } + if (BuffTag4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag4); + } + if (BuffTag5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffTag5); + } + if (BindEffect.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BindEffect); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (IsShow != false) { + size += 1 + 1; + } + if (TopofHeadEffect.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TopofHeadEffect); + } + size += buffNumEffectLevel_.CalculateSize(_repeated_buffNumEffectLevel_codec); + if (NotRemove != false) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Buff other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.LevelTypeData != 0) { + LevelTypeData = other.LevelTypeData; + } + if (other.LevelData != 0) { + LevelData = other.LevelData; + } + if (other.MainOrSupport != 0) { + MainOrSupport = other.MainOrSupport; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.ReduceTime != 0) { + ReduceTime = other.ReduceTime; + } + if (other.BuffTag1 != 0) { + BuffTag1 = other.BuffTag1; + } + if (other.BuffTag2 != 0) { + BuffTag2 = other.BuffTag2; + } + if (other.BuffTag3 != 0) { + BuffTag3 = other.BuffTag3; + } + if (other.BuffTag4 != 0) { + BuffTag4 = other.BuffTag4; + } + if (other.BuffTag5 != 0) { + BuffTag5 = other.BuffTag5; + } + if (other.BindEffect.Length != 0) { + BindEffect = other.BindEffect; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.IsShow != false) { + IsShow = other.IsShow; + } + if (other.TopofHeadEffect.Length != 0) { + TopofHeadEffect = other.TopofHeadEffect; + } + buffNumEffectLevel_.Add(other.buffNumEffectLevel_); + if (other.NotRemove != false) { + NotRemove = other.NotRemove; + } + _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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 32: { + LevelData = input.ReadInt32(); + break; + } + case 40: { + MainOrSupport = input.ReadInt32(); + break; + } + case 48: { + GroupId = input.ReadInt32(); + break; + } + case 56: { + ReduceTime = input.ReadInt32(); + break; + } + case 64: { + BuffTag1 = input.ReadInt32(); + break; + } + case 72: { + BuffTag2 = input.ReadInt32(); + break; + } + case 80: { + BuffTag3 = input.ReadInt32(); + break; + } + case 88: { + BuffTag4 = input.ReadInt32(); + break; + } + case 96: { + BuffTag5 = input.ReadInt32(); + break; + } + case 106: { + BindEffect = input.ReadString(); + break; + } + case 114: { + Icon = input.ReadString(); + break; + } + case 120: { + IsShow = input.ReadBool(); + break; + } + case 130: { + TopofHeadEffect = input.ReadString(); + break; + } + case 138: + case 136: { + buffNumEffectLevel_.AddEntriesFrom(input, _repeated_buffNumEffectLevel_codec); + break; + } + case 144: { + NotRemove = 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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 32: { + LevelData = input.ReadInt32(); + break; + } + case 40: { + MainOrSupport = input.ReadInt32(); + break; + } + case 48: { + GroupId = input.ReadInt32(); + break; + } + case 56: { + ReduceTime = input.ReadInt32(); + break; + } + case 64: { + BuffTag1 = input.ReadInt32(); + break; + } + case 72: { + BuffTag2 = input.ReadInt32(); + break; + } + case 80: { + BuffTag3 = input.ReadInt32(); + break; + } + case 88: { + BuffTag4 = input.ReadInt32(); + break; + } + case 96: { + BuffTag5 = input.ReadInt32(); + break; + } + case 106: { + BindEffect = input.ReadString(); + break; + } + case 114: { + Icon = input.ReadString(); + break; + } + case 120: { + IsShow = input.ReadBool(); + break; + } + case 130: { + TopofHeadEffect = input.ReadString(); + break; + } + case 138: + case 136: { + buffNumEffectLevel_.AddEntriesFrom(ref input, _repeated_buffNumEffectLevel_codec); + break; + } + case 144: { + NotRemove = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Buff : pb::IMessage<table_Buff> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Buff> _parser = new pb::MessageParser<table_Buff>(() => new table_Buff()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Buff> 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.ClientTableReflection.Descriptor.MessageTypes[41]; } + } + + [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 table_Buff() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Buff(table_Buff other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Buff Clone() { + return new table_Buff(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Buff> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Buff.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Buff> list_ = new pbc::RepeatedField<global::Nova.Client.Buff>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Buff> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Buff); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Buff other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Buff other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [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.ClientTableReflection.Descriptor.MessageTypes[42]; } + } + + [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 "BuffEffects" 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 "LaminatedNum" 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 "TimeSuperposition" 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 "ReplaceType" 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 "AttackClear" 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 "HitClear" 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 "IsInherit" 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 "IsExitDelete" 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 + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_BuffValue : pb::IMessage<table_BuffValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_BuffValue> _parser = new pb::MessageParser<table_BuffValue>(() => new table_BuffValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_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.ClientTableReflection.Descriptor.MessageTypes[43]; } + } + + [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 table_BuffValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BuffValue(table_BuffValue other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_BuffValue Clone() { + return new table_BuffValue(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.BuffValue> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.BuffValue.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.BuffValue> list_ = new pbc::RepeatedField<global::Nova.Client.BuffValue>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.BuffValue> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_BuffValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_BuffValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_BuffValue other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Chapter : pb::IMessage<Chapter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Chapter> _parser = new pb::MessageParser<Chapter>(() => new Chapter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Chapter> 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.ClientTableReflection.Descriptor.MessageTypes[44]; } + } + + [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 Chapter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chapter(Chapter other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + chapterType_ = other.chapterType_; + worldClass_ = other.worldClass_; + prevMainlines_ = other.prevMainlines_.Clone(); + completeRewards_ = other.completeRewards_; + chapterImg_ = other.chapterImg_; + chapterIcon_ = other.chapterIcon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chapter Clone() { + return new Chapter(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "ChapterType" field.</summary> + public const int ChapterTypeFieldNumber = 4; + private int chapterType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChapterType { + get { return chapterType_; } + set { + chapterType_ = value; + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 5; + private int worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "PrevMainlines" field.</summary> + public const int PrevMainlinesFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_prevMainlines_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> prevMainlines_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PrevMainlines { + get { return prevMainlines_; } + } + + /// <summary>Field number for the "CompleteRewards" field.</summary> + public const int CompleteRewardsFieldNumber = 7; + private string completeRewards_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteRewards { + get { return completeRewards_; } + set { + completeRewards_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ChapterImg" field.</summary> + public const int ChapterImgFieldNumber = 8; + private string chapterImg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChapterImg { + get { return chapterImg_; } + set { + chapterImg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ChapterIcon" field.</summary> + public const int ChapterIconFieldNumber = 9; + private string chapterIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChapterIcon { + get { return chapterIcon_; } + set { + chapterIcon_ = 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 Chapter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Chapter 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 (Desc != other.Desc) return false; + if (ChapterType != other.ChapterType) return false; + if (WorldClass != other.WorldClass) return false; + if(!prevMainlines_.Equals(other.prevMainlines_)) return false; + if (CompleteRewards != other.CompleteRewards) return false; + if (ChapterImg != other.ChapterImg) return false; + if (ChapterIcon != other.ChapterIcon) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (ChapterType != 0) hash ^= ChapterType.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + hash ^= prevMainlines_.GetHashCode(); + if (CompleteRewards.Length != 0) hash ^= CompleteRewards.GetHashCode(); + if (ChapterImg.Length != 0) hash ^= ChapterImg.GetHashCode(); + if (ChapterIcon.Length != 0) hash ^= ChapterIcon.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (ChapterType != 0) { + output.WriteRawTag(32); + output.WriteInt32(ChapterType); + } + if (WorldClass != 0) { + output.WriteRawTag(40); + output.WriteInt32(WorldClass); + } + prevMainlines_.WriteTo(output, _repeated_prevMainlines_codec); + if (CompleteRewards.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CompleteRewards); + } + if (ChapterImg.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ChapterImg); + } + if (ChapterIcon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ChapterIcon); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (ChapterType != 0) { + output.WriteRawTag(32); + output.WriteInt32(ChapterType); + } + if (WorldClass != 0) { + output.WriteRawTag(40); + output.WriteInt32(WorldClass); + } + prevMainlines_.WriteTo(ref output, _repeated_prevMainlines_codec); + if (CompleteRewards.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CompleteRewards); + } + if (ChapterImg.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ChapterImg); + } + if (ChapterIcon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ChapterIcon); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (ChapterType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChapterType); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); + } + size += prevMainlines_.CalculateSize(_repeated_prevMainlines_codec); + if (CompleteRewards.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteRewards); + } + if (ChapterImg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterImg); + } + if (ChapterIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterIcon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Chapter other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.ChapterType != 0) { + ChapterType = other.ChapterType; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + prevMainlines_.Add(other.prevMainlines_); + if (other.CompleteRewards.Length != 0) { + CompleteRewards = other.CompleteRewards; + } + if (other.ChapterImg.Length != 0) { + ChapterImg = other.ChapterImg; + } + if (other.ChapterIcon.Length != 0) { + ChapterIcon = other.ChapterIcon; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + ChapterType = input.ReadInt32(); + break; + } + case 40: { + WorldClass = input.ReadInt32(); + break; + } + case 50: + case 48: { + prevMainlines_.AddEntriesFrom(input, _repeated_prevMainlines_codec); + break; + } + case 58: { + CompleteRewards = input.ReadString(); + break; + } + case 66: { + ChapterImg = input.ReadString(); + break; + } + case 74: { + ChapterIcon = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + ChapterType = input.ReadInt32(); + break; + } + case 40: { + WorldClass = input.ReadInt32(); + break; + } + case 50: + case 48: { + prevMainlines_.AddEntriesFrom(ref input, _repeated_prevMainlines_codec); + break; + } + case 58: { + CompleteRewards = input.ReadString(); + break; + } + case 66: { + ChapterImg = input.ReadString(); + break; + } + case 74: { + ChapterIcon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Chapter : pb::IMessage<table_Chapter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Chapter> _parser = new pb::MessageParser<table_Chapter>(() => new table_Chapter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Chapter> 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.ClientTableReflection.Descriptor.MessageTypes[45]; } + } + + [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 table_Chapter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Chapter(table_Chapter other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Chapter Clone() { + return new table_Chapter(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Chapter> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Chapter.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Chapter> list_ = new pbc::RepeatedField<global::Nova.Client.Chapter>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Chapter> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Chapter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Chapter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Chapter other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Character : pb::IMessage<Character> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Character> _parser = new pb::MessageParser<Character>(() => new Character()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Character> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.ClientTableReflection.Descriptor.MessageTypes[46]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Character() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Character(Character other) : this() { + id_ = other.id_; + name_ = other.name_; + visible_ = other.visible_; + available_ = other.available_; + grade_ = other.grade_; + defaultSkinId_ = other.defaultSkinId_; + advanceSkinId_ = other.advanceSkinId_; + advanceGroup_ = other.advanceGroup_; + advanceSkinUnlockLevel_ = other.advanceSkinUnlockLevel_; + faction_ = other.faction_; + weight_ = other.weight_; + eET_ = other.eET_; + class_ = other.class_; + characterAttackType_ = other.characterAttackType_; + searchTargetType_ = other.searchTargetType_; + atkSpd_ = other.atkSpd_; + movType_ = other.movType_; + walkSpd_ = other.walkSpd_; + runSpd_ = other.runSpd_; + spRunSpd_ = other.spRunSpd_; + transSpd_ = other.transSpd_; + walkToRunDuration_ = other.walkToRunDuration_; + dodgeToRunAccelerationOrNot_ = other.dodgeToRunAccelerationOrNot_; + movAcc_ = other.movAcc_; + rotSpd_ = other.rotSpd_; + rotAcc_ = other.rotAcc_; + visionDeg_ = other.visionDeg_; + visionRng_ = other.visionRng_; + visionAttackRng_ = other.visionAttackRng_; + hearRng_ = other.hearRng_; + hearAttackRng_ = other.hearAttackRng_; + raiseGunRng_ = other.raiseGunRng_; + bulletType_ = other.bulletType_; + ammo_ = other.ammo_; + aIId_ = other.aIId_; + normalAtkId_ = other.normalAtkId_; + dodgeId_ = other.dodgeId_; + skillId_ = other.skillId_; + specialSkillId_ = other.specialSkillId_; + ultimateId_ = other.ultimateId_; + assistAIId_ = other.assistAIId_; + assistNormalAtkId_ = other.assistNormalAtkId_; + assistDodgeId_ = other.assistDodgeId_; + assistSkillId_ = other.assistSkillId_; + assistSpecialSkillId_ = other.assistSpecialSkillId_; + assistUltimateId_ = other.assistUltimateId_; + talentSkillId_ = other.talentSkillId_; + assistSkillOnStageType_ = other.assistSkillOnStageType_; + assistSkillAngle_ = other.assistSkillAngle_; + assistSkillRadius_ = other.assistSkillRadius_; + assistSkillOnStageOrientation_ = other.assistSkillOnStageOrientation_; + assistUltimateOnStageType_ = other.assistUltimateOnStageType_; + assistUltimateAngle_ = other.assistUltimateAngle_; + assistUltimateRadius_ = other.assistUltimateRadius_; + assistUltimateOnStageOrientation_ = other.assistUltimateOnStageOrientation_; + switchCD_ = other.switchCD_; + energyConvRatio_ = other.energyConvRatio_; + energyEfficiency_ = other.energyEfficiency_; + fragmentsId_ = other.fragmentsId_; + transformQty_ = other.transformQty_; + recruitmentQty_ = other.recruitmentQty_; + attributeId_ = other.attributeId_; + presentsTraitId_ = other.presentsTraitId_; + skillsUpgradeGroup_ = other.skillsUpgradeGroup_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Character Clone() { + return new Character(this); + } + + /// <summary>Field number for the "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 "Visible" field.</summary> + public const int VisibleFieldNumber = 3; + 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 = 4; + 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 "Grade" field.</summary> + public const int GradeFieldNumber = 5; + private int grade_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Grade { + get { return grade_; } + set { + grade_ = value; + } + } + + /// <summary>Field number for the "DefaultSkinId" field.</summary> + public const int DefaultSkinIdFieldNumber = 6; + private int defaultSkinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefaultSkinId { + get { return defaultSkinId_; } + set { + defaultSkinId_ = value; + } + } + + /// <summary>Field number for the "AdvanceSkinId" field.</summary> + public const int AdvanceSkinIdFieldNumber = 7; + private int advanceSkinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdvanceSkinId { + get { return advanceSkinId_; } + set { + advanceSkinId_ = value; + } + } + + /// <summary>Field number for the "AdvanceGroup" field.</summary> + public const int AdvanceGroupFieldNumber = 8; + private int advanceGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdvanceGroup { + get { return advanceGroup_; } + set { + advanceGroup_ = value; + } + } + + /// <summary>Field number for the "AdvanceSkinUnlockLevel" field.</summary> + public const int AdvanceSkinUnlockLevelFieldNumber = 9; + private int advanceSkinUnlockLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdvanceSkinUnlockLevel { + get { return advanceSkinUnlockLevel_; } + set { + advanceSkinUnlockLevel_ = value; + } + } + + /// <summary>Field number for the "Faction" field.</summary> + public const int FactionFieldNumber = 10; + private int faction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Faction { + get { return faction_; } + set { + faction_ = value; + } + } + + /// <summary>Field number for the "Weight" field.</summary> + public const int WeightFieldNumber = 11; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 12; + 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 "Class" field.</summary> + public const int ClassFieldNumber = 13; + private int class_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Class { + get { return class_; } + set { + class_ = value; + } + } + + /// <summary>Field number for the "CharacterAttackType" field.</summary> + public const int CharacterAttackTypeFieldNumber = 14; + private int characterAttackType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterAttackType { + get { return characterAttackType_; } + set { + characterAttackType_ = value; + } + } + + /// <summary>Field number for the "SearchTargetType" field.</summary> + public const int SearchTargetTypeFieldNumber = 15; + private int searchTargetType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SearchTargetType { + get { return searchTargetType_; } + set { + searchTargetType_ = value; + } + } + + /// <summary>Field number for the "AtkSpd" field.</summary> + public const int AtkSpdFieldNumber = 16; + private int atkSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AtkSpd { + get { return atkSpd_; } + set { + atkSpd_ = value; + } + } + + /// <summary>Field number for the "MovType" field.</summary> + public const int MovTypeFieldNumber = 17; + private int movType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovType { + get { return movType_; } + set { + movType_ = value; + } + } + + /// <summary>Field number for the "WalkSpd" field.</summary> + public const int WalkSpdFieldNumber = 18; + private int walkSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WalkSpd { + get { return walkSpd_; } + set { + walkSpd_ = value; + } + } + + /// <summary>Field number for the "RunSpd" field.</summary> + public const int RunSpdFieldNumber = 19; + private int runSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RunSpd { + get { return runSpd_; } + set { + runSpd_ = value; + } + } + + /// <summary>Field number for the "SpRunSpd" field.</summary> + public const int SpRunSpdFieldNumber = 20; + private int spRunSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpRunSpd { + get { return spRunSpd_; } + set { + spRunSpd_ = value; + } + } + + /// <summary>Field number for the "TransSpd" field.</summary> + public const int TransSpdFieldNumber = 21; + private int transSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TransSpd { + get { return transSpd_; } + set { + transSpd_ = value; + } + } + + /// <summary>Field number for the "WalkToRunDuration" field.</summary> + public const int WalkToRunDurationFieldNumber = 22; + private int walkToRunDuration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WalkToRunDuration { + get { return walkToRunDuration_; } + set { + walkToRunDuration_ = value; + } + } + + /// <summary>Field number for the "DodgeToRunAccelerationOrNot" field.</summary> + public const int DodgeToRunAccelerationOrNotFieldNumber = 23; + private bool dodgeToRunAccelerationOrNot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DodgeToRunAccelerationOrNot { + get { return dodgeToRunAccelerationOrNot_; } + set { + dodgeToRunAccelerationOrNot_ = value; + } + } + + /// <summary>Field number for the "MovAcc" field.</summary> + public const int MovAccFieldNumber = 24; + private int movAcc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovAcc { + get { return movAcc_; } + set { + movAcc_ = value; + } + } + + /// <summary>Field number for the "RotSpd" field.</summary> + public const int RotSpdFieldNumber = 25; + private int rotSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RotSpd { + get { return rotSpd_; } + set { + rotSpd_ = value; + } + } + + /// <summary>Field number for the "RotAcc" field.</summary> + public const int RotAccFieldNumber = 26; + private int rotAcc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RotAcc { + get { return rotAcc_; } + set { + rotAcc_ = value; + } + } + + /// <summary>Field number for the "VisionDeg" field.</summary> + public const int VisionDegFieldNumber = 27; + private int visionDeg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionDeg { + get { return visionDeg_; } + set { + visionDeg_ = value; + } + } + + /// <summary>Field number for the "VisionRng" field.</summary> + public const int VisionRngFieldNumber = 28; + private int visionRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionRng { + get { return visionRng_; } + set { + visionRng_ = value; + } + } + + /// <summary>Field number for the "VisionAttackRng" field.</summary> + public const int VisionAttackRngFieldNumber = 29; + private int visionAttackRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionAttackRng { + get { return visionAttackRng_; } + set { + visionAttackRng_ = value; + } + } + + /// <summary>Field number for the "HearRng" field.</summary> + public const int HearRngFieldNumber = 30; + private int hearRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HearRng { + get { return hearRng_; } + set { + hearRng_ = value; + } + } + + /// <summary>Field number for the "HearAttackRng" field.</summary> + public const int HearAttackRngFieldNumber = 31; + private int hearAttackRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HearAttackRng { + get { return hearAttackRng_; } + set { + hearAttackRng_ = value; + } + } + + /// <summary>Field number for the "RaiseGunRng" field.</summary> + public const int RaiseGunRngFieldNumber = 32; + private int raiseGunRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RaiseGunRng { + get { return raiseGunRng_; } + set { + raiseGunRng_ = value; + } + } + + /// <summary>Field number for the "BulletType" field.</summary> + public const int BulletTypeFieldNumber = 33; + private int bulletType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BulletType { + get { return bulletType_; } + set { + bulletType_ = value; + } + } + + /// <summary>Field number for the "Ammo" field.</summary> + public const int AmmoFieldNumber = 34; + private int ammo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Ammo { + get { return ammo_; } + set { + ammo_ = value; + } + } + + /// <summary>Field number for the "AIId" field.</summary> + public const int AIIdFieldNumber = 35; + private int aIId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AIId { + get { return aIId_; } + set { + aIId_ = value; + } + } + + /// <summary>Field number for the "NormalAtkId" field.</summary> + public const int NormalAtkIdFieldNumber = 36; + private int normalAtkId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalAtkId { + get { return normalAtkId_; } + set { + normalAtkId_ = value; + } + } + + /// <summary>Field number for the "DodgeId" field.</summary> + public const int DodgeIdFieldNumber = 37; + private int dodgeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DodgeId { + get { return dodgeId_; } + set { + dodgeId_ = value; + } + } + + /// <summary>Field number for the "SkillId" field.</summary> + public const int SkillIdFieldNumber = 38; + private int skillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillId { + get { return skillId_; } + set { + skillId_ = value; + } + } + + /// <summary>Field number for the "SpecialSkillId" field.</summary> + public const int SpecialSkillIdFieldNumber = 39; + private int specialSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpecialSkillId { + get { return specialSkillId_; } + set { + specialSkillId_ = value; + } + } + + /// <summary>Field number for the "UltimateId" field.</summary> + public const int UltimateIdFieldNumber = 40; + private int ultimateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UltimateId { + get { return ultimateId_; } + set { + ultimateId_ = value; + } + } + + /// <summary>Field number for the "AssistAIId" field.</summary> + public const int AssistAIIdFieldNumber = 41; + private int assistAIId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistAIId { + get { return assistAIId_; } + set { + assistAIId_ = value; + } + } + + /// <summary>Field number for the "AssistNormalAtkId" field.</summary> + public const int AssistNormalAtkIdFieldNumber = 42; + private int assistNormalAtkId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistNormalAtkId { + get { return assistNormalAtkId_; } + set { + assistNormalAtkId_ = value; + } + } + + /// <summary>Field number for the "AssistDodgeId" field.</summary> + public const int AssistDodgeIdFieldNumber = 43; + private int assistDodgeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistDodgeId { + get { return assistDodgeId_; } + set { + assistDodgeId_ = value; + } + } + + /// <summary>Field number for the "AssistSkillId" field.</summary> + public const int AssistSkillIdFieldNumber = 44; + private int assistSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistSkillId { + get { return assistSkillId_; } + set { + assistSkillId_ = value; + } + } + + /// <summary>Field number for the "AssistSpecialSkillId" field.</summary> + public const int AssistSpecialSkillIdFieldNumber = 45; + private int assistSpecialSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistSpecialSkillId { + get { return assistSpecialSkillId_; } + set { + assistSpecialSkillId_ = value; + } + } + + /// <summary>Field number for the "AssistUltimateId" field.</summary> + public const int AssistUltimateIdFieldNumber = 46; + private int assistUltimateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistUltimateId { + get { return assistUltimateId_; } + set { + assistUltimateId_ = value; + } + } + + /// <summary>Field number for the "TalentSkillId" field.</summary> + public const int TalentSkillIdFieldNumber = 47; + private int talentSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TalentSkillId { + get { return talentSkillId_; } + set { + talentSkillId_ = value; + } + } + + /// <summary>Field number for the "AssistSkillOnStageType" field.</summary> + public const int AssistSkillOnStageTypeFieldNumber = 48; + private int assistSkillOnStageType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistSkillOnStageType { + get { return assistSkillOnStageType_; } + set { + assistSkillOnStageType_ = value; + } + } + + /// <summary>Field number for the "AssistSkillAngle" field.</summary> + public const int AssistSkillAngleFieldNumber = 49; + private int assistSkillAngle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistSkillAngle { + get { return assistSkillAngle_; } + set { + assistSkillAngle_ = value; + } + } + + /// <summary>Field number for the "AssistSkillRadius" field.</summary> + public const int AssistSkillRadiusFieldNumber = 50; + private int assistSkillRadius_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistSkillRadius { + get { return assistSkillRadius_; } + set { + assistSkillRadius_ = value; + } + } + + /// <summary>Field number for the "AssistSkillOnStageOrientation" field.</summary> + public const int AssistSkillOnStageOrientationFieldNumber = 51; + private int assistSkillOnStageOrientation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistSkillOnStageOrientation { + get { return assistSkillOnStageOrientation_; } + set { + assistSkillOnStageOrientation_ = value; + } + } + + /// <summary>Field number for the "AssistUltimateOnStageType" field.</summary> + public const int AssistUltimateOnStageTypeFieldNumber = 52; + private int assistUltimateOnStageType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistUltimateOnStageType { + get { return assistUltimateOnStageType_; } + set { + assistUltimateOnStageType_ = value; + } + } + + /// <summary>Field number for the "AssistUltimateAngle" field.</summary> + public const int AssistUltimateAngleFieldNumber = 53; + private int assistUltimateAngle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistUltimateAngle { + get { return assistUltimateAngle_; } + set { + assistUltimateAngle_ = value; + } + } + + /// <summary>Field number for the "AssistUltimateRadius" field.</summary> + public const int AssistUltimateRadiusFieldNumber = 54; + private int assistUltimateRadius_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistUltimateRadius { + get { return assistUltimateRadius_; } + set { + assistUltimateRadius_ = value; + } + } + + /// <summary>Field number for the "AssistUltimateOnStageOrientation" field.</summary> + public const int AssistUltimateOnStageOrientationFieldNumber = 55; + private int assistUltimateOnStageOrientation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AssistUltimateOnStageOrientation { + get { return assistUltimateOnStageOrientation_; } + set { + assistUltimateOnStageOrientation_ = value; + } + } + + /// <summary>Field number for the "SwitchCD" field.</summary> + public const int SwitchCDFieldNumber = 56; + private int switchCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SwitchCD { + get { return switchCD_; } + set { + switchCD_ = value; + } + } + + /// <summary>Field number for the "EnergyConvRatio" field.</summary> + public const int EnergyConvRatioFieldNumber = 57; + private int energyConvRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnergyConvRatio { + get { return energyConvRatio_; } + set { + energyConvRatio_ = value; + } + } + + /// <summary>Field number for the "EnergyEfficiency" field.</summary> + public const int EnergyEfficiencyFieldNumber = 58; + private int energyEfficiency_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnergyEfficiency { + get { return energyEfficiency_; } + set { + energyEfficiency_ = value; + } + } + + /// <summary>Field number for the "FragmentsId" field.</summary> + public const int FragmentsIdFieldNumber = 59; + private int fragmentsId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FragmentsId { + get { return fragmentsId_; } + set { + fragmentsId_ = value; + } + } + + /// <summary>Field number for the "TransformQty" field.</summary> + public const int TransformQtyFieldNumber = 60; + private int transformQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TransformQty { + get { return transformQty_; } + set { + transformQty_ = value; + } + } + + /// <summary>Field number for the "RecruitmentQty" field.</summary> + public const int RecruitmentQtyFieldNumber = 61; + private int recruitmentQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecruitmentQty { + get { return recruitmentQty_; } + set { + recruitmentQty_ = value; + } + } + + /// <summary>Field number for the "AttributeId" field.</summary> + public const int AttributeIdFieldNumber = 62; + private string attributeId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AttributeId { + get { return attributeId_; } + set { + attributeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PresentsTraitId" field.</summary> + public const int PresentsTraitIdFieldNumber = 63; + private int presentsTraitId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresentsTraitId { + get { return presentsTraitId_; } + set { + presentsTraitId_ = value; + } + } + + /// <summary>Field number for the "SkillsUpgradeGroup" field.</summary> + public const int SkillsUpgradeGroupFieldNumber = 64; + private static readonly pb::FieldCodec<int> _repeated_skillsUpgradeGroup_codec + = pb::FieldCodec.ForInt32(514); + private readonly pbc::RepeatedField<int> skillsUpgradeGroup_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> SkillsUpgradeGroup { + get { return skillsUpgradeGroup_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Character); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Character other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Name != other.Name) return false; + if (Visible != other.Visible) return false; + if (Available != other.Available) return false; + if (Grade != other.Grade) return false; + if (DefaultSkinId != other.DefaultSkinId) return false; + if (AdvanceSkinId != other.AdvanceSkinId) return false; + if (AdvanceGroup != other.AdvanceGroup) return false; + if (AdvanceSkinUnlockLevel != other.AdvanceSkinUnlockLevel) return false; + if (Faction != other.Faction) return false; + if (Weight != other.Weight) return false; + if (EET != other.EET) return false; + if (Class != other.Class) return false; + if (CharacterAttackType != other.CharacterAttackType) return false; + if (SearchTargetType != other.SearchTargetType) return false; + if (AtkSpd != other.AtkSpd) return false; + if (MovType != other.MovType) return false; + if (WalkSpd != other.WalkSpd) return false; + if (RunSpd != other.RunSpd) return false; + if (SpRunSpd != other.SpRunSpd) return false; + if (TransSpd != other.TransSpd) return false; + if (WalkToRunDuration != other.WalkToRunDuration) return false; + if (DodgeToRunAccelerationOrNot != other.DodgeToRunAccelerationOrNot) return false; + if (MovAcc != other.MovAcc) return false; + if (RotSpd != other.RotSpd) return false; + if (RotAcc != other.RotAcc) return false; + if (VisionDeg != other.VisionDeg) return false; + if (VisionRng != other.VisionRng) return false; + if (VisionAttackRng != other.VisionAttackRng) return false; + if (HearRng != other.HearRng) return false; + if (HearAttackRng != other.HearAttackRng) return false; + if (RaiseGunRng != other.RaiseGunRng) return false; + if (BulletType != other.BulletType) return false; + if (Ammo != other.Ammo) return false; + if (AIId != other.AIId) return false; + if (NormalAtkId != other.NormalAtkId) return false; + if (DodgeId != other.DodgeId) return false; + if (SkillId != other.SkillId) return false; + if (SpecialSkillId != other.SpecialSkillId) return false; + if (UltimateId != other.UltimateId) return false; + if (AssistAIId != other.AssistAIId) return false; + if (AssistNormalAtkId != other.AssistNormalAtkId) return false; + if (AssistDodgeId != other.AssistDodgeId) return false; + if (AssistSkillId != other.AssistSkillId) return false; + if (AssistSpecialSkillId != other.AssistSpecialSkillId) return false; + if (AssistUltimateId != other.AssistUltimateId) return false; + if (TalentSkillId != other.TalentSkillId) return false; + if (AssistSkillOnStageType != other.AssistSkillOnStageType) return false; + if (AssistSkillAngle != other.AssistSkillAngle) return false; + if (AssistSkillRadius != other.AssistSkillRadius) return false; + if (AssistSkillOnStageOrientation != other.AssistSkillOnStageOrientation) return false; + if (AssistUltimateOnStageType != other.AssistUltimateOnStageType) return false; + if (AssistUltimateAngle != other.AssistUltimateAngle) return false; + if (AssistUltimateRadius != other.AssistUltimateRadius) return false; + if (AssistUltimateOnStageOrientation != other.AssistUltimateOnStageOrientation) return false; + if (SwitchCD != other.SwitchCD) return false; + if (EnergyConvRatio != other.EnergyConvRatio) return false; + if (EnergyEfficiency != other.EnergyEfficiency) return false; + if (FragmentsId != other.FragmentsId) return false; + if (TransformQty != other.TransformQty) return false; + if (RecruitmentQty != other.RecruitmentQty) return false; + if (AttributeId != other.AttributeId) return false; + if (PresentsTraitId != other.PresentsTraitId) return false; + if(!skillsUpgradeGroup_.Equals(other.skillsUpgradeGroup_)) 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 (Visible != false) hash ^= Visible.GetHashCode(); + if (Available != false) hash ^= Available.GetHashCode(); + if (Grade != 0) hash ^= Grade.GetHashCode(); + if (DefaultSkinId != 0) hash ^= DefaultSkinId.GetHashCode(); + if (AdvanceSkinId != 0) hash ^= AdvanceSkinId.GetHashCode(); + if (AdvanceGroup != 0) hash ^= AdvanceGroup.GetHashCode(); + if (AdvanceSkinUnlockLevel != 0) hash ^= AdvanceSkinUnlockLevel.GetHashCode(); + if (Faction != 0) hash ^= Faction.GetHashCode(); + if (Weight != 0) hash ^= Weight.GetHashCode(); + if (EET != 0) hash ^= EET.GetHashCode(); + if (Class != 0) hash ^= Class.GetHashCode(); + if (CharacterAttackType != 0) hash ^= CharacterAttackType.GetHashCode(); + if (SearchTargetType != 0) hash ^= SearchTargetType.GetHashCode(); + if (AtkSpd != 0) hash ^= AtkSpd.GetHashCode(); + if (MovType != 0) hash ^= MovType.GetHashCode(); + if (WalkSpd != 0) hash ^= WalkSpd.GetHashCode(); + if (RunSpd != 0) hash ^= RunSpd.GetHashCode(); + if (SpRunSpd != 0) hash ^= SpRunSpd.GetHashCode(); + if (TransSpd != 0) hash ^= TransSpd.GetHashCode(); + if (WalkToRunDuration != 0) hash ^= WalkToRunDuration.GetHashCode(); + if (DodgeToRunAccelerationOrNot != false) hash ^= DodgeToRunAccelerationOrNot.GetHashCode(); + if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); + if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); + if (RotAcc != 0) hash ^= RotAcc.GetHashCode(); + if (VisionDeg != 0) hash ^= VisionDeg.GetHashCode(); + if (VisionRng != 0) hash ^= VisionRng.GetHashCode(); + if (VisionAttackRng != 0) hash ^= VisionAttackRng.GetHashCode(); + if (HearRng != 0) hash ^= HearRng.GetHashCode(); + if (HearAttackRng != 0) hash ^= HearAttackRng.GetHashCode(); + if (RaiseGunRng != 0) hash ^= RaiseGunRng.GetHashCode(); + if (BulletType != 0) hash ^= BulletType.GetHashCode(); + if (Ammo != 0) hash ^= Ammo.GetHashCode(); + if (AIId != 0) hash ^= AIId.GetHashCode(); + if (NormalAtkId != 0) hash ^= NormalAtkId.GetHashCode(); + if (DodgeId != 0) hash ^= DodgeId.GetHashCode(); + if (SkillId != 0) hash ^= SkillId.GetHashCode(); + if (SpecialSkillId != 0) hash ^= SpecialSkillId.GetHashCode(); + if (UltimateId != 0) hash ^= UltimateId.GetHashCode(); + if (AssistAIId != 0) hash ^= AssistAIId.GetHashCode(); + if (AssistNormalAtkId != 0) hash ^= AssistNormalAtkId.GetHashCode(); + if (AssistDodgeId != 0) hash ^= AssistDodgeId.GetHashCode(); + if (AssistSkillId != 0) hash ^= AssistSkillId.GetHashCode(); + if (AssistSpecialSkillId != 0) hash ^= AssistSpecialSkillId.GetHashCode(); + if (AssistUltimateId != 0) hash ^= AssistUltimateId.GetHashCode(); + if (TalentSkillId != 0) hash ^= TalentSkillId.GetHashCode(); + if (AssistSkillOnStageType != 0) hash ^= AssistSkillOnStageType.GetHashCode(); + if (AssistSkillAngle != 0) hash ^= AssistSkillAngle.GetHashCode(); + if (AssistSkillRadius != 0) hash ^= AssistSkillRadius.GetHashCode(); + if (AssistSkillOnStageOrientation != 0) hash ^= AssistSkillOnStageOrientation.GetHashCode(); + if (AssistUltimateOnStageType != 0) hash ^= AssistUltimateOnStageType.GetHashCode(); + if (AssistUltimateAngle != 0) hash ^= AssistUltimateAngle.GetHashCode(); + if (AssistUltimateRadius != 0) hash ^= AssistUltimateRadius.GetHashCode(); + if (AssistUltimateOnStageOrientation != 0) hash ^= AssistUltimateOnStageOrientation.GetHashCode(); + if (SwitchCD != 0) hash ^= SwitchCD.GetHashCode(); + if (EnergyConvRatio != 0) hash ^= EnergyConvRatio.GetHashCode(); + if (EnergyEfficiency != 0) hash ^= EnergyEfficiency.GetHashCode(); + if (FragmentsId != 0) hash ^= FragmentsId.GetHashCode(); + if (TransformQty != 0) hash ^= TransformQty.GetHashCode(); + if (RecruitmentQty != 0) hash ^= RecruitmentQty.GetHashCode(); + if (AttributeId.Length != 0) hash ^= AttributeId.GetHashCode(); + if (PresentsTraitId != 0) hash ^= PresentsTraitId.GetHashCode(); + hash ^= skillsUpgradeGroup_.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 (Visible != false) { + output.WriteRawTag(24); + output.WriteBool(Visible); + } + if (Available != false) { + output.WriteRawTag(32); + output.WriteBool(Available); + } + if (Grade != 0) { + output.WriteRawTag(40); + output.WriteInt32(Grade); + } + if (DefaultSkinId != 0) { + output.WriteRawTag(48); + output.WriteInt32(DefaultSkinId); + } + if (AdvanceSkinId != 0) { + output.WriteRawTag(56); + output.WriteInt32(AdvanceSkinId); + } + if (AdvanceGroup != 0) { + output.WriteRawTag(64); + output.WriteInt32(AdvanceGroup); + } + if (AdvanceSkinUnlockLevel != 0) { + output.WriteRawTag(72); + output.WriteInt32(AdvanceSkinUnlockLevel); + } + if (Faction != 0) { + output.WriteRawTag(80); + output.WriteInt32(Faction); + } + if (Weight != 0) { + output.WriteRawTag(88); + output.WriteInt32(Weight); + } + if (EET != 0) { + output.WriteRawTag(96); + output.WriteInt32(EET); + } + if (Class != 0) { + output.WriteRawTag(104); + output.WriteInt32(Class); + } + if (CharacterAttackType != 0) { + output.WriteRawTag(112); + output.WriteInt32(CharacterAttackType); + } + if (SearchTargetType != 0) { + output.WriteRawTag(120); + output.WriteInt32(SearchTargetType); + } + if (AtkSpd != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AtkSpd); + } + if (MovType != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(MovType); + } + if (WalkSpd != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(WalkSpd); + } + if (RunSpd != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(RunSpd); + } + if (SpRunSpd != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(SpRunSpd); + } + if (TransSpd != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(TransSpd); + } + if (WalkToRunDuration != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(WalkToRunDuration); + } + if (DodgeToRunAccelerationOrNot != false) { + output.WriteRawTag(184, 1); + output.WriteBool(DodgeToRunAccelerationOrNot); + } + if (MovAcc != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(MovAcc); + } + if (RotSpd != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(RotSpd); + } + if (RotAcc != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(RotAcc); + } + if (VisionDeg != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(VisionDeg); + } + if (VisionRng != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(VisionRng); + } + if (VisionAttackRng != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(VisionAttackRng); + } + if (HearRng != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(HearRng); + } + if (HearAttackRng != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(HearAttackRng); + } + if (RaiseGunRng != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(RaiseGunRng); + } + if (BulletType != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(BulletType); + } + if (Ammo != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(Ammo); + } + if (AIId != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(AIId); + } + if (NormalAtkId != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(NormalAtkId); + } + if (DodgeId != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(DodgeId); + } + if (SkillId != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(SkillId); + } + if (SpecialSkillId != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(SpecialSkillId); + } + if (UltimateId != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(UltimateId); + } + if (AssistAIId != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(AssistAIId); + } + if (AssistNormalAtkId != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(AssistNormalAtkId); + } + if (AssistDodgeId != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(AssistDodgeId); + } + if (AssistSkillId != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(AssistSkillId); + } + if (AssistSpecialSkillId != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(AssistSpecialSkillId); + } + if (AssistUltimateId != 0) { + output.WriteRawTag(240, 2); + output.WriteInt32(AssistUltimateId); + } + if (TalentSkillId != 0) { + output.WriteRawTag(248, 2); + output.WriteInt32(TalentSkillId); + } + if (AssistSkillOnStageType != 0) { + output.WriteRawTag(128, 3); + output.WriteInt32(AssistSkillOnStageType); + } + if (AssistSkillAngle != 0) { + output.WriteRawTag(136, 3); + output.WriteInt32(AssistSkillAngle); + } + if (AssistSkillRadius != 0) { + output.WriteRawTag(144, 3); + output.WriteInt32(AssistSkillRadius); + } + if (AssistSkillOnStageOrientation != 0) { + output.WriteRawTag(152, 3); + output.WriteInt32(AssistSkillOnStageOrientation); + } + if (AssistUltimateOnStageType != 0) { + output.WriteRawTag(160, 3); + output.WriteInt32(AssistUltimateOnStageType); + } + if (AssistUltimateAngle != 0) { + output.WriteRawTag(168, 3); + output.WriteInt32(AssistUltimateAngle); + } + if (AssistUltimateRadius != 0) { + output.WriteRawTag(176, 3); + output.WriteInt32(AssistUltimateRadius); + } + if (AssistUltimateOnStageOrientation != 0) { + output.WriteRawTag(184, 3); + output.WriteInt32(AssistUltimateOnStageOrientation); + } + if (SwitchCD != 0) { + output.WriteRawTag(192, 3); + output.WriteInt32(SwitchCD); + } + if (EnergyConvRatio != 0) { + output.WriteRawTag(200, 3); + output.WriteInt32(EnergyConvRatio); + } + if (EnergyEfficiency != 0) { + output.WriteRawTag(208, 3); + output.WriteInt32(EnergyEfficiency); + } + if (FragmentsId != 0) { + output.WriteRawTag(216, 3); + output.WriteInt32(FragmentsId); + } + if (TransformQty != 0) { + output.WriteRawTag(224, 3); + output.WriteInt32(TransformQty); + } + if (RecruitmentQty != 0) { + output.WriteRawTag(232, 3); + output.WriteInt32(RecruitmentQty); + } + if (AttributeId.Length != 0) { + output.WriteRawTag(242, 3); + output.WriteString(AttributeId); + } + if (PresentsTraitId != 0) { + output.WriteRawTag(248, 3); + output.WriteInt32(PresentsTraitId); + } + skillsUpgradeGroup_.WriteTo(output, _repeated_skillsUpgradeGroup_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Visible != false) { + output.WriteRawTag(24); + output.WriteBool(Visible); + } + if (Available != false) { + output.WriteRawTag(32); + output.WriteBool(Available); + } + if (Grade != 0) { + output.WriteRawTag(40); + output.WriteInt32(Grade); + } + if (DefaultSkinId != 0) { + output.WriteRawTag(48); + output.WriteInt32(DefaultSkinId); + } + if (AdvanceSkinId != 0) { + output.WriteRawTag(56); + output.WriteInt32(AdvanceSkinId); + } + if (AdvanceGroup != 0) { + output.WriteRawTag(64); + output.WriteInt32(AdvanceGroup); + } + if (AdvanceSkinUnlockLevel != 0) { + output.WriteRawTag(72); + output.WriteInt32(AdvanceSkinUnlockLevel); + } + if (Faction != 0) { + output.WriteRawTag(80); + output.WriteInt32(Faction); + } + if (Weight != 0) { + output.WriteRawTag(88); + output.WriteInt32(Weight); + } + if (EET != 0) { + output.WriteRawTag(96); + output.WriteInt32(EET); + } + if (Class != 0) { + output.WriteRawTag(104); + output.WriteInt32(Class); + } + if (CharacterAttackType != 0) { + output.WriteRawTag(112); + output.WriteInt32(CharacterAttackType); + } + if (SearchTargetType != 0) { + output.WriteRawTag(120); + output.WriteInt32(SearchTargetType); + } + if (AtkSpd != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AtkSpd); + } + if (MovType != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(MovType); + } + if (WalkSpd != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(WalkSpd); + } + if (RunSpd != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(RunSpd); + } + if (SpRunSpd != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(SpRunSpd); + } + if (TransSpd != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(TransSpd); + } + if (WalkToRunDuration != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(WalkToRunDuration); + } + if (DodgeToRunAccelerationOrNot != false) { + output.WriteRawTag(184, 1); + output.WriteBool(DodgeToRunAccelerationOrNot); + } + if (MovAcc != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(MovAcc); + } + if (RotSpd != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(RotSpd); + } + if (RotAcc != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(RotAcc); + } + if (VisionDeg != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(VisionDeg); + } + if (VisionRng != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(VisionRng); + } + if (VisionAttackRng != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(VisionAttackRng); + } + if (HearRng != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(HearRng); + } + if (HearAttackRng != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(HearAttackRng); + } + if (RaiseGunRng != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(RaiseGunRng); + } + if (BulletType != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(BulletType); + } + if (Ammo != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(Ammo); + } + if (AIId != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(AIId); + } + if (NormalAtkId != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(NormalAtkId); + } + if (DodgeId != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(DodgeId); + } + if (SkillId != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(SkillId); + } + if (SpecialSkillId != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(SpecialSkillId); + } + if (UltimateId != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(UltimateId); + } + if (AssistAIId != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(AssistAIId); + } + if (AssistNormalAtkId != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(AssistNormalAtkId); + } + if (AssistDodgeId != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(AssistDodgeId); + } + if (AssistSkillId != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(AssistSkillId); + } + if (AssistSpecialSkillId != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(AssistSpecialSkillId); + } + if (AssistUltimateId != 0) { + output.WriteRawTag(240, 2); + output.WriteInt32(AssistUltimateId); + } + if (TalentSkillId != 0) { + output.WriteRawTag(248, 2); + output.WriteInt32(TalentSkillId); + } + if (AssistSkillOnStageType != 0) { + output.WriteRawTag(128, 3); + output.WriteInt32(AssistSkillOnStageType); + } + if (AssistSkillAngle != 0) { + output.WriteRawTag(136, 3); + output.WriteInt32(AssistSkillAngle); + } + if (AssistSkillRadius != 0) { + output.WriteRawTag(144, 3); + output.WriteInt32(AssistSkillRadius); + } + if (AssistSkillOnStageOrientation != 0) { + output.WriteRawTag(152, 3); + output.WriteInt32(AssistSkillOnStageOrientation); + } + if (AssistUltimateOnStageType != 0) { + output.WriteRawTag(160, 3); + output.WriteInt32(AssistUltimateOnStageType); + } + if (AssistUltimateAngle != 0) { + output.WriteRawTag(168, 3); + output.WriteInt32(AssistUltimateAngle); + } + if (AssistUltimateRadius != 0) { + output.WriteRawTag(176, 3); + output.WriteInt32(AssistUltimateRadius); + } + if (AssistUltimateOnStageOrientation != 0) { + output.WriteRawTag(184, 3); + output.WriteInt32(AssistUltimateOnStageOrientation); + } + if (SwitchCD != 0) { + output.WriteRawTag(192, 3); + output.WriteInt32(SwitchCD); + } + if (EnergyConvRatio != 0) { + output.WriteRawTag(200, 3); + output.WriteInt32(EnergyConvRatio); + } + if (EnergyEfficiency != 0) { + output.WriteRawTag(208, 3); + output.WriteInt32(EnergyEfficiency); + } + if (FragmentsId != 0) { + output.WriteRawTag(216, 3); + output.WriteInt32(FragmentsId); + } + if (TransformQty != 0) { + output.WriteRawTag(224, 3); + output.WriteInt32(TransformQty); + } + if (RecruitmentQty != 0) { + output.WriteRawTag(232, 3); + output.WriteInt32(RecruitmentQty); + } + if (AttributeId.Length != 0) { + output.WriteRawTag(242, 3); + output.WriteString(AttributeId); + } + if (PresentsTraitId != 0) { + output.WriteRawTag(248, 3); + output.WriteInt32(PresentsTraitId); + } + skillsUpgradeGroup_.WriteTo(ref output, _repeated_skillsUpgradeGroup_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Visible != false) { + size += 1 + 1; + } + if (Available != false) { + size += 1 + 1; + } + if (Grade != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Grade); + } + if (DefaultSkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultSkinId); + } + if (AdvanceSkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceSkinId); + } + if (AdvanceGroup != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceGroup); + } + if (AdvanceSkinUnlockLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceSkinUnlockLevel); + } + if (Faction != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Faction); + } + if (Weight != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + if (EET != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); + } + if (Class != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Class); + } + if (CharacterAttackType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterAttackType); + } + if (SearchTargetType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SearchTargetType); + } + if (AtkSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AtkSpd); + } + if (MovType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MovType); + } + if (WalkSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WalkSpd); + } + if (RunSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RunSpd); + } + if (SpRunSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SpRunSpd); + } + if (TransSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TransSpd); + } + if (WalkToRunDuration != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WalkToRunDuration); + } + if (DodgeToRunAccelerationOrNot != false) { + size += 2 + 1; + } + if (MovAcc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); + } + if (RotSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); + } + if (RotAcc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotAcc); + } + if (VisionDeg != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionDeg); + } + if (VisionRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionRng); + } + if (VisionAttackRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionAttackRng); + } + if (HearRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HearRng); + } + if (HearAttackRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HearAttackRng); + } + if (RaiseGunRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RaiseGunRng); + } + if (BulletType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(BulletType); + } + if (Ammo != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Ammo); + } + if (AIId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AIId); + } + if (NormalAtkId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalAtkId); + } + if (DodgeId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DodgeId); + } + if (SkillId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillId); + } + if (SpecialSkillId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SpecialSkillId); + } + if (UltimateId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltimateId); + } + if (AssistAIId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistAIId); + } + if (AssistNormalAtkId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistNormalAtkId); + } + if (AssistDodgeId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistDodgeId); + } + if (AssistSkillId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillId); + } + if (AssistSpecialSkillId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSpecialSkillId); + } + if (AssistUltimateId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateId); + } + if (TalentSkillId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TalentSkillId); + } + if (AssistSkillOnStageType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillOnStageType); + } + if (AssistSkillAngle != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillAngle); + } + if (AssistSkillRadius != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillRadius); + } + if (AssistSkillOnStageOrientation != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistSkillOnStageOrientation); + } + if (AssistUltimateOnStageType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateOnStageType); + } + if (AssistUltimateAngle != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateAngle); + } + if (AssistUltimateRadius != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateRadius); + } + if (AssistUltimateOnStageOrientation != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AssistUltimateOnStageOrientation); + } + if (SwitchCD != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SwitchCD); + } + if (EnergyConvRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyConvRatio); + } + if (EnergyEfficiency != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyEfficiency); + } + if (FragmentsId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FragmentsId); + } + if (TransformQty != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TransformQty); + } + if (RecruitmentQty != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RecruitmentQty); + } + if (AttributeId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AttributeId); + } + if (PresentsTraitId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PresentsTraitId); + } + size += skillsUpgradeGroup_.CalculateSize(_repeated_skillsUpgradeGroup_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Character other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Visible != false) { + Visible = other.Visible; + } + if (other.Available != false) { + Available = other.Available; + } + if (other.Grade != 0) { + Grade = other.Grade; + } + if (other.DefaultSkinId != 0) { + DefaultSkinId = other.DefaultSkinId; + } + if (other.AdvanceSkinId != 0) { + AdvanceSkinId = other.AdvanceSkinId; + } + if (other.AdvanceGroup != 0) { + AdvanceGroup = other.AdvanceGroup; + } + if (other.AdvanceSkinUnlockLevel != 0) { + AdvanceSkinUnlockLevel = other.AdvanceSkinUnlockLevel; + } + if (other.Faction != 0) { + Faction = other.Faction; + } + if (other.Weight != 0) { + Weight = other.Weight; + } + if (other.EET != 0) { + EET = other.EET; + } + if (other.Class != 0) { + Class = other.Class; + } + if (other.CharacterAttackType != 0) { + CharacterAttackType = other.CharacterAttackType; + } + if (other.SearchTargetType != 0) { + SearchTargetType = other.SearchTargetType; + } + if (other.AtkSpd != 0) { + AtkSpd = other.AtkSpd; + } + if (other.MovType != 0) { + MovType = other.MovType; + } + if (other.WalkSpd != 0) { + WalkSpd = other.WalkSpd; + } + if (other.RunSpd != 0) { + RunSpd = other.RunSpd; + } + if (other.SpRunSpd != 0) { + SpRunSpd = other.SpRunSpd; + } + if (other.TransSpd != 0) { + TransSpd = other.TransSpd; + } + if (other.WalkToRunDuration != 0) { + WalkToRunDuration = other.WalkToRunDuration; + } + if (other.DodgeToRunAccelerationOrNot != false) { + DodgeToRunAccelerationOrNot = other.DodgeToRunAccelerationOrNot; + } + if (other.MovAcc != 0) { + MovAcc = other.MovAcc; + } + if (other.RotSpd != 0) { + RotSpd = other.RotSpd; + } + if (other.RotAcc != 0) { + RotAcc = other.RotAcc; + } + if (other.VisionDeg != 0) { + VisionDeg = other.VisionDeg; + } + if (other.VisionRng != 0) { + VisionRng = other.VisionRng; + } + if (other.VisionAttackRng != 0) { + VisionAttackRng = other.VisionAttackRng; + } + if (other.HearRng != 0) { + HearRng = other.HearRng; + } + if (other.HearAttackRng != 0) { + HearAttackRng = other.HearAttackRng; + } + if (other.RaiseGunRng != 0) { + RaiseGunRng = other.RaiseGunRng; + } + if (other.BulletType != 0) { + BulletType = other.BulletType; + } + if (other.Ammo != 0) { + Ammo = other.Ammo; + } + if (other.AIId != 0) { + AIId = other.AIId; + } + if (other.NormalAtkId != 0) { + NormalAtkId = other.NormalAtkId; + } + if (other.DodgeId != 0) { + DodgeId = other.DodgeId; + } + if (other.SkillId != 0) { + SkillId = other.SkillId; + } + if (other.SpecialSkillId != 0) { + SpecialSkillId = other.SpecialSkillId; + } + if (other.UltimateId != 0) { + UltimateId = other.UltimateId; + } + if (other.AssistAIId != 0) { + AssistAIId = other.AssistAIId; + } + if (other.AssistNormalAtkId != 0) { + AssistNormalAtkId = other.AssistNormalAtkId; + } + if (other.AssistDodgeId != 0) { + AssistDodgeId = other.AssistDodgeId; + } + if (other.AssistSkillId != 0) { + AssistSkillId = other.AssistSkillId; + } + if (other.AssistSpecialSkillId != 0) { + AssistSpecialSkillId = other.AssistSpecialSkillId; + } + if (other.AssistUltimateId != 0) { + AssistUltimateId = other.AssistUltimateId; + } + if (other.TalentSkillId != 0) { + TalentSkillId = other.TalentSkillId; + } + if (other.AssistSkillOnStageType != 0) { + AssistSkillOnStageType = other.AssistSkillOnStageType; + } + if (other.AssistSkillAngle != 0) { + AssistSkillAngle = other.AssistSkillAngle; + } + if (other.AssistSkillRadius != 0) { + AssistSkillRadius = other.AssistSkillRadius; + } + if (other.AssistSkillOnStageOrientation != 0) { + AssistSkillOnStageOrientation = other.AssistSkillOnStageOrientation; + } + if (other.AssistUltimateOnStageType != 0) { + AssistUltimateOnStageType = other.AssistUltimateOnStageType; + } + if (other.AssistUltimateAngle != 0) { + AssistUltimateAngle = other.AssistUltimateAngle; + } + if (other.AssistUltimateRadius != 0) { + AssistUltimateRadius = other.AssistUltimateRadius; + } + if (other.AssistUltimateOnStageOrientation != 0) { + AssistUltimateOnStageOrientation = other.AssistUltimateOnStageOrientation; + } + if (other.SwitchCD != 0) { + SwitchCD = other.SwitchCD; + } + if (other.EnergyConvRatio != 0) { + EnergyConvRatio = other.EnergyConvRatio; + } + if (other.EnergyEfficiency != 0) { + EnergyEfficiency = other.EnergyEfficiency; + } + if (other.FragmentsId != 0) { + FragmentsId = other.FragmentsId; + } + if (other.TransformQty != 0) { + TransformQty = other.TransformQty; + } + if (other.RecruitmentQty != 0) { + RecruitmentQty = other.RecruitmentQty; + } + if (other.AttributeId.Length != 0) { + AttributeId = other.AttributeId; + } + if (other.PresentsTraitId != 0) { + PresentsTraitId = other.PresentsTraitId; + } + skillsUpgradeGroup_.Add(other.skillsUpgradeGroup_); + _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: { + Visible = input.ReadBool(); + break; + } + case 32: { + Available = input.ReadBool(); + break; + } + case 40: { + Grade = input.ReadInt32(); + break; + } + case 48: { + DefaultSkinId = input.ReadInt32(); + break; + } + case 56: { + AdvanceSkinId = input.ReadInt32(); + break; + } + case 64: { + AdvanceGroup = input.ReadInt32(); + break; + } + case 72: { + AdvanceSkinUnlockLevel = input.ReadInt32(); + break; + } + case 80: { + Faction = input.ReadInt32(); + break; + } + case 88: { + Weight = input.ReadInt32(); + break; + } + case 96: { + EET = input.ReadInt32(); + break; + } + case 104: { + Class = input.ReadInt32(); + break; + } + case 112: { + CharacterAttackType = input.ReadInt32(); + break; + } + case 120: { + SearchTargetType = input.ReadInt32(); + break; + } + case 128: { + AtkSpd = input.ReadInt32(); + break; + } + case 136: { + MovType = input.ReadInt32(); + break; + } + case 144: { + WalkSpd = input.ReadInt32(); + break; + } + case 152: { + RunSpd = input.ReadInt32(); + break; + } + case 160: { + SpRunSpd = input.ReadInt32(); + break; + } + case 168: { + TransSpd = input.ReadInt32(); + break; + } + case 176: { + WalkToRunDuration = input.ReadInt32(); + break; + } + case 184: { + DodgeToRunAccelerationOrNot = input.ReadBool(); + break; + } + case 192: { + MovAcc = input.ReadInt32(); + break; + } + case 200: { + RotSpd = input.ReadInt32(); + break; + } + case 208: { + RotAcc = input.ReadInt32(); + break; + } + case 216: { + VisionDeg = input.ReadInt32(); + break; + } + case 224: { + VisionRng = input.ReadInt32(); + break; + } + case 232: { + VisionAttackRng = input.ReadInt32(); + break; + } + case 240: { + HearRng = input.ReadInt32(); + break; + } + case 248: { + HearAttackRng = input.ReadInt32(); + break; + } + case 256: { + RaiseGunRng = input.ReadInt32(); + break; + } + case 264: { + BulletType = input.ReadInt32(); + break; + } + case 272: { + Ammo = input.ReadInt32(); + break; + } + case 280: { + AIId = input.ReadInt32(); + break; + } + case 288: { + NormalAtkId = input.ReadInt32(); + break; + } + case 296: { + DodgeId = input.ReadInt32(); + break; + } + case 304: { + SkillId = input.ReadInt32(); + break; + } + case 312: { + SpecialSkillId = input.ReadInt32(); + break; + } + case 320: { + UltimateId = input.ReadInt32(); + break; + } + case 328: { + AssistAIId = input.ReadInt32(); + break; + } + case 336: { + AssistNormalAtkId = input.ReadInt32(); + break; + } + case 344: { + AssistDodgeId = input.ReadInt32(); + break; + } + case 352: { + AssistSkillId = input.ReadInt32(); + break; + } + case 360: { + AssistSpecialSkillId = input.ReadInt32(); + break; + } + case 368: { + AssistUltimateId = input.ReadInt32(); + break; + } + case 376: { + TalentSkillId = input.ReadInt32(); + break; + } + case 384: { + AssistSkillOnStageType = input.ReadInt32(); + break; + } + case 392: { + AssistSkillAngle = input.ReadInt32(); + break; + } + case 400: { + AssistSkillRadius = input.ReadInt32(); + break; + } + case 408: { + AssistSkillOnStageOrientation = input.ReadInt32(); + break; + } + case 416: { + AssistUltimateOnStageType = input.ReadInt32(); + break; + } + case 424: { + AssistUltimateAngle = input.ReadInt32(); + break; + } + case 432: { + AssistUltimateRadius = input.ReadInt32(); + break; + } + case 440: { + AssistUltimateOnStageOrientation = input.ReadInt32(); + break; + } + case 448: { + SwitchCD = input.ReadInt32(); + break; + } + case 456: { + EnergyConvRatio = input.ReadInt32(); + break; + } + case 464: { + EnergyEfficiency = input.ReadInt32(); + break; + } + case 472: { + FragmentsId = input.ReadInt32(); + break; + } + case 480: { + TransformQty = input.ReadInt32(); + break; + } + case 488: { + RecruitmentQty = input.ReadInt32(); + break; + } + case 498: { + AttributeId = input.ReadString(); + break; + } + case 504: { + PresentsTraitId = input.ReadInt32(); + break; + } + case 514: + case 512: { + skillsUpgradeGroup_.AddEntriesFrom(input, _repeated_skillsUpgradeGroup_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 18: { + Name = input.ReadString(); + break; + } + case 24: { + Visible = input.ReadBool(); + break; + } + case 32: { + Available = input.ReadBool(); + break; + } + case 40: { + Grade = input.ReadInt32(); + break; + } + case 48: { + DefaultSkinId = input.ReadInt32(); + break; + } + case 56: { + AdvanceSkinId = input.ReadInt32(); + break; + } + case 64: { + AdvanceGroup = input.ReadInt32(); + break; + } + case 72: { + AdvanceSkinUnlockLevel = input.ReadInt32(); + break; + } + case 80: { + Faction = input.ReadInt32(); + break; + } + case 88: { + Weight = input.ReadInt32(); + break; + } + case 96: { + EET = input.ReadInt32(); + break; + } + case 104: { + Class = input.ReadInt32(); + break; + } + case 112: { + CharacterAttackType = input.ReadInt32(); + break; + } + case 120: { + SearchTargetType = input.ReadInt32(); + break; + } + case 128: { + AtkSpd = input.ReadInt32(); + break; + } + case 136: { + MovType = input.ReadInt32(); + break; + } + case 144: { + WalkSpd = input.ReadInt32(); + break; + } + case 152: { + RunSpd = input.ReadInt32(); + break; + } + case 160: { + SpRunSpd = input.ReadInt32(); + break; + } + case 168: { + TransSpd = input.ReadInt32(); + break; + } + case 176: { + WalkToRunDuration = input.ReadInt32(); + break; + } + case 184: { + DodgeToRunAccelerationOrNot = input.ReadBool(); + break; + } + case 192: { + MovAcc = input.ReadInt32(); + break; + } + case 200: { + RotSpd = input.ReadInt32(); + break; + } + case 208: { + RotAcc = input.ReadInt32(); + break; + } + case 216: { + VisionDeg = input.ReadInt32(); + break; + } + case 224: { + VisionRng = input.ReadInt32(); + break; + } + case 232: { + VisionAttackRng = input.ReadInt32(); + break; + } + case 240: { + HearRng = input.ReadInt32(); + break; + } + case 248: { + HearAttackRng = input.ReadInt32(); + break; + } + case 256: { + RaiseGunRng = input.ReadInt32(); + break; + } + case 264: { + BulletType = input.ReadInt32(); + break; + } + case 272: { + Ammo = input.ReadInt32(); + break; + } + case 280: { + AIId = input.ReadInt32(); + break; + } + case 288: { + NormalAtkId = input.ReadInt32(); + break; + } + case 296: { + DodgeId = input.ReadInt32(); + break; + } + case 304: { + SkillId = input.ReadInt32(); + break; + } + case 312: { + SpecialSkillId = input.ReadInt32(); + break; + } + case 320: { + UltimateId = input.ReadInt32(); + break; + } + case 328: { + AssistAIId = input.ReadInt32(); + break; + } + case 336: { + AssistNormalAtkId = input.ReadInt32(); + break; + } + case 344: { + AssistDodgeId = input.ReadInt32(); + break; + } + case 352: { + AssistSkillId = input.ReadInt32(); + break; + } + case 360: { + AssistSpecialSkillId = input.ReadInt32(); + break; + } + case 368: { + AssistUltimateId = input.ReadInt32(); + break; + } + case 376: { + TalentSkillId = input.ReadInt32(); + break; + } + case 384: { + AssistSkillOnStageType = input.ReadInt32(); + break; + } + case 392: { + AssistSkillAngle = input.ReadInt32(); + break; + } + case 400: { + AssistSkillRadius = input.ReadInt32(); + break; + } + case 408: { + AssistSkillOnStageOrientation = input.ReadInt32(); + break; + } + case 416: { + AssistUltimateOnStageType = input.ReadInt32(); + break; + } + case 424: { + AssistUltimateAngle = input.ReadInt32(); + break; + } + case 432: { + AssistUltimateRadius = input.ReadInt32(); + break; + } + case 440: { + AssistUltimateOnStageOrientation = input.ReadInt32(); + break; + } + case 448: { + SwitchCD = input.ReadInt32(); + break; + } + case 456: { + EnergyConvRatio = input.ReadInt32(); + break; + } + case 464: { + EnergyEfficiency = input.ReadInt32(); + break; + } + case 472: { + FragmentsId = input.ReadInt32(); + break; + } + case 480: { + TransformQty = input.ReadInt32(); + break; + } + case 488: { + RecruitmentQty = input.ReadInt32(); + break; + } + case 498: { + AttributeId = input.ReadString(); + break; + } + case 504: { + PresentsTraitId = input.ReadInt32(); + break; + } + case 514: + case 512: { + skillsUpgradeGroup_.AddEntriesFrom(ref input, _repeated_skillsUpgradeGroup_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Character : pb::IMessage<table_Character> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Character> _parser = new pb::MessageParser<table_Character>(() => new table_Character()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Character> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.ClientTableReflection.Descriptor.MessageTypes[47]; } + } + + [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 table_Character() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Character(table_Character other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Character Clone() { + return new table_Character(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Character> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Character.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Character> list_ = new pbc::RepeatedField<global::Nova.Client.Character>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Character> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Character); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Character other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Character other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterAdvance : pb::IMessage<CharacterAdvance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterAdvance> _parser = new pb::MessageParser<CharacterAdvance>(() => new CharacterAdvance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterAdvance> 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.ClientTableReflection.Descriptor.MessageTypes[48]; } + } + + [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 CharacterAdvance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterAdvance(CharacterAdvance other) : this() { + id_ = other.id_; + group_ = other.group_; + advanceLvl_ = other.advanceLvl_; + tid1_ = other.tid1_; + qty1_ = other.qty1_; + tid2_ = other.tid2_; + qty2_ = other.qty2_; + tid3_ = other.tid3_; + qty3_ = other.qty3_; + tid4_ = other.tid4_; + qty4_ = other.qty4_; + goldQty_ = other.goldQty_; + awardTid1_ = other.awardTid1_; + awardQty1_ = other.awardQty1_; + awardTid2_ = other.awardTid2_; + awardQty2_ = other.awardQty2_; + awardTid3_ = other.awardTid3_; + awardQty3_ = other.awardQty3_; + advanceDescFront1_ = other.advanceDescFront1_; + advanceDescAfter1_ = other.advanceDescAfter1_; + advanceDescFront2_ = other.advanceDescFront2_; + advanceDescAfter2_ = other.advanceDescAfter2_; + advanceDescFront3_ = other.advanceDescFront3_; + advanceDescAfter3_ = other.advanceDescAfter3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterAdvance Clone() { + return new CharacterAdvance(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" field.</summary> + public const int GroupFieldNumber = 2; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "AdvanceLvl" field.</summary> + public const int AdvanceLvlFieldNumber = 3; + private int advanceLvl_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdvanceLvl { + get { return advanceLvl_; } + set { + advanceLvl_ = value; + } + } + + /// <summary>Field number for the "Tid1" field.</summary> + public const int Tid1FieldNumber = 4; + private int tid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid1 { + get { return tid1_; } + set { + tid1_ = value; + } + } + + /// <summary>Field number for the "Qty1" field.</summary> + public const int Qty1FieldNumber = 5; + private int qty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty1 { + get { return qty1_; } + set { + qty1_ = value; + } + } + + /// <summary>Field number for the "Tid2" field.</summary> + public const int Tid2FieldNumber = 6; + private int tid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid2 { + get { return tid2_; } + set { + tid2_ = value; + } + } + + /// <summary>Field number for the "Qty2" field.</summary> + public const int Qty2FieldNumber = 7; + private int qty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty2 { + get { return qty2_; } + set { + qty2_ = value; + } + } + + /// <summary>Field number for the "Tid3" field.</summary> + public const int Tid3FieldNumber = 8; + private int tid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid3 { + get { return tid3_; } + set { + tid3_ = value; + } + } + + /// <summary>Field number for the "Qty3" field.</summary> + public const int Qty3FieldNumber = 9; + private int qty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty3 { + get { return qty3_; } + set { + qty3_ = value; + } + } + + /// <summary>Field number for the "Tid4" field.</summary> + public const int Tid4FieldNumber = 10; + private int tid4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid4 { + get { return tid4_; } + set { + tid4_ = value; + } + } + + /// <summary>Field number for the "Qty4" field.</summary> + public const int Qty4FieldNumber = 11; + private int qty4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty4 { + get { return qty4_; } + set { + qty4_ = value; + } + } + + /// <summary>Field number for the "GoldQty" field.</summary> + public const int GoldQtyFieldNumber = 12; + private int goldQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GoldQty { + get { return goldQty_; } + set { + goldQty_ = value; + } + } + + /// <summary>Field number for the "AwardTid1" field.</summary> + public const int AwardTid1FieldNumber = 13; + private int awardTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardTid1 { + get { return awardTid1_; } + set { + awardTid1_ = value; + } + } + + /// <summary>Field number for the "AwardQty1" field.</summary> + public const int AwardQty1FieldNumber = 14; + private int awardQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardQty1 { + get { return awardQty1_; } + set { + awardQty1_ = value; + } + } + + /// <summary>Field number for the "AwardTid2" field.</summary> + public const int AwardTid2FieldNumber = 15; + private int awardTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardTid2 { + get { return awardTid2_; } + set { + awardTid2_ = value; + } + } + + /// <summary>Field number for the "AwardQty2" field.</summary> + public const int AwardQty2FieldNumber = 16; + private int awardQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardQty2 { + get { return awardQty2_; } + set { + awardQty2_ = value; + } + } + + /// <summary>Field number for the "AwardTid3" field.</summary> + public const int AwardTid3FieldNumber = 17; + private int awardTid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardTid3 { + get { return awardTid3_; } + set { + awardTid3_ = value; + } + } + + /// <summary>Field number for the "AwardQty3" field.</summary> + public const int AwardQty3FieldNumber = 18; + private int awardQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardQty3 { + get { return awardQty3_; } + set { + awardQty3_ = value; + } + } + + /// <summary>Field number for the "AdvanceDescFront1" field.</summary> + public const int AdvanceDescFront1FieldNumber = 19; + private string advanceDescFront1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdvanceDescFront1 { + get { return advanceDescFront1_; } + set { + advanceDescFront1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AdvanceDescAfter1" field.</summary> + public const int AdvanceDescAfter1FieldNumber = 20; + private string advanceDescAfter1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdvanceDescAfter1 { + get { return advanceDescAfter1_; } + set { + advanceDescAfter1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AdvanceDescFront2" field.</summary> + public const int AdvanceDescFront2FieldNumber = 21; + private string advanceDescFront2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdvanceDescFront2 { + get { return advanceDescFront2_; } + set { + advanceDescFront2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AdvanceDescAfter2" field.</summary> + public const int AdvanceDescAfter2FieldNumber = 22; + private string advanceDescAfter2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdvanceDescAfter2 { + get { return advanceDescAfter2_; } + set { + advanceDescAfter2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AdvanceDescFront3" field.</summary> + public const int AdvanceDescFront3FieldNumber = 23; + private string advanceDescFront3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdvanceDescFront3 { + get { return advanceDescFront3_; } + set { + advanceDescFront3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AdvanceDescAfter3" field.</summary> + public const int AdvanceDescAfter3FieldNumber = 24; + private string advanceDescAfter3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AdvanceDescAfter3 { + get { return advanceDescAfter3_; } + set { + advanceDescAfter3_ = 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 CharacterAdvance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterAdvance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Group != other.Group) return false; + if (AdvanceLvl != other.AdvanceLvl) return false; + if (Tid1 != other.Tid1) return false; + if (Qty1 != other.Qty1) return false; + if (Tid2 != other.Tid2) return false; + if (Qty2 != other.Qty2) return false; + if (Tid3 != other.Tid3) return false; + if (Qty3 != other.Qty3) return false; + if (Tid4 != other.Tid4) return false; + if (Qty4 != other.Qty4) return false; + if (GoldQty != other.GoldQty) return false; + if (AwardTid1 != other.AwardTid1) return false; + if (AwardQty1 != other.AwardQty1) return false; + if (AwardTid2 != other.AwardTid2) return false; + if (AwardQty2 != other.AwardQty2) return false; + if (AwardTid3 != other.AwardTid3) return false; + if (AwardQty3 != other.AwardQty3) return false; + if (AdvanceDescFront1 != other.AdvanceDescFront1) return false; + if (AdvanceDescAfter1 != other.AdvanceDescAfter1) return false; + if (AdvanceDescFront2 != other.AdvanceDescFront2) return false; + if (AdvanceDescAfter2 != other.AdvanceDescAfter2) return false; + if (AdvanceDescFront3 != other.AdvanceDescFront3) return false; + if (AdvanceDescAfter3 != other.AdvanceDescAfter3) 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 (Group != 0) hash ^= Group.GetHashCode(); + if (AdvanceLvl != 0) hash ^= AdvanceLvl.GetHashCode(); + if (Tid1 != 0) hash ^= Tid1.GetHashCode(); + if (Qty1 != 0) hash ^= Qty1.GetHashCode(); + if (Tid2 != 0) hash ^= Tid2.GetHashCode(); + if (Qty2 != 0) hash ^= Qty2.GetHashCode(); + if (Tid3 != 0) hash ^= Tid3.GetHashCode(); + if (Qty3 != 0) hash ^= Qty3.GetHashCode(); + if (Tid4 != 0) hash ^= Tid4.GetHashCode(); + if (Qty4 != 0) hash ^= Qty4.GetHashCode(); + if (GoldQty != 0) hash ^= GoldQty.GetHashCode(); + if (AwardTid1 != 0) hash ^= AwardTid1.GetHashCode(); + if (AwardQty1 != 0) hash ^= AwardQty1.GetHashCode(); + if (AwardTid2 != 0) hash ^= AwardTid2.GetHashCode(); + if (AwardQty2 != 0) hash ^= AwardQty2.GetHashCode(); + if (AwardTid3 != 0) hash ^= AwardTid3.GetHashCode(); + if (AwardQty3 != 0) hash ^= AwardQty3.GetHashCode(); + if (AdvanceDescFront1.Length != 0) hash ^= AdvanceDescFront1.GetHashCode(); + if (AdvanceDescAfter1.Length != 0) hash ^= AdvanceDescAfter1.GetHashCode(); + if (AdvanceDescFront2.Length != 0) hash ^= AdvanceDescFront2.GetHashCode(); + if (AdvanceDescAfter2.Length != 0) hash ^= AdvanceDescAfter2.GetHashCode(); + if (AdvanceDescFront3.Length != 0) hash ^= AdvanceDescFront3.GetHashCode(); + if (AdvanceDescAfter3.Length != 0) hash ^= AdvanceDescAfter3.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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (AdvanceLvl != 0) { + output.WriteRawTag(24); + output.WriteInt32(AdvanceLvl); + } + if (Tid1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Qty3); + } + if (Tid4 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Tid4); + } + if (Qty4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Qty4); + } + if (GoldQty != 0) { + output.WriteRawTag(96); + output.WriteInt32(GoldQty); + } + if (AwardTid1 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardTid1); + } + if (AwardQty1 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardQty1); + } + if (AwardTid2 != 0) { + output.WriteRawTag(120); + output.WriteInt32(AwardTid2); + } + if (AwardQty2 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AwardQty2); + } + if (AwardTid3 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(AwardTid3); + } + if (AwardQty3 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(AwardQty3); + } + if (AdvanceDescFront1.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(AdvanceDescFront1); + } + if (AdvanceDescAfter1.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(AdvanceDescAfter1); + } + if (AdvanceDescFront2.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(AdvanceDescFront2); + } + if (AdvanceDescAfter2.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(AdvanceDescAfter2); + } + if (AdvanceDescFront3.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(AdvanceDescFront3); + } + if (AdvanceDescAfter3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(AdvanceDescAfter3); + } + 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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (AdvanceLvl != 0) { + output.WriteRawTag(24); + output.WriteInt32(AdvanceLvl); + } + if (Tid1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Qty3); + } + if (Tid4 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Tid4); + } + if (Qty4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Qty4); + } + if (GoldQty != 0) { + output.WriteRawTag(96); + output.WriteInt32(GoldQty); + } + if (AwardTid1 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardTid1); + } + if (AwardQty1 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardQty1); + } + if (AwardTid2 != 0) { + output.WriteRawTag(120); + output.WriteInt32(AwardTid2); + } + if (AwardQty2 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AwardQty2); + } + if (AwardTid3 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(AwardTid3); + } + if (AwardQty3 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(AwardQty3); + } + if (AdvanceDescFront1.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(AdvanceDescFront1); + } + if (AdvanceDescAfter1.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(AdvanceDescAfter1); + } + if (AdvanceDescFront2.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(AdvanceDescFront2); + } + if (AdvanceDescAfter2.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(AdvanceDescAfter2); + } + if (AdvanceDescFront3.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(AdvanceDescFront3); + } + if (AdvanceDescAfter3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(AdvanceDescAfter3); + } + 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 (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (AdvanceLvl != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceLvl); + } + if (Tid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); + } + if (Qty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); + } + if (Tid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); + } + if (Qty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); + } + if (Tid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); + } + if (Qty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); + } + if (Tid4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid4); + } + if (Qty4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty4); + } + if (GoldQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GoldQty); + } + if (AwardTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardTid1); + } + if (AwardQty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardQty1); + } + if (AwardTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardTid2); + } + if (AwardQty2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardQty2); + } + if (AwardTid3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardTid3); + } + if (AwardQty3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AwardQty3); + } + if (AdvanceDescFront1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront1); + } + if (AdvanceDescAfter1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter1); + } + if (AdvanceDescFront2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront2); + } + if (AdvanceDescAfter2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter2); + } + if (AdvanceDescFront3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescFront3); + } + if (AdvanceDescAfter3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AdvanceDescAfter3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterAdvance other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.AdvanceLvl != 0) { + AdvanceLvl = other.AdvanceLvl; + } + if (other.Tid1 != 0) { + Tid1 = other.Tid1; + } + if (other.Qty1 != 0) { + Qty1 = other.Qty1; + } + if (other.Tid2 != 0) { + Tid2 = other.Tid2; + } + if (other.Qty2 != 0) { + Qty2 = other.Qty2; + } + if (other.Tid3 != 0) { + Tid3 = other.Tid3; + } + if (other.Qty3 != 0) { + Qty3 = other.Qty3; + } + if (other.Tid4 != 0) { + Tid4 = other.Tid4; + } + if (other.Qty4 != 0) { + Qty4 = other.Qty4; + } + if (other.GoldQty != 0) { + GoldQty = other.GoldQty; + } + if (other.AwardTid1 != 0) { + AwardTid1 = other.AwardTid1; + } + if (other.AwardQty1 != 0) { + AwardQty1 = other.AwardQty1; + } + if (other.AwardTid2 != 0) { + AwardTid2 = other.AwardTid2; + } + if (other.AwardQty2 != 0) { + AwardQty2 = other.AwardQty2; + } + if (other.AwardTid3 != 0) { + AwardTid3 = other.AwardTid3; + } + if (other.AwardQty3 != 0) { + AwardQty3 = other.AwardQty3; + } + if (other.AdvanceDescFront1.Length != 0) { + AdvanceDescFront1 = other.AdvanceDescFront1; + } + if (other.AdvanceDescAfter1.Length != 0) { + AdvanceDescAfter1 = other.AdvanceDescAfter1; + } + if (other.AdvanceDescFront2.Length != 0) { + AdvanceDescFront2 = other.AdvanceDescFront2; + } + if (other.AdvanceDescAfter2.Length != 0) { + AdvanceDescAfter2 = other.AdvanceDescAfter2; + } + if (other.AdvanceDescFront3.Length != 0) { + AdvanceDescFront3 = other.AdvanceDescFront3; + } + if (other.AdvanceDescAfter3.Length != 0) { + AdvanceDescAfter3 = other.AdvanceDescAfter3; + } + _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: { + Group = input.ReadInt32(); + break; + } + case 24: { + AdvanceLvl = input.ReadInt32(); + break; + } + case 32: { + Tid1 = input.ReadInt32(); + break; + } + case 40: { + Qty1 = input.ReadInt32(); + break; + } + case 48: { + Tid2 = input.ReadInt32(); + break; + } + case 56: { + Qty2 = input.ReadInt32(); + break; + } + case 64: { + Tid3 = input.ReadInt32(); + break; + } + case 72: { + Qty3 = input.ReadInt32(); + break; + } + case 80: { + Tid4 = input.ReadInt32(); + break; + } + case 88: { + Qty4 = input.ReadInt32(); + break; + } + case 96: { + GoldQty = input.ReadInt32(); + break; + } + case 104: { + AwardTid1 = input.ReadInt32(); + break; + } + case 112: { + AwardQty1 = input.ReadInt32(); + break; + } + case 120: { + AwardTid2 = input.ReadInt32(); + break; + } + case 128: { + AwardQty2 = input.ReadInt32(); + break; + } + case 136: { + AwardTid3 = input.ReadInt32(); + break; + } + case 144: { + AwardQty3 = input.ReadInt32(); + break; + } + case 154: { + AdvanceDescFront1 = input.ReadString(); + break; + } + case 162: { + AdvanceDescAfter1 = input.ReadString(); + break; + } + case 170: { + AdvanceDescFront2 = input.ReadString(); + break; + } + case 178: { + AdvanceDescAfter2 = input.ReadString(); + break; + } + case 186: { + AdvanceDescFront3 = input.ReadString(); + break; + } + case 194: { + AdvanceDescAfter3 = 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: { + Group = input.ReadInt32(); + break; + } + case 24: { + AdvanceLvl = input.ReadInt32(); + break; + } + case 32: { + Tid1 = input.ReadInt32(); + break; + } + case 40: { + Qty1 = input.ReadInt32(); + break; + } + case 48: { + Tid2 = input.ReadInt32(); + break; + } + case 56: { + Qty2 = input.ReadInt32(); + break; + } + case 64: { + Tid3 = input.ReadInt32(); + break; + } + case 72: { + Qty3 = input.ReadInt32(); + break; + } + case 80: { + Tid4 = input.ReadInt32(); + break; + } + case 88: { + Qty4 = input.ReadInt32(); + break; + } + case 96: { + GoldQty = input.ReadInt32(); + break; + } + case 104: { + AwardTid1 = input.ReadInt32(); + break; + } + case 112: { + AwardQty1 = input.ReadInt32(); + break; + } + case 120: { + AwardTid2 = input.ReadInt32(); + break; + } + case 128: { + AwardQty2 = input.ReadInt32(); + break; + } + case 136: { + AwardTid3 = input.ReadInt32(); + break; + } + case 144: { + AwardQty3 = input.ReadInt32(); + break; + } + case 154: { + AdvanceDescFront1 = input.ReadString(); + break; + } + case 162: { + AdvanceDescAfter1 = input.ReadString(); + break; + } + case 170: { + AdvanceDescFront2 = input.ReadString(); + break; + } + case 178: { + AdvanceDescAfter2 = input.ReadString(); + break; + } + case 186: { + AdvanceDescFront3 = input.ReadString(); + break; + } + case 194: { + AdvanceDescAfter3 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterAdvance : pb::IMessage<table_CharacterAdvance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterAdvance> _parser = new pb::MessageParser<table_CharacterAdvance>(() => new table_CharacterAdvance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterAdvance> 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.ClientTableReflection.Descriptor.MessageTypes[49]; } + } + + [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 table_CharacterAdvance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterAdvance(table_CharacterAdvance other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterAdvance Clone() { + return new table_CharacterAdvance(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterAdvance> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterAdvance.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterAdvance> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterAdvance>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterAdvance> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterAdvance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterAdvance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterAdvance other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterArchive : pb::IMessage<CharacterArchive> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterArchive> _parser = new pb::MessageParser<CharacterArchive>(() => new CharacterArchive()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterArchive> 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.ClientTableReflection.Descriptor.MessageTypes[50]; } + } + + [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 CharacterArchive() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchive(CharacterArchive other) : this() { + id_ = other.id_; + archType_ = other.archType_; + characterId_ = other.characterId_; + unlockAffinityLevel_ = other.unlockAffinityLevel_; + recordId_ = other.recordId_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchive Clone() { + return new CharacterArchive(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 "ArchType" field.</summary> + public const int ArchTypeFieldNumber = 2; + private int archType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ArchType { + get { return archType_; } + set { + archType_ = value; + } + } + + /// <summary>Field number for the "CharacterId" field.</summary> + public const int CharacterIdFieldNumber = 3; + private int characterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterId { + get { return characterId_; } + set { + characterId_ = value; + } + } + + /// <summary>Field number for the "UnlockAffinityLevel" field.</summary> + public const int UnlockAffinityLevelFieldNumber = 4; + private int unlockAffinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockAffinityLevel { + get { return unlockAffinityLevel_; } + set { + unlockAffinityLevel_ = value; + } + } + + /// <summary>Field number for the "RecordId" field.</summary> + public const int RecordIdFieldNumber = 5; + private int recordId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecordId { + get { return recordId_; } + set { + recordId_ = value; + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 6; + private int sort_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sort { + get { return sort_; } + set { + sort_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterArchive); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterArchive other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ArchType != other.ArchType) return false; + if (CharacterId != other.CharacterId) return false; + if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false; + if (RecordId != other.RecordId) return false; + if (Sort != other.Sort) 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 (ArchType != 0) hash ^= ArchType.GetHashCode(); + if (CharacterId != 0) hash ^= CharacterId.GetHashCode(); + if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode(); + if (RecordId != 0) hash ^= RecordId.GetHashCode(); + if (Sort != 0) hash ^= Sort.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 (ArchType != 0) { + output.WriteRawTag(16); + output.WriteInt32(ArchType); + } + if (CharacterId != 0) { + output.WriteRawTag(24); + output.WriteInt32(CharacterId); + } + if (UnlockAffinityLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockAffinityLevel); + } + if (RecordId != 0) { + output.WriteRawTag(40); + output.WriteInt32(RecordId); + } + if (Sort != 0) { + output.WriteRawTag(48); + output.WriteInt32(Sort); + } + 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 (ArchType != 0) { + output.WriteRawTag(16); + output.WriteInt32(ArchType); + } + if (CharacterId != 0) { + output.WriteRawTag(24); + output.WriteInt32(CharacterId); + } + if (UnlockAffinityLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockAffinityLevel); + } + if (RecordId != 0) { + output.WriteRawTag(40); + output.WriteInt32(RecordId); + } + if (Sort != 0) { + output.WriteRawTag(48); + output.WriteInt32(Sort); + } + 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 (ArchType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ArchType); + } + if (CharacterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); + } + if (UnlockAffinityLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel); + } + if (RecordId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecordId); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterArchive other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ArchType != 0) { + ArchType = other.ArchType; + } + if (other.CharacterId != 0) { + CharacterId = other.CharacterId; + } + if (other.UnlockAffinityLevel != 0) { + UnlockAffinityLevel = other.UnlockAffinityLevel; + } + if (other.RecordId != 0) { + RecordId = other.RecordId; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + _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: { + ArchType = input.ReadInt32(); + break; + } + case 24: { + CharacterId = input.ReadInt32(); + break; + } + case 32: { + UnlockAffinityLevel = input.ReadInt32(); + break; + } + case 40: { + RecordId = input.ReadInt32(); + break; + } + case 48: { + Sort = 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: { + ArchType = input.ReadInt32(); + break; + } + case 24: { + CharacterId = input.ReadInt32(); + break; + } + case 32: { + UnlockAffinityLevel = input.ReadInt32(); + break; + } + case 40: { + RecordId = input.ReadInt32(); + break; + } + case 48: { + Sort = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterArchive : pb::IMessage<table_CharacterArchive> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterArchive> _parser = new pb::MessageParser<table_CharacterArchive>(() => new table_CharacterArchive()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterArchive> 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.ClientTableReflection.Descriptor.MessageTypes[51]; } + } + + [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 table_CharacterArchive() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchive(table_CharacterArchive other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchive Clone() { + return new table_CharacterArchive(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchive> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchive.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchive> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchive>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterArchive> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterArchive); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterArchive other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterArchive other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterArchiveBaseInfo : pb::IMessage<CharacterArchiveBaseInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterArchiveBaseInfo> _parser = new pb::MessageParser<CharacterArchiveBaseInfo>(() => new CharacterArchiveBaseInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterArchiveBaseInfo> 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.ClientTableReflection.Descriptor.MessageTypes[52]; } + } + + [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 CharacterArchiveBaseInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchiveBaseInfo(CharacterArchiveBaseInfo other) : this() { + id_ = other.id_; + characterId_ = other.characterId_; + title_ = other.title_; + content_ = other.content_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchiveBaseInfo Clone() { + return new CharacterArchiveBaseInfo(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 "CharacterId" field.</summary> + public const int CharacterIdFieldNumber = 2; + private int characterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterId { + get { return characterId_; } + set { + characterId_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Content" field.</summary> + public const int ContentFieldNumber = 4; + private string content_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 5; + private int sort_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sort { + get { return sort_; } + set { + sort_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterArchiveBaseInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterArchiveBaseInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharacterId != other.CharacterId) return false; + if (Title != other.Title) return false; + if (Content != other.Content) return false; + if (Sort != other.Sort) 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 (CharacterId != 0) hash ^= CharacterId.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (Sort != 0) hash ^= Sort.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 (CharacterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharacterId); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Content.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Content); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + 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 (CharacterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharacterId); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Content.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Content); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + 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 (CharacterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterArchiveBaseInfo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharacterId != 0) { + CharacterId = other.CharacterId; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + _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: { + CharacterId = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + Content = input.ReadString(); + break; + } + case 40: { + Sort = 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: { + CharacterId = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 34: { + Content = input.ReadString(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterArchiveBaseInfo : pb::IMessage<table_CharacterArchiveBaseInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterArchiveBaseInfo> _parser = new pb::MessageParser<table_CharacterArchiveBaseInfo>(() => new table_CharacterArchiveBaseInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterArchiveBaseInfo> 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.ClientTableReflection.Descriptor.MessageTypes[53]; } + } + + [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 table_CharacterArchiveBaseInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchiveBaseInfo(table_CharacterArchiveBaseInfo other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchiveBaseInfo Clone() { + return new table_CharacterArchiveBaseInfo(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchiveBaseInfo> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchiveBaseInfo.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchiveBaseInfo> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchiveBaseInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterArchiveBaseInfo> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterArchiveBaseInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterArchiveBaseInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterArchiveBaseInfo other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterArchiveContent : pb::IMessage<CharacterArchiveContent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterArchiveContent> _parser = new pb::MessageParser<CharacterArchiveContent>(() => new CharacterArchiveContent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterArchiveContent> 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.ClientTableReflection.Descriptor.MessageTypes[54]; } + } + + [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 CharacterArchiveContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchiveContent(CharacterArchiveContent other) : this() { + id_ = other.id_; + title_ = other.title_; + content_ = other.content_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchiveContent Clone() { + return new CharacterArchiveContent(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Content" field.</summary> + public const int ContentFieldNumber = 3; + private string content_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = 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 CharacterArchiveContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterArchiveContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Content != other.Content) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Content.Length != 0) hash ^= Content.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Content.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Content); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Content.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Content); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterArchiveContent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Content = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Content = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterArchiveContent : pb::IMessage<table_CharacterArchiveContent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterArchiveContent> _parser = new pb::MessageParser<table_CharacterArchiveContent>(() => new table_CharacterArchiveContent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterArchiveContent> 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.ClientTableReflection.Descriptor.MessageTypes[55]; } + } + + [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 table_CharacterArchiveContent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchiveContent(table_CharacterArchiveContent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchiveContent Clone() { + return new table_CharacterArchiveContent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchiveContent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchiveContent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchiveContent> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchiveContent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterArchiveContent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterArchiveContent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterArchiveContent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterArchiveContent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterArchiveVoice : pb::IMessage<CharacterArchiveVoice> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterArchiveVoice> _parser = new pb::MessageParser<CharacterArchiveVoice>(() => new CharacterArchiveVoice()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterArchiveVoice> 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.ClientTableReflection.Descriptor.MessageTypes[56]; } + } + + [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 CharacterArchiveVoice() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchiveVoice(CharacterArchiveVoice other) : this() { + id_ = other.id_; + characterId_ = other.characterId_; + unlockAffinityLevel_ = other.unlockAffinityLevel_; + unlockPlot_ = other.unlockPlot_; + title_ = other.title_; + source_ = other.source_; + archVoiceType_ = other.archVoiceType_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterArchiveVoice Clone() { + return new CharacterArchiveVoice(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 "CharacterId" field.</summary> + public const int CharacterIdFieldNumber = 2; + private int characterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterId { + get { return characterId_; } + set { + characterId_ = value; + } + } + + /// <summary>Field number for the "UnlockAffinityLevel" field.</summary> + public const int UnlockAffinityLevelFieldNumber = 3; + private int unlockAffinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockAffinityLevel { + get { return unlockAffinityLevel_; } + set { + unlockAffinityLevel_ = value; + } + } + + /// <summary>Field number for the "UnlockPlot" field.</summary> + public const int UnlockPlotFieldNumber = 4; + private int unlockPlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockPlot { + get { return unlockPlot_; } + set { + unlockPlot_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 5; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Source" field.</summary> + public const int SourceFieldNumber = 6; + private string source_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Source { + get { return source_; } + set { + source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ArchVoiceType" field.</summary> + public const int ArchVoiceTypeFieldNumber = 7; + private int archVoiceType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ArchVoiceType { + get { return archVoiceType_; } + set { + archVoiceType_ = value; + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 8; + private int sort_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sort { + get { return sort_; } + set { + sort_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterArchiveVoice); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterArchiveVoice other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharacterId != other.CharacterId) return false; + if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false; + if (UnlockPlot != other.UnlockPlot) return false; + if (Title != other.Title) return false; + if (Source != other.Source) return false; + if (ArchVoiceType != other.ArchVoiceType) return false; + if (Sort != other.Sort) 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 (CharacterId != 0) hash ^= CharacterId.GetHashCode(); + if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode(); + if (UnlockPlot != 0) hash ^= UnlockPlot.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Source.Length != 0) hash ^= Source.GetHashCode(); + if (ArchVoiceType != 0) hash ^= ArchVoiceType.GetHashCode(); + if (Sort != 0) hash ^= Sort.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 (CharacterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharacterId); + } + if (UnlockAffinityLevel != 0) { + output.WriteRawTag(24); + output.WriteInt32(UnlockAffinityLevel); + } + if (UnlockPlot != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockPlot); + } + if (Title.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Title); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (ArchVoiceType != 0) { + output.WriteRawTag(56); + output.WriteInt32(ArchVoiceType); + } + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + 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 (CharacterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharacterId); + } + if (UnlockAffinityLevel != 0) { + output.WriteRawTag(24); + output.WriteInt32(UnlockAffinityLevel); + } + if (UnlockPlot != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockPlot); + } + if (Title.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Title); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (ArchVoiceType != 0) { + output.WriteRawTag(56); + output.WriteInt32(ArchVoiceType); + } + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + 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 (CharacterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); + } + if (UnlockAffinityLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel); + } + if (UnlockPlot != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockPlot); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Source.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); + } + if (ArchVoiceType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ArchVoiceType); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterArchiveVoice other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharacterId != 0) { + CharacterId = other.CharacterId; + } + if (other.UnlockAffinityLevel != 0) { + UnlockAffinityLevel = other.UnlockAffinityLevel; + } + if (other.UnlockPlot != 0) { + UnlockPlot = other.UnlockPlot; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Source.Length != 0) { + Source = other.Source; + } + if (other.ArchVoiceType != 0) { + ArchVoiceType = other.ArchVoiceType; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + _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: { + CharacterId = input.ReadInt32(); + break; + } + case 24: { + UnlockAffinityLevel = input.ReadInt32(); + break; + } + case 32: { + UnlockPlot = input.ReadInt32(); + break; + } + case 42: { + Title = input.ReadString(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + case 56: { + ArchVoiceType = input.ReadInt32(); + break; + } + case 64: { + Sort = 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: { + CharacterId = input.ReadInt32(); + break; + } + case 24: { + UnlockAffinityLevel = input.ReadInt32(); + break; + } + case 32: { + UnlockPlot = input.ReadInt32(); + break; + } + case 42: { + Title = input.ReadString(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + case 56: { + ArchVoiceType = input.ReadInt32(); + break; + } + case 64: { + Sort = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterArchiveVoice : pb::IMessage<table_CharacterArchiveVoice> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterArchiveVoice> _parser = new pb::MessageParser<table_CharacterArchiveVoice>(() => new table_CharacterArchiveVoice()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterArchiveVoice> 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.ClientTableReflection.Descriptor.MessageTypes[57]; } + } + + [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 table_CharacterArchiveVoice() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchiveVoice(table_CharacterArchiveVoice other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterArchiveVoice Clone() { + return new table_CharacterArchiveVoice(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterArchiveVoice> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterArchiveVoice.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterArchiveVoice> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterArchiveVoice>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterArchiveVoice> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterArchiveVoice); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterArchiveVoice other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterArchiveVoice other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterCG : pb::IMessage<CharacterCG> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterCG> _parser = new pb::MessageParser<CharacterCG>(() => new CharacterCG()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterCG> 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.ClientTableReflection.Descriptor.MessageTypes[58]; } + } + + [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 CharacterCG() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterCG(CharacterCG other) : this() { + id_ = other.id_; + fullScreenPortrait_ = other.fullScreenPortrait_; + fullScreenL2D_ = other.fullScreenL2D_; + unlockPlot_ = other.unlockPlot_; + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterCG Clone() { + return new CharacterCG(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 "FullScreenPortrait" field.</summary> + public const int FullScreenPortraitFieldNumber = 2; + private string fullScreenPortrait_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FullScreenPortrait { + get { return fullScreenPortrait_; } + set { + fullScreenPortrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FullScreenL2D" field.</summary> + public const int FullScreenL2DFieldNumber = 3; + private string fullScreenL2D_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FullScreenL2D { + get { return fullScreenL2D_; } + set { + fullScreenL2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UnlockPlot" field.</summary> + public const int UnlockPlotFieldNumber = 4; + private int unlockPlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockPlot { + get { return unlockPlot_; } + set { + unlockPlot_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 5; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterCG); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterCG other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (FullScreenPortrait != other.FullScreenPortrait) return false; + if (FullScreenL2D != other.FullScreenL2D) return false; + if (UnlockPlot != other.UnlockPlot) return false; + if (Name != other.Name) 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 (FullScreenPortrait.Length != 0) hash ^= FullScreenPortrait.GetHashCode(); + if (FullScreenL2D.Length != 0) hash ^= FullScreenL2D.GetHashCode(); + if (UnlockPlot != 0) hash ^= UnlockPlot.GetHashCode(); + if (Name.Length != 0) hash ^= Name.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 (FullScreenPortrait.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FullScreenPortrait); + } + if (FullScreenL2D.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FullScreenL2D); + } + if (UnlockPlot != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockPlot); + } + if (Name.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Name); + } + 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 (FullScreenPortrait.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FullScreenPortrait); + } + if (FullScreenL2D.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FullScreenL2D); + } + if (UnlockPlot != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockPlot); + } + if (Name.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Name); + } + 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 (FullScreenPortrait.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FullScreenPortrait); + } + if (FullScreenL2D.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FullScreenL2D); + } + if (UnlockPlot != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockPlot); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterCG other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.FullScreenPortrait.Length != 0) { + FullScreenPortrait = other.FullScreenPortrait; + } + if (other.FullScreenL2D.Length != 0) { + FullScreenL2D = other.FullScreenL2D; + } + if (other.UnlockPlot != 0) { + UnlockPlot = other.UnlockPlot; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _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: { + FullScreenPortrait = input.ReadString(); + break; + } + case 26: { + FullScreenL2D = input.ReadString(); + break; + } + case 32: { + UnlockPlot = input.ReadInt32(); + break; + } + case 42: { + Name = 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 18: { + FullScreenPortrait = input.ReadString(); + break; + } + case 26: { + FullScreenL2D = input.ReadString(); + break; + } + case 32: { + UnlockPlot = input.ReadInt32(); + break; + } + case 42: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterCG : pb::IMessage<table_CharacterCG> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterCG> _parser = new pb::MessageParser<table_CharacterCG>(() => new table_CharacterCG()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterCG> 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.ClientTableReflection.Descriptor.MessageTypes[59]; } + } + + [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 table_CharacterCG() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterCG(table_CharacterCG other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterCG Clone() { + return new table_CharacterCG(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterCG> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterCG.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterCG> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterCG>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterCG> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterCG); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterCG other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterCG other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterDes : pb::IMessage<CharacterDes> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterDes> _parser = new pb::MessageParser<CharacterDes>(() => new CharacterDes()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterDes> 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.ClientTableReflection.Descriptor.MessageTypes[60]; } + } + + [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 CharacterDes() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterDes(CharacterDes other) : this() { + id_ = other.id_; + alias_ = other.alias_; + cnCv_ = other.cnCv_; + jpCv_ = other.jpCv_; + charColor_ = other.charColor_; + charSkillColor_ = other.charSkillColor_; + charDes_ = other.charDes_; + tag_ = other.tag_.Clone(); + force_ = other.force_; + preferTags_ = other.preferTags_.Clone(); + hateTags_ = other.hateTags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterDes Clone() { + return new CharacterDes(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 "Alias" field.</summary> + public const int AliasFieldNumber = 2; + private string alias_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Alias { + get { return alias_; } + set { + alias_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CnCv" field.</summary> + public const int CnCvFieldNumber = 3; + private string cnCv_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CnCv { + get { return cnCv_; } + set { + cnCv_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "JpCv" field.</summary> + public const int JpCvFieldNumber = 4; + private string jpCv_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string JpCv { + get { return jpCv_; } + set { + jpCv_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharColor" field.</summary> + public const int CharColorFieldNumber = 5; + private string charColor_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CharColor { + get { return charColor_; } + set { + charColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharSkillColor" field.</summary> + public const int CharSkillColorFieldNumber = 6; + private string charSkillColor_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CharSkillColor { + get { return charSkillColor_; } + set { + charSkillColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharDes" field.</summary> + public const int CharDesFieldNumber = 7; + private string charDes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CharDes { + get { return charDes_; } + set { + charDes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag" field.</summary> + public const int TagFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_tag_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> tag_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Tag { + get { return tag_; } + } + + /// <summary>Field number for the "Force" field.</summary> + public const int ForceFieldNumber = 9; + private int force_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Force { + get { return force_; } + set { + force_ = value; + } + } + + /// <summary>Field number for the "PreferTags" field.</summary> + public const int PreferTagsFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_preferTags_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> preferTags_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PreferTags { + get { return preferTags_; } + } + + /// <summary>Field number for the "HateTags" field.</summary> + public const int HateTagsFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_hateTags_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> hateTags_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> HateTags { + get { return hateTags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterDes); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterDes other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Alias != other.Alias) return false; + if (CnCv != other.CnCv) return false; + if (JpCv != other.JpCv) return false; + if (CharColor != other.CharColor) return false; + if (CharSkillColor != other.CharSkillColor) return false; + if (CharDes != other.CharDes) return false; + if(!tag_.Equals(other.tag_)) return false; + if (Force != other.Force) return false; + if(!preferTags_.Equals(other.preferTags_)) return false; + if(!hateTags_.Equals(other.hateTags_)) 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 (Alias.Length != 0) hash ^= Alias.GetHashCode(); + if (CnCv.Length != 0) hash ^= CnCv.GetHashCode(); + if (JpCv.Length != 0) hash ^= JpCv.GetHashCode(); + if (CharColor.Length != 0) hash ^= CharColor.GetHashCode(); + if (CharSkillColor.Length != 0) hash ^= CharSkillColor.GetHashCode(); + if (CharDes.Length != 0) hash ^= CharDes.GetHashCode(); + hash ^= tag_.GetHashCode(); + if (Force != 0) hash ^= Force.GetHashCode(); + hash ^= preferTags_.GetHashCode(); + hash ^= hateTags_.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 (Alias.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Alias); + } + if (CnCv.Length != 0) { + output.WriteRawTag(26); + output.WriteString(CnCv); + } + if (JpCv.Length != 0) { + output.WriteRawTag(34); + output.WriteString(JpCv); + } + if (CharColor.Length != 0) { + output.WriteRawTag(42); + output.WriteString(CharColor); + } + if (CharSkillColor.Length != 0) { + output.WriteRawTag(50); + output.WriteString(CharSkillColor); + } + if (CharDes.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CharDes); + } + tag_.WriteTo(output, _repeated_tag_codec); + if (Force != 0) { + output.WriteRawTag(72); + output.WriteInt32(Force); + } + preferTags_.WriteTo(output, _repeated_preferTags_codec); + hateTags_.WriteTo(output, _repeated_hateTags_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 (Alias.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Alias); + } + if (CnCv.Length != 0) { + output.WriteRawTag(26); + output.WriteString(CnCv); + } + if (JpCv.Length != 0) { + output.WriteRawTag(34); + output.WriteString(JpCv); + } + if (CharColor.Length != 0) { + output.WriteRawTag(42); + output.WriteString(CharColor); + } + if (CharSkillColor.Length != 0) { + output.WriteRawTag(50); + output.WriteString(CharSkillColor); + } + if (CharDes.Length != 0) { + output.WriteRawTag(58); + output.WriteString(CharDes); + } + tag_.WriteTo(ref output, _repeated_tag_codec); + if (Force != 0) { + output.WriteRawTag(72); + output.WriteInt32(Force); + } + preferTags_.WriteTo(ref output, _repeated_preferTags_codec); + hateTags_.WriteTo(ref output, _repeated_hateTags_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 (Alias.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Alias); + } + if (CnCv.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CnCv); + } + if (JpCv.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(JpCv); + } + if (CharColor.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CharColor); + } + if (CharSkillColor.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CharSkillColor); + } + if (CharDes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CharDes); + } + size += tag_.CalculateSize(_repeated_tag_codec); + if (Force != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Force); + } + size += preferTags_.CalculateSize(_repeated_preferTags_codec); + size += hateTags_.CalculateSize(_repeated_hateTags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterDes other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Alias.Length != 0) { + Alias = other.Alias; + } + if (other.CnCv.Length != 0) { + CnCv = other.CnCv; + } + if (other.JpCv.Length != 0) { + JpCv = other.JpCv; + } + if (other.CharColor.Length != 0) { + CharColor = other.CharColor; + } + if (other.CharSkillColor.Length != 0) { + CharSkillColor = other.CharSkillColor; + } + if (other.CharDes.Length != 0) { + CharDes = other.CharDes; + } + tag_.Add(other.tag_); + if (other.Force != 0) { + Force = other.Force; + } + preferTags_.Add(other.preferTags_); + hateTags_.Add(other.hateTags_); + _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: { + Alias = input.ReadString(); + break; + } + case 26: { + CnCv = input.ReadString(); + break; + } + case 34: { + JpCv = input.ReadString(); + break; + } + case 42: { + CharColor = input.ReadString(); + break; + } + case 50: { + CharSkillColor = input.ReadString(); + break; + } + case 58: { + CharDes = input.ReadString(); + break; + } + case 66: + case 64: { + tag_.AddEntriesFrom(input, _repeated_tag_codec); + break; + } + case 72: { + Force = input.ReadInt32(); + break; + } + case 82: + case 80: { + preferTags_.AddEntriesFrom(input, _repeated_preferTags_codec); + break; + } + case 90: + case 88: { + hateTags_.AddEntriesFrom(input, _repeated_hateTags_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 18: { + Alias = input.ReadString(); + break; + } + case 26: { + CnCv = input.ReadString(); + break; + } + case 34: { + JpCv = input.ReadString(); + break; + } + case 42: { + CharColor = input.ReadString(); + break; + } + case 50: { + CharSkillColor = input.ReadString(); + break; + } + case 58: { + CharDes = input.ReadString(); + break; + } + case 66: + case 64: { + tag_.AddEntriesFrom(ref input, _repeated_tag_codec); + break; + } + case 72: { + Force = input.ReadInt32(); + break; + } + case 82: + case 80: { + preferTags_.AddEntriesFrom(ref input, _repeated_preferTags_codec); + break; + } + case 90: + case 88: { + hateTags_.AddEntriesFrom(ref input, _repeated_hateTags_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterDes : pb::IMessage<table_CharacterDes> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterDes> _parser = new pb::MessageParser<table_CharacterDes>(() => new table_CharacterDes()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterDes> 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.ClientTableReflection.Descriptor.MessageTypes[61]; } + } + + [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 table_CharacterDes() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterDes(table_CharacterDes other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterDes Clone() { + return new table_CharacterDes(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterDes> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterDes.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterDes> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterDes>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterDes> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterDes); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterDes other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterDes other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterSkillUpgrade : pb::IMessage<CharacterSkillUpgrade> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterSkillUpgrade> _parser = new pb::MessageParser<CharacterSkillUpgrade>(() => new CharacterSkillUpgrade()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterSkillUpgrade> 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.ClientTableReflection.Descriptor.MessageTypes[62]; } + } + + [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 CharacterSkillUpgrade() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkillUpgrade(CharacterSkillUpgrade other) : this() { + id_ = other.id_; + group_ = other.group_; + advanceNum_ = other.advanceNum_; + tid1_ = other.tid1_; + qty1_ = other.qty1_; + tid2_ = other.tid2_; + qty2_ = other.qty2_; + tid3_ = other.tid3_; + qty3_ = other.qty3_; + tid4_ = other.tid4_; + qty4_ = other.qty4_; + goldQty_ = other.goldQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkillUpgrade Clone() { + return new CharacterSkillUpgrade(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" field.</summary> + public const int GroupFieldNumber = 2; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "AdvanceNum" field.</summary> + public const int AdvanceNumFieldNumber = 3; + private int advanceNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdvanceNum { + get { return advanceNum_; } + set { + advanceNum_ = value; + } + } + + /// <summary>Field number for the "Tid1" field.</summary> + public const int Tid1FieldNumber = 4; + private int tid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid1 { + get { return tid1_; } + set { + tid1_ = value; + } + } + + /// <summary>Field number for the "Qty1" field.</summary> + public const int Qty1FieldNumber = 5; + private int qty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty1 { + get { return qty1_; } + set { + qty1_ = value; + } + } + + /// <summary>Field number for the "Tid2" field.</summary> + public const int Tid2FieldNumber = 6; + private int tid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid2 { + get { return tid2_; } + set { + tid2_ = value; + } + } + + /// <summary>Field number for the "Qty2" field.</summary> + public const int Qty2FieldNumber = 7; + private int qty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty2 { + get { return qty2_; } + set { + qty2_ = value; + } + } + + /// <summary>Field number for the "Tid3" field.</summary> + public const int Tid3FieldNumber = 8; + private int tid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid3 { + get { return tid3_; } + set { + tid3_ = value; + } + } + + /// <summary>Field number for the "Qty3" field.</summary> + public const int Qty3FieldNumber = 9; + private int qty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty3 { + get { return qty3_; } + set { + qty3_ = value; + } + } + + /// <summary>Field number for the "Tid4" field.</summary> + public const int Tid4FieldNumber = 10; + private int tid4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid4 { + get { return tid4_; } + set { + tid4_ = value; + } + } + + /// <summary>Field number for the "Qty4" field.</summary> + public const int Qty4FieldNumber = 11; + private int qty4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty4 { + get { return qty4_; } + set { + qty4_ = value; + } + } + + /// <summary>Field number for the "GoldQty" field.</summary> + public const int GoldQtyFieldNumber = 12; + private int goldQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GoldQty { + get { return goldQty_; } + set { + goldQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterSkillUpgrade); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterSkillUpgrade other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Group != other.Group) return false; + if (AdvanceNum != other.AdvanceNum) return false; + if (Tid1 != other.Tid1) return false; + if (Qty1 != other.Qty1) return false; + if (Tid2 != other.Tid2) return false; + if (Qty2 != other.Qty2) return false; + if (Tid3 != other.Tid3) return false; + if (Qty3 != other.Qty3) return false; + if (Tid4 != other.Tid4) return false; + if (Qty4 != other.Qty4) return false; + if (GoldQty != other.GoldQty) 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 (Group != 0) hash ^= Group.GetHashCode(); + if (AdvanceNum != 0) hash ^= AdvanceNum.GetHashCode(); + if (Tid1 != 0) hash ^= Tid1.GetHashCode(); + if (Qty1 != 0) hash ^= Qty1.GetHashCode(); + if (Tid2 != 0) hash ^= Tid2.GetHashCode(); + if (Qty2 != 0) hash ^= Qty2.GetHashCode(); + if (Tid3 != 0) hash ^= Tid3.GetHashCode(); + if (Qty3 != 0) hash ^= Qty3.GetHashCode(); + if (Tid4 != 0) hash ^= Tid4.GetHashCode(); + if (Qty4 != 0) hash ^= Qty4.GetHashCode(); + if (GoldQty != 0) hash ^= GoldQty.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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (AdvanceNum != 0) { + output.WriteRawTag(24); + output.WriteInt32(AdvanceNum); + } + if (Tid1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Qty3); + } + if (Tid4 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Tid4); + } + if (Qty4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Qty4); + } + if (GoldQty != 0) { + output.WriteRawTag(96); + output.WriteInt32(GoldQty); + } + 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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (AdvanceNum != 0) { + output.WriteRawTag(24); + output.WriteInt32(AdvanceNum); + } + if (Tid1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Qty3); + } + if (Tid4 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Tid4); + } + if (Qty4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Qty4); + } + if (GoldQty != 0) { + output.WriteRawTag(96); + output.WriteInt32(GoldQty); + } + 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 (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (AdvanceNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceNum); + } + if (Tid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); + } + if (Qty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); + } + if (Tid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); + } + if (Qty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); + } + if (Tid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); + } + if (Qty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); + } + if (Tid4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid4); + } + if (Qty4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty4); + } + if (GoldQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GoldQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterSkillUpgrade other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.AdvanceNum != 0) { + AdvanceNum = other.AdvanceNum; + } + if (other.Tid1 != 0) { + Tid1 = other.Tid1; + } + if (other.Qty1 != 0) { + Qty1 = other.Qty1; + } + if (other.Tid2 != 0) { + Tid2 = other.Tid2; + } + if (other.Qty2 != 0) { + Qty2 = other.Qty2; + } + if (other.Tid3 != 0) { + Tid3 = other.Tid3; + } + if (other.Qty3 != 0) { + Qty3 = other.Qty3; + } + if (other.Tid4 != 0) { + Tid4 = other.Tid4; + } + if (other.Qty4 != 0) { + Qty4 = other.Qty4; + } + if (other.GoldQty != 0) { + GoldQty = other.GoldQty; + } + _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: { + Group = input.ReadInt32(); + break; + } + case 24: { + AdvanceNum = input.ReadInt32(); + break; + } + case 32: { + Tid1 = input.ReadInt32(); + break; + } + case 40: { + Qty1 = input.ReadInt32(); + break; + } + case 48: { + Tid2 = input.ReadInt32(); + break; + } + case 56: { + Qty2 = input.ReadInt32(); + break; + } + case 64: { + Tid3 = input.ReadInt32(); + break; + } + case 72: { + Qty3 = input.ReadInt32(); + break; + } + case 80: { + Tid4 = input.ReadInt32(); + break; + } + case 88: { + Qty4 = input.ReadInt32(); + break; + } + case 96: { + GoldQty = 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: { + Group = input.ReadInt32(); + break; + } + case 24: { + AdvanceNum = input.ReadInt32(); + break; + } + case 32: { + Tid1 = input.ReadInt32(); + break; + } + case 40: { + Qty1 = input.ReadInt32(); + break; + } + case 48: { + Tid2 = input.ReadInt32(); + break; + } + case 56: { + Qty2 = input.ReadInt32(); + break; + } + case 64: { + Tid3 = input.ReadInt32(); + break; + } + case 72: { + Qty3 = input.ReadInt32(); + break; + } + case 80: { + Tid4 = input.ReadInt32(); + break; + } + case 88: { + Qty4 = input.ReadInt32(); + break; + } + case 96: { + GoldQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterSkillUpgrade : pb::IMessage<table_CharacterSkillUpgrade> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterSkillUpgrade> _parser = new pb::MessageParser<table_CharacterSkillUpgrade>(() => new table_CharacterSkillUpgrade()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterSkillUpgrade> 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.ClientTableReflection.Descriptor.MessageTypes[63]; } + } + + [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 table_CharacterSkillUpgrade() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkillUpgrade(table_CharacterSkillUpgrade other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkillUpgrade Clone() { + return new table_CharacterSkillUpgrade(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkillUpgrade> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkillUpgrade.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkillUpgrade> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkillUpgrade>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterSkillUpgrade> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterSkillUpgrade); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterSkillUpgrade other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterSkillUpgrade other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterSkin : pb::IMessage<CharacterSkin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterSkin> _parser = new pb::MessageParser<CharacterSkin>(() => new CharacterSkin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterSkin> 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.ClientTableReflection.Descriptor.MessageTypes[64]; } + } + + [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 CharacterSkin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkin(CharacterSkin other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + isShow_ = other.isShow_; + charId_ = other.charId_; + type_ = other.type_; + sourceDesc_ = other.sourceDesc_; + transform_ = other.transform_; + walkAnimationSpd_ = other.walkAnimationSpd_; + runAnimationSpd_ = other.runAnimationSpd_; + spRunAnimationSpd_ = other.spRunAnimationSpd_; + modelScale_ = other.modelScale_; + colliderScale_ = other.colliderScale_; + modelShowScale_ = other.modelShowScale_; + modelEndScale_ = other.modelEndScale_; + forbiddenBehitRot_ = other.forbiddenBehitRot_; + icon_ = other.icon_; + portrait_ = other.portrait_; + bg_ = other.bg_; + offset_ = other.offset_; + l2D_ = other.l2D_; + characterCG_ = other.characterCG_; + model_ = other.model_; + modelShow_ = other.modelShow_; + modelEnd_ = other.modelEnd_; + gachaL2D_ = other.gachaL2D_; + skinTheme_ = other.skinTheme_; + effectScaleValue_ = other.effectScaleValue_; + tagEffectScaleValue_ = other.tagEffectScaleValue_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkin Clone() { + return new CharacterSkin(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "IsShow" field.</summary> + public const int IsShowFieldNumber = 4; + private bool isShow_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsShow { + get { return isShow_; } + set { + isShow_ = value; + } + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 5; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 6; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "SourceDesc" field.</summary> + public const int SourceDescFieldNumber = 7; + private int sourceDesc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SourceDesc { + get { return sourceDesc_; } + set { + sourceDesc_ = value; + } + } + + /// <summary>Field number for the "Transform" field.</summary> + public const int TransformFieldNumber = 8; + private string transform_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Transform { + get { return transform_; } + set { + transform_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "WalkAnimationSpd" field.</summary> + public const int WalkAnimationSpdFieldNumber = 9; + private int walkAnimationSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WalkAnimationSpd { + get { return walkAnimationSpd_; } + set { + walkAnimationSpd_ = value; + } + } + + /// <summary>Field number for the "RunAnimationSpd" field.</summary> + public const int RunAnimationSpdFieldNumber = 10; + private int runAnimationSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RunAnimationSpd { + get { return runAnimationSpd_; } + set { + runAnimationSpd_ = value; + } + } + + /// <summary>Field number for the "SpRunAnimationSpd" field.</summary> + public const int SpRunAnimationSpdFieldNumber = 11; + private int spRunAnimationSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpRunAnimationSpd { + get { return spRunAnimationSpd_; } + set { + spRunAnimationSpd_ = value; + } + } + + /// <summary>Field number for the "ModelScale" field.</summary> + public const int ModelScaleFieldNumber = 12; + private int modelScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ModelScale { + get { return modelScale_; } + set { + modelScale_ = value; + } + } + + /// <summary>Field number for the "ColliderScale" field.</summary> + public const int ColliderScaleFieldNumber = 13; + private int colliderScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ColliderScale { + get { return colliderScale_; } + set { + colliderScale_ = value; + } + } + + /// <summary>Field number for the "ModelShowScale" field.</summary> + public const int ModelShowScaleFieldNumber = 14; + private int modelShowScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ModelShowScale { + get { return modelShowScale_; } + set { + modelShowScale_ = value; + } + } + + /// <summary>Field number for the "ModelEndScale" field.</summary> + public const int ModelEndScaleFieldNumber = 15; + private int modelEndScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ModelEndScale { + get { return modelEndScale_; } + set { + modelEndScale_ = value; + } + } + + /// <summary>Field number for the "ForbiddenBehitRot" field.</summary> + public const int ForbiddenBehitRotFieldNumber = 16; + private bool forbiddenBehitRot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ForbiddenBehitRot { + get { return forbiddenBehitRot_; } + set { + forbiddenBehitRot_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 17; + 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 "Portrait" field.</summary> + public const int PortraitFieldNumber = 18; + private string portrait_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Portrait { + get { return portrait_; } + set { + portrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Bg" field.</summary> + public const int BgFieldNumber = 19; + private string bg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bg { + get { return bg_; } + set { + bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Offset" field.</summary> + public const int OffsetFieldNumber = 20; + private string offset_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Offset { + get { return offset_; } + set { + offset_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "L2D" field.</summary> + public const int L2DFieldNumber = 21; + private string l2D_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string L2D { + get { return l2D_; } + set { + l2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharacterCG" field.</summary> + public const int CharacterCGFieldNumber = 22; + private int characterCG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterCG { + get { return characterCG_; } + set { + characterCG_ = value; + } + } + + /// <summary>Field number for the "Model" field.</summary> + public const int ModelFieldNumber = 23; + private string model_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Model { + get { return model_; } + set { + model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Model_Show" field.</summary> + public const int ModelShowFieldNumber = 24; + private string modelShow_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelShow { + get { return modelShow_; } + set { + modelShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Model_End" field.</summary> + public const int ModelEndFieldNumber = 25; + private string modelEnd_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelEnd { + get { return modelEnd_; } + set { + modelEnd_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GachaL2D" field.</summary> + public const int GachaL2DFieldNumber = 26; + private string gachaL2D_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string GachaL2D { + get { return gachaL2D_; } + set { + gachaL2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SkinTheme" field.</summary> + public const int SkinThemeFieldNumber = 27; + private int skinTheme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkinTheme { + get { return skinTheme_; } + set { + skinTheme_ = value; + } + } + + /// <summary>Field number for the "EffectScaleValue" field.</summary> + public const int EffectScaleValueFieldNumber = 28; + private int effectScaleValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectScaleValue { + get { return effectScaleValue_; } + set { + effectScaleValue_ = value; + } + } + + /// <summary>Field number for the "TagEffectScaleValue" field.</summary> + public const int TagEffectScaleValueFieldNumber = 29; + private int tagEffectScaleValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TagEffectScaleValue { + get { return tagEffectScaleValue_; } + set { + tagEffectScaleValue_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterSkin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterSkin 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 (Desc != other.Desc) return false; + if (IsShow != other.IsShow) return false; + if (CharId != other.CharId) return false; + if (Type != other.Type) return false; + if (SourceDesc != other.SourceDesc) return false; + if (Transform != other.Transform) return false; + if (WalkAnimationSpd != other.WalkAnimationSpd) return false; + if (RunAnimationSpd != other.RunAnimationSpd) return false; + if (SpRunAnimationSpd != other.SpRunAnimationSpd) return false; + if (ModelScale != other.ModelScale) return false; + if (ColliderScale != other.ColliderScale) return false; + if (ModelShowScale != other.ModelShowScale) return false; + if (ModelEndScale != other.ModelEndScale) return false; + if (ForbiddenBehitRot != other.ForbiddenBehitRot) return false; + if (Icon != other.Icon) return false; + if (Portrait != other.Portrait) return false; + if (Bg != other.Bg) return false; + if (Offset != other.Offset) return false; + if (L2D != other.L2D) return false; + if (CharacterCG != other.CharacterCG) return false; + if (Model != other.Model) return false; + if (ModelShow != other.ModelShow) return false; + if (ModelEnd != other.ModelEnd) return false; + if (GachaL2D != other.GachaL2D) return false; + if (SkinTheme != other.SkinTheme) return false; + if (EffectScaleValue != other.EffectScaleValue) return false; + if (TagEffectScaleValue != other.TagEffectScaleValue) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (IsShow != false) hash ^= IsShow.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (SourceDesc != 0) hash ^= SourceDesc.GetHashCode(); + if (Transform.Length != 0) hash ^= Transform.GetHashCode(); + if (WalkAnimationSpd != 0) hash ^= WalkAnimationSpd.GetHashCode(); + if (RunAnimationSpd != 0) hash ^= RunAnimationSpd.GetHashCode(); + if (SpRunAnimationSpd != 0) hash ^= SpRunAnimationSpd.GetHashCode(); + if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); + if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode(); + if (ModelShowScale != 0) hash ^= ModelShowScale.GetHashCode(); + if (ModelEndScale != 0) hash ^= ModelEndScale.GetHashCode(); + if (ForbiddenBehitRot != false) hash ^= ForbiddenBehitRot.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Portrait.Length != 0) hash ^= Portrait.GetHashCode(); + if (Bg.Length != 0) hash ^= Bg.GetHashCode(); + if (Offset.Length != 0) hash ^= Offset.GetHashCode(); + if (L2D.Length != 0) hash ^= L2D.GetHashCode(); + if (CharacterCG != 0) hash ^= CharacterCG.GetHashCode(); + if (Model.Length != 0) hash ^= Model.GetHashCode(); + if (ModelShow.Length != 0) hash ^= ModelShow.GetHashCode(); + if (ModelEnd.Length != 0) hash ^= ModelEnd.GetHashCode(); + if (GachaL2D.Length != 0) hash ^= GachaL2D.GetHashCode(); + if (SkinTheme != 0) hash ^= SkinTheme.GetHashCode(); + if (EffectScaleValue != 0) hash ^= EffectScaleValue.GetHashCode(); + if (TagEffectScaleValue != 0) hash ^= TagEffectScaleValue.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (IsShow != false) { + output.WriteRawTag(32); + output.WriteBool(IsShow); + } + if (CharId != 0) { + output.WriteRawTag(40); + output.WriteInt32(CharId); + } + if (Type != 0) { + output.WriteRawTag(48); + output.WriteInt32(Type); + } + if (SourceDesc != 0) { + output.WriteRawTag(56); + output.WriteInt32(SourceDesc); + } + if (Transform.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Transform); + } + if (WalkAnimationSpd != 0) { + output.WriteRawTag(72); + output.WriteInt32(WalkAnimationSpd); + } + if (RunAnimationSpd != 0) { + output.WriteRawTag(80); + output.WriteInt32(RunAnimationSpd); + } + if (SpRunAnimationSpd != 0) { + output.WriteRawTag(88); + output.WriteInt32(SpRunAnimationSpd); + } + if (ModelScale != 0) { + output.WriteRawTag(96); + output.WriteInt32(ModelScale); + } + if (ColliderScale != 0) { + output.WriteRawTag(104); + output.WriteInt32(ColliderScale); + } + if (ModelShowScale != 0) { + output.WriteRawTag(112); + output.WriteInt32(ModelShowScale); + } + if (ModelEndScale != 0) { + output.WriteRawTag(120); + output.WriteInt32(ModelEndScale); + } + if (ForbiddenBehitRot != false) { + output.WriteRawTag(128, 1); + output.WriteBool(ForbiddenBehitRot); + } + if (Icon.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Icon); + } + if (Portrait.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Portrait); + } + if (Bg.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Bg); + } + if (Offset.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Offset); + } + if (L2D.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(L2D); + } + if (CharacterCG != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(CharacterCG); + } + if (Model.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Model); + } + if (ModelShow.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(ModelShow); + } + if (ModelEnd.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(ModelEnd); + } + if (GachaL2D.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(GachaL2D); + } + if (SkinTheme != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(SkinTheme); + } + if (EffectScaleValue != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(EffectScaleValue); + } + if (TagEffectScaleValue != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(TagEffectScaleValue); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (IsShow != false) { + output.WriteRawTag(32); + output.WriteBool(IsShow); + } + if (CharId != 0) { + output.WriteRawTag(40); + output.WriteInt32(CharId); + } + if (Type != 0) { + output.WriteRawTag(48); + output.WriteInt32(Type); + } + if (SourceDesc != 0) { + output.WriteRawTag(56); + output.WriteInt32(SourceDesc); + } + if (Transform.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Transform); + } + if (WalkAnimationSpd != 0) { + output.WriteRawTag(72); + output.WriteInt32(WalkAnimationSpd); + } + if (RunAnimationSpd != 0) { + output.WriteRawTag(80); + output.WriteInt32(RunAnimationSpd); + } + if (SpRunAnimationSpd != 0) { + output.WriteRawTag(88); + output.WriteInt32(SpRunAnimationSpd); + } + if (ModelScale != 0) { + output.WriteRawTag(96); + output.WriteInt32(ModelScale); + } + if (ColliderScale != 0) { + output.WriteRawTag(104); + output.WriteInt32(ColliderScale); + } + if (ModelShowScale != 0) { + output.WriteRawTag(112); + output.WriteInt32(ModelShowScale); + } + if (ModelEndScale != 0) { + output.WriteRawTag(120); + output.WriteInt32(ModelEndScale); + } + if (ForbiddenBehitRot != false) { + output.WriteRawTag(128, 1); + output.WriteBool(ForbiddenBehitRot); + } + if (Icon.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Icon); + } + if (Portrait.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Portrait); + } + if (Bg.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Bg); + } + if (Offset.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Offset); + } + if (L2D.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(L2D); + } + if (CharacterCG != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(CharacterCG); + } + if (Model.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Model); + } + if (ModelShow.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(ModelShow); + } + if (ModelEnd.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(ModelEnd); + } + if (GachaL2D.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(GachaL2D); + } + if (SkinTheme != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(SkinTheme); + } + if (EffectScaleValue != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(EffectScaleValue); + } + if (TagEffectScaleValue != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(TagEffectScaleValue); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (IsShow != false) { + size += 1 + 1; + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (SourceDesc != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceDesc); + } + if (Transform.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Transform); + } + if (WalkAnimationSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkAnimationSpd); + } + if (RunAnimationSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunAnimationSpd); + } + if (SpRunAnimationSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpRunAnimationSpd); + } + if (ModelScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); + } + if (ColliderScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale); + } + if (ModelShowScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelShowScale); + } + if (ModelEndScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelEndScale); + } + if (ForbiddenBehitRot != false) { + size += 2 + 1; + } + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Portrait.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Portrait); + } + if (Bg.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Bg); + } + if (Offset.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Offset); + } + if (L2D.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(L2D); + } + if (CharacterCG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CharacterCG); + } + if (Model.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Model); + } + if (ModelShow.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ModelShow); + } + if (ModelEnd.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ModelEnd); + } + if (GachaL2D.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(GachaL2D); + } + if (SkinTheme != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinTheme); + } + if (EffectScaleValue != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectScaleValue); + } + if (TagEffectScaleValue != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TagEffectScaleValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterSkin other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.IsShow != false) { + IsShow = other.IsShow; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.SourceDesc != 0) { + SourceDesc = other.SourceDesc; + } + if (other.Transform.Length != 0) { + Transform = other.Transform; + } + if (other.WalkAnimationSpd != 0) { + WalkAnimationSpd = other.WalkAnimationSpd; + } + if (other.RunAnimationSpd != 0) { + RunAnimationSpd = other.RunAnimationSpd; + } + if (other.SpRunAnimationSpd != 0) { + SpRunAnimationSpd = other.SpRunAnimationSpd; + } + if (other.ModelScale != 0) { + ModelScale = other.ModelScale; + } + if (other.ColliderScale != 0) { + ColliderScale = other.ColliderScale; + } + if (other.ModelShowScale != 0) { + ModelShowScale = other.ModelShowScale; + } + if (other.ModelEndScale != 0) { + ModelEndScale = other.ModelEndScale; + } + if (other.ForbiddenBehitRot != false) { + ForbiddenBehitRot = other.ForbiddenBehitRot; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Portrait.Length != 0) { + Portrait = other.Portrait; + } + if (other.Bg.Length != 0) { + Bg = other.Bg; + } + if (other.Offset.Length != 0) { + Offset = other.Offset; + } + if (other.L2D.Length != 0) { + L2D = other.L2D; + } + if (other.CharacterCG != 0) { + CharacterCG = other.CharacterCG; + } + if (other.Model.Length != 0) { + Model = other.Model; + } + if (other.ModelShow.Length != 0) { + ModelShow = other.ModelShow; + } + if (other.ModelEnd.Length != 0) { + ModelEnd = other.ModelEnd; + } + if (other.GachaL2D.Length != 0) { + GachaL2D = other.GachaL2D; + } + if (other.SkinTheme != 0) { + SkinTheme = other.SkinTheme; + } + if (other.EffectScaleValue != 0) { + EffectScaleValue = other.EffectScaleValue; + } + if (other.TagEffectScaleValue != 0) { + TagEffectScaleValue = other.TagEffectScaleValue; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + IsShow = input.ReadBool(); + break; + } + case 40: { + CharId = input.ReadInt32(); + break; + } + case 48: { + Type = input.ReadInt32(); + break; + } + case 56: { + SourceDesc = input.ReadInt32(); + break; + } + case 66: { + Transform = input.ReadString(); + break; + } + case 72: { + WalkAnimationSpd = input.ReadInt32(); + break; + } + case 80: { + RunAnimationSpd = input.ReadInt32(); + break; + } + case 88: { + SpRunAnimationSpd = input.ReadInt32(); + break; + } + case 96: { + ModelScale = input.ReadInt32(); + break; + } + case 104: { + ColliderScale = input.ReadInt32(); + break; + } + case 112: { + ModelShowScale = input.ReadInt32(); + break; + } + case 120: { + ModelEndScale = input.ReadInt32(); + break; + } + case 128: { + ForbiddenBehitRot = input.ReadBool(); + break; + } + case 138: { + Icon = input.ReadString(); + break; + } + case 146: { + Portrait = input.ReadString(); + break; + } + case 154: { + Bg = input.ReadString(); + break; + } + case 162: { + Offset = input.ReadString(); + break; + } + case 170: { + L2D = input.ReadString(); + break; + } + case 176: { + CharacterCG = input.ReadInt32(); + break; + } + case 186: { + Model = input.ReadString(); + break; + } + case 194: { + ModelShow = input.ReadString(); + break; + } + case 202: { + ModelEnd = input.ReadString(); + break; + } + case 210: { + GachaL2D = input.ReadString(); + break; + } + case 216: { + SkinTheme = input.ReadInt32(); + break; + } + case 224: { + EffectScaleValue = input.ReadInt32(); + break; + } + case 232: { + TagEffectScaleValue = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + IsShow = input.ReadBool(); + break; + } + case 40: { + CharId = input.ReadInt32(); + break; + } + case 48: { + Type = input.ReadInt32(); + break; + } + case 56: { + SourceDesc = input.ReadInt32(); + break; + } + case 66: { + Transform = input.ReadString(); + break; + } + case 72: { + WalkAnimationSpd = input.ReadInt32(); + break; + } + case 80: { + RunAnimationSpd = input.ReadInt32(); + break; + } + case 88: { + SpRunAnimationSpd = input.ReadInt32(); + break; + } + case 96: { + ModelScale = input.ReadInt32(); + break; + } + case 104: { + ColliderScale = input.ReadInt32(); + break; + } + case 112: { + ModelShowScale = input.ReadInt32(); + break; + } + case 120: { + ModelEndScale = input.ReadInt32(); + break; + } + case 128: { + ForbiddenBehitRot = input.ReadBool(); + break; + } + case 138: { + Icon = input.ReadString(); + break; + } + case 146: { + Portrait = input.ReadString(); + break; + } + case 154: { + Bg = input.ReadString(); + break; + } + case 162: { + Offset = input.ReadString(); + break; + } + case 170: { + L2D = input.ReadString(); + break; + } + case 176: { + CharacterCG = input.ReadInt32(); + break; + } + case 186: { + Model = input.ReadString(); + break; + } + case 194: { + ModelShow = input.ReadString(); + break; + } + case 202: { + ModelEnd = input.ReadString(); + break; + } + case 210: { + GachaL2D = input.ReadString(); + break; + } + case 216: { + SkinTheme = input.ReadInt32(); + break; + } + case 224: { + EffectScaleValue = input.ReadInt32(); + break; + } + case 232: { + TagEffectScaleValue = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterSkin : pb::IMessage<table_CharacterSkin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterSkin> _parser = new pb::MessageParser<table_CharacterSkin>(() => new table_CharacterSkin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterSkin> 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.ClientTableReflection.Descriptor.MessageTypes[65]; } + } + + [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 table_CharacterSkin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkin(table_CharacterSkin other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkin Clone() { + return new table_CharacterSkin(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkin> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkin.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkin> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkin>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterSkin> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterSkin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterSkin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterSkin other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterSkinPanelFace : pb::IMessage<CharacterSkinPanelFace> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterSkinPanelFace> _parser = new pb::MessageParser<CharacterSkinPanelFace>(() => new CharacterSkinPanelFace()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterSkinPanelFace> 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.ClientTableReflection.Descriptor.MessageTypes[66]; } + } + + [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 CharacterSkinPanelFace() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkinPanelFace(CharacterSkinPanelFace other) : this() { + id_ = other.id_; + mainView_ = other.mainView_; + charInfo_ = other.charInfo_; + battelWin_ = other.battelWin_; + battleLose_ = other.battleLose_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkinPanelFace Clone() { + return new CharacterSkinPanelFace(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 "MainView" field.</summary> + public const int MainViewFieldNumber = 2; + private string mainView_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MainView { + get { return mainView_; } + set { + mainView_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharInfo" field.</summary> + public const int CharInfoFieldNumber = 3; + private string charInfo_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CharInfo { + get { return charInfo_; } + set { + charInfo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BattelWin" field.</summary> + public const int BattelWinFieldNumber = 4; + private string battelWin_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattelWin { + get { return battelWin_; } + set { + battelWin_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BattleLose" field.</summary> + public const int BattleLoseFieldNumber = 5; + private string battleLose_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BattleLose { + get { return battleLose_; } + set { + battleLose_ = 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 CharacterSkinPanelFace); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterSkinPanelFace other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MainView != other.MainView) return false; + if (CharInfo != other.CharInfo) return false; + if (BattelWin != other.BattelWin) return false; + if (BattleLose != other.BattleLose) 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 (MainView.Length != 0) hash ^= MainView.GetHashCode(); + if (CharInfo.Length != 0) hash ^= CharInfo.GetHashCode(); + if (BattelWin.Length != 0) hash ^= BattelWin.GetHashCode(); + if (BattleLose.Length != 0) hash ^= BattleLose.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 (MainView.Length != 0) { + output.WriteRawTag(18); + output.WriteString(MainView); + } + if (CharInfo.Length != 0) { + output.WriteRawTag(26); + output.WriteString(CharInfo); + } + if (BattelWin.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BattelWin); + } + if (BattleLose.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BattleLose); + } + 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 (MainView.Length != 0) { + output.WriteRawTag(18); + output.WriteString(MainView); + } + if (CharInfo.Length != 0) { + output.WriteRawTag(26); + output.WriteString(CharInfo); + } + if (BattelWin.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BattelWin); + } + if (BattleLose.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BattleLose); + } + 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 (MainView.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MainView); + } + if (CharInfo.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CharInfo); + } + if (BattelWin.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattelWin); + } + if (BattleLose.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleLose); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterSkinPanelFace other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MainView.Length != 0) { + MainView = other.MainView; + } + if (other.CharInfo.Length != 0) { + CharInfo = other.CharInfo; + } + if (other.BattelWin.Length != 0) { + BattelWin = other.BattelWin; + } + if (other.BattleLose.Length != 0) { + BattleLose = other.BattleLose; + } + _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: { + MainView = input.ReadString(); + break; + } + case 26: { + CharInfo = input.ReadString(); + break; + } + case 34: { + BattelWin = input.ReadString(); + break; + } + case 42: { + BattleLose = 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 18: { + MainView = input.ReadString(); + break; + } + case 26: { + CharInfo = input.ReadString(); + break; + } + case 34: { + BattelWin = input.ReadString(); + break; + } + case 42: { + BattleLose = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterSkinPanelFace : pb::IMessage<table_CharacterSkinPanelFace> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterSkinPanelFace> _parser = new pb::MessageParser<table_CharacterSkinPanelFace>(() => new table_CharacterSkinPanelFace()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterSkinPanelFace> 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.ClientTableReflection.Descriptor.MessageTypes[67]; } + } + + [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 table_CharacterSkinPanelFace() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkinPanelFace(table_CharacterSkinPanelFace other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkinPanelFace Clone() { + return new table_CharacterSkinPanelFace(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkinPanelFace> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkinPanelFace.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkinPanelFace> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkinPanelFace>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterSkinPanelFace> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterSkinPanelFace); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterSkinPanelFace other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterSkinPanelFace other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterSkinTheme : pb::IMessage<CharacterSkinTheme> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterSkinTheme> _parser = new pb::MessageParser<CharacterSkinTheme>(() => new CharacterSkinTheme()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterSkinTheme> 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.ClientTableReflection.Descriptor.MessageTypes[68]; } + } + + [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 CharacterSkinTheme() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkinTheme(CharacterSkinTheme other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterSkinTheme Clone() { + return new CharacterSkinTheme(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 = 4; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterSkinTheme); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterSkinTheme 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 (Desc != other.Desc) return false; + if (Icon != other.Icon) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterSkinTheme other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterSkinTheme : pb::IMessage<table_CharacterSkinTheme> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterSkinTheme> _parser = new pb::MessageParser<table_CharacterSkinTheme>(() => new table_CharacterSkinTheme()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterSkinTheme> 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.ClientTableReflection.Descriptor.MessageTypes[69]; } + } + + [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 table_CharacterSkinTheme() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkinTheme(table_CharacterSkinTheme other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterSkinTheme Clone() { + return new table_CharacterSkinTheme(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterSkinTheme> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterSkinTheme.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterSkinTheme> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterSkinTheme>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterSkinTheme> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterSkinTheme); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterSkinTheme other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterSkinTheme other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterTag : pb::IMessage<CharacterTag> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterTag> _parser = new pb::MessageParser<CharacterTag>(() => new CharacterTag()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterTag> 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.ClientTableReflection.Descriptor.MessageTypes[70]; } + } + + [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 CharacterTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterTag(CharacterTag other) : this() { + id_ = other.id_; + title_ = other.title_; + tagType_ = other.tagType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterTag Clone() { + return new CharacterTag(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TagType" field.</summary> + public const int TagTypeFieldNumber = 3; + private int tagType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TagType { + get { return tagType_; } + set { + tagType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (TagType != other.TagType) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (TagType != 0) hash ^= TagType.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (TagType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TagType); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (TagType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TagType); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (TagType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TagType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterTag other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.TagType != 0) { + TagType = other.TagType; + } + _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: { + Title = input.ReadString(); + break; + } + case 24: { + TagType = 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 18: { + Title = input.ReadString(); + break; + } + case 24: { + TagType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterTag : pb::IMessage<table_CharacterTag> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterTag> _parser = new pb::MessageParser<table_CharacterTag>(() => new table_CharacterTag()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterTag> 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.ClientTableReflection.Descriptor.MessageTypes[71]; } + } + + [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 table_CharacterTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterTag(table_CharacterTag other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterTag Clone() { + return new table_CharacterTag(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterTag> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterTag.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterTag> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterTag>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterTag> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterTag other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterUpgrade : pb::IMessage<CharacterUpgrade> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterUpgrade> _parser = new pb::MessageParser<CharacterUpgrade>(() => new CharacterUpgrade()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterUpgrade> 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.ClientTableReflection.Descriptor.MessageTypes[72]; } + } + + [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 CharacterUpgrade() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterUpgrade(CharacterUpgrade other) : this() { + id_ = other.id_; + rarity_ = other.rarity_; + level_ = other.level_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterUpgrade Clone() { + return new CharacterUpgrade(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 "Rarity" field.</summary> + public const int RarityFieldNumber = 2; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = 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 "Exp" field.</summary> + public const int ExpFieldNumber = 4; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterUpgrade); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterUpgrade other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Rarity != other.Rarity) return false; + if (Level != other.Level) return false; + if (Exp != other.Exp) 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 (Rarity != 0) hash ^= Rarity.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.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 (Rarity != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rarity); + } + if (Level != 0) { + output.WriteRawTag(24); + output.WriteInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(32); + output.WriteInt32(Exp); + } + 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 (Rarity != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rarity); + } + if (Level != 0) { + output.WriteRawTag(24); + output.WriteInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(32); + output.WriteInt32(Exp); + } + 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 (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterUpgrade other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + Rarity = input.ReadInt32(); + break; + } + case 24: { + Level = input.ReadInt32(); + break; + } + case 32: { + Exp = 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: { + Rarity = input.ReadInt32(); + break; + } + case 24: { + Level = input.ReadInt32(); + break; + } + case 32: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterUpgrade : pb::IMessage<table_CharacterUpgrade> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterUpgrade> _parser = new pb::MessageParser<table_CharacterUpgrade>(() => new table_CharacterUpgrade()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterUpgrade> 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.ClientTableReflection.Descriptor.MessageTypes[73]; } + } + + [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 table_CharacterUpgrade() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterUpgrade(table_CharacterUpgrade other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterUpgrade Clone() { + return new table_CharacterUpgrade(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterUpgrade> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterUpgrade.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterUpgrade> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterUpgrade>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterUpgrade> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterUpgrade); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterUpgrade other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterUpgrade other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharacterVoiceControl : pb::IMessage<CharacterVoiceControl> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharacterVoiceControl> _parser = new pb::MessageParser<CharacterVoiceControl>(() => new CharacterVoiceControl()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharacterVoiceControl> 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.ClientTableReflection.Descriptor.MessageTypes[74]; } + } + + [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 CharacterVoiceControl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterVoiceControl(CharacterVoiceControl other) : this() { + id_ = other.id_; + probability_ = other.probability_; + resType_ = other.resType_; + combatOnly_ = other.combatOnly_; + worldLevelTypes_ = other.worldLevelTypes_.Clone(); + bubble_ = other.bubble_; + cd_ = other.cd_; + voPlayer_ = other.voPlayer_; + priority_ = other.priority_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharacterVoiceControl Clone() { + return new CharacterVoiceControl(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "probability" field.</summary> + public const int ProbabilityFieldNumber = 2; + private int probability_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Probability { + get { return probability_; } + set { + probability_ = value; + } + } + + /// <summary>Field number for the "resType" field.</summary> + public const int ResTypeFieldNumber = 3; + private int resType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ResType { + get { return resType_; } + set { + resType_ = value; + } + } + + /// <summary>Field number for the "combatOnly" field.</summary> + public const int CombatOnlyFieldNumber = 4; + private bool combatOnly_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CombatOnly { + get { return combatOnly_; } + set { + combatOnly_ = value; + } + } + + /// <summary>Field number for the "worldLevelTypes" field.</summary> + public const int WorldLevelTypesFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_worldLevelTypes_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> worldLevelTypes_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> WorldLevelTypes { + get { return worldLevelTypes_; } + } + + /// <summary>Field number for the "bubble" field.</summary> + public const int BubbleFieldNumber = 6; + private bool bubble_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Bubble { + get { return bubble_; } + set { + bubble_ = value; + } + } + + /// <summary>Field number for the "cd" field.</summary> + public const int CdFieldNumber = 7; + private float cd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Cd { + get { return cd_; } + set { + cd_ = value; + } + } + + /// <summary>Field number for the "voPlayer" field.</summary> + public const int VoPlayerFieldNumber = 8; + private int voPlayer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VoPlayer { + get { return voPlayer_; } + set { + voPlayer_ = value; + } + } + + /// <summary>Field number for the "priority" field.</summary> + public const int PriorityFieldNumber = 9; + private int priority_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Priority { + get { return priority_; } + set { + priority_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharacterVoiceControl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharacterVoiceControl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Probability != other.Probability) return false; + if (ResType != other.ResType) return false; + if (CombatOnly != other.CombatOnly) return false; + if(!worldLevelTypes_.Equals(other.worldLevelTypes_)) return false; + if (Bubble != other.Bubble) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Cd, other.Cd)) return false; + if (VoPlayer != other.VoPlayer) return false; + if (Priority != other.Priority) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Probability != 0) hash ^= Probability.GetHashCode(); + if (ResType != 0) hash ^= ResType.GetHashCode(); + if (CombatOnly != false) hash ^= CombatOnly.GetHashCode(); + hash ^= worldLevelTypes_.GetHashCode(); + if (Bubble != false) hash ^= Bubble.GetHashCode(); + if (Cd != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Cd); + if (VoPlayer != 0) hash ^= VoPlayer.GetHashCode(); + if (Priority != 0) hash ^= Priority.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Probability != 0) { + output.WriteRawTag(16); + output.WriteInt32(Probability); + } + if (ResType != 0) { + output.WriteRawTag(24); + output.WriteInt32(ResType); + } + if (CombatOnly != false) { + output.WriteRawTag(32); + output.WriteBool(CombatOnly); + } + worldLevelTypes_.WriteTo(output, _repeated_worldLevelTypes_codec); + if (Bubble != false) { + output.WriteRawTag(48); + output.WriteBool(Bubble); + } + if (Cd != 0F) { + output.WriteRawTag(61); + output.WriteFloat(Cd); + } + if (VoPlayer != 0) { + output.WriteRawTag(64); + output.WriteInt32(VoPlayer); + } + if (Priority != 0) { + output.WriteRawTag(72); + output.WriteInt32(Priority); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Probability != 0) { + output.WriteRawTag(16); + output.WriteInt32(Probability); + } + if (ResType != 0) { + output.WriteRawTag(24); + output.WriteInt32(ResType); + } + if (CombatOnly != false) { + output.WriteRawTag(32); + output.WriteBool(CombatOnly); + } + worldLevelTypes_.WriteTo(ref output, _repeated_worldLevelTypes_codec); + if (Bubble != false) { + output.WriteRawTag(48); + output.WriteBool(Bubble); + } + if (Cd != 0F) { + output.WriteRawTag(61); + output.WriteFloat(Cd); + } + if (VoPlayer != 0) { + output.WriteRawTag(64); + output.WriteInt32(VoPlayer); + } + if (Priority != 0) { + output.WriteRawTag(72); + output.WriteInt32(Priority); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Probability != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Probability); + } + if (ResType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResType); + } + if (CombatOnly != false) { + size += 1 + 1; + } + size += worldLevelTypes_.CalculateSize(_repeated_worldLevelTypes_codec); + if (Bubble != false) { + size += 1 + 1; + } + if (Cd != 0F) { + size += 1 + 4; + } + if (VoPlayer != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(VoPlayer); + } + if (Priority != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharacterVoiceControl other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Probability != 0) { + Probability = other.Probability; + } + if (other.ResType != 0) { + ResType = other.ResType; + } + if (other.CombatOnly != false) { + CombatOnly = other.CombatOnly; + } + worldLevelTypes_.Add(other.worldLevelTypes_); + if (other.Bubble != false) { + Bubble = other.Bubble; + } + if (other.Cd != 0F) { + Cd = other.Cd; + } + if (other.VoPlayer != 0) { + VoPlayer = other.VoPlayer; + } + if (other.Priority != 0) { + Priority = other.Priority; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Probability = input.ReadInt32(); + break; + } + case 24: { + ResType = input.ReadInt32(); + break; + } + case 32: { + CombatOnly = input.ReadBool(); + break; + } + case 42: + case 40: { + worldLevelTypes_.AddEntriesFrom(input, _repeated_worldLevelTypes_codec); + break; + } + case 48: { + Bubble = input.ReadBool(); + break; + } + case 61: { + Cd = input.ReadFloat(); + break; + } + case 64: { + VoPlayer = input.ReadInt32(); + break; + } + case 72: { + Priority = 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 10: { + Id = input.ReadString(); + break; + } + case 16: { + Probability = input.ReadInt32(); + break; + } + case 24: { + ResType = input.ReadInt32(); + break; + } + case 32: { + CombatOnly = input.ReadBool(); + break; + } + case 42: + case 40: { + worldLevelTypes_.AddEntriesFrom(ref input, _repeated_worldLevelTypes_codec); + break; + } + case 48: { + Bubble = input.ReadBool(); + break; + } + case 61: { + Cd = input.ReadFloat(); + break; + } + case 64: { + VoPlayer = input.ReadInt32(); + break; + } + case 72: { + Priority = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharacterVoiceControl : pb::IMessage<table_CharacterVoiceControl> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharacterVoiceControl> _parser = new pb::MessageParser<table_CharacterVoiceControl>(() => new table_CharacterVoiceControl()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharacterVoiceControl> 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.ClientTableReflection.Descriptor.MessageTypes[75]; } + } + + [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 table_CharacterVoiceControl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterVoiceControl(table_CharacterVoiceControl other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharacterVoiceControl Clone() { + return new table_CharacterVoiceControl(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharacterVoiceControl> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharacterVoiceControl.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharacterVoiceControl> list_ = new pbc::RepeatedField<global::Nova.Client.CharacterVoiceControl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharacterVoiceControl> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharacterVoiceControl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharacterVoiceControl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharacterVoiceControl other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharAffinityTemplate : pb::IMessage<CharAffinityTemplate> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharAffinityTemplate> _parser = new pb::MessageParser<CharAffinityTemplate>(() => new CharAffinityTemplate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharAffinityTemplate> 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.ClientTableReflection.Descriptor.MessageTypes[76]; } + } + + [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 CharAffinityTemplate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityTemplate(CharAffinityTemplate other) : this() { + id_ = other.id_; + templateId_ = other.templateId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharAffinityTemplate Clone() { + return new CharAffinityTemplate(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 "TemplateId" field.</summary> + public const int TemplateIdFieldNumber = 2; + private int templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharAffinityTemplate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharAffinityTemplate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TemplateId != other.TemplateId) 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 (TemplateId != 0) hash ^= TemplateId.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 (TemplateId != 0) { + output.WriteRawTag(16); + output.WriteInt32(TemplateId); + } + 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 (TemplateId != 0) { + output.WriteRawTag(16); + output.WriteInt32(TemplateId); + } + 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 (TemplateId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharAffinityTemplate other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.TemplateId != 0) { + TemplateId = other.TemplateId; + } + _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: { + TemplateId = 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: { + TemplateId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharAffinityTemplate : pb::IMessage<table_CharAffinityTemplate> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharAffinityTemplate> _parser = new pb::MessageParser<table_CharAffinityTemplate>(() => new table_CharAffinityTemplate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharAffinityTemplate> 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.ClientTableReflection.Descriptor.MessageTypes[77]; } + } + + [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 table_CharAffinityTemplate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharAffinityTemplate(table_CharAffinityTemplate other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharAffinityTemplate Clone() { + return new table_CharAffinityTemplate(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharAffinityTemplate> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharAffinityTemplate.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharAffinityTemplate> list_ = new pbc::RepeatedField<global::Nova.Client.CharAffinityTemplate>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharAffinityTemplate> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharAffinityTemplate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharAffinityTemplate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharAffinityTemplate other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharGrade : pb::IMessage<CharGrade> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharGrade> _parser = new pb::MessageParser<CharGrade>(() => new CharGrade()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharGrade> 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.ClientTableReflection.Descriptor.MessageTypes[78]; } + } + + [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 CharGrade() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharGrade(CharGrade other) : this() { + grade_ = other.grade_; + fragmentsQty_ = other.fragmentsQty_; + generalFragmentId_ = other.generalFragmentId_; + substituteItemId_ = other.substituteItemId_; + substituteItemQty_ = other.substituteItemQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharGrade Clone() { + return new CharGrade(this); + } + + /// <summary>Field number for the "Grade" field.</summary> + public const int GradeFieldNumber = 1; + private int grade_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Grade { + get { return grade_; } + set { + grade_ = value; + } + } + + /// <summary>Field number for the "FragmentsQty" field.</summary> + public const int FragmentsQtyFieldNumber = 2; + private int fragmentsQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FragmentsQty { + get { return fragmentsQty_; } + set { + fragmentsQty_ = value; + } + } + + /// <summary>Field number for the "GeneralFragmentId" field.</summary> + public const int GeneralFragmentIdFieldNumber = 3; + private int generalFragmentId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GeneralFragmentId { + get { return generalFragmentId_; } + set { + generalFragmentId_ = value; + } + } + + /// <summary>Field number for the "SubstituteItemId" field.</summary> + public const int SubstituteItemIdFieldNumber = 4; + private int substituteItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SubstituteItemId { + get { return substituteItemId_; } + set { + substituteItemId_ = value; + } + } + + /// <summary>Field number for the "SubstituteItemQty" field.</summary> + public const int SubstituteItemQtyFieldNumber = 5; + private int substituteItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SubstituteItemQty { + get { return substituteItemQty_; } + set { + substituteItemQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharGrade); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharGrade other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Grade != other.Grade) return false; + if (FragmentsQty != other.FragmentsQty) return false; + if (GeneralFragmentId != other.GeneralFragmentId) return false; + if (SubstituteItemId != other.SubstituteItemId) return false; + if (SubstituteItemQty != other.SubstituteItemQty) 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 (Grade != 0) hash ^= Grade.GetHashCode(); + if (FragmentsQty != 0) hash ^= FragmentsQty.GetHashCode(); + if (GeneralFragmentId != 0) hash ^= GeneralFragmentId.GetHashCode(); + if (SubstituteItemId != 0) hash ^= SubstituteItemId.GetHashCode(); + if (SubstituteItemQty != 0) hash ^= SubstituteItemQty.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 (Grade != 0) { + output.WriteRawTag(8); + output.WriteInt32(Grade); + } + if (FragmentsQty != 0) { + output.WriteRawTag(16); + output.WriteInt32(FragmentsQty); + } + if (GeneralFragmentId != 0) { + output.WriteRawTag(24); + output.WriteInt32(GeneralFragmentId); + } + if (SubstituteItemId != 0) { + output.WriteRawTag(32); + output.WriteInt32(SubstituteItemId); + } + if (SubstituteItemQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(SubstituteItemQty); + } + 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 (Grade != 0) { + output.WriteRawTag(8); + output.WriteInt32(Grade); + } + if (FragmentsQty != 0) { + output.WriteRawTag(16); + output.WriteInt32(FragmentsQty); + } + if (GeneralFragmentId != 0) { + output.WriteRawTag(24); + output.WriteInt32(GeneralFragmentId); + } + if (SubstituteItemId != 0) { + output.WriteRawTag(32); + output.WriteInt32(SubstituteItemId); + } + if (SubstituteItemQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(SubstituteItemQty); + } + 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 (Grade != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Grade); + } + if (FragmentsQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FragmentsQty); + } + if (GeneralFragmentId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GeneralFragmentId); + } + if (SubstituteItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubstituteItemId); + } + if (SubstituteItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubstituteItemQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharGrade other) { + if (other == null) { + return; + } + if (other.Grade != 0) { + Grade = other.Grade; + } + if (other.FragmentsQty != 0) { + FragmentsQty = other.FragmentsQty; + } + if (other.GeneralFragmentId != 0) { + GeneralFragmentId = other.GeneralFragmentId; + } + if (other.SubstituteItemId != 0) { + SubstituteItemId = other.SubstituteItemId; + } + if (other.SubstituteItemQty != 0) { + SubstituteItemQty = other.SubstituteItemQty; + } + _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: { + Grade = input.ReadInt32(); + break; + } + case 16: { + FragmentsQty = input.ReadInt32(); + break; + } + case 24: { + GeneralFragmentId = input.ReadInt32(); + break; + } + case 32: { + SubstituteItemId = input.ReadInt32(); + break; + } + case 40: { + SubstituteItemQty = 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: { + Grade = input.ReadInt32(); + break; + } + case 16: { + FragmentsQty = input.ReadInt32(); + break; + } + case 24: { + GeneralFragmentId = input.ReadInt32(); + break; + } + case 32: { + SubstituteItemId = input.ReadInt32(); + break; + } + case 40: { + SubstituteItemQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharGrade : pb::IMessage<table_CharGrade> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharGrade> _parser = new pb::MessageParser<table_CharGrade>(() => new table_CharGrade()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharGrade> 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.ClientTableReflection.Descriptor.MessageTypes[79]; } + } + + [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 table_CharGrade() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharGrade(table_CharGrade other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharGrade Clone() { + return new table_CharGrade(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharGrade> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharGrade.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharGrade> list_ = new pbc::RepeatedField<global::Nova.Client.CharGrade>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharGrade> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharGrade); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharGrade other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharGrade other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharItemExp : pb::IMessage<CharItemExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharItemExp> _parser = new pb::MessageParser<CharItemExp>(() => new CharItemExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharItemExp> 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.ClientTableReflection.Descriptor.MessageTypes[80]; } + } + + [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 CharItemExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharItemExp(CharItemExp other) : this() { + id_ = other.id_; + itemId_ = other.itemId_; + expValue_ = other.expValue_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharItemExp Clone() { + return new CharItemExp(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 "ItemId" field.</summary> + public const int ItemIdFieldNumber = 2; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ExpValue" field.</summary> + public const int ExpValueFieldNumber = 3; + private int expValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExpValue { + get { return expValue_; } + set { + expValue_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharItemExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharItemExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ItemId != other.ItemId) return false; + if (ExpValue != other.ExpValue) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ExpValue != 0) hash ^= ExpValue.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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (ExpValue != 0) { + output.WriteRawTag(24); + output.WriteInt32(ExpValue); + } + 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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (ExpValue != 0) { + output.WriteRawTag(24); + output.WriteInt32(ExpValue); + } + 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 (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ExpValue != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharItemExp other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ExpValue != 0) { + ExpValue = other.ExpValue; + } + _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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + ExpValue = 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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + ExpValue = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharItemExp : pb::IMessage<table_CharItemExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharItemExp> _parser = new pb::MessageParser<table_CharItemExp>(() => new table_CharItemExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharItemExp> 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.ClientTableReflection.Descriptor.MessageTypes[81]; } + } + + [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 table_CharItemExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharItemExp(table_CharItemExp other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharItemExp Clone() { + return new table_CharItemExp(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharItemExp> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharItemExp.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharItemExp> list_ = new pbc::RepeatedField<global::Nova.Client.CharItemExp>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharItemExp> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharItemExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharItemExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharItemExp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharPotential : pb::IMessage<CharPotential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharPotential> _parser = new pb::MessageParser<CharPotential>(() => new CharPotential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharPotential> 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.ClientTableReflection.Descriptor.MessageTypes[82]; } + } + + [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 CharPotential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharPotential(CharPotential other) : this() { + id_ = other.id_; + masterSpecificPotentialIds_ = other.masterSpecificPotentialIds_.Clone(); + assistSpecificPotentialIds_ = other.assistSpecificPotentialIds_.Clone(); + commonPotentialIds_ = other.commonPotentialIds_.Clone(); + masterNormalPotentialIds_ = other.masterNormalPotentialIds_.Clone(); + assistNormalPotentialIds_ = other.assistNormalPotentialIds_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharPotential Clone() { + return new CharPotential(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 "MasterSpecificPotentialIds" field.</summary> + public const int MasterSpecificPotentialIdsFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_masterSpecificPotentialIds_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> masterSpecificPotentialIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> MasterSpecificPotentialIds { + get { return masterSpecificPotentialIds_; } + } + + /// <summary>Field number for the "AssistSpecificPotentialIds" field.</summary> + public const int AssistSpecificPotentialIdsFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_assistSpecificPotentialIds_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> assistSpecificPotentialIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AssistSpecificPotentialIds { + get { return assistSpecificPotentialIds_; } + } + + /// <summary>Field number for the "CommonPotentialIds" field.</summary> + public const int CommonPotentialIdsFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_commonPotentialIds_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> commonPotentialIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CommonPotentialIds { + get { return commonPotentialIds_; } + } + + /// <summary>Field number for the "MasterNormalPotentialIds" field.</summary> + public const int MasterNormalPotentialIdsFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_masterNormalPotentialIds_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> masterNormalPotentialIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> MasterNormalPotentialIds { + get { return masterNormalPotentialIds_; } + } + + /// <summary>Field number for the "AssistNormalPotentialIds" field.</summary> + public const int AssistNormalPotentialIdsFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_assistNormalPotentialIds_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> assistNormalPotentialIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AssistNormalPotentialIds { + get { return assistNormalPotentialIds_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharPotential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharPotential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!masterSpecificPotentialIds_.Equals(other.masterSpecificPotentialIds_)) return false; + if(!assistSpecificPotentialIds_.Equals(other.assistSpecificPotentialIds_)) return false; + if(!commonPotentialIds_.Equals(other.commonPotentialIds_)) return false; + if(!masterNormalPotentialIds_.Equals(other.masterNormalPotentialIds_)) return false; + if(!assistNormalPotentialIds_.Equals(other.assistNormalPotentialIds_)) 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(); + hash ^= masterSpecificPotentialIds_.GetHashCode(); + hash ^= assistSpecificPotentialIds_.GetHashCode(); + hash ^= commonPotentialIds_.GetHashCode(); + hash ^= masterNormalPotentialIds_.GetHashCode(); + hash ^= assistNormalPotentialIds_.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); + } + masterSpecificPotentialIds_.WriteTo(output, _repeated_masterSpecificPotentialIds_codec); + assistSpecificPotentialIds_.WriteTo(output, _repeated_assistSpecificPotentialIds_codec); + commonPotentialIds_.WriteTo(output, _repeated_commonPotentialIds_codec); + masterNormalPotentialIds_.WriteTo(output, _repeated_masterNormalPotentialIds_codec); + assistNormalPotentialIds_.WriteTo(output, _repeated_assistNormalPotentialIds_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); + } + masterSpecificPotentialIds_.WriteTo(ref output, _repeated_masterSpecificPotentialIds_codec); + assistSpecificPotentialIds_.WriteTo(ref output, _repeated_assistSpecificPotentialIds_codec); + commonPotentialIds_.WriteTo(ref output, _repeated_commonPotentialIds_codec); + masterNormalPotentialIds_.WriteTo(ref output, _repeated_masterNormalPotentialIds_codec); + assistNormalPotentialIds_.WriteTo(ref output, _repeated_assistNormalPotentialIds_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); + } + size += masterSpecificPotentialIds_.CalculateSize(_repeated_masterSpecificPotentialIds_codec); + size += assistSpecificPotentialIds_.CalculateSize(_repeated_assistSpecificPotentialIds_codec); + size += commonPotentialIds_.CalculateSize(_repeated_commonPotentialIds_codec); + size += masterNormalPotentialIds_.CalculateSize(_repeated_masterNormalPotentialIds_codec); + size += assistNormalPotentialIds_.CalculateSize(_repeated_assistNormalPotentialIds_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharPotential other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + masterSpecificPotentialIds_.Add(other.masterSpecificPotentialIds_); + assistSpecificPotentialIds_.Add(other.assistSpecificPotentialIds_); + commonPotentialIds_.Add(other.commonPotentialIds_); + masterNormalPotentialIds_.Add(other.masterNormalPotentialIds_); + assistNormalPotentialIds_.Add(other.assistNormalPotentialIds_); + _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: + case 16: { + masterSpecificPotentialIds_.AddEntriesFrom(input, _repeated_masterSpecificPotentialIds_codec); + break; + } + case 26: + case 24: { + assistSpecificPotentialIds_.AddEntriesFrom(input, _repeated_assistSpecificPotentialIds_codec); + break; + } + case 34: + case 32: { + commonPotentialIds_.AddEntriesFrom(input, _repeated_commonPotentialIds_codec); + break; + } + case 42: + case 40: { + masterNormalPotentialIds_.AddEntriesFrom(input, _repeated_masterNormalPotentialIds_codec); + break; + } + case 50: + case 48: { + assistNormalPotentialIds_.AddEntriesFrom(input, _repeated_assistNormalPotentialIds_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 18: + case 16: { + masterSpecificPotentialIds_.AddEntriesFrom(ref input, _repeated_masterSpecificPotentialIds_codec); + break; + } + case 26: + case 24: { + assistSpecificPotentialIds_.AddEntriesFrom(ref input, _repeated_assistSpecificPotentialIds_codec); + break; + } + case 34: + case 32: { + commonPotentialIds_.AddEntriesFrom(ref input, _repeated_commonPotentialIds_codec); + break; + } + case 42: + case 40: { + masterNormalPotentialIds_.AddEntriesFrom(ref input, _repeated_masterNormalPotentialIds_codec); + break; + } + case 50: + case 48: { + assistNormalPotentialIds_.AddEntriesFrom(ref input, _repeated_assistNormalPotentialIds_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharPotential : pb::IMessage<table_CharPotential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharPotential> _parser = new pb::MessageParser<table_CharPotential>(() => new table_CharPotential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharPotential> 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.ClientTableReflection.Descriptor.MessageTypes[83]; } + } + + [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 table_CharPotential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharPotential(table_CharPotential other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharPotential Clone() { + return new table_CharPotential(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharPotential> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharPotential.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharPotential> list_ = new pbc::RepeatedField<global::Nova.Client.CharPotential>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharPotential> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharPotential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharPotential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharPotential other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CharRaritySequence : pb::IMessage<CharRaritySequence> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<CharRaritySequence> _parser = new pb::MessageParser<CharRaritySequence>(() => new CharRaritySequence()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<CharRaritySequence> 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.ClientTableReflection.Descriptor.MessageTypes[84]; } + } + + [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 CharRaritySequence() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharRaritySequence(CharRaritySequence other) : this() { + id_ = other.id_; + grade_ = other.grade_; + advanceLvl_ = other.advanceLvl_; + lvLimit_ = other.lvLimit_; + worldClassLimit_ = other.worldClassLimit_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CharRaritySequence Clone() { + return new CharRaritySequence(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 "Grade" field.</summary> + public const int GradeFieldNumber = 2; + private int grade_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Grade { + get { return grade_; } + set { + grade_ = value; + } + } + + /// <summary>Field number for the "AdvanceLvl" field.</summary> + public const int AdvanceLvlFieldNumber = 3; + private int advanceLvl_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdvanceLvl { + get { return advanceLvl_; } + set { + advanceLvl_ = value; + } + } + + /// <summary>Field number for the "LvLimit" field.</summary> + public const int LvLimitFieldNumber = 4; + private int lvLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LvLimit { + get { return lvLimit_; } + set { + lvLimit_ = value; + } + } + + /// <summary>Field number for the "WorldClassLimit" field.</summary> + public const int WorldClassLimitFieldNumber = 5; + private int worldClassLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClassLimit { + get { return worldClassLimit_; } + set { + worldClassLimit_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CharRaritySequence); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CharRaritySequence other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Grade != other.Grade) return false; + if (AdvanceLvl != other.AdvanceLvl) return false; + if (LvLimit != other.LvLimit) return false; + if (WorldClassLimit != other.WorldClassLimit) 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 (Grade != 0) hash ^= Grade.GetHashCode(); + if (AdvanceLvl != 0) hash ^= AdvanceLvl.GetHashCode(); + if (LvLimit != 0) hash ^= LvLimit.GetHashCode(); + if (WorldClassLimit != 0) hash ^= WorldClassLimit.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 (Grade != 0) { + output.WriteRawTag(16); + output.WriteInt32(Grade); + } + if (AdvanceLvl != 0) { + output.WriteRawTag(24); + output.WriteInt32(AdvanceLvl); + } + if (LvLimit != 0) { + output.WriteRawTag(32); + output.WriteInt32(LvLimit); + } + if (WorldClassLimit != 0) { + output.WriteRawTag(40); + output.WriteInt32(WorldClassLimit); + } + 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 (Grade != 0) { + output.WriteRawTag(16); + output.WriteInt32(Grade); + } + if (AdvanceLvl != 0) { + output.WriteRawTag(24); + output.WriteInt32(AdvanceLvl); + } + if (LvLimit != 0) { + output.WriteRawTag(32); + output.WriteInt32(LvLimit); + } + if (WorldClassLimit != 0) { + output.WriteRawTag(40); + output.WriteInt32(WorldClassLimit); + } + 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 (Grade != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Grade); + } + if (AdvanceLvl != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdvanceLvl); + } + if (LvLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LvLimit); + } + if (WorldClassLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClassLimit); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CharRaritySequence other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Grade != 0) { + Grade = other.Grade; + } + if (other.AdvanceLvl != 0) { + AdvanceLvl = other.AdvanceLvl; + } + if (other.LvLimit != 0) { + LvLimit = other.LvLimit; + } + if (other.WorldClassLimit != 0) { + WorldClassLimit = other.WorldClassLimit; + } + _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: { + Grade = input.ReadInt32(); + break; + } + case 24: { + AdvanceLvl = input.ReadInt32(); + break; + } + case 32: { + LvLimit = input.ReadInt32(); + break; + } + case 40: { + WorldClassLimit = 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: { + Grade = input.ReadInt32(); + break; + } + case 24: { + AdvanceLvl = input.ReadInt32(); + break; + } + case 32: { + LvLimit = input.ReadInt32(); + break; + } + case 40: { + WorldClassLimit = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_CharRaritySequence : pb::IMessage<table_CharRaritySequence> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_CharRaritySequence> _parser = new pb::MessageParser<table_CharRaritySequence>(() => new table_CharRaritySequence()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_CharRaritySequence> 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.ClientTableReflection.Descriptor.MessageTypes[85]; } + } + + [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 table_CharRaritySequence() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharRaritySequence(table_CharRaritySequence other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_CharRaritySequence Clone() { + return new table_CharRaritySequence(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.CharRaritySequence> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.CharRaritySequence.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.CharRaritySequence> list_ = new pbc::RepeatedField<global::Nova.Client.CharRaritySequence>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.CharRaritySequence> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_CharRaritySequence); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_CharRaritySequence other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_CharRaritySequence other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Chat : pb::IMessage<Chat> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Chat> _parser = new pb::MessageParser<Chat>(() => new Chat()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Chat> 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.ClientTableReflection.Descriptor.MessageTypes[86]; } + } + + [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 Chat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chat(Chat other) : this() { + id_ = other.id_; + addressBookId_ = other.addressBookId_; + aVGId_ = other.aVGId_; + aVGGroupId_ = other.aVGGroupId_; + preChatId_ = other.preChatId_; + priority_ = other.priority_; + triggerType_ = other.triggerType_; + autoPopUp_ = other.autoPopUp_; + triggerCond_ = other.triggerCond_; + triggerCondParam_ = other.triggerCondParam_; + reward1_ = other.reward1_; + rewardQty1_ = other.rewardQty1_; + reward2_ = other.reward2_; + rewardQty2_ = other.rewardQty2_; + reward3_ = other.reward3_; + rewardQty3_ = other.rewardQty3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chat Clone() { + return new Chat(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 "AddressBookId" field.</summary> + public const int AddressBookIdFieldNumber = 2; + private int addressBookId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AddressBookId { + get { return addressBookId_; } + set { + addressBookId_ = value; + } + } + + /// <summary>Field number for the "AVGId" field.</summary> + public const int AVGIdFieldNumber = 3; + private string aVGId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AVGId { + get { return aVGId_; } + set { + aVGId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AVGGroupId" field.</summary> + public const int AVGGroupIdFieldNumber = 4; + private string aVGGroupId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AVGGroupId { + get { return aVGGroupId_; } + set { + aVGGroupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PreChatId" field.</summary> + public const int PreChatIdFieldNumber = 5; + private int preChatId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreChatId { + get { return preChatId_; } + set { + preChatId_ = value; + } + } + + /// <summary>Field number for the "Priority" field.</summary> + public const int PriorityFieldNumber = 6; + private int priority_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Priority { + get { return priority_; } + set { + priority_ = value; + } + } + + /// <summary>Field number for the "TriggerType" field.</summary> + public const int TriggerTypeFieldNumber = 7; + private int triggerType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerType { + get { return triggerType_; } + set { + triggerType_ = value; + } + } + + /// <summary>Field number for the "AutoPopUp" field.</summary> + public const int AutoPopUpFieldNumber = 8; + private bool autoPopUp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AutoPopUp { + get { return autoPopUp_; } + set { + autoPopUp_ = value; + } + } + + /// <summary>Field number for the "TriggerCond" field.</summary> + public const int TriggerCondFieldNumber = 9; + private int triggerCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerCond { + get { return triggerCond_; } + set { + triggerCond_ = value; + } + } + + /// <summary>Field number for the "TriggerCondParam" field.</summary> + public const int TriggerCondParamFieldNumber = 10; + private string triggerCondParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerCondParam { + get { return triggerCondParam_; } + set { + triggerCondParam_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Reward1" field.</summary> + public const int Reward1FieldNumber = 11; + private int reward1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward1 { + get { return reward1_; } + set { + reward1_ = value; + } + } + + /// <summary>Field number for the "RewardQty1" field.</summary> + public const int RewardQty1FieldNumber = 12; + private int rewardQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty1 { + get { return rewardQty1_; } + set { + rewardQty1_ = value; + } + } + + /// <summary>Field number for the "Reward2" field.</summary> + public const int Reward2FieldNumber = 13; + private int reward2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward2 { + get { return reward2_; } + set { + reward2_ = value; + } + } + + /// <summary>Field number for the "RewardQty2" field.</summary> + public const int RewardQty2FieldNumber = 14; + private int rewardQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty2 { + get { return rewardQty2_; } + set { + rewardQty2_ = value; + } + } + + /// <summary>Field number for the "Reward3" field.</summary> + public const int Reward3FieldNumber = 15; + private int reward3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward3 { + get { return reward3_; } + set { + reward3_ = value; + } + } + + /// <summary>Field number for the "RewardQty3" field.</summary> + public const int RewardQty3FieldNumber = 16; + private int rewardQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty3 { + get { return rewardQty3_; } + set { + rewardQty3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Chat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Chat other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (AddressBookId != other.AddressBookId) return false; + if (AVGId != other.AVGId) return false; + if (AVGGroupId != other.AVGGroupId) return false; + if (PreChatId != other.PreChatId) return false; + if (Priority != other.Priority) return false; + if (TriggerType != other.TriggerType) return false; + if (AutoPopUp != other.AutoPopUp) return false; + if (TriggerCond != other.TriggerCond) return false; + if (TriggerCondParam != other.TriggerCondParam) return false; + if (Reward1 != other.Reward1) return false; + if (RewardQty1 != other.RewardQty1) return false; + if (Reward2 != other.Reward2) return false; + if (RewardQty2 != other.RewardQty2) return false; + if (Reward3 != other.Reward3) return false; + if (RewardQty3 != other.RewardQty3) 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 (AddressBookId != 0) hash ^= AddressBookId.GetHashCode(); + if (AVGId.Length != 0) hash ^= AVGId.GetHashCode(); + if (AVGGroupId.Length != 0) hash ^= AVGGroupId.GetHashCode(); + if (PreChatId != 0) hash ^= PreChatId.GetHashCode(); + if (Priority != 0) hash ^= Priority.GetHashCode(); + if (TriggerType != 0) hash ^= TriggerType.GetHashCode(); + if (AutoPopUp != false) hash ^= AutoPopUp.GetHashCode(); + if (TriggerCond != 0) hash ^= TriggerCond.GetHashCode(); + if (TriggerCondParam.Length != 0) hash ^= TriggerCondParam.GetHashCode(); + if (Reward1 != 0) hash ^= Reward1.GetHashCode(); + if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); + if (Reward2 != 0) hash ^= Reward2.GetHashCode(); + if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); + if (Reward3 != 0) hash ^= Reward3.GetHashCode(); + if (RewardQty3 != 0) hash ^= RewardQty3.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 (AddressBookId != 0) { + output.WriteRawTag(16); + output.WriteInt32(AddressBookId); + } + if (AVGId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AVGId); + } + if (AVGGroupId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AVGGroupId); + } + if (PreChatId != 0) { + output.WriteRawTag(40); + output.WriteInt32(PreChatId); + } + if (Priority != 0) { + output.WriteRawTag(48); + output.WriteInt32(Priority); + } + if (TriggerType != 0) { + output.WriteRawTag(56); + output.WriteInt32(TriggerType); + } + if (AutoPopUp != false) { + output.WriteRawTag(64); + output.WriteBool(AutoPopUp); + } + if (TriggerCond != 0) { + output.WriteRawTag(72); + output.WriteInt32(TriggerCond); + } + if (TriggerCondParam.Length != 0) { + output.WriteRawTag(82); + output.WriteString(TriggerCondParam); + } + if (Reward1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(96); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(112); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(RewardQty3); + } + 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 (AddressBookId != 0) { + output.WriteRawTag(16); + output.WriteInt32(AddressBookId); + } + if (AVGId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AVGId); + } + if (AVGGroupId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AVGGroupId); + } + if (PreChatId != 0) { + output.WriteRawTag(40); + output.WriteInt32(PreChatId); + } + if (Priority != 0) { + output.WriteRawTag(48); + output.WriteInt32(Priority); + } + if (TriggerType != 0) { + output.WriteRawTag(56); + output.WriteInt32(TriggerType); + } + if (AutoPopUp != false) { + output.WriteRawTag(64); + output.WriteBool(AutoPopUp); + } + if (TriggerCond != 0) { + output.WriteRawTag(72); + output.WriteInt32(TriggerCond); + } + if (TriggerCondParam.Length != 0) { + output.WriteRawTag(82); + output.WriteString(TriggerCondParam); + } + if (Reward1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(96); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(112); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(RewardQty3); + } + 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 (AddressBookId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AddressBookId); + } + if (AVGId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGId); + } + if (AVGGroupId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGGroupId); + } + if (PreChatId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreChatId); + } + if (Priority != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); + } + if (TriggerType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerType); + } + if (AutoPopUp != false) { + size += 1 + 1; + } + if (TriggerCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCond); + } + if (TriggerCondParam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerCondParam); + } + if (Reward1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); + } + if (RewardQty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); + } + if (Reward2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); + } + if (RewardQty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); + } + if (Reward3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); + } + if (RewardQty3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Chat other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.AddressBookId != 0) { + AddressBookId = other.AddressBookId; + } + if (other.AVGId.Length != 0) { + AVGId = other.AVGId; + } + if (other.AVGGroupId.Length != 0) { + AVGGroupId = other.AVGGroupId; + } + if (other.PreChatId != 0) { + PreChatId = other.PreChatId; + } + if (other.Priority != 0) { + Priority = other.Priority; + } + if (other.TriggerType != 0) { + TriggerType = other.TriggerType; + } + if (other.AutoPopUp != false) { + AutoPopUp = other.AutoPopUp; + } + if (other.TriggerCond != 0) { + TriggerCond = other.TriggerCond; + } + if (other.TriggerCondParam.Length != 0) { + TriggerCondParam = other.TriggerCondParam; + } + if (other.Reward1 != 0) { + Reward1 = other.Reward1; + } + if (other.RewardQty1 != 0) { + RewardQty1 = other.RewardQty1; + } + if (other.Reward2 != 0) { + Reward2 = other.Reward2; + } + if (other.RewardQty2 != 0) { + RewardQty2 = other.RewardQty2; + } + if (other.Reward3 != 0) { + Reward3 = other.Reward3; + } + if (other.RewardQty3 != 0) { + RewardQty3 = other.RewardQty3; + } + _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: { + AddressBookId = input.ReadInt32(); + break; + } + case 26: { + AVGId = input.ReadString(); + break; + } + case 34: { + AVGGroupId = input.ReadString(); + break; + } + case 40: { + PreChatId = input.ReadInt32(); + break; + } + case 48: { + Priority = input.ReadInt32(); + break; + } + case 56: { + TriggerType = input.ReadInt32(); + break; + } + case 64: { + AutoPopUp = input.ReadBool(); + break; + } + case 72: { + TriggerCond = input.ReadInt32(); + break; + } + case 82: { + TriggerCondParam = input.ReadString(); + break; + } + case 88: { + Reward1 = input.ReadInt32(); + break; + } + case 96: { + RewardQty1 = input.ReadInt32(); + break; + } + case 104: { + Reward2 = input.ReadInt32(); + break; + } + case 112: { + RewardQty2 = input.ReadInt32(); + break; + } + case 120: { + Reward3 = input.ReadInt32(); + break; + } + case 128: { + RewardQty3 = 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: { + AddressBookId = input.ReadInt32(); + break; + } + case 26: { + AVGId = input.ReadString(); + break; + } + case 34: { + AVGGroupId = input.ReadString(); + break; + } + case 40: { + PreChatId = input.ReadInt32(); + break; + } + case 48: { + Priority = input.ReadInt32(); + break; + } + case 56: { + TriggerType = input.ReadInt32(); + break; + } + case 64: { + AutoPopUp = input.ReadBool(); + break; + } + case 72: { + TriggerCond = input.ReadInt32(); + break; + } + case 82: { + TriggerCondParam = input.ReadString(); + break; + } + case 88: { + Reward1 = input.ReadInt32(); + break; + } + case 96: { + RewardQty1 = input.ReadInt32(); + break; + } + case 104: { + Reward2 = input.ReadInt32(); + break; + } + case 112: { + RewardQty2 = input.ReadInt32(); + break; + } + case 120: { + Reward3 = input.ReadInt32(); + break; + } + case 128: { + RewardQty3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Chat : pb::IMessage<table_Chat> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Chat> _parser = new pb::MessageParser<table_Chat>(() => new table_Chat()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Chat> 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.ClientTableReflection.Descriptor.MessageTypes[87]; } + } + + [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 table_Chat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Chat(table_Chat other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Chat Clone() { + return new table_Chat(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Chat> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Chat.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Chat> list_ = new pbc::RepeatedField<global::Nova.Client.Chat>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Chat> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Chat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Chat other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Chat other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Chest : pb::IMessage<Chest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Chest> _parser = new pb::MessageParser<Chest>(() => new Chest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Chest> 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.ClientTableReflection.Descriptor.MessageTypes[88]; } + } + + [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 Chest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chest(Chest other) : this() { + id_ = other.id_; + group_ = other.group_; + label_ = other.label_; + lowFloor_ = other.lowFloor_; + highFloor_ = other.highFloor_; + tnteractionType_ = other.tnteractionType_; + autoOpen_ = other.autoOpen_; + modelPath_ = other.modelPath_; + item1_ = other.item1_; + number1_ = other.number1_; + item2_ = other.item2_; + number2_ = other.number2_; + item3_ = other.item3_; + number3_ = other.number3_; + item4_ = other.item4_; + number4_ = other.number4_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Chest Clone() { + return new Chest(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" field.</summary> + public const int GroupFieldNumber = 2; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "Label" field.</summary> + public const int LabelFieldNumber = 3; + private int label_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Label { + get { return label_; } + set { + label_ = value; + } + } + + /// <summary>Field number for the "LowFloor" field.</summary> + public const int LowFloorFieldNumber = 4; + private int lowFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LowFloor { + get { return lowFloor_; } + set { + lowFloor_ = value; + } + } + + /// <summary>Field number for the "HighFloor" field.</summary> + public const int HighFloorFieldNumber = 5; + private int highFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HighFloor { + get { return highFloor_; } + set { + highFloor_ = value; + } + } + + /// <summary>Field number for the "TnteractionType" field.</summary> + public const int TnteractionTypeFieldNumber = 6; + private int tnteractionType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TnteractionType { + get { return tnteractionType_; } + set { + tnteractionType_ = value; + } + } + + /// <summary>Field number for the "AutoOpen" field.</summary> + public const int AutoOpenFieldNumber = 7; + private int autoOpen_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AutoOpen { + get { return autoOpen_; } + set { + autoOpen_ = value; + } + } + + /// <summary>Field number for the "ModelPath" field.</summary> + public const int ModelPathFieldNumber = 8; + private string modelPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ModelPath { + get { return modelPath_; } + set { + modelPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Item1" field.</summary> + public const int Item1FieldNumber = 9; + private int item1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Item1 { + get { return item1_; } + set { + item1_ = value; + } + } + + /// <summary>Field number for the "Number1" field.</summary> + public const int Number1FieldNumber = 10; + private int number1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number1 { + get { return number1_; } + set { + number1_ = value; + } + } + + /// <summary>Field number for the "Item2" field.</summary> + public const int Item2FieldNumber = 11; + private int item2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Item2 { + get { return item2_; } + set { + item2_ = value; + } + } + + /// <summary>Field number for the "Number2" field.</summary> + public const int Number2FieldNumber = 12; + private int number2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number2 { + get { return number2_; } + set { + number2_ = value; + } + } + + /// <summary>Field number for the "Item3" field.</summary> + public const int Item3FieldNumber = 13; + private int item3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Item3 { + get { return item3_; } + set { + item3_ = value; + } + } + + /// <summary>Field number for the "Number3" field.</summary> + public const int Number3FieldNumber = 14; + private int number3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number3 { + get { return number3_; } + set { + number3_ = value; + } + } + + /// <summary>Field number for the "Item4" field.</summary> + public const int Item4FieldNumber = 15; + private int item4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Item4 { + get { return item4_; } + set { + item4_ = value; + } + } + + /// <summary>Field number for the "Number4" field.</summary> + public const int Number4FieldNumber = 16; + private int number4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number4 { + get { return number4_; } + set { + number4_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Chest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Chest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Group != other.Group) return false; + if (Label != other.Label) return false; + if (LowFloor != other.LowFloor) return false; + if (HighFloor != other.HighFloor) return false; + if (TnteractionType != other.TnteractionType) return false; + if (AutoOpen != other.AutoOpen) return false; + if (ModelPath != other.ModelPath) return false; + if (Item1 != other.Item1) return false; + if (Number1 != other.Number1) return false; + if (Item2 != other.Item2) return false; + if (Number2 != other.Number2) return false; + if (Item3 != other.Item3) return false; + if (Number3 != other.Number3) return false; + if (Item4 != other.Item4) return false; + if (Number4 != other.Number4) 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 (Group != 0) hash ^= Group.GetHashCode(); + if (Label != 0) hash ^= Label.GetHashCode(); + if (LowFloor != 0) hash ^= LowFloor.GetHashCode(); + if (HighFloor != 0) hash ^= HighFloor.GetHashCode(); + if (TnteractionType != 0) hash ^= TnteractionType.GetHashCode(); + if (AutoOpen != 0) hash ^= AutoOpen.GetHashCode(); + if (ModelPath.Length != 0) hash ^= ModelPath.GetHashCode(); + if (Item1 != 0) hash ^= Item1.GetHashCode(); + if (Number1 != 0) hash ^= Number1.GetHashCode(); + if (Item2 != 0) hash ^= Item2.GetHashCode(); + if (Number2 != 0) hash ^= Number2.GetHashCode(); + if (Item3 != 0) hash ^= Item3.GetHashCode(); + if (Number3 != 0) hash ^= Number3.GetHashCode(); + if (Item4 != 0) hash ^= Item4.GetHashCode(); + if (Number4 != 0) hash ^= Number4.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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (Label != 0) { + output.WriteRawTag(24); + output.WriteInt32(Label); + } + if (LowFloor != 0) { + output.WriteRawTag(32); + output.WriteInt32(LowFloor); + } + if (HighFloor != 0) { + output.WriteRawTag(40); + output.WriteInt32(HighFloor); + } + if (TnteractionType != 0) { + output.WriteRawTag(48); + output.WriteInt32(TnteractionType); + } + if (AutoOpen != 0) { + output.WriteRawTag(56); + output.WriteInt32(AutoOpen); + } + if (ModelPath.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ModelPath); + } + if (Item1 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Item1); + } + if (Number1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Number1); + } + if (Item2 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Item2); + } + if (Number2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(Number2); + } + if (Item3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Item3); + } + if (Number3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(Number3); + } + if (Item4 != 0) { + output.WriteRawTag(120); + output.WriteInt32(Item4); + } + if (Number4 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Number4); + } + 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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (Label != 0) { + output.WriteRawTag(24); + output.WriteInt32(Label); + } + if (LowFloor != 0) { + output.WriteRawTag(32); + output.WriteInt32(LowFloor); + } + if (HighFloor != 0) { + output.WriteRawTag(40); + output.WriteInt32(HighFloor); + } + if (TnteractionType != 0) { + output.WriteRawTag(48); + output.WriteInt32(TnteractionType); + } + if (AutoOpen != 0) { + output.WriteRawTag(56); + output.WriteInt32(AutoOpen); + } + if (ModelPath.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ModelPath); + } + if (Item1 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Item1); + } + if (Number1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Number1); + } + if (Item2 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Item2); + } + if (Number2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(Number2); + } + if (Item3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Item3); + } + if (Number3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(Number3); + } + if (Item4 != 0) { + output.WriteRawTag(120); + output.WriteInt32(Item4); + } + if (Number4 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(Number4); + } + 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 (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (Label != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Label); + } + if (LowFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LowFloor); + } + if (HighFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(HighFloor); + } + if (TnteractionType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TnteractionType); + } + if (AutoOpen != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AutoOpen); + } + if (ModelPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ModelPath); + } + if (Item1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item1); + } + if (Number1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1); + } + if (Item2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item2); + } + if (Number2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2); + } + if (Item3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item3); + } + if (Number3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number3); + } + if (Item4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item4); + } + if (Number4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Number4); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Chest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.Label != 0) { + Label = other.Label; + } + if (other.LowFloor != 0) { + LowFloor = other.LowFloor; + } + if (other.HighFloor != 0) { + HighFloor = other.HighFloor; + } + if (other.TnteractionType != 0) { + TnteractionType = other.TnteractionType; + } + if (other.AutoOpen != 0) { + AutoOpen = other.AutoOpen; + } + if (other.ModelPath.Length != 0) { + ModelPath = other.ModelPath; + } + if (other.Item1 != 0) { + Item1 = other.Item1; + } + if (other.Number1 != 0) { + Number1 = other.Number1; + } + if (other.Item2 != 0) { + Item2 = other.Item2; + } + if (other.Number2 != 0) { + Number2 = other.Number2; + } + if (other.Item3 != 0) { + Item3 = other.Item3; + } + if (other.Number3 != 0) { + Number3 = other.Number3; + } + if (other.Item4 != 0) { + Item4 = other.Item4; + } + if (other.Number4 != 0) { + Number4 = other.Number4; + } + _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: { + Group = input.ReadInt32(); + break; + } + case 24: { + Label = input.ReadInt32(); + break; + } + case 32: { + LowFloor = input.ReadInt32(); + break; + } + case 40: { + HighFloor = input.ReadInt32(); + break; + } + case 48: { + TnteractionType = input.ReadInt32(); + break; + } + case 56: { + AutoOpen = input.ReadInt32(); + break; + } + case 66: { + ModelPath = input.ReadString(); + break; + } + case 72: { + Item1 = input.ReadInt32(); + break; + } + case 80: { + Number1 = input.ReadInt32(); + break; + } + case 88: { + Item2 = input.ReadInt32(); + break; + } + case 96: { + Number2 = input.ReadInt32(); + break; + } + case 104: { + Item3 = input.ReadInt32(); + break; + } + case 112: { + Number3 = input.ReadInt32(); + break; + } + case 120: { + Item4 = input.ReadInt32(); + break; + } + case 128: { + Number4 = 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: { + Group = input.ReadInt32(); + break; + } + case 24: { + Label = input.ReadInt32(); + break; + } + case 32: { + LowFloor = input.ReadInt32(); + break; + } + case 40: { + HighFloor = input.ReadInt32(); + break; + } + case 48: { + TnteractionType = input.ReadInt32(); + break; + } + case 56: { + AutoOpen = input.ReadInt32(); + break; + } + case 66: { + ModelPath = input.ReadString(); + break; + } + case 72: { + Item1 = input.ReadInt32(); + break; + } + case 80: { + Number1 = input.ReadInt32(); + break; + } + case 88: { + Item2 = input.ReadInt32(); + break; + } + case 96: { + Number2 = input.ReadInt32(); + break; + } + case 104: { + Item3 = input.ReadInt32(); + break; + } + case 112: { + Number3 = input.ReadInt32(); + break; + } + case 120: { + Item4 = input.ReadInt32(); + break; + } + case 128: { + Number4 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Chest : pb::IMessage<table_Chest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Chest> _parser = new pb::MessageParser<table_Chest>(() => new table_Chest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Chest> 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.ClientTableReflection.Descriptor.MessageTypes[89]; } + } + + [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 table_Chest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Chest(table_Chest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Chest Clone() { + return new table_Chest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Chest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Chest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Chest> list_ = new pbc::RepeatedField<global::Nova.Client.Chest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Chest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Chest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Chest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Chest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Config : pb::IMessage<Config> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Config> _parser = new pb::MessageParser<Config>(() => new Config()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Config> 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.ClientTableReflection.Descriptor.MessageTypes[90]; } + } + + [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 Config() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Config(Config other) : this() { + id_ = other.id_; + value_ = other.value_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Config Clone() { + return new Config(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Value" field.</summary> + public const int ValueFieldNumber = 2; + private string value_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Value { + get { return value_; } + set { + value_ = 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 Config); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Config other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Value != other.Value) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Value.Length != 0) hash ^= Value.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Value.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Value); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Value.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Value); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Config other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Value.Length != 0) { + Value = other.Value; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Value = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Value = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Config : pb::IMessage<table_Config> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Config> _parser = new pb::MessageParser<table_Config>(() => new table_Config()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Config> 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.ClientTableReflection.Descriptor.MessageTypes[91]; } + } + + [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 table_Config() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Config(table_Config other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Config Clone() { + return new table_Config(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Config> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Config.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Config> list_ = new pbc::RepeatedField<global::Nova.Client.Config>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Config> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Config); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Config other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Config other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ContentWord : pb::IMessage<ContentWord> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ContentWord> _parser = new pb::MessageParser<ContentWord>(() => new ContentWord()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ContentWord> 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.ClientTableReflection.Descriptor.MessageTypes[92]; } + } + + [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 ContentWord() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentWord(ContentWord other) : this() { + id_ = other.id_; + presetColor_ = other.presetColor_; + word_ = other.word_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ContentWord Clone() { + return new ContentWord(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 "PresetColor" field.</summary> + public const int PresetColorFieldNumber = 2; + private string presetColor_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetColor { + get { return presetColor_; } + set { + presetColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Word" field.</summary> + public const int WordFieldNumber = 3; + private string word_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Word { + get { return word_; } + set { + word_ = 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 ContentWord); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ContentWord other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (PresetColor != other.PresetColor) return false; + if (Word != other.Word) 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 (PresetColor.Length != 0) hash ^= PresetColor.GetHashCode(); + if (Word.Length != 0) hash ^= Word.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 (PresetColor.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PresetColor); + } + if (Word.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Word); + } + 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 (PresetColor.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PresetColor); + } + if (Word.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Word); + } + 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 (PresetColor.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetColor); + } + if (Word.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Word); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ContentWord other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.PresetColor.Length != 0) { + PresetColor = other.PresetColor; + } + if (other.Word.Length != 0) { + Word = other.Word; + } + _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: { + PresetColor = input.ReadString(); + break; + } + case 26: { + Word = 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 18: { + PresetColor = input.ReadString(); + break; + } + case 26: { + Word = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ContentWord : pb::IMessage<table_ContentWord> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ContentWord> _parser = new pb::MessageParser<table_ContentWord>(() => new table_ContentWord()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ContentWord> 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.ClientTableReflection.Descriptor.MessageTypes[93]; } + } + + [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 table_ContentWord() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ContentWord(table_ContentWord other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ContentWord Clone() { + return new table_ContentWord(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ContentWord> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ContentWord.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ContentWord> list_ = new pbc::RepeatedField<global::Nova.Client.ContentWord>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ContentWord> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ContentWord); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ContentWord other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ContentWord other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstance : pb::IMessage<DailyInstance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyInstance> _parser = new pb::MessageParser<DailyInstance>(() => new DailyInstance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyInstance> 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.ClientTableReflection.Descriptor.MessageTypes[94]; } + } + + [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); + } + + /// <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 "DailyType" field.</summary> + 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; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + 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; + } + } + + /// <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 "SuggestedPower" field.</summary> + 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; + } + } + + /// <summary>Field number for the "PreLevelId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "PreLevelStar" field.</summary> + 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; + } + } + + /// <summary>Field number for the "NeedWorldClass" field.</summary> + 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; + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "OneStarDesc" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "TwoStarDesc" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "ThreeStarDesc" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "OneStarEnergyConsume" field.</summary> + 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; + } + } + + /// <summary>Field number for the "TwoStarEnergyConsume" field.</summary> + 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; + } + } + + /// <summary>Field number for the "ThreeStarEnergyConsume" field.</summary> + 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; + } + } + + /// <summary>Field number for the "AwardDropId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "FirstRewardPreview" field.</summary> + public const int FirstRewardPreviewFieldNumber = 20; + private static readonly pb::FieldCodec<int> _repeated_firstRewardPreview_codec + = pb::FieldCodec.ForInt32(162); + private readonly pbc::RepeatedField<int> firstRewardPreview_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> 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 + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyInstance : pb::IMessage<table_DailyInstance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyInstance> _parser = new pb::MessageParser<table_DailyInstance>(() => new table_DailyInstance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyInstance> 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.ClientTableReflection.Descriptor.MessageTypes[95]; } + } + + [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 table_DailyInstance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstance(table_DailyInstance other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstance Clone() { + return new table_DailyInstance(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyInstance> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstance.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyInstance> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstance>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyInstance> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyInstance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyInstance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyInstance other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceFloor : pb::IMessage<DailyInstanceFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyInstanceFloor> _parser = new pb::MessageParser<DailyInstanceFloor>(() => new DailyInstanceFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyInstanceFloor> 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.ClientTableReflection.Descriptor.MessageTypes[96]; } + } + + [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 DailyInstanceFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceFloor(DailyInstanceFloor other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + monsterId_ = other.monsterId_; + oneStarCondition_ = other.oneStarCondition_; + twoStarCondition_ = other.twoStarCondition_; + threeStarCondition_ = other.threeStarCondition_; + levelTotalTime_ = other.levelTotalTime_; + timeEndSettlement_ = other.timeEndSettlement_; + starConditionType_ = other.starConditionType_; + monsterLv_ = other.monsterLv_; + dropEntityGroupId_ = other.dropEntityGroupId_; + dropEntityRate_ = other.dropEntityRate_; + dropMaxNum_ = other.dropMaxNum_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceFloor Clone() { + return new DailyInstanceFloor(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "monsterId" field.</summary> + public const int MonsterIdFieldNumber = 7; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "OneStarCondition" field.</summary> + public const int OneStarConditionFieldNumber = 8; + private int oneStarCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OneStarCondition { + get { return oneStarCondition_; } + set { + oneStarCondition_ = value; + } + } + + /// <summary>Field number for the "TwoStarCondition" field.</summary> + public const int TwoStarConditionFieldNumber = 9; + private int twoStarCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TwoStarCondition { + get { return twoStarCondition_; } + set { + twoStarCondition_ = value; + } + } + + /// <summary>Field number for the "ThreeStarCondition" field.</summary> + public const int ThreeStarConditionFieldNumber = 10; + private int threeStarCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ThreeStarCondition { + get { return threeStarCondition_; } + set { + threeStarCondition_ = value; + } + } + + /// <summary>Field number for the "LevelTotalTime" field.</summary> + public const int LevelTotalTimeFieldNumber = 11; + private int levelTotalTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTotalTime { + get { return levelTotalTime_; } + set { + levelTotalTime_ = value; + } + } + + /// <summary>Field number for the "TimeEndSettlement" field.</summary> + public const int TimeEndSettlementFieldNumber = 12; + private bool timeEndSettlement_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool TimeEndSettlement { + get { return timeEndSettlement_; } + set { + timeEndSettlement_ = value; + } + } + + /// <summary>Field number for the "StarConditionType" field.</summary> + public const int StarConditionTypeFieldNumber = 13; + private int starConditionType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StarConditionType { + get { return starConditionType_; } + set { + starConditionType_ = value; + } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 14; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + /// <summary>Field number for the "DropEntityGroupId" field.</summary> + public const int DropEntityGroupIdFieldNumber = 15; + private int dropEntityGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropEntityGroupId { + get { return dropEntityGroupId_; } + set { + dropEntityGroupId_ = value; + } + } + + /// <summary>Field number for the "DropEntityRate" field.</summary> + public const int DropEntityRateFieldNumber = 16; + private int dropEntityRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropEntityRate { + get { return dropEntityRate_; } + set { + dropEntityRate_ = value; + } + } + + /// <summary>Field number for the "DropMaxNum" field.</summary> + public const int DropMaxNumFieldNumber = 17; + private int dropMaxNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropMaxNum { + get { return dropMaxNum_; } + set { + dropMaxNum_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DailyInstanceFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; + if (MonsterId != other.MonsterId) return false; + if (OneStarCondition != other.OneStarCondition) return false; + if (TwoStarCondition != other.TwoStarCondition) return false; + if (ThreeStarCondition != other.ThreeStarCondition) return false; + if (LevelTotalTime != other.LevelTotalTime) return false; + if (TimeEndSettlement != other.TimeEndSettlement) return false; + if (StarConditionType != other.StarConditionType) return false; + if (MonsterLv != other.MonsterLv) return false; + if (DropEntityGroupId != other.DropEntityGroupId) return false; + if (DropEntityRate != other.DropEntityRate) return false; + if (DropMaxNum != other.DropMaxNum) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (OneStarCondition != 0) hash ^= OneStarCondition.GetHashCode(); + if (TwoStarCondition != 0) hash ^= TwoStarCondition.GetHashCode(); + if (ThreeStarCondition != 0) hash ^= ThreeStarCondition.GetHashCode(); + if (LevelTotalTime != 0) hash ^= LevelTotalTime.GetHashCode(); + if (TimeEndSettlement != false) hash ^= TimeEndSettlement.GetHashCode(); + if (StarConditionType != 0) hash ^= StarConditionType.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); + if (DropEntityGroupId != 0) hash ^= DropEntityGroupId.GetHashCode(); + if (DropEntityRate != 0) hash ^= DropEntityRate.GetHashCode(); + if (DropMaxNum != 0) hash ^= DropMaxNum.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterId != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterId); + } + if (OneStarCondition != 0) { + output.WriteRawTag(64); + output.WriteInt32(OneStarCondition); + } + if (TwoStarCondition != 0) { + output.WriteRawTag(72); + output.WriteInt32(TwoStarCondition); + } + if (ThreeStarCondition != 0) { + output.WriteRawTag(80); + output.WriteInt32(ThreeStarCondition); + } + if (LevelTotalTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(LevelTotalTime); + } + if (TimeEndSettlement != false) { + output.WriteRawTag(96); + output.WriteBool(TimeEndSettlement); + } + if (StarConditionType != 0) { + output.WriteRawTag(104); + output.WriteInt32(StarConditionType); + } + if (MonsterLv != 0) { + output.WriteRawTag(112); + output.WriteInt32(MonsterLv); + } + if (DropEntityGroupId != 0) { + output.WriteRawTag(120); + output.WriteInt32(DropEntityGroupId); + } + if (DropEntityRate != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(DropEntityRate); + } + if (DropMaxNum != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(DropMaxNum); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterId != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterId); + } + if (OneStarCondition != 0) { + output.WriteRawTag(64); + output.WriteInt32(OneStarCondition); + } + if (TwoStarCondition != 0) { + output.WriteRawTag(72); + output.WriteInt32(TwoStarCondition); + } + if (ThreeStarCondition != 0) { + output.WriteRawTag(80); + output.WriteInt32(ThreeStarCondition); + } + if (LevelTotalTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(LevelTotalTime); + } + if (TimeEndSettlement != false) { + output.WriteRawTag(96); + output.WriteBool(TimeEndSettlement); + } + if (StarConditionType != 0) { + output.WriteRawTag(104); + output.WriteInt32(StarConditionType); + } + if (MonsterLv != 0) { + output.WriteRawTag(112); + output.WriteInt32(MonsterLv); + } + if (DropEntityGroupId != 0) { + output.WriteRawTag(120); + output.WriteInt32(DropEntityGroupId); + } + if (DropEntityRate != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(DropEntityRate); + } + if (DropMaxNum != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(DropMaxNum); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (OneStarCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneStarCondition); + } + if (TwoStarCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TwoStarCondition); + } + if (ThreeStarCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThreeStarCondition); + } + if (LevelTotalTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTotalTime); + } + if (TimeEndSettlement != false) { + size += 1 + 1; + } + if (StarConditionType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarConditionType); + } + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (DropEntityGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropEntityGroupId); + } + if (DropEntityRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropEntityRate); + } + if (DropMaxNum != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropMaxNum); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.OneStarCondition != 0) { + OneStarCondition = other.OneStarCondition; + } + if (other.TwoStarCondition != 0) { + TwoStarCondition = other.TwoStarCondition; + } + if (other.ThreeStarCondition != 0) { + ThreeStarCondition = other.ThreeStarCondition; + } + if (other.LevelTotalTime != 0) { + LevelTotalTime = other.LevelTotalTime; + } + if (other.TimeEndSettlement != false) { + TimeEndSettlement = other.TimeEndSettlement; + } + if (other.StarConditionType != 0) { + StarConditionType = other.StarConditionType; + } + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + if (other.DropEntityGroupId != 0) { + DropEntityGroupId = other.DropEntityGroupId; + } + if (other.DropEntityRate != 0) { + DropEntityRate = other.DropEntityRate; + } + if (other.DropMaxNum != 0) { + DropMaxNum = other.DropMaxNum; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterId = input.ReadInt32(); + break; + } + case 64: { + OneStarCondition = input.ReadInt32(); + break; + } + case 72: { + TwoStarCondition = input.ReadInt32(); + break; + } + case 80: { + ThreeStarCondition = input.ReadInt32(); + break; + } + case 88: { + LevelTotalTime = input.ReadInt32(); + break; + } + case 96: { + TimeEndSettlement = input.ReadBool(); + break; + } + case 104: { + StarConditionType = input.ReadInt32(); + break; + } + case 112: { + MonsterLv = input.ReadInt32(); + break; + } + case 120: { + DropEntityGroupId = input.ReadInt32(); + break; + } + case 128: { + DropEntityRate = input.ReadInt32(); + break; + } + case 136: { + DropMaxNum = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterId = input.ReadInt32(); + break; + } + case 64: { + OneStarCondition = input.ReadInt32(); + break; + } + case 72: { + TwoStarCondition = input.ReadInt32(); + break; + } + case 80: { + ThreeStarCondition = input.ReadInt32(); + break; + } + case 88: { + LevelTotalTime = input.ReadInt32(); + break; + } + case 96: { + TimeEndSettlement = input.ReadBool(); + break; + } + case 104: { + StarConditionType = input.ReadInt32(); + break; + } + case 112: { + MonsterLv = input.ReadInt32(); + break; + } + case 120: { + DropEntityGroupId = input.ReadInt32(); + break; + } + case 128: { + DropEntityRate = input.ReadInt32(); + break; + } + case 136: { + DropMaxNum = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyInstanceFloor : pb::IMessage<table_DailyInstanceFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyInstanceFloor> _parser = new pb::MessageParser<table_DailyInstanceFloor>(() => new table_DailyInstanceFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyInstanceFloor> 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.ClientTableReflection.Descriptor.MessageTypes[97]; } + } + + [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 table_DailyInstanceFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstanceFloor(table_DailyInstanceFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstanceFloor Clone() { + return new table_DailyInstanceFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyInstanceFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstanceFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyInstanceFloor> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstanceFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyInstanceFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyInstanceFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyInstanceFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyInstanceFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceRewardGroup : pb::IMessage<DailyInstanceRewardGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyInstanceRewardGroup> _parser = new pb::MessageParser<DailyInstanceRewardGroup>(() => new DailyInstanceRewardGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyInstanceRewardGroup> 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.ClientTableReflection.Descriptor.MessageTypes[98]; } + } + + [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 DailyInstanceRewardGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRewardGroup(DailyInstanceRewardGroup other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + dailyRewardType_ = other.dailyRewardType_; + rewardName_ = other.rewardName_; + rewardDes_ = other.rewardDes_; + rewardIcon_ = other.rewardIcon_; + dropId_ = other.dropId_; + baseAwardPreview_ = other.baseAwardPreview_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceRewardGroup Clone() { + return new DailyInstanceRewardGroup(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 "GroupId" 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 "DailyRewardType" field.</summary> + public const int DailyRewardTypeFieldNumber = 3; + private int dailyRewardType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DailyRewardType { + get { return dailyRewardType_; } + set { + dailyRewardType_ = value; + } + } + + /// <summary>Field number for the "RewardName" field.</summary> + public const int RewardNameFieldNumber = 4; + private string rewardName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardName { + get { return rewardName_; } + set { + rewardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RewardDes" field.</summary> + public const int RewardDesFieldNumber = 5; + private string rewardDes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardDes { + get { return rewardDes_; } + set { + rewardDes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RewardIcon" field.</summary> + public const int RewardIconFieldNumber = 6; + private string rewardIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardIcon { + get { return rewardIcon_; } + set { + rewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DropId" field.</summary> + public const int DropIdFieldNumber = 7; + private int dropId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropId { + get { return dropId_; } + set { + dropId_ = value; + } + } + + /// <summary>Field number for the "BaseAwardPreview" field.</summary> + public const int BaseAwardPreviewFieldNumber = 8; + private string baseAwardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BaseAwardPreview { + get { return baseAwardPreview_; } + set { + baseAwardPreview_ = 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 DailyInstanceRewardGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceRewardGroup 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 (DailyRewardType != other.DailyRewardType) return false; + if (RewardName != other.RewardName) return false; + if (RewardDes != other.RewardDes) return false; + if (RewardIcon != other.RewardIcon) return false; + if (DropId != other.DropId) return false; + if (BaseAwardPreview != other.BaseAwardPreview) 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 (DailyRewardType != 0) hash ^= DailyRewardType.GetHashCode(); + if (RewardName.Length != 0) hash ^= RewardName.GetHashCode(); + if (RewardDes.Length != 0) hash ^= RewardDes.GetHashCode(); + if (RewardIcon.Length != 0) hash ^= RewardIcon.GetHashCode(); + if (DropId != 0) hash ^= DropId.GetHashCode(); + if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.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 (DailyRewardType != 0) { + output.WriteRawTag(24); + output.WriteInt32(DailyRewardType); + } + if (RewardName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(RewardName); + } + if (RewardDes.Length != 0) { + output.WriteRawTag(42); + output.WriteString(RewardDes); + } + if (RewardIcon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(RewardIcon); + } + if (DropId != 0) { + output.WriteRawTag(56); + output.WriteInt32(DropId); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(66); + output.WriteString(BaseAwardPreview); + } + 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 (DailyRewardType != 0) { + output.WriteRawTag(24); + output.WriteInt32(DailyRewardType); + } + if (RewardName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(RewardName); + } + if (RewardDes.Length != 0) { + output.WriteRawTag(42); + output.WriteString(RewardDes); + } + if (RewardIcon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(RewardIcon); + } + if (DropId != 0) { + output.WriteRawTag(56); + output.WriteInt32(DropId); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(66); + output.WriteString(BaseAwardPreview); + } + 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 (DailyRewardType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DailyRewardType); + } + if (RewardName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardName); + } + if (RewardDes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDes); + } + if (RewardIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardIcon); + } + if (DropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); + } + if (BaseAwardPreview.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceRewardGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.DailyRewardType != 0) { + DailyRewardType = other.DailyRewardType; + } + if (other.RewardName.Length != 0) { + RewardName = other.RewardName; + } + if (other.RewardDes.Length != 0) { + RewardDes = other.RewardDes; + } + if (other.RewardIcon.Length != 0) { + RewardIcon = other.RewardIcon; + } + if (other.DropId != 0) { + DropId = other.DropId; + } + if (other.BaseAwardPreview.Length != 0) { + BaseAwardPreview = other.BaseAwardPreview; + } + _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: { + DailyRewardType = input.ReadInt32(); + break; + } + case 34: { + RewardName = input.ReadString(); + break; + } + case 42: { + RewardDes = input.ReadString(); + break; + } + case 50: { + RewardIcon = input.ReadString(); + break; + } + case 56: { + DropId = input.ReadInt32(); + break; + } + case 66: { + BaseAwardPreview = 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: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + DailyRewardType = input.ReadInt32(); + break; + } + case 34: { + RewardName = input.ReadString(); + break; + } + case 42: { + RewardDes = input.ReadString(); + break; + } + case 50: { + RewardIcon = input.ReadString(); + break; + } + case 56: { + DropId = input.ReadInt32(); + break; + } + case 66: { + BaseAwardPreview = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyInstanceRewardGroup : pb::IMessage<table_DailyInstanceRewardGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyInstanceRewardGroup> _parser = new pb::MessageParser<table_DailyInstanceRewardGroup>(() => new table_DailyInstanceRewardGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyInstanceRewardGroup> 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.ClientTableReflection.Descriptor.MessageTypes[99]; } + } + + [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 table_DailyInstanceRewardGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstanceRewardGroup(table_DailyInstanceRewardGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstanceRewardGroup Clone() { + return new table_DailyInstanceRewardGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyInstanceRewardGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstanceRewardGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyInstanceRewardGroup> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstanceRewardGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyInstanceRewardGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyInstanceRewardGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyInstanceRewardGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyInstanceRewardGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyInstanceType : pb::IMessage<DailyInstanceType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyInstanceType> _parser = new pb::MessageParser<DailyInstanceType>(() => new DailyInstanceType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyInstanceType> 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.ClientTableReflection.Descriptor.MessageTypes[100]; } + } + + [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 DailyInstanceType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceType(DailyInstanceType other) : this() { + id_ = other.id_; + name_ = other.name_; + mainLineId_ = other.mainLineId_; + worldClassLevel_ = other.worldClassLevel_; + episode_ = other.episode_; + image_ = other.image_; + sort_ = other.sort_; + howReward_ = other.howReward_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyInstanceType Clone() { + return new DailyInstanceType(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 "MainLineId" field.</summary> + public const int MainLineIdFieldNumber = 3; + private int mainLineId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainLineId { + get { return mainLineId_; } + set { + mainLineId_ = value; + } + } + + /// <summary>Field number for the "WorldClassLevel" field.</summary> + public const int WorldClassLevelFieldNumber = 4; + private int worldClassLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClassLevel { + get { return worldClassLevel_; } + set { + worldClassLevel_ = value; + } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 5; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "Sort" field.</summary> + public const int SortFieldNumber = 7; + 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 "HowReward" field.</summary> + public const int HowRewardFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_howReward_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> howReward_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> HowReward { + get { return howReward_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DailyInstanceType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyInstanceType 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 (MainLineId != other.MainLineId) return false; + if (WorldClassLevel != other.WorldClassLevel) return false; + if (Episode != other.Episode) return false; + if (Image != other.Image) return false; + if (Sort != other.Sort) return false; + if(!howReward_.Equals(other.howReward_)) 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 (MainLineId != 0) hash ^= MainLineId.GetHashCode(); + if (WorldClassLevel != 0) hash ^= WorldClassLevel.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Image.Length != 0) hash ^= Image.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + hash ^= howReward_.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 (MainLineId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MainLineId); + } + if (WorldClassLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(WorldClassLevel); + } + if (Episode.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Image); + } + if (Sort != 0) { + output.WriteRawTag(56); + output.WriteInt32(Sort); + } + howReward_.WriteTo(output, _repeated_howReward_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (MainLineId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MainLineId); + } + if (WorldClassLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(WorldClassLevel); + } + if (Episode.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Image); + } + if (Sort != 0) { + output.WriteRawTag(56); + output.WriteInt32(Sort); + } + howReward_.WriteTo(ref output, _repeated_howReward_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (MainLineId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainLineId); + } + if (WorldClassLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClassLevel); + } + if (Episode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Image.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + size += howReward_.CalculateSize(_repeated_howReward_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyInstanceType other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.MainLineId != 0) { + MainLineId = other.MainLineId; + } + if (other.WorldClassLevel != 0) { + WorldClassLevel = other.WorldClassLevel; + } + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Image.Length != 0) { + Image = other.Image; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + howReward_.Add(other.howReward_); + _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: { + MainLineId = input.ReadInt32(); + break; + } + case 32: { + WorldClassLevel = input.ReadInt32(); + break; + } + case 42: { + Episode = input.ReadString(); + break; + } + case 50: { + Image = input.ReadString(); + break; + } + case 56: { + Sort = input.ReadInt32(); + break; + } + case 66: + case 64: { + howReward_.AddEntriesFrom(input, _repeated_howReward_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 18: { + Name = input.ReadString(); + break; + } + case 24: { + MainLineId = input.ReadInt32(); + break; + } + case 32: { + WorldClassLevel = input.ReadInt32(); + break; + } + case 42: { + Episode = input.ReadString(); + break; + } + case 50: { + Image = input.ReadString(); + break; + } + case 56: { + Sort = input.ReadInt32(); + break; + } + case 66: + case 64: { + howReward_.AddEntriesFrom(ref input, _repeated_howReward_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyInstanceType : pb::IMessage<table_DailyInstanceType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyInstanceType> _parser = new pb::MessageParser<table_DailyInstanceType>(() => new table_DailyInstanceType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyInstanceType> 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.ClientTableReflection.Descriptor.MessageTypes[101]; } + } + + [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 table_DailyInstanceType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstanceType(table_DailyInstanceType other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyInstanceType Clone() { + return new table_DailyInstanceType(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyInstanceType> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyInstanceType.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyInstanceType> list_ = new pbc::RepeatedField<global::Nova.Client.DailyInstanceType>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyInstanceType> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyInstanceType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyInstanceType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyInstanceType other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyQuest : pb::IMessage<DailyQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyQuest> _parser = new pb::MessageParser<DailyQuest>(() => new DailyQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyQuest> 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.ClientTableReflection.Descriptor.MessageTypes[102]; } + } + + [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 DailyQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyQuest(DailyQuest other) : this() { + id_ = other.id_; + title_ = other.title_; + desc_ = other.desc_; + jumpTo_ = other.jumpTo_; + order_ = other.order_; + active_ = other.active_; + apear_ = other.apear_; + acceptParams2_ = other.acceptParams2_; + completeCond_ = other.completeCond_; + completeCondParams_ = other.completeCondParams_; + completeCondClient_ = other.completeCondClient_; + clientCompleteParams1_ = other.clientCompleteParams1_.Clone(); + clientCompleteParams2_ = other.clientCompleteParams2_.Clone(); + itemTid_ = other.itemTid_; + itemQty_ = other.itemQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyQuest Clone() { + return new DailyQuest(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "JumpTo" field.</summary> + public const int JumpToFieldNumber = 4; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Order" field.</summary> + public const int OrderFieldNumber = 5; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "Active" field.</summary> + public const int ActiveFieldNumber = 6; + private int active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Active { + get { return active_; } + set { + active_ = value; + } + } + + /// <summary>Field number for the "Apear" field.</summary> + public const int ApearFieldNumber = 7; + private bool apear_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Apear { + get { return apear_; } + set { + apear_ = value; + } + } + + /// <summary>Field number for the "AcceptParams2" field.</summary> + public const int AcceptParams2FieldNumber = 8; + private string acceptParams2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AcceptParams2 { + get { return acceptParams2_; } + set { + acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CompleteCond" field.</summary> + public const int CompleteCondFieldNumber = 9; + private int completeCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCond { + get { return completeCond_; } + set { + completeCond_ = value; + } + } + + /// <summary>Field number for the "CompleteCondParams" field.</summary> + public const int CompleteCondParamsFieldNumber = 10; + private string completeCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteCondParams { + get { return completeCondParams_; } + set { + completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CompleteCondClient" field.</summary> + public const int CompleteCondClientFieldNumber = 11; + private int completeCondClient_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCondClient { + get { return completeCondClient_; } + set { + completeCondClient_ = value; + } + } + + /// <summary>Field number for the "ClientCompleteParams1" field.</summary> + public const int ClientCompleteParams1FieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_clientCompleteParams1_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> clientCompleteParams1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ClientCompleteParams1 { + get { return clientCompleteParams1_; } + } + + /// <summary>Field number for the "ClientCompleteParams2" field.</summary> + public const int ClientCompleteParams2FieldNumber = 13; + private static readonly pb::FieldCodec<int> _repeated_clientCompleteParams2_codec + = pb::FieldCodec.ForInt32(106); + private readonly pbc::RepeatedField<int> clientCompleteParams2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ClientCompleteParams2 { + get { return clientCompleteParams2_; } + } + + /// <summary>Field number for the "ItemTid" field.</summary> + public const int ItemTidFieldNumber = 14; + private int itemTid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemTid { + get { return itemTid_; } + set { + itemTid_ = value; + } + } + + /// <summary>Field number for the "ItemQty" field.</summary> + public const int ItemQtyFieldNumber = 15; + private int itemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty { + get { return itemQty_; } + set { + itemQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DailyQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (JumpTo != other.JumpTo) return false; + if (Order != other.Order) return false; + if (Active != other.Active) return false; + if (Apear != other.Apear) return false; + if (AcceptParams2 != other.AcceptParams2) return false; + if (CompleteCond != other.CompleteCond) return false; + if (CompleteCondParams != other.CompleteCondParams) return false; + if (CompleteCondClient != other.CompleteCondClient) return false; + if(!clientCompleteParams1_.Equals(other.clientCompleteParams1_)) return false; + if(!clientCompleteParams2_.Equals(other.clientCompleteParams2_)) return false; + if (ItemTid != other.ItemTid) return false; + if (ItemQty != other.ItemQty) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (Active != 0) hash ^= Active.GetHashCode(); + if (Apear != false) hash ^= Apear.GetHashCode(); + if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode(); + if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); + if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); + if (CompleteCondClient != 0) hash ^= CompleteCondClient.GetHashCode(); + hash ^= clientCompleteParams1_.GetHashCode(); + hash ^= clientCompleteParams2_.GetHashCode(); + if (ItemTid != 0) hash ^= ItemTid.GetHashCode(); + if (ItemQty != 0) hash ^= ItemQty.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(40); + output.WriteInt32(Order); + } + if (Active != 0) { + output.WriteRawTag(48); + output.WriteInt32(Active); + } + if (Apear != false) { + output.WriteRawTag(56); + output.WriteBool(Apear); + } + if (AcceptParams2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(AcceptParams2); + } + if (CompleteCond != 0) { + output.WriteRawTag(72); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CompleteCondParams); + } + if (CompleteCondClient != 0) { + output.WriteRawTag(88); + output.WriteInt32(CompleteCondClient); + } + clientCompleteParams1_.WriteTo(output, _repeated_clientCompleteParams1_codec); + clientCompleteParams2_.WriteTo(output, _repeated_clientCompleteParams2_codec); + if (ItemTid != 0) { + output.WriteRawTag(112); + output.WriteInt32(ItemTid); + } + if (ItemQty != 0) { + output.WriteRawTag(120); + output.WriteInt32(ItemQty); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(40); + output.WriteInt32(Order); + } + if (Active != 0) { + output.WriteRawTag(48); + output.WriteInt32(Active); + } + if (Apear != false) { + output.WriteRawTag(56); + output.WriteBool(Apear); + } + if (AcceptParams2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(AcceptParams2); + } + if (CompleteCond != 0) { + output.WriteRawTag(72); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CompleteCondParams); + } + if (CompleteCondClient != 0) { + output.WriteRawTag(88); + output.WriteInt32(CompleteCondClient); + } + clientCompleteParams1_.WriteTo(ref output, _repeated_clientCompleteParams1_codec); + clientCompleteParams2_.WriteTo(ref output, _repeated_clientCompleteParams2_codec); + if (ItemTid != 0) { + output.WriteRawTag(112); + output.WriteInt32(ItemTid); + } + if (ItemQty != 0) { + output.WriteRawTag(120); + output.WriteInt32(ItemQty); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (Active != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active); + } + if (Apear != false) { + size += 1 + 1; + } + if (AcceptParams2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2); + } + if (CompleteCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); + } + if (CompleteCondClient != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCondClient); + } + size += clientCompleteParams1_.CalculateSize(_repeated_clientCompleteParams1_codec); + size += clientCompleteParams2_.CalculateSize(_repeated_clientCompleteParams2_codec); + if (ItemTid != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid); + } + if (ItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.Active != 0) { + Active = other.Active; + } + if (other.Apear != false) { + Apear = other.Apear; + } + if (other.AcceptParams2.Length != 0) { + AcceptParams2 = other.AcceptParams2; + } + if (other.CompleteCond != 0) { + CompleteCond = other.CompleteCond; + } + if (other.CompleteCondParams.Length != 0) { + CompleteCondParams = other.CompleteCondParams; + } + if (other.CompleteCondClient != 0) { + CompleteCondClient = other.CompleteCondClient; + } + clientCompleteParams1_.Add(other.clientCompleteParams1_); + clientCompleteParams2_.Add(other.clientCompleteParams2_); + if (other.ItemTid != 0) { + ItemTid = other.ItemTid; + } + if (other.ItemQty != 0) { + ItemQty = other.ItemQty; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Order = input.ReadInt32(); + break; + } + case 48: { + Active = input.ReadInt32(); + break; + } + case 56: { + Apear = input.ReadBool(); + break; + } + case 66: { + AcceptParams2 = input.ReadString(); + break; + } + case 72: { + CompleteCond = input.ReadInt32(); + break; + } + case 82: { + CompleteCondParams = input.ReadString(); + break; + } + case 88: { + CompleteCondClient = input.ReadInt32(); + break; + } + case 98: + case 96: { + clientCompleteParams1_.AddEntriesFrom(input, _repeated_clientCompleteParams1_codec); + break; + } + case 106: + case 104: { + clientCompleteParams2_.AddEntriesFrom(input, _repeated_clientCompleteParams2_codec); + break; + } + case 112: { + ItemTid = input.ReadInt32(); + break; + } + case 120: { + ItemQty = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Order = input.ReadInt32(); + break; + } + case 48: { + Active = input.ReadInt32(); + break; + } + case 56: { + Apear = input.ReadBool(); + break; + } + case 66: { + AcceptParams2 = input.ReadString(); + break; + } + case 72: { + CompleteCond = input.ReadInt32(); + break; + } + case 82: { + CompleteCondParams = input.ReadString(); + break; + } + case 88: { + CompleteCondClient = input.ReadInt32(); + break; + } + case 98: + case 96: { + clientCompleteParams1_.AddEntriesFrom(ref input, _repeated_clientCompleteParams1_codec); + break; + } + case 106: + case 104: { + clientCompleteParams2_.AddEntriesFrom(ref input, _repeated_clientCompleteParams2_codec); + break; + } + case 112: { + ItemTid = input.ReadInt32(); + break; + } + case 120: { + ItemQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyQuest : pb::IMessage<table_DailyQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyQuest> _parser = new pb::MessageParser<table_DailyQuest>(() => new table_DailyQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyQuest> 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.ClientTableReflection.Descriptor.MessageTypes[103]; } + } + + [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 table_DailyQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyQuest(table_DailyQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyQuest Clone() { + return new table_DailyQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyQuest> list_ = new pbc::RepeatedField<global::Nova.Client.DailyQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyQuestActive : pb::IMessage<DailyQuestActive> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyQuestActive> _parser = new pb::MessageParser<DailyQuestActive>(() => new DailyQuestActive()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyQuestActive> 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.ClientTableReflection.Descriptor.MessageTypes[104]; } + } + + [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 DailyQuestActive() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyQuestActive(DailyQuestActive other) : this() { + id_ = other.id_; + active_ = other.active_; + itemTid1_ = other.itemTid1_; + number1_ = other.number1_; + itemTid2_ = other.itemTid2_; + number2_ = other.number2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyQuestActive Clone() { + return new DailyQuestActive(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 "Active" field.</summary> + public const int ActiveFieldNumber = 2; + private int active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Active { + get { return active_; } + set { + active_ = value; + } + } + + /// <summary>Field number for the "ItemTid1" field.</summary> + public const int ItemTid1FieldNumber = 3; + private int itemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemTid1 { + get { return itemTid1_; } + set { + itemTid1_ = value; + } + } + + /// <summary>Field number for the "Number1" field.</summary> + public const int Number1FieldNumber = 4; + private int number1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number1 { + get { return number1_; } + set { + number1_ = value; + } + } + + /// <summary>Field number for the "ItemTid2" field.</summary> + public const int ItemTid2FieldNumber = 5; + private int itemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemTid2 { + get { return itemTid2_; } + set { + itemTid2_ = value; + } + } + + /// <summary>Field number for the "Number2" field.</summary> + public const int Number2FieldNumber = 6; + private int number2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number2 { + get { return number2_; } + set { + number2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DailyQuestActive); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyQuestActive other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Active != other.Active) return false; + if (ItemTid1 != other.ItemTid1) return false; + if (Number1 != other.Number1) return false; + if (ItemTid2 != other.ItemTid2) return false; + if (Number2 != other.Number2) 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 (Active != 0) hash ^= Active.GetHashCode(); + if (ItemTid1 != 0) hash ^= ItemTid1.GetHashCode(); + if (Number1 != 0) hash ^= Number1.GetHashCode(); + if (ItemTid2 != 0) hash ^= ItemTid2.GetHashCode(); + if (Number2 != 0) hash ^= Number2.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 (Active != 0) { + output.WriteRawTag(16); + output.WriteInt32(Active); + } + if (ItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(ItemTid1); + } + if (Number1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Number1); + } + if (ItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemTid2); + } + if (Number2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Number2); + } + 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 (Active != 0) { + output.WriteRawTag(16); + output.WriteInt32(Active); + } + if (ItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(ItemTid1); + } + if (Number1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Number1); + } + if (ItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemTid2); + } + if (Number2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Number2); + } + 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 (Active != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active); + } + if (ItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid1); + } + if (Number1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1); + } + if (ItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid2); + } + if (Number2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyQuestActive other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Active != 0) { + Active = other.Active; + } + if (other.ItemTid1 != 0) { + ItemTid1 = other.ItemTid1; + } + if (other.Number1 != 0) { + Number1 = other.Number1; + } + if (other.ItemTid2 != 0) { + ItemTid2 = other.ItemTid2; + } + if (other.Number2 != 0) { + Number2 = other.Number2; + } + _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: { + Active = input.ReadInt32(); + break; + } + case 24: { + ItemTid1 = input.ReadInt32(); + break; + } + case 32: { + Number1 = input.ReadInt32(); + break; + } + case 40: { + ItemTid2 = input.ReadInt32(); + break; + } + case 48: { + Number2 = 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: { + Active = input.ReadInt32(); + break; + } + case 24: { + ItemTid1 = input.ReadInt32(); + break; + } + case 32: { + Number1 = input.ReadInt32(); + break; + } + case 40: { + ItemTid2 = input.ReadInt32(); + break; + } + case 48: { + Number2 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyQuestActive : pb::IMessage<table_DailyQuestActive> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyQuestActive> _parser = new pb::MessageParser<table_DailyQuestActive>(() => new table_DailyQuestActive()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyQuestActive> 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.ClientTableReflection.Descriptor.MessageTypes[105]; } + } + + [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 table_DailyQuestActive() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyQuestActive(table_DailyQuestActive other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyQuestActive Clone() { + return new table_DailyQuestActive(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyQuestActive> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyQuestActive.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyQuestActive> list_ = new pbc::RepeatedField<global::Nova.Client.DailyQuestActive>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyQuestActive> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyQuestActive); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyQuestActive other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyQuestActive other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DailyQuestAward : pb::IMessage<DailyQuestAward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DailyQuestAward> _parser = new pb::MessageParser<DailyQuestAward>(() => new DailyQuestAward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DailyQuestAward> 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.ClientTableReflection.Descriptor.MessageTypes[106]; } + } + + [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 DailyQuestAward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyQuestAward(DailyQuestAward other) : this() { + id_ = other.id_; + title_ = other.title_; + needPoint_ = other.needPoint_; + numShow_ = other.numShow_; + itemTid1_ = other.itemTid1_; + number1_ = other.number1_; + itemTid2_ = other.itemTid2_; + number2_ = other.number2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DailyQuestAward Clone() { + return new DailyQuestAward(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NeedPoint" field.</summary> + public const int NeedPointFieldNumber = 3; + private int needPoint_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedPoint { + get { return needPoint_; } + set { + needPoint_ = value; + } + } + + /// <summary>Field number for the "NumShow" field.</summary> + public const int NumShowFieldNumber = 4; + private int numShow_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NumShow { + get { return numShow_; } + set { + numShow_ = value; + } + } + + /// <summary>Field number for the "ItemTid1" field.</summary> + public const int ItemTid1FieldNumber = 5; + private int itemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemTid1 { + get { return itemTid1_; } + set { + itemTid1_ = value; + } + } + + /// <summary>Field number for the "Number1" field.</summary> + public const int Number1FieldNumber = 6; + private int number1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number1 { + get { return number1_; } + set { + number1_ = value; + } + } + + /// <summary>Field number for the "ItemTid2" field.</summary> + public const int ItemTid2FieldNumber = 7; + private int itemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemTid2 { + get { return itemTid2_; } + set { + itemTid2_ = value; + } + } + + /// <summary>Field number for the "Number2" field.</summary> + public const int Number2FieldNumber = 8; + private int number2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Number2 { + get { return number2_; } + set { + number2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DailyQuestAward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DailyQuestAward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (NeedPoint != other.NeedPoint) return false; + if (NumShow != other.NumShow) return false; + if (ItemTid1 != other.ItemTid1) return false; + if (Number1 != other.Number1) return false; + if (ItemTid2 != other.ItemTid2) return false; + if (Number2 != other.Number2) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (NeedPoint != 0) hash ^= NeedPoint.GetHashCode(); + if (NumShow != 0) hash ^= NumShow.GetHashCode(); + if (ItemTid1 != 0) hash ^= ItemTid1.GetHashCode(); + if (Number1 != 0) hash ^= Number1.GetHashCode(); + if (ItemTid2 != 0) hash ^= ItemTid2.GetHashCode(); + if (Number2 != 0) hash ^= Number2.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (NeedPoint != 0) { + output.WriteRawTag(24); + output.WriteInt32(NeedPoint); + } + if (NumShow != 0) { + output.WriteRawTag(32); + output.WriteInt32(NumShow); + } + if (ItemTid1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemTid1); + } + if (Number1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Number1); + } + if (ItemTid2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemTid2); + } + if (Number2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Number2); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (NeedPoint != 0) { + output.WriteRawTag(24); + output.WriteInt32(NeedPoint); + } + if (NumShow != 0) { + output.WriteRawTag(32); + output.WriteInt32(NumShow); + } + if (ItemTid1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemTid1); + } + if (Number1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Number1); + } + if (ItemTid2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemTid2); + } + if (Number2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Number2); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (NeedPoint != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedPoint); + } + if (NumShow != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumShow); + } + if (ItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid1); + } + if (Number1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number1); + } + if (ItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemTid2); + } + if (Number2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DailyQuestAward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.NeedPoint != 0) { + NeedPoint = other.NeedPoint; + } + if (other.NumShow != 0) { + NumShow = other.NumShow; + } + if (other.ItemTid1 != 0) { + ItemTid1 = other.ItemTid1; + } + if (other.Number1 != 0) { + Number1 = other.Number1; + } + if (other.ItemTid2 != 0) { + ItemTid2 = other.ItemTid2; + } + if (other.Number2 != 0) { + Number2 = other.Number2; + } + _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: { + Title = input.ReadString(); + break; + } + case 24: { + NeedPoint = input.ReadInt32(); + break; + } + case 32: { + NumShow = input.ReadInt32(); + break; + } + case 40: { + ItemTid1 = input.ReadInt32(); + break; + } + case 48: { + Number1 = input.ReadInt32(); + break; + } + case 56: { + ItemTid2 = input.ReadInt32(); + break; + } + case 64: { + Number2 = 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 18: { + Title = input.ReadString(); + break; + } + case 24: { + NeedPoint = input.ReadInt32(); + break; + } + case 32: { + NumShow = input.ReadInt32(); + break; + } + case 40: { + ItemTid1 = input.ReadInt32(); + break; + } + case 48: { + Number1 = input.ReadInt32(); + break; + } + case 56: { + ItemTid2 = input.ReadInt32(); + break; + } + case 64: { + Number2 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DailyQuestAward : pb::IMessage<table_DailyQuestAward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DailyQuestAward> _parser = new pb::MessageParser<table_DailyQuestAward>(() => new table_DailyQuestAward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DailyQuestAward> 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.ClientTableReflection.Descriptor.MessageTypes[107]; } + } + + [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 table_DailyQuestAward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyQuestAward(table_DailyQuestAward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DailyQuestAward Clone() { + return new table_DailyQuestAward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DailyQuestAward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DailyQuestAward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DailyQuestAward> list_ = new pbc::RepeatedField<global::Nova.Client.DailyQuestAward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DailyQuestAward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DailyQuestAward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DailyQuestAward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DailyQuestAward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DatingCharResponse : pb::IMessage<DatingCharResponse> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DatingCharResponse> _parser = new pb::MessageParser<DatingCharResponse>(() => new DatingCharResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DatingCharResponse> 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.ClientTableReflection.Descriptor.MessageTypes[108]; } + } + + [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 DatingCharResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DatingCharResponse(DatingCharResponse other) : this() { + id_ = other.id_; + charId_ = other.charId_; + type_ = other.type_; + voiceKey_ = other.voiceKey_; + action_ = other.action_; + words_ = other.words_; + bubbleEmoji_ = other.bubbleEmoji_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DatingCharResponse Clone() { + return new DatingCharResponse(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 3; + private string type_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "VoiceKey" field.</summary> + public const int VoiceKeyFieldNumber = 4; + private string voiceKey_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string VoiceKey { + get { return voiceKey_; } + set { + voiceKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Action" field.</summary> + public const int ActionFieldNumber = 5; + private string action_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Action { + get { return action_; } + set { + action_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Words" field.</summary> + public const int WordsFieldNumber = 6; + private string words_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Words { + get { return words_; } + set { + words_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BubbleEmoji" field.</summary> + public const int BubbleEmojiFieldNumber = 7; + private string bubbleEmoji_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BubbleEmoji { + get { return bubbleEmoji_; } + set { + bubbleEmoji_ = 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 DatingCharResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DatingCharResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (Type != other.Type) return false; + if (VoiceKey != other.VoiceKey) return false; + if (Action != other.Action) return false; + if (Words != other.Words) return false; + if (BubbleEmoji != other.BubbleEmoji) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Type.Length != 0) hash ^= Type.GetHashCode(); + if (VoiceKey.Length != 0) hash ^= VoiceKey.GetHashCode(); + if (Action.Length != 0) hash ^= Action.GetHashCode(); + if (Words.Length != 0) hash ^= Words.GetHashCode(); + if (BubbleEmoji.Length != 0) hash ^= BubbleEmoji.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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (Type.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Type); + } + if (VoiceKey.Length != 0) { + output.WriteRawTag(34); + output.WriteString(VoiceKey); + } + if (Action.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Action); + } + if (Words.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Words); + } + if (BubbleEmoji.Length != 0) { + output.WriteRawTag(58); + output.WriteString(BubbleEmoji); + } + 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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (Type.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Type); + } + if (VoiceKey.Length != 0) { + output.WriteRawTag(34); + output.WriteString(VoiceKey); + } + if (Action.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Action); + } + if (Words.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Words); + } + if (BubbleEmoji.Length != 0) { + output.WriteRawTag(58); + output.WriteString(BubbleEmoji); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (Type.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (VoiceKey.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(VoiceKey); + } + if (Action.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Action); + } + if (Words.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Words); + } + if (BubbleEmoji.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BubbleEmoji); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DatingCharResponse other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Type.Length != 0) { + Type = other.Type; + } + if (other.VoiceKey.Length != 0) { + VoiceKey = other.VoiceKey; + } + if (other.Action.Length != 0) { + Action = other.Action; + } + if (other.Words.Length != 0) { + Words = other.Words; + } + if (other.BubbleEmoji.Length != 0) { + BubbleEmoji = other.BubbleEmoji; + } + _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: { + CharId = input.ReadInt32(); + break; + } + case 26: { + Type = input.ReadString(); + break; + } + case 34: { + VoiceKey = input.ReadString(); + break; + } + case 42: { + Action = input.ReadString(); + break; + } + case 50: { + Words = input.ReadString(); + break; + } + case 58: { + BubbleEmoji = 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: { + CharId = input.ReadInt32(); + break; + } + case 26: { + Type = input.ReadString(); + break; + } + case 34: { + VoiceKey = input.ReadString(); + break; + } + case 42: { + Action = input.ReadString(); + break; + } + case 50: { + Words = input.ReadString(); + break; + } + case 58: { + BubbleEmoji = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DatingCharResponse : pb::IMessage<table_DatingCharResponse> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DatingCharResponse> _parser = new pb::MessageParser<table_DatingCharResponse>(() => new table_DatingCharResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DatingCharResponse> 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.ClientTableReflection.Descriptor.MessageTypes[109]; } + } + + [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 table_DatingCharResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DatingCharResponse(table_DatingCharResponse other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DatingCharResponse Clone() { + return new table_DatingCharResponse(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DatingCharResponse> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DatingCharResponse.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DatingCharResponse> list_ = new pbc::RepeatedField<global::Nova.Client.DatingCharResponse>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DatingCharResponse> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DatingCharResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DatingCharResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DatingCharResponse other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DatingEvent : pb::IMessage<DatingEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DatingEvent> _parser = new pb::MessageParser<DatingEvent>(() => new DatingEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DatingEvent> 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.ClientTableReflection.Descriptor.MessageTypes[110]; } + } + + [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 DatingEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DatingEvent(DatingEvent other) : this() { + id_ = other.id_; + datingEventType_ = other.datingEventType_; + datingEventParams_ = other.datingEventParams_.Clone(); + mutexTag_ = other.mutexTag_; + sortTag_ = other.sortTag_; + affinity_ = other.affinity_; + reward_ = other.reward_.Clone(); + desc1_ = other.desc1_; + desc2_ = other.desc2_; + desc3_ = other.desc3_; + response_ = other.response_; + name_ = other.name_; + clue_ = other.clue_; + memory_ = other.memory_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DatingEvent Clone() { + return new DatingEvent(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 "DatingEventType" field.</summary> + public const int DatingEventTypeFieldNumber = 2; + private int datingEventType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DatingEventType { + get { return datingEventType_; } + set { + datingEventType_ = value; + } + } + + /// <summary>Field number for the "DatingEventParams" field.</summary> + public const int DatingEventParamsFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_datingEventParams_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> datingEventParams_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DatingEventParams { + get { return datingEventParams_; } + } + + /// <summary>Field number for the "MutexTag" field.</summary> + public const int MutexTagFieldNumber = 4; + private int mutexTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MutexTag { + get { return mutexTag_; } + set { + mutexTag_ = value; + } + } + + /// <summary>Field number for the "SortTag" field.</summary> + public const int SortTagFieldNumber = 5; + private int sortTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortTag { + get { return sortTag_; } + set { + sortTag_ = value; + } + } + + /// <summary>Field number for the "Affinity" field.</summary> + public const int AffinityFieldNumber = 6; + private int affinity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affinity { + get { return affinity_; } + set { + affinity_ = value; + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_reward_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> reward_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Reward { + get { return reward_; } + } + + /// <summary>Field number for the "Desc1" field.</summary> + public const int Desc1FieldNumber = 8; + private string desc1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc1 { + get { return desc1_; } + set { + desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc2" field.</summary> + public const int Desc2FieldNumber = 9; + private string desc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc2 { + get { return desc2_; } + set { + desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc3" field.</summary> + public const int Desc3FieldNumber = 10; + private string desc3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc3 { + get { return desc3_; } + set { + desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Response" field.</summary> + public const int ResponseFieldNumber = 11; + private string response_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Response { + get { return response_; } + set { + response_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 12; + 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 "Clue" field.</summary> + public const int ClueFieldNumber = 13; + private string clue_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Clue { + get { return clue_; } + set { + clue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Memory" field.</summary> + public const int MemoryFieldNumber = 14; + private string memory_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Memory { + get { return memory_; } + set { + memory_ = 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 DatingEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DatingEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (DatingEventType != other.DatingEventType) return false; + if(!datingEventParams_.Equals(other.datingEventParams_)) return false; + if (MutexTag != other.MutexTag) return false; + if (SortTag != other.SortTag) return false; + if (Affinity != other.Affinity) return false; + if(!reward_.Equals(other.reward_)) return false; + if (Desc1 != other.Desc1) return false; + if (Desc2 != other.Desc2) return false; + if (Desc3 != other.Desc3) return false; + if (Response != other.Response) return false; + if (Name != other.Name) return false; + if (Clue != other.Clue) return false; + if (Memory != other.Memory) 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 (DatingEventType != 0) hash ^= DatingEventType.GetHashCode(); + hash ^= datingEventParams_.GetHashCode(); + if (MutexTag != 0) hash ^= MutexTag.GetHashCode(); + if (SortTag != 0) hash ^= SortTag.GetHashCode(); + if (Affinity != 0) hash ^= Affinity.GetHashCode(); + hash ^= reward_.GetHashCode(); + if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); + if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); + if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); + if (Response.Length != 0) hash ^= Response.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Clue.Length != 0) hash ^= Clue.GetHashCode(); + if (Memory.Length != 0) hash ^= Memory.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 (DatingEventType != 0) { + output.WriteRawTag(16); + output.WriteInt32(DatingEventType); + } + datingEventParams_.WriteTo(output, _repeated_datingEventParams_codec); + if (MutexTag != 0) { + output.WriteRawTag(32); + output.WriteInt32(MutexTag); + } + if (SortTag != 0) { + output.WriteRawTag(40); + output.WriteInt32(SortTag); + } + if (Affinity != 0) { + output.WriteRawTag(48); + output.WriteInt32(Affinity); + } + reward_.WriteTo(output, _repeated_reward_codec); + if (Desc1.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Desc1); + } + if (Desc2.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc2); + } + if (Desc3.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Desc3); + } + if (Response.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Response); + } + if (Name.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Name); + } + if (Clue.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Clue); + } + if (Memory.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Memory); + } + 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 (DatingEventType != 0) { + output.WriteRawTag(16); + output.WriteInt32(DatingEventType); + } + datingEventParams_.WriteTo(ref output, _repeated_datingEventParams_codec); + if (MutexTag != 0) { + output.WriteRawTag(32); + output.WriteInt32(MutexTag); + } + if (SortTag != 0) { + output.WriteRawTag(40); + output.WriteInt32(SortTag); + } + if (Affinity != 0) { + output.WriteRawTag(48); + output.WriteInt32(Affinity); + } + reward_.WriteTo(ref output, _repeated_reward_codec); + if (Desc1.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Desc1); + } + if (Desc2.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc2); + } + if (Desc3.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Desc3); + } + if (Response.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Response); + } + if (Name.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Name); + } + if (Clue.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Clue); + } + if (Memory.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Memory); + } + 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 (DatingEventType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DatingEventType); + } + size += datingEventParams_.CalculateSize(_repeated_datingEventParams_codec); + if (MutexTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MutexTag); + } + if (SortTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortTag); + } + if (Affinity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affinity); + } + size += reward_.CalculateSize(_repeated_reward_codec); + if (Desc1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); + } + if (Desc2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); + } + if (Desc3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); + } + if (Response.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Response); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Clue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Clue); + } + if (Memory.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Memory); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DatingEvent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.DatingEventType != 0) { + DatingEventType = other.DatingEventType; + } + datingEventParams_.Add(other.datingEventParams_); + if (other.MutexTag != 0) { + MutexTag = other.MutexTag; + } + if (other.SortTag != 0) { + SortTag = other.SortTag; + } + if (other.Affinity != 0) { + Affinity = other.Affinity; + } + reward_.Add(other.reward_); + if (other.Desc1.Length != 0) { + Desc1 = other.Desc1; + } + if (other.Desc2.Length != 0) { + Desc2 = other.Desc2; + } + if (other.Desc3.Length != 0) { + Desc3 = other.Desc3; + } + if (other.Response.Length != 0) { + Response = other.Response; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Clue.Length != 0) { + Clue = other.Clue; + } + if (other.Memory.Length != 0) { + Memory = other.Memory; + } + _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: { + DatingEventType = input.ReadInt32(); + break; + } + case 26: + case 24: { + datingEventParams_.AddEntriesFrom(input, _repeated_datingEventParams_codec); + break; + } + case 32: { + MutexTag = input.ReadInt32(); + break; + } + case 40: { + SortTag = input.ReadInt32(); + break; + } + case 48: { + Affinity = input.ReadInt32(); + break; + } + case 58: + case 56: { + reward_.AddEntriesFrom(input, _repeated_reward_codec); + break; + } + case 66: { + Desc1 = input.ReadString(); + break; + } + case 74: { + Desc2 = input.ReadString(); + break; + } + case 82: { + Desc3 = input.ReadString(); + break; + } + case 90: { + Response = input.ReadString(); + break; + } + case 98: { + Name = input.ReadString(); + break; + } + case 106: { + Clue = input.ReadString(); + break; + } + case 114: { + Memory = 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: { + DatingEventType = input.ReadInt32(); + break; + } + case 26: + case 24: { + datingEventParams_.AddEntriesFrom(ref input, _repeated_datingEventParams_codec); + break; + } + case 32: { + MutexTag = input.ReadInt32(); + break; + } + case 40: { + SortTag = input.ReadInt32(); + break; + } + case 48: { + Affinity = input.ReadInt32(); + break; + } + case 58: + case 56: { + reward_.AddEntriesFrom(ref input, _repeated_reward_codec); + break; + } + case 66: { + Desc1 = input.ReadString(); + break; + } + case 74: { + Desc2 = input.ReadString(); + break; + } + case 82: { + Desc3 = input.ReadString(); + break; + } + case 90: { + Response = input.ReadString(); + break; + } + case 98: { + Name = input.ReadString(); + break; + } + case 106: { + Clue = input.ReadString(); + break; + } + case 114: { + Memory = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DatingEvent : pb::IMessage<table_DatingEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DatingEvent> _parser = new pb::MessageParser<table_DatingEvent>(() => new table_DatingEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DatingEvent> 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.ClientTableReflection.Descriptor.MessageTypes[111]; } + } + + [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 table_DatingEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DatingEvent(table_DatingEvent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DatingEvent Clone() { + return new table_DatingEvent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DatingEvent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DatingEvent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DatingEvent> list_ = new pbc::RepeatedField<global::Nova.Client.DatingEvent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DatingEvent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DatingEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DatingEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DatingEvent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DatingLandmark : pb::IMessage<DatingLandmark> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DatingLandmark> _parser = new pb::MessageParser<DatingLandmark>(() => new DatingLandmark()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DatingLandmark> 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.ClientTableReflection.Descriptor.MessageTypes[112]; } + } + + [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 DatingLandmark() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DatingLandmark(DatingLandmark other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + icon_ = other.icon_; + bg_ = other.bg_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DatingLandmark Clone() { + return new DatingLandmark(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 = 4; + 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 "Bg" field.</summary> + public const int BgFieldNumber = 5; + private string bg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bg { + get { return bg_; } + set { + bg_ = 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 DatingLandmark); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DatingLandmark 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 (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (Bg != other.Bg) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Bg.Length != 0) hash ^= Bg.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (Bg.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Bg); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (Bg.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Bg); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Bg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DatingLandmark other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + 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.Bg.Length != 0) { + Bg = other.Bg; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + Bg = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + Bg = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DatingLandmark : pb::IMessage<table_DatingLandmark> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DatingLandmark> _parser = new pb::MessageParser<table_DatingLandmark>(() => new table_DatingLandmark()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DatingLandmark> 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.ClientTableReflection.Descriptor.MessageTypes[113]; } + } + + [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 table_DatingLandmark() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DatingLandmark(table_DatingLandmark other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DatingLandmark Clone() { + return new table_DatingLandmark(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DatingLandmark> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DatingLandmark.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DatingLandmark> list_ = new pbc::RepeatedField<global::Nova.Client.DatingLandmark>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DatingLandmark> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DatingLandmark); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DatingLandmark other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DatingLandmark other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DestroyObject : pb::IMessage<DestroyObject> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DestroyObject> _parser = new pb::MessageParser<DestroyObject>(() => new DestroyObject()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DestroyObject> 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.ClientTableReflection.Descriptor.MessageTypes[114]; } + } + + [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 DestroyObject() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyObject(DestroyObject other) : this() { + id_ = other.id_; + name_ = other.name_; + lv_ = other.lv_; + attributeId_ = other.attributeId_; + templete_ = other.templete_; + faction_ = other.faction_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DestroyObject Clone() { + return new DestroyObject(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 "Lv" field.</summary> + public const int LvFieldNumber = 3; + private int lv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Lv { + get { return lv_; } + set { + lv_ = value; + } + } + + /// <summary>Field number for the "AttributeId" field.</summary> + public const int AttributeIdFieldNumber = 4; + private string attributeId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AttributeId { + get { return attributeId_; } + set { + attributeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Templete" field.</summary> + public const int TempleteFieldNumber = 5; + private int templete_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Templete { + get { return templete_; } + set { + templete_ = value; + } + } + + /// <summary>Field number for the "Faction" field.</summary> + public const int FactionFieldNumber = 6; + private int faction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Faction { + get { return faction_; } + set { + faction_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DestroyObject); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DestroyObject 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 (Lv != other.Lv) return false; + if (AttributeId != other.AttributeId) return false; + if (Templete != other.Templete) return false; + if (Faction != other.Faction) 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 (Lv != 0) hash ^= Lv.GetHashCode(); + if (AttributeId.Length != 0) hash ^= AttributeId.GetHashCode(); + if (Templete != 0) hash ^= Templete.GetHashCode(); + if (Faction != 0) hash ^= Faction.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 (Lv != 0) { + output.WriteRawTag(24); + output.WriteInt32(Lv); + } + if (AttributeId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AttributeId); + } + if (Templete != 0) { + output.WriteRawTag(40); + output.WriteInt32(Templete); + } + if (Faction != 0) { + output.WriteRawTag(48); + output.WriteInt32(Faction); + } + 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 (Lv != 0) { + output.WriteRawTag(24); + output.WriteInt32(Lv); + } + if (AttributeId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(AttributeId); + } + if (Templete != 0) { + output.WriteRawTag(40); + output.WriteInt32(Templete); + } + if (Faction != 0) { + output.WriteRawTag(48); + output.WriteInt32(Faction); + } + 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 (Lv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lv); + } + if (AttributeId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeId); + } + if (Templete != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Templete); + } + if (Faction != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Faction); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DestroyObject other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Lv != 0) { + Lv = other.Lv; + } + if (other.AttributeId.Length != 0) { + AttributeId = other.AttributeId; + } + if (other.Templete != 0) { + Templete = other.Templete; + } + if (other.Faction != 0) { + Faction = other.Faction; + } + _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: { + Lv = input.ReadInt32(); + break; + } + case 34: { + AttributeId = input.ReadString(); + break; + } + case 40: { + Templete = input.ReadInt32(); + break; + } + case 48: { + Faction = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + Lv = input.ReadInt32(); + break; + } + case 34: { + AttributeId = input.ReadString(); + break; + } + case 40: { + Templete = input.ReadInt32(); + break; + } + case 48: { + Faction = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DestroyObject : pb::IMessage<table_DestroyObject> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DestroyObject> _parser = new pb::MessageParser<table_DestroyObject>(() => new table_DestroyObject()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DestroyObject> 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.ClientTableReflection.Descriptor.MessageTypes[115]; } + } + + [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 table_DestroyObject() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DestroyObject(table_DestroyObject other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DestroyObject Clone() { + return new table_DestroyObject(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DestroyObject> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DestroyObject.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DestroyObject> list_ = new pbc::RepeatedField<global::Nova.Client.DestroyObject>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DestroyObject> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DestroyObject); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DestroyObject other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DestroyObject other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DictionaryDiagram : pb::IMessage<DictionaryDiagram> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DictionaryDiagram> _parser = new pb::MessageParser<DictionaryDiagram>(() => new DictionaryDiagram()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DictionaryDiagram> 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.ClientTableReflection.Descriptor.MessageTypes[116]; } + } + + [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 DictionaryDiagram() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryDiagram(DictionaryDiagram other) : this() { + id_ = other.id_; + title_ = other.title_; + desc_ = other.desc_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryDiagram Clone() { + return new DictionaryDiagram(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 = 4; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DictionaryDiagram); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DictionaryDiagram other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DictionaryDiagram other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DictionaryDiagram : pb::IMessage<table_DictionaryDiagram> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DictionaryDiagram> _parser = new pb::MessageParser<table_DictionaryDiagram>(() => new table_DictionaryDiagram()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DictionaryDiagram> 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.ClientTableReflection.Descriptor.MessageTypes[117]; } + } + + [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 table_DictionaryDiagram() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryDiagram(table_DictionaryDiagram other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryDiagram Clone() { + return new table_DictionaryDiagram(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DictionaryDiagram> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryDiagram.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DictionaryDiagram> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryDiagram>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DictionaryDiagram> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DictionaryDiagram); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DictionaryDiagram other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DictionaryDiagram other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DictionaryEntry : pb::IMessage<DictionaryEntry> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DictionaryEntry> _parser = new pb::MessageParser<DictionaryEntry>(() => new DictionaryEntry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DictionaryEntry> 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.ClientTableReflection.Descriptor.MessageTypes[118]; } + } + + [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 DictionaryEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryEntry(DictionaryEntry other) : this() { + id_ = other.id_; + index_ = other.index_; + title_ = other.title_; + tab_ = other.tab_; + itemId_ = other.itemId_; + qty_ = other.qty_; + diagramList_ = other.diagramList_.Clone(); + sort_ = other.sort_; + popup_ = other.popup_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryEntry Clone() { + return new DictionaryEntry(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 "Index" field.</summary> + public const int IndexFieldNumber = 2; + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { return index_; } + set { + index_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tab" field.</summary> + public const int TabFieldNumber = 4; + private int tab_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tab { + get { return tab_; } + set { + tab_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 5; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "Qty" field.</summary> + public const int QtyFieldNumber = 6; + private int qty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty { + get { return qty_; } + set { + qty_ = value; + } + } + + /// <summary>Field number for the "DiagramList" field.</summary> + public const int DiagramListFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_diagramList_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> diagramList_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DiagramList { + get { return diagramList_; } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 8; + 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 "Popup" field.</summary> + public const int PopupFieldNumber = 9; + private bool popup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Popup { + get { return popup_; } + set { + popup_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DictionaryEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DictionaryEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Index != other.Index) return false; + if (Title != other.Title) return false; + if (Tab != other.Tab) return false; + if (ItemId != other.ItemId) return false; + if (Qty != other.Qty) return false; + if(!diagramList_.Equals(other.diagramList_)) return false; + if (Sort != other.Sort) return false; + if (Popup != other.Popup) 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 (Index != 0) hash ^= Index.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Tab != 0) hash ^= Tab.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (Qty != 0) hash ^= Qty.GetHashCode(); + hash ^= diagramList_.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (Popup != false) hash ^= Popup.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 (Index != 0) { + output.WriteRawTag(16); + output.WriteInt32(Index); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Tab != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tab); + } + if (ItemId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemId); + } + if (Qty != 0) { + output.WriteRawTag(48); + output.WriteInt32(Qty); + } + diagramList_.WriteTo(output, _repeated_diagramList_codec); + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + if (Popup != false) { + output.WriteRawTag(72); + output.WriteBool(Popup); + } + 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 (Index != 0) { + output.WriteRawTag(16); + output.WriteInt32(Index); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Tab != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tab); + } + if (ItemId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemId); + } + if (Qty != 0) { + output.WriteRawTag(48); + output.WriteInt32(Qty); + } + diagramList_.WriteTo(ref output, _repeated_diagramList_codec); + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + if (Popup != false) { + output.WriteRawTag(72); + output.WriteBool(Popup); + } + 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 (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Tab != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tab); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (Qty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty); + } + size += diagramList_.CalculateSize(_repeated_diagramList_codec); + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Popup != 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(DictionaryEntry other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Tab != 0) { + Tab = other.Tab; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.Qty != 0) { + Qty = other.Qty; + } + diagramList_.Add(other.diagramList_); + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Popup != false) { + Popup = other.Popup; + } + _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: { + Index = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + Tab = input.ReadInt32(); + break; + } + case 40: { + ItemId = input.ReadInt32(); + break; + } + case 48: { + Qty = input.ReadInt32(); + break; + } + case 58: + case 56: { + diagramList_.AddEntriesFrom(input, _repeated_diagramList_codec); + break; + } + case 64: { + Sort = input.ReadInt32(); + break; + } + case 72: { + Popup = 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 16: { + Index = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + Tab = input.ReadInt32(); + break; + } + case 40: { + ItemId = input.ReadInt32(); + break; + } + case 48: { + Qty = input.ReadInt32(); + break; + } + case 58: + case 56: { + diagramList_.AddEntriesFrom(ref input, _repeated_diagramList_codec); + break; + } + case 64: { + Sort = input.ReadInt32(); + break; + } + case 72: { + Popup = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DictionaryEntry : pb::IMessage<table_DictionaryEntry> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DictionaryEntry> _parser = new pb::MessageParser<table_DictionaryEntry>(() => new table_DictionaryEntry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DictionaryEntry> 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.ClientTableReflection.Descriptor.MessageTypes[119]; } + } + + [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 table_DictionaryEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryEntry(table_DictionaryEntry other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryEntry Clone() { + return new table_DictionaryEntry(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DictionaryEntry> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryEntry.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DictionaryEntry> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryEntry>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DictionaryEntry> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DictionaryEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DictionaryEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DictionaryEntry other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DictionaryTab : pb::IMessage<DictionaryTab> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DictionaryTab> _parser = new pb::MessageParser<DictionaryTab>(() => new DictionaryTab()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DictionaryTab> 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.ClientTableReflection.Descriptor.MessageTypes[120]; } + } + + [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 DictionaryTab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTab(DictionaryTab other) : this() { + tabId_ = other.tabId_; + icon_ = other.icon_; + icon2_ = other.icon2_; + title_ = other.title_; + hideInBattle_ = other.hideInBattle_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTab Clone() { + return new DictionaryTab(this); + } + + /// <summary>Field number for the "TabId" field.</summary> + public const int TabIdFieldNumber = 1; + private int tabId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TabId { + get { return tabId_; } + set { + tabId_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 2; + 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 "Icon2" field.</summary> + public const int Icon2FieldNumber = 3; + private string icon2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Icon2 { + get { return icon2_; } + set { + icon2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 4; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "HideInBattle" field.</summary> + public const int HideInBattleFieldNumber = 5; + private bool hideInBattle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HideInBattle { + get { return hideInBattle_; } + set { + hideInBattle_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DictionaryTab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DictionaryTab other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TabId != other.TabId) return false; + if (Icon != other.Icon) return false; + if (Icon2 != other.Icon2) return false; + if (Title != other.Title) return false; + if (HideInBattle != other.HideInBattle) 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 (TabId != 0) hash ^= TabId.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Icon2.Length != 0) hash ^= Icon2.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (HideInBattle != false) hash ^= HideInBattle.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 (TabId != 0) { + output.WriteRawTag(8); + output.WriteInt32(TabId); + } + if (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + if (Icon2.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon2); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (HideInBattle != false) { + output.WriteRawTag(40); + output.WriteBool(HideInBattle); + } + 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 (TabId != 0) { + output.WriteRawTag(8); + output.WriteInt32(TabId); + } + if (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + if (Icon2.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon2); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (HideInBattle != false) { + output.WriteRawTag(40); + output.WriteBool(HideInBattle); + } + 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 (TabId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TabId); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Icon2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon2); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (HideInBattle != 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(DictionaryTab other) { + if (other == null) { + return; + } + if (other.TabId != 0) { + TabId = other.TabId; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Icon2.Length != 0) { + Icon2 = other.Icon2; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.HideInBattle != false) { + HideInBattle = other.HideInBattle; + } + _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: { + TabId = input.ReadInt32(); + break; + } + case 18: { + Icon = input.ReadString(); + break; + } + case 26: { + Icon2 = input.ReadString(); + break; + } + case 34: { + Title = input.ReadString(); + break; + } + case 40: { + HideInBattle = 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: { + TabId = input.ReadInt32(); + break; + } + case 18: { + Icon = input.ReadString(); + break; + } + case 26: { + Icon2 = input.ReadString(); + break; + } + case 34: { + Title = input.ReadString(); + break; + } + case 40: { + HideInBattle = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DictionaryTab : pb::IMessage<table_DictionaryTab> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DictionaryTab> _parser = new pb::MessageParser<table_DictionaryTab>(() => new table_DictionaryTab()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DictionaryTab> 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.ClientTableReflection.Descriptor.MessageTypes[121]; } + } + + [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 table_DictionaryTab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryTab(table_DictionaryTab other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryTab Clone() { + return new table_DictionaryTab(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DictionaryTab> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryTab.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DictionaryTab> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryTab>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DictionaryTab> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DictionaryTab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DictionaryTab other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DictionaryTab other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DictionaryTopBarEntry : pb::IMessage<DictionaryTopBarEntry> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DictionaryTopBarEntry> _parser = new pb::MessageParser<DictionaryTopBarEntry>(() => new DictionaryTopBarEntry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DictionaryTopBarEntry> 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.ClientTableReflection.Descriptor.MessageTypes[122]; } + } + + [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 DictionaryTopBarEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTopBarEntry(DictionaryTopBarEntry other) : this() { + id_ = other.id_; + title_ = other.title_; + diagramList_ = other.diagramList_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DictionaryTopBarEntry Clone() { + return new DictionaryTopBarEntry(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiagramList" field.</summary> + public const int DiagramListFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_diagramList_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> diagramList_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DiagramList { + get { return diagramList_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DictionaryTopBarEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DictionaryTopBarEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if(!diagramList_.Equals(other.diagramList_)) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + hash ^= diagramList_.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + diagramList_.WriteTo(output, _repeated_diagramList_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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + diagramList_.WriteTo(ref output, _repeated_diagramList_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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + size += diagramList_.CalculateSize(_repeated_diagramList_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DictionaryTopBarEntry other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + diagramList_.Add(other.diagramList_); + _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: { + Title = input.ReadString(); + break; + } + case 26: + case 24: { + diagramList_.AddEntriesFrom(input, _repeated_diagramList_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 18: { + Title = input.ReadString(); + break; + } + case 26: + case 24: { + diagramList_.AddEntriesFrom(ref input, _repeated_diagramList_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DictionaryTopBarEntry : pb::IMessage<table_DictionaryTopBarEntry> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DictionaryTopBarEntry> _parser = new pb::MessageParser<table_DictionaryTopBarEntry>(() => new table_DictionaryTopBarEntry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DictionaryTopBarEntry> 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.ClientTableReflection.Descriptor.MessageTypes[123]; } + } + + [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 table_DictionaryTopBarEntry() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryTopBarEntry(table_DictionaryTopBarEntry other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DictionaryTopBarEntry Clone() { + return new table_DictionaryTopBarEntry(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DictionaryTopBarEntry> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DictionaryTopBarEntry.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DictionaryTopBarEntry> list_ = new pbc::RepeatedField<global::Nova.Client.DictionaryTopBarEntry>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DictionaryTopBarEntry> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DictionaryTopBarEntry); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DictionaryTopBarEntry other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DictionaryTopBarEntry other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [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.ClientTableReflection.Descriptor.MessageTypes[124]; } + } + + [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 "EET" 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 "DiscBg" 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 "GachaBg" 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 "StrengthenGroupId" 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 "AttrBaseGroupId" 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 "PromoteGroupId" 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 "TransformItemId" 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 "MaxStarTransformItem" 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 "PassiveSkillGroupId" 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 "CommonSkillId1" 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 "CommonSkillId2" 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 "ReadReward" 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 "VoFile" 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 "VoBegin1" 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 "VoLoop1" 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 "VoName1" 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 "VoBegin2" 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 "VoLoop2" 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 "VoName2" 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 "VoStory" 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 "StoryName" 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 "StoryDesc" 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 "CharId" 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 "SkillScript" 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 + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Disc : pb::IMessage<table_Disc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Disc> _parser = new pb::MessageParser<table_Disc>(() => new table_Disc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_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.ClientTableReflection.Descriptor.MessageTypes[125]; } + } + + [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 table_Disc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Disc(table_Disc other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Disc Clone() { + return new table_Disc(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Disc> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Disc.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Disc> list_ = new pbc::RepeatedField<global::Nova.Client.Disc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Disc> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Disc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Disc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Disc other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscCommonSkill : pb::IMessage<DiscCommonSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscCommonSkill> _parser = new pb::MessageParser<DiscCommonSkill>(() => new DiscCommonSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscCommonSkill> 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.ClientTableReflection.Descriptor.MessageTypes[126]; } + } + + [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 DiscCommonSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscCommonSkill(DiscCommonSkill other) : this() { + id_ = other.id_; + activeNoteType_ = other.activeNoteType_.Clone(); + activeNoteNum_ = other.activeNoteNum_.Clone(); + effectId1_ = other.effectId1_.Clone(); + effectId2_ = other.effectId2_.Clone(); + effectId3_ = other.effectId3_.Clone(); + effectId4_ = other.effectId4_.Clone(); + effectId5_ = other.effectId5_.Clone(); + effectId6_ = other.effectId6_.Clone(); + effectId7_ = other.effectId7_.Clone(); + effectId8_ = other.effectId8_.Clone(); + effectId9_ = other.effectId9_.Clone(); + effectId10_ = other.effectId10_.Clone(); + layerScore_ = other.layerScore_.Clone(); + name_ = other.name_; + icon_ = other.icon_; + iconBg_ = other.iconBg_; + desc_ = other.desc_; + param1_ = other.param1_.Clone(); + param2_ = other.param2_.Clone(); + param3_ = other.param3_.Clone(); + param4_ = other.param4_.Clone(); + param5_ = other.param5_.Clone(); + param6_ = other.param6_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscCommonSkill Clone() { + return new DiscCommonSkill(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 "ActiveNoteType" field.</summary> + public const int ActiveNoteTypeFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_activeNoteType_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> activeNoteType_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ActiveNoteType { + get { return activeNoteType_; } + } + + /// <summary>Field number for the "ActiveNoteNum" field.</summary> + public const int ActiveNoteNumFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_activeNoteNum_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> activeNoteNum_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ActiveNoteNum { + get { return activeNoteNum_; } + } + + /// <summary>Field number for the "EffectId1" field.</summary> + public const int EffectId1FieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_effectId1_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> effectId1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId1 { + get { return effectId1_; } + } + + /// <summary>Field number for the "EffectId2" field.</summary> + public const int EffectId2FieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_effectId2_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> effectId2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId2 { + get { return effectId2_; } + } + + /// <summary>Field number for the "EffectId3" field.</summary> + public const int EffectId3FieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_effectId3_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> effectId3_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId3 { + get { return effectId3_; } + } + + /// <summary>Field number for the "EffectId4" field.</summary> + public const int EffectId4FieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_effectId4_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> effectId4_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId4 { + get { return effectId4_; } + } + + /// <summary>Field number for the "EffectId5" field.</summary> + public const int EffectId5FieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_effectId5_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> effectId5_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId5 { + get { return effectId5_; } + } + + /// <summary>Field number for the "EffectId6" field.</summary> + public const int EffectId6FieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_effectId6_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> effectId6_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId6 { + get { return effectId6_; } + } + + /// <summary>Field number for the "EffectId7" field.</summary> + public const int EffectId7FieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_effectId7_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> effectId7_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId7 { + get { return effectId7_; } + } + + /// <summary>Field number for the "EffectId8" field.</summary> + public const int EffectId8FieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_effectId8_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> effectId8_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId8 { + get { return effectId8_; } + } + + /// <summary>Field number for the "EffectId9" field.</summary> + public const int EffectId9FieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_effectId9_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> effectId9_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId9 { + get { return effectId9_; } + } + + /// <summary>Field number for the "EffectId10" field.</summary> + public const int EffectId10FieldNumber = 13; + private static readonly pb::FieldCodec<int> _repeated_effectId10_codec + = pb::FieldCodec.ForInt32(106); + private readonly pbc::RepeatedField<int> effectId10_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId10 { + get { return effectId10_; } + } + + /// <summary>Field number for the "LayerScore" field.</summary> + public const int LayerScoreFieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_layerScore_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> layerScore_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> LayerScore { + get { return layerScore_; } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 15; + 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 "Icon" field.</summary> + public const int IconFieldNumber = 16; + 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 "IconBg" field.</summary> + public const int IconBgFieldNumber = 17; + private string iconBg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IconBg { + get { return iconBg_; } + set { + iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 18; + 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 "Param1" field.</summary> + public const int Param1FieldNumber = 19; + private static readonly pb::FieldCodec<string> _repeated_param1_codec + = pb::FieldCodec.ForString(154); + private readonly pbc::RepeatedField<string> param1_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> Param1 { + get { return param1_; } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 20; + private static readonly pb::FieldCodec<string> _repeated_param2_codec + = pb::FieldCodec.ForString(162); + private readonly pbc::RepeatedField<string> param2_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> Param2 { + get { return param2_; } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 21; + private static readonly pb::FieldCodec<string> _repeated_param3_codec + = pb::FieldCodec.ForString(170); + private readonly pbc::RepeatedField<string> param3_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> Param3 { + get { return param3_; } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 22; + private static readonly pb::FieldCodec<string> _repeated_param4_codec + = pb::FieldCodec.ForString(178); + private readonly pbc::RepeatedField<string> param4_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> Param4 { + get { return param4_; } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 23; + private static readonly pb::FieldCodec<string> _repeated_param5_codec + = pb::FieldCodec.ForString(186); + private readonly pbc::RepeatedField<string> param5_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> Param5 { + get { return param5_; } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 24; + private static readonly pb::FieldCodec<string> _repeated_param6_codec + = pb::FieldCodec.ForString(194); + private readonly pbc::RepeatedField<string> param6_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> Param6 { + get { return param6_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DiscCommonSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscCommonSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!activeNoteType_.Equals(other.activeNoteType_)) return false; + if(!activeNoteNum_.Equals(other.activeNoteNum_)) return false; + if(!effectId1_.Equals(other.effectId1_)) return false; + if(!effectId2_.Equals(other.effectId2_)) return false; + if(!effectId3_.Equals(other.effectId3_)) return false; + if(!effectId4_.Equals(other.effectId4_)) return false; + if(!effectId5_.Equals(other.effectId5_)) return false; + if(!effectId6_.Equals(other.effectId6_)) return false; + if(!effectId7_.Equals(other.effectId7_)) return false; + if(!effectId8_.Equals(other.effectId8_)) return false; + if(!effectId9_.Equals(other.effectId9_)) return false; + if(!effectId10_.Equals(other.effectId10_)) return false; + if(!layerScore_.Equals(other.layerScore_)) return false; + if (Name != other.Name) return false; + if (Icon != other.Icon) return false; + if (IconBg != other.IconBg) return false; + if (Desc != other.Desc) return false; + if(!param1_.Equals(other.param1_)) return false; + if(!param2_.Equals(other.param2_)) return false; + if(!param3_.Equals(other.param3_)) return false; + if(!param4_.Equals(other.param4_)) return false; + if(!param5_.Equals(other.param5_)) return false; + if(!param6_.Equals(other.param6_)) 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(); + hash ^= activeNoteType_.GetHashCode(); + hash ^= activeNoteNum_.GetHashCode(); + hash ^= effectId1_.GetHashCode(); + hash ^= effectId2_.GetHashCode(); + hash ^= effectId3_.GetHashCode(); + hash ^= effectId4_.GetHashCode(); + hash ^= effectId5_.GetHashCode(); + hash ^= effectId6_.GetHashCode(); + hash ^= effectId7_.GetHashCode(); + hash ^= effectId8_.GetHashCode(); + hash ^= effectId9_.GetHashCode(); + hash ^= effectId10_.GetHashCode(); + hash ^= layerScore_.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + hash ^= param1_.GetHashCode(); + hash ^= param2_.GetHashCode(); + hash ^= param3_.GetHashCode(); + hash ^= param4_.GetHashCode(); + hash ^= param5_.GetHashCode(); + hash ^= param6_.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); + } + activeNoteType_.WriteTo(output, _repeated_activeNoteType_codec); + activeNoteNum_.WriteTo(output, _repeated_activeNoteNum_codec); + effectId1_.WriteTo(output, _repeated_effectId1_codec); + effectId2_.WriteTo(output, _repeated_effectId2_codec); + effectId3_.WriteTo(output, _repeated_effectId3_codec); + effectId4_.WriteTo(output, _repeated_effectId4_codec); + effectId5_.WriteTo(output, _repeated_effectId5_codec); + effectId6_.WriteTo(output, _repeated_effectId6_codec); + effectId7_.WriteTo(output, _repeated_effectId7_codec); + effectId8_.WriteTo(output, _repeated_effectId8_codec); + effectId9_.WriteTo(output, _repeated_effectId9_codec); + effectId10_.WriteTo(output, _repeated_effectId10_codec); + layerScore_.WriteTo(output, _repeated_layerScore_codec); + if (Name.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Icon); + } + if (IconBg.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(IconBg); + } + if (Desc.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Desc); + } + param1_.WriteTo(output, _repeated_param1_codec); + param2_.WriteTo(output, _repeated_param2_codec); + param3_.WriteTo(output, _repeated_param3_codec); + param4_.WriteTo(output, _repeated_param4_codec); + param5_.WriteTo(output, _repeated_param5_codec); + param6_.WriteTo(output, _repeated_param6_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); + } + activeNoteType_.WriteTo(ref output, _repeated_activeNoteType_codec); + activeNoteNum_.WriteTo(ref output, _repeated_activeNoteNum_codec); + effectId1_.WriteTo(ref output, _repeated_effectId1_codec); + effectId2_.WriteTo(ref output, _repeated_effectId2_codec); + effectId3_.WriteTo(ref output, _repeated_effectId3_codec); + effectId4_.WriteTo(ref output, _repeated_effectId4_codec); + effectId5_.WriteTo(ref output, _repeated_effectId5_codec); + effectId6_.WriteTo(ref output, _repeated_effectId6_codec); + effectId7_.WriteTo(ref output, _repeated_effectId7_codec); + effectId8_.WriteTo(ref output, _repeated_effectId8_codec); + effectId9_.WriteTo(ref output, _repeated_effectId9_codec); + effectId10_.WriteTo(ref output, _repeated_effectId10_codec); + layerScore_.WriteTo(ref output, _repeated_layerScore_codec); + if (Name.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Icon); + } + if (IconBg.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(IconBg); + } + if (Desc.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Desc); + } + param1_.WriteTo(ref output, _repeated_param1_codec); + param2_.WriteTo(ref output, _repeated_param2_codec); + param3_.WriteTo(ref output, _repeated_param3_codec); + param4_.WriteTo(ref output, _repeated_param4_codec); + param5_.WriteTo(ref output, _repeated_param5_codec); + param6_.WriteTo(ref output, _repeated_param6_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); + } + size += activeNoteType_.CalculateSize(_repeated_activeNoteType_codec); + size += activeNoteNum_.CalculateSize(_repeated_activeNoteNum_codec); + size += effectId1_.CalculateSize(_repeated_effectId1_codec); + size += effectId2_.CalculateSize(_repeated_effectId2_codec); + size += effectId3_.CalculateSize(_repeated_effectId3_codec); + size += effectId4_.CalculateSize(_repeated_effectId4_codec); + size += effectId5_.CalculateSize(_repeated_effectId5_codec); + size += effectId6_.CalculateSize(_repeated_effectId6_codec); + size += effectId7_.CalculateSize(_repeated_effectId7_codec); + size += effectId8_.CalculateSize(_repeated_effectId8_codec); + size += effectId9_.CalculateSize(_repeated_effectId9_codec); + size += effectId10_.CalculateSize(_repeated_effectId10_codec); + size += layerScore_.CalculateSize(_repeated_layerScore_codec); + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (IconBg.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(IconBg); + } + if (Desc.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + size += param1_.CalculateSize(_repeated_param1_codec); + size += param2_.CalculateSize(_repeated_param2_codec); + size += param3_.CalculateSize(_repeated_param3_codec); + size += param4_.CalculateSize(_repeated_param4_codec); + size += param5_.CalculateSize(_repeated_param5_codec); + size += param6_.CalculateSize(_repeated_param6_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscCommonSkill other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + activeNoteType_.Add(other.activeNoteType_); + activeNoteNum_.Add(other.activeNoteNum_); + effectId1_.Add(other.effectId1_); + effectId2_.Add(other.effectId2_); + effectId3_.Add(other.effectId3_); + effectId4_.Add(other.effectId4_); + effectId5_.Add(other.effectId5_); + effectId6_.Add(other.effectId6_); + effectId7_.Add(other.effectId7_); + effectId8_.Add(other.effectId8_); + effectId9_.Add(other.effectId9_); + effectId10_.Add(other.effectId10_); + layerScore_.Add(other.layerScore_); + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.IconBg.Length != 0) { + IconBg = other.IconBg; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + param1_.Add(other.param1_); + param2_.Add(other.param2_); + param3_.Add(other.param3_); + param4_.Add(other.param4_); + param5_.Add(other.param5_); + param6_.Add(other.param6_); + _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: + case 16: { + activeNoteType_.AddEntriesFrom(input, _repeated_activeNoteType_codec); + break; + } + case 26: + case 24: { + activeNoteNum_.AddEntriesFrom(input, _repeated_activeNoteNum_codec); + break; + } + case 34: + case 32: { + effectId1_.AddEntriesFrom(input, _repeated_effectId1_codec); + break; + } + case 42: + case 40: { + effectId2_.AddEntriesFrom(input, _repeated_effectId2_codec); + break; + } + case 50: + case 48: { + effectId3_.AddEntriesFrom(input, _repeated_effectId3_codec); + break; + } + case 58: + case 56: { + effectId4_.AddEntriesFrom(input, _repeated_effectId4_codec); + break; + } + case 66: + case 64: { + effectId5_.AddEntriesFrom(input, _repeated_effectId5_codec); + break; + } + case 74: + case 72: { + effectId6_.AddEntriesFrom(input, _repeated_effectId6_codec); + break; + } + case 82: + case 80: { + effectId7_.AddEntriesFrom(input, _repeated_effectId7_codec); + break; + } + case 90: + case 88: { + effectId8_.AddEntriesFrom(input, _repeated_effectId8_codec); + break; + } + case 98: + case 96: { + effectId9_.AddEntriesFrom(input, _repeated_effectId9_codec); + break; + } + case 106: + case 104: { + effectId10_.AddEntriesFrom(input, _repeated_effectId10_codec); + break; + } + case 114: + case 112: { + layerScore_.AddEntriesFrom(input, _repeated_layerScore_codec); + break; + } + case 122: { + Name = input.ReadString(); + break; + } + case 130: { + Icon = input.ReadString(); + break; + } + case 138: { + IconBg = input.ReadString(); + break; + } + case 146: { + Desc = input.ReadString(); + break; + } + case 154: { + param1_.AddEntriesFrom(input, _repeated_param1_codec); + break; + } + case 162: { + param2_.AddEntriesFrom(input, _repeated_param2_codec); + break; + } + case 170: { + param3_.AddEntriesFrom(input, _repeated_param3_codec); + break; + } + case 178: { + param4_.AddEntriesFrom(input, _repeated_param4_codec); + break; + } + case 186: { + param5_.AddEntriesFrom(input, _repeated_param5_codec); + break; + } + case 194: { + param6_.AddEntriesFrom(input, _repeated_param6_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 18: + case 16: { + activeNoteType_.AddEntriesFrom(ref input, _repeated_activeNoteType_codec); + break; + } + case 26: + case 24: { + activeNoteNum_.AddEntriesFrom(ref input, _repeated_activeNoteNum_codec); + break; + } + case 34: + case 32: { + effectId1_.AddEntriesFrom(ref input, _repeated_effectId1_codec); + break; + } + case 42: + case 40: { + effectId2_.AddEntriesFrom(ref input, _repeated_effectId2_codec); + break; + } + case 50: + case 48: { + effectId3_.AddEntriesFrom(ref input, _repeated_effectId3_codec); + break; + } + case 58: + case 56: { + effectId4_.AddEntriesFrom(ref input, _repeated_effectId4_codec); + break; + } + case 66: + case 64: { + effectId5_.AddEntriesFrom(ref input, _repeated_effectId5_codec); + break; + } + case 74: + case 72: { + effectId6_.AddEntriesFrom(ref input, _repeated_effectId6_codec); + break; + } + case 82: + case 80: { + effectId7_.AddEntriesFrom(ref input, _repeated_effectId7_codec); + break; + } + case 90: + case 88: { + effectId8_.AddEntriesFrom(ref input, _repeated_effectId8_codec); + break; + } + case 98: + case 96: { + effectId9_.AddEntriesFrom(ref input, _repeated_effectId9_codec); + break; + } + case 106: + case 104: { + effectId10_.AddEntriesFrom(ref input, _repeated_effectId10_codec); + break; + } + case 114: + case 112: { + layerScore_.AddEntriesFrom(ref input, _repeated_layerScore_codec); + break; + } + case 122: { + Name = input.ReadString(); + break; + } + case 130: { + Icon = input.ReadString(); + break; + } + case 138: { + IconBg = input.ReadString(); + break; + } + case 146: { + Desc = input.ReadString(); + break; + } + case 154: { + param1_.AddEntriesFrom(ref input, _repeated_param1_codec); + break; + } + case 162: { + param2_.AddEntriesFrom(ref input, _repeated_param2_codec); + break; + } + case 170: { + param3_.AddEntriesFrom(ref input, _repeated_param3_codec); + break; + } + case 178: { + param4_.AddEntriesFrom(ref input, _repeated_param4_codec); + break; + } + case 186: { + param5_.AddEntriesFrom(ref input, _repeated_param5_codec); + break; + } + case 194: { + param6_.AddEntriesFrom(ref input, _repeated_param6_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscCommonSkill : pb::IMessage<table_DiscCommonSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscCommonSkill> _parser = new pb::MessageParser<table_DiscCommonSkill>(() => new table_DiscCommonSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscCommonSkill> 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.ClientTableReflection.Descriptor.MessageTypes[127]; } + } + + [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 table_DiscCommonSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscCommonSkill(table_DiscCommonSkill other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscCommonSkill Clone() { + return new table_DiscCommonSkill(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscCommonSkill> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscCommonSkill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscCommonSkill> list_ = new pbc::RepeatedField<global::Nova.Client.DiscCommonSkill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscCommonSkill> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscCommonSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscCommonSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscCommonSkill other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscItemExp : pb::IMessage<DiscItemExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscItemExp> _parser = new pb::MessageParser<DiscItemExp>(() => new DiscItemExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscItemExp> 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.ClientTableReflection.Descriptor.MessageTypes[128]; } + } + + [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 DiscItemExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscItemExp(DiscItemExp other) : this() { + id_ = other.id_; + itemId_ = other.itemId_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscItemExp Clone() { + return new DiscItemExp(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 "ItemId" field.</summary> + public const int ItemIdFieldNumber = 2; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 3; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DiscItemExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscItemExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ItemId != other.ItemId) return false; + if (Exp != other.Exp) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (Exp != 0) hash ^= Exp.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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteInt32(Exp); + } + 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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteInt32(Exp); + } + 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 (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscItemExp other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + Exp = 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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscItemExp : pb::IMessage<table_DiscItemExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscItemExp> _parser = new pb::MessageParser<table_DiscItemExp>(() => new table_DiscItemExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscItemExp> 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.ClientTableReflection.Descriptor.MessageTypes[129]; } + } + + [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 table_DiscItemExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscItemExp(table_DiscItemExp other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscItemExp Clone() { + return new table_DiscItemExp(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscItemExp> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscItemExp.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscItemExp> list_ = new pbc::RepeatedField<global::Nova.Client.DiscItemExp>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscItemExp> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscItemExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscItemExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscItemExp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscPassiveSkill : pb::IMessage<DiscPassiveSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscPassiveSkill> _parser = new pb::MessageParser<DiscPassiveSkill>(() => new DiscPassiveSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscPassiveSkill> 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.ClientTableReflection.Descriptor.MessageTypes[130]; } + } + + [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 DiscPassiveSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPassiveSkill(DiscPassiveSkill other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + level_ = other.level_; + break_ = other.break_; + mainNote_ = other.mainNote_; + activeParam1_ = other.activeParam1_; + effectId1_ = other.effectId1_.Clone(); + activeParam2_ = other.activeParam2_; + effectId2_ = other.effectId2_.Clone(); + activeParam3_ = other.activeParam3_; + effectId3_ = other.effectId3_.Clone(); + activeParam4_ = other.activeParam4_; + effectId4_ = other.effectId4_.Clone(); + activeParam5_ = other.activeParam5_; + effectId5_ = other.effectId5_.Clone(); + layerScore_ = other.layerScore_.Clone(); + name_ = other.name_; + icon_ = other.icon_; + iconBg_ = other.iconBg_; + desc1_ = other.desc1_; + desc2_ = other.desc2_; + desc3_ = other.desc3_; + desc4_ = other.desc4_; + desc5_ = other.desc5_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + param5_ = other.param5_; + param6_ = other.param6_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPassiveSkill Clone() { + return new DiscPassiveSkill(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 "GroupId" 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 "Break" field.</summary> + public const int BreakFieldNumber = 4; + private int break_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Break { + get { return break_; } + set { + break_ = value; + } + } + + /// <summary>Field number for the "MainNote" field.</summary> + public const int MainNoteFieldNumber = 5; + private int mainNote_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainNote { + get { return mainNote_; } + set { + mainNote_ = value; + } + } + + /// <summary>Field number for the "ActiveParam1" field.</summary> + public const int ActiveParam1FieldNumber = 6; + private string activeParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam1 { + get { return activeParam1_; } + set { + activeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectId1" field.</summary> + public const int EffectId1FieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_effectId1_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> effectId1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId1 { + get { return effectId1_; } + } + + /// <summary>Field number for the "ActiveParam2" field.</summary> + public const int ActiveParam2FieldNumber = 8; + private string activeParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam2 { + get { return activeParam2_; } + set { + activeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectId2" field.</summary> + public const int EffectId2FieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_effectId2_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> effectId2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId2 { + get { return effectId2_; } + } + + /// <summary>Field number for the "ActiveParam3" field.</summary> + public const int ActiveParam3FieldNumber = 10; + private string activeParam3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam3 { + get { return activeParam3_; } + set { + activeParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectId3" field.</summary> + public const int EffectId3FieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_effectId3_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> effectId3_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId3 { + get { return effectId3_; } + } + + /// <summary>Field number for the "ActiveParam4" field.</summary> + public const int ActiveParam4FieldNumber = 12; + private string activeParam4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam4 { + get { return activeParam4_; } + set { + activeParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectId4" field.</summary> + public const int EffectId4FieldNumber = 13; + private static readonly pb::FieldCodec<int> _repeated_effectId4_codec + = pb::FieldCodec.ForInt32(106); + private readonly pbc::RepeatedField<int> effectId4_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId4 { + get { return effectId4_; } + } + + /// <summary>Field number for the "ActiveParam5" field.</summary> + public const int ActiveParam5FieldNumber = 14; + private string activeParam5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam5 { + get { return activeParam5_; } + set { + activeParam5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectId5" field.</summary> + public const int EffectId5FieldNumber = 15; + private static readonly pb::FieldCodec<int> _repeated_effectId5_codec + = pb::FieldCodec.ForInt32(122); + private readonly pbc::RepeatedField<int> effectId5_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId5 { + get { return effectId5_; } + } + + /// <summary>Field number for the "LayerScore" field.</summary> + public const int LayerScoreFieldNumber = 16; + private static readonly pb::FieldCodec<int> _repeated_layerScore_codec + = pb::FieldCodec.ForInt32(130); + private readonly pbc::RepeatedField<int> layerScore_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> LayerScore { + get { return layerScore_; } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 17; + 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 "Icon" field.</summary> + public const int IconFieldNumber = 18; + 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 "IconBg" field.</summary> + public const int IconBgFieldNumber = 19; + private string iconBg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IconBg { + get { return iconBg_; } + set { + iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc1" field.</summary> + public const int Desc1FieldNumber = 20; + private string desc1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc1 { + get { return desc1_; } + set { + desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc2" field.</summary> + public const int Desc2FieldNumber = 21; + private string desc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc2 { + get { return desc2_; } + set { + desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc3" field.</summary> + public const int Desc3FieldNumber = 22; + private string desc3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc3 { + get { return desc3_; } + set { + desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc4" field.</summary> + public const int Desc4FieldNumber = 23; + private string desc4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc4 { + get { return desc4_; } + set { + desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc5" field.</summary> + public const int Desc5FieldNumber = 24; + private string desc5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc5 { + get { return desc5_; } + set { + desc5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param1" field.</summary> + public const int Param1FieldNumber = 25; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 26; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 27; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 28; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 29; + private string param5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param5 { + get { return param5_; } + set { + param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 30; + private string param6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param6 { + get { return param6_; } + set { + param6_ = 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 DiscPassiveSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscPassiveSkill 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 (Break != other.Break) return false; + if (MainNote != other.MainNote) return false; + if (ActiveParam1 != other.ActiveParam1) return false; + if(!effectId1_.Equals(other.effectId1_)) return false; + if (ActiveParam2 != other.ActiveParam2) return false; + if(!effectId2_.Equals(other.effectId2_)) return false; + if (ActiveParam3 != other.ActiveParam3) return false; + if(!effectId3_.Equals(other.effectId3_)) return false; + if (ActiveParam4 != other.ActiveParam4) return false; + if(!effectId4_.Equals(other.effectId4_)) return false; + if (ActiveParam5 != other.ActiveParam5) return false; + if(!effectId5_.Equals(other.effectId5_)) return false; + if(!layerScore_.Equals(other.layerScore_)) return false; + if (Name != other.Name) return false; + if (Icon != other.Icon) return false; + if (IconBg != other.IconBg) return false; + if (Desc1 != other.Desc1) return false; + if (Desc2 != other.Desc2) return false; + if (Desc3 != other.Desc3) return false; + if (Desc4 != other.Desc4) return false; + if (Desc5 != other.Desc5) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) return false; + if (Param5 != other.Param5) return false; + if (Param6 != other.Param6) 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 (Break != 0) hash ^= Break.GetHashCode(); + if (MainNote != 0) hash ^= MainNote.GetHashCode(); + if (ActiveParam1.Length != 0) hash ^= ActiveParam1.GetHashCode(); + hash ^= effectId1_.GetHashCode(); + if (ActiveParam2.Length != 0) hash ^= ActiveParam2.GetHashCode(); + hash ^= effectId2_.GetHashCode(); + if (ActiveParam3.Length != 0) hash ^= ActiveParam3.GetHashCode(); + hash ^= effectId3_.GetHashCode(); + if (ActiveParam4.Length != 0) hash ^= ActiveParam4.GetHashCode(); + hash ^= effectId4_.GetHashCode(); + if (ActiveParam5.Length != 0) hash ^= ActiveParam5.GetHashCode(); + hash ^= effectId5_.GetHashCode(); + hash ^= layerScore_.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); + if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); + if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); + if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); + if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); + if (Desc5.Length != 0) hash ^= Desc5.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.GetHashCode(); + if (Param5.Length != 0) hash ^= Param5.GetHashCode(); + if (Param6.Length != 0) hash ^= Param6.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 (Break != 0) { + output.WriteRawTag(32); + output.WriteInt32(Break); + } + if (MainNote != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainNote); + } + if (ActiveParam1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ActiveParam1); + } + effectId1_.WriteTo(output, _repeated_effectId1_codec); + if (ActiveParam2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ActiveParam2); + } + effectId2_.WriteTo(output, _repeated_effectId2_codec); + if (ActiveParam3.Length != 0) { + output.WriteRawTag(82); + output.WriteString(ActiveParam3); + } + effectId3_.WriteTo(output, _repeated_effectId3_codec); + if (ActiveParam4.Length != 0) { + output.WriteRawTag(98); + output.WriteString(ActiveParam4); + } + effectId4_.WriteTo(output, _repeated_effectId4_codec); + if (ActiveParam5.Length != 0) { + output.WriteRawTag(114); + output.WriteString(ActiveParam5); + } + effectId5_.WriteTo(output, _repeated_effectId5_codec); + layerScore_.WriteTo(output, _repeated_layerScore_codec); + if (Name.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Icon); + } + if (IconBg.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(IconBg); + } + if (Desc1.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Desc1); + } + if (Desc2.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Desc2); + } + if (Desc3.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Desc3); + } + if (Desc4.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Desc4); + } + if (Desc5.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Desc5); + } + if (Param1.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Param6); + } + 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 (Break != 0) { + output.WriteRawTag(32); + output.WriteInt32(Break); + } + if (MainNote != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainNote); + } + if (ActiveParam1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ActiveParam1); + } + effectId1_.WriteTo(ref output, _repeated_effectId1_codec); + if (ActiveParam2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ActiveParam2); + } + effectId2_.WriteTo(ref output, _repeated_effectId2_codec); + if (ActiveParam3.Length != 0) { + output.WriteRawTag(82); + output.WriteString(ActiveParam3); + } + effectId3_.WriteTo(ref output, _repeated_effectId3_codec); + if (ActiveParam4.Length != 0) { + output.WriteRawTag(98); + output.WriteString(ActiveParam4); + } + effectId4_.WriteTo(ref output, _repeated_effectId4_codec); + if (ActiveParam5.Length != 0) { + output.WriteRawTag(114); + output.WriteString(ActiveParam5); + } + effectId5_.WriteTo(ref output, _repeated_effectId5_codec); + layerScore_.WriteTo(ref output, _repeated_layerScore_codec); + if (Name.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Icon); + } + if (IconBg.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(IconBg); + } + if (Desc1.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Desc1); + } + if (Desc2.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Desc2); + } + if (Desc3.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Desc3); + } + if (Desc4.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Desc4); + } + if (Desc5.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Desc5); + } + if (Param1.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Param6); + } + 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 (Break != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); + } + if (MainNote != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainNote); + } + if (ActiveParam1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam1); + } + size += effectId1_.CalculateSize(_repeated_effectId1_codec); + if (ActiveParam2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam2); + } + size += effectId2_.CalculateSize(_repeated_effectId2_codec); + if (ActiveParam3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam3); + } + size += effectId3_.CalculateSize(_repeated_effectId3_codec); + if (ActiveParam4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam4); + } + size += effectId4_.CalculateSize(_repeated_effectId4_codec); + if (ActiveParam5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActiveParam5); + } + size += effectId5_.CalculateSize(_repeated_effectId5_codec); + size += layerScore_.CalculateSize(_repeated_layerScore_codec); + if (Name.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (IconBg.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(IconBg); + } + if (Desc1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc1); + } + if (Desc2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc2); + } + if (Desc3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc3); + } + if (Desc4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc4); + } + if (Desc5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc5); + } + if (Param1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (Param5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); + } + if (Param6.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscPassiveSkill 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.Break != 0) { + Break = other.Break; + } + if (other.MainNote != 0) { + MainNote = other.MainNote; + } + if (other.ActiveParam1.Length != 0) { + ActiveParam1 = other.ActiveParam1; + } + effectId1_.Add(other.effectId1_); + if (other.ActiveParam2.Length != 0) { + ActiveParam2 = other.ActiveParam2; + } + effectId2_.Add(other.effectId2_); + if (other.ActiveParam3.Length != 0) { + ActiveParam3 = other.ActiveParam3; + } + effectId3_.Add(other.effectId3_); + if (other.ActiveParam4.Length != 0) { + ActiveParam4 = other.ActiveParam4; + } + effectId4_.Add(other.effectId4_); + if (other.ActiveParam5.Length != 0) { + ActiveParam5 = other.ActiveParam5; + } + effectId5_.Add(other.effectId5_); + layerScore_.Add(other.layerScore_); + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.IconBg.Length != 0) { + IconBg = other.IconBg; + } + if (other.Desc1.Length != 0) { + Desc1 = other.Desc1; + } + if (other.Desc2.Length != 0) { + Desc2 = other.Desc2; + } + if (other.Desc3.Length != 0) { + Desc3 = other.Desc3; + } + if (other.Desc4.Length != 0) { + Desc4 = other.Desc4; + } + if (other.Desc5.Length != 0) { + Desc5 = other.Desc5; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + if (other.Param5.Length != 0) { + Param5 = other.Param5; + } + if (other.Param6.Length != 0) { + Param6 = other.Param6; + } + _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 32: { + Break = input.ReadInt32(); + break; + } + case 40: { + MainNote = input.ReadInt32(); + break; + } + case 50: { + ActiveParam1 = input.ReadString(); + break; + } + case 58: + case 56: { + effectId1_.AddEntriesFrom(input, _repeated_effectId1_codec); + break; + } + case 66: { + ActiveParam2 = input.ReadString(); + break; + } + case 74: + case 72: { + effectId2_.AddEntriesFrom(input, _repeated_effectId2_codec); + break; + } + case 82: { + ActiveParam3 = input.ReadString(); + break; + } + case 90: + case 88: { + effectId3_.AddEntriesFrom(input, _repeated_effectId3_codec); + break; + } + case 98: { + ActiveParam4 = input.ReadString(); + break; + } + case 106: + case 104: { + effectId4_.AddEntriesFrom(input, _repeated_effectId4_codec); + break; + } + case 114: { + ActiveParam5 = input.ReadString(); + break; + } + case 122: + case 120: { + effectId5_.AddEntriesFrom(input, _repeated_effectId5_codec); + break; + } + case 130: + case 128: { + layerScore_.AddEntriesFrom(input, _repeated_layerScore_codec); + break; + } + case 138: { + Name = input.ReadString(); + break; + } + case 146: { + Icon = input.ReadString(); + break; + } + case 154: { + IconBg = input.ReadString(); + break; + } + case 162: { + Desc1 = input.ReadString(); + break; + } + case 170: { + Desc2 = input.ReadString(); + break; + } + case 178: { + Desc3 = input.ReadString(); + break; + } + case 186: { + Desc4 = input.ReadString(); + break; + } + case 194: { + Desc5 = input.ReadString(); + break; + } + case 202: { + Param1 = input.ReadString(); + break; + } + case 210: { + Param2 = input.ReadString(); + break; + } + case 218: { + Param3 = input.ReadString(); + break; + } + case 226: { + Param4 = input.ReadString(); + break; + } + case 234: { + Param5 = input.ReadString(); + break; + } + case 242: { + Param6 = 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: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + Level = input.ReadInt32(); + break; + } + case 32: { + Break = input.ReadInt32(); + break; + } + case 40: { + MainNote = input.ReadInt32(); + break; + } + case 50: { + ActiveParam1 = input.ReadString(); + break; + } + case 58: + case 56: { + effectId1_.AddEntriesFrom(ref input, _repeated_effectId1_codec); + break; + } + case 66: { + ActiveParam2 = input.ReadString(); + break; + } + case 74: + case 72: { + effectId2_.AddEntriesFrom(ref input, _repeated_effectId2_codec); + break; + } + case 82: { + ActiveParam3 = input.ReadString(); + break; + } + case 90: + case 88: { + effectId3_.AddEntriesFrom(ref input, _repeated_effectId3_codec); + break; + } + case 98: { + ActiveParam4 = input.ReadString(); + break; + } + case 106: + case 104: { + effectId4_.AddEntriesFrom(ref input, _repeated_effectId4_codec); + break; + } + case 114: { + ActiveParam5 = input.ReadString(); + break; + } + case 122: + case 120: { + effectId5_.AddEntriesFrom(ref input, _repeated_effectId5_codec); + break; + } + case 130: + case 128: { + layerScore_.AddEntriesFrom(ref input, _repeated_layerScore_codec); + break; + } + case 138: { + Name = input.ReadString(); + break; + } + case 146: { + Icon = input.ReadString(); + break; + } + case 154: { + IconBg = input.ReadString(); + break; + } + case 162: { + Desc1 = input.ReadString(); + break; + } + case 170: { + Desc2 = input.ReadString(); + break; + } + case 178: { + Desc3 = input.ReadString(); + break; + } + case 186: { + Desc4 = input.ReadString(); + break; + } + case 194: { + Desc5 = input.ReadString(); + break; + } + case 202: { + Param1 = input.ReadString(); + break; + } + case 210: { + Param2 = input.ReadString(); + break; + } + case 218: { + Param3 = input.ReadString(); + break; + } + case 226: { + Param4 = input.ReadString(); + break; + } + case 234: { + Param5 = input.ReadString(); + break; + } + case 242: { + Param6 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscPassiveSkill : pb::IMessage<table_DiscPassiveSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscPassiveSkill> _parser = new pb::MessageParser<table_DiscPassiveSkill>(() => new table_DiscPassiveSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscPassiveSkill> 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.ClientTableReflection.Descriptor.MessageTypes[131]; } + } + + [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 table_DiscPassiveSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscPassiveSkill(table_DiscPassiveSkill other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscPassiveSkill Clone() { + return new table_DiscPassiveSkill(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscPassiveSkill> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscPassiveSkill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscPassiveSkill> list_ = new pbc::RepeatedField<global::Nova.Client.DiscPassiveSkill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscPassiveSkill> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscPassiveSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscPassiveSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscPassiveSkill other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscPromote : pb::IMessage<DiscPromote> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscPromote> _parser = new pb::MessageParser<DiscPromote>(() => new DiscPromote()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscPromote> 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.ClientTableReflection.Descriptor.MessageTypes[132]; } + } + + [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 DiscPromote() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromote(DiscPromote other) : this() { + id_ = other.id_; + itemId1_ = other.itemId1_; + num1_ = other.num1_; + itemId2_ = other.itemId2_; + num2_ = other.num2_; + itemId3_ = other.itemId3_; + num3_ = other.num3_; + itemId4_ = other.itemId4_; + num4_ = other.num4_; + expenseGold_ = other.expenseGold_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromote Clone() { + return new DiscPromote(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 "ItemId1" field.</summary> + public const int ItemId1FieldNumber = 2; + private int itemId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId1 { + get { return itemId1_; } + set { + itemId1_ = value; + } + } + + /// <summary>Field number for the "Num1" field.</summary> + public const int Num1FieldNumber = 3; + private int num1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Num1 { + get { return num1_; } + set { + num1_ = value; + } + } + + /// <summary>Field number for the "ItemId2" field.</summary> + public const int ItemId2FieldNumber = 4; + private int itemId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId2 { + get { return itemId2_; } + set { + itemId2_ = value; + } + } + + /// <summary>Field number for the "Num2" field.</summary> + public const int Num2FieldNumber = 5; + private int num2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Num2 { + get { return num2_; } + set { + num2_ = value; + } + } + + /// <summary>Field number for the "ItemId3" field.</summary> + public const int ItemId3FieldNumber = 6; + private int itemId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId3 { + get { return itemId3_; } + set { + itemId3_ = value; + } + } + + /// <summary>Field number for the "Num3" field.</summary> + public const int Num3FieldNumber = 7; + private int num3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Num3 { + get { return num3_; } + set { + num3_ = value; + } + } + + /// <summary>Field number for the "ItemId4" field.</summary> + public const int ItemId4FieldNumber = 8; + private int itemId4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId4 { + get { return itemId4_; } + set { + itemId4_ = value; + } + } + + /// <summary>Field number for the "Num4" field.</summary> + public const int Num4FieldNumber = 9; + private int num4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Num4 { + get { return num4_; } + set { + num4_ = value; + } + } + + /// <summary>Field number for the "ExpenseGold" field.</summary> + public const int ExpenseGoldFieldNumber = 10; + private int expenseGold_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExpenseGold { + get { return expenseGold_; } + set { + expenseGold_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DiscPromote); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscPromote other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ItemId1 != other.ItemId1) return false; + if (Num1 != other.Num1) return false; + if (ItemId2 != other.ItemId2) return false; + if (Num2 != other.Num2) return false; + if (ItemId3 != other.ItemId3) return false; + if (Num3 != other.Num3) return false; + if (ItemId4 != other.ItemId4) return false; + if (Num4 != other.Num4) return false; + if (ExpenseGold != other.ExpenseGold) 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 (ItemId1 != 0) hash ^= ItemId1.GetHashCode(); + if (Num1 != 0) hash ^= Num1.GetHashCode(); + if (ItemId2 != 0) hash ^= ItemId2.GetHashCode(); + if (Num2 != 0) hash ^= Num2.GetHashCode(); + if (ItemId3 != 0) hash ^= ItemId3.GetHashCode(); + if (Num3 != 0) hash ^= Num3.GetHashCode(); + if (ItemId4 != 0) hash ^= ItemId4.GetHashCode(); + if (Num4 != 0) hash ^= Num4.GetHashCode(); + if (ExpenseGold != 0) hash ^= ExpenseGold.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 (ItemId1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId1); + } + if (Num1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(Num1); + } + if (ItemId2 != 0) { + output.WriteRawTag(32); + output.WriteInt32(ItemId2); + } + if (Num2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Num2); + } + if (ItemId3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(ItemId3); + } + if (Num3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Num3); + } + if (ItemId4 != 0) { + output.WriteRawTag(64); + output.WriteInt32(ItemId4); + } + if (Num4 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Num4); + } + if (ExpenseGold != 0) { + output.WriteRawTag(80); + output.WriteInt32(ExpenseGold); + } + 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 (ItemId1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId1); + } + if (Num1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(Num1); + } + if (ItemId2 != 0) { + output.WriteRawTag(32); + output.WriteInt32(ItemId2); + } + if (Num2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Num2); + } + if (ItemId3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(ItemId3); + } + if (Num3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Num3); + } + if (ItemId4 != 0) { + output.WriteRawTag(64); + output.WriteInt32(ItemId4); + } + if (Num4 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Num4); + } + if (ExpenseGold != 0) { + output.WriteRawTag(80); + output.WriteInt32(ExpenseGold); + } + 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 (ItemId1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId1); + } + if (Num1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num1); + } + if (ItemId2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId2); + } + if (Num2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num2); + } + if (ItemId3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId3); + } + if (Num3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num3); + } + if (ItemId4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId4); + } + if (Num4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num4); + } + if (ExpenseGold != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpenseGold); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscPromote other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ItemId1 != 0) { + ItemId1 = other.ItemId1; + } + if (other.Num1 != 0) { + Num1 = other.Num1; + } + if (other.ItemId2 != 0) { + ItemId2 = other.ItemId2; + } + if (other.Num2 != 0) { + Num2 = other.Num2; + } + if (other.ItemId3 != 0) { + ItemId3 = other.ItemId3; + } + if (other.Num3 != 0) { + Num3 = other.Num3; + } + if (other.ItemId4 != 0) { + ItemId4 = other.ItemId4; + } + if (other.Num4 != 0) { + Num4 = other.Num4; + } + if (other.ExpenseGold != 0) { + ExpenseGold = other.ExpenseGold; + } + _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: { + ItemId1 = input.ReadInt32(); + break; + } + case 24: { + Num1 = input.ReadInt32(); + break; + } + case 32: { + ItemId2 = input.ReadInt32(); + break; + } + case 40: { + Num2 = input.ReadInt32(); + break; + } + case 48: { + ItemId3 = input.ReadInt32(); + break; + } + case 56: { + Num3 = input.ReadInt32(); + break; + } + case 64: { + ItemId4 = input.ReadInt32(); + break; + } + case 72: { + Num4 = input.ReadInt32(); + break; + } + case 80: { + ExpenseGold = 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: { + ItemId1 = input.ReadInt32(); + break; + } + case 24: { + Num1 = input.ReadInt32(); + break; + } + case 32: { + ItemId2 = input.ReadInt32(); + break; + } + case 40: { + Num2 = input.ReadInt32(); + break; + } + case 48: { + ItemId3 = input.ReadInt32(); + break; + } + case 56: { + Num3 = input.ReadInt32(); + break; + } + case 64: { + ItemId4 = input.ReadInt32(); + break; + } + case 72: { + Num4 = input.ReadInt32(); + break; + } + case 80: { + ExpenseGold = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscPromote : pb::IMessage<table_DiscPromote> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscPromote> _parser = new pb::MessageParser<table_DiscPromote>(() => new table_DiscPromote()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscPromote> 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.ClientTableReflection.Descriptor.MessageTypes[133]; } + } + + [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 table_DiscPromote() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscPromote(table_DiscPromote other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscPromote Clone() { + return new table_DiscPromote(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscPromote> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscPromote.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscPromote> list_ = new pbc::RepeatedField<global::Nova.Client.DiscPromote>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscPromote> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscPromote); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscPromote other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscPromote other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscPromoteLimit : pb::IMessage<DiscPromoteLimit> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscPromoteLimit> _parser = new pb::MessageParser<DiscPromoteLimit>(() => new DiscPromoteLimit()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscPromoteLimit> 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.ClientTableReflection.Descriptor.MessageTypes[134]; } + } + + [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 DiscPromoteLimit() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromoteLimit(DiscPromoteLimit other) : this() { + id_ = other.id_; + rarity_ = other.rarity_; + phase_ = other.phase_; + maxLevel_ = other.maxLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscPromoteLimit Clone() { + return new DiscPromoteLimit(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 "Rarity" field.</summary> + public const int RarityFieldNumber = 2; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = value; + } + } + + /// <summary>Field number for the "Phase" field.</summary> + public const int PhaseFieldNumber = 3; + private string phase_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Phase { + get { return phase_; } + set { + phase_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MaxLevel" field.</summary> + public const int MaxLevelFieldNumber = 4; + private string maxLevel_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MaxLevel { + get { return maxLevel_; } + set { + maxLevel_ = 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 DiscPromoteLimit); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscPromoteLimit other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Rarity != other.Rarity) return false; + if (Phase != other.Phase) return false; + if (MaxLevel != other.MaxLevel) 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 (Rarity != 0) hash ^= Rarity.GetHashCode(); + if (Phase.Length != 0) hash ^= Phase.GetHashCode(); + if (MaxLevel.Length != 0) hash ^= MaxLevel.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 (Rarity != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rarity); + } + if (Phase.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Phase); + } + if (MaxLevel.Length != 0) { + output.WriteRawTag(34); + output.WriteString(MaxLevel); + } + 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 (Rarity != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rarity); + } + if (Phase.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Phase); + } + if (MaxLevel.Length != 0) { + output.WriteRawTag(34); + output.WriteString(MaxLevel); + } + 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 (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + if (Phase.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Phase); + } + if (MaxLevel.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MaxLevel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscPromoteLimit other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + if (other.Phase.Length != 0) { + Phase = other.Phase; + } + if (other.MaxLevel.Length != 0) { + MaxLevel = other.MaxLevel; + } + _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: { + Rarity = input.ReadInt32(); + break; + } + case 26: { + Phase = input.ReadString(); + break; + } + case 34: { + MaxLevel = 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: { + Rarity = input.ReadInt32(); + break; + } + case 26: { + Phase = input.ReadString(); + break; + } + case 34: { + MaxLevel = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscPromoteLimit : pb::IMessage<table_DiscPromoteLimit> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscPromoteLimit> _parser = new pb::MessageParser<table_DiscPromoteLimit>(() => new table_DiscPromoteLimit()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscPromoteLimit> 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.ClientTableReflection.Descriptor.MessageTypes[135]; } + } + + [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 table_DiscPromoteLimit() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscPromoteLimit(table_DiscPromoteLimit other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscPromoteLimit Clone() { + return new table_DiscPromoteLimit(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscPromoteLimit> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscPromoteLimit.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscPromoteLimit> list_ = new pbc::RepeatedField<global::Nova.Client.DiscPromoteLimit>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscPromoteLimit> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscPromoteLimit); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscPromoteLimit other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscPromoteLimit other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscStrengthen : pb::IMessage<DiscStrengthen> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscStrengthen> _parser = new pb::MessageParser<DiscStrengthen>(() => new DiscStrengthen()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscStrengthen> 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.ClientTableReflection.Descriptor.MessageTypes[136]; } + } + + [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 DiscStrengthen() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscStrengthen(DiscStrengthen other) : this() { + id_ = other.id_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscStrengthen Clone() { + return new DiscStrengthen(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 "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DiscStrengthen); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscStrengthen other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Exp != other.Exp) 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 (Exp != 0) hash ^= Exp.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 (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + 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 (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + 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 (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscStrengthen other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + Exp = 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: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscStrengthen : pb::IMessage<table_DiscStrengthen> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscStrengthen> _parser = new pb::MessageParser<table_DiscStrengthen>(() => new table_DiscStrengthen()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscStrengthen> 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.ClientTableReflection.Descriptor.MessageTypes[137]; } + } + + [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 table_DiscStrengthen() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscStrengthen(table_DiscStrengthen other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscStrengthen Clone() { + return new table_DiscStrengthen(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscStrengthen> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscStrengthen.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscStrengthen> list_ = new pbc::RepeatedField<global::Nova.Client.DiscStrengthen>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscStrengthen> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscStrengthen); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscStrengthen other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscStrengthen other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DiscTag : pb::IMessage<DiscTag> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DiscTag> _parser = new pb::MessageParser<DiscTag>(() => new DiscTag()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DiscTag> 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.ClientTableReflection.Descriptor.MessageTypes[138]; } + } + + [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 DiscTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscTag(DiscTag other) : this() { + id_ = other.id_; + title_ = other.title_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DiscTag Clone() { + return new DiscTag(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = 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 DiscTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DiscTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) 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 (Title.Length != 0) hash ^= Title.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DiscTag other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + _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: { + Title = 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 18: { + Title = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DiscTag : pb::IMessage<table_DiscTag> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DiscTag> _parser = new pb::MessageParser<table_DiscTag>(() => new table_DiscTag()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DiscTag> 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.ClientTableReflection.Descriptor.MessageTypes[139]; } + } + + [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 table_DiscTag() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscTag(table_DiscTag other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DiscTag Clone() { + return new table_DiscTag(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DiscTag> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DiscTag.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DiscTag> list_ = new pbc::RepeatedField<global::Nova.Client.DiscTag>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DiscTag> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DiscTag); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DiscTag other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DiscTag other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Drop : pb::IMessage<Drop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Drop> _parser = new pb::MessageParser<Drop>(() => new Drop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Drop> 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.ClientTableReflection.Descriptor.MessageTypes[140]; } + } + + [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 Drop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Drop(Drop other) : this() { + dropId_ = other.dropId_; + pkgId_ = other.pkgId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Drop Clone() { + return new Drop(this); + } + + /// <summary>Field number for the "DropId" field.</summary> + public const int DropIdFieldNumber = 1; + private int dropId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropId { + get { return dropId_; } + set { + dropId_ = value; + } + } + + /// <summary>Field number for the "PkgId" field.</summary> + public const int PkgIdFieldNumber = 2; + private int pkgId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PkgId { + get { return pkgId_; } + set { + pkgId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Drop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Drop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DropId != other.DropId) return false; + if (PkgId != other.PkgId) 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 (DropId != 0) hash ^= DropId.GetHashCode(); + if (PkgId != 0) hash ^= PkgId.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 (DropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(DropId); + } + if (PkgId != 0) { + output.WriteRawTag(16); + output.WriteInt32(PkgId); + } + 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 (DropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(DropId); + } + if (PkgId != 0) { + output.WriteRawTag(16); + output.WriteInt32(PkgId); + } + 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 (DropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); + } + if (PkgId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PkgId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Drop other) { + if (other == null) { + return; + } + if (other.DropId != 0) { + DropId = other.DropId; + } + if (other.PkgId != 0) { + PkgId = other.PkgId; + } + _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: { + DropId = input.ReadInt32(); + break; + } + case 16: { + PkgId = 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: { + DropId = input.ReadInt32(); + break; + } + case 16: { + PkgId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Drop : pb::IMessage<table_Drop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Drop> _parser = new pb::MessageParser<table_Drop>(() => new table_Drop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Drop> 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.ClientTableReflection.Descriptor.MessageTypes[141]; } + } + + [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 table_Drop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Drop(table_Drop other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Drop Clone() { + return new table_Drop(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Drop> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Drop.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Drop> list_ = new pbc::RepeatedField<global::Nova.Client.Drop>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Drop> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Drop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Drop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Drop other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DropItemShow : pb::IMessage<DropItemShow> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DropItemShow> _parser = new pb::MessageParser<DropItemShow>(() => new DropItemShow()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DropItemShow> 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.ClientTableReflection.Descriptor.MessageTypes[142]; } + } + + [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 DropItemShow() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropItemShow(DropItemShow other) : this() { + dropId_ = other.dropId_; + itemId_ = other.itemId_; + itemQty_ = other.itemQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropItemShow Clone() { + return new DropItemShow(this); + } + + /// <summary>Field number for the "DropId" field.</summary> + public const int DropIdFieldNumber = 1; + private int dropId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropId { + get { return dropId_; } + set { + dropId_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 2; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemQty" field.</summary> + public const int ItemQtyFieldNumber = 3; + private int itemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty { + get { return itemQty_; } + set { + itemQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DropItemShow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DropItemShow other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DropId != other.DropId) return false; + if (ItemId != other.ItemId) return false; + if (ItemQty != other.ItemQty) 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 (DropId != 0) hash ^= DropId.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemQty != 0) hash ^= ItemQty.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 (DropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(DropId); + } + if (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(24); + output.WriteInt32(ItemQty); + } + 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 (DropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(DropId); + } + if (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(24); + output.WriteInt32(ItemQty); + } + 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 (DropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropId); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DropItemShow other) { + if (other == null) { + return; + } + if (other.DropId != 0) { + DropId = other.DropId; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemQty != 0) { + ItemQty = other.ItemQty; + } + _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: { + DropId = input.ReadInt32(); + break; + } + case 16: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + ItemQty = 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: { + DropId = input.ReadInt32(); + break; + } + case 16: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + ItemQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DropItemShow : pb::IMessage<table_DropItemShow> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DropItemShow> _parser = new pb::MessageParser<table_DropItemShow>(() => new table_DropItemShow()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DropItemShow> 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.ClientTableReflection.Descriptor.MessageTypes[143]; } + } + + [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 table_DropItemShow() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropItemShow(table_DropItemShow other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropItemShow Clone() { + return new table_DropItemShow(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DropItemShow> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropItemShow.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DropItemShow> list_ = new pbc::RepeatedField<global::Nova.Client.DropItemShow>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DropItemShow> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DropItemShow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DropItemShow other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DropItemShow other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DropObject : pb::IMessage<DropObject> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DropObject> _parser = new pb::MessageParser<DropObject>(() => new DropObject()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DropObject> 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.ClientTableReflection.Descriptor.MessageTypes[144]; } + } + + [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 DropObject() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropObject(DropObject other) : this() { + id_ = other.id_; + dropObjectRes_ = other.dropObjectRes_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropObject Clone() { + return new DropObject(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 "DropObjectRes" field.</summary> + public const int DropObjectResFieldNumber = 2; + private string dropObjectRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DropObjectRes { + get { return dropObjectRes_; } + set { + dropObjectRes_ = 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 DropObject); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DropObject other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (DropObjectRes != other.DropObjectRes) 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 (DropObjectRes.Length != 0) hash ^= DropObjectRes.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 (DropObjectRes.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DropObjectRes); + } + 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 (DropObjectRes.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DropObjectRes); + } + 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 (DropObjectRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DropObjectRes); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DropObject other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.DropObjectRes.Length != 0) { + DropObjectRes = other.DropObjectRes; + } + _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: { + DropObjectRes = 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 18: { + DropObjectRes = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DropObject : pb::IMessage<table_DropObject> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DropObject> _parser = new pb::MessageParser<table_DropObject>(() => new table_DropObject()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DropObject> 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.ClientTableReflection.Descriptor.MessageTypes[145]; } + } + + [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 table_DropObject() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropObject(table_DropObject other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropObject Clone() { + return new table_DropObject(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DropObject> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropObject.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DropObject> list_ = new pbc::RepeatedField<global::Nova.Client.DropObject>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DropObject> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DropObject); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DropObject other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DropObject other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DropObjectGroup : pb::IMessage<DropObjectGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DropObjectGroup> _parser = new pb::MessageParser<DropObjectGroup>(() => new DropObjectGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DropObjectGroup> 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.ClientTableReflection.Descriptor.MessageTypes[146]; } + } + + [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 DropObjectGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropObjectGroup(DropObjectGroup other) : this() { + dropObjectGroupId_ = other.dropObjectGroupId_; + dropObjectId_ = other.dropObjectId_; + weight_ = other.weight_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropObjectGroup Clone() { + return new DropObjectGroup(this); + } + + /// <summary>Field number for the "DropObjectGroupId" field.</summary> + public const int DropObjectGroupIdFieldNumber = 1; + private int dropObjectGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropObjectGroupId { + get { return dropObjectGroupId_; } + set { + dropObjectGroupId_ = value; + } + } + + /// <summary>Field number for the "DropObjectId" field.</summary> + public const int DropObjectIdFieldNumber = 2; + private int dropObjectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropObjectId { + get { return dropObjectId_; } + set { + dropObjectId_ = value; + } + } + + /// <summary>Field number for the "weight" field.</summary> + public const int WeightFieldNumber = 3; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DropObjectGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DropObjectGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DropObjectGroupId != other.DropObjectGroupId) return false; + if (DropObjectId != other.DropObjectId) return false; + if (Weight != other.Weight) 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 (DropObjectGroupId != 0) hash ^= DropObjectGroupId.GetHashCode(); + if (DropObjectId != 0) hash ^= DropObjectId.GetHashCode(); + if (Weight != 0) hash ^= Weight.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 (DropObjectGroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(DropObjectGroupId); + } + if (DropObjectId != 0) { + output.WriteRawTag(16); + output.WriteInt32(DropObjectId); + } + if (Weight != 0) { + output.WriteRawTag(24); + output.WriteInt32(Weight); + } + 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 (DropObjectGroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(DropObjectGroupId); + } + if (DropObjectId != 0) { + output.WriteRawTag(16); + output.WriteInt32(DropObjectId); + } + if (Weight != 0) { + output.WriteRawTag(24); + output.WriteInt32(Weight); + } + 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 (DropObjectGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectGroupId); + } + if (DropObjectId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectId); + } + if (Weight != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DropObjectGroup other) { + if (other == null) { + return; + } + if (other.DropObjectGroupId != 0) { + DropObjectGroupId = other.DropObjectGroupId; + } + if (other.DropObjectId != 0) { + DropObjectId = other.DropObjectId; + } + if (other.Weight != 0) { + Weight = other.Weight; + } + _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: { + DropObjectGroupId = input.ReadInt32(); + break; + } + case 16: { + DropObjectId = input.ReadInt32(); + break; + } + case 24: { + Weight = 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: { + DropObjectGroupId = input.ReadInt32(); + break; + } + case 16: { + DropObjectId = input.ReadInt32(); + break; + } + case 24: { + Weight = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DropObjectGroup : pb::IMessage<table_DropObjectGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DropObjectGroup> _parser = new pb::MessageParser<table_DropObjectGroup>(() => new table_DropObjectGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DropObjectGroup> 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.ClientTableReflection.Descriptor.MessageTypes[147]; } + } + + [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 table_DropObjectGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropObjectGroup(table_DropObjectGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropObjectGroup Clone() { + return new table_DropObjectGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DropObjectGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropObjectGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DropObjectGroup> list_ = new pbc::RepeatedField<global::Nova.Client.DropObjectGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DropObjectGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DropObjectGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DropObjectGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DropObjectGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class DropPkg : pb::IMessage<DropPkg> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<DropPkg> _parser = new pb::MessageParser<DropPkg>(() => new DropPkg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<DropPkg> 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.ClientTableReflection.Descriptor.MessageTypes[148]; } + } + + [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 DropPkg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropPkg(DropPkg other) : this() { + pkgId_ = other.pkgId_; + itemId_ = other.itemId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DropPkg Clone() { + return new DropPkg(this); + } + + /// <summary>Field number for the "PkgId" field.</summary> + public const int PkgIdFieldNumber = 1; + private int pkgId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PkgId { + get { return pkgId_; } + set { + pkgId_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 2; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DropPkg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DropPkg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PkgId != other.PkgId) return false; + if (ItemId != other.ItemId) 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 (PkgId != 0) hash ^= PkgId.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.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 (PkgId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PkgId); + } + if (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + 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 (PkgId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PkgId); + } + if (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + 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 (PkgId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PkgId); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DropPkg other) { + if (other == null) { + return; + } + if (other.PkgId != 0) { + PkgId = other.PkgId; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + _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: { + PkgId = input.ReadInt32(); + break; + } + case 16: { + ItemId = 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: { + PkgId = input.ReadInt32(); + break; + } + case 16: { + ItemId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_DropPkg : pb::IMessage<table_DropPkg> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_DropPkg> _parser = new pb::MessageParser<table_DropPkg>(() => new table_DropPkg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_DropPkg> 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.ClientTableReflection.Descriptor.MessageTypes[149]; } + } + + [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 table_DropPkg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropPkg(table_DropPkg other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_DropPkg Clone() { + return new table_DropPkg(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.DropPkg> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.DropPkg.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.DropPkg> list_ = new pbc::RepeatedField<global::Nova.Client.DropPkg>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.DropPkg> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_DropPkg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_DropPkg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_DropPkg other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Effect : pb::IMessage<Effect> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Effect> _parser = new pb::MessageParser<Effect>(() => new Effect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Effect> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.ClientTableReflection.Descriptor.MessageTypes[150]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Effect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Effect(Effect other) : this() { + id_ = other.id_; + name_ = other.name_; + levelTypeData_ = other.levelTypeData_; + levelData_ = other.levelData_; + mainOrSupport_ = other.mainOrSupport_; + trigger_ = other.trigger_; + triggerTarget_ = other.triggerTarget_; + triggerCondition1_ = other.triggerCondition1_; + triggerParam1_ = other.triggerParam1_; + triggerParam2_ = other.triggerParam2_; + triggerParam3_ = other.triggerParam3_; + triggerParam4_ = other.triggerParam4_; + triggerTarget2_ = other.triggerTarget2_; + triggerCondition2_ = other.triggerCondition2_; + trigger2Param1_ = other.trigger2Param1_; + trigger2Param2_ = other.trigger2Param2_; + trigger2Param3_ = other.trigger2Param3_; + trigger2Param4_ = other.trigger2Param4_; + triggerLogicType_ = other.triggerLogicType_; + takeEffectTarget1_ = other.takeEffectTarget1_; + takeEffectCondition1_ = other.takeEffectCondition1_; + takeEffectParam1_ = other.takeEffectParam1_; + takeEffectParam2_ = other.takeEffectParam2_; + takeEffectParam3_ = other.takeEffectParam3_; + takeEffectParam4_ = other.takeEffectParam4_; + takeEffectTarget2_ = other.takeEffectTarget2_; + takeEffectCondition2_ = other.takeEffectCondition2_; + takeEffect2Param1_ = other.takeEffect2Param1_; + takeEffect2Param2_ = other.takeEffect2Param2_; + takeEffect2Param3_ = other.takeEffect2Param3_; + takeEffect2Param4_ = other.takeEffect2Param4_; + takeEffectLogicType_ = other.takeEffectLogicType_; + target1_ = other.target1_; + targetCondition1_ = other.targetCondition1_; + targetParam1_ = other.targetParam1_; + targetParam2_ = other.targetParam2_; + targetParam3_ = other.targetParam3_; + targetParam4_ = other.targetParam4_; + targetCondition2_ = other.targetCondition2_; + target2Param1_ = other.target2Param1_; + target2Param2_ = other.target2Param2_; + target2Param3_ = other.target2Param3_; + target2Param4_ = other.target2Param4_; + filterLogicType_ = other.filterLogicType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Effect Clone() { + return new Effect(this); + } + + /// <summary>Field number for the "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 "levelTypeData" field.</summary> + public const int LevelTypeDataFieldNumber = 3; + private int levelTypeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTypeData { + get { return levelTypeData_; } + set { + levelTypeData_ = value; + } + } + + /// <summary>Field number for the "LevelData" field.</summary> + public const int LevelDataFieldNumber = 4; + private int levelData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelData { + get { return levelData_; } + set { + levelData_ = value; + } + } + + /// <summary>Field number for the "MainOrSupport" field.</summary> + public const int MainOrSupportFieldNumber = 5; + private int mainOrSupport_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainOrSupport { + get { return mainOrSupport_; } + set { + mainOrSupport_ = value; + } + } + + /// <summary>Field number for the "Trigger" field.</summary> + public const int TriggerFieldNumber = 6; + private int trigger_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Trigger { + get { return trigger_; } + set { + trigger_ = value; + } + } + + /// <summary>Field number for the "TriggerTarget" field.</summary> + public const int TriggerTargetFieldNumber = 7; + private int triggerTarget_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerTarget { + get { return triggerTarget_; } + set { + triggerTarget_ = value; + } + } + + /// <summary>Field number for the "TriggerCondition1" field.</summary> + public const int TriggerCondition1FieldNumber = 8; + private int triggerCondition1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerCondition1 { + get { return triggerCondition1_; } + set { + triggerCondition1_ = value; + } + } + + /// <summary>Field number for the "TriggerParam1" field.</summary> + public const int TriggerParam1FieldNumber = 9; + private string triggerParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParam1 { + get { return triggerParam1_; } + set { + triggerParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TriggerParam2" field.</summary> + public const int TriggerParam2FieldNumber = 10; + private string triggerParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParam2 { + get { return triggerParam2_; } + set { + triggerParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TriggerParam3" field.</summary> + public const int TriggerParam3FieldNumber = 11; + private string triggerParam3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParam3 { + get { return triggerParam3_; } + set { + triggerParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TriggerParam4" field.</summary> + public const int TriggerParam4FieldNumber = 12; + private string triggerParam4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParam4 { + get { return triggerParam4_; } + set { + triggerParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TriggerTarget2" field.</summary> + public const int TriggerTarget2FieldNumber = 13; + private int triggerTarget2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerTarget2 { + get { return triggerTarget2_; } + set { + triggerTarget2_ = value; + } + } + + /// <summary>Field number for the "TriggerCondition2" field.</summary> + public const int TriggerCondition2FieldNumber = 14; + private int triggerCondition2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerCondition2 { + get { return triggerCondition2_; } + set { + triggerCondition2_ = value; + } + } + + /// <summary>Field number for the "Trigger2Param1" field.</summary> + public const int Trigger2Param1FieldNumber = 15; + private string trigger2Param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Trigger2Param1 { + get { return trigger2Param1_; } + set { + trigger2Param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Trigger2Param2" field.</summary> + public const int Trigger2Param2FieldNumber = 16; + private string trigger2Param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Trigger2Param2 { + get { return trigger2Param2_; } + set { + trigger2Param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Trigger2Param3" field.</summary> + public const int Trigger2Param3FieldNumber = 17; + private string trigger2Param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Trigger2Param3 { + get { return trigger2Param3_; } + set { + trigger2Param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Trigger2Param4" field.</summary> + public const int Trigger2Param4FieldNumber = 18; + private string trigger2Param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Trigger2Param4 { + get { return trigger2Param4_; } + set { + trigger2Param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TriggerLogicType" field.</summary> + public const int TriggerLogicTypeFieldNumber = 19; + private int triggerLogicType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerLogicType { + get { return triggerLogicType_; } + set { + triggerLogicType_ = value; + } + } + + /// <summary>Field number for the "TakeEffectTarget1" field.</summary> + public const int TakeEffectTarget1FieldNumber = 20; + private int takeEffectTarget1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TakeEffectTarget1 { + get { return takeEffectTarget1_; } + set { + takeEffectTarget1_ = value; + } + } + + /// <summary>Field number for the "TakeEffectCondition1" field.</summary> + public const int TakeEffectCondition1FieldNumber = 21; + private int takeEffectCondition1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TakeEffectCondition1 { + get { return takeEffectCondition1_; } + set { + takeEffectCondition1_ = value; + } + } + + /// <summary>Field number for the "TakeEffectParam1" field.</summary> + public const int TakeEffectParam1FieldNumber = 22; + private string takeEffectParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffectParam1 { + get { return takeEffectParam1_; } + set { + takeEffectParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffectParam2" field.</summary> + public const int TakeEffectParam2FieldNumber = 23; + private string takeEffectParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffectParam2 { + get { return takeEffectParam2_; } + set { + takeEffectParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffectParam3" field.</summary> + public const int TakeEffectParam3FieldNumber = 24; + private string takeEffectParam3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffectParam3 { + get { return takeEffectParam3_; } + set { + takeEffectParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffectParam4" field.</summary> + public const int TakeEffectParam4FieldNumber = 25; + private string takeEffectParam4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffectParam4 { + get { return takeEffectParam4_; } + set { + takeEffectParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffectTarget2" field.</summary> + public const int TakeEffectTarget2FieldNumber = 26; + private int takeEffectTarget2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TakeEffectTarget2 { + get { return takeEffectTarget2_; } + set { + takeEffectTarget2_ = value; + } + } + + /// <summary>Field number for the "TakeEffectCondition2" field.</summary> + public const int TakeEffectCondition2FieldNumber = 27; + private int takeEffectCondition2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TakeEffectCondition2 { + get { return takeEffectCondition2_; } + set { + takeEffectCondition2_ = value; + } + } + + /// <summary>Field number for the "TakeEffect2Param1" field.</summary> + public const int TakeEffect2Param1FieldNumber = 28; + private string takeEffect2Param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffect2Param1 { + get { return takeEffect2Param1_; } + set { + takeEffect2Param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffect2Param2" field.</summary> + public const int TakeEffect2Param2FieldNumber = 29; + private string takeEffect2Param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffect2Param2 { + get { return takeEffect2Param2_; } + set { + takeEffect2Param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffect2Param3" field.</summary> + public const int TakeEffect2Param3FieldNumber = 30; + private string takeEffect2Param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffect2Param3 { + get { return takeEffect2Param3_; } + set { + takeEffect2Param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffect2Param4" field.</summary> + public const int TakeEffect2Param4FieldNumber = 31; + private string takeEffect2Param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TakeEffect2Param4 { + get { return takeEffect2Param4_; } + set { + takeEffect2Param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffectLogicType" field.</summary> + public const int TakeEffectLogicTypeFieldNumber = 32; + private int takeEffectLogicType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TakeEffectLogicType { + get { return takeEffectLogicType_; } + set { + takeEffectLogicType_ = value; + } + } + + /// <summary>Field number for the "Target1" field.</summary> + public const int Target1FieldNumber = 33; + private int target1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Target1 { + get { return target1_; } + set { + target1_ = value; + } + } + + /// <summary>Field number for the "TargetCondition1" field.</summary> + public const int TargetCondition1FieldNumber = 34; + private int targetCondition1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TargetCondition1 { + get { return targetCondition1_; } + set { + targetCondition1_ = value; + } + } + + /// <summary>Field number for the "TargetParam1" field.</summary> + public const int TargetParam1FieldNumber = 35; + private string targetParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetParam1 { + get { return targetParam1_; } + set { + targetParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TargetParam2" field.</summary> + public const int TargetParam2FieldNumber = 36; + private string targetParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetParam2 { + get { return targetParam2_; } + set { + targetParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TargetParam3" field.</summary> + public const int TargetParam3FieldNumber = 37; + private string targetParam3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetParam3 { + get { return targetParam3_; } + set { + targetParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TargetParam4" field.</summary> + public const int TargetParam4FieldNumber = 38; + private string targetParam4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetParam4 { + get { return targetParam4_; } + set { + targetParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TargetCondition2" field.</summary> + public const int TargetCondition2FieldNumber = 39; + private int targetCondition2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TargetCondition2 { + get { return targetCondition2_; } + set { + targetCondition2_ = value; + } + } + + /// <summary>Field number for the "Target2Param1" field.</summary> + public const int Target2Param1FieldNumber = 40; + private string target2Param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Target2Param1 { + get { return target2Param1_; } + set { + target2Param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Target2Param2" field.</summary> + public const int Target2Param2FieldNumber = 41; + private string target2Param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Target2Param2 { + get { return target2Param2_; } + set { + target2Param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Target2Param3" field.</summary> + public const int Target2Param3FieldNumber = 42; + private string target2Param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Target2Param3 { + get { return target2Param3_; } + set { + target2Param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Target2Param4" field.</summary> + public const int Target2Param4FieldNumber = 43; + private string target2Param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Target2Param4 { + get { return target2Param4_; } + set { + target2Param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FilterLogicType" field.</summary> + public const int FilterLogicTypeFieldNumber = 44; + private int filterLogicType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FilterLogicType { + get { return filterLogicType_; } + set { + filterLogicType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Effect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Effect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Name != other.Name) return false; + if (LevelTypeData != other.LevelTypeData) return false; + if (LevelData != other.LevelData) return false; + if (MainOrSupport != other.MainOrSupport) return false; + if (Trigger != other.Trigger) return false; + if (TriggerTarget != other.TriggerTarget) return false; + if (TriggerCondition1 != other.TriggerCondition1) return false; + if (TriggerParam1 != other.TriggerParam1) return false; + if (TriggerParam2 != other.TriggerParam2) return false; + if (TriggerParam3 != other.TriggerParam3) return false; + if (TriggerParam4 != other.TriggerParam4) return false; + if (TriggerTarget2 != other.TriggerTarget2) return false; + if (TriggerCondition2 != other.TriggerCondition2) return false; + if (Trigger2Param1 != other.Trigger2Param1) return false; + if (Trigger2Param2 != other.Trigger2Param2) return false; + if (Trigger2Param3 != other.Trigger2Param3) return false; + if (Trigger2Param4 != other.Trigger2Param4) return false; + if (TriggerLogicType != other.TriggerLogicType) return false; + if (TakeEffectTarget1 != other.TakeEffectTarget1) return false; + if (TakeEffectCondition1 != other.TakeEffectCondition1) return false; + if (TakeEffectParam1 != other.TakeEffectParam1) return false; + if (TakeEffectParam2 != other.TakeEffectParam2) return false; + if (TakeEffectParam3 != other.TakeEffectParam3) return false; + if (TakeEffectParam4 != other.TakeEffectParam4) return false; + if (TakeEffectTarget2 != other.TakeEffectTarget2) return false; + if (TakeEffectCondition2 != other.TakeEffectCondition2) return false; + if (TakeEffect2Param1 != other.TakeEffect2Param1) return false; + if (TakeEffect2Param2 != other.TakeEffect2Param2) return false; + if (TakeEffect2Param3 != other.TakeEffect2Param3) return false; + if (TakeEffect2Param4 != other.TakeEffect2Param4) return false; + if (TakeEffectLogicType != other.TakeEffectLogicType) return false; + if (Target1 != other.Target1) return false; + if (TargetCondition1 != other.TargetCondition1) return false; + if (TargetParam1 != other.TargetParam1) return false; + if (TargetParam2 != other.TargetParam2) return false; + if (TargetParam3 != other.TargetParam3) return false; + if (TargetParam4 != other.TargetParam4) return false; + if (TargetCondition2 != other.TargetCondition2) return false; + if (Target2Param1 != other.Target2Param1) return false; + if (Target2Param2 != other.Target2Param2) return false; + if (Target2Param3 != other.Target2Param3) return false; + if (Target2Param4 != other.Target2Param4) return false; + if (FilterLogicType != other.FilterLogicType) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); + if (LevelData != 0) hash ^= LevelData.GetHashCode(); + if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); + if (Trigger != 0) hash ^= Trigger.GetHashCode(); + if (TriggerTarget != 0) hash ^= TriggerTarget.GetHashCode(); + if (TriggerCondition1 != 0) hash ^= TriggerCondition1.GetHashCode(); + if (TriggerParam1.Length != 0) hash ^= TriggerParam1.GetHashCode(); + if (TriggerParam2.Length != 0) hash ^= TriggerParam2.GetHashCode(); + if (TriggerParam3.Length != 0) hash ^= TriggerParam3.GetHashCode(); + if (TriggerParam4.Length != 0) hash ^= TriggerParam4.GetHashCode(); + if (TriggerTarget2 != 0) hash ^= TriggerTarget2.GetHashCode(); + if (TriggerCondition2 != 0) hash ^= TriggerCondition2.GetHashCode(); + if (Trigger2Param1.Length != 0) hash ^= Trigger2Param1.GetHashCode(); + if (Trigger2Param2.Length != 0) hash ^= Trigger2Param2.GetHashCode(); + if (Trigger2Param3.Length != 0) hash ^= Trigger2Param3.GetHashCode(); + if (Trigger2Param4.Length != 0) hash ^= Trigger2Param4.GetHashCode(); + if (TriggerLogicType != 0) hash ^= TriggerLogicType.GetHashCode(); + if (TakeEffectTarget1 != 0) hash ^= TakeEffectTarget1.GetHashCode(); + if (TakeEffectCondition1 != 0) hash ^= TakeEffectCondition1.GetHashCode(); + if (TakeEffectParam1.Length != 0) hash ^= TakeEffectParam1.GetHashCode(); + if (TakeEffectParam2.Length != 0) hash ^= TakeEffectParam2.GetHashCode(); + if (TakeEffectParam3.Length != 0) hash ^= TakeEffectParam3.GetHashCode(); + if (TakeEffectParam4.Length != 0) hash ^= TakeEffectParam4.GetHashCode(); + if (TakeEffectTarget2 != 0) hash ^= TakeEffectTarget2.GetHashCode(); + if (TakeEffectCondition2 != 0) hash ^= TakeEffectCondition2.GetHashCode(); + if (TakeEffect2Param1.Length != 0) hash ^= TakeEffect2Param1.GetHashCode(); + if (TakeEffect2Param2.Length != 0) hash ^= TakeEffect2Param2.GetHashCode(); + if (TakeEffect2Param3.Length != 0) hash ^= TakeEffect2Param3.GetHashCode(); + if (TakeEffect2Param4.Length != 0) hash ^= TakeEffect2Param4.GetHashCode(); + if (TakeEffectLogicType != 0) hash ^= TakeEffectLogicType.GetHashCode(); + if (Target1 != 0) hash ^= Target1.GetHashCode(); + if (TargetCondition1 != 0) hash ^= TargetCondition1.GetHashCode(); + if (TargetParam1.Length != 0) hash ^= TargetParam1.GetHashCode(); + if (TargetParam2.Length != 0) hash ^= TargetParam2.GetHashCode(); + if (TargetParam3.Length != 0) hash ^= TargetParam3.GetHashCode(); + if (TargetParam4.Length != 0) hash ^= TargetParam4.GetHashCode(); + if (TargetCondition2 != 0) hash ^= TargetCondition2.GetHashCode(); + if (Target2Param1.Length != 0) hash ^= Target2Param1.GetHashCode(); + if (Target2Param2.Length != 0) hash ^= Target2Param2.GetHashCode(); + if (Target2Param3.Length != 0) hash ^= Target2Param3.GetHashCode(); + if (Target2Param4.Length != 0) hash ^= Target2Param4.GetHashCode(); + if (FilterLogicType != 0) hash ^= FilterLogicType.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 (LevelTypeData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainOrSupport); + } + if (Trigger != 0) { + output.WriteRawTag(48); + output.WriteInt32(Trigger); + } + if (TriggerTarget != 0) { + output.WriteRawTag(56); + output.WriteInt32(TriggerTarget); + } + if (TriggerCondition1 != 0) { + output.WriteRawTag(64); + output.WriteInt32(TriggerCondition1); + } + if (TriggerParam1.Length != 0) { + output.WriteRawTag(74); + output.WriteString(TriggerParam1); + } + if (TriggerParam2.Length != 0) { + output.WriteRawTag(82); + output.WriteString(TriggerParam2); + } + if (TriggerParam3.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TriggerParam3); + } + if (TriggerParam4.Length != 0) { + output.WriteRawTag(98); + output.WriteString(TriggerParam4); + } + if (TriggerTarget2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(TriggerTarget2); + } + if (TriggerCondition2 != 0) { + output.WriteRawTag(112); + output.WriteInt32(TriggerCondition2); + } + if (Trigger2Param1.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Trigger2Param1); + } + if (Trigger2Param2.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Trigger2Param2); + } + if (Trigger2Param3.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Trigger2Param3); + } + if (Trigger2Param4.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Trigger2Param4); + } + if (TriggerLogicType != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(TriggerLogicType); + } + if (TakeEffectTarget1 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(TakeEffectTarget1); + } + if (TakeEffectCondition1 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(TakeEffectCondition1); + } + if (TakeEffectParam1.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(TakeEffectParam1); + } + if (TakeEffectParam2.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(TakeEffectParam2); + } + if (TakeEffectParam3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(TakeEffectParam3); + } + if (TakeEffectParam4.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(TakeEffectParam4); + } + if (TakeEffectTarget2 != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(TakeEffectTarget2); + } + if (TakeEffectCondition2 != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(TakeEffectCondition2); + } + if (TakeEffect2Param1.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(TakeEffect2Param1); + } + if (TakeEffect2Param2.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(TakeEffect2Param2); + } + if (TakeEffect2Param3.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(TakeEffect2Param3); + } + if (TakeEffect2Param4.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(TakeEffect2Param4); + } + if (TakeEffectLogicType != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(TakeEffectLogicType); + } + if (Target1 != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(Target1); + } + if (TargetCondition1 != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(TargetCondition1); + } + if (TargetParam1.Length != 0) { + output.WriteRawTag(154, 2); + output.WriteString(TargetParam1); + } + if (TargetParam2.Length != 0) { + output.WriteRawTag(162, 2); + output.WriteString(TargetParam2); + } + if (TargetParam3.Length != 0) { + output.WriteRawTag(170, 2); + output.WriteString(TargetParam3); + } + if (TargetParam4.Length != 0) { + output.WriteRawTag(178, 2); + output.WriteString(TargetParam4); + } + if (TargetCondition2 != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(TargetCondition2); + } + if (Target2Param1.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteString(Target2Param1); + } + if (Target2Param2.Length != 0) { + output.WriteRawTag(202, 2); + output.WriteString(Target2Param2); + } + if (Target2Param3.Length != 0) { + output.WriteRawTag(210, 2); + output.WriteString(Target2Param3); + } + if (Target2Param4.Length != 0) { + output.WriteRawTag(218, 2); + output.WriteString(Target2Param4); + } + if (FilterLogicType != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(FilterLogicType); + } + 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 (LevelTypeData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainOrSupport); + } + if (Trigger != 0) { + output.WriteRawTag(48); + output.WriteInt32(Trigger); + } + if (TriggerTarget != 0) { + output.WriteRawTag(56); + output.WriteInt32(TriggerTarget); + } + if (TriggerCondition1 != 0) { + output.WriteRawTag(64); + output.WriteInt32(TriggerCondition1); + } + if (TriggerParam1.Length != 0) { + output.WriteRawTag(74); + output.WriteString(TriggerParam1); + } + if (TriggerParam2.Length != 0) { + output.WriteRawTag(82); + output.WriteString(TriggerParam2); + } + if (TriggerParam3.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TriggerParam3); + } + if (TriggerParam4.Length != 0) { + output.WriteRawTag(98); + output.WriteString(TriggerParam4); + } + if (TriggerTarget2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(TriggerTarget2); + } + if (TriggerCondition2 != 0) { + output.WriteRawTag(112); + output.WriteInt32(TriggerCondition2); + } + if (Trigger2Param1.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Trigger2Param1); + } + if (Trigger2Param2.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Trigger2Param2); + } + if (Trigger2Param3.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Trigger2Param3); + } + if (Trigger2Param4.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Trigger2Param4); + } + if (TriggerLogicType != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(TriggerLogicType); + } + if (TakeEffectTarget1 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(TakeEffectTarget1); + } + if (TakeEffectCondition1 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(TakeEffectCondition1); + } + if (TakeEffectParam1.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(TakeEffectParam1); + } + if (TakeEffectParam2.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(TakeEffectParam2); + } + if (TakeEffectParam3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(TakeEffectParam3); + } + if (TakeEffectParam4.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(TakeEffectParam4); + } + if (TakeEffectTarget2 != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(TakeEffectTarget2); + } + if (TakeEffectCondition2 != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(TakeEffectCondition2); + } + if (TakeEffect2Param1.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(TakeEffect2Param1); + } + if (TakeEffect2Param2.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(TakeEffect2Param2); + } + if (TakeEffect2Param3.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(TakeEffect2Param3); + } + if (TakeEffect2Param4.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(TakeEffect2Param4); + } + if (TakeEffectLogicType != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(TakeEffectLogicType); + } + if (Target1 != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(Target1); + } + if (TargetCondition1 != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(TargetCondition1); + } + if (TargetParam1.Length != 0) { + output.WriteRawTag(154, 2); + output.WriteString(TargetParam1); + } + if (TargetParam2.Length != 0) { + output.WriteRawTag(162, 2); + output.WriteString(TargetParam2); + } + if (TargetParam3.Length != 0) { + output.WriteRawTag(170, 2); + output.WriteString(TargetParam3); + } + if (TargetParam4.Length != 0) { + output.WriteRawTag(178, 2); + output.WriteString(TargetParam4); + } + if (TargetCondition2 != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(TargetCondition2); + } + if (Target2Param1.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteString(Target2Param1); + } + if (Target2Param2.Length != 0) { + output.WriteRawTag(202, 2); + output.WriteString(Target2Param2); + } + if (Target2Param3.Length != 0) { + output.WriteRawTag(210, 2); + output.WriteString(Target2Param3); + } + if (Target2Param4.Length != 0) { + output.WriteRawTag(218, 2); + output.WriteString(Target2Param4); + } + if (FilterLogicType != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(FilterLogicType); + } + 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 (LevelTypeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + } + if (LevelData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + } + if (MainOrSupport != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + } + if (Trigger != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Trigger); + } + if (TriggerTarget != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerTarget); + } + if (TriggerCondition1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCondition1); + } + if (TriggerParam1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam1); + } + if (TriggerParam2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam2); + } + if (TriggerParam3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam3); + } + if (TriggerParam4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam4); + } + if (TriggerTarget2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerTarget2); + } + if (TriggerCondition2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCondition2); + } + if (Trigger2Param1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param1); + } + if (Trigger2Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param2); + } + if (Trigger2Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param3); + } + if (Trigger2Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Trigger2Param4); + } + if (TriggerLogicType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TriggerLogicType); + } + if (TakeEffectTarget1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectTarget1); + } + if (TakeEffectCondition1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectCondition1); + } + if (TakeEffectParam1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam1); + } + if (TakeEffectParam2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam2); + } + if (TakeEffectParam3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam3); + } + if (TakeEffectParam4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffectParam4); + } + if (TakeEffectTarget2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectTarget2); + } + if (TakeEffectCondition2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectCondition2); + } + if (TakeEffect2Param1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param1); + } + if (TakeEffect2Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param2); + } + if (TakeEffect2Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param3); + } + if (TakeEffect2Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TakeEffect2Param4); + } + if (TakeEffectLogicType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectLogicType); + } + if (Target1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Target1); + } + if (TargetCondition1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TargetCondition1); + } + if (TargetParam1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam1); + } + if (TargetParam2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam2); + } + if (TargetParam3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam3); + } + if (TargetParam4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TargetParam4); + } + if (TargetCondition2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TargetCondition2); + } + if (Target2Param1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param1); + } + if (Target2Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param2); + } + if (Target2Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param3); + } + if (Target2Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Target2Param4); + } + if (FilterLogicType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FilterLogicType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Effect other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.LevelTypeData != 0) { + LevelTypeData = other.LevelTypeData; + } + if (other.LevelData != 0) { + LevelData = other.LevelData; + } + if (other.MainOrSupport != 0) { + MainOrSupport = other.MainOrSupport; + } + if (other.Trigger != 0) { + Trigger = other.Trigger; + } + if (other.TriggerTarget != 0) { + TriggerTarget = other.TriggerTarget; + } + if (other.TriggerCondition1 != 0) { + TriggerCondition1 = other.TriggerCondition1; + } + if (other.TriggerParam1.Length != 0) { + TriggerParam1 = other.TriggerParam1; + } + if (other.TriggerParam2.Length != 0) { + TriggerParam2 = other.TriggerParam2; + } + if (other.TriggerParam3.Length != 0) { + TriggerParam3 = other.TriggerParam3; + } + if (other.TriggerParam4.Length != 0) { + TriggerParam4 = other.TriggerParam4; + } + if (other.TriggerTarget2 != 0) { + TriggerTarget2 = other.TriggerTarget2; + } + if (other.TriggerCondition2 != 0) { + TriggerCondition2 = other.TriggerCondition2; + } + if (other.Trigger2Param1.Length != 0) { + Trigger2Param1 = other.Trigger2Param1; + } + if (other.Trigger2Param2.Length != 0) { + Trigger2Param2 = other.Trigger2Param2; + } + if (other.Trigger2Param3.Length != 0) { + Trigger2Param3 = other.Trigger2Param3; + } + if (other.Trigger2Param4.Length != 0) { + Trigger2Param4 = other.Trigger2Param4; + } + if (other.TriggerLogicType != 0) { + TriggerLogicType = other.TriggerLogicType; + } + if (other.TakeEffectTarget1 != 0) { + TakeEffectTarget1 = other.TakeEffectTarget1; + } + if (other.TakeEffectCondition1 != 0) { + TakeEffectCondition1 = other.TakeEffectCondition1; + } + if (other.TakeEffectParam1.Length != 0) { + TakeEffectParam1 = other.TakeEffectParam1; + } + if (other.TakeEffectParam2.Length != 0) { + TakeEffectParam2 = other.TakeEffectParam2; + } + if (other.TakeEffectParam3.Length != 0) { + TakeEffectParam3 = other.TakeEffectParam3; + } + if (other.TakeEffectParam4.Length != 0) { + TakeEffectParam4 = other.TakeEffectParam4; + } + if (other.TakeEffectTarget2 != 0) { + TakeEffectTarget2 = other.TakeEffectTarget2; + } + if (other.TakeEffectCondition2 != 0) { + TakeEffectCondition2 = other.TakeEffectCondition2; + } + if (other.TakeEffect2Param1.Length != 0) { + TakeEffect2Param1 = other.TakeEffect2Param1; + } + if (other.TakeEffect2Param2.Length != 0) { + TakeEffect2Param2 = other.TakeEffect2Param2; + } + if (other.TakeEffect2Param3.Length != 0) { + TakeEffect2Param3 = other.TakeEffect2Param3; + } + if (other.TakeEffect2Param4.Length != 0) { + TakeEffect2Param4 = other.TakeEffect2Param4; + } + if (other.TakeEffectLogicType != 0) { + TakeEffectLogicType = other.TakeEffectLogicType; + } + if (other.Target1 != 0) { + Target1 = other.Target1; + } + if (other.TargetCondition1 != 0) { + TargetCondition1 = other.TargetCondition1; + } + if (other.TargetParam1.Length != 0) { + TargetParam1 = other.TargetParam1; + } + if (other.TargetParam2.Length != 0) { + TargetParam2 = other.TargetParam2; + } + if (other.TargetParam3.Length != 0) { + TargetParam3 = other.TargetParam3; + } + if (other.TargetParam4.Length != 0) { + TargetParam4 = other.TargetParam4; + } + if (other.TargetCondition2 != 0) { + TargetCondition2 = other.TargetCondition2; + } + if (other.Target2Param1.Length != 0) { + Target2Param1 = other.Target2Param1; + } + if (other.Target2Param2.Length != 0) { + Target2Param2 = other.Target2Param2; + } + if (other.Target2Param3.Length != 0) { + Target2Param3 = other.Target2Param3; + } + if (other.Target2Param4.Length != 0) { + Target2Param4 = other.Target2Param4; + } + if (other.FilterLogicType != 0) { + FilterLogicType = other.FilterLogicType; + } + _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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 32: { + LevelData = input.ReadInt32(); + break; + } + case 40: { + MainOrSupport = input.ReadInt32(); + break; + } + case 48: { + Trigger = input.ReadInt32(); + break; + } + case 56: { + TriggerTarget = input.ReadInt32(); + break; + } + case 64: { + TriggerCondition1 = input.ReadInt32(); + break; + } + case 74: { + TriggerParam1 = input.ReadString(); + break; + } + case 82: { + TriggerParam2 = input.ReadString(); + break; + } + case 90: { + TriggerParam3 = input.ReadString(); + break; + } + case 98: { + TriggerParam4 = input.ReadString(); + break; + } + case 104: { + TriggerTarget2 = input.ReadInt32(); + break; + } + case 112: { + TriggerCondition2 = input.ReadInt32(); + break; + } + case 122: { + Trigger2Param1 = input.ReadString(); + break; + } + case 130: { + Trigger2Param2 = input.ReadString(); + break; + } + case 138: { + Trigger2Param3 = input.ReadString(); + break; + } + case 146: { + Trigger2Param4 = input.ReadString(); + break; + } + case 152: { + TriggerLogicType = input.ReadInt32(); + break; + } + case 160: { + TakeEffectTarget1 = input.ReadInt32(); + break; + } + case 168: { + TakeEffectCondition1 = input.ReadInt32(); + break; + } + case 178: { + TakeEffectParam1 = input.ReadString(); + break; + } + case 186: { + TakeEffectParam2 = input.ReadString(); + break; + } + case 194: { + TakeEffectParam3 = input.ReadString(); + break; + } + case 202: { + TakeEffectParam4 = input.ReadString(); + break; + } + case 208: { + TakeEffectTarget2 = input.ReadInt32(); + break; + } + case 216: { + TakeEffectCondition2 = input.ReadInt32(); + break; + } + case 226: { + TakeEffect2Param1 = input.ReadString(); + break; + } + case 234: { + TakeEffect2Param2 = input.ReadString(); + break; + } + case 242: { + TakeEffect2Param3 = input.ReadString(); + break; + } + case 250: { + TakeEffect2Param4 = input.ReadString(); + break; + } + case 256: { + TakeEffectLogicType = input.ReadInt32(); + break; + } + case 264: { + Target1 = input.ReadInt32(); + break; + } + case 272: { + TargetCondition1 = input.ReadInt32(); + break; + } + case 282: { + TargetParam1 = input.ReadString(); + break; + } + case 290: { + TargetParam2 = input.ReadString(); + break; + } + case 298: { + TargetParam3 = input.ReadString(); + break; + } + case 306: { + TargetParam4 = input.ReadString(); + break; + } + case 312: { + TargetCondition2 = input.ReadInt32(); + break; + } + case 322: { + Target2Param1 = input.ReadString(); + break; + } + case 330: { + Target2Param2 = input.ReadString(); + break; + } + case 338: { + Target2Param3 = input.ReadString(); + break; + } + case 346: { + Target2Param4 = input.ReadString(); + break; + } + case 352: { + FilterLogicType = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + LevelTypeData = input.ReadInt32(); + break; + } + case 32: { + LevelData = input.ReadInt32(); + break; + } + case 40: { + MainOrSupport = input.ReadInt32(); + break; + } + case 48: { + Trigger = input.ReadInt32(); + break; + } + case 56: { + TriggerTarget = input.ReadInt32(); + break; + } + case 64: { + TriggerCondition1 = input.ReadInt32(); + break; + } + case 74: { + TriggerParam1 = input.ReadString(); + break; + } + case 82: { + TriggerParam2 = input.ReadString(); + break; + } + case 90: { + TriggerParam3 = input.ReadString(); + break; + } + case 98: { + TriggerParam4 = input.ReadString(); + break; + } + case 104: { + TriggerTarget2 = input.ReadInt32(); + break; + } + case 112: { + TriggerCondition2 = input.ReadInt32(); + break; + } + case 122: { + Trigger2Param1 = input.ReadString(); + break; + } + case 130: { + Trigger2Param2 = input.ReadString(); + break; + } + case 138: { + Trigger2Param3 = input.ReadString(); + break; + } + case 146: { + Trigger2Param4 = input.ReadString(); + break; + } + case 152: { + TriggerLogicType = input.ReadInt32(); + break; + } + case 160: { + TakeEffectTarget1 = input.ReadInt32(); + break; + } + case 168: { + TakeEffectCondition1 = input.ReadInt32(); + break; + } + case 178: { + TakeEffectParam1 = input.ReadString(); + break; + } + case 186: { + TakeEffectParam2 = input.ReadString(); + break; + } + case 194: { + TakeEffectParam3 = input.ReadString(); + break; + } + case 202: { + TakeEffectParam4 = input.ReadString(); + break; + } + case 208: { + TakeEffectTarget2 = input.ReadInt32(); + break; + } + case 216: { + TakeEffectCondition2 = input.ReadInt32(); + break; + } + case 226: { + TakeEffect2Param1 = input.ReadString(); + break; + } + case 234: { + TakeEffect2Param2 = input.ReadString(); + break; + } + case 242: { + TakeEffect2Param3 = input.ReadString(); + break; + } + case 250: { + TakeEffect2Param4 = input.ReadString(); + break; + } + case 256: { + TakeEffectLogicType = input.ReadInt32(); + break; + } + case 264: { + Target1 = input.ReadInt32(); + break; + } + case 272: { + TargetCondition1 = input.ReadInt32(); + break; + } + case 282: { + TargetParam1 = input.ReadString(); + break; + } + case 290: { + TargetParam2 = input.ReadString(); + break; + } + case 298: { + TargetParam3 = input.ReadString(); + break; + } + case 306: { + TargetParam4 = input.ReadString(); + break; + } + case 312: { + TargetCondition2 = input.ReadInt32(); + break; + } + case 322: { + Target2Param1 = input.ReadString(); + break; + } + case 330: { + Target2Param2 = input.ReadString(); + break; + } + case 338: { + Target2Param3 = input.ReadString(); + break; + } + case 346: { + Target2Param4 = input.ReadString(); + break; + } + case 352: { + FilterLogicType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Effect : pb::IMessage<table_Effect> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Effect> _parser = new pb::MessageParser<table_Effect>(() => new table_Effect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Effect> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.ClientTableReflection.Descriptor.MessageTypes[151]; } + } + + [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 table_Effect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Effect(table_Effect other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Effect Clone() { + return new table_Effect(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Effect> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Effect.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Effect> list_ = new pbc::RepeatedField<global::Nova.Client.Effect>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Effect> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Effect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Effect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Effect other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EffectDesc : pb::IMessage<EffectDesc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EffectDesc> _parser = new pb::MessageParser<EffectDesc>(() => new EffectDesc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EffectDesc> 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.ClientTableReflection.Descriptor.MessageTypes[152]; } + } + + [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 EffectDesc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EffectDesc(EffectDesc other) : this() { + id_ = other.id_; + typeID_ = other.typeID_; + type2ID_ = other.type2ID_; + desc_ = other.desc_; + randomAttrDesc_ = other.randomAttrDesc_; + attribute_ = other.attribute_; + wordID_ = other.wordID_; + isPercent_ = other.isPercent_; + icon_ = other.icon_; + format_ = other.format_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EffectDesc Clone() { + return new EffectDesc(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 "TypeID" field.</summary> + public const int TypeIDFieldNumber = 2; + private int typeID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TypeID { + get { return typeID_; } + set { + typeID_ = value; + } + } + + /// <summary>Field number for the "Type2ID" field.</summary> + public const int Type2IDFieldNumber = 3; + private int type2ID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type2ID { + get { return type2ID_; } + set { + type2ID_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "RandomAttrDesc" field.</summary> + public const int RandomAttrDescFieldNumber = 5; + private string randomAttrDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RandomAttrDesc { + get { return randomAttrDesc_; } + set { + randomAttrDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Attribute" field.</summary> + public const int AttributeFieldNumber = 6; + private string attribute_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Attribute { + get { return attribute_; } + set { + attribute_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "WordID" field.</summary> + public const int WordIDFieldNumber = 7; + private int wordID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WordID { + get { return wordID_; } + set { + wordID_ = value; + } + } + + /// <summary>Field number for the "isPercent" field.</summary> + public const int IsPercentFieldNumber = 8; + private bool isPercent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsPercent { + get { return isPercent_; } + set { + isPercent_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 9; + 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 "Format" field.</summary> + public const int FormatFieldNumber = 10; + private int format_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Format { + get { return format_; } + set { + format_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EffectDesc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EffectDesc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TypeID != other.TypeID) return false; + if (Type2ID != other.Type2ID) return false; + if (Desc != other.Desc) return false; + if (RandomAttrDesc != other.RandomAttrDesc) return false; + if (Attribute != other.Attribute) return false; + if (WordID != other.WordID) return false; + if (IsPercent != other.IsPercent) return false; + if (Icon != other.Icon) return false; + if (Format != other.Format) 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 (TypeID != 0) hash ^= TypeID.GetHashCode(); + if (Type2ID != 0) hash ^= Type2ID.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (RandomAttrDesc.Length != 0) hash ^= RandomAttrDesc.GetHashCode(); + if (Attribute.Length != 0) hash ^= Attribute.GetHashCode(); + if (WordID != 0) hash ^= WordID.GetHashCode(); + if (IsPercent != false) hash ^= IsPercent.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Format != 0) hash ^= Format.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 (TypeID != 0) { + output.WriteRawTag(16); + output.WriteInt32(TypeID); + } + if (Type2ID != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type2ID); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (RandomAttrDesc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(RandomAttrDesc); + } + if (Attribute.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Attribute); + } + if (WordID != 0) { + output.WriteRawTag(56); + output.WriteInt32(WordID); + } + if (IsPercent != false) { + output.WriteRawTag(64); + output.WriteBool(IsPercent); + } + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + if (Format != 0) { + output.WriteRawTag(80); + output.WriteInt32(Format); + } + 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 (TypeID != 0) { + output.WriteRawTag(16); + output.WriteInt32(TypeID); + } + if (Type2ID != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type2ID); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (RandomAttrDesc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(RandomAttrDesc); + } + if (Attribute.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Attribute); + } + if (WordID != 0) { + output.WriteRawTag(56); + output.WriteInt32(WordID); + } + if (IsPercent != false) { + output.WriteRawTag(64); + output.WriteBool(IsPercent); + } + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + if (Format != 0) { + output.WriteRawTag(80); + output.WriteInt32(Format); + } + 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 (TypeID != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TypeID); + } + if (Type2ID != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type2ID); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (RandomAttrDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RandomAttrDesc); + } + if (Attribute.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Attribute); + } + if (WordID != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WordID); + } + if (IsPercent != false) { + size += 1 + 1; + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Format != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Format); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EffectDesc other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.TypeID != 0) { + TypeID = other.TypeID; + } + if (other.Type2ID != 0) { + Type2ID = other.Type2ID; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.RandomAttrDesc.Length != 0) { + RandomAttrDesc = other.RandomAttrDesc; + } + if (other.Attribute.Length != 0) { + Attribute = other.Attribute; + } + if (other.WordID != 0) { + WordID = other.WordID; + } + if (other.IsPercent != false) { + IsPercent = other.IsPercent; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Format != 0) { + Format = other.Format; + } + _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: { + TypeID = input.ReadInt32(); + break; + } + case 24: { + Type2ID = input.ReadInt32(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + RandomAttrDesc = input.ReadString(); + break; + } + case 50: { + Attribute = input.ReadString(); + break; + } + case 56: { + WordID = input.ReadInt32(); + break; + } + case 64: { + IsPercent = input.ReadBool(); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + case 80: { + Format = 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: { + TypeID = input.ReadInt32(); + break; + } + case 24: { + Type2ID = input.ReadInt32(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + RandomAttrDesc = input.ReadString(); + break; + } + case 50: { + Attribute = input.ReadString(); + break; + } + case 56: { + WordID = input.ReadInt32(); + break; + } + case 64: { + IsPercent = input.ReadBool(); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + case 80: { + Format = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EffectDesc : pb::IMessage<table_EffectDesc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EffectDesc> _parser = new pb::MessageParser<table_EffectDesc>(() => new table_EffectDesc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EffectDesc> 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.ClientTableReflection.Descriptor.MessageTypes[153]; } + } + + [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 table_EffectDesc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EffectDesc(table_EffectDesc other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EffectDesc Clone() { + return new table_EffectDesc(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EffectDesc> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EffectDesc.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EffectDesc> list_ = new pbc::RepeatedField<global::Nova.Client.EffectDesc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EffectDesc> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EffectDesc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EffectDesc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EffectDesc other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EffectValue : pb::IMessage<EffectValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EffectValue> _parser = new pb::MessageParser<EffectValue>(() => new EffectValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EffectValue> 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.ClientTableReflection.Descriptor.MessageTypes[154]; } + } + + [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 EffectValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EffectValue(EffectValue other) : this() { + id_ = other.id_; + name_ = other.name_; + tag_ = other.tag_; + takeEffectLimit_ = other.takeEffectLimit_; + remove_ = other.remove_; + cD_ = other.cD_; + effectRate_ = other.effectRate_; + effectType_ = other.effectType_; + effectTypeFirstSubtype_ = other.effectTypeFirstSubtype_; + effectTypeSecondSubtype_ = other.effectTypeSecondSubtype_; + effectTypeParam1_ = other.effectTypeParam1_; + effectTypeParam2_ = other.effectTypeParam2_; + effectTypeParam3_ = other.effectTypeParam3_; + effectTypeParam4_ = other.effectTypeParam4_; + effectTypeParam5_ = other.effectTypeParam5_; + effectTypeParam6_ = other.effectTypeParam6_; + effectTypeParam7_ = other.effectTypeParam7_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EffectValue Clone() { + return new EffectValue(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 "Tag" field.</summary> + public const int TagFieldNumber = 3; + private string tag_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag { + get { return tag_; } + set { + tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TakeEffectLimit" field.</summary> + public const int TakeEffectLimitFieldNumber = 4; + private int takeEffectLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TakeEffectLimit { + get { return takeEffectLimit_; } + set { + takeEffectLimit_ = value; + } + } + + /// <summary>Field number for the "Remove" field.</summary> + public const int RemoveFieldNumber = 5; + private bool remove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Remove { + get { return remove_; } + set { + remove_ = value; + } + } + + /// <summary>Field number for the "CD" field.</summary> + public const int CDFieldNumber = 6; + private int cD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CD { + get { return cD_; } + set { + cD_ = value; + } + } + + /// <summary>Field number for the "EffectRate" field.</summary> + public const int EffectRateFieldNumber = 7; + private int effectRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectRate { + get { return effectRate_; } + set { + effectRate_ = value; + } + } + + /// <summary>Field number for the "EffectType" field.</summary> + public const int EffectTypeFieldNumber = 8; + private int effectType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectType { + get { return effectType_; } + set { + effectType_ = value; + } + } + + /// <summary>Field number for the "EffectTypeFirstSubtype" field.</summary> + public const int EffectTypeFirstSubtypeFieldNumber = 9; + private int effectTypeFirstSubtype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectTypeFirstSubtype { + get { return effectTypeFirstSubtype_; } + set { + effectTypeFirstSubtype_ = value; + } + } + + /// <summary>Field number for the "EffectTypeSecondSubtype" field.</summary> + public const int EffectTypeSecondSubtypeFieldNumber = 10; + private int effectTypeSecondSubtype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectTypeSecondSubtype { + get { return effectTypeSecondSubtype_; } + set { + effectTypeSecondSubtype_ = value; + } + } + + /// <summary>Field number for the "EffectTypeParam1" field.</summary> + public const int EffectTypeParam1FieldNumber = 11; + private string effectTypeParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam1 { + get { return effectTypeParam1_; } + set { + effectTypeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectTypeParam2" field.</summary> + public const int EffectTypeParam2FieldNumber = 12; + private string effectTypeParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam2 { + get { return effectTypeParam2_; } + set { + effectTypeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectTypeParam3" field.</summary> + public const int EffectTypeParam3FieldNumber = 13; + private string effectTypeParam3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam3 { + get { return effectTypeParam3_; } + set { + effectTypeParam3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectTypeParam4" field.</summary> + public const int EffectTypeParam4FieldNumber = 14; + private string effectTypeParam4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam4 { + get { return effectTypeParam4_; } + set { + effectTypeParam4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectTypeParam5" field.</summary> + public const int EffectTypeParam5FieldNumber = 15; + private string effectTypeParam5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam5 { + get { return effectTypeParam5_; } + set { + effectTypeParam5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectTypeParam6" field.</summary> + public const int EffectTypeParam6FieldNumber = 16; + private string effectTypeParam6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam6 { + get { return effectTypeParam6_; } + set { + effectTypeParam6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectTypeParam7" field.</summary> + public const int EffectTypeParam7FieldNumber = 17; + private string effectTypeParam7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EffectTypeParam7 { + get { return effectTypeParam7_; } + set { + effectTypeParam7_ = 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 EffectValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EffectValue 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 (Tag != other.Tag) return false; + if (TakeEffectLimit != other.TakeEffectLimit) return false; + if (Remove != other.Remove) return false; + if (CD != other.CD) return false; + if (EffectRate != other.EffectRate) return false; + if (EffectType != other.EffectType) return false; + if (EffectTypeFirstSubtype != other.EffectTypeFirstSubtype) return false; + if (EffectTypeSecondSubtype != other.EffectTypeSecondSubtype) return false; + if (EffectTypeParam1 != other.EffectTypeParam1) return false; + if (EffectTypeParam2 != other.EffectTypeParam2) return false; + if (EffectTypeParam3 != other.EffectTypeParam3) return false; + if (EffectTypeParam4 != other.EffectTypeParam4) return false; + if (EffectTypeParam5 != other.EffectTypeParam5) return false; + if (EffectTypeParam6 != other.EffectTypeParam6) return false; + if (EffectTypeParam7 != other.EffectTypeParam7) 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 (Tag.Length != 0) hash ^= Tag.GetHashCode(); + if (TakeEffectLimit != 0) hash ^= TakeEffectLimit.GetHashCode(); + if (Remove != false) hash ^= Remove.GetHashCode(); + if (CD != 0) hash ^= CD.GetHashCode(); + if (EffectRate != 0) hash ^= EffectRate.GetHashCode(); + if (EffectType != 0) hash ^= EffectType.GetHashCode(); + if (EffectTypeFirstSubtype != 0) hash ^= EffectTypeFirstSubtype.GetHashCode(); + if (EffectTypeSecondSubtype != 0) hash ^= EffectTypeSecondSubtype.GetHashCode(); + if (EffectTypeParam1.Length != 0) hash ^= EffectTypeParam1.GetHashCode(); + if (EffectTypeParam2.Length != 0) hash ^= EffectTypeParam2.GetHashCode(); + if (EffectTypeParam3.Length != 0) hash ^= EffectTypeParam3.GetHashCode(); + if (EffectTypeParam4.Length != 0) hash ^= EffectTypeParam4.GetHashCode(); + if (EffectTypeParam5.Length != 0) hash ^= EffectTypeParam5.GetHashCode(); + if (EffectTypeParam6.Length != 0) hash ^= EffectTypeParam6.GetHashCode(); + if (EffectTypeParam7.Length != 0) hash ^= EffectTypeParam7.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 (Tag.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Tag); + } + if (TakeEffectLimit != 0) { + output.WriteRawTag(32); + output.WriteInt32(TakeEffectLimit); + } + if (Remove != false) { + output.WriteRawTag(40); + output.WriteBool(Remove); + } + if (CD != 0) { + output.WriteRawTag(48); + output.WriteInt32(CD); + } + if (EffectRate != 0) { + output.WriteRawTag(56); + output.WriteInt32(EffectRate); + } + if (EffectType != 0) { + output.WriteRawTag(64); + output.WriteInt32(EffectType); + } + if (EffectTypeFirstSubtype != 0) { + output.WriteRawTag(72); + output.WriteInt32(EffectTypeFirstSubtype); + } + if (EffectTypeSecondSubtype != 0) { + output.WriteRawTag(80); + output.WriteInt32(EffectTypeSecondSubtype); + } + if (EffectTypeParam1.Length != 0) { + output.WriteRawTag(90); + output.WriteString(EffectTypeParam1); + } + if (EffectTypeParam2.Length != 0) { + output.WriteRawTag(98); + output.WriteString(EffectTypeParam2); + } + if (EffectTypeParam3.Length != 0) { + output.WriteRawTag(106); + output.WriteString(EffectTypeParam3); + } + if (EffectTypeParam4.Length != 0) { + output.WriteRawTag(114); + output.WriteString(EffectTypeParam4); + } + if (EffectTypeParam5.Length != 0) { + output.WriteRawTag(122); + output.WriteString(EffectTypeParam5); + } + if (EffectTypeParam6.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(EffectTypeParam6); + } + if (EffectTypeParam7.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(EffectTypeParam7); + } + 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 (Tag.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Tag); + } + if (TakeEffectLimit != 0) { + output.WriteRawTag(32); + output.WriteInt32(TakeEffectLimit); + } + if (Remove != false) { + output.WriteRawTag(40); + output.WriteBool(Remove); + } + if (CD != 0) { + output.WriteRawTag(48); + output.WriteInt32(CD); + } + if (EffectRate != 0) { + output.WriteRawTag(56); + output.WriteInt32(EffectRate); + } + if (EffectType != 0) { + output.WriteRawTag(64); + output.WriteInt32(EffectType); + } + if (EffectTypeFirstSubtype != 0) { + output.WriteRawTag(72); + output.WriteInt32(EffectTypeFirstSubtype); + } + if (EffectTypeSecondSubtype != 0) { + output.WriteRawTag(80); + output.WriteInt32(EffectTypeSecondSubtype); + } + if (EffectTypeParam1.Length != 0) { + output.WriteRawTag(90); + output.WriteString(EffectTypeParam1); + } + if (EffectTypeParam2.Length != 0) { + output.WriteRawTag(98); + output.WriteString(EffectTypeParam2); + } + if (EffectTypeParam3.Length != 0) { + output.WriteRawTag(106); + output.WriteString(EffectTypeParam3); + } + if (EffectTypeParam4.Length != 0) { + output.WriteRawTag(114); + output.WriteString(EffectTypeParam4); + } + if (EffectTypeParam5.Length != 0) { + output.WriteRawTag(122); + output.WriteString(EffectTypeParam5); + } + if (EffectTypeParam6.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(EffectTypeParam6); + } + if (EffectTypeParam7.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(EffectTypeParam7); + } + 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 (Tag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); + } + if (TakeEffectLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TakeEffectLimit); + } + if (Remove != false) { + size += 1 + 1; + } + if (CD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CD); + } + if (EffectRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectRate); + } + if (EffectType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectType); + } + if (EffectTypeFirstSubtype != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectTypeFirstSubtype); + } + if (EffectTypeSecondSubtype != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectTypeSecondSubtype); + } + if (EffectTypeParam1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam1); + } + if (EffectTypeParam2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam2); + } + if (EffectTypeParam3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam3); + } + if (EffectTypeParam4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam4); + } + if (EffectTypeParam5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam5); + } + if (EffectTypeParam6.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam6); + } + if (EffectTypeParam7.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(EffectTypeParam7); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EffectValue other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Tag.Length != 0) { + Tag = other.Tag; + } + if (other.TakeEffectLimit != 0) { + TakeEffectLimit = other.TakeEffectLimit; + } + if (other.Remove != false) { + Remove = other.Remove; + } + if (other.CD != 0) { + CD = other.CD; + } + if (other.EffectRate != 0) { + EffectRate = other.EffectRate; + } + if (other.EffectType != 0) { + EffectType = other.EffectType; + } + if (other.EffectTypeFirstSubtype != 0) { + EffectTypeFirstSubtype = other.EffectTypeFirstSubtype; + } + if (other.EffectTypeSecondSubtype != 0) { + EffectTypeSecondSubtype = other.EffectTypeSecondSubtype; + } + if (other.EffectTypeParam1.Length != 0) { + EffectTypeParam1 = other.EffectTypeParam1; + } + if (other.EffectTypeParam2.Length != 0) { + EffectTypeParam2 = other.EffectTypeParam2; + } + if (other.EffectTypeParam3.Length != 0) { + EffectTypeParam3 = other.EffectTypeParam3; + } + if (other.EffectTypeParam4.Length != 0) { + EffectTypeParam4 = other.EffectTypeParam4; + } + if (other.EffectTypeParam5.Length != 0) { + EffectTypeParam5 = other.EffectTypeParam5; + } + if (other.EffectTypeParam6.Length != 0) { + EffectTypeParam6 = other.EffectTypeParam6; + } + if (other.EffectTypeParam7.Length != 0) { + EffectTypeParam7 = other.EffectTypeParam7; + } + _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 26: { + Tag = input.ReadString(); + break; + } + case 32: { + TakeEffectLimit = input.ReadInt32(); + break; + } + case 40: { + Remove = input.ReadBool(); + break; + } + case 48: { + CD = input.ReadInt32(); + break; + } + case 56: { + EffectRate = input.ReadInt32(); + break; + } + case 64: { + EffectType = input.ReadInt32(); + break; + } + case 72: { + EffectTypeFirstSubtype = input.ReadInt32(); + break; + } + case 80: { + EffectTypeSecondSubtype = input.ReadInt32(); + break; + } + case 90: { + EffectTypeParam1 = input.ReadString(); + break; + } + case 98: { + EffectTypeParam2 = input.ReadString(); + break; + } + case 106: { + EffectTypeParam3 = input.ReadString(); + break; + } + case 114: { + EffectTypeParam4 = input.ReadString(); + break; + } + case 122: { + EffectTypeParam5 = input.ReadString(); + break; + } + case 130: { + EffectTypeParam6 = input.ReadString(); + break; + } + case 138: { + EffectTypeParam7 = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Tag = input.ReadString(); + break; + } + case 32: { + TakeEffectLimit = input.ReadInt32(); + break; + } + case 40: { + Remove = input.ReadBool(); + break; + } + case 48: { + CD = input.ReadInt32(); + break; + } + case 56: { + EffectRate = input.ReadInt32(); + break; + } + case 64: { + EffectType = input.ReadInt32(); + break; + } + case 72: { + EffectTypeFirstSubtype = input.ReadInt32(); + break; + } + case 80: { + EffectTypeSecondSubtype = input.ReadInt32(); + break; + } + case 90: { + EffectTypeParam1 = input.ReadString(); + break; + } + case 98: { + EffectTypeParam2 = input.ReadString(); + break; + } + case 106: { + EffectTypeParam3 = input.ReadString(); + break; + } + case 114: { + EffectTypeParam4 = input.ReadString(); + break; + } + case 122: { + EffectTypeParam5 = input.ReadString(); + break; + } + case 130: { + EffectTypeParam6 = input.ReadString(); + break; + } + case 138: { + EffectTypeParam7 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EffectValue : pb::IMessage<table_EffectValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EffectValue> _parser = new pb::MessageParser<table_EffectValue>(() => new table_EffectValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EffectValue> 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.ClientTableReflection.Descriptor.MessageTypes[155]; } + } + + [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 table_EffectValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EffectValue(table_EffectValue other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EffectValue Clone() { + return new table_EffectValue(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EffectValue> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EffectValue.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EffectValue> list_ = new pbc::RepeatedField<global::Nova.Client.EffectValue>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EffectValue> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EffectValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EffectValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EffectValue other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EndSceneType : pb::IMessage<EndSceneType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EndSceneType> _parser = new pb::MessageParser<EndSceneType>(() => new EndSceneType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EndSceneType> 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.ClientTableReflection.Descriptor.MessageTypes[156]; } + } + + [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 EndSceneType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndSceneType(EndSceneType other) : this() { + id_ = other.id_; + theme_ = other.theme_; + endSceneName_ = other.endSceneName_; + bGM_ = other.bGM_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EndSceneType Clone() { + return new EndSceneType(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 "Theme" field.</summary> + public const int ThemeFieldNumber = 2; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "EndSceneName" field.</summary> + public const int EndSceneNameFieldNumber = 3; + private string endSceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndSceneName { + get { return endSceneName_; } + set { + endSceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 4; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = 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 EndSceneType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EndSceneType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Theme != other.Theme) return false; + if (EndSceneName != other.EndSceneName) return false; + if (BGM != other.BGM) 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 (Theme != 0) hash ^= Theme.GetHashCode(); + if (EndSceneName.Length != 0) hash ^= EndSceneName.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.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 (Theme != 0) { + output.WriteRawTag(16); + output.WriteInt32(Theme); + } + if (EndSceneName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(EndSceneName); + } + if (BGM.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BGM); + } + 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 (Theme != 0) { + output.WriteRawTag(16); + output.WriteInt32(Theme); + } + if (EndSceneName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(EndSceneName); + } + if (BGM.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BGM); + } + 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 (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (EndSceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndSceneName); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EndSceneType other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.EndSceneName.Length != 0) { + EndSceneName = other.EndSceneName; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + _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: { + Theme = input.ReadInt32(); + break; + } + case 26: { + EndSceneName = input.ReadString(); + break; + } + case 34: { + BGM = 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: { + Theme = input.ReadInt32(); + break; + } + case 26: { + EndSceneName = input.ReadString(); + break; + } + case 34: { + BGM = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EndSceneType : pb::IMessage<table_EndSceneType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EndSceneType> _parser = new pb::MessageParser<table_EndSceneType>(() => new table_EndSceneType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EndSceneType> 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.ClientTableReflection.Descriptor.MessageTypes[157]; } + } + + [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 table_EndSceneType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EndSceneType(table_EndSceneType other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EndSceneType Clone() { + return new table_EndSceneType(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EndSceneType> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EndSceneType.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EndSceneType> list_ = new pbc::RepeatedField<global::Nova.Client.EndSceneType>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EndSceneType> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EndSceneType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EndSceneType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EndSceneType other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EnergyBuy : pb::IMessage<EnergyBuy> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EnergyBuy> _parser = new pb::MessageParser<EnergyBuy>(() => new EnergyBuy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EnergyBuy> 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.ClientTableReflection.Descriptor.MessageTypes[158]; } + } + + [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 EnergyBuy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnergyBuy(EnergyBuy other) : this() { + id_ = other.id_; + currencyItemId_ = other.currencyItemId_; + currencyItemQty_ = other.currencyItemQty_; + energyValue_ = other.energyValue_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnergyBuy Clone() { + return new EnergyBuy(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 "CurrencyItemId" field.</summary> + public const int CurrencyItemIdFieldNumber = 2; + private int currencyItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyItemId { + get { return currencyItemId_; } + set { + currencyItemId_ = value; + } + } + + /// <summary>Field number for the "CurrencyItemQty" field.</summary> + public const int CurrencyItemQtyFieldNumber = 3; + private int currencyItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyItemQty { + get { return currencyItemQty_; } + set { + currencyItemQty_ = value; + } + } + + /// <summary>Field number for the "EnergyValue" field.</summary> + public const int EnergyValueFieldNumber = 4; + private int energyValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnergyValue { + get { return energyValue_; } + set { + energyValue_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EnergyBuy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EnergyBuy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CurrencyItemId != other.CurrencyItemId) return false; + if (CurrencyItemQty != other.CurrencyItemQty) return false; + if (EnergyValue != other.EnergyValue) 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 (CurrencyItemId != 0) hash ^= CurrencyItemId.GetHashCode(); + if (CurrencyItemQty != 0) hash ^= CurrencyItemQty.GetHashCode(); + if (EnergyValue != 0) hash ^= EnergyValue.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 (CurrencyItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CurrencyItemId); + } + if (CurrencyItemQty != 0) { + output.WriteRawTag(24); + output.WriteInt32(CurrencyItemQty); + } + if (EnergyValue != 0) { + output.WriteRawTag(32); + output.WriteInt32(EnergyValue); + } + 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 (CurrencyItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CurrencyItemId); + } + if (CurrencyItemQty != 0) { + output.WriteRawTag(24); + output.WriteInt32(CurrencyItemQty); + } + if (EnergyValue != 0) { + output.WriteRawTag(32); + output.WriteInt32(EnergyValue); + } + 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 (CurrencyItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemId); + } + if (CurrencyItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemQty); + } + if (EnergyValue != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnergyValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EnergyBuy other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CurrencyItemId != 0) { + CurrencyItemId = other.CurrencyItemId; + } + if (other.CurrencyItemQty != 0) { + CurrencyItemQty = other.CurrencyItemQty; + } + if (other.EnergyValue != 0) { + EnergyValue = other.EnergyValue; + } + _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: { + CurrencyItemId = input.ReadInt32(); + break; + } + case 24: { + CurrencyItemQty = input.ReadInt32(); + break; + } + case 32: { + EnergyValue = 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: { + CurrencyItemId = input.ReadInt32(); + break; + } + case 24: { + CurrencyItemQty = input.ReadInt32(); + break; + } + case 32: { + EnergyValue = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EnergyBuy : pb::IMessage<table_EnergyBuy> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EnergyBuy> _parser = new pb::MessageParser<table_EnergyBuy>(() => new table_EnergyBuy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EnergyBuy> 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.ClientTableReflection.Descriptor.MessageTypes[159]; } + } + + [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 table_EnergyBuy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EnergyBuy(table_EnergyBuy other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EnergyBuy Clone() { + return new table_EnergyBuy(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EnergyBuy> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EnergyBuy.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EnergyBuy> list_ = new pbc::RepeatedField<global::Nova.Client.EnergyBuy>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EnergyBuy> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EnergyBuy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EnergyBuy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EnergyBuy other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EnumDesc : pb::IMessage<EnumDesc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EnumDesc> _parser = new pb::MessageParser<EnumDesc>(() => new EnumDesc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EnumDesc> 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.ClientTableReflection.Descriptor.MessageTypes[160]; } + } + + [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 EnumDesc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnumDesc(EnumDesc other) : this() { + enumName_ = other.enumName_; + value_ = other.value_; + key_ = other.key_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnumDesc Clone() { + return new EnumDesc(this); + } + + /// <summary>Field number for the "EnumName" field.</summary> + public const int EnumNameFieldNumber = 1; + private string enumName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EnumName { + get { return enumName_; } + set { + enumName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Value" field.</summary> + public const int ValueFieldNumber = 2; + private int value_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value { + get { return value_; } + set { + value_ = value; + } + } + + /// <summary>Field number for the "Key" field.</summary> + public const int KeyFieldNumber = 3; + private string key_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Key { + get { return key_; } + set { + key_ = 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 EnumDesc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EnumDesc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (EnumName != other.EnumName) return false; + if (Value != other.Value) return false; + if (Key != other.Key) 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 (EnumName.Length != 0) hash ^= EnumName.GetHashCode(); + if (Value != 0) hash ^= Value.GetHashCode(); + if (Key.Length != 0) hash ^= Key.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 (EnumName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(EnumName); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteInt32(Value); + } + if (Key.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Key); + } + 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 (EnumName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(EnumName); + } + if (Value != 0) { + output.WriteRawTag(16); + output.WriteInt32(Value); + } + if (Key.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Key); + } + 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 (EnumName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EnumName); + } + if (Value != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); + } + if (Key.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EnumDesc other) { + if (other == null) { + return; + } + if (other.EnumName.Length != 0) { + EnumName = other.EnumName; + } + if (other.Value != 0) { + Value = other.Value; + } + if (other.Key.Length != 0) { + Key = other.Key; + } + _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 10: { + EnumName = input.ReadString(); + break; + } + case 16: { + Value = input.ReadInt32(); + break; + } + case 26: { + Key = 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 10: { + EnumName = input.ReadString(); + break; + } + case 16: { + Value = input.ReadInt32(); + break; + } + case 26: { + Key = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EnumDesc : pb::IMessage<table_EnumDesc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EnumDesc> _parser = new pb::MessageParser<table_EnumDesc>(() => new table_EnumDesc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EnumDesc> 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.ClientTableReflection.Descriptor.MessageTypes[161]; } + } + + [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 table_EnumDesc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EnumDesc(table_EnumDesc other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EnumDesc Clone() { + return new table_EnumDesc(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EnumDesc> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EnumDesc.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EnumDesc> list_ = new pbc::RepeatedField<global::Nova.Client.EnumDesc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EnumDesc> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EnumDesc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EnumDesc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EnumDesc other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Equipment : pb::IMessage<Equipment> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Equipment> _parser = new pb::MessageParser<Equipment>(() => new Equipment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Equipment> 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.ClientTableReflection.Descriptor.MessageTypes[162]; } + } + + [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 Equipment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Equipment(Equipment other) : this() { + id_ = other.id_; + name_ = other.name_; + equipmentType_ = other.equipmentType_; + attrGroupId_ = other.attrGroupId_; + expGroupId_ = other.expGroupId_; + maxLevel_ = other.maxLevel_; + randomAttrCount_ = other.randomAttrCount_; + attr1UnlockLevel_ = other.attr1UnlockLevel_; + attr2UnlockLevel_ = other.attr2UnlockLevel_; + attr3UnlockLevel_ = other.attr3UnlockLevel_; + attr4UnlockLevel_ = other.attr4UnlockLevel_; + provideExp_ = other.provideExp_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Equipment Clone() { + return new Equipment(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 "EquipmentType" field.</summary> + public const int EquipmentTypeFieldNumber = 3; + private int equipmentType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EquipmentType { + get { return equipmentType_; } + set { + equipmentType_ = value; + } + } + + /// <summary>Field number for the "AttrGroupId" field.</summary> + public const int AttrGroupIdFieldNumber = 4; + private int attrGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttrGroupId { + get { return attrGroupId_; } + set { + attrGroupId_ = value; + } + } + + /// <summary>Field number for the "ExpGroupId" field.</summary> + public const int ExpGroupIdFieldNumber = 5; + private int expGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExpGroupId { + get { return expGroupId_; } + set { + expGroupId_ = value; + } + } + + /// <summary>Field number for the "MaxLevel" field.</summary> + public const int MaxLevelFieldNumber = 6; + private int maxLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxLevel { + get { return maxLevel_; } + set { + maxLevel_ = value; + } + } + + /// <summary>Field number for the "RandomAttrCount" field.</summary> + public const int RandomAttrCountFieldNumber = 7; + private int randomAttrCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RandomAttrCount { + get { return randomAttrCount_; } + set { + randomAttrCount_ = value; + } + } + + /// <summary>Field number for the "Attr1UnlockLevel" field.</summary> + public const int Attr1UnlockLevelFieldNumber = 8; + private int attr1UnlockLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Attr1UnlockLevel { + get { return attr1UnlockLevel_; } + set { + attr1UnlockLevel_ = value; + } + } + + /// <summary>Field number for the "Attr2UnlockLevel" field.</summary> + public const int Attr2UnlockLevelFieldNumber = 9; + private int attr2UnlockLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Attr2UnlockLevel { + get { return attr2UnlockLevel_; } + set { + attr2UnlockLevel_ = value; + } + } + + /// <summary>Field number for the "Attr3UnlockLevel" field.</summary> + public const int Attr3UnlockLevelFieldNumber = 10; + private int attr3UnlockLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Attr3UnlockLevel { + get { return attr3UnlockLevel_; } + set { + attr3UnlockLevel_ = value; + } + } + + /// <summary>Field number for the "Attr4UnlockLevel" field.</summary> + public const int Attr4UnlockLevelFieldNumber = 11; + private int attr4UnlockLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Attr4UnlockLevel { + get { return attr4UnlockLevel_; } + set { + attr4UnlockLevel_ = value; + } + } + + /// <summary>Field number for the "ProvideExp" field.</summary> + public const int ProvideExpFieldNumber = 12; + private int provideExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProvideExp { + get { return provideExp_; } + set { + provideExp_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 13; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Equipment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Equipment 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 (EquipmentType != other.EquipmentType) return false; + if (AttrGroupId != other.AttrGroupId) return false; + if (ExpGroupId != other.ExpGroupId) return false; + if (MaxLevel != other.MaxLevel) return false; + if (RandomAttrCount != other.RandomAttrCount) return false; + if (Attr1UnlockLevel != other.Attr1UnlockLevel) return false; + if (Attr2UnlockLevel != other.Attr2UnlockLevel) return false; + if (Attr3UnlockLevel != other.Attr3UnlockLevel) return false; + if (Attr4UnlockLevel != other.Attr4UnlockLevel) return false; + if (ProvideExp != other.ProvideExp) return false; + if (Icon != other.Icon) 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 (EquipmentType != 0) hash ^= EquipmentType.GetHashCode(); + if (AttrGroupId != 0) hash ^= AttrGroupId.GetHashCode(); + if (ExpGroupId != 0) hash ^= ExpGroupId.GetHashCode(); + if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); + if (RandomAttrCount != 0) hash ^= RandomAttrCount.GetHashCode(); + if (Attr1UnlockLevel != 0) hash ^= Attr1UnlockLevel.GetHashCode(); + if (Attr2UnlockLevel != 0) hash ^= Attr2UnlockLevel.GetHashCode(); + if (Attr3UnlockLevel != 0) hash ^= Attr3UnlockLevel.GetHashCode(); + if (Attr4UnlockLevel != 0) hash ^= Attr4UnlockLevel.GetHashCode(); + if (ProvideExp != 0) hash ^= ProvideExp.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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 (EquipmentType != 0) { + output.WriteRawTag(24); + output.WriteInt32(EquipmentType); + } + if (AttrGroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(AttrGroupId); + } + if (ExpGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ExpGroupId); + } + if (MaxLevel != 0) { + output.WriteRawTag(48); + output.WriteInt32(MaxLevel); + } + if (RandomAttrCount != 0) { + output.WriteRawTag(56); + output.WriteInt32(RandomAttrCount); + } + if (Attr1UnlockLevel != 0) { + output.WriteRawTag(64); + output.WriteInt32(Attr1UnlockLevel); + } + if (Attr2UnlockLevel != 0) { + output.WriteRawTag(72); + output.WriteInt32(Attr2UnlockLevel); + } + if (Attr3UnlockLevel != 0) { + output.WriteRawTag(80); + output.WriteInt32(Attr3UnlockLevel); + } + if (Attr4UnlockLevel != 0) { + output.WriteRawTag(88); + output.WriteInt32(Attr4UnlockLevel); + } + if (ProvideExp != 0) { + output.WriteRawTag(96); + output.WriteInt32(ProvideExp); + } + if (Icon.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Icon); + } + 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 (EquipmentType != 0) { + output.WriteRawTag(24); + output.WriteInt32(EquipmentType); + } + if (AttrGroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(AttrGroupId); + } + if (ExpGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ExpGroupId); + } + if (MaxLevel != 0) { + output.WriteRawTag(48); + output.WriteInt32(MaxLevel); + } + if (RandomAttrCount != 0) { + output.WriteRawTag(56); + output.WriteInt32(RandomAttrCount); + } + if (Attr1UnlockLevel != 0) { + output.WriteRawTag(64); + output.WriteInt32(Attr1UnlockLevel); + } + if (Attr2UnlockLevel != 0) { + output.WriteRawTag(72); + output.WriteInt32(Attr2UnlockLevel); + } + if (Attr3UnlockLevel != 0) { + output.WriteRawTag(80); + output.WriteInt32(Attr3UnlockLevel); + } + if (Attr4UnlockLevel != 0) { + output.WriteRawTag(88); + output.WriteInt32(Attr4UnlockLevel); + } + if (ProvideExp != 0) { + output.WriteRawTag(96); + output.WriteInt32(ProvideExp); + } + if (Icon.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Icon); + } + 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 (EquipmentType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EquipmentType); + } + if (AttrGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrGroupId); + } + if (ExpGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpGroupId); + } + if (MaxLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); + } + if (RandomAttrCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RandomAttrCount); + } + if (Attr1UnlockLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr1UnlockLevel); + } + if (Attr2UnlockLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr2UnlockLevel); + } + if (Attr3UnlockLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr3UnlockLevel); + } + if (Attr4UnlockLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr4UnlockLevel); + } + if (ProvideExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProvideExp); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Equipment other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.EquipmentType != 0) { + EquipmentType = other.EquipmentType; + } + if (other.AttrGroupId != 0) { + AttrGroupId = other.AttrGroupId; + } + if (other.ExpGroupId != 0) { + ExpGroupId = other.ExpGroupId; + } + if (other.MaxLevel != 0) { + MaxLevel = other.MaxLevel; + } + if (other.RandomAttrCount != 0) { + RandomAttrCount = other.RandomAttrCount; + } + if (other.Attr1UnlockLevel != 0) { + Attr1UnlockLevel = other.Attr1UnlockLevel; + } + if (other.Attr2UnlockLevel != 0) { + Attr2UnlockLevel = other.Attr2UnlockLevel; + } + if (other.Attr3UnlockLevel != 0) { + Attr3UnlockLevel = other.Attr3UnlockLevel; + } + if (other.Attr4UnlockLevel != 0) { + Attr4UnlockLevel = other.Attr4UnlockLevel; + } + if (other.ProvideExp != 0) { + ProvideExp = other.ProvideExp; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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: { + EquipmentType = input.ReadInt32(); + break; + } + case 32: { + AttrGroupId = input.ReadInt32(); + break; + } + case 40: { + ExpGroupId = input.ReadInt32(); + break; + } + case 48: { + MaxLevel = input.ReadInt32(); + break; + } + case 56: { + RandomAttrCount = input.ReadInt32(); + break; + } + case 64: { + Attr1UnlockLevel = input.ReadInt32(); + break; + } + case 72: { + Attr2UnlockLevel = input.ReadInt32(); + break; + } + case 80: { + Attr3UnlockLevel = input.ReadInt32(); + break; + } + case 88: { + Attr4UnlockLevel = input.ReadInt32(); + break; + } + case 96: { + ProvideExp = input.ReadInt32(); + break; + } + case 106: { + Icon = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + EquipmentType = input.ReadInt32(); + break; + } + case 32: { + AttrGroupId = input.ReadInt32(); + break; + } + case 40: { + ExpGroupId = input.ReadInt32(); + break; + } + case 48: { + MaxLevel = input.ReadInt32(); + break; + } + case 56: { + RandomAttrCount = input.ReadInt32(); + break; + } + case 64: { + Attr1UnlockLevel = input.ReadInt32(); + break; + } + case 72: { + Attr2UnlockLevel = input.ReadInt32(); + break; + } + case 80: { + Attr3UnlockLevel = input.ReadInt32(); + break; + } + case 88: { + Attr4UnlockLevel = input.ReadInt32(); + break; + } + case 96: { + ProvideExp = input.ReadInt32(); + break; + } + case 106: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Equipment : pb::IMessage<table_Equipment> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Equipment> _parser = new pb::MessageParser<table_Equipment>(() => new table_Equipment()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Equipment> 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.ClientTableReflection.Descriptor.MessageTypes[163]; } + } + + [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 table_Equipment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Equipment(table_Equipment other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Equipment Clone() { + return new table_Equipment(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Equipment> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Equipment.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Equipment> list_ = new pbc::RepeatedField<global::Nova.Client.Equipment>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Equipment> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Equipment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Equipment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Equipment other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentGroupExp : pb::IMessage<EquipmentGroupExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentGroupExp> _parser = new pb::MessageParser<EquipmentGroupExp>(() => new EquipmentGroupExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentGroupExp> 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.ClientTableReflection.Descriptor.MessageTypes[164]; } + } + + [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 EquipmentGroupExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentGroupExp(EquipmentGroupExp other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + level_ = other.level_; + needExp_ = other.needExp_; + totalExp_ = other.totalExp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentGroupExp Clone() { + return new EquipmentGroupExp(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 "GroupId" 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 "NeedExp" field.</summary> + public const int NeedExpFieldNumber = 4; + private int needExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedExp { + get { return needExp_; } + set { + needExp_ = value; + } + } + + /// <summary>Field number for the "TotalExp" field.</summary> + public const int TotalExpFieldNumber = 5; + private int totalExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TotalExp { + get { return totalExp_; } + set { + totalExp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentGroupExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentGroupExp 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 (NeedExp != other.NeedExp) return false; + if (TotalExp != other.TotalExp) 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 (NeedExp != 0) hash ^= NeedExp.GetHashCode(); + if (TotalExp != 0) hash ^= TotalExp.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 (NeedExp != 0) { + output.WriteRawTag(32); + output.WriteInt32(NeedExp); + } + if (TotalExp != 0) { + output.WriteRawTag(40); + output.WriteInt32(TotalExp); + } + 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 (NeedExp != 0) { + output.WriteRawTag(32); + output.WriteInt32(NeedExp); + } + if (TotalExp != 0) { + output.WriteRawTag(40); + output.WriteInt32(TotalExp); + } + 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 (NeedExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp); + } + if (TotalExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalExp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentGroupExp 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.NeedExp != 0) { + NeedExp = other.NeedExp; + } + if (other.TotalExp != 0) { + TotalExp = other.TotalExp; + } + _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 32: { + NeedExp = input.ReadInt32(); + break; + } + case 40: { + TotalExp = 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 32: { + NeedExp = input.ReadInt32(); + break; + } + case 40: { + TotalExp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EquipmentGroupExp : pb::IMessage<table_EquipmentGroupExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EquipmentGroupExp> _parser = new pb::MessageParser<table_EquipmentGroupExp>(() => new table_EquipmentGroupExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EquipmentGroupExp> 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.ClientTableReflection.Descriptor.MessageTypes[165]; } + } + + [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 table_EquipmentGroupExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentGroupExp(table_EquipmentGroupExp other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentGroupExp Clone() { + return new table_EquipmentGroupExp(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EquipmentGroupExp> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentGroupExp.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EquipmentGroupExp> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentGroupExp>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EquipmentGroupExp> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EquipmentGroupExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EquipmentGroupExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EquipmentGroupExp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentInstance : pb::IMessage<EquipmentInstance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentInstance> _parser = new pb::MessageParser<EquipmentInstance>(() => new EquipmentInstance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentInstance> 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.ClientTableReflection.Descriptor.MessageTypes[166]; } + } + + [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 EquipmentInstance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstance(EquipmentInstance other) : this() { + id_ = other.id_; + equipmentType_ = other.equipmentType_; + 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_; + baseAwardPreview_ = other.baseAwardPreview_; + previewMonsterGroupId_ = other.previewMonsterGroupId_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstance Clone() { + return new EquipmentInstance(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 "EquipmentType" field.</summary> + public const int EquipmentTypeFieldNumber = 2; + private int equipmentType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EquipmentType { + get { return equipmentType_; } + set { + equipmentType_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + 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; + } + } + + /// <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 "SuggestedPower" field.</summary> + 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; + } + } + + /// <summary>Field number for the "PreLevelId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "PreLevelStar" field.</summary> + 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; + } + } + + /// <summary>Field number for the "NeedWorldClass" field.</summary> + 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; + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "OneStarDesc" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "TwoStarDesc" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "ThreeStarDesc" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "OneStarEnergyConsume" field.</summary> + 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; + } + } + + /// <summary>Field number for the "TwoStarEnergyConsume" field.</summary> + 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; + } + } + + /// <summary>Field number for the "ThreeStarEnergyConsume" field.</summary> + 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; + } + } + + /// <summary>Field number for the "BaseAwardPreview" field.</summary> + public const int BaseAwardPreviewFieldNumber = 17; + private string baseAwardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BaseAwardPreview { + get { return baseAwardPreview_; } + set { + baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentInstance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentInstance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (EquipmentType != other.EquipmentType) 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 (BaseAwardPreview != other.BaseAwardPreview) return false; + if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; + if (Icon != other.Icon) 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 (EquipmentType != 0) hash ^= EquipmentType.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 (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode(); + if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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 (EquipmentType != 0) { + output.WriteRawTag(16); + output.WriteInt32(EquipmentType); + } + 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 (BaseAwardPreview.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(BaseAwardPreview); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Icon.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Icon); + } + 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 (EquipmentType != 0) { + output.WriteRawTag(16); + output.WriteInt32(EquipmentType); + } + 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 (BaseAwardPreview.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(BaseAwardPreview); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Icon.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Icon); + } + 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 (EquipmentType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EquipmentType); + } + 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 (BaseAwardPreview.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); + } + if (PreviewMonsterGroupId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); + } + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentInstance other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.EquipmentType != 0) { + EquipmentType = other.EquipmentType; + } + 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.BaseAwardPreview.Length != 0) { + BaseAwardPreview = other.BaseAwardPreview; + } + if (other.PreviewMonsterGroupId != 0) { + PreviewMonsterGroupId = other.PreviewMonsterGroupId; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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: { + EquipmentType = 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 138: { + BaseAwardPreview = input.ReadString(); + break; + } + case 144: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 154: { + Icon = 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: { + EquipmentType = 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 138: { + BaseAwardPreview = input.ReadString(); + break; + } + case 144: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 154: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EquipmentInstance : pb::IMessage<table_EquipmentInstance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EquipmentInstance> _parser = new pb::MessageParser<table_EquipmentInstance>(() => new table_EquipmentInstance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EquipmentInstance> 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.ClientTableReflection.Descriptor.MessageTypes[167]; } + } + + [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 table_EquipmentInstance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentInstance(table_EquipmentInstance other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentInstance Clone() { + return new table_EquipmentInstance(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EquipmentInstance> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentInstance.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EquipmentInstance> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentInstance>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EquipmentInstance> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EquipmentInstance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EquipmentInstance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EquipmentInstance other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentInstanceFloor : pb::IMessage<EquipmentInstanceFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentInstanceFloor> _parser = new pb::MessageParser<EquipmentInstanceFloor>(() => new EquipmentInstanceFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentInstanceFloor> 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.ClientTableReflection.Descriptor.MessageTypes[168]; } + } + + [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 EquipmentInstanceFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstanceFloor(EquipmentInstanceFloor other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + monsterId_ = other.monsterId_; + oneStarCondition_ = other.oneStarCondition_; + twoStarCondition_ = other.twoStarCondition_; + threeStarCondition_ = other.threeStarCondition_; + levelTotalTime_ = other.levelTotalTime_; + timeEndSettlement_ = other.timeEndSettlement_; + starConditionType_ = other.starConditionType_; + monsterLv_ = other.monsterLv_; + dropObjectGroupId_ = other.dropObjectGroupId_; + dropObjectRate_ = other.dropObjectRate_; + dropMaxNum_ = other.dropMaxNum_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstanceFloor Clone() { + return new EquipmentInstanceFloor(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "monsterId" field.</summary> + public const int MonsterIdFieldNumber = 7; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "OneStarCondition" field.</summary> + public const int OneStarConditionFieldNumber = 8; + private int oneStarCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OneStarCondition { + get { return oneStarCondition_; } + set { + oneStarCondition_ = value; + } + } + + /// <summary>Field number for the "TwoStarCondition" field.</summary> + public const int TwoStarConditionFieldNumber = 9; + private int twoStarCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TwoStarCondition { + get { return twoStarCondition_; } + set { + twoStarCondition_ = value; + } + } + + /// <summary>Field number for the "ThreeStarCondition" field.</summary> + public const int ThreeStarConditionFieldNumber = 10; + private int threeStarCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ThreeStarCondition { + get { return threeStarCondition_; } + set { + threeStarCondition_ = value; + } + } + + /// <summary>Field number for the "LevelTotalTime" field.</summary> + public const int LevelTotalTimeFieldNumber = 11; + private int levelTotalTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTotalTime { + get { return levelTotalTime_; } + set { + levelTotalTime_ = value; + } + } + + /// <summary>Field number for the "TimeEndSettlement" field.</summary> + public const int TimeEndSettlementFieldNumber = 12; + private bool timeEndSettlement_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool TimeEndSettlement { + get { return timeEndSettlement_; } + set { + timeEndSettlement_ = value; + } + } + + /// <summary>Field number for the "StarConditionType" field.</summary> + public const int StarConditionTypeFieldNumber = 13; + private int starConditionType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StarConditionType { + get { return starConditionType_; } + set { + starConditionType_ = value; + } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 14; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + /// <summary>Field number for the "DropObjectGroupId" field.</summary> + public const int DropObjectGroupIdFieldNumber = 15; + private int dropObjectGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropObjectGroupId { + get { return dropObjectGroupId_; } + set { + dropObjectGroupId_ = value; + } + } + + /// <summary>Field number for the "DropObjectRate" field.</summary> + public const int DropObjectRateFieldNumber = 16; + private int dropObjectRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropObjectRate { + get { return dropObjectRate_; } + set { + dropObjectRate_ = value; + } + } + + /// <summary>Field number for the "DropMaxNum" field.</summary> + public const int DropMaxNumFieldNumber = 17; + private int dropMaxNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropMaxNum { + get { return dropMaxNum_; } + set { + dropMaxNum_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentInstanceFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentInstanceFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; + if (MonsterId != other.MonsterId) return false; + if (OneStarCondition != other.OneStarCondition) return false; + if (TwoStarCondition != other.TwoStarCondition) return false; + if (ThreeStarCondition != other.ThreeStarCondition) return false; + if (LevelTotalTime != other.LevelTotalTime) return false; + if (TimeEndSettlement != other.TimeEndSettlement) return false; + if (StarConditionType != other.StarConditionType) return false; + if (MonsterLv != other.MonsterLv) return false; + if (DropObjectGroupId != other.DropObjectGroupId) return false; + if (DropObjectRate != other.DropObjectRate) return false; + if (DropMaxNum != other.DropMaxNum) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (OneStarCondition != 0) hash ^= OneStarCondition.GetHashCode(); + if (TwoStarCondition != 0) hash ^= TwoStarCondition.GetHashCode(); + if (ThreeStarCondition != 0) hash ^= ThreeStarCondition.GetHashCode(); + if (LevelTotalTime != 0) hash ^= LevelTotalTime.GetHashCode(); + if (TimeEndSettlement != false) hash ^= TimeEndSettlement.GetHashCode(); + if (StarConditionType != 0) hash ^= StarConditionType.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); + if (DropObjectGroupId != 0) hash ^= DropObjectGroupId.GetHashCode(); + if (DropObjectRate != 0) hash ^= DropObjectRate.GetHashCode(); + if (DropMaxNum != 0) hash ^= DropMaxNum.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterId != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterId); + } + if (OneStarCondition != 0) { + output.WriteRawTag(64); + output.WriteInt32(OneStarCondition); + } + if (TwoStarCondition != 0) { + output.WriteRawTag(72); + output.WriteInt32(TwoStarCondition); + } + if (ThreeStarCondition != 0) { + output.WriteRawTag(80); + output.WriteInt32(ThreeStarCondition); + } + if (LevelTotalTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(LevelTotalTime); + } + if (TimeEndSettlement != false) { + output.WriteRawTag(96); + output.WriteBool(TimeEndSettlement); + } + if (StarConditionType != 0) { + output.WriteRawTag(104); + output.WriteInt32(StarConditionType); + } + if (MonsterLv != 0) { + output.WriteRawTag(112); + output.WriteInt32(MonsterLv); + } + if (DropObjectGroupId != 0) { + output.WriteRawTag(120); + output.WriteInt32(DropObjectGroupId); + } + if (DropObjectRate != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(DropObjectRate); + } + if (DropMaxNum != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(DropMaxNum); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterId != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterId); + } + if (OneStarCondition != 0) { + output.WriteRawTag(64); + output.WriteInt32(OneStarCondition); + } + if (TwoStarCondition != 0) { + output.WriteRawTag(72); + output.WriteInt32(TwoStarCondition); + } + if (ThreeStarCondition != 0) { + output.WriteRawTag(80); + output.WriteInt32(ThreeStarCondition); + } + if (LevelTotalTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(LevelTotalTime); + } + if (TimeEndSettlement != false) { + output.WriteRawTag(96); + output.WriteBool(TimeEndSettlement); + } + if (StarConditionType != 0) { + output.WriteRawTag(104); + output.WriteInt32(StarConditionType); + } + if (MonsterLv != 0) { + output.WriteRawTag(112); + output.WriteInt32(MonsterLv); + } + if (DropObjectGroupId != 0) { + output.WriteRawTag(120); + output.WriteInt32(DropObjectGroupId); + } + if (DropObjectRate != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(DropObjectRate); + } + if (DropMaxNum != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(DropMaxNum); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (OneStarCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneStarCondition); + } + if (TwoStarCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TwoStarCondition); + } + if (ThreeStarCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThreeStarCondition); + } + if (LevelTotalTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTotalTime); + } + if (TimeEndSettlement != false) { + size += 1 + 1; + } + if (StarConditionType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarConditionType); + } + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (DropObjectGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectGroupId); + } + if (DropObjectRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropObjectRate); + } + if (DropMaxNum != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropMaxNum); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentInstanceFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.OneStarCondition != 0) { + OneStarCondition = other.OneStarCondition; + } + if (other.TwoStarCondition != 0) { + TwoStarCondition = other.TwoStarCondition; + } + if (other.ThreeStarCondition != 0) { + ThreeStarCondition = other.ThreeStarCondition; + } + if (other.LevelTotalTime != 0) { + LevelTotalTime = other.LevelTotalTime; + } + if (other.TimeEndSettlement != false) { + TimeEndSettlement = other.TimeEndSettlement; + } + if (other.StarConditionType != 0) { + StarConditionType = other.StarConditionType; + } + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + if (other.DropObjectGroupId != 0) { + DropObjectGroupId = other.DropObjectGroupId; + } + if (other.DropObjectRate != 0) { + DropObjectRate = other.DropObjectRate; + } + if (other.DropMaxNum != 0) { + DropMaxNum = other.DropMaxNum; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterId = input.ReadInt32(); + break; + } + case 64: { + OneStarCondition = input.ReadInt32(); + break; + } + case 72: { + TwoStarCondition = input.ReadInt32(); + break; + } + case 80: { + ThreeStarCondition = input.ReadInt32(); + break; + } + case 88: { + LevelTotalTime = input.ReadInt32(); + break; + } + case 96: { + TimeEndSettlement = input.ReadBool(); + break; + } + case 104: { + StarConditionType = input.ReadInt32(); + break; + } + case 112: { + MonsterLv = input.ReadInt32(); + break; + } + case 120: { + DropObjectGroupId = input.ReadInt32(); + break; + } + case 128: { + DropObjectRate = input.ReadInt32(); + break; + } + case 136: { + DropMaxNum = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterId = input.ReadInt32(); + break; + } + case 64: { + OneStarCondition = input.ReadInt32(); + break; + } + case 72: { + TwoStarCondition = input.ReadInt32(); + break; + } + case 80: { + ThreeStarCondition = input.ReadInt32(); + break; + } + case 88: { + LevelTotalTime = input.ReadInt32(); + break; + } + case 96: { + TimeEndSettlement = input.ReadBool(); + break; + } + case 104: { + StarConditionType = input.ReadInt32(); + break; + } + case 112: { + MonsterLv = input.ReadInt32(); + break; + } + case 120: { + DropObjectGroupId = input.ReadInt32(); + break; + } + case 128: { + DropObjectRate = input.ReadInt32(); + break; + } + case 136: { + DropMaxNum = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EquipmentInstanceFloor : pb::IMessage<table_EquipmentInstanceFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EquipmentInstanceFloor> _parser = new pb::MessageParser<table_EquipmentInstanceFloor>(() => new table_EquipmentInstanceFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EquipmentInstanceFloor> 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.ClientTableReflection.Descriptor.MessageTypes[169]; } + } + + [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 table_EquipmentInstanceFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentInstanceFloor(table_EquipmentInstanceFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentInstanceFloor Clone() { + return new table_EquipmentInstanceFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EquipmentInstanceFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentInstanceFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EquipmentInstanceFloor> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentInstanceFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EquipmentInstanceFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EquipmentInstanceFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EquipmentInstanceFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EquipmentInstanceFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentInstanceType : pb::IMessage<EquipmentInstanceType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentInstanceType> _parser = new pb::MessageParser<EquipmentInstanceType>(() => new EquipmentInstanceType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentInstanceType> 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.ClientTableReflection.Descriptor.MessageTypes[170]; } + } + + [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 EquipmentInstanceType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstanceType(EquipmentInstanceType other) : this() { + id_ = other.id_; + name_ = other.name_; + mainLineId_ = other.mainLineId_; + worldClassLevel_ = other.worldClassLevel_; + openDay_ = other.openDay_.Clone(); + openDayDesc_ = other.openDayDesc_; + episode_ = other.episode_; + image_ = other.image_; + sort_ = other.sort_; + howReward_ = other.howReward_.Clone(); + eET_ = other.eET_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentInstanceType Clone() { + return new EquipmentInstanceType(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 "MainLineId" field.</summary> + public const int MainLineIdFieldNumber = 3; + private int mainLineId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainLineId { + get { return mainLineId_; } + set { + mainLineId_ = value; + } + } + + /// <summary>Field number for the "WorldClassLevel" field.</summary> + public const int WorldClassLevelFieldNumber = 4; + private int worldClassLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClassLevel { + get { return worldClassLevel_; } + set { + worldClassLevel_ = value; + } + } + + /// <summary>Field number for the "OpenDay" field.</summary> + public const int OpenDayFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_openDay_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> openDay_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> OpenDay { + get { return openDay_; } + } + + /// <summary>Field number for the "OpenDayDesc" field.</summary> + public const int OpenDayDescFieldNumber = 6; + private string openDayDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenDayDesc { + get { return openDayDesc_; } + set { + openDayDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 7; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Image" field.</summary> + public const int ImageFieldNumber = 8; + 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 "Sort" field.</summary> + public const int SortFieldNumber = 9; + 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 "HowReward" field.</summary> + public const int HowRewardFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_howReward_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> howReward_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> HowReward { + get { return howReward_; } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentInstanceType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentInstanceType 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 (MainLineId != other.MainLineId) return false; + if (WorldClassLevel != other.WorldClassLevel) return false; + if(!openDay_.Equals(other.openDay_)) return false; + if (OpenDayDesc != other.OpenDayDesc) return false; + if (Episode != other.Episode) return false; + if (Image != other.Image) return false; + if (Sort != other.Sort) return false; + if(!howReward_.Equals(other.howReward_)) return false; + if(!eET_.Equals(other.eET_)) 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 (MainLineId != 0) hash ^= MainLineId.GetHashCode(); + if (WorldClassLevel != 0) hash ^= WorldClassLevel.GetHashCode(); + hash ^= openDay_.GetHashCode(); + if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Image.Length != 0) hash ^= Image.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + hash ^= howReward_.GetHashCode(); + hash ^= eET_.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 (MainLineId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MainLineId); + } + if (WorldClassLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(WorldClassLevel); + } + openDay_.WriteTo(output, _repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + output.WriteRawTag(50); + output.WriteString(OpenDayDesc); + } + if (Episode.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Image); + } + if (Sort != 0) { + output.WriteRawTag(72); + output.WriteInt32(Sort); + } + howReward_.WriteTo(output, _repeated_howReward_codec); + eET_.WriteTo(output, _repeated_eET_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (MainLineId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MainLineId); + } + if (WorldClassLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(WorldClassLevel); + } + openDay_.WriteTo(ref output, _repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + output.WriteRawTag(50); + output.WriteString(OpenDayDesc); + } + if (Episode.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Image); + } + if (Sort != 0) { + output.WriteRawTag(72); + output.WriteInt32(Sort); + } + howReward_.WriteTo(ref output, _repeated_howReward_codec); + eET_.WriteTo(ref output, _repeated_eET_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (MainLineId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainLineId); + } + if (WorldClassLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClassLevel); + } + size += openDay_.CalculateSize(_repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc); + } + if (Episode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Image.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + size += howReward_.CalculateSize(_repeated_howReward_codec); + size += eET_.CalculateSize(_repeated_eET_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentInstanceType other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.MainLineId != 0) { + MainLineId = other.MainLineId; + } + if (other.WorldClassLevel != 0) { + WorldClassLevel = other.WorldClassLevel; + } + openDay_.Add(other.openDay_); + if (other.OpenDayDesc.Length != 0) { + OpenDayDesc = other.OpenDayDesc; + } + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Image.Length != 0) { + Image = other.Image; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + howReward_.Add(other.howReward_); + eET_.Add(other.eET_); + _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: { + MainLineId = input.ReadInt32(); + break; + } + case 32: { + WorldClassLevel = input.ReadInt32(); + break; + } + case 42: + case 40: { + openDay_.AddEntriesFrom(input, _repeated_openDay_codec); + break; + } + case 50: { + OpenDayDesc = input.ReadString(); + break; + } + case 58: { + Episode = input.ReadString(); + break; + } + case 66: { + Image = input.ReadString(); + break; + } + case 72: { + Sort = input.ReadInt32(); + break; + } + case 82: + case 80: { + howReward_.AddEntriesFrom(input, _repeated_howReward_codec); + break; + } + case 90: + case 88: { + eET_.AddEntriesFrom(input, _repeated_eET_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 18: { + Name = input.ReadString(); + break; + } + case 24: { + MainLineId = input.ReadInt32(); + break; + } + case 32: { + WorldClassLevel = input.ReadInt32(); + break; + } + case 42: + case 40: { + openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec); + break; + } + case 50: { + OpenDayDesc = input.ReadString(); + break; + } + case 58: { + Episode = input.ReadString(); + break; + } + case 66: { + Image = input.ReadString(); + break; + } + case 72: { + Sort = input.ReadInt32(); + break; + } + case 82: + case 80: { + howReward_.AddEntriesFrom(ref input, _repeated_howReward_codec); + break; + } + case 90: + case 88: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EquipmentInstanceType : pb::IMessage<table_EquipmentInstanceType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EquipmentInstanceType> _parser = new pb::MessageParser<table_EquipmentInstanceType>(() => new table_EquipmentInstanceType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EquipmentInstanceType> 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.ClientTableReflection.Descriptor.MessageTypes[171]; } + } + + [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 table_EquipmentInstanceType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentInstanceType(table_EquipmentInstanceType other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentInstanceType Clone() { + return new table_EquipmentInstanceType(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EquipmentInstanceType> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentInstanceType.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EquipmentInstanceType> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentInstanceType>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EquipmentInstanceType> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EquipmentInstanceType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EquipmentInstanceType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EquipmentInstanceType other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentItemExp : pb::IMessage<EquipmentItemExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentItemExp> _parser = new pb::MessageParser<EquipmentItemExp>(() => new EquipmentItemExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentItemExp> 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.ClientTableReflection.Descriptor.MessageTypes[172]; } + } + + [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 EquipmentItemExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentItemExp(EquipmentItemExp other) : this() { + id_ = other.id_; + itemId_ = other.itemId_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentItemExp Clone() { + return new EquipmentItemExp(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 "ItemId" field.</summary> + public const int ItemIdFieldNumber = 2; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 3; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentItemExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentItemExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ItemId != other.ItemId) return false; + if (Exp != other.Exp) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (Exp != 0) hash ^= Exp.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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteInt32(Exp); + } + 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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteInt32(Exp); + } + 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 (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentItemExp other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + Exp = 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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EquipmentItemExp : pb::IMessage<table_EquipmentItemExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EquipmentItemExp> _parser = new pb::MessageParser<table_EquipmentItemExp>(() => new table_EquipmentItemExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EquipmentItemExp> 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.ClientTableReflection.Descriptor.MessageTypes[173]; } + } + + [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 table_EquipmentItemExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentItemExp(table_EquipmentItemExp other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentItemExp Clone() { + return new table_EquipmentItemExp(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EquipmentItemExp> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentItemExp.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EquipmentItemExp> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentItemExp>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EquipmentItemExp> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EquipmentItemExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EquipmentItemExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EquipmentItemExp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EquipmentRandomAttribute : pb::IMessage<EquipmentRandomAttribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EquipmentRandomAttribute> _parser = new pb::MessageParser<EquipmentRandomAttribute>(() => new EquipmentRandomAttribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EquipmentRandomAttribute> 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.ClientTableReflection.Descriptor.MessageTypes[174]; } + } + + [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 EquipmentRandomAttribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentRandomAttribute(EquipmentRandomAttribute other) : this() { + id_ = other.id_; + elementType_ = other.elementType_; + attrGroupType_ = other.attrGroupType_; + attrValueId_ = other.attrValueId_; + attrType_ = other.attrType_; + attrTypeFirstSubtype_ = other.attrTypeFirstSubtype_; + attrTypeSecondSubtype_ = other.attrTypeSecondSubtype_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EquipmentRandomAttribute Clone() { + return new EquipmentRandomAttribute(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 "ElementType" field.</summary> + public const int ElementTypeFieldNumber = 2; + private int elementType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ElementType { + get { return elementType_; } + set { + elementType_ = value; + } + } + + /// <summary>Field number for the "AttrGroupType" field.</summary> + public const int AttrGroupTypeFieldNumber = 3; + private int attrGroupType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttrGroupType { + get { return attrGroupType_; } + set { + attrGroupType_ = value; + } + } + + /// <summary>Field number for the "AttrValueId" field.</summary> + public const int AttrValueIdFieldNumber = 4; + private int attrValueId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttrValueId { + get { return attrValueId_; } + set { + attrValueId_ = value; + } + } + + /// <summary>Field number for the "AttrType" field.</summary> + public const int AttrTypeFieldNumber = 5; + private int attrType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttrType { + get { return attrType_; } + set { + attrType_ = value; + } + } + + /// <summary>Field number for the "AttrTypeFirstSubtype" field.</summary> + public const int AttrTypeFirstSubtypeFieldNumber = 6; + private int attrTypeFirstSubtype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttrTypeFirstSubtype { + get { return attrTypeFirstSubtype_; } + set { + attrTypeFirstSubtype_ = value; + } + } + + /// <summary>Field number for the "AttrTypeSecondSubtype" field.</summary> + public const int AttrTypeSecondSubtypeFieldNumber = 7; + private int attrTypeSecondSubtype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttrTypeSecondSubtype { + get { return attrTypeSecondSubtype_; } + set { + attrTypeSecondSubtype_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EquipmentRandomAttribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EquipmentRandomAttribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ElementType != other.ElementType) return false; + if (AttrGroupType != other.AttrGroupType) return false; + if (AttrValueId != other.AttrValueId) return false; + if (AttrType != other.AttrType) return false; + if (AttrTypeFirstSubtype != other.AttrTypeFirstSubtype) return false; + if (AttrTypeSecondSubtype != other.AttrTypeSecondSubtype) 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 (ElementType != 0) hash ^= ElementType.GetHashCode(); + if (AttrGroupType != 0) hash ^= AttrGroupType.GetHashCode(); + if (AttrValueId != 0) hash ^= AttrValueId.GetHashCode(); + if (AttrType != 0) hash ^= AttrType.GetHashCode(); + if (AttrTypeFirstSubtype != 0) hash ^= AttrTypeFirstSubtype.GetHashCode(); + if (AttrTypeSecondSubtype != 0) hash ^= AttrTypeSecondSubtype.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 (ElementType != 0) { + output.WriteRawTag(16); + output.WriteInt32(ElementType); + } + if (AttrGroupType != 0) { + output.WriteRawTag(24); + output.WriteInt32(AttrGroupType); + } + if (AttrValueId != 0) { + output.WriteRawTag(32); + output.WriteInt32(AttrValueId); + } + if (AttrType != 0) { + output.WriteRawTag(40); + output.WriteInt32(AttrType); + } + if (AttrTypeFirstSubtype != 0) { + output.WriteRawTag(48); + output.WriteInt32(AttrTypeFirstSubtype); + } + if (AttrTypeSecondSubtype != 0) { + output.WriteRawTag(56); + output.WriteInt32(AttrTypeSecondSubtype); + } + 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 (ElementType != 0) { + output.WriteRawTag(16); + output.WriteInt32(ElementType); + } + if (AttrGroupType != 0) { + output.WriteRawTag(24); + output.WriteInt32(AttrGroupType); + } + if (AttrValueId != 0) { + output.WriteRawTag(32); + output.WriteInt32(AttrValueId); + } + if (AttrType != 0) { + output.WriteRawTag(40); + output.WriteInt32(AttrType); + } + if (AttrTypeFirstSubtype != 0) { + output.WriteRawTag(48); + output.WriteInt32(AttrTypeFirstSubtype); + } + if (AttrTypeSecondSubtype != 0) { + output.WriteRawTag(56); + output.WriteInt32(AttrTypeSecondSubtype); + } + 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 (ElementType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElementType); + } + if (AttrGroupType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrGroupType); + } + if (AttrValueId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrValueId); + } + if (AttrType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrType); + } + if (AttrTypeFirstSubtype != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrTypeFirstSubtype); + } + if (AttrTypeSecondSubtype != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttrTypeSecondSubtype); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EquipmentRandomAttribute other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ElementType != 0) { + ElementType = other.ElementType; + } + if (other.AttrGroupType != 0) { + AttrGroupType = other.AttrGroupType; + } + if (other.AttrValueId != 0) { + AttrValueId = other.AttrValueId; + } + if (other.AttrType != 0) { + AttrType = other.AttrType; + } + if (other.AttrTypeFirstSubtype != 0) { + AttrTypeFirstSubtype = other.AttrTypeFirstSubtype; + } + if (other.AttrTypeSecondSubtype != 0) { + AttrTypeSecondSubtype = other.AttrTypeSecondSubtype; + } + _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: { + ElementType = input.ReadInt32(); + break; + } + case 24: { + AttrGroupType = input.ReadInt32(); + break; + } + case 32: { + AttrValueId = input.ReadInt32(); + break; + } + case 40: { + AttrType = input.ReadInt32(); + break; + } + case 48: { + AttrTypeFirstSubtype = input.ReadInt32(); + break; + } + case 56: { + AttrTypeSecondSubtype = 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: { + ElementType = input.ReadInt32(); + break; + } + case 24: { + AttrGroupType = input.ReadInt32(); + break; + } + case 32: { + AttrValueId = input.ReadInt32(); + break; + } + case 40: { + AttrType = input.ReadInt32(); + break; + } + case 48: { + AttrTypeFirstSubtype = input.ReadInt32(); + break; + } + case 56: { + AttrTypeSecondSubtype = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EquipmentRandomAttribute : pb::IMessage<table_EquipmentRandomAttribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EquipmentRandomAttribute> _parser = new pb::MessageParser<table_EquipmentRandomAttribute>(() => new table_EquipmentRandomAttribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EquipmentRandomAttribute> 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.ClientTableReflection.Descriptor.MessageTypes[175]; } + } + + [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 table_EquipmentRandomAttribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentRandomAttribute(table_EquipmentRandomAttribute other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EquipmentRandomAttribute Clone() { + return new table_EquipmentRandomAttribute(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EquipmentRandomAttribute> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EquipmentRandomAttribute.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EquipmentRandomAttribute> list_ = new pbc::RepeatedField<global::Nova.Client.EquipmentRandomAttribute>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EquipmentRandomAttribute> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EquipmentRandomAttribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EquipmentRandomAttribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EquipmentRandomAttribute other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ErrorCode : pb::IMessage<ErrorCode> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ErrorCode> _parser = new pb::MessageParser<ErrorCode>(() => new ErrorCode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ErrorCode> 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.ClientTableReflection.Descriptor.MessageTypes[176]; } + } + + [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 ErrorCode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ErrorCode(ErrorCode other) : this() { + id_ = other.id_; + title_ = other.title_; + template_ = other.template_; + showType_ = other.showType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ErrorCode Clone() { + return new ErrorCode(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Template" field.</summary> + public const int TemplateFieldNumber = 3; + private string template_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Template { + get { return template_; } + set { + template_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ShowType" field.</summary> + public const int ShowTypeFieldNumber = 4; + private int showType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShowType { + get { return showType_; } + set { + showType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ErrorCode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ErrorCode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Template != other.Template) return false; + if (ShowType != other.ShowType) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Template.Length != 0) hash ^= Template.GetHashCode(); + if (ShowType != 0) hash ^= ShowType.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Template.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Template); + } + if (ShowType != 0) { + output.WriteRawTag(32); + output.WriteInt32(ShowType); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Template.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Template); + } + if (ShowType != 0) { + output.WriteRawTag(32); + output.WriteInt32(ShowType); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Template.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Template); + } + if (ShowType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ErrorCode other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Template.Length != 0) { + Template = other.Template; + } + if (other.ShowType != 0) { + ShowType = other.ShowType; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Template = input.ReadString(); + break; + } + case 32: { + ShowType = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Template = input.ReadString(); + break; + } + case 32: { + ShowType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ErrorCode : pb::IMessage<table_ErrorCode> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ErrorCode> _parser = new pb::MessageParser<table_ErrorCode>(() => new table_ErrorCode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ErrorCode> 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.ClientTableReflection.Descriptor.MessageTypes[177]; } + } + + [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 table_ErrorCode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ErrorCode(table_ErrorCode other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ErrorCode Clone() { + return new table_ErrorCode(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ErrorCode> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ErrorCode.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ErrorCode> list_ = new pbc::RepeatedField<global::Nova.Client.ErrorCode>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ErrorCode> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ErrorCode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ErrorCode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ErrorCode other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EventOptions : pb::IMessage<EventOptions> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EventOptions> _parser = new pb::MessageParser<EventOptions>(() => new EventOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EventOptions> 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.ClientTableReflection.Descriptor.MessageTypes[178]; } + } + + [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 EventOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventOptions(EventOptions other) : this() { + id_ = other.id_; + desc_ = other.desc_; + ignoreInterActive_ = other.ignoreInterActive_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventOptions Clone() { + return new EventOptions(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 "Desc" field.</summary> + public const int DescFieldNumber = 2; + 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 "IgnoreInterActive" field.</summary> + public const int IgnoreInterActiveFieldNumber = 3; + private bool ignoreInterActive_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IgnoreInterActive { + get { return ignoreInterActive_; } + set { + ignoreInterActive_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Desc != other.Desc) return false; + if (IgnoreInterActive != other.IgnoreInterActive) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (IgnoreInterActive != false) hash ^= IgnoreInterActive.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 (Desc.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Desc); + } + if (IgnoreInterActive != false) { + output.WriteRawTag(24); + output.WriteBool(IgnoreInterActive); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Desc); + } + if (IgnoreInterActive != false) { + output.WriteRawTag(24); + output.WriteBool(IgnoreInterActive); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (IgnoreInterActive != 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(EventOptions other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.IgnoreInterActive != false) { + IgnoreInterActive = other.IgnoreInterActive; + } + _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: { + Desc = input.ReadString(); + break; + } + case 24: { + IgnoreInterActive = 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: { + Desc = input.ReadString(); + break; + } + case 24: { + IgnoreInterActive = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EventOptions : pb::IMessage<table_EventOptions> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EventOptions> _parser = new pb::MessageParser<table_EventOptions>(() => new table_EventOptions()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EventOptions> 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.ClientTableReflection.Descriptor.MessageTypes[179]; } + } + + [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 table_EventOptions() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EventOptions(table_EventOptions other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EventOptions Clone() { + return new table_EventOptions(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EventOptions> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EventOptions.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EventOptions> list_ = new pbc::RepeatedField<global::Nova.Client.EventOptions>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EventOptions> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EventOptions); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EventOptions other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EventOptions other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EventOptionsRules : pb::IMessage<EventOptionsRules> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EventOptionsRules> _parser = new pb::MessageParser<EventOptionsRules>(() => new EventOptionsRules()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EventOptionsRules> 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.ClientTableReflection.Descriptor.MessageTypes[180]; } + } + + [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 EventOptionsRules() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventOptionsRules(EventOptionsRules other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventOptionsRules Clone() { + return new EventOptionsRules(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventOptionsRules); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventOptionsRules 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 (Desc != other.Desc) 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 (Desc.Length != 0) hash ^= Desc.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventOptionsRules other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + _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 26: { + Desc = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EventOptionsRules : pb::IMessage<table_EventOptionsRules> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EventOptionsRules> _parser = new pb::MessageParser<table_EventOptionsRules>(() => new table_EventOptionsRules()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EventOptionsRules> 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.ClientTableReflection.Descriptor.MessageTypes[181]; } + } + + [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 table_EventOptionsRules() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EventOptionsRules(table_EventOptionsRules other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EventOptionsRules Clone() { + return new table_EventOptionsRules(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EventOptionsRules> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EventOptionsRules.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EventOptionsRules> list_ = new pbc::RepeatedField<global::Nova.Client.EventOptionsRules>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EventOptionsRules> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EventOptionsRules); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EventOptionsRules other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EventOptionsRules other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EventResult : pb::IMessage<EventResult> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<EventResult> _parser = new pb::MessageParser<EventResult>(() => new EventResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<EventResult> 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.ClientTableReflection.Descriptor.MessageTypes[182]; } + } + + [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 EventResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventResult(EventResult other) : this() { + id_ = other.id_; + effect1_ = other.effect1_; + parameter1_ = other.parameter1_.Clone(); + effect2_ = other.effect2_; + parameter2_ = other.parameter2_.Clone(); + effect3_ = other.effect3_; + parameter3_ = other.parameter3_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EventResult Clone() { + return new EventResult(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 "Effect1" field.</summary> + public const int Effect1FieldNumber = 2; + private int effect1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Effect1 { + get { return effect1_; } + set { + effect1_ = value; + } + } + + /// <summary>Field number for the "Parameter1" field.</summary> + public const int Parameter1FieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_parameter1_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> parameter1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Parameter1 { + get { return parameter1_; } + } + + /// <summary>Field number for the "Effect2" field.</summary> + public const int Effect2FieldNumber = 4; + private int effect2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Effect2 { + get { return effect2_; } + set { + effect2_ = value; + } + } + + /// <summary>Field number for the "Parameter2" field.</summary> + public const int Parameter2FieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_parameter2_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> parameter2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Parameter2 { + get { return parameter2_; } + } + + /// <summary>Field number for the "Effect3" field.</summary> + public const int Effect3FieldNumber = 6; + private int effect3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Effect3 { + get { return effect3_; } + set { + effect3_ = value; + } + } + + /// <summary>Field number for the "Parameter3" field.</summary> + public const int Parameter3FieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_parameter3_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> parameter3_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Parameter3 { + get { return parameter3_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EventResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EventResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Effect1 != other.Effect1) return false; + if(!parameter1_.Equals(other.parameter1_)) return false; + if (Effect2 != other.Effect2) return false; + if(!parameter2_.Equals(other.parameter2_)) return false; + if (Effect3 != other.Effect3) return false; + if(!parameter3_.Equals(other.parameter3_)) 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 (Effect1 != 0) hash ^= Effect1.GetHashCode(); + hash ^= parameter1_.GetHashCode(); + if (Effect2 != 0) hash ^= Effect2.GetHashCode(); + hash ^= parameter2_.GetHashCode(); + if (Effect3 != 0) hash ^= Effect3.GetHashCode(); + hash ^= parameter3_.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 (Effect1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(Effect1); + } + parameter1_.WriteTo(output, _repeated_parameter1_codec); + if (Effect2 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Effect2); + } + parameter2_.WriteTo(output, _repeated_parameter2_codec); + if (Effect3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Effect3); + } + parameter3_.WriteTo(output, _repeated_parameter3_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 (Effect1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(Effect1); + } + parameter1_.WriteTo(ref output, _repeated_parameter1_codec); + if (Effect2 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Effect2); + } + parameter2_.WriteTo(ref output, _repeated_parameter2_codec); + if (Effect3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Effect3); + } + parameter3_.WriteTo(ref output, _repeated_parameter3_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 (Effect1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect1); + } + size += parameter1_.CalculateSize(_repeated_parameter1_codec); + if (Effect2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect2); + } + size += parameter2_.CalculateSize(_repeated_parameter2_codec); + if (Effect3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect3); + } + size += parameter3_.CalculateSize(_repeated_parameter3_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EventResult other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Effect1 != 0) { + Effect1 = other.Effect1; + } + parameter1_.Add(other.parameter1_); + if (other.Effect2 != 0) { + Effect2 = other.Effect2; + } + parameter2_.Add(other.parameter2_); + if (other.Effect3 != 0) { + Effect3 = other.Effect3; + } + parameter3_.Add(other.parameter3_); + _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: { + Effect1 = input.ReadInt32(); + break; + } + case 26: + case 24: { + parameter1_.AddEntriesFrom(input, _repeated_parameter1_codec); + break; + } + case 32: { + Effect2 = input.ReadInt32(); + break; + } + case 42: + case 40: { + parameter2_.AddEntriesFrom(input, _repeated_parameter2_codec); + break; + } + case 48: { + Effect3 = input.ReadInt32(); + break; + } + case 58: + case 56: { + parameter3_.AddEntriesFrom(input, _repeated_parameter3_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: { + Effect1 = input.ReadInt32(); + break; + } + case 26: + case 24: { + parameter1_.AddEntriesFrom(ref input, _repeated_parameter1_codec); + break; + } + case 32: { + Effect2 = input.ReadInt32(); + break; + } + case 42: + case 40: { + parameter2_.AddEntriesFrom(ref input, _repeated_parameter2_codec); + break; + } + case 48: { + Effect3 = input.ReadInt32(); + break; + } + case 58: + case 56: { + parameter3_.AddEntriesFrom(ref input, _repeated_parameter3_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_EventResult : pb::IMessage<table_EventResult> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_EventResult> _parser = new pb::MessageParser<table_EventResult>(() => new table_EventResult()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_EventResult> 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.ClientTableReflection.Descriptor.MessageTypes[183]; } + } + + [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 table_EventResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EventResult(table_EventResult other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_EventResult Clone() { + return new table_EventResult(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.EventResult> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.EventResult.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.EventResult> list_ = new pbc::RepeatedField<global::Nova.Client.EventResult>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.EventResult> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_EventResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_EventResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_EventResult other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FactionRelation : pb::IMessage<FactionRelation> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FactionRelation> _parser = new pb::MessageParser<FactionRelation>(() => new FactionRelation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FactionRelation> 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.ClientTableReflection.Descriptor.MessageTypes[184]; } + } + + [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 FactionRelation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FactionRelation(FactionRelation other) : this() { + id_ = other.id_; + factionRelationShip_ = other.factionRelationShip_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FactionRelation Clone() { + return new FactionRelation(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 "FactionRelationShip" field.</summary> + public const int FactionRelationShipFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_factionRelationShip_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> factionRelationShip_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FactionRelationShip { + get { return factionRelationShip_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FactionRelation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FactionRelation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!factionRelationShip_.Equals(other.factionRelationShip_)) 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(); + hash ^= factionRelationShip_.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); + } + factionRelationShip_.WriteTo(output, _repeated_factionRelationShip_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); + } + factionRelationShip_.WriteTo(ref output, _repeated_factionRelationShip_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); + } + size += factionRelationShip_.CalculateSize(_repeated_factionRelationShip_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FactionRelation other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + factionRelationShip_.Add(other.factionRelationShip_); + _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: + case 16: { + factionRelationShip_.AddEntriesFrom(input, _repeated_factionRelationShip_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 18: + case 16: { + factionRelationShip_.AddEntriesFrom(ref input, _repeated_factionRelationShip_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_FactionRelation : pb::IMessage<table_FactionRelation> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_FactionRelation> _parser = new pb::MessageParser<table_FactionRelation>(() => new table_FactionRelation()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_FactionRelation> 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.ClientTableReflection.Descriptor.MessageTypes[185]; } + } + + [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 table_FactionRelation() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FactionRelation(table_FactionRelation other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FactionRelation Clone() { + return new table_FactionRelation(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.FactionRelation> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.FactionRelation.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.FactionRelation> list_ = new pbc::RepeatedField<global::Nova.Client.FactionRelation>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.FactionRelation> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_FactionRelation); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_FactionRelation other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_FactionRelation other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FateCard : pb::IMessage<FateCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FateCard> _parser = new pb::MessageParser<FateCard>(() => new FateCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FateCard> 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.ClientTableReflection.Descriptor.MessageTypes[186]; } + } + + [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 FateCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FateCard(FateCard other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + desc2_ = other.desc2_; + isTower_ = other.isTower_; + isVampire_ = other.isVampire_; + isVampireSpecial_ = other.isVampireSpecial_; + activeNumber_ = other.activeNumber_; + duration_ = other.duration_; + activeRoomTypes_ = other.activeRoomTypes_.Clone(); + activeAction_ = other.activeAction_; + methodMode_ = other.methodMode_; + clientEffect_ = other.clientEffect_; + count_ = other.count_; + themeType_ = other.themeType_; + themeValue_ = other.themeValue_; + themeTriggerType_ = other.themeTriggerType_.Clone(); + effectiveImmediately_ = other.effectiveImmediately_; + removable_ = other.removable_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FateCard Clone() { + return new FateCard(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Desc2" field.</summary> + public const int Desc2FieldNumber = 4; + private string desc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc2 { + get { return desc2_; } + set { + desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IsTower" field.</summary> + public const int IsTowerFieldNumber = 5; + private bool isTower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsTower { + get { return isTower_; } + set { + isTower_ = value; + } + } + + /// <summary>Field number for the "IsVampire" field.</summary> + public const int IsVampireFieldNumber = 6; + private bool isVampire_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsVampire { + get { return isVampire_; } + set { + isVampire_ = value; + } + } + + /// <summary>Field number for the "IsVampireSpecial" field.</summary> + public const int IsVampireSpecialFieldNumber = 7; + private bool isVampireSpecial_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsVampireSpecial { + get { return isVampireSpecial_; } + set { + isVampireSpecial_ = value; + } + } + + /// <summary>Field number for the "ActiveNumber" field.</summary> + public const int ActiveNumberFieldNumber = 8; + private int activeNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActiveNumber { + get { return activeNumber_; } + set { + activeNumber_ = value; + } + } + + /// <summary>Field number for the "Duration" field.</summary> + public const int DurationFieldNumber = 9; + private int duration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Duration { + get { return duration_; } + set { + duration_ = value; + } + } + + /// <summary>Field number for the "ActiveRoomTypes" field.</summary> + public const int ActiveRoomTypesFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_activeRoomTypes_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> activeRoomTypes_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ActiveRoomTypes { + get { return activeRoomTypes_; } + } + + /// <summary>Field number for the "ActiveAction" field.</summary> + public const int ActiveActionFieldNumber = 11; + private int activeAction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActiveAction { + get { return activeAction_; } + set { + activeAction_ = value; + } + } + + /// <summary>Field number for the "MethodMode" field.</summary> + public const int MethodModeFieldNumber = 12; + private int methodMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MethodMode { + get { return methodMode_; } + set { + methodMode_ = value; + } + } + + /// <summary>Field number for the "ClientEffect" field.</summary> + public const int ClientEffectFieldNumber = 13; + private int clientEffect_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ClientEffect { + get { return clientEffect_; } + set { + clientEffect_ = value; + } + } + + /// <summary>Field number for the "Count" field.</summary> + public const int CountFieldNumber = 14; + private int count_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Count { + get { return count_; } + set { + count_ = value; + } + } + + /// <summary>Field number for the "ThemeType" field.</summary> + public const int ThemeTypeFieldNumber = 15; + private int themeType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ThemeType { + get { return themeType_; } + set { + themeType_ = value; + } + } + + /// <summary>Field number for the "ThemeValue" field.</summary> + public const int ThemeValueFieldNumber = 16; + private int themeValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ThemeValue { + get { return themeValue_; } + set { + themeValue_ = value; + } + } + + /// <summary>Field number for the "ThemeTriggerType" field.</summary> + public const int ThemeTriggerTypeFieldNumber = 17; + private static readonly pb::FieldCodec<int> _repeated_themeTriggerType_codec + = pb::FieldCodec.ForInt32(138); + private readonly pbc::RepeatedField<int> themeTriggerType_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ThemeTriggerType { + get { return themeTriggerType_; } + } + + /// <summary>Field number for the "EffectiveImmediately" field.</summary> + public const int EffectiveImmediatelyFieldNumber = 18; + private bool effectiveImmediately_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EffectiveImmediately { + get { return effectiveImmediately_; } + set { + effectiveImmediately_ = value; + } + } + + /// <summary>Field number for the "Removable" field.</summary> + public const int RemovableFieldNumber = 19; + private bool removable_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Removable { + get { return removable_; } + set { + removable_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FateCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FateCard 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 (Desc != other.Desc) return false; + if (Desc2 != other.Desc2) return false; + if (IsTower != other.IsTower) return false; + if (IsVampire != other.IsVampire) return false; + if (IsVampireSpecial != other.IsVampireSpecial) return false; + if (ActiveNumber != other.ActiveNumber) return false; + if (Duration != other.Duration) return false; + if(!activeRoomTypes_.Equals(other.activeRoomTypes_)) return false; + if (ActiveAction != other.ActiveAction) return false; + if (MethodMode != other.MethodMode) return false; + if (ClientEffect != other.ClientEffect) return false; + if (Count != other.Count) return false; + if (ThemeType != other.ThemeType) return false; + if (ThemeValue != other.ThemeValue) return false; + if(!themeTriggerType_.Equals(other.themeTriggerType_)) return false; + if (EffectiveImmediately != other.EffectiveImmediately) return false; + if (Removable != other.Removable) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); + if (IsTower != false) hash ^= IsTower.GetHashCode(); + if (IsVampire != false) hash ^= IsVampire.GetHashCode(); + if (IsVampireSpecial != false) hash ^= IsVampireSpecial.GetHashCode(); + if (ActiveNumber != 0) hash ^= ActiveNumber.GetHashCode(); + if (Duration != 0) hash ^= Duration.GetHashCode(); + hash ^= activeRoomTypes_.GetHashCode(); + if (ActiveAction != 0) hash ^= ActiveAction.GetHashCode(); + if (MethodMode != 0) hash ^= MethodMode.GetHashCode(); + if (ClientEffect != 0) hash ^= ClientEffect.GetHashCode(); + if (Count != 0) hash ^= Count.GetHashCode(); + if (ThemeType != 0) hash ^= ThemeType.GetHashCode(); + if (ThemeValue != 0) hash ^= ThemeValue.GetHashCode(); + hash ^= themeTriggerType_.GetHashCode(); + if (EffectiveImmediately != false) hash ^= EffectiveImmediately.GetHashCode(); + if (Removable != false) hash ^= Removable.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Desc2.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc2); + } + if (IsTower != false) { + output.WriteRawTag(40); + output.WriteBool(IsTower); + } + if (IsVampire != false) { + output.WriteRawTag(48); + output.WriteBool(IsVampire); + } + if (IsVampireSpecial != false) { + output.WriteRawTag(56); + output.WriteBool(IsVampireSpecial); + } + if (ActiveNumber != 0) { + output.WriteRawTag(64); + output.WriteInt32(ActiveNumber); + } + if (Duration != 0) { + output.WriteRawTag(72); + output.WriteInt32(Duration); + } + activeRoomTypes_.WriteTo(output, _repeated_activeRoomTypes_codec); + if (ActiveAction != 0) { + output.WriteRawTag(88); + output.WriteInt32(ActiveAction); + } + if (MethodMode != 0) { + output.WriteRawTag(96); + output.WriteInt32(MethodMode); + } + if (ClientEffect != 0) { + output.WriteRawTag(104); + output.WriteInt32(ClientEffect); + } + if (Count != 0) { + output.WriteRawTag(112); + output.WriteInt32(Count); + } + if (ThemeType != 0) { + output.WriteRawTag(120); + output.WriteInt32(ThemeType); + } + if (ThemeValue != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ThemeValue); + } + themeTriggerType_.WriteTo(output, _repeated_themeTriggerType_codec); + if (EffectiveImmediately != false) { + output.WriteRawTag(144, 1); + output.WriteBool(EffectiveImmediately); + } + if (Removable != false) { + output.WriteRawTag(152, 1); + output.WriteBool(Removable); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Desc2.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc2); + } + if (IsTower != false) { + output.WriteRawTag(40); + output.WriteBool(IsTower); + } + if (IsVampire != false) { + output.WriteRawTag(48); + output.WriteBool(IsVampire); + } + if (IsVampireSpecial != false) { + output.WriteRawTag(56); + output.WriteBool(IsVampireSpecial); + } + if (ActiveNumber != 0) { + output.WriteRawTag(64); + output.WriteInt32(ActiveNumber); + } + if (Duration != 0) { + output.WriteRawTag(72); + output.WriteInt32(Duration); + } + activeRoomTypes_.WriteTo(ref output, _repeated_activeRoomTypes_codec); + if (ActiveAction != 0) { + output.WriteRawTag(88); + output.WriteInt32(ActiveAction); + } + if (MethodMode != 0) { + output.WriteRawTag(96); + output.WriteInt32(MethodMode); + } + if (ClientEffect != 0) { + output.WriteRawTag(104); + output.WriteInt32(ClientEffect); + } + if (Count != 0) { + output.WriteRawTag(112); + output.WriteInt32(Count); + } + if (ThemeType != 0) { + output.WriteRawTag(120); + output.WriteInt32(ThemeType); + } + if (ThemeValue != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ThemeValue); + } + themeTriggerType_.WriteTo(ref output, _repeated_themeTriggerType_codec); + if (EffectiveImmediately != false) { + output.WriteRawTag(144, 1); + output.WriteBool(EffectiveImmediately); + } + if (Removable != false) { + output.WriteRawTag(152, 1); + output.WriteBool(Removable); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Desc2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); + } + if (IsTower != false) { + size += 1 + 1; + } + if (IsVampire != false) { + size += 1 + 1; + } + if (IsVampireSpecial != false) { + size += 1 + 1; + } + if (ActiveNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActiveNumber); + } + if (Duration != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Duration); + } + size += activeRoomTypes_.CalculateSize(_repeated_activeRoomTypes_codec); + if (ActiveAction != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActiveAction); + } + if (MethodMode != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MethodMode); + } + if (ClientEffect != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientEffect); + } + if (Count != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Count); + } + if (ThemeType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThemeType); + } + if (ThemeValue != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ThemeValue); + } + size += themeTriggerType_.CalculateSize(_repeated_themeTriggerType_codec); + if (EffectiveImmediately != false) { + size += 2 + 1; + } + if (Removable != false) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FateCard other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Desc2.Length != 0) { + Desc2 = other.Desc2; + } + if (other.IsTower != false) { + IsTower = other.IsTower; + } + if (other.IsVampire != false) { + IsVampire = other.IsVampire; + } + if (other.IsVampireSpecial != false) { + IsVampireSpecial = other.IsVampireSpecial; + } + if (other.ActiveNumber != 0) { + ActiveNumber = other.ActiveNumber; + } + if (other.Duration != 0) { + Duration = other.Duration; + } + activeRoomTypes_.Add(other.activeRoomTypes_); + if (other.ActiveAction != 0) { + ActiveAction = other.ActiveAction; + } + if (other.MethodMode != 0) { + MethodMode = other.MethodMode; + } + if (other.ClientEffect != 0) { + ClientEffect = other.ClientEffect; + } + if (other.Count != 0) { + Count = other.Count; + } + if (other.ThemeType != 0) { + ThemeType = other.ThemeType; + } + if (other.ThemeValue != 0) { + ThemeValue = other.ThemeValue; + } + themeTriggerType_.Add(other.themeTriggerType_); + if (other.EffectiveImmediately != false) { + EffectiveImmediately = other.EffectiveImmediately; + } + if (other.Removable != false) { + Removable = other.Removable; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Desc2 = input.ReadString(); + break; + } + case 40: { + IsTower = input.ReadBool(); + break; + } + case 48: { + IsVampire = input.ReadBool(); + break; + } + case 56: { + IsVampireSpecial = input.ReadBool(); + break; + } + case 64: { + ActiveNumber = input.ReadInt32(); + break; + } + case 72: { + Duration = input.ReadInt32(); + break; + } + case 82: + case 80: { + activeRoomTypes_.AddEntriesFrom(input, _repeated_activeRoomTypes_codec); + break; + } + case 88: { + ActiveAction = input.ReadInt32(); + break; + } + case 96: { + MethodMode = input.ReadInt32(); + break; + } + case 104: { + ClientEffect = input.ReadInt32(); + break; + } + case 112: { + Count = input.ReadInt32(); + break; + } + case 120: { + ThemeType = input.ReadInt32(); + break; + } + case 128: { + ThemeValue = input.ReadInt32(); + break; + } + case 138: + case 136: { + themeTriggerType_.AddEntriesFrom(input, _repeated_themeTriggerType_codec); + break; + } + case 144: { + EffectiveImmediately = input.ReadBool(); + break; + } + case 152: { + Removable = 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 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Desc2 = input.ReadString(); + break; + } + case 40: { + IsTower = input.ReadBool(); + break; + } + case 48: { + IsVampire = input.ReadBool(); + break; + } + case 56: { + IsVampireSpecial = input.ReadBool(); + break; + } + case 64: { + ActiveNumber = input.ReadInt32(); + break; + } + case 72: { + Duration = input.ReadInt32(); + break; + } + case 82: + case 80: { + activeRoomTypes_.AddEntriesFrom(ref input, _repeated_activeRoomTypes_codec); + break; + } + case 88: { + ActiveAction = input.ReadInt32(); + break; + } + case 96: { + MethodMode = input.ReadInt32(); + break; + } + case 104: { + ClientEffect = input.ReadInt32(); + break; + } + case 112: { + Count = input.ReadInt32(); + break; + } + case 120: { + ThemeType = input.ReadInt32(); + break; + } + case 128: { + ThemeValue = input.ReadInt32(); + break; + } + case 138: + case 136: { + themeTriggerType_.AddEntriesFrom(ref input, _repeated_themeTriggerType_codec); + break; + } + case 144: { + EffectiveImmediately = input.ReadBool(); + break; + } + case 152: { + Removable = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_FateCard : pb::IMessage<table_FateCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_FateCard> _parser = new pb::MessageParser<table_FateCard>(() => new table_FateCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_FateCard> 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.ClientTableReflection.Descriptor.MessageTypes[187]; } + } + + [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 table_FateCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FateCard(table_FateCard other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FateCard Clone() { + return new table_FateCard(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.FateCard> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.FateCard.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.FateCard> list_ = new pbc::RepeatedField<global::Nova.Client.FateCard>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.FateCard> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_FateCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_FateCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_FateCard other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FloorBuff : pb::IMessage<FloorBuff> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FloorBuff> _parser = new pb::MessageParser<FloorBuff>(() => new FloorBuff()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FloorBuff> 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.ClientTableReflection.Descriptor.MessageTypes[188]; } + } + + [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 FloorBuff() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloorBuff(FloorBuff other) : this() { + id_ = other.id_; + addCamp_ = other.addCamp_.Clone(); + addClass_ = other.addClass_.Clone(); + effectId_ = other.effectId_.Clone(); + buffId_ = other.buffId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FloorBuff Clone() { + return new FloorBuff(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 "AddCamp" field.</summary> + public const int AddCampFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_addCamp_codec + = pb::FieldCodec.ForInt32(18); + 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 "AddClass" field.</summary> + public const int AddClassFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_addClass_codec + = pb::FieldCodec.ForInt32(26); + 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 "EffectId" field.</summary> + public const int EffectIdFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_effectId_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId { + get { return effectId_; } + } + + /// <summary>Field number for the "BuffId" field.</summary> + public const int BuffIdFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_buffId_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> buffId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BuffId { + get { return buffId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FloorBuff); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FloorBuff other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!addCamp_.Equals(other.addCamp_)) return false; + if(!addClass_.Equals(other.addClass_)) return false; + if(!effectId_.Equals(other.effectId_)) return false; + if(!buffId_.Equals(other.buffId_)) 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(); + hash ^= addCamp_.GetHashCode(); + hash ^= addClass_.GetHashCode(); + hash ^= effectId_.GetHashCode(); + hash ^= buffId_.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); + } + addCamp_.WriteTo(output, _repeated_addCamp_codec); + addClass_.WriteTo(output, _repeated_addClass_codec); + effectId_.WriteTo(output, _repeated_effectId_codec); + buffId_.WriteTo(output, _repeated_buffId_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); + } + addCamp_.WriteTo(ref output, _repeated_addCamp_codec); + addClass_.WriteTo(ref output, _repeated_addClass_codec); + effectId_.WriteTo(ref output, _repeated_effectId_codec); + buffId_.WriteTo(ref output, _repeated_buffId_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); + } + size += addCamp_.CalculateSize(_repeated_addCamp_codec); + size += addClass_.CalculateSize(_repeated_addClass_codec); + size += effectId_.CalculateSize(_repeated_effectId_codec); + size += buffId_.CalculateSize(_repeated_buffId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FloorBuff other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + addCamp_.Add(other.addCamp_); + addClass_.Add(other.addClass_); + effectId_.Add(other.effectId_); + buffId_.Add(other.buffId_); + _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: + case 16: { + addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec); + break; + } + case 26: + case 24: { + addClass_.AddEntriesFrom(input, _repeated_addClass_codec); + break; + } + case 34: + case 32: { + effectId_.AddEntriesFrom(input, _repeated_effectId_codec); + break; + } + case 42: + case 40: { + buffId_.AddEntriesFrom(input, _repeated_buffId_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 18: + case 16: { + addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec); + break; + } + case 26: + case 24: { + addClass_.AddEntriesFrom(ref input, _repeated_addClass_codec); + break; + } + case 34: + case 32: { + effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); + break; + } + case 42: + case 40: { + buffId_.AddEntriesFrom(ref input, _repeated_buffId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_FloorBuff : pb::IMessage<table_FloorBuff> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_FloorBuff> _parser = new pb::MessageParser<table_FloorBuff>(() => new table_FloorBuff()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_FloorBuff> 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.ClientTableReflection.Descriptor.MessageTypes[189]; } + } + + [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 table_FloorBuff() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FloorBuff(table_FloorBuff other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FloorBuff Clone() { + return new table_FloorBuff(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.FloorBuff> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.FloorBuff.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.FloorBuff> list_ = new pbc::RepeatedField<global::Nova.Client.FloorBuff>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.FloorBuff> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_FloorBuff); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_FloorBuff other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_FloorBuff other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Force : pb::IMessage<Force> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Force> _parser = new pb::MessageParser<Force>(() => new Force()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Force> 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.ClientTableReflection.Descriptor.MessageTypes[190]; } + } + + [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 Force() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Force(Force other) : this() { + id_ = other.id_; + title_ = other.title_; + icon1_ = other.icon1_; + icon2_ = other.icon2_; + talentPos_ = other.talentPos_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Force Clone() { + return new Force(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon1" field.</summary> + public const int Icon1FieldNumber = 3; + private string icon1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Icon1 { + get { return icon1_; } + set { + icon1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon2" field.</summary> + public const int Icon2FieldNumber = 4; + private string icon2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Icon2 { + get { return icon2_; } + set { + icon2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TalentPos" field.</summary> + public const int TalentPosFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_talentPos_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> talentPos_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TalentPos { + get { return talentPos_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Force); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Force other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Icon1 != other.Icon1) return false; + if (Icon2 != other.Icon2) return false; + if(!talentPos_.Equals(other.talentPos_)) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Icon1.Length != 0) hash ^= Icon1.GetHashCode(); + if (Icon2.Length != 0) hash ^= Icon2.GetHashCode(); + hash ^= talentPos_.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Icon1.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon1); + } + if (Icon2.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon2); + } + talentPos_.WriteTo(output, _repeated_talentPos_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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Icon1.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon1); + } + if (Icon2.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon2); + } + talentPos_.WriteTo(ref output, _repeated_talentPos_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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Icon1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon1); + } + if (Icon2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon2); + } + size += talentPos_.CalculateSize(_repeated_talentPos_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Force other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Icon1.Length != 0) { + Icon1 = other.Icon1; + } + if (other.Icon2.Length != 0) { + Icon2 = other.Icon2; + } + talentPos_.Add(other.talentPos_); + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Icon1 = input.ReadString(); + break; + } + case 34: { + Icon2 = input.ReadString(); + break; + } + case 42: + case 40: { + talentPos_.AddEntriesFrom(input, _repeated_talentPos_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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Icon1 = input.ReadString(); + break; + } + case 34: { + Icon2 = input.ReadString(); + break; + } + case 42: + case 40: { + talentPos_.AddEntriesFrom(ref input, _repeated_talentPos_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Force : pb::IMessage<table_Force> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Force> _parser = new pb::MessageParser<table_Force>(() => new table_Force()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Force> 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.ClientTableReflection.Descriptor.MessageTypes[191]; } + } + + [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 table_Force() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Force(table_Force other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Force Clone() { + return new table_Force(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Force> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Force.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Force> list_ = new pbc::RepeatedField<global::Nova.Client.Force>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Force> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Force); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Force other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Force other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FormationScene : pb::IMessage<FormationScene> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<FormationScene> _parser = new pb::MessageParser<FormationScene>(() => new FormationScene()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<FormationScene> 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.ClientTableReflection.Descriptor.MessageTypes[192]; } + } + + [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 FormationScene() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormationScene(FormationScene other) : this() { + sceneName_ = other.sceneName_; + path_ = other.path_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FormationScene Clone() { + return new FormationScene(this); + } + + /// <summary>Field number for the "SceneName" field.</summary> + public const int SceneNameFieldNumber = 1; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Path" field.</summary> + public const int PathFieldNumber = 2; + private string path_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Path { + get { return path_; } + set { + path_ = 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 FormationScene); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FormationScene other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SceneName != other.SceneName) return false; + if (Path != other.Path) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (Path.Length != 0) hash ^= Path.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 (SceneName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SceneName); + } + if (Path.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Path); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SceneName); + } + if (Path.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Path); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (Path.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Path); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FormationScene other) { + if (other == null) { + return; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.Path.Length != 0) { + Path = other.Path; + } + _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 10: { + SceneName = input.ReadString(); + break; + } + case 18: { + Path = 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 10: { + SceneName = input.ReadString(); + break; + } + case 18: { + Path = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_FormationScene : pb::IMessage<table_FormationScene> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_FormationScene> _parser = new pb::MessageParser<table_FormationScene>(() => new table_FormationScene()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_FormationScene> 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.ClientTableReflection.Descriptor.MessageTypes[193]; } + } + + [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 table_FormationScene() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FormationScene(table_FormationScene other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_FormationScene Clone() { + return new table_FormationScene(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.FormationScene> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.FormationScene.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.FormationScene> list_ = new pbc::RepeatedField<global::Nova.Client.FormationScene>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.FormationScene> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_FormationScene); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_FormationScene other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_FormationScene other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Gacha : pb::IMessage<Gacha> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Gacha> _parser = new pb::MessageParser<Gacha>(() => new Gacha()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Gacha> 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.ClientTableReflection.Descriptor.MessageTypes[194]; } + } + + [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 Gacha() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Gacha(Gacha other) : this() { + id_ = other.id_; + defaultId_ = other.defaultId_; + defaultQty_ = other.defaultQty_; + costId_ = other.costId_; + costQty_ = other.costQty_; + oncePreferred_ = other.oncePreferred_; + tenTimesPreferred_ = other.tenTimesPreferred_; + limitTimes_ = other.limitTimes_; + aTypeUpShowProb_ = other.aTypeUpShowProb_; + bTypeUpShowProb_ = other.bTypeUpShowProb_; + storageId_ = other.storageId_; + startTime_ = other.startTime_; + endTime_ = other.endTime_; + sort_ = other.sort_; + icon_ = other.icon_; + image_ = other.image_; + uPCharacter_ = other.uPCharacter_.Clone(); + uPOutfit_ = other.uPOutfit_.Clone(); + character_ = other.character_.Clone(); + outfit_ = other.outfit_.Clone(); + tag_ = other.tag_; + voice_ = other.voice_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Gacha Clone() { + return new Gacha(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 "DefaultId" field.</summary> + public const int DefaultIdFieldNumber = 2; + private int defaultId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefaultId { + get { return defaultId_; } + set { + defaultId_ = value; + } + } + + /// <summary>Field number for the "DefaultQty" field.</summary> + public const int DefaultQtyFieldNumber = 3; + private int defaultQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefaultQty { + get { return defaultQty_; } + set { + defaultQty_ = value; + } + } + + /// <summary>Field number for the "CostId" field.</summary> + public const int CostIdFieldNumber = 4; + private int costId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CostId { + get { return costId_; } + set { + costId_ = value; + } + } + + /// <summary>Field number for the "CostQty" field.</summary> + public const int CostQtyFieldNumber = 5; + private int costQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CostQty { + get { return costQty_; } + set { + costQty_ = value; + } + } + + /// <summary>Field number for the "OncePreferred" field.</summary> + public const int OncePreferredFieldNumber = 6; + private string oncePreferred_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OncePreferred { + get { return oncePreferred_; } + set { + oncePreferred_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TenTimesPreferred" field.</summary> + public const int TenTimesPreferredFieldNumber = 7; + private string tenTimesPreferred_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenTimesPreferred { + get { return tenTimesPreferred_; } + set { + tenTimesPreferred_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LimitTimes" field.</summary> + public const int LimitTimesFieldNumber = 8; + private int limitTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LimitTimes { + get { return limitTimes_; } + set { + limitTimes_ = value; + } + } + + /// <summary>Field number for the "ATypeUpShowProb" field.</summary> + public const int ATypeUpShowProbFieldNumber = 9; + private int aTypeUpShowProb_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ATypeUpShowProb { + get { return aTypeUpShowProb_; } + set { + aTypeUpShowProb_ = value; + } + } + + /// <summary>Field number for the "BTypeUpShowProb" field.</summary> + public const int BTypeUpShowProbFieldNumber = 10; + private int bTypeUpShowProb_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BTypeUpShowProb { + get { return bTypeUpShowProb_; } + set { + bTypeUpShowProb_ = value; + } + } + + /// <summary>Field number for the "StorageId" field.</summary> + public const int StorageIdFieldNumber = 11; + private int storageId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StorageId { + get { return storageId_; } + set { + storageId_ = value; + } + } + + /// <summary>Field number for the "StartTime" field.</summary> + public const int StartTimeFieldNumber = 12; + private string startTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StartTime { + get { return startTime_; } + set { + startTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 13; + private string endTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndTime { + get { return endTime_; } + set { + endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 14; + 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 "Icon" field.</summary> + public const int IconFieldNumber = 15; + 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 "Image" field.</summary> + public const int ImageFieldNumber = 16; + 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 "UPCharacter" field.</summary> + public const int UPCharacterFieldNumber = 17; + private static readonly pb::FieldCodec<int> _repeated_uPCharacter_codec + = pb::FieldCodec.ForInt32(138); + private readonly pbc::RepeatedField<int> uPCharacter_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> UPCharacter { + get { return uPCharacter_; } + } + + /// <summary>Field number for the "UPOutfit" field.</summary> + public const int UPOutfitFieldNumber = 18; + private static readonly pb::FieldCodec<int> _repeated_uPOutfit_codec + = pb::FieldCodec.ForInt32(146); + private readonly pbc::RepeatedField<int> uPOutfit_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> UPOutfit { + get { return uPOutfit_; } + } + + /// <summary>Field number for the "Character" field.</summary> + public const int CharacterFieldNumber = 19; + private static readonly pb::FieldCodec<int> _repeated_character_codec + = pb::FieldCodec.ForInt32(154); + private readonly pbc::RepeatedField<int> character_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Character { + get { return character_; } + } + + /// <summary>Field number for the "Outfit" field.</summary> + public const int OutfitFieldNumber = 20; + private static readonly pb::FieldCodec<int> _repeated_outfit_codec + = pb::FieldCodec.ForInt32(162); + private readonly pbc::RepeatedField<int> outfit_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Outfit { + get { return outfit_; } + } + + /// <summary>Field number for the "Tag" field.</summary> + public const int TagFieldNumber = 21; + private string tag_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag { + get { return tag_; } + set { + tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Voice" field.</summary> + public const int VoiceFieldNumber = 22; + private string voice_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Voice { + get { return voice_; } + set { + voice_ = 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 Gacha); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Gacha other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (DefaultId != other.DefaultId) return false; + if (DefaultQty != other.DefaultQty) return false; + if (CostId != other.CostId) return false; + if (CostQty != other.CostQty) return false; + if (OncePreferred != other.OncePreferred) return false; + if (TenTimesPreferred != other.TenTimesPreferred) return false; + if (LimitTimes != other.LimitTimes) return false; + if (ATypeUpShowProb != other.ATypeUpShowProb) return false; + if (BTypeUpShowProb != other.BTypeUpShowProb) return false; + if (StorageId != other.StorageId) return false; + if (StartTime != other.StartTime) return false; + if (EndTime != other.EndTime) return false; + if (Sort != other.Sort) return false; + if (Icon != other.Icon) return false; + if (Image != other.Image) return false; + if(!uPCharacter_.Equals(other.uPCharacter_)) return false; + if(!uPOutfit_.Equals(other.uPOutfit_)) return false; + if(!character_.Equals(other.character_)) return false; + if(!outfit_.Equals(other.outfit_)) return false; + if (Tag != other.Tag) return false; + if (Voice != other.Voice) 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 (DefaultId != 0) hash ^= DefaultId.GetHashCode(); + if (DefaultQty != 0) hash ^= DefaultQty.GetHashCode(); + if (CostId != 0) hash ^= CostId.GetHashCode(); + if (CostQty != 0) hash ^= CostQty.GetHashCode(); + if (OncePreferred.Length != 0) hash ^= OncePreferred.GetHashCode(); + if (TenTimesPreferred.Length != 0) hash ^= TenTimesPreferred.GetHashCode(); + if (LimitTimes != 0) hash ^= LimitTimes.GetHashCode(); + if (ATypeUpShowProb != 0) hash ^= ATypeUpShowProb.GetHashCode(); + if (BTypeUpShowProb != 0) hash ^= BTypeUpShowProb.GetHashCode(); + if (StorageId != 0) hash ^= StorageId.GetHashCode(); + if (StartTime.Length != 0) hash ^= StartTime.GetHashCode(); + if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Image.Length != 0) hash ^= Image.GetHashCode(); + hash ^= uPCharacter_.GetHashCode(); + hash ^= uPOutfit_.GetHashCode(); + hash ^= character_.GetHashCode(); + hash ^= outfit_.GetHashCode(); + if (Tag.Length != 0) hash ^= Tag.GetHashCode(); + if (Voice.Length != 0) hash ^= Voice.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 (DefaultId != 0) { + output.WriteRawTag(16); + output.WriteInt32(DefaultId); + } + if (DefaultQty != 0) { + output.WriteRawTag(24); + output.WriteInt32(DefaultQty); + } + if (CostId != 0) { + output.WriteRawTag(32); + output.WriteInt32(CostId); + } + if (CostQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(CostQty); + } + if (OncePreferred.Length != 0) { + output.WriteRawTag(50); + output.WriteString(OncePreferred); + } + if (TenTimesPreferred.Length != 0) { + output.WriteRawTag(58); + output.WriteString(TenTimesPreferred); + } + if (LimitTimes != 0) { + output.WriteRawTag(64); + output.WriteInt32(LimitTimes); + } + if (ATypeUpShowProb != 0) { + output.WriteRawTag(72); + output.WriteInt32(ATypeUpShowProb); + } + if (BTypeUpShowProb != 0) { + output.WriteRawTag(80); + output.WriteInt32(BTypeUpShowProb); + } + if (StorageId != 0) { + output.WriteRawTag(88); + output.WriteInt32(StorageId); + } + if (StartTime.Length != 0) { + output.WriteRawTag(98); + output.WriteString(StartTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(106); + output.WriteString(EndTime); + } + if (Sort != 0) { + output.WriteRawTag(112); + output.WriteInt32(Sort); + } + if (Icon.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Icon); + } + if (Image.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Image); + } + uPCharacter_.WriteTo(output, _repeated_uPCharacter_codec); + uPOutfit_.WriteTo(output, _repeated_uPOutfit_codec); + character_.WriteTo(output, _repeated_character_codec); + outfit_.WriteTo(output, _repeated_outfit_codec); + if (Tag.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Tag); + } + if (Voice.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Voice); + } + 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 (DefaultId != 0) { + output.WriteRawTag(16); + output.WriteInt32(DefaultId); + } + if (DefaultQty != 0) { + output.WriteRawTag(24); + output.WriteInt32(DefaultQty); + } + if (CostId != 0) { + output.WriteRawTag(32); + output.WriteInt32(CostId); + } + if (CostQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(CostQty); + } + if (OncePreferred.Length != 0) { + output.WriteRawTag(50); + output.WriteString(OncePreferred); + } + if (TenTimesPreferred.Length != 0) { + output.WriteRawTag(58); + output.WriteString(TenTimesPreferred); + } + if (LimitTimes != 0) { + output.WriteRawTag(64); + output.WriteInt32(LimitTimes); + } + if (ATypeUpShowProb != 0) { + output.WriteRawTag(72); + output.WriteInt32(ATypeUpShowProb); + } + if (BTypeUpShowProb != 0) { + output.WriteRawTag(80); + output.WriteInt32(BTypeUpShowProb); + } + if (StorageId != 0) { + output.WriteRawTag(88); + output.WriteInt32(StorageId); + } + if (StartTime.Length != 0) { + output.WriteRawTag(98); + output.WriteString(StartTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(106); + output.WriteString(EndTime); + } + if (Sort != 0) { + output.WriteRawTag(112); + output.WriteInt32(Sort); + } + if (Icon.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Icon); + } + if (Image.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Image); + } + uPCharacter_.WriteTo(ref output, _repeated_uPCharacter_codec); + uPOutfit_.WriteTo(ref output, _repeated_uPOutfit_codec); + character_.WriteTo(ref output, _repeated_character_codec); + outfit_.WriteTo(ref output, _repeated_outfit_codec); + if (Tag.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Tag); + } + if (Voice.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Voice); + } + 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 (DefaultId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultId); + } + if (DefaultQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultQty); + } + if (CostId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CostId); + } + if (CostQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CostQty); + } + if (OncePreferred.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OncePreferred); + } + if (TenTimesPreferred.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenTimesPreferred); + } + if (LimitTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitTimes); + } + if (ATypeUpShowProb != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ATypeUpShowProb); + } + if (BTypeUpShowProb != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BTypeUpShowProb); + } + if (StorageId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StorageId); + } + if (StartTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StartTime); + } + if (EndTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Image.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Image); + } + size += uPCharacter_.CalculateSize(_repeated_uPCharacter_codec); + size += uPOutfit_.CalculateSize(_repeated_uPOutfit_codec); + size += character_.CalculateSize(_repeated_character_codec); + size += outfit_.CalculateSize(_repeated_outfit_codec); + if (Tag.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag); + } + if (Voice.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Voice); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Gacha other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.DefaultId != 0) { + DefaultId = other.DefaultId; + } + if (other.DefaultQty != 0) { + DefaultQty = other.DefaultQty; + } + if (other.CostId != 0) { + CostId = other.CostId; + } + if (other.CostQty != 0) { + CostQty = other.CostQty; + } + if (other.OncePreferred.Length != 0) { + OncePreferred = other.OncePreferred; + } + if (other.TenTimesPreferred.Length != 0) { + TenTimesPreferred = other.TenTimesPreferred; + } + if (other.LimitTimes != 0) { + LimitTimes = other.LimitTimes; + } + if (other.ATypeUpShowProb != 0) { + ATypeUpShowProb = other.ATypeUpShowProb; + } + if (other.BTypeUpShowProb != 0) { + BTypeUpShowProb = other.BTypeUpShowProb; + } + if (other.StorageId != 0) { + StorageId = other.StorageId; + } + if (other.StartTime.Length != 0) { + StartTime = other.StartTime; + } + if (other.EndTime.Length != 0) { + EndTime = other.EndTime; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Image.Length != 0) { + Image = other.Image; + } + uPCharacter_.Add(other.uPCharacter_); + uPOutfit_.Add(other.uPOutfit_); + character_.Add(other.character_); + outfit_.Add(other.outfit_); + if (other.Tag.Length != 0) { + Tag = other.Tag; + } + if (other.Voice.Length != 0) { + Voice = other.Voice; + } + _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: { + DefaultId = input.ReadInt32(); + break; + } + case 24: { + DefaultQty = input.ReadInt32(); + break; + } + case 32: { + CostId = input.ReadInt32(); + break; + } + case 40: { + CostQty = input.ReadInt32(); + break; + } + case 50: { + OncePreferred = input.ReadString(); + break; + } + case 58: { + TenTimesPreferred = input.ReadString(); + break; + } + case 64: { + LimitTimes = input.ReadInt32(); + break; + } + case 72: { + ATypeUpShowProb = input.ReadInt32(); + break; + } + case 80: { + BTypeUpShowProb = input.ReadInt32(); + break; + } + case 88: { + StorageId = input.ReadInt32(); + break; + } + case 98: { + StartTime = input.ReadString(); + break; + } + case 106: { + EndTime = input.ReadString(); + break; + } + case 112: { + Sort = input.ReadInt32(); + break; + } + case 122: { + Icon = input.ReadString(); + break; + } + case 130: { + Image = input.ReadString(); + break; + } + case 138: + case 136: { + uPCharacter_.AddEntriesFrom(input, _repeated_uPCharacter_codec); + break; + } + case 146: + case 144: { + uPOutfit_.AddEntriesFrom(input, _repeated_uPOutfit_codec); + break; + } + case 154: + case 152: { + character_.AddEntriesFrom(input, _repeated_character_codec); + break; + } + case 162: + case 160: { + outfit_.AddEntriesFrom(input, _repeated_outfit_codec); + break; + } + case 170: { + Tag = input.ReadString(); + break; + } + case 178: { + Voice = 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: { + DefaultId = input.ReadInt32(); + break; + } + case 24: { + DefaultQty = input.ReadInt32(); + break; + } + case 32: { + CostId = input.ReadInt32(); + break; + } + case 40: { + CostQty = input.ReadInt32(); + break; + } + case 50: { + OncePreferred = input.ReadString(); + break; + } + case 58: { + TenTimesPreferred = input.ReadString(); + break; + } + case 64: { + LimitTimes = input.ReadInt32(); + break; + } + case 72: { + ATypeUpShowProb = input.ReadInt32(); + break; + } + case 80: { + BTypeUpShowProb = input.ReadInt32(); + break; + } + case 88: { + StorageId = input.ReadInt32(); + break; + } + case 98: { + StartTime = input.ReadString(); + break; + } + case 106: { + EndTime = input.ReadString(); + break; + } + case 112: { + Sort = input.ReadInt32(); + break; + } + case 122: { + Icon = input.ReadString(); + break; + } + case 130: { + Image = input.ReadString(); + break; + } + case 138: + case 136: { + uPCharacter_.AddEntriesFrom(ref input, _repeated_uPCharacter_codec); + break; + } + case 146: + case 144: { + uPOutfit_.AddEntriesFrom(ref input, _repeated_uPOutfit_codec); + break; + } + case 154: + case 152: { + character_.AddEntriesFrom(ref input, _repeated_character_codec); + break; + } + case 162: + case 160: { + outfit_.AddEntriesFrom(ref input, _repeated_outfit_codec); + break; + } + case 170: { + Tag = input.ReadString(); + break; + } + case 178: { + Voice = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Gacha : pb::IMessage<table_Gacha> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Gacha> _parser = new pb::MessageParser<table_Gacha>(() => new table_Gacha()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Gacha> 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.ClientTableReflection.Descriptor.MessageTypes[195]; } + } + + [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 table_Gacha() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Gacha(table_Gacha other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Gacha Clone() { + return new table_Gacha(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Gacha> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Gacha.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Gacha> list_ = new pbc::RepeatedField<global::Nova.Client.Gacha>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Gacha> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Gacha); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Gacha other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Gacha other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaAcquireReward : pb::IMessage<GachaAcquireReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GachaAcquireReward> _parser = new pb::MessageParser<GachaAcquireReward>(() => new GachaAcquireReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GachaAcquireReward> 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.ClientTableReflection.Descriptor.MessageTypes[196]; } + } + + [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 GachaAcquireReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaAcquireReward(GachaAcquireReward other) : this() { + id_ = other.id_; + itemStype_ = other.itemStype_; + itemRarity_ = other.itemRarity_; + acquireTimes_ = other.acquireTimes_; + itemId_ = other.itemId_; + itemNum_ = other.itemNum_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaAcquireReward Clone() { + return new GachaAcquireReward(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 "itemStype" field.</summary> + public const int ItemStypeFieldNumber = 2; + private int itemStype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemStype { + get { return itemStype_; } + set { + itemStype_ = value; + } + } + + /// <summary>Field number for the "itemRarity" field.</summary> + public const int ItemRarityFieldNumber = 3; + private int itemRarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemRarity { + get { return itemRarity_; } + set { + itemRarity_ = value; + } + } + + /// <summary>Field number for the "AcquireTimes" field.</summary> + public const int AcquireTimesFieldNumber = 4; + private int acquireTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AcquireTimes { + get { return acquireTimes_; } + set { + acquireTimes_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 5; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemNum" field.</summary> + public const int ItemNumFieldNumber = 6; + private int itemNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemNum { + get { return itemNum_; } + set { + itemNum_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GachaAcquireReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaAcquireReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ItemStype != other.ItemStype) return false; + if (ItemRarity != other.ItemRarity) return false; + if (AcquireTimes != other.AcquireTimes) return false; + if (ItemId != other.ItemId) return false; + if (ItemNum != other.ItemNum) 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 (ItemStype != 0) hash ^= ItemStype.GetHashCode(); + if (ItemRarity != 0) hash ^= ItemRarity.GetHashCode(); + if (AcquireTimes != 0) hash ^= AcquireTimes.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemNum != 0) hash ^= ItemNum.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 (ItemStype != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemStype); + } + if (ItemRarity != 0) { + output.WriteRawTag(24); + output.WriteInt32(ItemRarity); + } + if (AcquireTimes != 0) { + output.WriteRawTag(32); + output.WriteInt32(AcquireTimes); + } + if (ItemId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemId); + } + if (ItemNum != 0) { + output.WriteRawTag(48); + output.WriteInt32(ItemNum); + } + 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 (ItemStype != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemStype); + } + if (ItemRarity != 0) { + output.WriteRawTag(24); + output.WriteInt32(ItemRarity); + } + if (AcquireTimes != 0) { + output.WriteRawTag(32); + output.WriteInt32(AcquireTimes); + } + if (ItemId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemId); + } + if (ItemNum != 0) { + output.WriteRawTag(48); + output.WriteInt32(ItemNum); + } + 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 (ItemStype != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemStype); + } + if (ItemRarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemRarity); + } + if (AcquireTimes != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AcquireTimes); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemNum); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaAcquireReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ItemStype != 0) { + ItemStype = other.ItemStype; + } + if (other.ItemRarity != 0) { + ItemRarity = other.ItemRarity; + } + if (other.AcquireTimes != 0) { + AcquireTimes = other.AcquireTimes; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemNum != 0) { + ItemNum = other.ItemNum; + } + _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: { + ItemStype = input.ReadInt32(); + break; + } + case 24: { + ItemRarity = input.ReadInt32(); + break; + } + case 32: { + AcquireTimes = input.ReadInt32(); + break; + } + case 40: { + ItemId = input.ReadInt32(); + break; + } + case 48: { + ItemNum = 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: { + ItemStype = input.ReadInt32(); + break; + } + case 24: { + ItemRarity = input.ReadInt32(); + break; + } + case 32: { + AcquireTimes = input.ReadInt32(); + break; + } + case 40: { + ItemId = input.ReadInt32(); + break; + } + case 48: { + ItemNum = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GachaAcquireReward : pb::IMessage<table_GachaAcquireReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GachaAcquireReward> _parser = new pb::MessageParser<table_GachaAcquireReward>(() => new table_GachaAcquireReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GachaAcquireReward> 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.ClientTableReflection.Descriptor.MessageTypes[197]; } + } + + [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 table_GachaAcquireReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GachaAcquireReward(table_GachaAcquireReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GachaAcquireReward Clone() { + return new table_GachaAcquireReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GachaAcquireReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GachaAcquireReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GachaAcquireReward> list_ = new pbc::RepeatedField<global::Nova.Client.GachaAcquireReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GachaAcquireReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GachaAcquireReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GachaAcquireReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GachaAcquireReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GachaType : pb::IMessage<GachaType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GachaType> _parser = new pb::MessageParser<GachaType>(() => new GachaType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GachaType> 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.ClientTableReflection.Descriptor.MessageTypes[198]; } + } + + [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 GachaType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaType(GachaType other) : this() { + id_ = other.id_; + name_ = other.name_; + coinItem_ = other.coinItem_.Clone(); + title1_ = other.title1_; + desc1_ = other.desc1_; + title2_ = other.title2_; + desc2_ = other.desc2_; + title3_ = other.title3_; + desc3_ = other.desc3_; + title4_ = other.title4_; + desc4_ = other.desc4_; + desc5_ = other.desc5_; + title5_ = other.title5_; + desc6_ = other.desc6_; + desc7_ = other.desc7_; + desc8_ = other.desc8_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GachaType Clone() { + return new GachaType(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 "CoinItem" field.</summary> + public const int CoinItemFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_coinItem_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> coinItem_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CoinItem { + get { return coinItem_; } + } + + /// <summary>Field number for the "Title1" field.</summary> + public const int Title1FieldNumber = 4; + private string title1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title1 { + get { return title1_; } + set { + title1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc1" field.</summary> + public const int Desc1FieldNumber = 5; + private string desc1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc1 { + get { return desc1_; } + set { + desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title2" field.</summary> + public const int Title2FieldNumber = 6; + private string title2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title2 { + get { return title2_; } + set { + title2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc2" field.</summary> + public const int Desc2FieldNumber = 7; + private string desc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc2 { + get { return desc2_; } + set { + desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title3" field.</summary> + public const int Title3FieldNumber = 8; + private string title3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title3 { + get { return title3_; } + set { + title3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc3" field.</summary> + public const int Desc3FieldNumber = 9; + private string desc3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc3 { + get { return desc3_; } + set { + desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title4" field.</summary> + public const int Title4FieldNumber = 10; + private string title4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title4 { + get { return title4_; } + set { + title4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc4" field.</summary> + public const int Desc4FieldNumber = 11; + private string desc4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc4 { + get { return desc4_; } + set { + desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc5" field.</summary> + public const int Desc5FieldNumber = 12; + private string desc5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc5 { + get { return desc5_; } + set { + desc5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title5" field.</summary> + public const int Title5FieldNumber = 13; + private string title5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title5 { + get { return title5_; } + set { + title5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc6" field.</summary> + public const int Desc6FieldNumber = 14; + private string desc6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc6 { + get { return desc6_; } + set { + desc6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc7" field.</summary> + public const int Desc7FieldNumber = 15; + private string desc7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc7 { + get { return desc7_; } + set { + desc7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc8" field.</summary> + public const int Desc8FieldNumber = 16; + private string desc8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc8 { + get { return desc8_; } + set { + desc8_ = 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 GachaType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GachaType 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(!coinItem_.Equals(other.coinItem_)) return false; + if (Title1 != other.Title1) return false; + if (Desc1 != other.Desc1) return false; + if (Title2 != other.Title2) return false; + if (Desc2 != other.Desc2) return false; + if (Title3 != other.Title3) return false; + if (Desc3 != other.Desc3) return false; + if (Title4 != other.Title4) return false; + if (Desc4 != other.Desc4) return false; + if (Desc5 != other.Desc5) return false; + if (Title5 != other.Title5) return false; + if (Desc6 != other.Desc6) return false; + if (Desc7 != other.Desc7) return false; + if (Desc8 != other.Desc8) 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(); + hash ^= coinItem_.GetHashCode(); + if (Title1.Length != 0) hash ^= Title1.GetHashCode(); + if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); + if (Title2.Length != 0) hash ^= Title2.GetHashCode(); + if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); + if (Title3.Length != 0) hash ^= Title3.GetHashCode(); + if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); + if (Title4.Length != 0) hash ^= Title4.GetHashCode(); + if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); + if (Desc5.Length != 0) hash ^= Desc5.GetHashCode(); + if (Title5.Length != 0) hash ^= Title5.GetHashCode(); + if (Desc6.Length != 0) hash ^= Desc6.GetHashCode(); + if (Desc7.Length != 0) hash ^= Desc7.GetHashCode(); + if (Desc8.Length != 0) hash ^= Desc8.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); + } + coinItem_.WriteTo(output, _repeated_coinItem_codec); + if (Title1.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title1); + } + if (Desc1.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc1); + } + if (Title2.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title2); + } + if (Desc2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc2); + } + if (Title3.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Title3); + } + if (Desc3.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc3); + } + if (Title4.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Title4); + } + if (Desc4.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Desc4); + } + if (Desc5.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Desc5); + } + if (Title5.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Title5); + } + if (Desc6.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Desc6); + } + if (Desc7.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Desc7); + } + if (Desc8.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Desc8); + } + 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); + } + coinItem_.WriteTo(ref output, _repeated_coinItem_codec); + if (Title1.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title1); + } + if (Desc1.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc1); + } + if (Title2.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title2); + } + if (Desc2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc2); + } + if (Title3.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Title3); + } + if (Desc3.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc3); + } + if (Title4.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Title4); + } + if (Desc4.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Desc4); + } + if (Desc5.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Desc5); + } + if (Title5.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Title5); + } + if (Desc6.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Desc6); + } + if (Desc7.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Desc7); + } + if (Desc8.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Desc8); + } + 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); + } + size += coinItem_.CalculateSize(_repeated_coinItem_codec); + if (Title1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title1); + } + if (Desc1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); + } + if (Title2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title2); + } + if (Desc2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); + } + if (Title3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title3); + } + if (Desc3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); + } + if (Title4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title4); + } + if (Desc4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc4); + } + if (Desc5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc5); + } + if (Title5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title5); + } + if (Desc6.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc6); + } + if (Desc7.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc7); + } + if (Desc8.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc8); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GachaType other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + coinItem_.Add(other.coinItem_); + if (other.Title1.Length != 0) { + Title1 = other.Title1; + } + if (other.Desc1.Length != 0) { + Desc1 = other.Desc1; + } + if (other.Title2.Length != 0) { + Title2 = other.Title2; + } + if (other.Desc2.Length != 0) { + Desc2 = other.Desc2; + } + if (other.Title3.Length != 0) { + Title3 = other.Title3; + } + if (other.Desc3.Length != 0) { + Desc3 = other.Desc3; + } + if (other.Title4.Length != 0) { + Title4 = other.Title4; + } + if (other.Desc4.Length != 0) { + Desc4 = other.Desc4; + } + if (other.Desc5.Length != 0) { + Desc5 = other.Desc5; + } + if (other.Title5.Length != 0) { + Title5 = other.Title5; + } + if (other.Desc6.Length != 0) { + Desc6 = other.Desc6; + } + if (other.Desc7.Length != 0) { + Desc7 = other.Desc7; + } + if (other.Desc8.Length != 0) { + Desc8 = other.Desc8; + } + _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 26: + case 24: { + coinItem_.AddEntriesFrom(input, _repeated_coinItem_codec); + break; + } + case 34: { + Title1 = input.ReadString(); + break; + } + case 42: { + Desc1 = input.ReadString(); + break; + } + case 50: { + Title2 = input.ReadString(); + break; + } + case 58: { + Desc2 = input.ReadString(); + break; + } + case 66: { + Title3 = input.ReadString(); + break; + } + case 74: { + Desc3 = input.ReadString(); + break; + } + case 82: { + Title4 = input.ReadString(); + break; + } + case 90: { + Desc4 = input.ReadString(); + break; + } + case 98: { + Desc5 = input.ReadString(); + break; + } + case 106: { + Title5 = input.ReadString(); + break; + } + case 114: { + Desc6 = input.ReadString(); + break; + } + case 122: { + Desc7 = input.ReadString(); + break; + } + case 130: { + Desc8 = 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 18: { + Name = input.ReadString(); + break; + } + case 26: + case 24: { + coinItem_.AddEntriesFrom(ref input, _repeated_coinItem_codec); + break; + } + case 34: { + Title1 = input.ReadString(); + break; + } + case 42: { + Desc1 = input.ReadString(); + break; + } + case 50: { + Title2 = input.ReadString(); + break; + } + case 58: { + Desc2 = input.ReadString(); + break; + } + case 66: { + Title3 = input.ReadString(); + break; + } + case 74: { + Desc3 = input.ReadString(); + break; + } + case 82: { + Title4 = input.ReadString(); + break; + } + case 90: { + Desc4 = input.ReadString(); + break; + } + case 98: { + Desc5 = input.ReadString(); + break; + } + case 106: { + Title5 = input.ReadString(); + break; + } + case 114: { + Desc6 = input.ReadString(); + break; + } + case 122: { + Desc7 = input.ReadString(); + break; + } + case 130: { + Desc8 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GachaType : pb::IMessage<table_GachaType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GachaType> _parser = new pb::MessageParser<table_GachaType>(() => new table_GachaType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GachaType> 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.ClientTableReflection.Descriptor.MessageTypes[199]; } + } + + [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 table_GachaType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GachaType(table_GachaType other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GachaType Clone() { + return new table_GachaType(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GachaType> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GachaType.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GachaType> list_ = new pbc::RepeatedField<global::Nova.Client.GachaType>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GachaType> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GachaType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GachaType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GachaType other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GamepadButton : pb::IMessage<GamepadButton> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GamepadButton> _parser = new pb::MessageParser<GamepadButton>(() => new GamepadButton()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GamepadButton> 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.ClientTableReflection.Descriptor.MessageTypes[200]; } + } + + [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 GamepadButton() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GamepadButton(GamepadButton other) : this() { + id_ = other.id_; + xboxIcon_ = other.xboxIcon_; + playStationIcon_ = other.playStationIcon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GamepadButton Clone() { + return new GamepadButton(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "XboxIcon" field.</summary> + public const int XboxIconFieldNumber = 2; + private string xboxIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string XboxIcon { + get { return xboxIcon_; } + set { + xboxIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PlayStationIcon" field.</summary> + public const int PlayStationIconFieldNumber = 3; + private string playStationIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PlayStationIcon { + get { return playStationIcon_; } + set { + playStationIcon_ = 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 GamepadButton); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GamepadButton other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (XboxIcon != other.XboxIcon) return false; + if (PlayStationIcon != other.PlayStationIcon) 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.Length != 0) hash ^= Id.GetHashCode(); + if (XboxIcon.Length != 0) hash ^= XboxIcon.GetHashCode(); + if (PlayStationIcon.Length != 0) hash ^= PlayStationIcon.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (XboxIcon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(XboxIcon); + } + if (PlayStationIcon.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PlayStationIcon); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (XboxIcon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(XboxIcon); + } + if (PlayStationIcon.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PlayStationIcon); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (XboxIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(XboxIcon); + } + if (PlayStationIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayStationIcon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GamepadButton other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.XboxIcon.Length != 0) { + XboxIcon = other.XboxIcon; + } + if (other.PlayStationIcon.Length != 0) { + PlayStationIcon = other.PlayStationIcon; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + XboxIcon = input.ReadString(); + break; + } + case 26: { + PlayStationIcon = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + XboxIcon = input.ReadString(); + break; + } + case 26: { + PlayStationIcon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GamepadButton : pb::IMessage<table_GamepadButton> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GamepadButton> _parser = new pb::MessageParser<table_GamepadButton>(() => new table_GamepadButton()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GamepadButton> 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.ClientTableReflection.Descriptor.MessageTypes[201]; } + } + + [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 table_GamepadButton() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GamepadButton(table_GamepadButton other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GamepadButton Clone() { + return new table_GamepadButton(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GamepadButton> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GamepadButton.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GamepadButton> list_ = new pbc::RepeatedField<global::Nova.Client.GamepadButton>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GamepadButton> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GamepadButton); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GamepadButton other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GamepadButton other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GMBuild : pb::IMessage<GMBuild> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GMBuild> _parser = new pb::MessageParser<GMBuild>(() => new GMBuild()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GMBuild> 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.ClientTableReflection.Descriptor.MessageTypes[202]; } + } + + [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 GMBuild() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GMBuild(GMBuild other) : this() { + id_ = other.id_; + buildData_ = other.buildData_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GMBuild Clone() { + return new GMBuild(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 "BuildData" field.</summary> + public const int BuildDataFieldNumber = 2; + private string buildData_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BuildData { + get { return buildData_; } + set { + buildData_ = 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 GMBuild); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GMBuild other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BuildData != other.BuildData) 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 (BuildData.Length != 0) hash ^= BuildData.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 (BuildData.Length != 0) { + output.WriteRawTag(18); + output.WriteString(BuildData); + } + 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 (BuildData.Length != 0) { + output.WriteRawTag(18); + output.WriteString(BuildData); + } + 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 (BuildData.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BuildData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GMBuild other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BuildData.Length != 0) { + BuildData = other.BuildData; + } + _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: { + BuildData = 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 18: { + BuildData = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GMBuild : pb::IMessage<table_GMBuild> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GMBuild> _parser = new pb::MessageParser<table_GMBuild>(() => new table_GMBuild()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GMBuild> 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.ClientTableReflection.Descriptor.MessageTypes[203]; } + } + + [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 table_GMBuild() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GMBuild(table_GMBuild other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GMBuild Clone() { + return new table_GMBuild(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GMBuild> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GMBuild.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GMBuild> list_ = new pbc::RepeatedField<global::Nova.Client.GMBuild>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GMBuild> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GMBuild); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GMBuild other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GMBuild other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GMOrder : pb::IMessage<GMOrder> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GMOrder> _parser = new pb::MessageParser<GMOrder>(() => new GMOrder()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GMOrder> 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.ClientTableReflection.Descriptor.MessageTypes[204]; } + } + + [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 GMOrder() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GMOrder(GMOrder other) : this() { + order_ = other.order_; + desc_ = other.desc_; + paramCount_ = other.paramCount_; + paramName1_ = other.paramName1_; + paramName2_ = other.paramName2_; + paramName3_ = other.paramName3_; + paramName4_ = other.paramName4_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GMOrder Clone() { + return new GMOrder(this); + } + + /// <summary>Field number for the "Order" field.</summary> + public const int OrderFieldNumber = 1; + private string order_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Order { + get { return order_; } + set { + order_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 2; + 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 "ParamCount" field.</summary> + public const int ParamCountFieldNumber = 3; + private int paramCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ParamCount { + get { return paramCount_; } + set { + paramCount_ = value; + } + } + + /// <summary>Field number for the "ParamName1" field.</summary> + public const int ParamName1FieldNumber = 4; + private string paramName1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParamName1 { + get { return paramName1_; } + set { + paramName1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ParamName2" field.</summary> + public const int ParamName2FieldNumber = 5; + private string paramName2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParamName2 { + get { return paramName2_; } + set { + paramName2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ParamName3" field.</summary> + public const int ParamName3FieldNumber = 6; + private string paramName3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParamName3 { + get { return paramName3_; } + set { + paramName3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ParamName4" field.</summary> + public const int ParamName4FieldNumber = 7; + private string paramName4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParamName4 { + get { return paramName4_; } + set { + paramName4_ = 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 GMOrder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GMOrder other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Order != other.Order) return false; + if (Desc != other.Desc) return false; + if (ParamCount != other.ParamCount) return false; + if (ParamName1 != other.ParamName1) return false; + if (ParamName2 != other.ParamName2) return false; + if (ParamName3 != other.ParamName3) return false; + if (ParamName4 != other.ParamName4) 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 (Order.Length != 0) hash ^= Order.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (ParamCount != 0) hash ^= ParamCount.GetHashCode(); + if (ParamName1.Length != 0) hash ^= ParamName1.GetHashCode(); + if (ParamName2.Length != 0) hash ^= ParamName2.GetHashCode(); + if (ParamName3.Length != 0) hash ^= ParamName3.GetHashCode(); + if (ParamName4.Length != 0) hash ^= ParamName4.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 (Order.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Order); + } + if (Desc.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Desc); + } + if (ParamCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ParamCount); + } + if (ParamName1.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ParamName1); + } + if (ParamName2.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ParamName2); + } + if (ParamName3.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ParamName3); + } + if (ParamName4.Length != 0) { + output.WriteRawTag(58); + output.WriteString(ParamName4); + } + 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 (Order.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Order); + } + if (Desc.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Desc); + } + if (ParamCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ParamCount); + } + if (ParamName1.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ParamName1); + } + if (ParamName2.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ParamName2); + } + if (ParamName3.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ParamName3); + } + if (ParamName4.Length != 0) { + output.WriteRawTag(58); + output.WriteString(ParamName4); + } + 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 (Order.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Order); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (ParamCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParamCount); + } + if (ParamName1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName1); + } + if (ParamName2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName2); + } + if (ParamName3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName3); + } + if (ParamName4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName4); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GMOrder other) { + if (other == null) { + return; + } + if (other.Order.Length != 0) { + Order = other.Order; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.ParamCount != 0) { + ParamCount = other.ParamCount; + } + if (other.ParamName1.Length != 0) { + ParamName1 = other.ParamName1; + } + if (other.ParamName2.Length != 0) { + ParamName2 = other.ParamName2; + } + if (other.ParamName3.Length != 0) { + ParamName3 = other.ParamName3; + } + if (other.ParamName4.Length != 0) { + ParamName4 = other.ParamName4; + } + _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 10: { + Order = input.ReadString(); + break; + } + case 18: { + Desc = input.ReadString(); + break; + } + case 24: { + ParamCount = input.ReadInt32(); + break; + } + case 34: { + ParamName1 = input.ReadString(); + break; + } + case 42: { + ParamName2 = input.ReadString(); + break; + } + case 50: { + ParamName3 = input.ReadString(); + break; + } + case 58: { + ParamName4 = 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 10: { + Order = input.ReadString(); + break; + } + case 18: { + Desc = input.ReadString(); + break; + } + case 24: { + ParamCount = input.ReadInt32(); + break; + } + case 34: { + ParamName1 = input.ReadString(); + break; + } + case 42: { + ParamName2 = input.ReadString(); + break; + } + case 50: { + ParamName3 = input.ReadString(); + break; + } + case 58: { + ParamName4 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GMOrder : pb::IMessage<table_GMOrder> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GMOrder> _parser = new pb::MessageParser<table_GMOrder>(() => new table_GMOrder()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GMOrder> 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.ClientTableReflection.Descriptor.MessageTypes[205]; } + } + + [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 table_GMOrder() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GMOrder(table_GMOrder other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GMOrder Clone() { + return new table_GMOrder(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GMOrder> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GMOrder.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GMOrder> list_ = new pbc::RepeatedField<global::Nova.Client.GMOrder>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GMOrder> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GMOrder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GMOrder other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GMOrder other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GMTeam : pb::IMessage<GMTeam> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GMTeam> _parser = new pb::MessageParser<GMTeam>(() => new GMTeam()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GMTeam> 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.ClientTableReflection.Descriptor.MessageTypes[206]; } + } + + [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 GMTeam() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GMTeam(GMTeam other) : this() { + id_ = other.id_; + name_ = other.name_; + teamCharacter_ = other.teamCharacter_.Clone(); + teamDisc_ = other.teamDisc_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GMTeam Clone() { + return new GMTeam(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 "TeamCharacter" field.</summary> + public const int TeamCharacterFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_teamCharacter_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> teamCharacter_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TeamCharacter { + get { return teamCharacter_; } + } + + /// <summary>Field number for the "TeamDisc" field.</summary> + public const int TeamDiscFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_teamDisc_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> teamDisc_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TeamDisc { + get { return teamDisc_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GMTeam); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GMTeam 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(!teamCharacter_.Equals(other.teamCharacter_)) return false; + if(!teamDisc_.Equals(other.teamDisc_)) 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(); + hash ^= teamCharacter_.GetHashCode(); + hash ^= teamDisc_.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); + } + teamCharacter_.WriteTo(output, _repeated_teamCharacter_codec); + teamDisc_.WriteTo(output, _repeated_teamDisc_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + teamCharacter_.WriteTo(ref output, _repeated_teamCharacter_codec); + teamDisc_.WriteTo(ref output, _repeated_teamDisc_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + size += teamCharacter_.CalculateSize(_repeated_teamCharacter_codec); + size += teamDisc_.CalculateSize(_repeated_teamDisc_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GMTeam other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + teamCharacter_.Add(other.teamCharacter_); + teamDisc_.Add(other.teamDisc_); + _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 26: + case 24: { + teamCharacter_.AddEntriesFrom(input, _repeated_teamCharacter_codec); + break; + } + case 34: + case 32: { + teamDisc_.AddEntriesFrom(input, _repeated_teamDisc_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 18: { + Name = input.ReadString(); + break; + } + case 26: + case 24: { + teamCharacter_.AddEntriesFrom(ref input, _repeated_teamCharacter_codec); + break; + } + case 34: + case 32: { + teamDisc_.AddEntriesFrom(ref input, _repeated_teamDisc_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GMTeam : pb::IMessage<table_GMTeam> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GMTeam> _parser = new pb::MessageParser<table_GMTeam>(() => new table_GMTeam()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GMTeam> 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.ClientTableReflection.Descriptor.MessageTypes[207]; } + } + + [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 table_GMTeam() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GMTeam(table_GMTeam other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GMTeam Clone() { + return new table_GMTeam(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GMTeam> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GMTeam.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GMTeam> list_ = new pbc::RepeatedField<global::Nova.Client.GMTeam>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GMTeam> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GMTeam); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GMTeam other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GMTeam other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Guide : pb::IMessage<Guide> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Guide> _parser = new pb::MessageParser<Guide>(() => new Guide()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Guide> 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.ClientTableReflection.Descriptor.MessageTypes[208]; } + } + + [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 Guide() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Guide(Guide other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + step_ = other.step_; + type_ = other.type_; + guidePrepose_ = other.guidePrepose_; + preposeParams_ = other.preposeParams_; + guideTrigger_ = other.guideTrigger_; + triggerParams_ = other.triggerParams_; + endType_ = other.endType_; + centerOffset_ = other.centerOffset_; + bindIcon_ = other.bindIcon_.Clone(); + bindIconChildCount_ = other.bindIconChildCount_; + size_ = other.size_.Clone(); + deviation_ = other.deviation_.Clone(); + delay_ = other.delay_; + head_ = other.head_; + desc_ = other.desc_; + descDeviation_ = other.descDeviation_.Clone(); + handDeviation_ = other.handDeviation_.Clone(); + handRotation_ = other.handRotation_; + dictionary_ = other.dictionary_; + avgId_ = other.avgId_; + isActive_ = other.isActive_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Guide Clone() { + return new Guide(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 "GroupId" 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 "Step" field.</summary> + public const int StepFieldNumber = 3; + private int step_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Step { + get { return step_; } + set { + step_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 4; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "GuidePrepose" field.</summary> + public const int GuidePreposeFieldNumber = 5; + private int guidePrepose_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuidePrepose { + get { return guidePrepose_; } + set { + guidePrepose_ = value; + } + } + + /// <summary>Field number for the "PreposeParams" field.</summary> + public const int PreposeParamsFieldNumber = 6; + private string preposeParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PreposeParams { + get { return preposeParams_; } + set { + preposeParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GuideTrigger" field.</summary> + public const int GuideTriggerFieldNumber = 7; + private int guideTrigger_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuideTrigger { + get { return guideTrigger_; } + set { + guideTrigger_ = value; + } + } + + /// <summary>Field number for the "TriggerParams" field.</summary> + public const int TriggerParamsFieldNumber = 8; + private string triggerParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParams { + get { return triggerParams_; } + set { + triggerParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndType" field.</summary> + public const int EndTypeFieldNumber = 9; + private int endType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EndType { + get { return endType_; } + set { + endType_ = value; + } + } + + /// <summary>Field number for the "CenterOffset" field.</summary> + public const int CenterOffsetFieldNumber = 10; + private float centerOffset_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float CenterOffset { + get { return centerOffset_; } + set { + centerOffset_ = value; + } + } + + /// <summary>Field number for the "BindIcon" field.</summary> + public const int BindIconFieldNumber = 11; + private static readonly pb::FieldCodec<string> _repeated_bindIcon_codec + = pb::FieldCodec.ForString(90); + private readonly pbc::RepeatedField<string> bindIcon_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> BindIcon { + get { return bindIcon_; } + } + + /// <summary>Field number for the "BindIconChildCount" field.</summary> + public const int BindIconChildCountFieldNumber = 12; + private int bindIconChildCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BindIconChildCount { + get { return bindIconChildCount_; } + set { + bindIconChildCount_ = value; + } + } + + /// <summary>Field number for the "Size" field.</summary> + public const int SizeFieldNumber = 13; + private static readonly pb::FieldCodec<int> _repeated_size_codec + = pb::FieldCodec.ForInt32(106); + private readonly pbc::RepeatedField<int> size_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Size { + get { return size_; } + } + + /// <summary>Field number for the "Deviation" field.</summary> + public const int DeviationFieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_deviation_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> deviation_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Deviation { + get { return deviation_; } + } + + /// <summary>Field number for the "Delay" field.</summary> + public const int DelayFieldNumber = 15; + private int delay_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Delay { + get { return delay_; } + set { + delay_ = value; + } + } + + /// <summary>Field number for the "Head" field.</summary> + public const int HeadFieldNumber = 16; + private string head_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Head { + get { return head_; } + set { + head_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 17; + 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 "DescDeviation" field.</summary> + public const int DescDeviationFieldNumber = 18; + private static readonly pb::FieldCodec<int> _repeated_descDeviation_codec + = pb::FieldCodec.ForInt32(146); + private readonly pbc::RepeatedField<int> descDeviation_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DescDeviation { + get { return descDeviation_; } + } + + /// <summary>Field number for the "HandDeviation" field.</summary> + public const int HandDeviationFieldNumber = 19; + private static readonly pb::FieldCodec<int> _repeated_handDeviation_codec + = pb::FieldCodec.ForInt32(154); + private readonly pbc::RepeatedField<int> handDeviation_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> HandDeviation { + get { return handDeviation_; } + } + + /// <summary>Field number for the "HandRotation" field.</summary> + public const int HandRotationFieldNumber = 20; + private int handRotation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HandRotation { + get { return handRotation_; } + set { + handRotation_ = value; + } + } + + /// <summary>Field number for the "Dictionary" field.</summary> + public const int DictionaryFieldNumber = 21; + private int dictionary_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Dictionary { + get { return dictionary_; } + set { + dictionary_ = value; + } + } + + /// <summary>Field number for the "AvgId" field.</summary> + public const int AvgIdFieldNumber = 22; + private string avgId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AvgId { + get { return avgId_; } + set { + avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IsActive" field.</summary> + public const int IsActiveFieldNumber = 23; + private bool isActive_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsActive { + get { return isActive_; } + set { + isActive_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Guide); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Guide 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 (Step != other.Step) return false; + if (Type != other.Type) return false; + if (GuidePrepose != other.GuidePrepose) return false; + if (PreposeParams != other.PreposeParams) return false; + if (GuideTrigger != other.GuideTrigger) return false; + if (TriggerParams != other.TriggerParams) return false; + if (EndType != other.EndType) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CenterOffset, other.CenterOffset)) return false; + if(!bindIcon_.Equals(other.bindIcon_)) return false; + if (BindIconChildCount != other.BindIconChildCount) return false; + if(!size_.Equals(other.size_)) return false; + if(!deviation_.Equals(other.deviation_)) return false; + if (Delay != other.Delay) return false; + if (Head != other.Head) return false; + if (Desc != other.Desc) return false; + if(!descDeviation_.Equals(other.descDeviation_)) return false; + if(!handDeviation_.Equals(other.handDeviation_)) return false; + if (HandRotation != other.HandRotation) return false; + if (Dictionary != other.Dictionary) return false; + if (AvgId != other.AvgId) return false; + if (IsActive != other.IsActive) 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 (Step != 0) hash ^= Step.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (GuidePrepose != 0) hash ^= GuidePrepose.GetHashCode(); + if (PreposeParams.Length != 0) hash ^= PreposeParams.GetHashCode(); + if (GuideTrigger != 0) hash ^= GuideTrigger.GetHashCode(); + if (TriggerParams.Length != 0) hash ^= TriggerParams.GetHashCode(); + if (EndType != 0) hash ^= EndType.GetHashCode(); + if (CenterOffset != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CenterOffset); + hash ^= bindIcon_.GetHashCode(); + if (BindIconChildCount != 0) hash ^= BindIconChildCount.GetHashCode(); + hash ^= size_.GetHashCode(); + hash ^= deviation_.GetHashCode(); + if (Delay != 0) hash ^= Delay.GetHashCode(); + if (Head.Length != 0) hash ^= Head.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + hash ^= descDeviation_.GetHashCode(); + hash ^= handDeviation_.GetHashCode(); + if (HandRotation != 0) hash ^= HandRotation.GetHashCode(); + if (Dictionary != 0) hash ^= Dictionary.GetHashCode(); + if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); + if (IsActive != false) hash ^= IsActive.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 (Step != 0) { + output.WriteRawTag(24); + output.WriteInt32(Step); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (GuidePrepose != 0) { + output.WriteRawTag(40); + output.WriteInt32(GuidePrepose); + } + if (PreposeParams.Length != 0) { + output.WriteRawTag(50); + output.WriteString(PreposeParams); + } + if (GuideTrigger != 0) { + output.WriteRawTag(56); + output.WriteInt32(GuideTrigger); + } + if (TriggerParams.Length != 0) { + output.WriteRawTag(66); + output.WriteString(TriggerParams); + } + if (EndType != 0) { + output.WriteRawTag(72); + output.WriteInt32(EndType); + } + if (CenterOffset != 0F) { + output.WriteRawTag(85); + output.WriteFloat(CenterOffset); + } + bindIcon_.WriteTo(output, _repeated_bindIcon_codec); + if (BindIconChildCount != 0) { + output.WriteRawTag(96); + output.WriteInt32(BindIconChildCount); + } + size_.WriteTo(output, _repeated_size_codec); + deviation_.WriteTo(output, _repeated_deviation_codec); + if (Delay != 0) { + output.WriteRawTag(120); + output.WriteInt32(Delay); + } + if (Head.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Head); + } + if (Desc.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Desc); + } + descDeviation_.WriteTo(output, _repeated_descDeviation_codec); + handDeviation_.WriteTo(output, _repeated_handDeviation_codec); + if (HandRotation != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(HandRotation); + } + if (Dictionary != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Dictionary); + } + if (AvgId.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(AvgId); + } + if (IsActive != false) { + output.WriteRawTag(184, 1); + output.WriteBool(IsActive); + } + 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 (Step != 0) { + output.WriteRawTag(24); + output.WriteInt32(Step); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (GuidePrepose != 0) { + output.WriteRawTag(40); + output.WriteInt32(GuidePrepose); + } + if (PreposeParams.Length != 0) { + output.WriteRawTag(50); + output.WriteString(PreposeParams); + } + if (GuideTrigger != 0) { + output.WriteRawTag(56); + output.WriteInt32(GuideTrigger); + } + if (TriggerParams.Length != 0) { + output.WriteRawTag(66); + output.WriteString(TriggerParams); + } + if (EndType != 0) { + output.WriteRawTag(72); + output.WriteInt32(EndType); + } + if (CenterOffset != 0F) { + output.WriteRawTag(85); + output.WriteFloat(CenterOffset); + } + bindIcon_.WriteTo(ref output, _repeated_bindIcon_codec); + if (BindIconChildCount != 0) { + output.WriteRawTag(96); + output.WriteInt32(BindIconChildCount); + } + size_.WriteTo(ref output, _repeated_size_codec); + deviation_.WriteTo(ref output, _repeated_deviation_codec); + if (Delay != 0) { + output.WriteRawTag(120); + output.WriteInt32(Delay); + } + if (Head.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Head); + } + if (Desc.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Desc); + } + descDeviation_.WriteTo(ref output, _repeated_descDeviation_codec); + handDeviation_.WriteTo(ref output, _repeated_handDeviation_codec); + if (HandRotation != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(HandRotation); + } + if (Dictionary != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Dictionary); + } + if (AvgId.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(AvgId); + } + if (IsActive != false) { + output.WriteRawTag(184, 1); + output.WriteBool(IsActive); + } + 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 (Step != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Step); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (GuidePrepose != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePrepose); + } + if (PreposeParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PreposeParams); + } + if (GuideTrigger != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuideTrigger); + } + if (TriggerParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParams); + } + if (EndType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EndType); + } + if (CenterOffset != 0F) { + size += 1 + 4; + } + size += bindIcon_.CalculateSize(_repeated_bindIcon_codec); + if (BindIconChildCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BindIconChildCount); + } + size += size_.CalculateSize(_repeated_size_codec); + size += deviation_.CalculateSize(_repeated_deviation_codec); + if (Delay != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Delay); + } + if (Head.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Head); + } + if (Desc.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + size += descDeviation_.CalculateSize(_repeated_descDeviation_codec); + size += handDeviation_.CalculateSize(_repeated_handDeviation_codec); + if (HandRotation != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HandRotation); + } + if (Dictionary != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dictionary); + } + if (AvgId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AvgId); + } + if (IsActive != false) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Guide other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Step != 0) { + Step = other.Step; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.GuidePrepose != 0) { + GuidePrepose = other.GuidePrepose; + } + if (other.PreposeParams.Length != 0) { + PreposeParams = other.PreposeParams; + } + if (other.GuideTrigger != 0) { + GuideTrigger = other.GuideTrigger; + } + if (other.TriggerParams.Length != 0) { + TriggerParams = other.TriggerParams; + } + if (other.EndType != 0) { + EndType = other.EndType; + } + if (other.CenterOffset != 0F) { + CenterOffset = other.CenterOffset; + } + bindIcon_.Add(other.bindIcon_); + if (other.BindIconChildCount != 0) { + BindIconChildCount = other.BindIconChildCount; + } + size_.Add(other.size_); + deviation_.Add(other.deviation_); + if (other.Delay != 0) { + Delay = other.Delay; + } + if (other.Head.Length != 0) { + Head = other.Head; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + descDeviation_.Add(other.descDeviation_); + handDeviation_.Add(other.handDeviation_); + if (other.HandRotation != 0) { + HandRotation = other.HandRotation; + } + if (other.Dictionary != 0) { + Dictionary = other.Dictionary; + } + if (other.AvgId.Length != 0) { + AvgId = other.AvgId; + } + if (other.IsActive != false) { + IsActive = other.IsActive; + } + _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: { + Step = input.ReadInt32(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 40: { + GuidePrepose = input.ReadInt32(); + break; + } + case 50: { + PreposeParams = input.ReadString(); + break; + } + case 56: { + GuideTrigger = input.ReadInt32(); + break; + } + case 66: { + TriggerParams = input.ReadString(); + break; + } + case 72: { + EndType = input.ReadInt32(); + break; + } + case 85: { + CenterOffset = input.ReadFloat(); + break; + } + case 90: { + bindIcon_.AddEntriesFrom(input, _repeated_bindIcon_codec); + break; + } + case 96: { + BindIconChildCount = input.ReadInt32(); + break; + } + case 106: + case 104: { + size_.AddEntriesFrom(input, _repeated_size_codec); + break; + } + case 114: + case 112: { + deviation_.AddEntriesFrom(input, _repeated_deviation_codec); + break; + } + case 120: { + Delay = input.ReadInt32(); + break; + } + case 130: { + Head = input.ReadString(); + break; + } + case 138: { + Desc = input.ReadString(); + break; + } + case 146: + case 144: { + descDeviation_.AddEntriesFrom(input, _repeated_descDeviation_codec); + break; + } + case 154: + case 152: { + handDeviation_.AddEntriesFrom(input, _repeated_handDeviation_codec); + break; + } + case 160: { + HandRotation = input.ReadInt32(); + break; + } + case 168: { + Dictionary = input.ReadInt32(); + break; + } + case 178: { + AvgId = input.ReadString(); + break; + } + case 184: { + IsActive = 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 16: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + Step = input.ReadInt32(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 40: { + GuidePrepose = input.ReadInt32(); + break; + } + case 50: { + PreposeParams = input.ReadString(); + break; + } + case 56: { + GuideTrigger = input.ReadInt32(); + break; + } + case 66: { + TriggerParams = input.ReadString(); + break; + } + case 72: { + EndType = input.ReadInt32(); + break; + } + case 85: { + CenterOffset = input.ReadFloat(); + break; + } + case 90: { + bindIcon_.AddEntriesFrom(ref input, _repeated_bindIcon_codec); + break; + } + case 96: { + BindIconChildCount = input.ReadInt32(); + break; + } + case 106: + case 104: { + size_.AddEntriesFrom(ref input, _repeated_size_codec); + break; + } + case 114: + case 112: { + deviation_.AddEntriesFrom(ref input, _repeated_deviation_codec); + break; + } + case 120: { + Delay = input.ReadInt32(); + break; + } + case 130: { + Head = input.ReadString(); + break; + } + case 138: { + Desc = input.ReadString(); + break; + } + case 146: + case 144: { + descDeviation_.AddEntriesFrom(ref input, _repeated_descDeviation_codec); + break; + } + case 154: + case 152: { + handDeviation_.AddEntriesFrom(ref input, _repeated_handDeviation_codec); + break; + } + case 160: { + HandRotation = input.ReadInt32(); + break; + } + case 168: { + Dictionary = input.ReadInt32(); + break; + } + case 178: { + AvgId = input.ReadString(); + break; + } + case 184: { + IsActive = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Guide : pb::IMessage<table_Guide> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Guide> _parser = new pb::MessageParser<table_Guide>(() => new table_Guide()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Guide> 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.ClientTableReflection.Descriptor.MessageTypes[209]; } + } + + [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 table_Guide() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Guide(table_Guide other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Guide Clone() { + return new table_Guide(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Guide> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Guide.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Guide> list_ = new pbc::RepeatedField<global::Nova.Client.Guide>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Guide> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Guide); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Guide other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Guide other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GuideGroup : pb::IMessage<GuideGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<GuideGroup> _parser = new pb::MessageParser<GuideGroup>(() => new GuideGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<GuideGroup> 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.ClientTableReflection.Descriptor.MessageTypes[210]; } + } + + [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 GuideGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GuideGroup(GuideGroup other) : this() { + id_ = other.id_; + guideDetectionType_ = other.guideDetectionType_; + passiveMsg_ = other.passiveMsg_; + guidePrepose_ = other.guidePrepose_; + preposeParams_ = other.preposeParams_; + guidePrepose2_ = other.guidePrepose2_; + preposeParams2_ = other.preposeParams2_; + guidePost_ = other.guidePost_; + postParams_ = other.postParams_; + guideTrigger_ = other.guideTrigger_; + triggerParams_ = other.triggerParams_; + towerState_ = other.towerState_; + scriptPath_ = other.scriptPath_; + isActive_ = other.isActive_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GuideGroup Clone() { + return new GuideGroup(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 "GuideDetectionType" field.</summary> + public const int GuideDetectionTypeFieldNumber = 2; + private int guideDetectionType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuideDetectionType { + get { return guideDetectionType_; } + set { + guideDetectionType_ = value; + } + } + + /// <summary>Field number for the "PassiveMsg" field.</summary> + public const int PassiveMsgFieldNumber = 3; + private string passiveMsg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PassiveMsg { + get { return passiveMsg_; } + set { + passiveMsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GuidePrepose" field.</summary> + public const int GuidePreposeFieldNumber = 4; + private int guidePrepose_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuidePrepose { + get { return guidePrepose_; } + set { + guidePrepose_ = value; + } + } + + /// <summary>Field number for the "PreposeParams" field.</summary> + public const int PreposeParamsFieldNumber = 5; + private string preposeParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PreposeParams { + get { return preposeParams_; } + set { + preposeParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GuidePrepose2" field.</summary> + public const int GuidePrepose2FieldNumber = 6; + private int guidePrepose2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuidePrepose2 { + get { return guidePrepose2_; } + set { + guidePrepose2_ = value; + } + } + + /// <summary>Field number for the "PreposeParams2" field.</summary> + public const int PreposeParams2FieldNumber = 7; + private string preposeParams2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PreposeParams2 { + get { return preposeParams2_; } + set { + preposeParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GuidePost" field.</summary> + public const int GuidePostFieldNumber = 8; + private int guidePost_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuidePost { + get { return guidePost_; } + set { + guidePost_ = value; + } + } + + /// <summary>Field number for the "PostParams" field.</summary> + public const int PostParamsFieldNumber = 9; + private string postParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PostParams { + get { return postParams_; } + set { + postParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GuideTrigger" field.</summary> + public const int GuideTriggerFieldNumber = 10; + private int guideTrigger_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuideTrigger { + get { return guideTrigger_; } + set { + guideTrigger_ = value; + } + } + + /// <summary>Field number for the "TriggerParams" field.</summary> + public const int TriggerParamsFieldNumber = 11; + private string triggerParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParams { + get { return triggerParams_; } + set { + triggerParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TowerState" field.</summary> + public const int TowerStateFieldNumber = 12; + private bool towerState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool TowerState { + get { return towerState_; } + set { + towerState_ = value; + } + } + + /// <summary>Field number for the "ScriptPath" field.</summary> + public const int ScriptPathFieldNumber = 13; + private string scriptPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ScriptPath { + get { return scriptPath_; } + set { + scriptPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IsActive" field.</summary> + public const int IsActiveFieldNumber = 14; + private bool isActive_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsActive { + get { return isActive_; } + set { + isActive_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GuideGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GuideGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (GuideDetectionType != other.GuideDetectionType) return false; + if (PassiveMsg != other.PassiveMsg) return false; + if (GuidePrepose != other.GuidePrepose) return false; + if (PreposeParams != other.PreposeParams) return false; + if (GuidePrepose2 != other.GuidePrepose2) return false; + if (PreposeParams2 != other.PreposeParams2) return false; + if (GuidePost != other.GuidePost) return false; + if (PostParams != other.PostParams) return false; + if (GuideTrigger != other.GuideTrigger) return false; + if (TriggerParams != other.TriggerParams) return false; + if (TowerState != other.TowerState) return false; + if (ScriptPath != other.ScriptPath) return false; + if (IsActive != other.IsActive) 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 (GuideDetectionType != 0) hash ^= GuideDetectionType.GetHashCode(); + if (PassiveMsg.Length != 0) hash ^= PassiveMsg.GetHashCode(); + if (GuidePrepose != 0) hash ^= GuidePrepose.GetHashCode(); + if (PreposeParams.Length != 0) hash ^= PreposeParams.GetHashCode(); + if (GuidePrepose2 != 0) hash ^= GuidePrepose2.GetHashCode(); + if (PreposeParams2.Length != 0) hash ^= PreposeParams2.GetHashCode(); + if (GuidePost != 0) hash ^= GuidePost.GetHashCode(); + if (PostParams.Length != 0) hash ^= PostParams.GetHashCode(); + if (GuideTrigger != 0) hash ^= GuideTrigger.GetHashCode(); + if (TriggerParams.Length != 0) hash ^= TriggerParams.GetHashCode(); + if (TowerState != false) hash ^= TowerState.GetHashCode(); + if (ScriptPath.Length != 0) hash ^= ScriptPath.GetHashCode(); + if (IsActive != false) hash ^= IsActive.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 (GuideDetectionType != 0) { + output.WriteRawTag(16); + output.WriteInt32(GuideDetectionType); + } + if (PassiveMsg.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PassiveMsg); + } + if (GuidePrepose != 0) { + output.WriteRawTag(32); + output.WriteInt32(GuidePrepose); + } + if (PreposeParams.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PreposeParams); + } + if (GuidePrepose2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(GuidePrepose2); + } + if (PreposeParams2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(PreposeParams2); + } + if (GuidePost != 0) { + output.WriteRawTag(64); + output.WriteInt32(GuidePost); + } + if (PostParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(PostParams); + } + if (GuideTrigger != 0) { + output.WriteRawTag(80); + output.WriteInt32(GuideTrigger); + } + if (TriggerParams.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TriggerParams); + } + if (TowerState != false) { + output.WriteRawTag(96); + output.WriteBool(TowerState); + } + if (ScriptPath.Length != 0) { + output.WriteRawTag(106); + output.WriteString(ScriptPath); + } + if (IsActive != false) { + output.WriteRawTag(112); + output.WriteBool(IsActive); + } + 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 (GuideDetectionType != 0) { + output.WriteRawTag(16); + output.WriteInt32(GuideDetectionType); + } + if (PassiveMsg.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PassiveMsg); + } + if (GuidePrepose != 0) { + output.WriteRawTag(32); + output.WriteInt32(GuidePrepose); + } + if (PreposeParams.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PreposeParams); + } + if (GuidePrepose2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(GuidePrepose2); + } + if (PreposeParams2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(PreposeParams2); + } + if (GuidePost != 0) { + output.WriteRawTag(64); + output.WriteInt32(GuidePost); + } + if (PostParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(PostParams); + } + if (GuideTrigger != 0) { + output.WriteRawTag(80); + output.WriteInt32(GuideTrigger); + } + if (TriggerParams.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TriggerParams); + } + if (TowerState != false) { + output.WriteRawTag(96); + output.WriteBool(TowerState); + } + if (ScriptPath.Length != 0) { + output.WriteRawTag(106); + output.WriteString(ScriptPath); + } + if (IsActive != false) { + output.WriteRawTag(112); + output.WriteBool(IsActive); + } + 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 (GuideDetectionType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuideDetectionType); + } + if (PassiveMsg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PassiveMsg); + } + if (GuidePrepose != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePrepose); + } + if (PreposeParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PreposeParams); + } + if (GuidePrepose2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePrepose2); + } + if (PreposeParams2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PreposeParams2); + } + if (GuidePost != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuidePost); + } + if (PostParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PostParams); + } + if (GuideTrigger != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuideTrigger); + } + if (TriggerParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParams); + } + if (TowerState != false) { + size += 1 + 1; + } + if (ScriptPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ScriptPath); + } + if (IsActive != 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(GuideGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GuideDetectionType != 0) { + GuideDetectionType = other.GuideDetectionType; + } + if (other.PassiveMsg.Length != 0) { + PassiveMsg = other.PassiveMsg; + } + if (other.GuidePrepose != 0) { + GuidePrepose = other.GuidePrepose; + } + if (other.PreposeParams.Length != 0) { + PreposeParams = other.PreposeParams; + } + if (other.GuidePrepose2 != 0) { + GuidePrepose2 = other.GuidePrepose2; + } + if (other.PreposeParams2.Length != 0) { + PreposeParams2 = other.PreposeParams2; + } + if (other.GuidePost != 0) { + GuidePost = other.GuidePost; + } + if (other.PostParams.Length != 0) { + PostParams = other.PostParams; + } + if (other.GuideTrigger != 0) { + GuideTrigger = other.GuideTrigger; + } + if (other.TriggerParams.Length != 0) { + TriggerParams = other.TriggerParams; + } + if (other.TowerState != false) { + TowerState = other.TowerState; + } + if (other.ScriptPath.Length != 0) { + ScriptPath = other.ScriptPath; + } + if (other.IsActive != false) { + IsActive = other.IsActive; + } + _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: { + GuideDetectionType = input.ReadInt32(); + break; + } + case 26: { + PassiveMsg = input.ReadString(); + break; + } + case 32: { + GuidePrepose = input.ReadInt32(); + break; + } + case 42: { + PreposeParams = input.ReadString(); + break; + } + case 48: { + GuidePrepose2 = input.ReadInt32(); + break; + } + case 58: { + PreposeParams2 = input.ReadString(); + break; + } + case 64: { + GuidePost = input.ReadInt32(); + break; + } + case 74: { + PostParams = input.ReadString(); + break; + } + case 80: { + GuideTrigger = input.ReadInt32(); + break; + } + case 90: { + TriggerParams = input.ReadString(); + break; + } + case 96: { + TowerState = input.ReadBool(); + break; + } + case 106: { + ScriptPath = input.ReadString(); + break; + } + case 112: { + IsActive = 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 16: { + GuideDetectionType = input.ReadInt32(); + break; + } + case 26: { + PassiveMsg = input.ReadString(); + break; + } + case 32: { + GuidePrepose = input.ReadInt32(); + break; + } + case 42: { + PreposeParams = input.ReadString(); + break; + } + case 48: { + GuidePrepose2 = input.ReadInt32(); + break; + } + case 58: { + PreposeParams2 = input.ReadString(); + break; + } + case 64: { + GuidePost = input.ReadInt32(); + break; + } + case 74: { + PostParams = input.ReadString(); + break; + } + case 80: { + GuideTrigger = input.ReadInt32(); + break; + } + case 90: { + TriggerParams = input.ReadString(); + break; + } + case 96: { + TowerState = input.ReadBool(); + break; + } + case 106: { + ScriptPath = input.ReadString(); + break; + } + case 112: { + IsActive = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_GuideGroup : pb::IMessage<table_GuideGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_GuideGroup> _parser = new pb::MessageParser<table_GuideGroup>(() => new table_GuideGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_GuideGroup> 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.ClientTableReflection.Descriptor.MessageTypes[211]; } + } + + [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 table_GuideGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GuideGroup(table_GuideGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_GuideGroup Clone() { + return new table_GuideGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.GuideGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.GuideGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.GuideGroup> list_ = new pbc::RepeatedField<global::Nova.Client.GuideGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.GuideGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_GuideGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_GuideGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_GuideGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Handbook : pb::IMessage<Handbook> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Handbook> _parser = new pb::MessageParser<Handbook>(() => new Handbook()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Handbook> 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.ClientTableReflection.Descriptor.MessageTypes[212]; } + } + + [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 Handbook() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Handbook(Handbook other) : this() { + id_ = other.id_; + index_ = other.index_; + type_ = other.type_; + charId_ = other.charId_; + skinId_ = other.skinId_; + cond_ = other.cond_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Handbook Clone() { + return new Handbook(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 "Index" field.</summary> + public const int IndexFieldNumber = 2; + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { return index_; } + set { + index_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 3; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 4; + 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 "SkinId" field.</summary> + public const int SkinIdFieldNumber = 5; + private int skinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkinId { + get { return skinId_; } + set { + skinId_ = value; + } + } + + /// <summary>Field number for the "Cond" field.</summary> + public const int CondFieldNumber = 6; + private int cond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Cond { + get { return cond_; } + set { + cond_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Handbook); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Handbook other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Index != other.Index) return false; + if (Type != other.Type) return false; + if (CharId != other.CharId) return false; + if (SkinId != other.SkinId) return false; + if (Cond != other.Cond) 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 (Index != 0) hash ^= Index.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (SkinId != 0) hash ^= SkinId.GetHashCode(); + if (Cond != 0) hash ^= Cond.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 (Index != 0) { + output.WriteRawTag(16); + output.WriteInt32(Index); + } + if (Type != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type); + } + if (CharId != 0) { + output.WriteRawTag(32); + output.WriteInt32(CharId); + } + if (SkinId != 0) { + output.WriteRawTag(40); + output.WriteInt32(SkinId); + } + if (Cond != 0) { + output.WriteRawTag(48); + output.WriteInt32(Cond); + } + 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 (Index != 0) { + output.WriteRawTag(16); + output.WriteInt32(Index); + } + if (Type != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type); + } + if (CharId != 0) { + output.WriteRawTag(32); + output.WriteInt32(CharId); + } + if (SkinId != 0) { + output.WriteRawTag(40); + output.WriteInt32(SkinId); + } + if (Cond != 0) { + output.WriteRawTag(48); + output.WriteInt32(Cond); + } + 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 (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (SkinId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkinId); + } + if (Cond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Handbook other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.SkinId != 0) { + SkinId = other.SkinId; + } + if (other.Cond != 0) { + Cond = other.Cond; + } + _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: { + Index = input.ReadInt32(); + break; + } + case 24: { + Type = input.ReadInt32(); + break; + } + case 32: { + CharId = input.ReadInt32(); + break; + } + case 40: { + SkinId = input.ReadInt32(); + break; + } + case 48: { + Cond = 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: { + Index = input.ReadInt32(); + break; + } + case 24: { + Type = input.ReadInt32(); + break; + } + case 32: { + CharId = input.ReadInt32(); + break; + } + case 40: { + SkinId = input.ReadInt32(); + break; + } + case 48: { + Cond = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Handbook : pb::IMessage<table_Handbook> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Handbook> _parser = new pb::MessageParser<table_Handbook>(() => new table_Handbook()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Handbook> 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.ClientTableReflection.Descriptor.MessageTypes[213]; } + } + + [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 table_Handbook() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Handbook(table_Handbook other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Handbook Clone() { + return new table_Handbook(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Handbook> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Handbook.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Handbook> list_ = new pbc::RepeatedField<global::Nova.Client.Handbook>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Handbook> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Handbook); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Handbook other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Handbook other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HitDamage : pb::IMessage<HitDamage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HitDamage> _parser = new pb::MessageParser<HitDamage>(() => new HitDamage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HitDamage> 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.ClientTableReflection.Descriptor.MessageTypes[214]; } + } + + [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 HitDamage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HitDamage(HitDamage other) : this() { + id_ = other.id_; + levelTypeData_ = other.levelTypeData_; + levelData_ = other.levelData_; + mainOrSupport_ = other.mainOrSupport_; + hitdamageInfo_ = other.hitdamageInfo_; + distanceType_ = other.distanceType_; + sourceType_ = other.sourceType_; + damageType_ = other.damageType_; + effectType_ = other.effectType_; + elementType_ = other.elementType_; + damageTag_ = other.damageTag_.Clone(); + damageBonusType_ = other.damageBonusType_; + skillPercentAmend_ = other.skillPercentAmend_.Clone(); + skillAbsAmend_ = other.skillAbsAmend_.Clone(); + additionalSource_ = other.additionalSource_; + additionalType_ = other.additionalType_; + additionalPercent_ = other.additionalPercent_.Clone(); + energyCharge_ = other.energyCharge_; + talentPercentAmend_ = other.talentPercentAmend_.Clone(); + talentAbsAmend_ = other.talentAbsAmend_.Clone(); + isDenseType_ = other.isDenseType_; + perkIntensity_ = other.perkIntensity_.Clone(); + skillId_ = other.skillId_; + skillSlotType_ = other.skillSlotType_; + perkId_ = other.perkId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HitDamage Clone() { + return new HitDamage(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 "levelTypeData" field.</summary> + public const int LevelTypeDataFieldNumber = 2; + private int levelTypeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTypeData { + get { return levelTypeData_; } + set { + levelTypeData_ = value; + } + } + + /// <summary>Field number for the "LevelData" field.</summary> + public const int LevelDataFieldNumber = 3; + private int levelData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelData { + get { return levelData_; } + set { + levelData_ = value; + } + } + + /// <summary>Field number for the "MainOrSupport" field.</summary> + public const int MainOrSupportFieldNumber = 4; + private int mainOrSupport_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainOrSupport { + get { return mainOrSupport_; } + set { + mainOrSupport_ = value; + } + } + + /// <summary>Field number for the "HitdamageInfo" field.</summary> + public const int HitdamageInfoFieldNumber = 5; + private string hitdamageInfo_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string HitdamageInfo { + get { return hitdamageInfo_; } + set { + hitdamageInfo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DistanceType" field.</summary> + public const int DistanceTypeFieldNumber = 6; + private int distanceType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DistanceType { + get { return distanceType_; } + set { + distanceType_ = value; + } + } + + /// <summary>Field number for the "SourceType" field.</summary> + public const int SourceTypeFieldNumber = 7; + private int sourceType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SourceType { + get { return sourceType_; } + set { + sourceType_ = value; + } + } + + /// <summary>Field number for the "DamageType" field.</summary> + public const int DamageTypeFieldNumber = 8; + private int damageType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DamageType { + get { return damageType_; } + set { + damageType_ = value; + } + } + + /// <summary>Field number for the "EffectType" field.</summary> + public const int EffectTypeFieldNumber = 9; + private int effectType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectType { + get { return effectType_; } + set { + effectType_ = value; + } + } + + /// <summary>Field number for the "ElementType" field.</summary> + public const int ElementTypeFieldNumber = 10; + private int elementType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ElementType { + get { return elementType_; } + set { + elementType_ = value; + } + } + + /// <summary>Field number for the "DamageTag" field.</summary> + public const int DamageTagFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_damageTag_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> damageTag_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DamageTag { + get { return damageTag_; } + } + + /// <summary>Field number for the "DamageBonusType" field.</summary> + public const int DamageBonusTypeFieldNumber = 12; + private int damageBonusType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DamageBonusType { + get { return damageBonusType_; } + set { + damageBonusType_ = value; + } + } + + /// <summary>Field number for the "SkillPercentAmend" field.</summary> + public const int SkillPercentAmendFieldNumber = 13; + private static readonly pb::FieldCodec<int> _repeated_skillPercentAmend_codec + = pb::FieldCodec.ForInt32(106); + private readonly pbc::RepeatedField<int> skillPercentAmend_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> SkillPercentAmend { + get { return skillPercentAmend_; } + } + + /// <summary>Field number for the "SkillAbsAmend" field.</summary> + public const int SkillAbsAmendFieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_skillAbsAmend_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> skillAbsAmend_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> SkillAbsAmend { + get { return skillAbsAmend_; } + } + + /// <summary>Field number for the "AdditionalSource" field.</summary> + public const int AdditionalSourceFieldNumber = 15; + private int additionalSource_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdditionalSource { + get { return additionalSource_; } + set { + additionalSource_ = value; + } + } + + /// <summary>Field number for the "AdditionalType" field.</summary> + public const int AdditionalTypeFieldNumber = 16; + private int additionalType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AdditionalType { + get { return additionalType_; } + set { + additionalType_ = value; + } + } + + /// <summary>Field number for the "AdditionalPercent" field.</summary> + public const int AdditionalPercentFieldNumber = 17; + private static readonly pb::FieldCodec<int> _repeated_additionalPercent_codec + = pb::FieldCodec.ForInt32(138); + private readonly pbc::RepeatedField<int> additionalPercent_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AdditionalPercent { + get { return additionalPercent_; } + } + + /// <summary>Field number for the "EnergyCharge" field.</summary> + public const int EnergyChargeFieldNumber = 18; + private int energyCharge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnergyCharge { + get { return energyCharge_; } + set { + energyCharge_ = value; + } + } + + /// <summary>Field number for the "TalentPercentAmend" field.</summary> + public const int TalentPercentAmendFieldNumber = 19; + private static readonly pb::FieldCodec<int> _repeated_talentPercentAmend_codec + = pb::FieldCodec.ForInt32(154); + private readonly pbc::RepeatedField<int> talentPercentAmend_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TalentPercentAmend { + get { return talentPercentAmend_; } + } + + /// <summary>Field number for the "TalentAbsAmend" field.</summary> + public const int TalentAbsAmendFieldNumber = 20; + private static readonly pb::FieldCodec<int> _repeated_talentAbsAmend_codec + = pb::FieldCodec.ForInt32(162); + private readonly pbc::RepeatedField<int> talentAbsAmend_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TalentAbsAmend { + get { return talentAbsAmend_; } + } + + /// <summary>Field number for the "IsDenseType" field.</summary> + public const int IsDenseTypeFieldNumber = 21; + private bool isDenseType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsDenseType { + get { return isDenseType_; } + set { + isDenseType_ = value; + } + } + + /// <summary>Field number for the "PerkIntensity" field.</summary> + public const int PerkIntensityFieldNumber = 22; + private static readonly pb::FieldCodec<int> _repeated_perkIntensity_codec + = pb::FieldCodec.ForInt32(178); + private readonly pbc::RepeatedField<int> perkIntensity_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PerkIntensity { + get { return perkIntensity_; } + } + + /// <summary>Field number for the "SkillId" field.</summary> + public const int SkillIdFieldNumber = 23; + private int skillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillId { + get { return skillId_; } + set { + skillId_ = value; + } + } + + /// <summary>Field number for the "SkillSlotType" field.</summary> + public const int SkillSlotTypeFieldNumber = 24; + private int skillSlotType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillSlotType { + get { return skillSlotType_; } + set { + skillSlotType_ = value; + } + } + + /// <summary>Field number for the "PerkId" field.</summary> + public const int PerkIdFieldNumber = 25; + private int perkId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PerkId { + get { return perkId_; } + set { + perkId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as HitDamage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HitDamage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LevelTypeData != other.LevelTypeData) return false; + if (LevelData != other.LevelData) return false; + if (MainOrSupport != other.MainOrSupport) return false; + if (HitdamageInfo != other.HitdamageInfo) return false; + if (DistanceType != other.DistanceType) return false; + if (SourceType != other.SourceType) return false; + if (DamageType != other.DamageType) return false; + if (EffectType != other.EffectType) return false; + if (ElementType != other.ElementType) return false; + if(!damageTag_.Equals(other.damageTag_)) return false; + if (DamageBonusType != other.DamageBonusType) return false; + if(!skillPercentAmend_.Equals(other.skillPercentAmend_)) return false; + if(!skillAbsAmend_.Equals(other.skillAbsAmend_)) return false; + if (AdditionalSource != other.AdditionalSource) return false; + if (AdditionalType != other.AdditionalType) return false; + if(!additionalPercent_.Equals(other.additionalPercent_)) return false; + if (EnergyCharge != other.EnergyCharge) return false; + if(!talentPercentAmend_.Equals(other.talentPercentAmend_)) return false; + if(!talentAbsAmend_.Equals(other.talentAbsAmend_)) return false; + if (IsDenseType != other.IsDenseType) return false; + if(!perkIntensity_.Equals(other.perkIntensity_)) return false; + if (SkillId != other.SkillId) return false; + if (SkillSlotType != other.SkillSlotType) return false; + if (PerkId != other.PerkId) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); + if (LevelData != 0) hash ^= LevelData.GetHashCode(); + if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); + if (HitdamageInfo.Length != 0) hash ^= HitdamageInfo.GetHashCode(); + if (DistanceType != 0) hash ^= DistanceType.GetHashCode(); + if (SourceType != 0) hash ^= SourceType.GetHashCode(); + if (DamageType != 0) hash ^= DamageType.GetHashCode(); + if (EffectType != 0) hash ^= EffectType.GetHashCode(); + if (ElementType != 0) hash ^= ElementType.GetHashCode(); + hash ^= damageTag_.GetHashCode(); + if (DamageBonusType != 0) hash ^= DamageBonusType.GetHashCode(); + hash ^= skillPercentAmend_.GetHashCode(); + hash ^= skillAbsAmend_.GetHashCode(); + if (AdditionalSource != 0) hash ^= AdditionalSource.GetHashCode(); + if (AdditionalType != 0) hash ^= AdditionalType.GetHashCode(); + hash ^= additionalPercent_.GetHashCode(); + if (EnergyCharge != 0) hash ^= EnergyCharge.GetHashCode(); + hash ^= talentPercentAmend_.GetHashCode(); + hash ^= talentAbsAmend_.GetHashCode(); + if (IsDenseType != false) hash ^= IsDenseType.GetHashCode(); + hash ^= perkIntensity_.GetHashCode(); + if (SkillId != 0) hash ^= SkillId.GetHashCode(); + if (SkillSlotType != 0) hash ^= SkillSlotType.GetHashCode(); + if (PerkId != 0) hash ^= PerkId.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 (LevelTypeData != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(32); + output.WriteInt32(MainOrSupport); + } + if (HitdamageInfo.Length != 0) { + output.WriteRawTag(42); + output.WriteString(HitdamageInfo); + } + if (DistanceType != 0) { + output.WriteRawTag(48); + output.WriteInt32(DistanceType); + } + if (SourceType != 0) { + output.WriteRawTag(56); + output.WriteInt32(SourceType); + } + if (DamageType != 0) { + output.WriteRawTag(64); + output.WriteInt32(DamageType); + } + if (EffectType != 0) { + output.WriteRawTag(72); + output.WriteInt32(EffectType); + } + if (ElementType != 0) { + output.WriteRawTag(80); + output.WriteInt32(ElementType); + } + damageTag_.WriteTo(output, _repeated_damageTag_codec); + if (DamageBonusType != 0) { + output.WriteRawTag(96); + output.WriteInt32(DamageBonusType); + } + skillPercentAmend_.WriteTo(output, _repeated_skillPercentAmend_codec); + skillAbsAmend_.WriteTo(output, _repeated_skillAbsAmend_codec); + if (AdditionalSource != 0) { + output.WriteRawTag(120); + output.WriteInt32(AdditionalSource); + } + if (AdditionalType != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AdditionalType); + } + additionalPercent_.WriteTo(output, _repeated_additionalPercent_codec); + if (EnergyCharge != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(EnergyCharge); + } + talentPercentAmend_.WriteTo(output, _repeated_talentPercentAmend_codec); + talentAbsAmend_.WriteTo(output, _repeated_talentAbsAmend_codec); + if (IsDenseType != false) { + output.WriteRawTag(168, 1); + output.WriteBool(IsDenseType); + } + perkIntensity_.WriteTo(output, _repeated_perkIntensity_codec); + if (SkillId != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(SkillId); + } + if (SkillSlotType != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(SkillSlotType); + } + if (PerkId != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(PerkId); + } + 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 (LevelTypeData != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(32); + output.WriteInt32(MainOrSupport); + } + if (HitdamageInfo.Length != 0) { + output.WriteRawTag(42); + output.WriteString(HitdamageInfo); + } + if (DistanceType != 0) { + output.WriteRawTag(48); + output.WriteInt32(DistanceType); + } + if (SourceType != 0) { + output.WriteRawTag(56); + output.WriteInt32(SourceType); + } + if (DamageType != 0) { + output.WriteRawTag(64); + output.WriteInt32(DamageType); + } + if (EffectType != 0) { + output.WriteRawTag(72); + output.WriteInt32(EffectType); + } + if (ElementType != 0) { + output.WriteRawTag(80); + output.WriteInt32(ElementType); + } + damageTag_.WriteTo(ref output, _repeated_damageTag_codec); + if (DamageBonusType != 0) { + output.WriteRawTag(96); + output.WriteInt32(DamageBonusType); + } + skillPercentAmend_.WriteTo(ref output, _repeated_skillPercentAmend_codec); + skillAbsAmend_.WriteTo(ref output, _repeated_skillAbsAmend_codec); + if (AdditionalSource != 0) { + output.WriteRawTag(120); + output.WriteInt32(AdditionalSource); + } + if (AdditionalType != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AdditionalType); + } + additionalPercent_.WriteTo(ref output, _repeated_additionalPercent_codec); + if (EnergyCharge != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(EnergyCharge); + } + talentPercentAmend_.WriteTo(ref output, _repeated_talentPercentAmend_codec); + talentAbsAmend_.WriteTo(ref output, _repeated_talentAbsAmend_codec); + if (IsDenseType != false) { + output.WriteRawTag(168, 1); + output.WriteBool(IsDenseType); + } + perkIntensity_.WriteTo(ref output, _repeated_perkIntensity_codec); + if (SkillId != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(SkillId); + } + if (SkillSlotType != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(SkillSlotType); + } + if (PerkId != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(PerkId); + } + 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 (LevelTypeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + } + if (LevelData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + } + if (MainOrSupport != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + } + if (HitdamageInfo.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(HitdamageInfo); + } + if (DistanceType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DistanceType); + } + if (SourceType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceType); + } + if (DamageType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DamageType); + } + if (EffectType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectType); + } + if (ElementType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElementType); + } + size += damageTag_.CalculateSize(_repeated_damageTag_codec); + if (DamageBonusType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DamageBonusType); + } + size += skillPercentAmend_.CalculateSize(_repeated_skillPercentAmend_codec); + size += skillAbsAmend_.CalculateSize(_repeated_skillAbsAmend_codec); + if (AdditionalSource != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AdditionalSource); + } + if (AdditionalType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AdditionalType); + } + size += additionalPercent_.CalculateSize(_repeated_additionalPercent_codec); + if (EnergyCharge != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyCharge); + } + size += talentPercentAmend_.CalculateSize(_repeated_talentPercentAmend_codec); + size += talentAbsAmend_.CalculateSize(_repeated_talentAbsAmend_codec); + if (IsDenseType != false) { + size += 2 + 1; + } + size += perkIntensity_.CalculateSize(_repeated_perkIntensity_codec); + if (SkillId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillId); + } + if (SkillSlotType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillSlotType); + } + if (PerkId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PerkId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HitDamage other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LevelTypeData != 0) { + LevelTypeData = other.LevelTypeData; + } + if (other.LevelData != 0) { + LevelData = other.LevelData; + } + if (other.MainOrSupport != 0) { + MainOrSupport = other.MainOrSupport; + } + if (other.HitdamageInfo.Length != 0) { + HitdamageInfo = other.HitdamageInfo; + } + if (other.DistanceType != 0) { + DistanceType = other.DistanceType; + } + if (other.SourceType != 0) { + SourceType = other.SourceType; + } + if (other.DamageType != 0) { + DamageType = other.DamageType; + } + if (other.EffectType != 0) { + EffectType = other.EffectType; + } + if (other.ElementType != 0) { + ElementType = other.ElementType; + } + damageTag_.Add(other.damageTag_); + if (other.DamageBonusType != 0) { + DamageBonusType = other.DamageBonusType; + } + skillPercentAmend_.Add(other.skillPercentAmend_); + skillAbsAmend_.Add(other.skillAbsAmend_); + if (other.AdditionalSource != 0) { + AdditionalSource = other.AdditionalSource; + } + if (other.AdditionalType != 0) { + AdditionalType = other.AdditionalType; + } + additionalPercent_.Add(other.additionalPercent_); + if (other.EnergyCharge != 0) { + EnergyCharge = other.EnergyCharge; + } + talentPercentAmend_.Add(other.talentPercentAmend_); + talentAbsAmend_.Add(other.talentAbsAmend_); + if (other.IsDenseType != false) { + IsDenseType = other.IsDenseType; + } + perkIntensity_.Add(other.perkIntensity_); + if (other.SkillId != 0) { + SkillId = other.SkillId; + } + if (other.SkillSlotType != 0) { + SkillSlotType = other.SkillSlotType; + } + if (other.PerkId != 0) { + PerkId = other.PerkId; + } + _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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 24: { + LevelData = input.ReadInt32(); + break; + } + case 32: { + MainOrSupport = input.ReadInt32(); + break; + } + case 42: { + HitdamageInfo = input.ReadString(); + break; + } + case 48: { + DistanceType = input.ReadInt32(); + break; + } + case 56: { + SourceType = input.ReadInt32(); + break; + } + case 64: { + DamageType = input.ReadInt32(); + break; + } + case 72: { + EffectType = input.ReadInt32(); + break; + } + case 80: { + ElementType = input.ReadInt32(); + break; + } + case 90: + case 88: { + damageTag_.AddEntriesFrom(input, _repeated_damageTag_codec); + break; + } + case 96: { + DamageBonusType = input.ReadInt32(); + break; + } + case 106: + case 104: { + skillPercentAmend_.AddEntriesFrom(input, _repeated_skillPercentAmend_codec); + break; + } + case 114: + case 112: { + skillAbsAmend_.AddEntriesFrom(input, _repeated_skillAbsAmend_codec); + break; + } + case 120: { + AdditionalSource = input.ReadInt32(); + break; + } + case 128: { + AdditionalType = input.ReadInt32(); + break; + } + case 138: + case 136: { + additionalPercent_.AddEntriesFrom(input, _repeated_additionalPercent_codec); + break; + } + case 144: { + EnergyCharge = input.ReadInt32(); + break; + } + case 154: + case 152: { + talentPercentAmend_.AddEntriesFrom(input, _repeated_talentPercentAmend_codec); + break; + } + case 162: + case 160: { + talentAbsAmend_.AddEntriesFrom(input, _repeated_talentAbsAmend_codec); + break; + } + case 168: { + IsDenseType = input.ReadBool(); + break; + } + case 178: + case 176: { + perkIntensity_.AddEntriesFrom(input, _repeated_perkIntensity_codec); + break; + } + case 184: { + SkillId = input.ReadInt32(); + break; + } + case 192: { + SkillSlotType = input.ReadInt32(); + break; + } + case 200: { + PerkId = 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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 24: { + LevelData = input.ReadInt32(); + break; + } + case 32: { + MainOrSupport = input.ReadInt32(); + break; + } + case 42: { + HitdamageInfo = input.ReadString(); + break; + } + case 48: { + DistanceType = input.ReadInt32(); + break; + } + case 56: { + SourceType = input.ReadInt32(); + break; + } + case 64: { + DamageType = input.ReadInt32(); + break; + } + case 72: { + EffectType = input.ReadInt32(); + break; + } + case 80: { + ElementType = input.ReadInt32(); + break; + } + case 90: + case 88: { + damageTag_.AddEntriesFrom(ref input, _repeated_damageTag_codec); + break; + } + case 96: { + DamageBonusType = input.ReadInt32(); + break; + } + case 106: + case 104: { + skillPercentAmend_.AddEntriesFrom(ref input, _repeated_skillPercentAmend_codec); + break; + } + case 114: + case 112: { + skillAbsAmend_.AddEntriesFrom(ref input, _repeated_skillAbsAmend_codec); + break; + } + case 120: { + AdditionalSource = input.ReadInt32(); + break; + } + case 128: { + AdditionalType = input.ReadInt32(); + break; + } + case 138: + case 136: { + additionalPercent_.AddEntriesFrom(ref input, _repeated_additionalPercent_codec); + break; + } + case 144: { + EnergyCharge = input.ReadInt32(); + break; + } + case 154: + case 152: { + talentPercentAmend_.AddEntriesFrom(ref input, _repeated_talentPercentAmend_codec); + break; + } + case 162: + case 160: { + talentAbsAmend_.AddEntriesFrom(ref input, _repeated_talentAbsAmend_codec); + break; + } + case 168: { + IsDenseType = input.ReadBool(); + break; + } + case 178: + case 176: { + perkIntensity_.AddEntriesFrom(ref input, _repeated_perkIntensity_codec); + break; + } + case 184: { + SkillId = input.ReadInt32(); + break; + } + case 192: { + SkillSlotType = input.ReadInt32(); + break; + } + case 200: { + PerkId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_HitDamage : pb::IMessage<table_HitDamage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_HitDamage> _parser = new pb::MessageParser<table_HitDamage>(() => new table_HitDamage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_HitDamage> 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.ClientTableReflection.Descriptor.MessageTypes[215]; } + } + + [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 table_HitDamage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_HitDamage(table_HitDamage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_HitDamage Clone() { + return new table_HitDamage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.HitDamage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.HitDamage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.HitDamage> list_ = new pbc::RepeatedField<global::Nova.Client.HitDamage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.HitDamage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_HitDamage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_HitDamage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_HitDamage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Honor : pb::IMessage<Honor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Honor> _parser = new pb::MessageParser<Honor>(() => new Honor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Honor> 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.ClientTableReflection.Descriptor.MessageTypes[216]; } + } + + [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 Honor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Honor(Honor other) : this() { + id_ = other.id_; + name_ = other.name_; + isUnlock_ = other.isUnlock_; + type_ = other.type_; + tabType_ = other.tabType_; + params_ = other.params_.Clone(); + priotity_ = other.priotity_; + mainRes_ = other.mainRes_; + subRes_ = other.subRes_; + sort_ = other.sort_; + bGType_ = other.bGType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Honor Clone() { + return new Honor(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 "IsUnlock" field.</summary> + public const int IsUnlockFieldNumber = 3; + private bool isUnlock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsUnlock { + get { return isUnlock_; } + set { + isUnlock_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 4; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "TabType" field.</summary> + public const int TabTypeFieldNumber = 5; + private int tabType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TabType { + get { return tabType_; } + set { + tabType_ = value; + } + } + + /// <summary>Field number for the "Params" field.</summary> + public const int ParamsFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_params_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> params_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Params { + get { return params_; } + } + + /// <summary>Field number for the "Priotity" field.</summary> + public const int PriotityFieldNumber = 7; + private int priotity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Priotity { + get { return priotity_; } + set { + priotity_ = value; + } + } + + /// <summary>Field number for the "MainRes" field.</summary> + public const int MainResFieldNumber = 8; + private string mainRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MainRes { + get { return mainRes_; } + set { + mainRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SubRes" field.</summary> + public const int SubResFieldNumber = 9; + private string subRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SubRes { + get { return subRes_; } + set { + subRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 10; + 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 "BGType" field.</summary> + public const int BGTypeFieldNumber = 11; + private int bGType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BGType { + get { return bGType_; } + set { + bGType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Honor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Honor 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 (IsUnlock != other.IsUnlock) return false; + if (Type != other.Type) return false; + if (TabType != other.TabType) return false; + if(!params_.Equals(other.params_)) return false; + if (Priotity != other.Priotity) return false; + if (MainRes != other.MainRes) return false; + if (SubRes != other.SubRes) return false; + if (Sort != other.Sort) return false; + if (BGType != other.BGType) 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 (IsUnlock != false) hash ^= IsUnlock.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (TabType != 0) hash ^= TabType.GetHashCode(); + hash ^= params_.GetHashCode(); + if (Priotity != 0) hash ^= Priotity.GetHashCode(); + if (MainRes.Length != 0) hash ^= MainRes.GetHashCode(); + if (SubRes.Length != 0) hash ^= SubRes.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (BGType != 0) hash ^= BGType.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 (IsUnlock != false) { + output.WriteRawTag(24); + output.WriteBool(IsUnlock); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (TabType != 0) { + output.WriteRawTag(40); + output.WriteInt32(TabType); + } + params_.WriteTo(output, _repeated_params_codec); + if (Priotity != 0) { + output.WriteRawTag(56); + output.WriteInt32(Priotity); + } + if (MainRes.Length != 0) { + output.WriteRawTag(66); + output.WriteString(MainRes); + } + if (SubRes.Length != 0) { + output.WriteRawTag(74); + output.WriteString(SubRes); + } + if (Sort != 0) { + output.WriteRawTag(80); + output.WriteInt32(Sort); + } + if (BGType != 0) { + output.WriteRawTag(88); + output.WriteInt32(BGType); + } + 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 (IsUnlock != false) { + output.WriteRawTag(24); + output.WriteBool(IsUnlock); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (TabType != 0) { + output.WriteRawTag(40); + output.WriteInt32(TabType); + } + params_.WriteTo(ref output, _repeated_params_codec); + if (Priotity != 0) { + output.WriteRawTag(56); + output.WriteInt32(Priotity); + } + if (MainRes.Length != 0) { + output.WriteRawTag(66); + output.WriteString(MainRes); + } + if (SubRes.Length != 0) { + output.WriteRawTag(74); + output.WriteString(SubRes); + } + if (Sort != 0) { + output.WriteRawTag(80); + output.WriteInt32(Sort); + } + if (BGType != 0) { + output.WriteRawTag(88); + output.WriteInt32(BGType); + } + 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 (IsUnlock != false) { + size += 1 + 1; + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (TabType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TabType); + } + size += params_.CalculateSize(_repeated_params_codec); + if (Priotity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priotity); + } + if (MainRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MainRes); + } + if (SubRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SubRes); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (BGType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BGType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Honor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.IsUnlock != false) { + IsUnlock = other.IsUnlock; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.TabType != 0) { + TabType = other.TabType; + } + params_.Add(other.params_); + if (other.Priotity != 0) { + Priotity = other.Priotity; + } + if (other.MainRes.Length != 0) { + MainRes = other.MainRes; + } + if (other.SubRes.Length != 0) { + SubRes = other.SubRes; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.BGType != 0) { + BGType = other.BGType; + } + _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: { + IsUnlock = input.ReadBool(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 40: { + TabType = input.ReadInt32(); + break; + } + case 50: + case 48: { + params_.AddEntriesFrom(input, _repeated_params_codec); + break; + } + case 56: { + Priotity = input.ReadInt32(); + break; + } + case 66: { + MainRes = input.ReadString(); + break; + } + case 74: { + SubRes = input.ReadString(); + break; + } + case 80: { + Sort = input.ReadInt32(); + break; + } + case 88: { + BGType = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + IsUnlock = input.ReadBool(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 40: { + TabType = input.ReadInt32(); + break; + } + case 50: + case 48: { + params_.AddEntriesFrom(ref input, _repeated_params_codec); + break; + } + case 56: { + Priotity = input.ReadInt32(); + break; + } + case 66: { + MainRes = input.ReadString(); + break; + } + case 74: { + SubRes = input.ReadString(); + break; + } + case 80: { + Sort = input.ReadInt32(); + break; + } + case 88: { + BGType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Honor : pb::IMessage<table_Honor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Honor> _parser = new pb::MessageParser<table_Honor>(() => new table_Honor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Honor> 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.ClientTableReflection.Descriptor.MessageTypes[217]; } + } + + [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 table_Honor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Honor(table_Honor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Honor Clone() { + return new table_Honor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Honor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Honor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Honor> list_ = new pbc::RepeatedField<global::Nova.Client.Honor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Honor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Honor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Honor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Honor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class HonorCharacter : pb::IMessage<HonorCharacter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<HonorCharacter> _parser = new pb::MessageParser<HonorCharacter>(() => new HonorCharacter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<HonorCharacter> 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.ClientTableReflection.Descriptor.MessageTypes[218]; } + } + + [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 HonorCharacter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HonorCharacter(HonorCharacter other) : this() { + id_ = other.id_; + charId_ = other.charId_; + level_ = other.level_; + bigBgPath_ = other.bigBgPath_; + smallBgPath_ = other.smallBgPath_; + starGroup_ = other.starGroup_.Clone(); + sort_ = other.sort_; + bGType_ = other.bGType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HonorCharacter Clone() { + return new HonorCharacter(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + 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 "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 "BigBgPath" field.</summary> + public const int BigBgPathFieldNumber = 4; + private string bigBgPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BigBgPath { + get { return bigBgPath_; } + set { + bigBgPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SmallBgPath" field.</summary> + public const int SmallBgPathFieldNumber = 5; + private string smallBgPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SmallBgPath { + get { return smallBgPath_; } + set { + smallBgPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StarGroup" field.</summary> + public const int StarGroupFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_starGroup_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> starGroup_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> StarGroup { + get { return starGroup_; } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 7; + 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 "BGType" field.</summary> + public const int BGTypeFieldNumber = 8; + private int bGType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BGType { + get { return bGType_; } + set { + bGType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as HonorCharacter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HonorCharacter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (Level != other.Level) return false; + if (BigBgPath != other.BigBgPath) return false; + if (SmallBgPath != other.SmallBgPath) return false; + if(!starGroup_.Equals(other.starGroup_)) return false; + if (Sort != other.Sort) return false; + if (BGType != other.BGType) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (BigBgPath.Length != 0) hash ^= BigBgPath.GetHashCode(); + if (SmallBgPath.Length != 0) hash ^= SmallBgPath.GetHashCode(); + hash ^= starGroup_.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (BGType != 0) hash ^= BGType.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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (Level != 0) { + output.WriteRawTag(24); + output.WriteInt32(Level); + } + if (BigBgPath.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BigBgPath); + } + if (SmallBgPath.Length != 0) { + output.WriteRawTag(42); + output.WriteString(SmallBgPath); + } + starGroup_.WriteTo(output, _repeated_starGroup_codec); + if (Sort != 0) { + output.WriteRawTag(56); + output.WriteInt32(Sort); + } + if (BGType != 0) { + output.WriteRawTag(64); + output.WriteInt32(BGType); + } + 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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (Level != 0) { + output.WriteRawTag(24); + output.WriteInt32(Level); + } + if (BigBgPath.Length != 0) { + output.WriteRawTag(34); + output.WriteString(BigBgPath); + } + if (SmallBgPath.Length != 0) { + output.WriteRawTag(42); + output.WriteString(SmallBgPath); + } + starGroup_.WriteTo(ref output, _repeated_starGroup_codec); + if (Sort != 0) { + output.WriteRawTag(56); + output.WriteInt32(Sort); + } + if (BGType != 0) { + output.WriteRawTag(64); + output.WriteInt32(BGType); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (BigBgPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BigBgPath); + } + if (SmallBgPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallBgPath); + } + size += starGroup_.CalculateSize(_repeated_starGroup_codec); + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (BGType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BGType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HonorCharacter other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.BigBgPath.Length != 0) { + BigBgPath = other.BigBgPath; + } + if (other.SmallBgPath.Length != 0) { + SmallBgPath = other.SmallBgPath; + } + starGroup_.Add(other.starGroup_); + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.BGType != 0) { + BGType = other.BGType; + } + _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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + Level = input.ReadInt32(); + break; + } + case 34: { + BigBgPath = input.ReadString(); + break; + } + case 42: { + SmallBgPath = input.ReadString(); + break; + } + case 50: + case 48: { + starGroup_.AddEntriesFrom(input, _repeated_starGroup_codec); + break; + } + case 56: { + Sort = input.ReadInt32(); + break; + } + case 64: { + BGType = 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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + Level = input.ReadInt32(); + break; + } + case 34: { + BigBgPath = input.ReadString(); + break; + } + case 42: { + SmallBgPath = input.ReadString(); + break; + } + case 50: + case 48: { + starGroup_.AddEntriesFrom(ref input, _repeated_starGroup_codec); + break; + } + case 56: { + Sort = input.ReadInt32(); + break; + } + case 64: { + BGType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_HonorCharacter : pb::IMessage<table_HonorCharacter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_HonorCharacter> _parser = new pb::MessageParser<table_HonorCharacter>(() => new table_HonorCharacter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_HonorCharacter> 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.ClientTableReflection.Descriptor.MessageTypes[219]; } + } + + [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 table_HonorCharacter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_HonorCharacter(table_HonorCharacter other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_HonorCharacter Clone() { + return new table_HonorCharacter(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.HonorCharacter> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.HonorCharacter.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.HonorCharacter> list_ = new pbc::RepeatedField<global::Nova.Client.HonorCharacter>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.HonorCharacter> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_HonorCharacter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_HonorCharacter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_HonorCharacter other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTower : pb::IMessage<InfinityTower> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTower> _parser = new pb::MessageParser<InfinityTower>(() => new InfinityTower()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTower> 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.ClientTableReflection.Descriptor.MessageTypes[220]; } + } + + [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 InfinityTower() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTower(InfinityTower other) : this() { + id_ = other.id_; + name_ = other.name_; + elementType_ = other.elementType_; + formationSceneName_ = other.formationSceneName_; + bg_ = other.bg_; + preTowerLevelId_ = other.preTowerLevelId_; + openDay_ = other.openDay_.Clone(); + openDayDesc_ = other.openDayDesc_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTower Clone() { + return new InfinityTower(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 "ElementType" field.</summary> + public const int ElementTypeFieldNumber = 3; + private int elementType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ElementType { + get { return elementType_; } + set { + elementType_ = value; + } + } + + /// <summary>Field number for the "FormationSceneName" field.</summary> + public const int FormationSceneNameFieldNumber = 4; + private string formationSceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FormationSceneName { + get { return formationSceneName_; } + set { + formationSceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Bg" field.</summary> + public const int BgFieldNumber = 5; + private string bg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bg { + get { return bg_; } + set { + bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PreTowerLevelId" field.</summary> + public const int PreTowerLevelIdFieldNumber = 6; + private int preTowerLevelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreTowerLevelId { + get { return preTowerLevelId_; } + set { + preTowerLevelId_ = value; + } + } + + /// <summary>Field number for the "OpenDay" field.</summary> + public const int OpenDayFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_openDay_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> openDay_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> OpenDay { + get { return openDay_; } + } + + /// <summary>Field number for the "OpenDayDesc" field.</summary> + public const int OpenDayDescFieldNumber = 8; + private string openDayDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenDayDesc { + get { return openDayDesc_; } + set { + openDayDesc_ = 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 InfinityTower); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTower 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 (ElementType != other.ElementType) return false; + if (FormationSceneName != other.FormationSceneName) return false; + if (Bg != other.Bg) return false; + if (PreTowerLevelId != other.PreTowerLevelId) return false; + if(!openDay_.Equals(other.openDay_)) return false; + if (OpenDayDesc != other.OpenDayDesc) 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 (ElementType != 0) hash ^= ElementType.GetHashCode(); + if (FormationSceneName.Length != 0) hash ^= FormationSceneName.GetHashCode(); + if (Bg.Length != 0) hash ^= Bg.GetHashCode(); + if (PreTowerLevelId != 0) hash ^= PreTowerLevelId.GetHashCode(); + hash ^= openDay_.GetHashCode(); + if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.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 (ElementType != 0) { + output.WriteRawTag(24); + output.WriteInt32(ElementType); + } + if (FormationSceneName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FormationSceneName); + } + if (Bg.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Bg); + } + if (PreTowerLevelId != 0) { + output.WriteRawTag(48); + output.WriteInt32(PreTowerLevelId); + } + openDay_.WriteTo(output, _repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + output.WriteRawTag(66); + output.WriteString(OpenDayDesc); + } + 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 (ElementType != 0) { + output.WriteRawTag(24); + output.WriteInt32(ElementType); + } + if (FormationSceneName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FormationSceneName); + } + if (Bg.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Bg); + } + if (PreTowerLevelId != 0) { + output.WriteRawTag(48); + output.WriteInt32(PreTowerLevelId); + } + openDay_.WriteTo(ref output, _repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + output.WriteRawTag(66); + output.WriteString(OpenDayDesc); + } + 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 (ElementType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElementType); + } + if (FormationSceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FormationSceneName); + } + if (Bg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); + } + if (PreTowerLevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreTowerLevelId); + } + size += openDay_.CalculateSize(_repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTower other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.ElementType != 0) { + ElementType = other.ElementType; + } + if (other.FormationSceneName.Length != 0) { + FormationSceneName = other.FormationSceneName; + } + if (other.Bg.Length != 0) { + Bg = other.Bg; + } + if (other.PreTowerLevelId != 0) { + PreTowerLevelId = other.PreTowerLevelId; + } + openDay_.Add(other.openDay_); + if (other.OpenDayDesc.Length != 0) { + OpenDayDesc = other.OpenDayDesc; + } + _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: { + ElementType = input.ReadInt32(); + break; + } + case 34: { + FormationSceneName = input.ReadString(); + break; + } + case 42: { + Bg = input.ReadString(); + break; + } + case 48: { + PreTowerLevelId = input.ReadInt32(); + break; + } + case 58: + case 56: { + openDay_.AddEntriesFrom(input, _repeated_openDay_codec); + break; + } + case 66: { + OpenDayDesc = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + ElementType = input.ReadInt32(); + break; + } + case 34: { + FormationSceneName = input.ReadString(); + break; + } + case 42: { + Bg = input.ReadString(); + break; + } + case 48: { + PreTowerLevelId = input.ReadInt32(); + break; + } + case 58: + case 56: { + openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec); + break; + } + case 66: { + OpenDayDesc = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTower : pb::IMessage<table_InfinityTower> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTower> _parser = new pb::MessageParser<table_InfinityTower>(() => new table_InfinityTower()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTower> 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.ClientTableReflection.Descriptor.MessageTypes[221]; } + } + + [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 table_InfinityTower() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTower(table_InfinityTower other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTower Clone() { + return new table_InfinityTower(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTower> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTower.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTower> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTower>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTower> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTower); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTower other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTower other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerAffix : pb::IMessage<InfinityTowerAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerAffix> _parser = new pb::MessageParser<InfinityTowerAffix>(() => new InfinityTowerAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerAffix> 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.ClientTableReflection.Descriptor.MessageTypes[222]; } + } + + [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 InfinityTowerAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerAffix(InfinityTowerAffix other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + addCamp_ = other.addCamp_.Clone(); + triggerCondition_ = other.triggerCondition_; + triggerParam_ = other.triggerParam_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerAffix Clone() { + return new InfinityTowerAffix(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "AddCamp" field.</summary> + public const int AddCampFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_addCamp_codec + = pb::FieldCodec.ForInt32(34); + 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 "TriggerCondition" field.</summary> + public const int TriggerConditionFieldNumber = 5; + private int triggerCondition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TriggerCondition { + get { return triggerCondition_; } + set { + triggerCondition_ = value; + } + } + + /// <summary>Field number for the "TriggerParam" field.</summary> + public const int TriggerParamFieldNumber = 6; + private string triggerParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerParam { + get { return triggerParam_; } + set { + triggerParam_ = 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 InfinityTowerAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerAffix 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 (Desc != other.Desc) return false; + if(!addCamp_.Equals(other.addCamp_)) return false; + if (TriggerCondition != other.TriggerCondition) return false; + if (TriggerParam != other.TriggerParam) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + hash ^= addCamp_.GetHashCode(); + if (TriggerCondition != 0) hash ^= TriggerCondition.GetHashCode(); + if (TriggerParam.Length != 0) hash ^= TriggerParam.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + addCamp_.WriteTo(output, _repeated_addCamp_codec); + if (TriggerCondition != 0) { + output.WriteRawTag(40); + output.WriteInt32(TriggerCondition); + } + if (TriggerParam.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TriggerParam); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + addCamp_.WriteTo(ref output, _repeated_addCamp_codec); + if (TriggerCondition != 0) { + output.WriteRawTag(40); + output.WriteInt32(TriggerCondition); + } + if (TriggerParam.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TriggerParam); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + size += addCamp_.CalculateSize(_repeated_addCamp_codec); + if (TriggerCondition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerCondition); + } + if (TriggerParam.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerParam); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerAffix other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + addCamp_.Add(other.addCamp_); + if (other.TriggerCondition != 0) { + TriggerCondition = other.TriggerCondition; + } + if (other.TriggerParam.Length != 0) { + TriggerParam = other.TriggerParam; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: + case 32: { + addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec); + break; + } + case 40: { + TriggerCondition = input.ReadInt32(); + break; + } + case 50: { + TriggerParam = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: + case 32: { + addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec); + break; + } + case 40: { + TriggerCondition = input.ReadInt32(); + break; + } + case 50: { + TriggerParam = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerAffix : pb::IMessage<table_InfinityTowerAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerAffix> _parser = new pb::MessageParser<table_InfinityTowerAffix>(() => new table_InfinityTowerAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerAffix> 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.ClientTableReflection.Descriptor.MessageTypes[223]; } + } + + [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 table_InfinityTowerAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerAffix(table_InfinityTowerAffix other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerAffix Clone() { + return new table_InfinityTowerAffix(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerAffix> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerAffix.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerAffix> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerAffix>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerAffix> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerAffix other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerAffix other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerBountyLevel : pb::IMessage<InfinityTowerBountyLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerBountyLevel> _parser = new pb::MessageParser<InfinityTowerBountyLevel>(() => new InfinityTowerBountyLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerBountyLevel> 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.ClientTableReflection.Descriptor.MessageTypes[224]; } + } + + [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 InfinityTowerBountyLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerBountyLevel(InfinityTowerBountyLevel other) : this() { + id_ = other.id_; + level_ = other.level_; + name_ = other.name_; + icon_ = other.icon_; + rewardDropId_ = other.rewardDropId_; + rewardShow_ = other.rewardShow_; + cond1_ = other.cond1_; + condParam1_ = other.condParam1_.Clone(); + condDesc1_ = other.condDesc1_; + cond2_ = other.cond2_; + condParam2_ = other.condParam2_.Clone(); + condDesc2_ = other.condDesc2_; + cond3_ = other.cond3_; + condParam3_ = other.condParam3_.Clone(); + condDesc3_ = other.condDesc3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerBountyLevel Clone() { + return new InfinityTowerBountyLevel(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 "Level" field.</summary> + public const int LevelFieldNumber = 2; + 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 = 3; + 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 "Icon" field.</summary> + public const int IconFieldNumber = 4; + 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 "RewardDropId" field.</summary> + public const int RewardDropIdFieldNumber = 5; + private int rewardDropId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardDropId { + get { return rewardDropId_; } + set { + rewardDropId_ = value; + } + } + + /// <summary>Field number for the "RewardShow" field.</summary> + public const int RewardShowFieldNumber = 6; + private string rewardShow_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardShow { + get { return rewardShow_; } + set { + rewardShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Cond1" field.</summary> + public const int Cond1FieldNumber = 7; + private int cond1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Cond1 { + get { return cond1_; } + set { + cond1_ = value; + } + } + + /// <summary>Field number for the "CondParam1" field.</summary> + public const int CondParam1FieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_condParam1_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> condParam1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CondParam1 { + get { return condParam1_; } + } + + /// <summary>Field number for the "CondDesc1" field.</summary> + public const int CondDesc1FieldNumber = 9; + private string condDesc1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CondDesc1 { + get { return condDesc1_; } + set { + condDesc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Cond2" field.</summary> + public const int Cond2FieldNumber = 10; + private int cond2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Cond2 { + get { return cond2_; } + set { + cond2_ = value; + } + } + + /// <summary>Field number for the "CondParam2" field.</summary> + public const int CondParam2FieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_condParam2_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> condParam2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CondParam2 { + get { return condParam2_; } + } + + /// <summary>Field number for the "CondDesc2" field.</summary> + public const int CondDesc2FieldNumber = 12; + private string condDesc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CondDesc2 { + get { return condDesc2_; } + set { + condDesc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Cond3" field.</summary> + public const int Cond3FieldNumber = 13; + private int cond3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Cond3 { + get { return cond3_; } + set { + cond3_ = value; + } + } + + /// <summary>Field number for the "CondParam3" field.</summary> + public const int CondParam3FieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_condParam3_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> condParam3_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CondParam3 { + get { return condParam3_; } + } + + /// <summary>Field number for the "CondDesc3" field.</summary> + public const int CondDesc3FieldNumber = 15; + private string condDesc3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CondDesc3 { + get { return condDesc3_; } + set { + condDesc3_ = 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 InfinityTowerBountyLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerBountyLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Level != other.Level) return false; + if (Name != other.Name) return false; + if (Icon != other.Icon) return false; + if (RewardDropId != other.RewardDropId) return false; + if (RewardShow != other.RewardShow) return false; + if (Cond1 != other.Cond1) return false; + if(!condParam1_.Equals(other.condParam1_)) return false; + if (CondDesc1 != other.CondDesc1) return false; + if (Cond2 != other.Cond2) return false; + if(!condParam2_.Equals(other.condParam2_)) return false; + if (CondDesc2 != other.CondDesc2) return false; + if (Cond3 != other.Cond3) return false; + if(!condParam3_.Equals(other.condParam3_)) return false; + if (CondDesc3 != other.CondDesc3) 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 (Level != 0) hash ^= Level.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (RewardDropId != 0) hash ^= RewardDropId.GetHashCode(); + if (RewardShow.Length != 0) hash ^= RewardShow.GetHashCode(); + if (Cond1 != 0) hash ^= Cond1.GetHashCode(); + hash ^= condParam1_.GetHashCode(); + if (CondDesc1.Length != 0) hash ^= CondDesc1.GetHashCode(); + if (Cond2 != 0) hash ^= Cond2.GetHashCode(); + hash ^= condParam2_.GetHashCode(); + if (CondDesc2.Length != 0) hash ^= CondDesc2.GetHashCode(); + if (Cond3 != 0) hash ^= Cond3.GetHashCode(); + hash ^= condParam3_.GetHashCode(); + if (CondDesc3.Length != 0) hash ^= CondDesc3.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 (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (RewardDropId != 0) { + output.WriteRawTag(40); + output.WriteInt32(RewardDropId); + } + if (RewardShow.Length != 0) { + output.WriteRawTag(50); + output.WriteString(RewardShow); + } + if (Cond1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Cond1); + } + condParam1_.WriteTo(output, _repeated_condParam1_codec); + if (CondDesc1.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CondDesc1); + } + if (Cond2 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Cond2); + } + condParam2_.WriteTo(output, _repeated_condParam2_codec); + if (CondDesc2.Length != 0) { + output.WriteRawTag(98); + output.WriteString(CondDesc2); + } + if (Cond3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Cond3); + } + condParam3_.WriteTo(output, _repeated_condParam3_codec); + if (CondDesc3.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CondDesc3); + } + 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 (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (RewardDropId != 0) { + output.WriteRawTag(40); + output.WriteInt32(RewardDropId); + } + if (RewardShow.Length != 0) { + output.WriteRawTag(50); + output.WriteString(RewardShow); + } + if (Cond1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Cond1); + } + condParam1_.WriteTo(ref output, _repeated_condParam1_codec); + if (CondDesc1.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CondDesc1); + } + if (Cond2 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Cond2); + } + condParam2_.WriteTo(ref output, _repeated_condParam2_codec); + if (CondDesc2.Length != 0) { + output.WriteRawTag(98); + output.WriteString(CondDesc2); + } + if (Cond3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Cond3); + } + condParam3_.WriteTo(ref output, _repeated_condParam3_codec); + if (CondDesc3.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CondDesc3); + } + 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 (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (RewardDropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardDropId); + } + if (RewardShow.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardShow); + } + if (Cond1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond1); + } + size += condParam1_.CalculateSize(_repeated_condParam1_codec); + if (CondDesc1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc1); + } + if (Cond2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond2); + } + size += condParam2_.CalculateSize(_repeated_condParam2_codec); + if (CondDesc2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc2); + } + if (Cond3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond3); + } + size += condParam3_.CalculateSize(_repeated_condParam3_codec); + if (CondDesc3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CondDesc3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerBountyLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.RewardDropId != 0) { + RewardDropId = other.RewardDropId; + } + if (other.RewardShow.Length != 0) { + RewardShow = other.RewardShow; + } + if (other.Cond1 != 0) { + Cond1 = other.Cond1; + } + condParam1_.Add(other.condParam1_); + if (other.CondDesc1.Length != 0) { + CondDesc1 = other.CondDesc1; + } + if (other.Cond2 != 0) { + Cond2 = other.Cond2; + } + condParam2_.Add(other.condParam2_); + if (other.CondDesc2.Length != 0) { + CondDesc2 = other.CondDesc2; + } + if (other.Cond3 != 0) { + Cond3 = other.Cond3; + } + condParam3_.Add(other.condParam3_); + if (other.CondDesc3.Length != 0) { + CondDesc3 = other.CondDesc3; + } + _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: { + Level = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 40: { + RewardDropId = input.ReadInt32(); + break; + } + case 50: { + RewardShow = input.ReadString(); + break; + } + case 56: { + Cond1 = input.ReadInt32(); + break; + } + case 66: + case 64: { + condParam1_.AddEntriesFrom(input, _repeated_condParam1_codec); + break; + } + case 74: { + CondDesc1 = input.ReadString(); + break; + } + case 80: { + Cond2 = input.ReadInt32(); + break; + } + case 90: + case 88: { + condParam2_.AddEntriesFrom(input, _repeated_condParam2_codec); + break; + } + case 98: { + CondDesc2 = input.ReadString(); + break; + } + case 104: { + Cond3 = input.ReadInt32(); + break; + } + case 114: + case 112: { + condParam3_.AddEntriesFrom(input, _repeated_condParam3_codec); + break; + } + case 122: { + CondDesc3 = 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: { + Level = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 40: { + RewardDropId = input.ReadInt32(); + break; + } + case 50: { + RewardShow = input.ReadString(); + break; + } + case 56: { + Cond1 = input.ReadInt32(); + break; + } + case 66: + case 64: { + condParam1_.AddEntriesFrom(ref input, _repeated_condParam1_codec); + break; + } + case 74: { + CondDesc1 = input.ReadString(); + break; + } + case 80: { + Cond2 = input.ReadInt32(); + break; + } + case 90: + case 88: { + condParam2_.AddEntriesFrom(ref input, _repeated_condParam2_codec); + break; + } + case 98: { + CondDesc2 = input.ReadString(); + break; + } + case 104: { + Cond3 = input.ReadInt32(); + break; + } + case 114: + case 112: { + condParam3_.AddEntriesFrom(ref input, _repeated_condParam3_codec); + break; + } + case 122: { + CondDesc3 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerBountyLevel : pb::IMessage<table_InfinityTowerBountyLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerBountyLevel> _parser = new pb::MessageParser<table_InfinityTowerBountyLevel>(() => new table_InfinityTowerBountyLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerBountyLevel> 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.ClientTableReflection.Descriptor.MessageTypes[225]; } + } + + [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 table_InfinityTowerBountyLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerBountyLevel(table_InfinityTowerBountyLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerBountyLevel Clone() { + return new table_InfinityTowerBountyLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerBountyLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerBountyLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerBountyLevel> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerBountyLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerBountyLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerBountyLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerBountyLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerBountyLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerDifficulty : pb::IMessage<InfinityTowerDifficulty> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerDifficulty> _parser = new pb::MessageParser<InfinityTowerDifficulty>(() => new InfinityTowerDifficulty()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerDifficulty> 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.ClientTableReflection.Descriptor.MessageTypes[226]; } + } + + [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 InfinityTowerDifficulty() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerDifficulty(InfinityTowerDifficulty other) : this() { + id_ = other.id_; + name_ = other.name_; + towerId_ = other.towerId_; + unlockWorldClass_ = other.unlockWorldClass_; + unlockTips_ = other.unlockTips_; + isChallenge_ = other.isChallenge_; + recommendLevel_ = other.recommendLevel_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerDifficulty Clone() { + return new InfinityTowerDifficulty(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 "TowerId" field.</summary> + public const int TowerIdFieldNumber = 3; + private int towerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TowerId { + get { return towerId_; } + set { + towerId_ = value; + } + } + + /// <summary>Field number for the "UnlockWorldClass" field.</summary> + public const int UnlockWorldClassFieldNumber = 4; + private int unlockWorldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockWorldClass { + get { return unlockWorldClass_; } + set { + unlockWorldClass_ = value; + } + } + + /// <summary>Field number for the "UnlockTips" field.</summary> + public const int UnlockTipsFieldNumber = 5; + private string unlockTips_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockTips { + get { return unlockTips_; } + set { + unlockTips_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IsChallenge" field.</summary> + public const int IsChallengeFieldNumber = 6; + private bool isChallenge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsChallenge { + get { return isChallenge_; } + set { + isChallenge_ = value; + } + } + + /// <summary>Field number for the "RecommendLevel" field.</summary> + public const int RecommendLevelFieldNumber = 7; + private int recommendLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendLevel { + get { return recommendLevel_; } + set { + recommendLevel_ = value; + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 8; + private int sort_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sort { + get { return sort_; } + set { + sort_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InfinityTowerDifficulty); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerDifficulty 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 (TowerId != other.TowerId) return false; + if (UnlockWorldClass != other.UnlockWorldClass) return false; + if (UnlockTips != other.UnlockTips) return false; + if (IsChallenge != other.IsChallenge) return false; + if (RecommendLevel != other.RecommendLevel) return false; + if (Sort != other.Sort) 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 (TowerId != 0) hash ^= TowerId.GetHashCode(); + if (UnlockWorldClass != 0) hash ^= UnlockWorldClass.GetHashCode(); + if (UnlockTips.Length != 0) hash ^= UnlockTips.GetHashCode(); + if (IsChallenge != false) hash ^= IsChallenge.GetHashCode(); + if (RecommendLevel != 0) hash ^= RecommendLevel.GetHashCode(); + if (Sort != 0) hash ^= Sort.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 (TowerId != 0) { + output.WriteRawTag(24); + output.WriteInt32(TowerId); + } + if (UnlockWorldClass != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockWorldClass); + } + if (UnlockTips.Length != 0) { + output.WriteRawTag(42); + output.WriteString(UnlockTips); + } + if (IsChallenge != false) { + output.WriteRawTag(48); + output.WriteBool(IsChallenge); + } + if (RecommendLevel != 0) { + output.WriteRawTag(56); + output.WriteInt32(RecommendLevel); + } + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + 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 (TowerId != 0) { + output.WriteRawTag(24); + output.WriteInt32(TowerId); + } + if (UnlockWorldClass != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockWorldClass); + } + if (UnlockTips.Length != 0) { + output.WriteRawTag(42); + output.WriteString(UnlockTips); + } + if (IsChallenge != false) { + output.WriteRawTag(48); + output.WriteBool(IsChallenge); + } + if (RecommendLevel != 0) { + output.WriteRawTag(56); + output.WriteInt32(RecommendLevel); + } + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + 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 (TowerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TowerId); + } + if (UnlockWorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldClass); + } + if (UnlockTips.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockTips); + } + if (IsChallenge != false) { + size += 1 + 1; + } + if (RecommendLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendLevel); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerDifficulty other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.TowerId != 0) { + TowerId = other.TowerId; + } + if (other.UnlockWorldClass != 0) { + UnlockWorldClass = other.UnlockWorldClass; + } + if (other.UnlockTips.Length != 0) { + UnlockTips = other.UnlockTips; + } + if (other.IsChallenge != false) { + IsChallenge = other.IsChallenge; + } + if (other.RecommendLevel != 0) { + RecommendLevel = other.RecommendLevel; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + _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: { + TowerId = input.ReadInt32(); + break; + } + case 32: { + UnlockWorldClass = input.ReadInt32(); + break; + } + case 42: { + UnlockTips = input.ReadString(); + break; + } + case 48: { + IsChallenge = input.ReadBool(); + break; + } + case 56: { + RecommendLevel = input.ReadInt32(); + break; + } + case 64: { + Sort = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + TowerId = input.ReadInt32(); + break; + } + case 32: { + UnlockWorldClass = input.ReadInt32(); + break; + } + case 42: { + UnlockTips = input.ReadString(); + break; + } + case 48: { + IsChallenge = input.ReadBool(); + break; + } + case 56: { + RecommendLevel = input.ReadInt32(); + break; + } + case 64: { + Sort = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerDifficulty : pb::IMessage<table_InfinityTowerDifficulty> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerDifficulty> _parser = new pb::MessageParser<table_InfinityTowerDifficulty>(() => new table_InfinityTowerDifficulty()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerDifficulty> 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.ClientTableReflection.Descriptor.MessageTypes[227]; } + } + + [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 table_InfinityTowerDifficulty() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerDifficulty(table_InfinityTowerDifficulty other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerDifficulty Clone() { + return new table_InfinityTowerDifficulty(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerDifficulty> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerDifficulty.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerDifficulty> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerDifficulty>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerDifficulty> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerDifficulty); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerDifficulty other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerDifficulty other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerEnemySet : pb::IMessage<InfinityTowerEnemySet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerEnemySet> _parser = new pb::MessageParser<InfinityTowerEnemySet>(() => new InfinityTowerEnemySet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerEnemySet> 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.ClientTableReflection.Descriptor.MessageTypes[228]; } + } + + [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 InfinityTowerEnemySet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerEnemySet(InfinityTowerEnemySet other) : this() { + setId_ = other.setId_; + waveNum_ = other.waveNum_; + groupNum_ = other.groupNum_; + maxNum_ = other.maxNum_; + maxNumPerWave_ = other.maxNumPerWave_; + monsterId_ = other.monsterId_; + levelChange_ = other.levelChange_; + commonGameplayType_ = other.commonGameplayType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerEnemySet Clone() { + return new InfinityTowerEnemySet(this); + } + + /// <summary>Field number for the "SetId" field.</summary> + public const int SetIdFieldNumber = 1; + private int setId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SetId { + get { return setId_; } + set { + setId_ = value; + } + } + + /// <summary>Field number for the "WaveNum" field.</summary> + public const int WaveNumFieldNumber = 2; + private int waveNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WaveNum { + get { return waveNum_; } + set { + waveNum_ = value; + } + } + + /// <summary>Field number for the "GroupNum" field.</summary> + public const int GroupNumFieldNumber = 3; + private int groupNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GroupNum { + get { return groupNum_; } + set { + groupNum_ = value; + } + } + + /// <summary>Field number for the "MaxNum" field.</summary> + public const int MaxNumFieldNumber = 4; + private int maxNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxNum { + get { return maxNum_; } + set { + maxNum_ = value; + } + } + + /// <summary>Field number for the "MaxNumPerWave" field.</summary> + public const int MaxNumPerWaveFieldNumber = 5; + private int maxNumPerWave_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxNumPerWave { + get { return maxNumPerWave_; } + set { + maxNumPerWave_ = value; + } + } + + /// <summary>Field number for the "MonsterId" field.</summary> + public const int MonsterIdFieldNumber = 6; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "LevelChange" field.</summary> + public const int LevelChangeFieldNumber = 7; + private int levelChange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelChange { + get { return levelChange_; } + set { + levelChange_ = value; + } + } + + /// <summary>Field number for the "CommonGameplayType" field.</summary> + public const int CommonGameplayTypeFieldNumber = 8; + private int commonGameplayType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CommonGameplayType { + get { return commonGameplayType_; } + set { + commonGameplayType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InfinityTowerEnemySet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerEnemySet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SetId != other.SetId) return false; + if (WaveNum != other.WaveNum) return false; + if (GroupNum != other.GroupNum) return false; + if (MaxNum != other.MaxNum) return false; + if (MaxNumPerWave != other.MaxNumPerWave) return false; + if (MonsterId != other.MonsterId) return false; + if (LevelChange != other.LevelChange) return false; + if (CommonGameplayType != other.CommonGameplayType) 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 (SetId != 0) hash ^= SetId.GetHashCode(); + if (WaveNum != 0) hash ^= WaveNum.GetHashCode(); + if (GroupNum != 0) hash ^= GroupNum.GetHashCode(); + if (MaxNum != 0) hash ^= MaxNum.GetHashCode(); + if (MaxNumPerWave != 0) hash ^= MaxNumPerWave.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (LevelChange != 0) hash ^= LevelChange.GetHashCode(); + if (CommonGameplayType != 0) hash ^= CommonGameplayType.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 (SetId != 0) { + output.WriteRawTag(8); + output.WriteInt32(SetId); + } + if (WaveNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(WaveNum); + } + if (GroupNum != 0) { + output.WriteRawTag(24); + output.WriteInt32(GroupNum); + } + if (MaxNum != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxNum); + } + if (MaxNumPerWave != 0) { + output.WriteRawTag(40); + output.WriteInt32(MaxNumPerWave); + } + if (MonsterId != 0) { + output.WriteRawTag(48); + output.WriteInt32(MonsterId); + } + if (LevelChange != 0) { + output.WriteRawTag(56); + output.WriteInt32(LevelChange); + } + if (CommonGameplayType != 0) { + output.WriteRawTag(64); + output.WriteInt32(CommonGameplayType); + } + 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 (SetId != 0) { + output.WriteRawTag(8); + output.WriteInt32(SetId); + } + if (WaveNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(WaveNum); + } + if (GroupNum != 0) { + output.WriteRawTag(24); + output.WriteInt32(GroupNum); + } + if (MaxNum != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxNum); + } + if (MaxNumPerWave != 0) { + output.WriteRawTag(40); + output.WriteInt32(MaxNumPerWave); + } + if (MonsterId != 0) { + output.WriteRawTag(48); + output.WriteInt32(MonsterId); + } + if (LevelChange != 0) { + output.WriteRawTag(56); + output.WriteInt32(LevelChange); + } + if (CommonGameplayType != 0) { + output.WriteRawTag(64); + output.WriteInt32(CommonGameplayType); + } + 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 (SetId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); + } + if (WaveNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum); + } + if (GroupNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupNum); + } + if (MaxNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum); + } + if (MaxNumPerWave != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerWave); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (LevelChange != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelChange); + } + if (CommonGameplayType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CommonGameplayType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerEnemySet other) { + if (other == null) { + return; + } + if (other.SetId != 0) { + SetId = other.SetId; + } + if (other.WaveNum != 0) { + WaveNum = other.WaveNum; + } + if (other.GroupNum != 0) { + GroupNum = other.GroupNum; + } + if (other.MaxNum != 0) { + MaxNum = other.MaxNum; + } + if (other.MaxNumPerWave != 0) { + MaxNumPerWave = other.MaxNumPerWave; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.LevelChange != 0) { + LevelChange = other.LevelChange; + } + if (other.CommonGameplayType != 0) { + CommonGameplayType = other.CommonGameplayType; + } + _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: { + SetId = input.ReadInt32(); + break; + } + case 16: { + WaveNum = input.ReadInt32(); + break; + } + case 24: { + GroupNum = input.ReadInt32(); + break; + } + case 32: { + MaxNum = input.ReadInt32(); + break; + } + case 40: { + MaxNumPerWave = input.ReadInt32(); + break; + } + case 48: { + MonsterId = input.ReadInt32(); + break; + } + case 56: { + LevelChange = input.ReadInt32(); + break; + } + case 64: { + CommonGameplayType = 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: { + SetId = input.ReadInt32(); + break; + } + case 16: { + WaveNum = input.ReadInt32(); + break; + } + case 24: { + GroupNum = input.ReadInt32(); + break; + } + case 32: { + MaxNum = input.ReadInt32(); + break; + } + case 40: { + MaxNumPerWave = input.ReadInt32(); + break; + } + case 48: { + MonsterId = input.ReadInt32(); + break; + } + case 56: { + LevelChange = input.ReadInt32(); + break; + } + case 64: { + CommonGameplayType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerEnemySet : pb::IMessage<table_InfinityTowerEnemySet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerEnemySet> _parser = new pb::MessageParser<table_InfinityTowerEnemySet>(() => new table_InfinityTowerEnemySet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerEnemySet> 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.ClientTableReflection.Descriptor.MessageTypes[229]; } + } + + [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 table_InfinityTowerEnemySet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerEnemySet(table_InfinityTowerEnemySet other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerEnemySet Clone() { + return new table_InfinityTowerEnemySet(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerEnemySet> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerEnemySet.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerEnemySet> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerEnemySet>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerEnemySet> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerEnemySet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerEnemySet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerEnemySet other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerFloor : pb::IMessage<InfinityTowerFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerFloor> _parser = new pb::MessageParser<InfinityTowerFloor>(() => new InfinityTowerFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerFloor> 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.ClientTableReflection.Descriptor.MessageTypes[230]; } + } + + [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 InfinityTowerFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerFloor(InfinityTowerFloor other) : this() { + id_ = other.id_; + lvId_ = other.lvId_; + mapId_ = other.mapId_; + battleLv_ = other.battleLv_; + floorFunc_ = other.floorFunc_; + monsterLv_ = other.monsterLv_; + stage_ = other.stage_; + setId_ = other.setId_; + limitTime_ = other.limitTime_; + previewMonsterGroupId_ = other.previewMonsterGroupId_; + affixId_ = other.affixId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerFloor Clone() { + return new InfinityTowerFloor(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 "LvId" field.</summary> + public const int LvIdFieldNumber = 2; + private int lvId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LvId { + get { return lvId_; } + set { + lvId_ = value; + } + } + + /// <summary>Field number for the "MapId" field.</summary> + public const int MapIdFieldNumber = 3; + private int mapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MapId { + get { return mapId_; } + set { + mapId_ = value; + } + } + + /// <summary>Field number for the "BattleLv" field.</summary> + public const int BattleLvFieldNumber = 4; + private int battleLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BattleLv { + get { return battleLv_; } + set { + battleLv_ = value; + } + } + + /// <summary>Field number for the "FloorFunc" field.</summary> + public const int FloorFuncFieldNumber = 5; + private int floorFunc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FloorFunc { + get { return floorFunc_; } + set { + floorFunc_ = value; + } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 6; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + /// <summary>Field number for the "Stage" field.</summary> + public const int StageFieldNumber = 7; + private int stage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stage { + get { return stage_; } + set { + stage_ = value; + } + } + + /// <summary>Field number for the "SetId" field.</summary> + public const int SetIdFieldNumber = 8; + private int setId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SetId { + get { return setId_; } + set { + setId_ = value; + } + } + + /// <summary>Field number for the "LimitTime" field.</summary> + public const int LimitTimeFieldNumber = 9; + private int limitTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LimitTime { + get { return limitTime_; } + set { + limitTime_ = value; + } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + public const int PreviewMonsterGroupIdFieldNumber = 10; + private int previewMonsterGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreviewMonsterGroupId { + get { return previewMonsterGroupId_; } + set { + previewMonsterGroupId_ = value; + } + } + + /// <summary>Field number for the "AffixId" field.</summary> + public const int AffixIdFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_affixId_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> affixId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AffixId { + get { return affixId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InfinityTowerFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LvId != other.LvId) return false; + if (MapId != other.MapId) return false; + if (BattleLv != other.BattleLv) return false; + if (FloorFunc != other.FloorFunc) return false; + if (MonsterLv != other.MonsterLv) return false; + if (Stage != other.Stage) return false; + if (SetId != other.SetId) return false; + if (LimitTime != other.LimitTime) return false; + if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; + if(!affixId_.Equals(other.affixId_)) 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 (LvId != 0) hash ^= LvId.GetHashCode(); + if (MapId != 0) hash ^= MapId.GetHashCode(); + if (BattleLv != 0) hash ^= BattleLv.GetHashCode(); + if (FloorFunc != 0) hash ^= FloorFunc.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); + if (Stage != 0) hash ^= Stage.GetHashCode(); + if (SetId != 0) hash ^= SetId.GetHashCode(); + if (LimitTime != 0) hash ^= LimitTime.GetHashCode(); + if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); + hash ^= affixId_.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 (LvId != 0) { + output.WriteRawTag(16); + output.WriteInt32(LvId); + } + if (MapId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MapId); + } + if (BattleLv != 0) { + output.WriteRawTag(32); + output.WriteInt32(BattleLv); + } + if (FloorFunc != 0) { + output.WriteRawTag(40); + output.WriteInt32(FloorFunc); + } + if (MonsterLv != 0) { + output.WriteRawTag(48); + output.WriteInt32(MonsterLv); + } + if (Stage != 0) { + output.WriteRawTag(56); + output.WriteInt32(Stage); + } + if (SetId != 0) { + output.WriteRawTag(64); + output.WriteInt32(SetId); + } + if (LimitTime != 0) { + output.WriteRawTag(72); + output.WriteInt32(LimitTime); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(80); + output.WriteInt32(PreviewMonsterGroupId); + } + affixId_.WriteTo(output, _repeated_affixId_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 (LvId != 0) { + output.WriteRawTag(16); + output.WriteInt32(LvId); + } + if (MapId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MapId); + } + if (BattleLv != 0) { + output.WriteRawTag(32); + output.WriteInt32(BattleLv); + } + if (FloorFunc != 0) { + output.WriteRawTag(40); + output.WriteInt32(FloorFunc); + } + if (MonsterLv != 0) { + output.WriteRawTag(48); + output.WriteInt32(MonsterLv); + } + if (Stage != 0) { + output.WriteRawTag(56); + output.WriteInt32(Stage); + } + if (SetId != 0) { + output.WriteRawTag(64); + output.WriteInt32(SetId); + } + if (LimitTime != 0) { + output.WriteRawTag(72); + output.WriteInt32(LimitTime); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(80); + output.WriteInt32(PreviewMonsterGroupId); + } + affixId_.WriteTo(ref output, _repeated_affixId_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 (LvId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LvId); + } + if (MapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MapId); + } + if (BattleLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleLv); + } + if (FloorFunc != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorFunc); + } + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (Stage != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); + } + if (SetId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); + } + if (LimitTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitTime); + } + if (PreviewMonsterGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); + } + size += affixId_.CalculateSize(_repeated_affixId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LvId != 0) { + LvId = other.LvId; + } + if (other.MapId != 0) { + MapId = other.MapId; + } + if (other.BattleLv != 0) { + BattleLv = other.BattleLv; + } + if (other.FloorFunc != 0) { + FloorFunc = other.FloorFunc; + } + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + if (other.Stage != 0) { + Stage = other.Stage; + } + if (other.SetId != 0) { + SetId = other.SetId; + } + if (other.LimitTime != 0) { + LimitTime = other.LimitTime; + } + if (other.PreviewMonsterGroupId != 0) { + PreviewMonsterGroupId = other.PreviewMonsterGroupId; + } + affixId_.Add(other.affixId_); + _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: { + LvId = input.ReadInt32(); + break; + } + case 24: { + MapId = input.ReadInt32(); + break; + } + case 32: { + BattleLv = input.ReadInt32(); + break; + } + case 40: { + FloorFunc = input.ReadInt32(); + break; + } + case 48: { + MonsterLv = input.ReadInt32(); + break; + } + case 56: { + Stage = input.ReadInt32(); + break; + } + case 64: { + SetId = input.ReadInt32(); + break; + } + case 72: { + LimitTime = input.ReadInt32(); + break; + } + case 80: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 90: + case 88: { + affixId_.AddEntriesFrom(input, _repeated_affixId_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: { + LvId = input.ReadInt32(); + break; + } + case 24: { + MapId = input.ReadInt32(); + break; + } + case 32: { + BattleLv = input.ReadInt32(); + break; + } + case 40: { + FloorFunc = input.ReadInt32(); + break; + } + case 48: { + MonsterLv = input.ReadInt32(); + break; + } + case 56: { + Stage = input.ReadInt32(); + break; + } + case 64: { + SetId = input.ReadInt32(); + break; + } + case 72: { + LimitTime = input.ReadInt32(); + break; + } + case 80: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 90: + case 88: { + affixId_.AddEntriesFrom(ref input, _repeated_affixId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerFloor : pb::IMessage<table_InfinityTowerFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerFloor> _parser = new pb::MessageParser<table_InfinityTowerFloor>(() => new table_InfinityTowerFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerFloor> 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.ClientTableReflection.Descriptor.MessageTypes[231]; } + } + + [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 table_InfinityTowerFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerFloor(table_InfinityTowerFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerFloor Clone() { + return new table_InfinityTowerFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerFloor> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerLevel : pb::IMessage<InfinityTowerLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerLevel> _parser = new pb::MessageParser<InfinityTowerLevel>(() => new InfinityTowerLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerLevel> 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.ClientTableReflection.Descriptor.MessageTypes[232]; } + } + + [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 InfinityTowerLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerLevel(InfinityTowerLevel other) : this() { + id_ = other.id_; + name_ = other.name_; + difficultyId_ = other.difficultyId_; + levelType_ = other.levelType_; + floor_ = other.floor_; + floorId_ = other.floorId_; + preLevelId_ = other.preLevelId_; + entryCond_ = other.entryCond_; + entryCondParam_ = other.entryCondParam_.Clone(); + awardDropId_ = other.awardDropId_; + recommendLv_ = other.recommendLv_; + recommendBuildRank_ = other.recommendBuildRank_; + baseAwardPreview_ = other.baseAwardPreview_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerLevel Clone() { + return new InfinityTowerLevel(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 "DifficultyId" field.</summary> + public const int DifficultyIdFieldNumber = 3; + private int difficultyId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DifficultyId { + get { return difficultyId_; } + set { + difficultyId_ = value; + } + } + + /// <summary>Field number for the "LevelType" field.</summary> + public const int LevelTypeFieldNumber = 4; + private int levelType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelType { + get { return levelType_; } + set { + levelType_ = value; + } + } + + /// <summary>Field number for the "Floor" field.</summary> + public const int FloorFieldNumber = 5; + private int floor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Floor { + get { return floor_; } + set { + floor_ = value; + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + public const int FloorIdFieldNumber = 6; + private int floorId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FloorId { + get { return floorId_; } + set { + floorId_ = value; + } + } + + /// <summary>Field number for the "PreLevelId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "EntryCond" field.</summary> + public const int EntryCondFieldNumber = 8; + private int entryCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryCond { + get { return entryCond_; } + set { + entryCond_ = value; + } + } + + /// <summary>Field number for the "EntryCondParam" field.</summary> + public const int EntryCondParamFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_entryCondParam_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> entryCondParam_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EntryCondParam { + get { return entryCondParam_; } + } + + /// <summary>Field number for the "AwardDropId" field.</summary> + public const int AwardDropIdFieldNumber = 10; + private int awardDropId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardDropId { + get { return awardDropId_; } + set { + awardDropId_ = value; + } + } + + /// <summary>Field number for the "RecommendLv" field.</summary> + public const int RecommendLvFieldNumber = 11; + private int recommendLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendLv { + get { return recommendLv_; } + set { + recommendLv_ = value; + } + } + + /// <summary>Field number for the "RecommendBuildRank" field.</summary> + public const int RecommendBuildRankFieldNumber = 12; + private int recommendBuildRank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendBuildRank { + get { return recommendBuildRank_; } + set { + recommendBuildRank_ = value; + } + } + + /// <summary>Field number for the "BaseAwardPreview" field.</summary> + public const int BaseAwardPreviewFieldNumber = 13; + private string baseAwardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BaseAwardPreview { + get { return baseAwardPreview_; } + set { + baseAwardPreview_ = 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 InfinityTowerLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerLevel 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 (DifficultyId != other.DifficultyId) return false; + if (LevelType != other.LevelType) return false; + if (Floor != other.Floor) return false; + if (FloorId != other.FloorId) return false; + if (PreLevelId != other.PreLevelId) return false; + if (EntryCond != other.EntryCond) return false; + if(!entryCondParam_.Equals(other.entryCondParam_)) return false; + if (AwardDropId != other.AwardDropId) return false; + if (RecommendLv != other.RecommendLv) return false; + if (RecommendBuildRank != other.RecommendBuildRank) return false; + if (BaseAwardPreview != other.BaseAwardPreview) 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 (DifficultyId != 0) hash ^= DifficultyId.GetHashCode(); + if (LevelType != 0) hash ^= LevelType.GetHashCode(); + if (Floor != 0) hash ^= Floor.GetHashCode(); + if (FloorId != 0) hash ^= FloorId.GetHashCode(); + if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); + if (EntryCond != 0) hash ^= EntryCond.GetHashCode(); + hash ^= entryCondParam_.GetHashCode(); + if (AwardDropId != 0) hash ^= AwardDropId.GetHashCode(); + if (RecommendLv != 0) hash ^= RecommendLv.GetHashCode(); + if (RecommendBuildRank != 0) hash ^= RecommendBuildRank.GetHashCode(); + if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.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 (DifficultyId != 0) { + output.WriteRawTag(24); + output.WriteInt32(DifficultyId); + } + if (LevelType != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelType); + } + if (Floor != 0) { + output.WriteRawTag(40); + output.WriteInt32(Floor); + } + if (FloorId != 0) { + output.WriteRawTag(48); + output.WriteInt32(FloorId); + } + if (PreLevelId != 0) { + output.WriteRawTag(56); + output.WriteInt32(PreLevelId); + } + if (EntryCond != 0) { + output.WriteRawTag(64); + output.WriteInt32(EntryCond); + } + entryCondParam_.WriteTo(output, _repeated_entryCondParam_codec); + if (AwardDropId != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardDropId); + } + if (RecommendLv != 0) { + output.WriteRawTag(88); + output.WriteInt32(RecommendLv); + } + if (RecommendBuildRank != 0) { + output.WriteRawTag(96); + output.WriteInt32(RecommendBuildRank); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(106); + output.WriteString(BaseAwardPreview); + } + 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 (DifficultyId != 0) { + output.WriteRawTag(24); + output.WriteInt32(DifficultyId); + } + if (LevelType != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelType); + } + if (Floor != 0) { + output.WriteRawTag(40); + output.WriteInt32(Floor); + } + if (FloorId != 0) { + output.WriteRawTag(48); + output.WriteInt32(FloorId); + } + if (PreLevelId != 0) { + output.WriteRawTag(56); + output.WriteInt32(PreLevelId); + } + if (EntryCond != 0) { + output.WriteRawTag(64); + output.WriteInt32(EntryCond); + } + entryCondParam_.WriteTo(ref output, _repeated_entryCondParam_codec); + if (AwardDropId != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardDropId); + } + if (RecommendLv != 0) { + output.WriteRawTag(88); + output.WriteInt32(RecommendLv); + } + if (RecommendBuildRank != 0) { + output.WriteRawTag(96); + output.WriteInt32(RecommendBuildRank); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(106); + output.WriteString(BaseAwardPreview); + } + 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 (DifficultyId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DifficultyId); + } + if (LevelType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelType); + } + if (Floor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Floor); + } + if (FloorId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); + } + if (PreLevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); + } + if (EntryCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EntryCond); + } + size += entryCondParam_.CalculateSize(_repeated_entryCondParam_codec); + if (AwardDropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardDropId); + } + if (RecommendLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendLv); + } + if (RecommendBuildRank != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); + } + if (BaseAwardPreview.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DifficultyId != 0) { + DifficultyId = other.DifficultyId; + } + if (other.LevelType != 0) { + LevelType = other.LevelType; + } + if (other.Floor != 0) { + Floor = other.Floor; + } + if (other.FloorId != 0) { + FloorId = other.FloorId; + } + if (other.PreLevelId != 0) { + PreLevelId = other.PreLevelId; + } + if (other.EntryCond != 0) { + EntryCond = other.EntryCond; + } + entryCondParam_.Add(other.entryCondParam_); + if (other.AwardDropId != 0) { + AwardDropId = other.AwardDropId; + } + if (other.RecommendLv != 0) { + RecommendLv = other.RecommendLv; + } + if (other.RecommendBuildRank != 0) { + RecommendBuildRank = other.RecommendBuildRank; + } + if (other.BaseAwardPreview.Length != 0) { + BaseAwardPreview = other.BaseAwardPreview; + } + _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: { + DifficultyId = input.ReadInt32(); + break; + } + case 32: { + LevelType = input.ReadInt32(); + break; + } + case 40: { + Floor = input.ReadInt32(); + break; + } + case 48: { + FloorId = input.ReadInt32(); + break; + } + case 56: { + PreLevelId = input.ReadInt32(); + break; + } + case 64: { + EntryCond = input.ReadInt32(); + break; + } + case 74: + case 72: { + entryCondParam_.AddEntriesFrom(input, _repeated_entryCondParam_codec); + break; + } + case 80: { + AwardDropId = input.ReadInt32(); + break; + } + case 88: { + RecommendLv = input.ReadInt32(); + break; + } + case 96: { + RecommendBuildRank = input.ReadInt32(); + break; + } + case 106: { + BaseAwardPreview = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + DifficultyId = input.ReadInt32(); + break; + } + case 32: { + LevelType = input.ReadInt32(); + break; + } + case 40: { + Floor = input.ReadInt32(); + break; + } + case 48: { + FloorId = input.ReadInt32(); + break; + } + case 56: { + PreLevelId = input.ReadInt32(); + break; + } + case 64: { + EntryCond = input.ReadInt32(); + break; + } + case 74: + case 72: { + entryCondParam_.AddEntriesFrom(ref input, _repeated_entryCondParam_codec); + break; + } + case 80: { + AwardDropId = input.ReadInt32(); + break; + } + case 88: { + RecommendLv = input.ReadInt32(); + break; + } + case 96: { + RecommendBuildRank = input.ReadInt32(); + break; + } + case 106: { + BaseAwardPreview = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerLevel : pb::IMessage<table_InfinityTowerLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerLevel> _parser = new pb::MessageParser<table_InfinityTowerLevel>(() => new table_InfinityTowerLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerLevel> 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.ClientTableReflection.Descriptor.MessageTypes[233]; } + } + + [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 table_InfinityTowerLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerLevel(table_InfinityTowerLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerLevel Clone() { + return new table_InfinityTowerLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerLevel> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerMap : pb::IMessage<InfinityTowerMap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerMap> _parser = new pb::MessageParser<InfinityTowerMap>(() => new InfinityTowerMap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerMap> 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.ClientTableReflection.Descriptor.MessageTypes[234]; } + } + + [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 InfinityTowerMap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerMap(InfinityTowerMap other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerMap Clone() { + return new InfinityTowerMap(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = 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 InfinityTowerMap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerMap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerMap other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerMap : pb::IMessage<table_InfinityTowerMap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerMap> _parser = new pb::MessageParser<table_InfinityTowerMap>(() => new table_InfinityTowerMap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerMap> 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.ClientTableReflection.Descriptor.MessageTypes[235]; } + } + + [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 table_InfinityTowerMap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerMap(table_InfinityTowerMap other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerMap Clone() { + return new table_InfinityTowerMap(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerMap> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerMap.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerMap> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerMap>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerMap> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerMap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerMap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerMap other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerMsg : pb::IMessage<InfinityTowerMsg> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerMsg> _parser = new pb::MessageParser<InfinityTowerMsg>(() => new InfinityTowerMsg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerMsg> 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.ClientTableReflection.Descriptor.MessageTypes[236]; } + } + + [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 InfinityTowerMsg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerMsg(InfinityTowerMsg other) : this() { + id_ = other.id_; + title_ = other.title_; + content_ = other.content_; + type_ = other.type_; + dayOfWeek_ = other.dayOfWeek_.Clone(); + condition_ = other.condition_; + params_ = other.params_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerMsg Clone() { + return new InfinityTowerMsg(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Content" field.</summary> + public const int ContentFieldNumber = 3; + private string content_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 4; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "DayOfWeek" field.</summary> + public const int DayOfWeekFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_dayOfWeek_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> dayOfWeek_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DayOfWeek { + get { return dayOfWeek_; } + } + + /// <summary>Field number for the "Condition" field.</summary> + public const int ConditionFieldNumber = 6; + private int condition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Condition { + get { return condition_; } + set { + condition_ = value; + } + } + + /// <summary>Field number for the "Params" field.</summary> + public const int ParamsFieldNumber = 7; + private string params_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Params { + get { return params_; } + set { + params_ = 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 InfinityTowerMsg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerMsg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Content != other.Content) return false; + if (Type != other.Type) return false; + if(!dayOfWeek_.Equals(other.dayOfWeek_)) return false; + if (Condition != other.Condition) return false; + if (Params != other.Params) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + hash ^= dayOfWeek_.GetHashCode(); + if (Condition != 0) hash ^= Condition.GetHashCode(); + if (Params.Length != 0) hash ^= Params.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Content.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Content); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + dayOfWeek_.WriteTo(output, _repeated_dayOfWeek_codec); + if (Condition != 0) { + output.WriteRawTag(48); + output.WriteInt32(Condition); + } + if (Params.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Params); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Content.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Content); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + dayOfWeek_.WriteTo(ref output, _repeated_dayOfWeek_codec); + if (Condition != 0) { + output.WriteRawTag(48); + output.WriteInt32(Condition); + } + if (Params.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Params); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + size += dayOfWeek_.CalculateSize(_repeated_dayOfWeek_codec); + if (Condition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Condition); + } + if (Params.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerMsg other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.Type != 0) { + Type = other.Type; + } + dayOfWeek_.Add(other.dayOfWeek_); + if (other.Condition != 0) { + Condition = other.Condition; + } + if (other.Params.Length != 0) { + Params = other.Params; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Content = input.ReadString(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 42: + case 40: { + dayOfWeek_.AddEntriesFrom(input, _repeated_dayOfWeek_codec); + break; + } + case 48: { + Condition = input.ReadInt32(); + break; + } + case 58: { + Params = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Content = input.ReadString(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 42: + case 40: { + dayOfWeek_.AddEntriesFrom(ref input, _repeated_dayOfWeek_codec); + break; + } + case 48: { + Condition = input.ReadInt32(); + break; + } + case 58: { + Params = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerMsg : pb::IMessage<table_InfinityTowerMsg> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerMsg> _parser = new pb::MessageParser<table_InfinityTowerMsg>(() => new table_InfinityTowerMsg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerMsg> 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.ClientTableReflection.Descriptor.MessageTypes[237]; } + } + + [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 table_InfinityTowerMsg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerMsg(table_InfinityTowerMsg other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerMsg Clone() { + return new table_InfinityTowerMsg(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerMsg> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerMsg.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerMsg> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerMsg>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerMsg> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerMsg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerMsg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerMsg other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InfinityTowerPlot : pb::IMessage<InfinityTowerPlot> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InfinityTowerPlot> _parser = new pb::MessageParser<InfinityTowerPlot>(() => new InfinityTowerPlot()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InfinityTowerPlot> 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.ClientTableReflection.Descriptor.MessageTypes[238]; } + } + + [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 InfinityTowerPlot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerPlot(InfinityTowerPlot other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + plotSum_ = other.plotSum_; + plotId_ = other.plotId_; + avgId_ = other.avgId_; + unlockCond_ = other.unlockCond_; + condParam_ = other.condParam_.Clone(); + rewardItemId_ = other.rewardItemId_; + rewardItemQty_ = other.rewardItemQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InfinityTowerPlot Clone() { + return new InfinityTowerPlot(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "PlotSum" field.</summary> + public const int PlotSumFieldNumber = 4; + private string plotSum_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PlotSum { + get { return plotSum_; } + set { + plotSum_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PlotId" field.</summary> + public const int PlotIdFieldNumber = 5; + private int plotId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlotId { + get { return plotId_; } + set { + plotId_ = value; + } + } + + /// <summary>Field number for the "avgId" field.</summary> + public const int AvgIdFieldNumber = 6; + private string avgId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AvgId { + get { return avgId_; } + set { + avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UnlockCond" field.</summary> + public const int UnlockCondFieldNumber = 7; + private int unlockCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockCond { + get { return unlockCond_; } + set { + unlockCond_ = value; + } + } + + /// <summary>Field number for the "CondParam" field.</summary> + public const int CondParamFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_condParam_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> condParam_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CondParam { + get { return condParam_; } + } + + /// <summary>Field number for the "RewardItemId" field.</summary> + public const int RewardItemIdFieldNumber = 9; + private int rewardItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardItemId { + get { return rewardItemId_; } + set { + rewardItemId_ = value; + } + } + + /// <summary>Field number for the "RewardItemQty" field.</summary> + public const int RewardItemQtyFieldNumber = 10; + private int rewardItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardItemQty { + get { return rewardItemQty_; } + set { + rewardItemQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as InfinityTowerPlot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InfinityTowerPlot 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 (Desc != other.Desc) return false; + if (PlotSum != other.PlotSum) return false; + if (PlotId != other.PlotId) return false; + if (AvgId != other.AvgId) return false; + if (UnlockCond != other.UnlockCond) return false; + if(!condParam_.Equals(other.condParam_)) return false; + if (RewardItemId != other.RewardItemId) return false; + if (RewardItemQty != other.RewardItemQty) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (PlotSum.Length != 0) hash ^= PlotSum.GetHashCode(); + if (PlotId != 0) hash ^= PlotId.GetHashCode(); + if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); + if (UnlockCond != 0) hash ^= UnlockCond.GetHashCode(); + hash ^= condParam_.GetHashCode(); + if (RewardItemId != 0) hash ^= RewardItemId.GetHashCode(); + if (RewardItemQty != 0) hash ^= RewardItemQty.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (PlotSum.Length != 0) { + output.WriteRawTag(34); + output.WriteString(PlotSum); + } + if (PlotId != 0) { + output.WriteRawTag(40); + output.WriteInt32(PlotId); + } + if (AvgId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AvgId); + } + if (UnlockCond != 0) { + output.WriteRawTag(56); + output.WriteInt32(UnlockCond); + } + condParam_.WriteTo(output, _repeated_condParam_codec); + if (RewardItemId != 0) { + output.WriteRawTag(72); + output.WriteInt32(RewardItemId); + } + if (RewardItemQty != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardItemQty); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (PlotSum.Length != 0) { + output.WriteRawTag(34); + output.WriteString(PlotSum); + } + if (PlotId != 0) { + output.WriteRawTag(40); + output.WriteInt32(PlotId); + } + if (AvgId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AvgId); + } + if (UnlockCond != 0) { + output.WriteRawTag(56); + output.WriteInt32(UnlockCond); + } + condParam_.WriteTo(ref output, _repeated_condParam_codec); + if (RewardItemId != 0) { + output.WriteRawTag(72); + output.WriteInt32(RewardItemId); + } + if (RewardItemQty != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardItemQty); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (PlotSum.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PlotSum); + } + if (PlotId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlotId); + } + if (AvgId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId); + } + if (UnlockCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockCond); + } + size += condParam_.CalculateSize(_repeated_condParam_codec); + if (RewardItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardItemId); + } + if (RewardItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardItemQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InfinityTowerPlot other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.PlotSum.Length != 0) { + PlotSum = other.PlotSum; + } + if (other.PlotId != 0) { + PlotId = other.PlotId; + } + if (other.AvgId.Length != 0) { + AvgId = other.AvgId; + } + if (other.UnlockCond != 0) { + UnlockCond = other.UnlockCond; + } + condParam_.Add(other.condParam_); + if (other.RewardItemId != 0) { + RewardItemId = other.RewardItemId; + } + if (other.RewardItemQty != 0) { + RewardItemQty = other.RewardItemQty; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: { + PlotSum = input.ReadString(); + break; + } + case 40: { + PlotId = input.ReadInt32(); + break; + } + case 50: { + AvgId = input.ReadString(); + break; + } + case 56: { + UnlockCond = input.ReadInt32(); + break; + } + case 66: + case 64: { + condParam_.AddEntriesFrom(input, _repeated_condParam_codec); + break; + } + case 72: { + RewardItemId = input.ReadInt32(); + break; + } + case 80: { + RewardItemQty = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + PlotSum = input.ReadString(); + break; + } + case 40: { + PlotId = input.ReadInt32(); + break; + } + case 50: { + AvgId = input.ReadString(); + break; + } + case 56: { + UnlockCond = input.ReadInt32(); + break; + } + case 66: + case 64: { + condParam_.AddEntriesFrom(ref input, _repeated_condParam_codec); + break; + } + case 72: { + RewardItemId = input.ReadInt32(); + break; + } + case 80: { + RewardItemQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InfinityTowerPlot : pb::IMessage<table_InfinityTowerPlot> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InfinityTowerPlot> _parser = new pb::MessageParser<table_InfinityTowerPlot>(() => new table_InfinityTowerPlot()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InfinityTowerPlot> 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.ClientTableReflection.Descriptor.MessageTypes[239]; } + } + + [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 table_InfinityTowerPlot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerPlot(table_InfinityTowerPlot other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InfinityTowerPlot Clone() { + return new table_InfinityTowerPlot(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InfinityTowerPlot> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InfinityTowerPlot.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InfinityTowerPlot> list_ = new pbc::RepeatedField<global::Nova.Client.InfinityTowerPlot>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InfinityTowerPlot> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InfinityTowerPlot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InfinityTowerPlot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InfinityTowerPlot other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class InteractiveAction : pb::IMessage<InteractiveAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<InteractiveAction> _parser = new pb::MessageParser<InteractiveAction>(() => new InteractiveAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<InteractiveAction> 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.ClientTableReflection.Descriptor.MessageTypes[240]; } + } + + [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 InteractiveAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractiveAction(InteractiveAction other) : this() { + id_ = other.id_; + playerAni_ = other.playerAni_; + icon0_ = other.icon0_; + title0_ = other.title0_; + icon1_ = other.icon1_; + title1_ = other.title1_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InteractiveAction Clone() { + return new InteractiveAction(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 "PlayerAni" field.</summary> + public const int PlayerAniFieldNumber = 2; + private bool playerAni_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PlayerAni { + get { return playerAni_; } + set { + playerAni_ = value; + } + } + + /// <summary>Field number for the "Icon0" field.</summary> + public const int Icon0FieldNumber = 3; + private string icon0_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Icon0 { + get { return icon0_; } + set { + icon0_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title0" field.</summary> + public const int Title0FieldNumber = 4; + private string title0_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title0 { + get { return title0_; } + set { + title0_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon1" field.</summary> + public const int Icon1FieldNumber = 5; + private string icon1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Icon1 { + get { return icon1_; } + set { + icon1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title1" field.</summary> + public const int Title1FieldNumber = 6; + private string title1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title1 { + get { return title1_; } + set { + title1_ = 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 InteractiveAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InteractiveAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (PlayerAni != other.PlayerAni) return false; + if (Icon0 != other.Icon0) return false; + if (Title0 != other.Title0) return false; + if (Icon1 != other.Icon1) return false; + if (Title1 != other.Title1) 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 (PlayerAni != false) hash ^= PlayerAni.GetHashCode(); + if (Icon0.Length != 0) hash ^= Icon0.GetHashCode(); + if (Title0.Length != 0) hash ^= Title0.GetHashCode(); + if (Icon1.Length != 0) hash ^= Icon1.GetHashCode(); + if (Title1.Length != 0) hash ^= Title1.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 (PlayerAni != false) { + output.WriteRawTag(16); + output.WriteBool(PlayerAni); + } + if (Icon0.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon0); + } + if (Title0.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title0); + } + if (Icon1.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon1); + } + if (Title1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title1); + } + 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 (PlayerAni != false) { + output.WriteRawTag(16); + output.WriteBool(PlayerAni); + } + if (Icon0.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon0); + } + if (Title0.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title0); + } + if (Icon1.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon1); + } + if (Title1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title1); + } + 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 (PlayerAni != false) { + size += 1 + 1; + } + if (Icon0.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon0); + } + if (Title0.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title0); + } + if (Icon1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon1); + } + if (Title1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title1); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(InteractiveAction other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.PlayerAni != false) { + PlayerAni = other.PlayerAni; + } + if (other.Icon0.Length != 0) { + Icon0 = other.Icon0; + } + if (other.Title0.Length != 0) { + Title0 = other.Title0; + } + if (other.Icon1.Length != 0) { + Icon1 = other.Icon1; + } + if (other.Title1.Length != 0) { + Title1 = other.Title1; + } + _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: { + PlayerAni = input.ReadBool(); + break; + } + case 26: { + Icon0 = input.ReadString(); + break; + } + case 34: { + Title0 = input.ReadString(); + break; + } + case 42: { + Icon1 = input.ReadString(); + break; + } + case 50: { + Title1 = 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: { + PlayerAni = input.ReadBool(); + break; + } + case 26: { + Icon0 = input.ReadString(); + break; + } + case 34: { + Title0 = input.ReadString(); + break; + } + case 42: { + Icon1 = input.ReadString(); + break; + } + case 50: { + Title1 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_InteractiveAction : pb::IMessage<table_InteractiveAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_InteractiveAction> _parser = new pb::MessageParser<table_InteractiveAction>(() => new table_InteractiveAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_InteractiveAction> 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.ClientTableReflection.Descriptor.MessageTypes[241]; } + } + + [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 table_InteractiveAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InteractiveAction(table_InteractiveAction other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_InteractiveAction Clone() { + return new table_InteractiveAction(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.InteractiveAction> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.InteractiveAction.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.InteractiveAction> list_ = new pbc::RepeatedField<global::Nova.Client.InteractiveAction>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.InteractiveAction> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_InteractiveAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_InteractiveAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_InteractiveAction other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Item : pb::IMessage<Item> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Item> _parser = new pb::MessageParser<Item>(() => new Item()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Item> 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.ClientTableReflection.Descriptor.MessageTypes[242]; } + } + + [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 Item() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Item(Item other) : this() { + id_ = other.id_; + title_ = other.title_; + desc_ = other.desc_; + literary_ = other.literary_; + type_ = other.type_; + stype_ = other.stype_; + rarity_ = other.rarity_; + stack_ = other.stack_; + positionLimit_ = other.positionLimit_; + expireType_ = other.expireType_; + useMode_ = other.useMode_; + useAction_ = other.useAction_; + useArgs_ = other.useArgs_; + display_ = other.display_; + obtainWays_ = other.obtainWays_; + jumpTo_ = other.jumpTo_.Clone(); + icon_ = other.icon_; + icon2_ = other.icon2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Item Clone() { + return new Item(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Literary" field.</summary> + public const int LiteraryFieldNumber = 4; + private string literary_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Literary { + get { return literary_; } + set { + literary_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 5; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Stype" field.</summary> + public const int StypeFieldNumber = 6; + private int stype_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stype { + get { return stype_; } + set { + stype_ = value; + } + } + + /// <summary>Field number for the "Rarity" field.</summary> + public const int RarityFieldNumber = 7; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = value; + } + } + + /// <summary>Field number for the "Stack" field.</summary> + public const int StackFieldNumber = 8; + private bool stack_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Stack { + get { return stack_; } + set { + stack_ = value; + } + } + + /// <summary>Field number for the "PositionLimit" field.</summary> + public const int PositionLimitFieldNumber = 9; + private int positionLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PositionLimit { + get { return positionLimit_; } + set { + positionLimit_ = value; + } + } + + /// <summary>Field number for the "ExpireType" field.</summary> + public const int ExpireTypeFieldNumber = 10; + private int expireType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExpireType { + get { return expireType_; } + set { + expireType_ = value; + } + } + + /// <summary>Field number for the "UseMode" field.</summary> + public const int UseModeFieldNumber = 11; + private int useMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UseMode { + get { return useMode_; } + set { + useMode_ = value; + } + } + + /// <summary>Field number for the "UseAction" field.</summary> + public const int UseActionFieldNumber = 12; + private int useAction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UseAction { + get { return useAction_; } + set { + useAction_ = value; + } + } + + /// <summary>Field number for the "UseArgs" field.</summary> + public const int UseArgsFieldNumber = 13; + private string useArgs_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UseArgs { + get { return useArgs_; } + set { + useArgs_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Display" field.</summary> + public const int DisplayFieldNumber = 14; + private bool display_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Display { + get { return display_; } + set { + display_ = value; + } + } + + /// <summary>Field number for the "ObtainWays" field.</summary> + public const int ObtainWaysFieldNumber = 15; + private string obtainWays_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObtainWays { + get { return obtainWays_; } + set { + obtainWays_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "JumpTo" field.</summary> + public const int JumpToFieldNumber = 16; + private static readonly pb::FieldCodec<int> _repeated_jumpTo_codec + = pb::FieldCodec.ForInt32(130); + private readonly pbc::RepeatedField<int> jumpTo_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> JumpTo { + get { return jumpTo_; } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 17; + 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 "Icon2" field.</summary> + public const int Icon2FieldNumber = 18; + private string icon2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Icon2 { + get { return icon2_; } + set { + icon2_ = 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 Item); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Item other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (Literary != other.Literary) return false; + if (Type != other.Type) return false; + if (Stype != other.Stype) return false; + if (Rarity != other.Rarity) return false; + if (Stack != other.Stack) return false; + if (PositionLimit != other.PositionLimit) return false; + if (ExpireType != other.ExpireType) return false; + if (UseMode != other.UseMode) return false; + if (UseAction != other.UseAction) return false; + if (UseArgs != other.UseArgs) return false; + if (Display != other.Display) return false; + if (ObtainWays != other.ObtainWays) return false; + if(!jumpTo_.Equals(other.jumpTo_)) return false; + if (Icon != other.Icon) return false; + if (Icon2 != other.Icon2) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Literary.Length != 0) hash ^= Literary.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Stype != 0) hash ^= Stype.GetHashCode(); + if (Rarity != 0) hash ^= Rarity.GetHashCode(); + if (Stack != false) hash ^= Stack.GetHashCode(); + if (PositionLimit != 0) hash ^= PositionLimit.GetHashCode(); + if (ExpireType != 0) hash ^= ExpireType.GetHashCode(); + if (UseMode != 0) hash ^= UseMode.GetHashCode(); + if (UseAction != 0) hash ^= UseAction.GetHashCode(); + if (UseArgs.Length != 0) hash ^= UseArgs.GetHashCode(); + if (Display != false) hash ^= Display.GetHashCode(); + if (ObtainWays.Length != 0) hash ^= ObtainWays.GetHashCode(); + hash ^= jumpTo_.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Icon2.Length != 0) hash ^= Icon2.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Literary.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Literary); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (Stype != 0) { + output.WriteRawTag(48); + output.WriteInt32(Stype); + } + if (Rarity != 0) { + output.WriteRawTag(56); + output.WriteInt32(Rarity); + } + if (Stack != false) { + output.WriteRawTag(64); + output.WriteBool(Stack); + } + if (PositionLimit != 0) { + output.WriteRawTag(72); + output.WriteInt32(PositionLimit); + } + if (ExpireType != 0) { + output.WriteRawTag(80); + output.WriteInt32(ExpireType); + } + if (UseMode != 0) { + output.WriteRawTag(88); + output.WriteInt32(UseMode); + } + if (UseAction != 0) { + output.WriteRawTag(96); + output.WriteInt32(UseAction); + } + if (UseArgs.Length != 0) { + output.WriteRawTag(106); + output.WriteString(UseArgs); + } + if (Display != false) { + output.WriteRawTag(112); + output.WriteBool(Display); + } + if (ObtainWays.Length != 0) { + output.WriteRawTag(122); + output.WriteString(ObtainWays); + } + jumpTo_.WriteTo(output, _repeated_jumpTo_codec); + if (Icon.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Icon); + } + if (Icon2.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Icon2); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Literary.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Literary); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (Stype != 0) { + output.WriteRawTag(48); + output.WriteInt32(Stype); + } + if (Rarity != 0) { + output.WriteRawTag(56); + output.WriteInt32(Rarity); + } + if (Stack != false) { + output.WriteRawTag(64); + output.WriteBool(Stack); + } + if (PositionLimit != 0) { + output.WriteRawTag(72); + output.WriteInt32(PositionLimit); + } + if (ExpireType != 0) { + output.WriteRawTag(80); + output.WriteInt32(ExpireType); + } + if (UseMode != 0) { + output.WriteRawTag(88); + output.WriteInt32(UseMode); + } + if (UseAction != 0) { + output.WriteRawTag(96); + output.WriteInt32(UseAction); + } + if (UseArgs.Length != 0) { + output.WriteRawTag(106); + output.WriteString(UseArgs); + } + if (Display != false) { + output.WriteRawTag(112); + output.WriteBool(Display); + } + if (ObtainWays.Length != 0) { + output.WriteRawTag(122); + output.WriteString(ObtainWays); + } + jumpTo_.WriteTo(ref output, _repeated_jumpTo_codec); + if (Icon.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Icon); + } + if (Icon2.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Icon2); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Literary.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Literary); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Stype != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stype); + } + if (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + if (Stack != false) { + size += 1 + 1; + } + if (PositionLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PositionLimit); + } + if (ExpireType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExpireType); + } + if (UseMode != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseMode); + } + if (UseAction != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseAction); + } + if (UseArgs.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UseArgs); + } + if (Display != false) { + size += 1 + 1; + } + if (ObtainWays.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ObtainWays); + } + size += jumpTo_.CalculateSize(_repeated_jumpTo_codec); + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Icon2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Item other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Literary.Length != 0) { + Literary = other.Literary; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Stype != 0) { + Stype = other.Stype; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + if (other.Stack != false) { + Stack = other.Stack; + } + if (other.PositionLimit != 0) { + PositionLimit = other.PositionLimit; + } + if (other.ExpireType != 0) { + ExpireType = other.ExpireType; + } + if (other.UseMode != 0) { + UseMode = other.UseMode; + } + if (other.UseAction != 0) { + UseAction = other.UseAction; + } + if (other.UseArgs.Length != 0) { + UseArgs = other.UseArgs; + } + if (other.Display != false) { + Display = other.Display; + } + if (other.ObtainWays.Length != 0) { + ObtainWays = other.ObtainWays; + } + jumpTo_.Add(other.jumpTo_); + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Icon2.Length != 0) { + Icon2 = other.Icon2; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Literary = input.ReadString(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + Stype = input.ReadInt32(); + break; + } + case 56: { + Rarity = input.ReadInt32(); + break; + } + case 64: { + Stack = input.ReadBool(); + break; + } + case 72: { + PositionLimit = input.ReadInt32(); + break; + } + case 80: { + ExpireType = input.ReadInt32(); + break; + } + case 88: { + UseMode = input.ReadInt32(); + break; + } + case 96: { + UseAction = input.ReadInt32(); + break; + } + case 106: { + UseArgs = input.ReadString(); + break; + } + case 112: { + Display = input.ReadBool(); + break; + } + case 122: { + ObtainWays = input.ReadString(); + break; + } + case 130: + case 128: { + jumpTo_.AddEntriesFrom(input, _repeated_jumpTo_codec); + break; + } + case 138: { + Icon = input.ReadString(); + break; + } + case 146: { + Icon2 = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Literary = input.ReadString(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + Stype = input.ReadInt32(); + break; + } + case 56: { + Rarity = input.ReadInt32(); + break; + } + case 64: { + Stack = input.ReadBool(); + break; + } + case 72: { + PositionLimit = input.ReadInt32(); + break; + } + case 80: { + ExpireType = input.ReadInt32(); + break; + } + case 88: { + UseMode = input.ReadInt32(); + break; + } + case 96: { + UseAction = input.ReadInt32(); + break; + } + case 106: { + UseArgs = input.ReadString(); + break; + } + case 112: { + Display = input.ReadBool(); + break; + } + case 122: { + ObtainWays = input.ReadString(); + break; + } + case 130: + case 128: { + jumpTo_.AddEntriesFrom(ref input, _repeated_jumpTo_codec); + break; + } + case 138: { + Icon = input.ReadString(); + break; + } + case 146: { + Icon2 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Item : pb::IMessage<table_Item> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Item> _parser = new pb::MessageParser<table_Item>(() => new table_Item()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Item> 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.ClientTableReflection.Descriptor.MessageTypes[243]; } + } + + [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 table_Item() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Item(table_Item other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Item Clone() { + return new table_Item(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Item> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Item.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Item> list_ = new pbc::RepeatedField<global::Nova.Client.Item>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Item> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Item); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Item other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Item other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ItemPackMark : pb::IMessage<ItemPackMark> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ItemPackMark> _parser = new pb::MessageParser<ItemPackMark>(() => new ItemPackMark()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ItemPackMark> 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.ClientTableReflection.Descriptor.MessageTypes[244]; } + } + + [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 ItemPackMark() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemPackMark(ItemPackMark other) : this() { + id_ = other.id_; + packMark_ = other.packMark_; + itemStype_ = other.itemStype_.Clone(); + name_ = other.name_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ItemPackMark Clone() { + return new ItemPackMark(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 "PackMark" field.</summary> + public const int PackMarkFieldNumber = 2; + private int packMark_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PackMark { + get { return packMark_; } + set { + packMark_ = value; + } + } + + /// <summary>Field number for the "ItemStype" field.</summary> + public const int ItemStypeFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_itemStype_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> itemStype_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ItemStype { + get { return itemStype_; } + } + + /// <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 "Sort" field.</summary> + public const int SortFieldNumber = 5; + private int sort_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sort { + get { return sort_; } + set { + sort_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ItemPackMark); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ItemPackMark other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (PackMark != other.PackMark) return false; + if(!itemStype_.Equals(other.itemStype_)) return false; + if (Name != other.Name) return false; + if (Sort != other.Sort) 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 (PackMark != 0) hash ^= PackMark.GetHashCode(); + hash ^= itemStype_.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Sort != 0) hash ^= Sort.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 (PackMark != 0) { + output.WriteRawTag(16); + output.WriteInt32(PackMark); + } + itemStype_.WriteTo(output, _repeated_itemStype_codec); + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + 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 (PackMark != 0) { + output.WriteRawTag(16); + output.WriteInt32(PackMark); + } + itemStype_.WriteTo(ref output, _repeated_itemStype_codec); + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + 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 (PackMark != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PackMark); + } + size += itemStype_.CalculateSize(_repeated_itemStype_codec); + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ItemPackMark other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.PackMark != 0) { + PackMark = other.PackMark; + } + itemStype_.Add(other.itemStype_); + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + _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: { + PackMark = input.ReadInt32(); + break; + } + case 26: + case 24: { + itemStype_.AddEntriesFrom(input, _repeated_itemStype_codec); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + Sort = 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: { + PackMark = input.ReadInt32(); + break; + } + case 26: + case 24: { + itemStype_.AddEntriesFrom(ref input, _repeated_itemStype_codec); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ItemPackMark : pb::IMessage<table_ItemPackMark> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ItemPackMark> _parser = new pb::MessageParser<table_ItemPackMark>(() => new table_ItemPackMark()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ItemPackMark> 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.ClientTableReflection.Descriptor.MessageTypes[245]; } + } + + [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 table_ItemPackMark() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ItemPackMark(table_ItemPackMark other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ItemPackMark Clone() { + return new table_ItemPackMark(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ItemPackMark> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ItemPackMark.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ItemPackMark> list_ = new pbc::RepeatedField<global::Nova.Client.ItemPackMark>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ItemPackMark> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ItemPackMark); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ItemPackMark other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ItemPackMark other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class JumpTo : pb::IMessage<JumpTo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<JumpTo> _parser = new pb::MessageParser<JumpTo>(() => new JumpTo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<JumpTo> 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.ClientTableReflection.Descriptor.MessageTypes[246]; } + } + + [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 JumpTo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JumpTo(JumpTo other) : this() { + id_ = other.id_; + type_ = other.type_; + param_ = other.param_.Clone(); + desc_ = other.desc_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JumpTo Clone() { + return new JumpTo(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 "Type" field.</summary> + public const int TypeFieldNumber = 2; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Param" field.</summary> + public const int ParamFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_param_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> param_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Param { + get { return param_; } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 = 5; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as JumpTo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(JumpTo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + if(!param_.Equals(other.param_)) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) 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 (Type != 0) hash ^= Type.GetHashCode(); + hash ^= param_.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + param_.WriteTo(output, _repeated_param_codec); + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon); + } + 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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + param_.WriteTo(ref output, _repeated_param_codec); + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + size += param_.CalculateSize(_repeated_param_codec); + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(JumpTo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Type != 0) { + Type = other.Type; + } + param_.Add(other.param_); + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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: { + Type = input.ReadInt32(); + break; + } + case 26: + case 24: { + param_.AddEntriesFrom(input, _repeated_param_codec); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + Icon = 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: { + Type = input.ReadInt32(); + break; + } + case 26: + case 24: { + param_.AddEntriesFrom(ref input, _repeated_param_codec); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_JumpTo : pb::IMessage<table_JumpTo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_JumpTo> _parser = new pb::MessageParser<table_JumpTo>(() => new table_JumpTo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_JumpTo> 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.ClientTableReflection.Descriptor.MessageTypes[247]; } + } + + [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 table_JumpTo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_JumpTo(table_JumpTo other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_JumpTo Clone() { + return new table_JumpTo(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.JumpTo> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.JumpTo.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.JumpTo> list_ = new pbc::RepeatedField<global::Nova.Client.JumpTo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.JumpTo> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_JumpTo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_JumpTo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_JumpTo other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoginRewardControl : pb::IMessage<LoginRewardControl> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<LoginRewardControl> _parser = new pb::MessageParser<LoginRewardControl>(() => new LoginRewardControl()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<LoginRewardControl> 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.ClientTableReflection.Descriptor.MessageTypes[248]; } + } + + [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 LoginRewardControl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginRewardControl(LoginRewardControl other) : this() { + id_ = other.id_; + rewardsGroup_ = other.rewardsGroup_; + desText_ = other.desText_; + uIAssets_ = other.uIAssets_; + popUpUIAssets_ = other.popUpUIAssets_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginRewardControl Clone() { + return new LoginRewardControl(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 "RewardsGroup" field.</summary> + public const int RewardsGroupFieldNumber = 2; + private int rewardsGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardsGroup { + get { return rewardsGroup_; } + set { + rewardsGroup_ = value; + } + } + + /// <summary>Field number for the "DesText" field.</summary> + public const int DesTextFieldNumber = 3; + private string desText_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DesText { + get { return desText_; } + set { + desText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UIAssets" field.</summary> + public const int UIAssetsFieldNumber = 4; + private string uIAssets_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UIAssets { + get { return uIAssets_; } + set { + uIAssets_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PopUpUIAssets" field.</summary> + public const int PopUpUIAssetsFieldNumber = 5; + private string popUpUIAssets_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PopUpUIAssets { + get { return popUpUIAssets_; } + set { + popUpUIAssets_ = 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 LoginRewardControl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoginRewardControl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RewardsGroup != other.RewardsGroup) return false; + if (DesText != other.DesText) return false; + if (UIAssets != other.UIAssets) return false; + if (PopUpUIAssets != other.PopUpUIAssets) 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 (RewardsGroup != 0) hash ^= RewardsGroup.GetHashCode(); + if (DesText.Length != 0) hash ^= DesText.GetHashCode(); + if (UIAssets.Length != 0) hash ^= UIAssets.GetHashCode(); + if (PopUpUIAssets.Length != 0) hash ^= PopUpUIAssets.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 (RewardsGroup != 0) { + output.WriteRawTag(16); + output.WriteInt32(RewardsGroup); + } + if (DesText.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DesText); + } + if (UIAssets.Length != 0) { + output.WriteRawTag(34); + output.WriteString(UIAssets); + } + if (PopUpUIAssets.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PopUpUIAssets); + } + 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 (RewardsGroup != 0) { + output.WriteRawTag(16); + output.WriteInt32(RewardsGroup); + } + if (DesText.Length != 0) { + output.WriteRawTag(26); + output.WriteString(DesText); + } + if (UIAssets.Length != 0) { + output.WriteRawTag(34); + output.WriteString(UIAssets); + } + if (PopUpUIAssets.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PopUpUIAssets); + } + 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 (RewardsGroup != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardsGroup); + } + if (DesText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DesText); + } + if (UIAssets.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UIAssets); + } + if (PopUpUIAssets.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PopUpUIAssets); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoginRewardControl other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RewardsGroup != 0) { + RewardsGroup = other.RewardsGroup; + } + if (other.DesText.Length != 0) { + DesText = other.DesText; + } + if (other.UIAssets.Length != 0) { + UIAssets = other.UIAssets; + } + if (other.PopUpUIAssets.Length != 0) { + PopUpUIAssets = other.PopUpUIAssets; + } + _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: { + RewardsGroup = input.ReadInt32(); + break; + } + case 26: { + DesText = input.ReadString(); + break; + } + case 34: { + UIAssets = input.ReadString(); + break; + } + case 42: { + PopUpUIAssets = 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: { + RewardsGroup = input.ReadInt32(); + break; + } + case 26: { + DesText = input.ReadString(); + break; + } + case 34: { + UIAssets = input.ReadString(); + break; + } + case 42: { + PopUpUIAssets = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_LoginRewardControl : pb::IMessage<table_LoginRewardControl> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_LoginRewardControl> _parser = new pb::MessageParser<table_LoginRewardControl>(() => new table_LoginRewardControl()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_LoginRewardControl> 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.ClientTableReflection.Descriptor.MessageTypes[249]; } + } + + [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 table_LoginRewardControl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_LoginRewardControl(table_LoginRewardControl other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_LoginRewardControl Clone() { + return new table_LoginRewardControl(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.LoginRewardControl> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.LoginRewardControl.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.LoginRewardControl> list_ = new pbc::RepeatedField<global::Nova.Client.LoginRewardControl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.LoginRewardControl> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_LoginRewardControl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_LoginRewardControl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_LoginRewardControl other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class LoginRewardGroup : pb::IMessage<LoginRewardGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<LoginRewardGroup> _parser = new pb::MessageParser<LoginRewardGroup>(() => new LoginRewardGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<LoginRewardGroup> 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.ClientTableReflection.Descriptor.MessageTypes[250]; } + } + + [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 LoginRewardGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginRewardGroup(LoginRewardGroup other) : this() { + rewardGroupId_ = other.rewardGroupId_; + order_ = other.order_; + rewardId1_ = other.rewardId1_; + qty1_ = other.qty1_; + rewardId2_ = other.rewardId2_; + qty2_ = other.qty2_; + rewardId3_ = other.rewardId3_; + qty3_ = other.qty3_; + rewardIcon_ = other.rewardIcon_; + rewardCount_ = other.rewardCount_; + rewardDesc_ = other.rewardDesc_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginRewardGroup Clone() { + return new LoginRewardGroup(this); + } + + /// <summary>Field number for the "RewardGroupId" field.</summary> + public const int RewardGroupIdFieldNumber = 1; + private int rewardGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardGroupId { + get { return rewardGroupId_; } + set { + rewardGroupId_ = value; + } + } + + /// <summary>Field number for the "Order" field.</summary> + public const int OrderFieldNumber = 2; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "RewardId1" field.</summary> + public const int RewardId1FieldNumber = 3; + private int rewardId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardId1 { + get { return rewardId1_; } + set { + rewardId1_ = value; + } + } + + /// <summary>Field number for the "Qty1" field.</summary> + public const int Qty1FieldNumber = 4; + private int qty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty1 { + get { return qty1_; } + set { + qty1_ = value; + } + } + + /// <summary>Field number for the "RewardId2" field.</summary> + public const int RewardId2FieldNumber = 5; + private int rewardId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardId2 { + get { return rewardId2_; } + set { + rewardId2_ = value; + } + } + + /// <summary>Field number for the "Qty2" field.</summary> + public const int Qty2FieldNumber = 6; + private int qty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty2 { + get { return qty2_; } + set { + qty2_ = value; + } + } + + /// <summary>Field number for the "RewardId3" field.</summary> + public const int RewardId3FieldNumber = 7; + private int rewardId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardId3 { + get { return rewardId3_; } + set { + rewardId3_ = value; + } + } + + /// <summary>Field number for the "Qty3" field.</summary> + public const int Qty3FieldNumber = 8; + private int qty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty3 { + get { return qty3_; } + set { + qty3_ = value; + } + } + + /// <summary>Field number for the "RewardIcon" field.</summary> + public const int RewardIconFieldNumber = 9; + private string rewardIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardIcon { + get { return rewardIcon_; } + set { + rewardIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RewardCount" field.</summary> + public const int RewardCountFieldNumber = 10; + private int rewardCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardCount { + get { return rewardCount_; } + set { + rewardCount_ = value; + } + } + + /// <summary>Field number for the "RewardDesc" field.</summary> + public const int RewardDescFieldNumber = 11; + private string rewardDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardDesc { + get { return rewardDesc_; } + set { + rewardDesc_ = 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 LoginRewardGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoginRewardGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RewardGroupId != other.RewardGroupId) return false; + if (Order != other.Order) return false; + if (RewardId1 != other.RewardId1) return false; + if (Qty1 != other.Qty1) return false; + if (RewardId2 != other.RewardId2) return false; + if (Qty2 != other.Qty2) return false; + if (RewardId3 != other.RewardId3) return false; + if (Qty3 != other.Qty3) return false; + if (RewardIcon != other.RewardIcon) return false; + if (RewardCount != other.RewardCount) return false; + if (RewardDesc != other.RewardDesc) 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 (RewardGroupId != 0) hash ^= RewardGroupId.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (RewardId1 != 0) hash ^= RewardId1.GetHashCode(); + if (Qty1 != 0) hash ^= Qty1.GetHashCode(); + if (RewardId2 != 0) hash ^= RewardId2.GetHashCode(); + if (Qty2 != 0) hash ^= Qty2.GetHashCode(); + if (RewardId3 != 0) hash ^= RewardId3.GetHashCode(); + if (Qty3 != 0) hash ^= Qty3.GetHashCode(); + if (RewardIcon.Length != 0) hash ^= RewardIcon.GetHashCode(); + if (RewardCount != 0) hash ^= RewardCount.GetHashCode(); + if (RewardDesc.Length != 0) hash ^= RewardDesc.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 (RewardGroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(RewardGroupId); + } + if (Order != 0) { + output.WriteRawTag(16); + output.WriteInt32(Order); + } + if (RewardId1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(RewardId1); + } + if (Qty1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Qty1); + } + if (RewardId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(RewardId2); + } + if (Qty2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Qty2); + } + if (RewardId3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardId3); + } + if (Qty3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Qty3); + } + if (RewardIcon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(RewardIcon); + } + if (RewardCount != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardCount); + } + if (RewardDesc.Length != 0) { + output.WriteRawTag(90); + output.WriteString(RewardDesc); + } + 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 (RewardGroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(RewardGroupId); + } + if (Order != 0) { + output.WriteRawTag(16); + output.WriteInt32(Order); + } + if (RewardId1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(RewardId1); + } + if (Qty1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Qty1); + } + if (RewardId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(RewardId2); + } + if (Qty2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Qty2); + } + if (RewardId3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardId3); + } + if (Qty3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Qty3); + } + if (RewardIcon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(RewardIcon); + } + if (RewardCount != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardCount); + } + if (RewardDesc.Length != 0) { + output.WriteRawTag(90); + output.WriteString(RewardDesc); + } + 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 (RewardGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardGroupId); + } + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (RewardId1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId1); + } + if (Qty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); + } + if (RewardId2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId2); + } + if (Qty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); + } + if (RewardId3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId3); + } + if (Qty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); + } + if (RewardIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardIcon); + } + if (RewardCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardCount); + } + if (RewardDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDesc); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoginRewardGroup other) { + if (other == null) { + return; + } + if (other.RewardGroupId != 0) { + RewardGroupId = other.RewardGroupId; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.RewardId1 != 0) { + RewardId1 = other.RewardId1; + } + if (other.Qty1 != 0) { + Qty1 = other.Qty1; + } + if (other.RewardId2 != 0) { + RewardId2 = other.RewardId2; + } + if (other.Qty2 != 0) { + Qty2 = other.Qty2; + } + if (other.RewardId3 != 0) { + RewardId3 = other.RewardId3; + } + if (other.Qty3 != 0) { + Qty3 = other.Qty3; + } + if (other.RewardIcon.Length != 0) { + RewardIcon = other.RewardIcon; + } + if (other.RewardCount != 0) { + RewardCount = other.RewardCount; + } + if (other.RewardDesc.Length != 0) { + RewardDesc = other.RewardDesc; + } + _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: { + RewardGroupId = input.ReadInt32(); + break; + } + case 16: { + Order = input.ReadInt32(); + break; + } + case 24: { + RewardId1 = input.ReadInt32(); + break; + } + case 32: { + Qty1 = input.ReadInt32(); + break; + } + case 40: { + RewardId2 = input.ReadInt32(); + break; + } + case 48: { + Qty2 = input.ReadInt32(); + break; + } + case 56: { + RewardId3 = input.ReadInt32(); + break; + } + case 64: { + Qty3 = input.ReadInt32(); + break; + } + case 74: { + RewardIcon = input.ReadString(); + break; + } + case 80: { + RewardCount = input.ReadInt32(); + break; + } + case 90: { + RewardDesc = 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: { + RewardGroupId = input.ReadInt32(); + break; + } + case 16: { + Order = input.ReadInt32(); + break; + } + case 24: { + RewardId1 = input.ReadInt32(); + break; + } + case 32: { + Qty1 = input.ReadInt32(); + break; + } + case 40: { + RewardId2 = input.ReadInt32(); + break; + } + case 48: { + Qty2 = input.ReadInt32(); + break; + } + case 56: { + RewardId3 = input.ReadInt32(); + break; + } + case 64: { + Qty3 = input.ReadInt32(); + break; + } + case 74: { + RewardIcon = input.ReadString(); + break; + } + case 80: { + RewardCount = input.ReadInt32(); + break; + } + case 90: { + RewardDesc = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_LoginRewardGroup : pb::IMessage<table_LoginRewardGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_LoginRewardGroup> _parser = new pb::MessageParser<table_LoginRewardGroup>(() => new table_LoginRewardGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_LoginRewardGroup> 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.ClientTableReflection.Descriptor.MessageTypes[251]; } + } + + [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 table_LoginRewardGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_LoginRewardGroup(table_LoginRewardGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_LoginRewardGroup Clone() { + return new table_LoginRewardGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.LoginRewardGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.LoginRewardGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.LoginRewardGroup> list_ = new pbc::RepeatedField<global::Nova.Client.LoginRewardGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.LoginRewardGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_LoginRewardGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_LoginRewardGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_LoginRewardGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MailTemplate : pb::IMessage<MailTemplate> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MailTemplate> _parser = new pb::MessageParser<MailTemplate>(() => new MailTemplate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MailTemplate> 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.ClientTableReflection.Descriptor.MessageTypes[252]; } + } + + [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 MailTemplate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MailTemplate(MailTemplate other) : this() { + id_ = other.id_; + explanation_ = other.explanation_; + icon_ = other.icon_; + author_ = other.author_; + letterPaper_ = other.letterPaper_; + subject_ = other.subject_; + desc_ = other.desc_; + type_ = other.type_; + props1_ = other.props1_; + propsCount1_ = other.propsCount1_; + props2_ = other.props2_; + propsCount2_ = other.propsCount2_; + props3_ = other.props3_; + propsCount3_ = other.propsCount3_; + props4_ = other.props4_; + propsCount4_ = other.propsCount4_; + props5_ = other.props5_; + propsCount5_ = other.propsCount5_; + props6_ = other.props6_; + propsCount6_ = other.propsCount6_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MailTemplate Clone() { + return new MailTemplate(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 "Explanation" field.</summary> + public const int ExplanationFieldNumber = 2; + private string explanation_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Explanation { + get { return explanation_; } + set { + explanation_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 3; + 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 "Author" field.</summary> + public const int AuthorFieldNumber = 4; + private string author_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Author { + get { return author_; } + set { + author_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LetterPaper" field.</summary> + public const int LetterPaperFieldNumber = 5; + private string letterPaper_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LetterPaper { + get { return letterPaper_; } + set { + letterPaper_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Subject" field.</summary> + public const int SubjectFieldNumber = 6; + private string subject_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Subject { + get { return subject_; } + set { + subject_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 7; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 8; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Props1" field.</summary> + public const int Props1FieldNumber = 9; + private int props1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Props1 { + get { return props1_; } + set { + props1_ = value; + } + } + + /// <summary>Field number for the "PropsCount1" field.</summary> + public const int PropsCount1FieldNumber = 10; + private int propsCount1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropsCount1 { + get { return propsCount1_; } + set { + propsCount1_ = value; + } + } + + /// <summary>Field number for the "Props2" field.</summary> + public const int Props2FieldNumber = 11; + private int props2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Props2 { + get { return props2_; } + set { + props2_ = value; + } + } + + /// <summary>Field number for the "PropsCount2" field.</summary> + public const int PropsCount2FieldNumber = 12; + private int propsCount2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropsCount2 { + get { return propsCount2_; } + set { + propsCount2_ = value; + } + } + + /// <summary>Field number for the "Props3" field.</summary> + public const int Props3FieldNumber = 13; + private int props3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Props3 { + get { return props3_; } + set { + props3_ = value; + } + } + + /// <summary>Field number for the "PropsCount3" field.</summary> + public const int PropsCount3FieldNumber = 14; + private int propsCount3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropsCount3 { + get { return propsCount3_; } + set { + propsCount3_ = value; + } + } + + /// <summary>Field number for the "Props4" field.</summary> + public const int Props4FieldNumber = 15; + private int props4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Props4 { + get { return props4_; } + set { + props4_ = value; + } + } + + /// <summary>Field number for the "PropsCount4" field.</summary> + public const int PropsCount4FieldNumber = 16; + private int propsCount4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropsCount4 { + get { return propsCount4_; } + set { + propsCount4_ = value; + } + } + + /// <summary>Field number for the "Props5" field.</summary> + public const int Props5FieldNumber = 17; + private int props5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Props5 { + get { return props5_; } + set { + props5_ = value; + } + } + + /// <summary>Field number for the "PropsCount5" field.</summary> + public const int PropsCount5FieldNumber = 18; + private int propsCount5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropsCount5 { + get { return propsCount5_; } + set { + propsCount5_ = value; + } + } + + /// <summary>Field number for the "Props6" field.</summary> + public const int Props6FieldNumber = 19; + private int props6_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Props6 { + get { return props6_; } + set { + props6_ = value; + } + } + + /// <summary>Field number for the "PropsCount6" field.</summary> + public const int PropsCount6FieldNumber = 20; + private int propsCount6_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropsCount6 { + get { return propsCount6_; } + set { + propsCount6_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MailTemplate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MailTemplate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Explanation != other.Explanation) return false; + if (Icon != other.Icon) return false; + if (Author != other.Author) return false; + if (LetterPaper != other.LetterPaper) return false; + if (Subject != other.Subject) return false; + if (Desc != other.Desc) return false; + if (Type != other.Type) return false; + if (Props1 != other.Props1) return false; + if (PropsCount1 != other.PropsCount1) return false; + if (Props2 != other.Props2) return false; + if (PropsCount2 != other.PropsCount2) return false; + if (Props3 != other.Props3) return false; + if (PropsCount3 != other.PropsCount3) return false; + if (Props4 != other.Props4) return false; + if (PropsCount4 != other.PropsCount4) return false; + if (Props5 != other.Props5) return false; + if (PropsCount5 != other.PropsCount5) return false; + if (Props6 != other.Props6) return false; + if (PropsCount6 != other.PropsCount6) 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 (Explanation.Length != 0) hash ^= Explanation.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Author.Length != 0) hash ^= Author.GetHashCode(); + if (LetterPaper.Length != 0) hash ^= LetterPaper.GetHashCode(); + if (Subject.Length != 0) hash ^= Subject.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Props1 != 0) hash ^= Props1.GetHashCode(); + if (PropsCount1 != 0) hash ^= PropsCount1.GetHashCode(); + if (Props2 != 0) hash ^= Props2.GetHashCode(); + if (PropsCount2 != 0) hash ^= PropsCount2.GetHashCode(); + if (Props3 != 0) hash ^= Props3.GetHashCode(); + if (PropsCount3 != 0) hash ^= PropsCount3.GetHashCode(); + if (Props4 != 0) hash ^= Props4.GetHashCode(); + if (PropsCount4 != 0) hash ^= PropsCount4.GetHashCode(); + if (Props5 != 0) hash ^= Props5.GetHashCode(); + if (PropsCount5 != 0) hash ^= PropsCount5.GetHashCode(); + if (Props6 != 0) hash ^= Props6.GetHashCode(); + if (PropsCount6 != 0) hash ^= PropsCount6.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 (Explanation.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Explanation); + } + if (Icon.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon); + } + if (Author.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Author); + } + if (LetterPaper.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LetterPaper); + } + if (Subject.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Subject); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (Type != 0) { + output.WriteRawTag(64); + output.WriteInt32(Type); + } + if (Props1 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Props1); + } + if (PropsCount1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(PropsCount1); + } + if (Props2 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Props2); + } + if (PropsCount2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(PropsCount2); + } + if (Props3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Props3); + } + if (PropsCount3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(PropsCount3); + } + if (Props4 != 0) { + output.WriteRawTag(120); + output.WriteInt32(Props4); + } + if (PropsCount4 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(PropsCount4); + } + if (Props5 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(Props5); + } + if (PropsCount5 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(PropsCount5); + } + if (Props6 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Props6); + } + if (PropsCount6 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(PropsCount6); + } + 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 (Explanation.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Explanation); + } + if (Icon.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon); + } + if (Author.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Author); + } + if (LetterPaper.Length != 0) { + output.WriteRawTag(42); + output.WriteString(LetterPaper); + } + if (Subject.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Subject); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (Type != 0) { + output.WriteRawTag(64); + output.WriteInt32(Type); + } + if (Props1 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Props1); + } + if (PropsCount1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(PropsCount1); + } + if (Props2 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Props2); + } + if (PropsCount2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(PropsCount2); + } + if (Props3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Props3); + } + if (PropsCount3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(PropsCount3); + } + if (Props4 != 0) { + output.WriteRawTag(120); + output.WriteInt32(Props4); + } + if (PropsCount4 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(PropsCount4); + } + if (Props5 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(Props5); + } + if (PropsCount5 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(PropsCount5); + } + if (Props6 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(Props6); + } + if (PropsCount6 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(PropsCount6); + } + 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 (Explanation.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Explanation); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Author.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Author); + } + if (LetterPaper.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LetterPaper); + } + if (Subject.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Subject); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Props1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props1); + } + if (PropsCount1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount1); + } + if (Props2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props2); + } + if (PropsCount2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount2); + } + if (Props3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props3); + } + if (PropsCount3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropsCount3); + } + if (Props4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Props4); + } + if (PropsCount4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount4); + } + if (Props5 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Props5); + } + if (PropsCount5 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount5); + } + if (Props6 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Props6); + } + if (PropsCount6 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PropsCount6); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MailTemplate other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Explanation.Length != 0) { + Explanation = other.Explanation; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Author.Length != 0) { + Author = other.Author; + } + if (other.LetterPaper.Length != 0) { + LetterPaper = other.LetterPaper; + } + if (other.Subject.Length != 0) { + Subject = other.Subject; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Props1 != 0) { + Props1 = other.Props1; + } + if (other.PropsCount1 != 0) { + PropsCount1 = other.PropsCount1; + } + if (other.Props2 != 0) { + Props2 = other.Props2; + } + if (other.PropsCount2 != 0) { + PropsCount2 = other.PropsCount2; + } + if (other.Props3 != 0) { + Props3 = other.Props3; + } + if (other.PropsCount3 != 0) { + PropsCount3 = other.PropsCount3; + } + if (other.Props4 != 0) { + Props4 = other.Props4; + } + if (other.PropsCount4 != 0) { + PropsCount4 = other.PropsCount4; + } + if (other.Props5 != 0) { + Props5 = other.Props5; + } + if (other.PropsCount5 != 0) { + PropsCount5 = other.PropsCount5; + } + if (other.Props6 != 0) { + Props6 = other.Props6; + } + if (other.PropsCount6 != 0) { + PropsCount6 = other.PropsCount6; + } + _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: { + Explanation = input.ReadString(); + break; + } + case 26: { + Icon = input.ReadString(); + break; + } + case 34: { + Author = input.ReadString(); + break; + } + case 42: { + LetterPaper = input.ReadString(); + break; + } + case 50: { + Subject = input.ReadString(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 64: { + Type = input.ReadInt32(); + break; + } + case 72: { + Props1 = input.ReadInt32(); + break; + } + case 80: { + PropsCount1 = input.ReadInt32(); + break; + } + case 88: { + Props2 = input.ReadInt32(); + break; + } + case 96: { + PropsCount2 = input.ReadInt32(); + break; + } + case 104: { + Props3 = input.ReadInt32(); + break; + } + case 112: { + PropsCount3 = input.ReadInt32(); + break; + } + case 120: { + Props4 = input.ReadInt32(); + break; + } + case 128: { + PropsCount4 = input.ReadInt32(); + break; + } + case 136: { + Props5 = input.ReadInt32(); + break; + } + case 144: { + PropsCount5 = input.ReadInt32(); + break; + } + case 152: { + Props6 = input.ReadInt32(); + break; + } + case 160: { + PropsCount6 = 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 18: { + Explanation = input.ReadString(); + break; + } + case 26: { + Icon = input.ReadString(); + break; + } + case 34: { + Author = input.ReadString(); + break; + } + case 42: { + LetterPaper = input.ReadString(); + break; + } + case 50: { + Subject = input.ReadString(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 64: { + Type = input.ReadInt32(); + break; + } + case 72: { + Props1 = input.ReadInt32(); + break; + } + case 80: { + PropsCount1 = input.ReadInt32(); + break; + } + case 88: { + Props2 = input.ReadInt32(); + break; + } + case 96: { + PropsCount2 = input.ReadInt32(); + break; + } + case 104: { + Props3 = input.ReadInt32(); + break; + } + case 112: { + PropsCount3 = input.ReadInt32(); + break; + } + case 120: { + Props4 = input.ReadInt32(); + break; + } + case 128: { + PropsCount4 = input.ReadInt32(); + break; + } + case 136: { + Props5 = input.ReadInt32(); + break; + } + case 144: { + PropsCount5 = input.ReadInt32(); + break; + } + case 152: { + Props6 = input.ReadInt32(); + break; + } + case 160: { + PropsCount6 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MailTemplate : pb::IMessage<table_MailTemplate> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MailTemplate> _parser = new pb::MessageParser<table_MailTemplate>(() => new table_MailTemplate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MailTemplate> 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.ClientTableReflection.Descriptor.MessageTypes[253]; } + } + + [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 table_MailTemplate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MailTemplate(table_MailTemplate other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MailTemplate Clone() { + return new table_MailTemplate(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MailTemplate> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MailTemplate.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MailTemplate> list_ = new pbc::RepeatedField<global::Nova.Client.MailTemplate>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MailTemplate> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MailTemplate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MailTemplate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MailTemplate other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Mainline : pb::IMessage<Mainline> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Mainline> _parser = new pb::MessageParser<Mainline>(() => new Mainline()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Mainline> 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.ClientTableReflection.Descriptor.MessageTypes[254]; } + } + + [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 Mainline() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mainline(Mainline other) : this() { + id_ = other.id_; + num_ = other.num_; + name_ = other.name_; + desc_ = other.desc_; + type_ = other.type_; + energy_ = other.energy_; + chapterId_ = other.chapterId_; + prev_ = other.prev_.Clone(); + form_ = other.form_.Clone(); + avgId_ = other.avgId_; + trialCharacter_ = other.trialCharacter_.Clone(); + beforeAvgId_ = other.beforeAvgId_; + afterAvgId_ = other.afterAvgId_; + energyConsume_ = other.energyConsume_; + unlockItem_ = other.unlockItem_; + unlockQty_ = other.unlockQty_; + globReward_ = other.globReward_; + rewardPreview_ = other.rewardPreview_; + itemReward_ = other.itemReward_; + firstItemReward_ = other.firstItemReward_; + diamondReward_ = other.diamondReward_; + minChestReward_ = other.minChestReward_; + maxChestReward_ = other.maxChestReward_; + charBanned_ = other.charBanned_.Clone(); + floorId_ = other.floorId_.Clone(); + icon_ = other.icon_; + posId_ = other.posId_; + previewMonsterGroupId_ = other.previewMonsterGroupId_; + recommend_ = other.recommend_; + repeat_ = other.repeat_; + subMapName_ = other.subMapName_; + mainlineImg_ = other.mainlineImg_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Mainline Clone() { + return new Mainline(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 "Num" field.</summary> + public const int NumFieldNumber = 2; + private string num_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Num { + get { return num_; } + set { + num_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 = 4; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 5; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Energy" field.</summary> + public const int EnergyFieldNumber = 6; + private int energy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Energy { + get { return energy_; } + set { + energy_ = value; + } + } + + /// <summary>Field number for the "ChapterId" field.</summary> + public const int ChapterIdFieldNumber = 7; + private int chapterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChapterId { + get { return chapterId_; } + set { + chapterId_ = value; + } + } + + /// <summary>Field number for the "Prev" field.</summary> + public const int PrevFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_prev_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> prev_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Prev { + get { return prev_; } + } + + /// <summary>Field number for the "Form" field.</summary> + public const int FormFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_form_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> form_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Form { + get { return form_; } + } + + /// <summary>Field number for the "AvgId" field.</summary> + public const int AvgIdFieldNumber = 10; + private string avgId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AvgId { + get { return avgId_; } + set { + avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TrialCharacter" field.</summary> + public const int TrialCharacterFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_trialCharacter_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> trialCharacter_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TrialCharacter { + get { return trialCharacter_; } + } + + /// <summary>Field number for the "BeforeAvgId" field.</summary> + public const int BeforeAvgIdFieldNumber = 12; + private string beforeAvgId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BeforeAvgId { + get { return beforeAvgId_; } + set { + beforeAvgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AfterAvgId" field.</summary> + public const int AfterAvgIdFieldNumber = 13; + private string afterAvgId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AfterAvgId { + get { return afterAvgId_; } + set { + afterAvgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EnergyConsume" field.</summary> + public const int EnergyConsumeFieldNumber = 14; + private int energyConsume_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnergyConsume { + get { return energyConsume_; } + set { + energyConsume_ = value; + } + } + + /// <summary>Field number for the "UnlockItem" field.</summary> + public const int UnlockItemFieldNumber = 15; + private int unlockItem_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockItem { + get { return unlockItem_; } + set { + unlockItem_ = value; + } + } + + /// <summary>Field number for the "UnlockQty" field.</summary> + public const int UnlockQtyFieldNumber = 16; + private int unlockQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockQty { + get { return unlockQty_; } + set { + unlockQty_ = value; + } + } + + /// <summary>Field number for the "GlobReward" field.</summary> + public const int GlobRewardFieldNumber = 17; + private int globReward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GlobReward { + get { return globReward_; } + set { + globReward_ = value; + } + } + + /// <summary>Field number for the "RewardPreview" field.</summary> + public const int RewardPreviewFieldNumber = 18; + private string rewardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardPreview { + get { return rewardPreview_; } + set { + rewardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ItemReward" field.</summary> + public const int ItemRewardFieldNumber = 19; + private int itemReward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemReward { + get { return itemReward_; } + set { + itemReward_ = value; + } + } + + /// <summary>Field number for the "FirstItemReward" field.</summary> + public const int FirstItemRewardFieldNumber = 20; + private int firstItemReward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FirstItemReward { + get { return firstItemReward_; } + set { + firstItemReward_ = value; + } + } + + /// <summary>Field number for the "DiamondReward" field.</summary> + public const int DiamondRewardFieldNumber = 21; + private int diamondReward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DiamondReward { + get { return diamondReward_; } + set { + diamondReward_ = value; + } + } + + /// <summary>Field number for the "MinChestReward" field.</summary> + public const int MinChestRewardFieldNumber = 22; + private string minChestReward_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MinChestReward { + get { return minChestReward_; } + set { + minChestReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MaxChestReward" field.</summary> + public const int MaxChestRewardFieldNumber = 23; + private string maxChestReward_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MaxChestReward { + get { return maxChestReward_; } + set { + maxChestReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CharBanned" field.</summary> + public const int CharBannedFieldNumber = 24; + private static readonly pb::FieldCodec<int> _repeated_charBanned_codec + = pb::FieldCodec.ForInt32(194); + private readonly pbc::RepeatedField<int> charBanned_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CharBanned { + get { return charBanned_; } + } + + /// <summary>Field number for the "FloorId" field.</summary> + public const int FloorIdFieldNumber = 25; + private static readonly pb::FieldCodec<int> _repeated_floorId_codec + = pb::FieldCodec.ForInt32(202); + private readonly pbc::RepeatedField<int> floorId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FloorId { + get { return floorId_; } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 26; + 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 "PosId" field.</summary> + public const int PosIdFieldNumber = 27; + private int posId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PosId { + get { return posId_; } + set { + posId_ = value; + } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + public const int PreviewMonsterGroupIdFieldNumber = 28; + private int previewMonsterGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreviewMonsterGroupId { + get { return previewMonsterGroupId_; } + set { + previewMonsterGroupId_ = value; + } + } + + /// <summary>Field number for the "Recommend" field.</summary> + public const int RecommendFieldNumber = 29; + private int recommend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Recommend { + get { return recommend_; } + set { + recommend_ = value; + } + } + + /// <summary>Field number for the "Repeat" field.</summary> + public const int RepeatFieldNumber = 30; + private bool repeat_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Repeat { + get { return repeat_; } + set { + repeat_ = value; + } + } + + /// <summary>Field number for the "SubMapName" field.</summary> + public const int SubMapNameFieldNumber = 31; + private int subMapName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SubMapName { + get { return subMapName_; } + set { + subMapName_ = value; + } + } + + /// <summary>Field number for the "MainlineImg" field.</summary> + public const int MainlineImgFieldNumber = 32; + private string mainlineImg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MainlineImg { + get { return mainlineImg_; } + set { + mainlineImg_ = 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 Mainline); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Mainline other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Num != other.Num) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (Type != other.Type) return false; + if (Energy != other.Energy) return false; + if (ChapterId != other.ChapterId) return false; + if(!prev_.Equals(other.prev_)) return false; + if(!form_.Equals(other.form_)) return false; + if (AvgId != other.AvgId) return false; + if(!trialCharacter_.Equals(other.trialCharacter_)) return false; + if (BeforeAvgId != other.BeforeAvgId) return false; + if (AfterAvgId != other.AfterAvgId) return false; + if (EnergyConsume != other.EnergyConsume) return false; + if (UnlockItem != other.UnlockItem) return false; + if (UnlockQty != other.UnlockQty) return false; + if (GlobReward != other.GlobReward) return false; + if (RewardPreview != other.RewardPreview) return false; + if (ItemReward != other.ItemReward) return false; + if (FirstItemReward != other.FirstItemReward) return false; + if (DiamondReward != other.DiamondReward) return false; + if (MinChestReward != other.MinChestReward) return false; + if (MaxChestReward != other.MaxChestReward) return false; + if(!charBanned_.Equals(other.charBanned_)) return false; + if(!floorId_.Equals(other.floorId_)) return false; + if (Icon != other.Icon) return false; + if (PosId != other.PosId) return false; + if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; + if (Recommend != other.Recommend) return false; + if (Repeat != other.Repeat) return false; + if (SubMapName != other.SubMapName) return false; + if (MainlineImg != other.MainlineImg) 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 (Num.Length != 0) hash ^= Num.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Energy != 0) hash ^= Energy.GetHashCode(); + if (ChapterId != 0) hash ^= ChapterId.GetHashCode(); + hash ^= prev_.GetHashCode(); + hash ^= form_.GetHashCode(); + if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); + hash ^= trialCharacter_.GetHashCode(); + if (BeforeAvgId.Length != 0) hash ^= BeforeAvgId.GetHashCode(); + if (AfterAvgId.Length != 0) hash ^= AfterAvgId.GetHashCode(); + if (EnergyConsume != 0) hash ^= EnergyConsume.GetHashCode(); + if (UnlockItem != 0) hash ^= UnlockItem.GetHashCode(); + if (UnlockQty != 0) hash ^= UnlockQty.GetHashCode(); + if (GlobReward != 0) hash ^= GlobReward.GetHashCode(); + if (RewardPreview.Length != 0) hash ^= RewardPreview.GetHashCode(); + if (ItemReward != 0) hash ^= ItemReward.GetHashCode(); + if (FirstItemReward != 0) hash ^= FirstItemReward.GetHashCode(); + if (DiamondReward != 0) hash ^= DiamondReward.GetHashCode(); + if (MinChestReward.Length != 0) hash ^= MinChestReward.GetHashCode(); + if (MaxChestReward.Length != 0) hash ^= MaxChestReward.GetHashCode(); + hash ^= charBanned_.GetHashCode(); + hash ^= floorId_.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (PosId != 0) hash ^= PosId.GetHashCode(); + if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); + if (Recommend != 0) hash ^= Recommend.GetHashCode(); + if (Repeat != false) hash ^= Repeat.GetHashCode(); + if (SubMapName != 0) hash ^= SubMapName.GetHashCode(); + if (MainlineImg.Length != 0) hash ^= MainlineImg.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 (Num.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Num); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (Energy != 0) { + output.WriteRawTag(48); + output.WriteInt32(Energy); + } + if (ChapterId != 0) { + output.WriteRawTag(56); + output.WriteInt32(ChapterId); + } + prev_.WriteTo(output, _repeated_prev_codec); + form_.WriteTo(output, _repeated_form_codec); + if (AvgId.Length != 0) { + output.WriteRawTag(82); + output.WriteString(AvgId); + } + trialCharacter_.WriteTo(output, _repeated_trialCharacter_codec); + if (BeforeAvgId.Length != 0) { + output.WriteRawTag(98); + output.WriteString(BeforeAvgId); + } + if (AfterAvgId.Length != 0) { + output.WriteRawTag(106); + output.WriteString(AfterAvgId); + } + if (EnergyConsume != 0) { + output.WriteRawTag(112); + output.WriteInt32(EnergyConsume); + } + if (UnlockItem != 0) { + output.WriteRawTag(120); + output.WriteInt32(UnlockItem); + } + if (UnlockQty != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(UnlockQty); + } + if (GlobReward != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(GlobReward); + } + if (RewardPreview.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(RewardPreview); + } + if (ItemReward != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ItemReward); + } + if (FirstItemReward != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(FirstItemReward); + } + if (DiamondReward != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(DiamondReward); + } + if (MinChestReward.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(MinChestReward); + } + if (MaxChestReward.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(MaxChestReward); + } + charBanned_.WriteTo(output, _repeated_charBanned_codec); + floorId_.WriteTo(output, _repeated_floorId_codec); + if (Icon.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Icon); + } + if (PosId != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(PosId); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Recommend != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(Recommend); + } + if (Repeat != false) { + output.WriteRawTag(240, 1); + output.WriteBool(Repeat); + } + if (SubMapName != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(SubMapName); + } + if (MainlineImg.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(MainlineImg); + } + 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 (Num.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Num); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (Energy != 0) { + output.WriteRawTag(48); + output.WriteInt32(Energy); + } + if (ChapterId != 0) { + output.WriteRawTag(56); + output.WriteInt32(ChapterId); + } + prev_.WriteTo(ref output, _repeated_prev_codec); + form_.WriteTo(ref output, _repeated_form_codec); + if (AvgId.Length != 0) { + output.WriteRawTag(82); + output.WriteString(AvgId); + } + trialCharacter_.WriteTo(ref output, _repeated_trialCharacter_codec); + if (BeforeAvgId.Length != 0) { + output.WriteRawTag(98); + output.WriteString(BeforeAvgId); + } + if (AfterAvgId.Length != 0) { + output.WriteRawTag(106); + output.WriteString(AfterAvgId); + } + if (EnergyConsume != 0) { + output.WriteRawTag(112); + output.WriteInt32(EnergyConsume); + } + if (UnlockItem != 0) { + output.WriteRawTag(120); + output.WriteInt32(UnlockItem); + } + if (UnlockQty != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(UnlockQty); + } + if (GlobReward != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(GlobReward); + } + if (RewardPreview.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(RewardPreview); + } + if (ItemReward != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ItemReward); + } + if (FirstItemReward != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(FirstItemReward); + } + if (DiamondReward != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(DiamondReward); + } + if (MinChestReward.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(MinChestReward); + } + if (MaxChestReward.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(MaxChestReward); + } + charBanned_.WriteTo(ref output, _repeated_charBanned_codec); + floorId_.WriteTo(ref output, _repeated_floorId_codec); + if (Icon.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Icon); + } + if (PosId != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(PosId); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Recommend != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(Recommend); + } + if (Repeat != false) { + output.WriteRawTag(240, 1); + output.WriteBool(Repeat); + } + if (SubMapName != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(SubMapName); + } + if (MainlineImg.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(MainlineImg); + } + 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 (Num.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Num); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Energy != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Energy); + } + if (ChapterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChapterId); + } + size += prev_.CalculateSize(_repeated_prev_codec); + size += form_.CalculateSize(_repeated_form_codec); + if (AvgId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId); + } + size += trialCharacter_.CalculateSize(_repeated_trialCharacter_codec); + if (BeforeAvgId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BeforeAvgId); + } + if (AfterAvgId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AfterAvgId); + } + if (EnergyConsume != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnergyConsume); + } + if (UnlockItem != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockItem); + } + if (UnlockQty != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(UnlockQty); + } + if (GlobReward != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(GlobReward); + } + if (RewardPreview.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview); + } + if (ItemReward != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemReward); + } + if (FirstItemReward != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FirstItemReward); + } + if (DiamondReward != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DiamondReward); + } + if (MinChestReward.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(MinChestReward); + } + if (MaxChestReward.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(MaxChestReward); + } + size += charBanned_.CalculateSize(_repeated_charBanned_codec); + size += floorId_.CalculateSize(_repeated_floorId_codec); + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (PosId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PosId); + } + if (PreviewMonsterGroupId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); + } + if (Recommend != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Recommend); + } + if (Repeat != false) { + size += 2 + 1; + } + if (SubMapName != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SubMapName); + } + if (MainlineImg.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(MainlineImg); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Mainline other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Num.Length != 0) { + Num = other.Num; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Energy != 0) { + Energy = other.Energy; + } + if (other.ChapterId != 0) { + ChapterId = other.ChapterId; + } + prev_.Add(other.prev_); + form_.Add(other.form_); + if (other.AvgId.Length != 0) { + AvgId = other.AvgId; + } + trialCharacter_.Add(other.trialCharacter_); + if (other.BeforeAvgId.Length != 0) { + BeforeAvgId = other.BeforeAvgId; + } + if (other.AfterAvgId.Length != 0) { + AfterAvgId = other.AfterAvgId; + } + if (other.EnergyConsume != 0) { + EnergyConsume = other.EnergyConsume; + } + if (other.UnlockItem != 0) { + UnlockItem = other.UnlockItem; + } + if (other.UnlockQty != 0) { + UnlockQty = other.UnlockQty; + } + if (other.GlobReward != 0) { + GlobReward = other.GlobReward; + } + if (other.RewardPreview.Length != 0) { + RewardPreview = other.RewardPreview; + } + if (other.ItemReward != 0) { + ItemReward = other.ItemReward; + } + if (other.FirstItemReward != 0) { + FirstItemReward = other.FirstItemReward; + } + if (other.DiamondReward != 0) { + DiamondReward = other.DiamondReward; + } + if (other.MinChestReward.Length != 0) { + MinChestReward = other.MinChestReward; + } + if (other.MaxChestReward.Length != 0) { + MaxChestReward = other.MaxChestReward; + } + charBanned_.Add(other.charBanned_); + floorId_.Add(other.floorId_); + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.PosId != 0) { + PosId = other.PosId; + } + if (other.PreviewMonsterGroupId != 0) { + PreviewMonsterGroupId = other.PreviewMonsterGroupId; + } + if (other.Recommend != 0) { + Recommend = other.Recommend; + } + if (other.Repeat != false) { + Repeat = other.Repeat; + } + if (other.SubMapName != 0) { + SubMapName = other.SubMapName; + } + if (other.MainlineImg.Length != 0) { + MainlineImg = other.MainlineImg; + } + _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: { + Num = input.ReadString(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + Energy = input.ReadInt32(); + break; + } + case 56: { + ChapterId = input.ReadInt32(); + break; + } + case 66: + case 64: { + prev_.AddEntriesFrom(input, _repeated_prev_codec); + break; + } + case 74: + case 72: { + form_.AddEntriesFrom(input, _repeated_form_codec); + break; + } + case 82: { + AvgId = input.ReadString(); + break; + } + case 90: + case 88: { + trialCharacter_.AddEntriesFrom(input, _repeated_trialCharacter_codec); + break; + } + case 98: { + BeforeAvgId = input.ReadString(); + break; + } + case 106: { + AfterAvgId = input.ReadString(); + break; + } + case 112: { + EnergyConsume = input.ReadInt32(); + break; + } + case 120: { + UnlockItem = input.ReadInt32(); + break; + } + case 128: { + UnlockQty = input.ReadInt32(); + break; + } + case 136: { + GlobReward = input.ReadInt32(); + break; + } + case 146: { + RewardPreview = input.ReadString(); + break; + } + case 152: { + ItemReward = input.ReadInt32(); + break; + } + case 160: { + FirstItemReward = input.ReadInt32(); + break; + } + case 168: { + DiamondReward = input.ReadInt32(); + break; + } + case 178: { + MinChestReward = input.ReadString(); + break; + } + case 186: { + MaxChestReward = input.ReadString(); + break; + } + case 194: + case 192: { + charBanned_.AddEntriesFrom(input, _repeated_charBanned_codec); + break; + } + case 202: + case 200: { + floorId_.AddEntriesFrom(input, _repeated_floorId_codec); + break; + } + case 210: { + Icon = input.ReadString(); + break; + } + case 216: { + PosId = input.ReadInt32(); + break; + } + case 224: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 232: { + Recommend = input.ReadInt32(); + break; + } + case 240: { + Repeat = input.ReadBool(); + break; + } + case 248: { + SubMapName = input.ReadInt32(); + break; + } + case 258: { + MainlineImg = 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 18: { + Num = input.ReadString(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + Energy = input.ReadInt32(); + break; + } + case 56: { + ChapterId = input.ReadInt32(); + break; + } + case 66: + case 64: { + prev_.AddEntriesFrom(ref input, _repeated_prev_codec); + break; + } + case 74: + case 72: { + form_.AddEntriesFrom(ref input, _repeated_form_codec); + break; + } + case 82: { + AvgId = input.ReadString(); + break; + } + case 90: + case 88: { + trialCharacter_.AddEntriesFrom(ref input, _repeated_trialCharacter_codec); + break; + } + case 98: { + BeforeAvgId = input.ReadString(); + break; + } + case 106: { + AfterAvgId = input.ReadString(); + break; + } + case 112: { + EnergyConsume = input.ReadInt32(); + break; + } + case 120: { + UnlockItem = input.ReadInt32(); + break; + } + case 128: { + UnlockQty = input.ReadInt32(); + break; + } + case 136: { + GlobReward = input.ReadInt32(); + break; + } + case 146: { + RewardPreview = input.ReadString(); + break; + } + case 152: { + ItemReward = input.ReadInt32(); + break; + } + case 160: { + FirstItemReward = input.ReadInt32(); + break; + } + case 168: { + DiamondReward = input.ReadInt32(); + break; + } + case 178: { + MinChestReward = input.ReadString(); + break; + } + case 186: { + MaxChestReward = input.ReadString(); + break; + } + case 194: + case 192: { + charBanned_.AddEntriesFrom(ref input, _repeated_charBanned_codec); + break; + } + case 202: + case 200: { + floorId_.AddEntriesFrom(ref input, _repeated_floorId_codec); + break; + } + case 210: { + Icon = input.ReadString(); + break; + } + case 216: { + PosId = input.ReadInt32(); + break; + } + case 224: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 232: { + Recommend = input.ReadInt32(); + break; + } + case 240: { + Repeat = input.ReadBool(); + break; + } + case 248: { + SubMapName = input.ReadInt32(); + break; + } + case 258: { + MainlineImg = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Mainline : pb::IMessage<table_Mainline> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Mainline> _parser = new pb::MessageParser<table_Mainline>(() => new table_Mainline()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Mainline> 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.ClientTableReflection.Descriptor.MessageTypes[255]; } + } + + [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 table_Mainline() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Mainline(table_Mainline other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Mainline Clone() { + return new table_Mainline(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Mainline> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Mainline.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Mainline> list_ = new pbc::RepeatedField<global::Nova.Client.Mainline>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Mainline> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Mainline); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Mainline other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Mainline other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MainlineFloor : pb::IMessage<MainlineFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MainlineFloor> _parser = new pb::MessageParser<MainlineFloor>(() => new MainlineFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MainlineFloor> 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.ClientTableReflection.Descriptor.MessageTypes[256]; } + } + + [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 MainlineFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MainlineFloor(MainlineFloor other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + monsterLv_ = other.monsterLv_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MainlineFloor Clone() { + return new MainlineFloor(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 7; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MainlineFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MainlineFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; + if (MonsterLv != other.MonsterLv) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MainlineFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterLv = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MainlineFloor : pb::IMessage<table_MainlineFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MainlineFloor> _parser = new pb::MessageParser<table_MainlineFloor>(() => new table_MainlineFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MainlineFloor> 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.ClientTableReflection.Descriptor.MessageTypes[257]; } + } + + [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 table_MainlineFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MainlineFloor(table_MainlineFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MainlineFloor Clone() { + return new table_MainlineFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MainlineFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MainlineFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MainlineFloor> list_ = new pbc::RepeatedField<global::Nova.Client.MainlineFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MainlineFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MainlineFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MainlineFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MainlineFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallGem : pb::IMessage<MallGem> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallGem> _parser = new pb::MessageParser<MallGem>(() => new MallGem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallGem> 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.ClientTableReflection.Descriptor.MessageTypes[258]; } + } + + [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 MallGem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallGem(MallGem other) : this() { + id_ = other.id_; + name_ = other.name_; + order_ = other.order_; + baseItemId_ = other.baseItemId_; + baseItemQty_ = other.baseItemQty_; + experiencedBonusItemId_ = other.experiencedBonusItemId_; + experiencedBonusItemQty_ = other.experiencedBonusItemQty_; + maidenBonusItemID_ = other.maidenBonusItemID_; + maidenBonusItemQty_ = other.maidenBonusItemQty_; + price_ = other.price_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallGem Clone() { + return new MallGem(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "Order" field.</summary> + public const int OrderFieldNumber = 3; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "BaseItemId" field.</summary> + public const int BaseItemIdFieldNumber = 4; + private int baseItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BaseItemId { + get { return baseItemId_; } + set { + baseItemId_ = value; + } + } + + /// <summary>Field number for the "BaseItemQty" field.</summary> + public const int BaseItemQtyFieldNumber = 5; + private int baseItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BaseItemQty { + get { return baseItemQty_; } + set { + baseItemQty_ = value; + } + } + + /// <summary>Field number for the "ExperiencedBonusItemId" field.</summary> + public const int ExperiencedBonusItemIdFieldNumber = 6; + private int experiencedBonusItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExperiencedBonusItemId { + get { return experiencedBonusItemId_; } + set { + experiencedBonusItemId_ = value; + } + } + + /// <summary>Field number for the "ExperiencedBonusItemQty" field.</summary> + public const int ExperiencedBonusItemQtyFieldNumber = 7; + private int experiencedBonusItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExperiencedBonusItemQty { + get { return experiencedBonusItemQty_; } + set { + experiencedBonusItemQty_ = value; + } + } + + /// <summary>Field number for the "MaidenBonusItemID" field.</summary> + public const int MaidenBonusItemIDFieldNumber = 8; + private int maidenBonusItemID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaidenBonusItemID { + get { return maidenBonusItemID_; } + set { + maidenBonusItemID_ = value; + } + } + + /// <summary>Field number for the "MaidenBonusItemQty" field.</summary> + public const int MaidenBonusItemQtyFieldNumber = 9; + private int maidenBonusItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaidenBonusItemQty { + get { return maidenBonusItemQty_; } + set { + maidenBonusItemQty_ = value; + } + } + + /// <summary>Field number for the "Price" field.</summary> + public const int PriceFieldNumber = 10; + private int price_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Price { + get { return price_; } + set { + price_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 11; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MallGem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallGem 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 (Order != other.Order) return false; + if (BaseItemId != other.BaseItemId) return false; + if (BaseItemQty != other.BaseItemQty) return false; + if (ExperiencedBonusItemId != other.ExperiencedBonusItemId) return false; + if (ExperiencedBonusItemQty != other.ExperiencedBonusItemQty) return false; + if (MaidenBonusItemID != other.MaidenBonusItemID) return false; + if (MaidenBonusItemQty != other.MaidenBonusItemQty) return false; + if (Price != other.Price) return false; + if (Icon != other.Icon) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (BaseItemId != 0) hash ^= BaseItemId.GetHashCode(); + if (BaseItemQty != 0) hash ^= BaseItemQty.GetHashCode(); + if (ExperiencedBonusItemId != 0) hash ^= ExperiencedBonusItemId.GetHashCode(); + if (ExperiencedBonusItemQty != 0) hash ^= ExperiencedBonusItemQty.GetHashCode(); + if (MaidenBonusItemID != 0) hash ^= MaidenBonusItemID.GetHashCode(); + if (MaidenBonusItemQty != 0) hash ^= MaidenBonusItemQty.GetHashCode(); + if (Price != 0) hash ^= Price.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Order != 0) { + output.WriteRawTag(24); + output.WriteInt32(Order); + } + if (BaseItemId != 0) { + output.WriteRawTag(32); + output.WriteInt32(BaseItemId); + } + if (BaseItemQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(BaseItemQty); + } + if (ExperiencedBonusItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ExperiencedBonusItemId); + } + if (ExperiencedBonusItemQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(ExperiencedBonusItemQty); + } + if (MaidenBonusItemID != 0) { + output.WriteRawTag(64); + output.WriteInt32(MaidenBonusItemID); + } + if (MaidenBonusItemQty != 0) { + output.WriteRawTag(72); + output.WriteInt32(MaidenBonusItemQty); + } + if (Price != 0) { + output.WriteRawTag(80); + output.WriteInt32(Price); + } + if (Icon.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Icon); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Order != 0) { + output.WriteRawTag(24); + output.WriteInt32(Order); + } + if (BaseItemId != 0) { + output.WriteRawTag(32); + output.WriteInt32(BaseItemId); + } + if (BaseItemQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(BaseItemQty); + } + if (ExperiencedBonusItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ExperiencedBonusItemId); + } + if (ExperiencedBonusItemQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(ExperiencedBonusItemQty); + } + if (MaidenBonusItemID != 0) { + output.WriteRawTag(64); + output.WriteInt32(MaidenBonusItemID); + } + if (MaidenBonusItemQty != 0) { + output.WriteRawTag(72); + output.WriteInt32(MaidenBonusItemQty); + } + if (Price != 0) { + output.WriteRawTag(80); + output.WriteInt32(Price); + } + if (Icon.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Icon); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (BaseItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemId); + } + if (BaseItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemQty); + } + if (ExperiencedBonusItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperiencedBonusItemId); + } + if (ExperiencedBonusItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperiencedBonusItemQty); + } + if (MaidenBonusItemID != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaidenBonusItemID); + } + if (MaidenBonusItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaidenBonusItemQty); + } + if (Price != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallGem other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.BaseItemId != 0) { + BaseItemId = other.BaseItemId; + } + if (other.BaseItemQty != 0) { + BaseItemQty = other.BaseItemQty; + } + if (other.ExperiencedBonusItemId != 0) { + ExperiencedBonusItemId = other.ExperiencedBonusItemId; + } + if (other.ExperiencedBonusItemQty != 0) { + ExperiencedBonusItemQty = other.ExperiencedBonusItemQty; + } + if (other.MaidenBonusItemID != 0) { + MaidenBonusItemID = other.MaidenBonusItemID; + } + if (other.MaidenBonusItemQty != 0) { + MaidenBonusItemQty = other.MaidenBonusItemQty; + } + if (other.Price != 0) { + Price = other.Price; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Order = input.ReadInt32(); + break; + } + case 32: { + BaseItemId = input.ReadInt32(); + break; + } + case 40: { + BaseItemQty = input.ReadInt32(); + break; + } + case 48: { + ExperiencedBonusItemId = input.ReadInt32(); + break; + } + case 56: { + ExperiencedBonusItemQty = input.ReadInt32(); + break; + } + case 64: { + MaidenBonusItemID = input.ReadInt32(); + break; + } + case 72: { + MaidenBonusItemQty = input.ReadInt32(); + break; + } + case 80: { + Price = input.ReadInt32(); + break; + } + case 90: { + Icon = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Order = input.ReadInt32(); + break; + } + case 32: { + BaseItemId = input.ReadInt32(); + break; + } + case 40: { + BaseItemQty = input.ReadInt32(); + break; + } + case 48: { + ExperiencedBonusItemId = input.ReadInt32(); + break; + } + case 56: { + ExperiencedBonusItemQty = input.ReadInt32(); + break; + } + case 64: { + MaidenBonusItemID = input.ReadInt32(); + break; + } + case 72: { + MaidenBonusItemQty = input.ReadInt32(); + break; + } + case 80: { + Price = input.ReadInt32(); + break; + } + case 90: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MallGem : pb::IMessage<table_MallGem> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MallGem> _parser = new pb::MessageParser<table_MallGem>(() => new table_MallGem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MallGem> 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.ClientTableReflection.Descriptor.MessageTypes[259]; } + } + + [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 table_MallGem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallGem(table_MallGem other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallGem Clone() { + return new table_MallGem(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MallGem> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallGem.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MallGem> list_ = new pbc::RepeatedField<global::Nova.Client.MallGem>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MallGem> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MallGem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MallGem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MallGem other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallMonthlyCard : pb::IMessage<MallMonthlyCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallMonthlyCard> _parser = new pb::MessageParser<MallMonthlyCard>(() => new MallMonthlyCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallMonthlyCard> 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.ClientTableReflection.Descriptor.MessageTypes[260]; } + } + + [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 MallMonthlyCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallMonthlyCard(MallMonthlyCard other) : this() { + id_ = other.id_; + name_ = other.name_; + monthlyCardId_ = other.monthlyCardId_; + price_ = other.price_; + baseItemId_ = other.baseItemId_; + baseItemQty_ = other.baseItemQty_; + maxDays_ = other.maxDays_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallMonthlyCard Clone() { + return new MallMonthlyCard(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "MonthlyCardId" field.</summary> + public const int MonthlyCardIdFieldNumber = 3; + private int monthlyCardId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonthlyCardId { + get { return monthlyCardId_; } + set { + monthlyCardId_ = value; + } + } + + /// <summary>Field number for the "Price" field.</summary> + public const int PriceFieldNumber = 4; + private int price_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Price { + get { return price_; } + set { + price_ = value; + } + } + + /// <summary>Field number for the "BaseItemId" field.</summary> + public const int BaseItemIdFieldNumber = 5; + private int baseItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BaseItemId { + get { return baseItemId_; } + set { + baseItemId_ = value; + } + } + + /// <summary>Field number for the "BaseItemQty" field.</summary> + public const int BaseItemQtyFieldNumber = 6; + private int baseItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BaseItemQty { + get { return baseItemQty_; } + set { + baseItemQty_ = value; + } + } + + /// <summary>Field number for the "MaxDays" field.</summary> + public const int MaxDaysFieldNumber = 7; + private int maxDays_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxDays { + get { return maxDays_; } + set { + maxDays_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 8; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MallMonthlyCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallMonthlyCard 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 (MonthlyCardId != other.MonthlyCardId) return false; + if (Price != other.Price) return false; + if (BaseItemId != other.BaseItemId) return false; + if (BaseItemQty != other.BaseItemQty) return false; + if (MaxDays != other.MaxDays) return false; + if (Icon != other.Icon) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (MonthlyCardId != 0) hash ^= MonthlyCardId.GetHashCode(); + if (Price != 0) hash ^= Price.GetHashCode(); + if (BaseItemId != 0) hash ^= BaseItemId.GetHashCode(); + if (BaseItemQty != 0) hash ^= BaseItemQty.GetHashCode(); + if (MaxDays != 0) hash ^= MaxDays.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (MonthlyCardId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MonthlyCardId); + } + if (Price != 0) { + output.WriteRawTag(32); + output.WriteInt32(Price); + } + if (BaseItemId != 0) { + output.WriteRawTag(40); + output.WriteInt32(BaseItemId); + } + if (BaseItemQty != 0) { + output.WriteRawTag(48); + output.WriteInt32(BaseItemQty); + } + if (MaxDays != 0) { + output.WriteRawTag(56); + output.WriteInt32(MaxDays); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (MonthlyCardId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MonthlyCardId); + } + if (Price != 0) { + output.WriteRawTag(32); + output.WriteInt32(Price); + } + if (BaseItemId != 0) { + output.WriteRawTag(40); + output.WriteInt32(BaseItemId); + } + if (BaseItemQty != 0) { + output.WriteRawTag(48); + output.WriteInt32(BaseItemQty); + } + if (MaxDays != 0) { + output.WriteRawTag(56); + output.WriteInt32(MaxDays); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (MonthlyCardId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonthlyCardId); + } + if (Price != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); + } + if (BaseItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemId); + } + if (BaseItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemQty); + } + if (MaxDays != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxDays); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallMonthlyCard other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.MonthlyCardId != 0) { + MonthlyCardId = other.MonthlyCardId; + } + if (other.Price != 0) { + Price = other.Price; + } + if (other.BaseItemId != 0) { + BaseItemId = other.BaseItemId; + } + if (other.BaseItemQty != 0) { + BaseItemQty = other.BaseItemQty; + } + if (other.MaxDays != 0) { + MaxDays = other.MaxDays; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + MonthlyCardId = input.ReadInt32(); + break; + } + case 32: { + Price = input.ReadInt32(); + break; + } + case 40: { + BaseItemId = input.ReadInt32(); + break; + } + case 48: { + BaseItemQty = input.ReadInt32(); + break; + } + case 56: { + MaxDays = input.ReadInt32(); + break; + } + case 66: { + Icon = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + MonthlyCardId = input.ReadInt32(); + break; + } + case 32: { + Price = input.ReadInt32(); + break; + } + case 40: { + BaseItemId = input.ReadInt32(); + break; + } + case 48: { + BaseItemQty = input.ReadInt32(); + break; + } + case 56: { + MaxDays = input.ReadInt32(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MallMonthlyCard : pb::IMessage<table_MallMonthlyCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MallMonthlyCard> _parser = new pb::MessageParser<table_MallMonthlyCard>(() => new table_MallMonthlyCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MallMonthlyCard> 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.ClientTableReflection.Descriptor.MessageTypes[261]; } + } + + [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 table_MallMonthlyCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallMonthlyCard(table_MallMonthlyCard other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallMonthlyCard Clone() { + return new table_MallMonthlyCard(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MallMonthlyCard> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallMonthlyCard.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MallMonthlyCard> list_ = new pbc::RepeatedField<global::Nova.Client.MallMonthlyCard>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MallMonthlyCard> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MallMonthlyCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MallMonthlyCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MallMonthlyCard other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallPackage : pb::IMessage<MallPackage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallPackage> _parser = new pb::MessageParser<MallPackage>(() => new MallPackage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallPackage> 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.ClientTableReflection.Descriptor.MessageTypes[262]; } + } + + [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 MallPackage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackage(MallPackage other) : this() { + id_ = other.id_; + name_ = other.name_; + groupId_ = other.groupId_; + sort_ = other.sort_; + currencyType_ = other.currencyType_; + currencyItemId_ = other.currencyItemId_; + currencyItemQty_ = other.currencyItemQty_; + stock_ = other.stock_; + refreshType_ = other.refreshType_; + items_ = other.items_; + listCondType_ = other.listCondType_; + listCondParams_ = other.listCondParams_; + orderCondType_ = other.orderCondType_; + orderCondParams_ = other.orderCondParams_; + listTime_ = other.listTime_; + deListTime_ = other.deListTime_; + displayMode_ = other.displayMode_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackage Clone() { + return new MallPackage(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "GroupId" field.</summary> + public const int GroupIdFieldNumber = 3; + 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 "Sort" field.</summary> + public const int SortFieldNumber = 4; + 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 "CurrencyType" field.</summary> + public const int CurrencyTypeFieldNumber = 5; + private int currencyType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyType { + get { return currencyType_; } + set { + currencyType_ = value; + } + } + + /// <summary>Field number for the "CurrencyItemId" field.</summary> + public const int CurrencyItemIdFieldNumber = 6; + private int currencyItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyItemId { + get { return currencyItemId_; } + set { + currencyItemId_ = value; + } + } + + /// <summary>Field number for the "CurrencyItemQty" field.</summary> + public const int CurrencyItemQtyFieldNumber = 7; + private int currencyItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyItemQty { + get { return currencyItemQty_; } + set { + currencyItemQty_ = value; + } + } + + /// <summary>Field number for the "Stock" field.</summary> + public const int StockFieldNumber = 8; + private int stock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stock { + get { return stock_; } + set { + stock_ = value; + } + } + + /// <summary>Field number for the "RefreshType" field.</summary> + public const int RefreshTypeFieldNumber = 9; + private int refreshType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshType { + get { return refreshType_; } + set { + refreshType_ = value; + } + } + + /// <summary>Field number for the "Items" field.</summary> + public const int ItemsFieldNumber = 10; + private string items_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Items { + get { return items_; } + set { + items_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ListCondType" field.</summary> + public const int ListCondTypeFieldNumber = 11; + private int listCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ListCondType { + get { return listCondType_; } + set { + listCondType_ = value; + } + } + + /// <summary>Field number for the "ListCondParams" field.</summary> + public const int ListCondParamsFieldNumber = 12; + private string listCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ListCondParams { + get { return listCondParams_; } + set { + listCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "OrderCondType" field.</summary> + public const int OrderCondTypeFieldNumber = 13; + private int orderCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OrderCondType { + get { return orderCondType_; } + set { + orderCondType_ = value; + } + } + + /// <summary>Field number for the "OrderCondParams" field.</summary> + public const int OrderCondParamsFieldNumber = 14; + private string orderCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OrderCondParams { + get { return orderCondParams_; } + set { + orderCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ListTime" field.</summary> + public const int ListTimeFieldNumber = 15; + private string listTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ListTime { + get { return listTime_; } + set { + listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DeListTime" field.</summary> + public const int DeListTimeFieldNumber = 16; + private string deListTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeListTime { + get { return deListTime_; } + set { + deListTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DisplayMode" field.</summary> + public const int DisplayModeFieldNumber = 17; + private int displayMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DisplayMode { + get { return displayMode_; } + set { + displayMode_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 18; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MallPackage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallPackage 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 (GroupId != other.GroupId) return false; + if (Sort != other.Sort) return false; + if (CurrencyType != other.CurrencyType) return false; + if (CurrencyItemId != other.CurrencyItemId) return false; + if (CurrencyItemQty != other.CurrencyItemQty) return false; + if (Stock != other.Stock) return false; + if (RefreshType != other.RefreshType) return false; + if (Items != other.Items) return false; + if (ListCondType != other.ListCondType) return false; + if (ListCondParams != other.ListCondParams) return false; + if (OrderCondType != other.OrderCondType) return false; + if (OrderCondParams != other.OrderCondParams) return false; + if (ListTime != other.ListTime) return false; + if (DeListTime != other.DeListTime) return false; + if (DisplayMode != other.DisplayMode) return false; + if (Icon != other.Icon) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (CurrencyType != 0) hash ^= CurrencyType.GetHashCode(); + if (CurrencyItemId != 0) hash ^= CurrencyItemId.GetHashCode(); + if (CurrencyItemQty != 0) hash ^= CurrencyItemQty.GetHashCode(); + if (Stock != 0) hash ^= Stock.GetHashCode(); + if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); + if (Items.Length != 0) hash ^= Items.GetHashCode(); + if (ListCondType != 0) hash ^= ListCondType.GetHashCode(); + if (ListCondParams.Length != 0) hash ^= ListCondParams.GetHashCode(); + if (OrderCondType != 0) hash ^= OrderCondType.GetHashCode(); + if (OrderCondParams.Length != 0) hash ^= OrderCondParams.GetHashCode(); + if (ListTime.Length != 0) hash ^= ListTime.GetHashCode(); + if (DeListTime.Length != 0) hash ^= DeListTime.GetHashCode(); + if (DisplayMode != 0) hash ^= DisplayMode.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (GroupId != 0) { + output.WriteRawTag(24); + output.WriteInt32(GroupId); + } + if (Sort != 0) { + output.WriteRawTag(32); + output.WriteInt32(Sort); + } + if (CurrencyType != 0) { + output.WriteRawTag(40); + output.WriteInt32(CurrencyType); + } + if (CurrencyItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(CurrencyItemId); + } + if (CurrencyItemQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(CurrencyItemQty); + } + if (Stock != 0) { + output.WriteRawTag(64); + output.WriteInt32(Stock); + } + if (RefreshType != 0) { + output.WriteRawTag(72); + output.WriteInt32(RefreshType); + } + if (Items.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Items); + } + if (ListCondType != 0) { + output.WriteRawTag(88); + output.WriteInt32(ListCondType); + } + if (ListCondParams.Length != 0) { + output.WriteRawTag(98); + output.WriteString(ListCondParams); + } + if (OrderCondType != 0) { + output.WriteRawTag(104); + output.WriteInt32(OrderCondType); + } + if (OrderCondParams.Length != 0) { + output.WriteRawTag(114); + output.WriteString(OrderCondParams); + } + if (ListTime.Length != 0) { + output.WriteRawTag(122); + output.WriteString(ListTime); + } + if (DeListTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(DeListTime); + } + if (DisplayMode != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(DisplayMode); + } + if (Icon.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Icon); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (GroupId != 0) { + output.WriteRawTag(24); + output.WriteInt32(GroupId); + } + if (Sort != 0) { + output.WriteRawTag(32); + output.WriteInt32(Sort); + } + if (CurrencyType != 0) { + output.WriteRawTag(40); + output.WriteInt32(CurrencyType); + } + if (CurrencyItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(CurrencyItemId); + } + if (CurrencyItemQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(CurrencyItemQty); + } + if (Stock != 0) { + output.WriteRawTag(64); + output.WriteInt32(Stock); + } + if (RefreshType != 0) { + output.WriteRawTag(72); + output.WriteInt32(RefreshType); + } + if (Items.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Items); + } + if (ListCondType != 0) { + output.WriteRawTag(88); + output.WriteInt32(ListCondType); + } + if (ListCondParams.Length != 0) { + output.WriteRawTag(98); + output.WriteString(ListCondParams); + } + if (OrderCondType != 0) { + output.WriteRawTag(104); + output.WriteInt32(OrderCondType); + } + if (OrderCondParams.Length != 0) { + output.WriteRawTag(114); + output.WriteString(OrderCondParams); + } + if (ListTime.Length != 0) { + output.WriteRawTag(122); + output.WriteString(ListTime); + } + if (DeListTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(DeListTime); + } + if (DisplayMode != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(DisplayMode); + } + if (Icon.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Icon); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (CurrencyType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyType); + } + if (CurrencyItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemId); + } + if (CurrencyItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemQty); + } + if (Stock != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stock); + } + if (RefreshType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); + } + if (Items.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Items); + } + if (ListCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ListCondType); + } + if (ListCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ListCondParams); + } + if (OrderCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OrderCondType); + } + if (OrderCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderCondParams); + } + if (ListTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ListTime); + } + if (DeListTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(DeListTime); + } + if (DisplayMode != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode); + } + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallPackage other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.CurrencyType != 0) { + CurrencyType = other.CurrencyType; + } + if (other.CurrencyItemId != 0) { + CurrencyItemId = other.CurrencyItemId; + } + if (other.CurrencyItemQty != 0) { + CurrencyItemQty = other.CurrencyItemQty; + } + if (other.Stock != 0) { + Stock = other.Stock; + } + if (other.RefreshType != 0) { + RefreshType = other.RefreshType; + } + if (other.Items.Length != 0) { + Items = other.Items; + } + if (other.ListCondType != 0) { + ListCondType = other.ListCondType; + } + if (other.ListCondParams.Length != 0) { + ListCondParams = other.ListCondParams; + } + if (other.OrderCondType != 0) { + OrderCondType = other.OrderCondType; + } + if (other.OrderCondParams.Length != 0) { + OrderCondParams = other.OrderCondParams; + } + if (other.ListTime.Length != 0) { + ListTime = other.ListTime; + } + if (other.DeListTime.Length != 0) { + DeListTime = other.DeListTime; + } + if (other.DisplayMode != 0) { + DisplayMode = other.DisplayMode; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + GroupId = input.ReadInt32(); + break; + } + case 32: { + Sort = input.ReadInt32(); + break; + } + case 40: { + CurrencyType = input.ReadInt32(); + break; + } + case 48: { + CurrencyItemId = input.ReadInt32(); + break; + } + case 56: { + CurrencyItemQty = input.ReadInt32(); + break; + } + case 64: { + Stock = input.ReadInt32(); + break; + } + case 72: { + RefreshType = input.ReadInt32(); + break; + } + case 82: { + Items = input.ReadString(); + break; + } + case 88: { + ListCondType = input.ReadInt32(); + break; + } + case 98: { + ListCondParams = input.ReadString(); + break; + } + case 104: { + OrderCondType = input.ReadInt32(); + break; + } + case 114: { + OrderCondParams = input.ReadString(); + break; + } + case 122: { + ListTime = input.ReadString(); + break; + } + case 130: { + DeListTime = input.ReadString(); + break; + } + case 136: { + DisplayMode = input.ReadInt32(); + break; + } + case 146: { + Icon = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + GroupId = input.ReadInt32(); + break; + } + case 32: { + Sort = input.ReadInt32(); + break; + } + case 40: { + CurrencyType = input.ReadInt32(); + break; + } + case 48: { + CurrencyItemId = input.ReadInt32(); + break; + } + case 56: { + CurrencyItemQty = input.ReadInt32(); + break; + } + case 64: { + Stock = input.ReadInt32(); + break; + } + case 72: { + RefreshType = input.ReadInt32(); + break; + } + case 82: { + Items = input.ReadString(); + break; + } + case 88: { + ListCondType = input.ReadInt32(); + break; + } + case 98: { + ListCondParams = input.ReadString(); + break; + } + case 104: { + OrderCondType = input.ReadInt32(); + break; + } + case 114: { + OrderCondParams = input.ReadString(); + break; + } + case 122: { + ListTime = input.ReadString(); + break; + } + case 130: { + DeListTime = input.ReadString(); + break; + } + case 136: { + DisplayMode = input.ReadInt32(); + break; + } + case 146: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MallPackage : pb::IMessage<table_MallPackage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MallPackage> _parser = new pb::MessageParser<table_MallPackage>(() => new table_MallPackage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MallPackage> 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.ClientTableReflection.Descriptor.MessageTypes[263]; } + } + + [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 table_MallPackage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallPackage(table_MallPackage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallPackage Clone() { + return new table_MallPackage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MallPackage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallPackage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MallPackage> list_ = new pbc::RepeatedField<global::Nova.Client.MallPackage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MallPackage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MallPackage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MallPackage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MallPackage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallPackagePage : pb::IMessage<MallPackagePage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallPackagePage> _parser = new pb::MessageParser<MallPackagePage>(() => new MallPackagePage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallPackagePage> 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.ClientTableReflection.Descriptor.MessageTypes[264]; } + } + + [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 MallPackagePage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackagePage(MallPackagePage other) : this() { + id_ = other.id_; + name_ = other.name_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallPackagePage Clone() { + return new MallPackagePage(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; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MallPackagePage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallPackagePage 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; + 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(); + 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); + } + 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); + } + 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); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallPackagePage 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; + } + _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; + } + } + } + #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; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MallPackagePage : pb::IMessage<table_MallPackagePage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MallPackagePage> _parser = new pb::MessageParser<table_MallPackagePage>(() => new table_MallPackagePage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MallPackagePage> 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.ClientTableReflection.Descriptor.MessageTypes[265]; } + } + + [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 table_MallPackagePage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallPackagePage(table_MallPackagePage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallPackagePage Clone() { + return new table_MallPackagePage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MallPackagePage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallPackagePage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MallPackagePage> list_ = new pbc::RepeatedField<global::Nova.Client.MallPackagePage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MallPackagePage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MallPackagePage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MallPackagePage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MallPackagePage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallShop : pb::IMessage<MallShop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallShop> _parser = new pb::MessageParser<MallShop>(() => new MallShop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallShop> 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.ClientTableReflection.Descriptor.MessageTypes[266]; } + } + + [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 MallShop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShop(MallShop other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + groupId_ = other.groupId_; + sort_ = other.sort_; + exchangeItemId_ = other.exchangeItemId_; + exchangeItemQty_ = other.exchangeItemQty_; + stock_ = other.stock_; + refreshType_ = other.refreshType_; + itemId_ = other.itemId_; + itemQty_ = other.itemQty_; + listCondType_ = other.listCondType_; + listCondParams_ = other.listCondParams_; + orderCondType_ = other.orderCondType_; + orderCondParams_ = other.orderCondParams_; + listTime_ = other.listTime_; + deListTime_ = other.deListTime_; + displayMode_ = other.displayMode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShop Clone() { + return new MallShop(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "GroupId" field.</summary> + public const int GroupIdFieldNumber = 4; + 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 "Sort" field.</summary> + public const int SortFieldNumber = 5; + 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 "ExchangeItemId" field.</summary> + public const int ExchangeItemIdFieldNumber = 6; + private int exchangeItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExchangeItemId { + get { return exchangeItemId_; } + set { + exchangeItemId_ = value; + } + } + + /// <summary>Field number for the "ExchangeItemQty" field.</summary> + public const int ExchangeItemQtyFieldNumber = 7; + private int exchangeItemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ExchangeItemQty { + get { return exchangeItemQty_; } + set { + exchangeItemQty_ = value; + } + } + + /// <summary>Field number for the "Stock" field.</summary> + public const int StockFieldNumber = 8; + private int stock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stock { + get { return stock_; } + set { + stock_ = value; + } + } + + /// <summary>Field number for the "RefreshType" field.</summary> + public const int RefreshTypeFieldNumber = 9; + private int refreshType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshType { + get { return refreshType_; } + set { + refreshType_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 10; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemQty" field.</summary> + public const int ItemQtyFieldNumber = 11; + private int itemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty { + get { return itemQty_; } + set { + itemQty_ = value; + } + } + + /// <summary>Field number for the "ListCondType" field.</summary> + public const int ListCondTypeFieldNumber = 12; + private int listCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ListCondType { + get { return listCondType_; } + set { + listCondType_ = value; + } + } + + /// <summary>Field number for the "ListCondParams" field.</summary> + public const int ListCondParamsFieldNumber = 13; + private string listCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ListCondParams { + get { return listCondParams_; } + set { + listCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "OrderCondType" field.</summary> + public const int OrderCondTypeFieldNumber = 14; + private int orderCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OrderCondType { + get { return orderCondType_; } + set { + orderCondType_ = value; + } + } + + /// <summary>Field number for the "OrderCondParams" field.</summary> + public const int OrderCondParamsFieldNumber = 15; + private string orderCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OrderCondParams { + get { return orderCondParams_; } + set { + orderCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ListTime" field.</summary> + public const int ListTimeFieldNumber = 16; + private string listTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ListTime { + get { return listTime_; } + set { + listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DeListTime" field.</summary> + public const int DeListTimeFieldNumber = 17; + private string deListTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeListTime { + get { return deListTime_; } + set { + deListTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DisplayMode" field.</summary> + public const int DisplayModeFieldNumber = 18; + private int displayMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DisplayMode { + get { return displayMode_; } + set { + displayMode_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MallShop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallShop 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 (Desc != other.Desc) return false; + if (GroupId != other.GroupId) return false; + if (Sort != other.Sort) return false; + if (ExchangeItemId != other.ExchangeItemId) return false; + if (ExchangeItemQty != other.ExchangeItemQty) return false; + if (Stock != other.Stock) return false; + if (RefreshType != other.RefreshType) return false; + if (ItemId != other.ItemId) return false; + if (ItemQty != other.ItemQty) return false; + if (ListCondType != other.ListCondType) return false; + if (ListCondParams != other.ListCondParams) return false; + if (OrderCondType != other.OrderCondType) return false; + if (OrderCondParams != other.OrderCondParams) return false; + if (ListTime != other.ListTime) return false; + if (DeListTime != other.DeListTime) return false; + if (DisplayMode != other.DisplayMode) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (ExchangeItemId != 0) hash ^= ExchangeItemId.GetHashCode(); + if (ExchangeItemQty != 0) hash ^= ExchangeItemQty.GetHashCode(); + if (Stock != 0) hash ^= Stock.GetHashCode(); + if (RefreshType != 0) hash ^= RefreshType.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemQty != 0) hash ^= ItemQty.GetHashCode(); + if (ListCondType != 0) hash ^= ListCondType.GetHashCode(); + if (ListCondParams.Length != 0) hash ^= ListCondParams.GetHashCode(); + if (OrderCondType != 0) hash ^= OrderCondType.GetHashCode(); + if (OrderCondParams.Length != 0) hash ^= OrderCondParams.GetHashCode(); + if (ListTime.Length != 0) hash ^= ListTime.GetHashCode(); + if (DeListTime.Length != 0) hash ^= DeListTime.GetHashCode(); + if (DisplayMode != 0) hash ^= DisplayMode.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (GroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(GroupId); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + if (ExchangeItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ExchangeItemId); + } + if (ExchangeItemQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(ExchangeItemQty); + } + if (Stock != 0) { + output.WriteRawTag(64); + output.WriteInt32(Stock); + } + if (RefreshType != 0) { + output.WriteRawTag(72); + output.WriteInt32(RefreshType); + } + if (ItemId != 0) { + output.WriteRawTag(80); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(88); + output.WriteInt32(ItemQty); + } + if (ListCondType != 0) { + output.WriteRawTag(96); + output.WriteInt32(ListCondType); + } + if (ListCondParams.Length != 0) { + output.WriteRawTag(106); + output.WriteString(ListCondParams); + } + if (OrderCondType != 0) { + output.WriteRawTag(112); + output.WriteInt32(OrderCondType); + } + if (OrderCondParams.Length != 0) { + output.WriteRawTag(122); + output.WriteString(OrderCondParams); + } + if (ListTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(ListTime); + } + if (DeListTime.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(DeListTime); + } + if (DisplayMode != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(DisplayMode); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (GroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(GroupId); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + if (ExchangeItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ExchangeItemId); + } + if (ExchangeItemQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(ExchangeItemQty); + } + if (Stock != 0) { + output.WriteRawTag(64); + output.WriteInt32(Stock); + } + if (RefreshType != 0) { + output.WriteRawTag(72); + output.WriteInt32(RefreshType); + } + if (ItemId != 0) { + output.WriteRawTag(80); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(88); + output.WriteInt32(ItemQty); + } + if (ListCondType != 0) { + output.WriteRawTag(96); + output.WriteInt32(ListCondType); + } + if (ListCondParams.Length != 0) { + output.WriteRawTag(106); + output.WriteString(ListCondParams); + } + if (OrderCondType != 0) { + output.WriteRawTag(112); + output.WriteInt32(OrderCondType); + } + if (OrderCondParams.Length != 0) { + output.WriteRawTag(122); + output.WriteString(OrderCondParams); + } + if (ListTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(ListTime); + } + if (DeListTime.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(DeListTime); + } + if (DisplayMode != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(DisplayMode); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (ExchangeItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExchangeItemId); + } + if (ExchangeItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExchangeItemQty); + } + if (Stock != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stock); + } + if (RefreshType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshType); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + } + if (ListCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ListCondType); + } + if (ListCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ListCondParams); + } + if (OrderCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OrderCondType); + } + if (OrderCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OrderCondParams); + } + if (ListTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ListTime); + } + if (DeListTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(DeListTime); + } + if (DisplayMode != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallShop other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.ExchangeItemId != 0) { + ExchangeItemId = other.ExchangeItemId; + } + if (other.ExchangeItemQty != 0) { + ExchangeItemQty = other.ExchangeItemQty; + } + if (other.Stock != 0) { + Stock = other.Stock; + } + if (other.RefreshType != 0) { + RefreshType = other.RefreshType; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemQty != 0) { + ItemQty = other.ItemQty; + } + if (other.ListCondType != 0) { + ListCondType = other.ListCondType; + } + if (other.ListCondParams.Length != 0) { + ListCondParams = other.ListCondParams; + } + if (other.OrderCondType != 0) { + OrderCondType = other.OrderCondType; + } + if (other.OrderCondParams.Length != 0) { + OrderCondParams = other.OrderCondParams; + } + if (other.ListTime.Length != 0) { + ListTime = other.ListTime; + } + if (other.DeListTime.Length != 0) { + DeListTime = other.DeListTime; + } + if (other.DisplayMode != 0) { + DisplayMode = other.DisplayMode; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + GroupId = input.ReadInt32(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + case 48: { + ExchangeItemId = input.ReadInt32(); + break; + } + case 56: { + ExchangeItemQty = input.ReadInt32(); + break; + } + case 64: { + Stock = input.ReadInt32(); + break; + } + case 72: { + RefreshType = input.ReadInt32(); + break; + } + case 80: { + ItemId = input.ReadInt32(); + break; + } + case 88: { + ItemQty = input.ReadInt32(); + break; + } + case 96: { + ListCondType = input.ReadInt32(); + break; + } + case 106: { + ListCondParams = input.ReadString(); + break; + } + case 112: { + OrderCondType = input.ReadInt32(); + break; + } + case 122: { + OrderCondParams = input.ReadString(); + break; + } + case 130: { + ListTime = input.ReadString(); + break; + } + case 138: { + DeListTime = input.ReadString(); + break; + } + case 144: { + DisplayMode = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + GroupId = input.ReadInt32(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + case 48: { + ExchangeItemId = input.ReadInt32(); + break; + } + case 56: { + ExchangeItemQty = input.ReadInt32(); + break; + } + case 64: { + Stock = input.ReadInt32(); + break; + } + case 72: { + RefreshType = input.ReadInt32(); + break; + } + case 80: { + ItemId = input.ReadInt32(); + break; + } + case 88: { + ItemQty = input.ReadInt32(); + break; + } + case 96: { + ListCondType = input.ReadInt32(); + break; + } + case 106: { + ListCondParams = input.ReadString(); + break; + } + case 112: { + OrderCondType = input.ReadInt32(); + break; + } + case 122: { + OrderCondParams = input.ReadString(); + break; + } + case 130: { + ListTime = input.ReadString(); + break; + } + case 138: { + DeListTime = input.ReadString(); + break; + } + case 144: { + DisplayMode = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MallShop : pb::IMessage<table_MallShop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MallShop> _parser = new pb::MessageParser<table_MallShop>(() => new table_MallShop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MallShop> 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.ClientTableReflection.Descriptor.MessageTypes[267]; } + } + + [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 table_MallShop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallShop(table_MallShop other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallShop Clone() { + return new table_MallShop(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MallShop> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallShop.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MallShop> list_ = new pbc::RepeatedField<global::Nova.Client.MallShop>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MallShop> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MallShop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MallShop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MallShop other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MallShopPage : pb::IMessage<MallShopPage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MallShopPage> _parser = new pb::MessageParser<MallShopPage>(() => new MallShopPage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MallShopPage> 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.ClientTableReflection.Descriptor.MessageTypes[268]; } + } + + [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 MallShopPage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShopPage(MallShopPage other) : this() { + id_ = other.id_; + sort_ = other.sort_; + name_ = other.name_; + refreshTimeType_ = other.refreshTimeType_; + shopCoin_ = other.shopCoin_; + listTime_ = other.listTime_; + deListTime_ = other.deListTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MallShopPage Clone() { + return new MallShopPage(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 "Sort" field.</summary> + public const int SortFieldNumber = 2; + 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 "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 "RefreshTimeType" field.</summary> + public const int RefreshTimeTypeFieldNumber = 4; + private int refreshTimeType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshTimeType { + get { return refreshTimeType_; } + set { + refreshTimeType_ = value; + } + } + + /// <summary>Field number for the "ShopCoin" field.</summary> + public const int ShopCoinFieldNumber = 5; + private int shopCoin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShopCoin { + get { return shopCoin_; } + set { + shopCoin_ = value; + } + } + + /// <summary>Field number for the "ListTime" field.</summary> + public const int ListTimeFieldNumber = 6; + private string listTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ListTime { + get { return listTime_; } + set { + listTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DeListTime" field.</summary> + public const int DeListTimeFieldNumber = 7; + private string deListTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeListTime { + get { return deListTime_; } + set { + deListTime_ = 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 MallShopPage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MallShopPage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Sort != other.Sort) return false; + if (Name != other.Name) return false; + if (RefreshTimeType != other.RefreshTimeType) return false; + if (ShopCoin != other.ShopCoin) return false; + if (ListTime != other.ListTime) return false; + if (DeListTime != other.DeListTime) 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 (Sort != 0) hash ^= Sort.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (RefreshTimeType != 0) hash ^= RefreshTimeType.GetHashCode(); + if (ShopCoin != 0) hash ^= ShopCoin.GetHashCode(); + if (ListTime.Length != 0) hash ^= ListTime.GetHashCode(); + if (DeListTime.Length != 0) hash ^= DeListTime.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 (Sort != 0) { + output.WriteRawTag(16); + output.WriteInt32(Sort); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (RefreshTimeType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RefreshTimeType); + } + if (ShopCoin != 0) { + output.WriteRawTag(40); + output.WriteInt32(ShopCoin); + } + if (ListTime.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ListTime); + } + if (DeListTime.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DeListTime); + } + 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 (Sort != 0) { + output.WriteRawTag(16); + output.WriteInt32(Sort); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (RefreshTimeType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RefreshTimeType); + } + if (ShopCoin != 0) { + output.WriteRawTag(40); + output.WriteInt32(ShopCoin); + } + if (ListTime.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ListTime); + } + if (DeListTime.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DeListTime); + } + 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 (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (RefreshTimeType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTimeType); + } + if (ShopCoin != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopCoin); + } + if (ListTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ListTime); + } + if (DeListTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DeListTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MallShopPage other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.RefreshTimeType != 0) { + RefreshTimeType = other.RefreshTimeType; + } + if (other.ShopCoin != 0) { + ShopCoin = other.ShopCoin; + } + if (other.ListTime.Length != 0) { + ListTime = other.ListTime; + } + if (other.DeListTime.Length != 0) { + DeListTime = other.DeListTime; + } + _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: { + Sort = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + RefreshTimeType = input.ReadInt32(); + break; + } + case 40: { + ShopCoin = input.ReadInt32(); + break; + } + case 50: { + ListTime = input.ReadString(); + break; + } + case 58: { + DeListTime = 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: { + Sort = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + RefreshTimeType = input.ReadInt32(); + break; + } + case 40: { + ShopCoin = input.ReadInt32(); + break; + } + case 50: { + ListTime = input.ReadString(); + break; + } + case 58: { + DeListTime = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MallShopPage : pb::IMessage<table_MallShopPage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MallShopPage> _parser = new pb::MessageParser<table_MallShopPage>(() => new table_MallShopPage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MallShopPage> 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.ClientTableReflection.Descriptor.MessageTypes[269]; } + } + + [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 table_MallShopPage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallShopPage(table_MallShopPage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MallShopPage Clone() { + return new table_MallShopPage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MallShopPage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MallShopPage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MallShopPage> list_ = new pbc::RepeatedField<global::Nova.Client.MallShopPage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MallShopPage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MallShopPage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MallShopPage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MallShopPage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Monster : pb::IMessage<Monster> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Monster> _parser = new pb::MessageParser<Monster>(() => new Monster()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Monster> 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.ClientTableReflection.Descriptor.MessageTypes[270]; } + } + + [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 Monster() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Monster(Monster other) : this() { + id_ = other.id_; + name_ = other.name_; + formalNameId_ = other.formalNameId_; + epicLv_ = other.epicLv_; + monsterPosition_ = other.monsterPosition_; + bloodType_ = other.bloodType_; + force_ = other.force_; + fCId_ = other.fCId_; + fAId_ = other.fAId_; + movType_ = other.movType_; + runSpd_ = other.runSpd_; + transSpdScale_ = other.transSpdScale_; + walkSpd_ = other.walkSpd_; + movAcc_ = other.movAcc_; + visionRng_ = other.visionRng_; + visionDeg_ = other.visionDeg_; + hearRng_ = other.hearRng_; + refRng_ = other.refRng_; + actRng_ = other.actRng_; + disActRng_ = other.disActRng_; + searchRng_ = other.searchRng_; + rotSpd_ = other.rotSpd_; + rotSpdInSkill_ = other.rotSpdInSkill_; + templete_ = other.templete_; + buffIds_ = other.buffIds_.Clone(); + subType_ = other.subType_; + faction_ = other.faction_; + trapTagIds_ = other.trapTagIds_.Clone(); + supCharge_ = other.supCharge_; + isShowRng_ = other.isShowRng_; + weight_ = other.weight_; + toughnessBrokenTime_ = other.toughnessBrokenTime_; + tag1_ = other.tag1_; + tag2_ = other.tag2_; + tag3_ = other.tag3_; + tag4_ = other.tag4_; + tag5_ = other.tag5_; + attackHintType_ = other.attackHintType_; + blockPriority_ = other.blockPriority_; + wayPointShift_ = other.wayPointShift_; + monsterTeamId_ = other.monsterTeamId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Monster Clone() { + return new Monster(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 "FormalNameId" field.</summary> + public const int FormalNameIdFieldNumber = 3; + private int formalNameId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FormalNameId { + get { return formalNameId_; } + set { + formalNameId_ = value; + } + } + + /// <summary>Field number for the "EpicLv" field.</summary> + public const int EpicLvFieldNumber = 4; + private int epicLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EpicLv { + get { return epicLv_; } + set { + epicLv_ = value; + } + } + + /// <summary>Field number for the "MonsterPosition" field.</summary> + public const int MonsterPositionFieldNumber = 5; + private int monsterPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterPosition { + get { return monsterPosition_; } + set { + monsterPosition_ = value; + } + } + + /// <summary>Field number for the "BloodType" field.</summary> + public const int BloodTypeFieldNumber = 6; + private int bloodType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BloodType { + get { return bloodType_; } + set { + bloodType_ = value; + } + } + + /// <summary>Field number for the "Force" field.</summary> + public const int ForceFieldNumber = 7; + private string force_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Force { + get { return force_; } + set { + force_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCId" field.</summary> + public const int FCIdFieldNumber = 8; + private int fCId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FCId { + get { return fCId_; } + set { + fCId_ = value; + } + } + + /// <summary>Field number for the "FAId" field.</summary> + public const int FAIdFieldNumber = 9; + private int fAId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FAId { + get { return fAId_; } + set { + fAId_ = value; + } + } + + /// <summary>Field number for the "MovType" field.</summary> + public const int MovTypeFieldNumber = 10; + private int movType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovType { + get { return movType_; } + set { + movType_ = value; + } + } + + /// <summary>Field number for the "RunSpd" field.</summary> + public const int RunSpdFieldNumber = 11; + private int runSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RunSpd { + get { return runSpd_; } + set { + runSpd_ = value; + } + } + + /// <summary>Field number for the "TransSpdScale" field.</summary> + public const int TransSpdScaleFieldNumber = 12; + private int transSpdScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TransSpdScale { + get { return transSpdScale_; } + set { + transSpdScale_ = value; + } + } + + /// <summary>Field number for the "WalkSpd" field.</summary> + public const int WalkSpdFieldNumber = 13; + private int walkSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WalkSpd { + get { return walkSpd_; } + set { + walkSpd_ = value; + } + } + + /// <summary>Field number for the "MovAcc" field.</summary> + public const int MovAccFieldNumber = 14; + private int movAcc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovAcc { + get { return movAcc_; } + set { + movAcc_ = value; + } + } + + /// <summary>Field number for the "VisionRng" field.</summary> + public const int VisionRngFieldNumber = 15; + private int visionRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionRng { + get { return visionRng_; } + set { + visionRng_ = value; + } + } + + /// <summary>Field number for the "VisionDeg" field.</summary> + public const int VisionDegFieldNumber = 16; + private int visionDeg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionDeg { + get { return visionDeg_; } + set { + visionDeg_ = value; + } + } + + /// <summary>Field number for the "HearRng" field.</summary> + public const int HearRngFieldNumber = 17; + private int hearRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HearRng { + get { return hearRng_; } + set { + hearRng_ = value; + } + } + + /// <summary>Field number for the "RefRng" field.</summary> + public const int RefRngFieldNumber = 18; + private int refRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefRng { + get { return refRng_; } + set { + refRng_ = value; + } + } + + /// <summary>Field number for the "ActRng" field.</summary> + public const int ActRngFieldNumber = 19; + private int actRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActRng { + get { return actRng_; } + set { + actRng_ = value; + } + } + + /// <summary>Field number for the "DisActRng" field.</summary> + public const int DisActRngFieldNumber = 20; + private int disActRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DisActRng { + get { return disActRng_; } + set { + disActRng_ = value; + } + } + + /// <summary>Field number for the "SearchRng" field.</summary> + public const int SearchRngFieldNumber = 21; + private int searchRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SearchRng { + get { return searchRng_; } + set { + searchRng_ = value; + } + } + + /// <summary>Field number for the "RotSpd" field.</summary> + public const int RotSpdFieldNumber = 22; + private int rotSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RotSpd { + get { return rotSpd_; } + set { + rotSpd_ = value; + } + } + + /// <summary>Field number for the "RotSpdInSkill" field.</summary> + public const int RotSpdInSkillFieldNumber = 23; + private int rotSpdInSkill_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RotSpdInSkill { + get { return rotSpdInSkill_; } + set { + rotSpdInSkill_ = value; + } + } + + /// <summary>Field number for the "Templete" field.</summary> + public const int TempleteFieldNumber = 24; + private int templete_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Templete { + get { return templete_; } + set { + templete_ = value; + } + } + + /// <summary>Field number for the "BuffIds" field.</summary> + public const int BuffIdsFieldNumber = 25; + private static readonly pb::FieldCodec<int> _repeated_buffIds_codec + = pb::FieldCodec.ForInt32(202); + private readonly pbc::RepeatedField<int> buffIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BuffIds { + get { return buffIds_; } + } + + /// <summary>Field number for the "SubType" field.</summary> + public const int SubTypeFieldNumber = 26; + private int subType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SubType { + get { return subType_; } + set { + subType_ = value; + } + } + + /// <summary>Field number for the "Faction" field.</summary> + public const int FactionFieldNumber = 27; + private int faction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Faction { + get { return faction_; } + set { + faction_ = value; + } + } + + /// <summary>Field number for the "TrapTagIds" field.</summary> + public const int TrapTagIdsFieldNumber = 28; + private static readonly pb::FieldCodec<int> _repeated_trapTagIds_codec + = pb::FieldCodec.ForInt32(226); + private readonly pbc::RepeatedField<int> trapTagIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TrapTagIds { + get { return trapTagIds_; } + } + + /// <summary>Field number for the "SupCharge" field.</summary> + public const int SupChargeFieldNumber = 29; + private int supCharge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SupCharge { + get { return supCharge_; } + set { + supCharge_ = value; + } + } + + /// <summary>Field number for the "IsShowRng" field.</summary> + public const int IsShowRngFieldNumber = 30; + private bool isShowRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsShowRng { + get { return isShowRng_; } + set { + isShowRng_ = value; + } + } + + /// <summary>Field number for the "Weight" field.</summary> + public const int WeightFieldNumber = 31; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + /// <summary>Field number for the "ToughnessBrokenTime" field.</summary> + public const int ToughnessBrokenTimeFieldNumber = 32; + private int toughnessBrokenTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToughnessBrokenTime { + get { return toughnessBrokenTime_; } + set { + toughnessBrokenTime_ = value; + } + } + + /// <summary>Field number for the "Tag1" field.</summary> + public const int Tag1FieldNumber = 33; + private string tag1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag1 { + get { return tag1_; } + set { + tag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag2" field.</summary> + public const int Tag2FieldNumber = 34; + private string tag2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag2 { + get { return tag2_; } + set { + tag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag3" field.</summary> + public const int Tag3FieldNumber = 35; + private string tag3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag3 { + get { return tag3_; } + set { + tag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag4" field.</summary> + public const int Tag4FieldNumber = 36; + private string tag4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag4 { + get { return tag4_; } + set { + tag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag5" field.</summary> + public const int Tag5FieldNumber = 37; + private string tag5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag5 { + get { return tag5_; } + set { + tag5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AttackHintType" field.</summary> + public const int AttackHintTypeFieldNumber = 38; + private int attackHintType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttackHintType { + get { return attackHintType_; } + set { + attackHintType_ = value; + } + } + + /// <summary>Field number for the "BlockPriority" field.</summary> + public const int BlockPriorityFieldNumber = 39; + private int blockPriority_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BlockPriority { + get { return blockPriority_; } + set { + blockPriority_ = value; + } + } + + /// <summary>Field number for the "WayPointShift" field.</summary> + public const int WayPointShiftFieldNumber = 40; + private int wayPointShift_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WayPointShift { + get { return wayPointShift_; } + set { + wayPointShift_ = value; + } + } + + /// <summary>Field number for the "MonsterTeamId" field.</summary> + public const int MonsterTeamIdFieldNumber = 41; + private int monsterTeamId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterTeamId { + get { return monsterTeamId_; } + set { + monsterTeamId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Monster); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Monster 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 (FormalNameId != other.FormalNameId) return false; + if (EpicLv != other.EpicLv) return false; + if (MonsterPosition != other.MonsterPosition) return false; + if (BloodType != other.BloodType) return false; + if (Force != other.Force) return false; + if (FCId != other.FCId) return false; + if (FAId != other.FAId) return false; + if (MovType != other.MovType) return false; + if (RunSpd != other.RunSpd) return false; + if (TransSpdScale != other.TransSpdScale) return false; + if (WalkSpd != other.WalkSpd) return false; + if (MovAcc != other.MovAcc) return false; + if (VisionRng != other.VisionRng) return false; + if (VisionDeg != other.VisionDeg) return false; + if (HearRng != other.HearRng) return false; + if (RefRng != other.RefRng) return false; + if (ActRng != other.ActRng) return false; + if (DisActRng != other.DisActRng) return false; + if (SearchRng != other.SearchRng) return false; + if (RotSpd != other.RotSpd) return false; + if (RotSpdInSkill != other.RotSpdInSkill) return false; + if (Templete != other.Templete) return false; + if(!buffIds_.Equals(other.buffIds_)) return false; + if (SubType != other.SubType) return false; + if (Faction != other.Faction) return false; + if(!trapTagIds_.Equals(other.trapTagIds_)) return false; + if (SupCharge != other.SupCharge) return false; + if (IsShowRng != other.IsShowRng) return false; + if (Weight != other.Weight) return false; + if (ToughnessBrokenTime != other.ToughnessBrokenTime) return false; + if (Tag1 != other.Tag1) return false; + if (Tag2 != other.Tag2) return false; + if (Tag3 != other.Tag3) return false; + if (Tag4 != other.Tag4) return false; + if (Tag5 != other.Tag5) return false; + if (AttackHintType != other.AttackHintType) return false; + if (BlockPriority != other.BlockPriority) return false; + if (WayPointShift != other.WayPointShift) return false; + if (MonsterTeamId != other.MonsterTeamId) 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 (FormalNameId != 0) hash ^= FormalNameId.GetHashCode(); + if (EpicLv != 0) hash ^= EpicLv.GetHashCode(); + if (MonsterPosition != 0) hash ^= MonsterPosition.GetHashCode(); + if (BloodType != 0) hash ^= BloodType.GetHashCode(); + if (Force.Length != 0) hash ^= Force.GetHashCode(); + if (FCId != 0) hash ^= FCId.GetHashCode(); + if (FAId != 0) hash ^= FAId.GetHashCode(); + if (MovType != 0) hash ^= MovType.GetHashCode(); + if (RunSpd != 0) hash ^= RunSpd.GetHashCode(); + if (TransSpdScale != 0) hash ^= TransSpdScale.GetHashCode(); + if (WalkSpd != 0) hash ^= WalkSpd.GetHashCode(); + if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); + if (VisionRng != 0) hash ^= VisionRng.GetHashCode(); + if (VisionDeg != 0) hash ^= VisionDeg.GetHashCode(); + if (HearRng != 0) hash ^= HearRng.GetHashCode(); + if (RefRng != 0) hash ^= RefRng.GetHashCode(); + if (ActRng != 0) hash ^= ActRng.GetHashCode(); + if (DisActRng != 0) hash ^= DisActRng.GetHashCode(); + if (SearchRng != 0) hash ^= SearchRng.GetHashCode(); + if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); + if (RotSpdInSkill != 0) hash ^= RotSpdInSkill.GetHashCode(); + if (Templete != 0) hash ^= Templete.GetHashCode(); + hash ^= buffIds_.GetHashCode(); + if (SubType != 0) hash ^= SubType.GetHashCode(); + if (Faction != 0) hash ^= Faction.GetHashCode(); + hash ^= trapTagIds_.GetHashCode(); + if (SupCharge != 0) hash ^= SupCharge.GetHashCode(); + if (IsShowRng != false) hash ^= IsShowRng.GetHashCode(); + if (Weight != 0) hash ^= Weight.GetHashCode(); + if (ToughnessBrokenTime != 0) hash ^= ToughnessBrokenTime.GetHashCode(); + if (Tag1.Length != 0) hash ^= Tag1.GetHashCode(); + if (Tag2.Length != 0) hash ^= Tag2.GetHashCode(); + if (Tag3.Length != 0) hash ^= Tag3.GetHashCode(); + if (Tag4.Length != 0) hash ^= Tag4.GetHashCode(); + if (Tag5.Length != 0) hash ^= Tag5.GetHashCode(); + if (AttackHintType != 0) hash ^= AttackHintType.GetHashCode(); + if (BlockPriority != 0) hash ^= BlockPriority.GetHashCode(); + if (WayPointShift != 0) hash ^= WayPointShift.GetHashCode(); + if (MonsterTeamId != 0) hash ^= MonsterTeamId.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 (FormalNameId != 0) { + output.WriteRawTag(24); + output.WriteInt32(FormalNameId); + } + if (EpicLv != 0) { + output.WriteRawTag(32); + output.WriteInt32(EpicLv); + } + if (MonsterPosition != 0) { + output.WriteRawTag(40); + output.WriteInt32(MonsterPosition); + } + if (BloodType != 0) { + output.WriteRawTag(48); + output.WriteInt32(BloodType); + } + if (Force.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Force); + } + if (FCId != 0) { + output.WriteRawTag(64); + output.WriteInt32(FCId); + } + if (FAId != 0) { + output.WriteRawTag(72); + output.WriteInt32(FAId); + } + if (MovType != 0) { + output.WriteRawTag(80); + output.WriteInt32(MovType); + } + if (RunSpd != 0) { + output.WriteRawTag(88); + output.WriteInt32(RunSpd); + } + if (TransSpdScale != 0) { + output.WriteRawTag(96); + output.WriteInt32(TransSpdScale); + } + if (WalkSpd != 0) { + output.WriteRawTag(104); + output.WriteInt32(WalkSpd); + } + if (MovAcc != 0) { + output.WriteRawTag(112); + output.WriteInt32(MovAcc); + } + if (VisionRng != 0) { + output.WriteRawTag(120); + output.WriteInt32(VisionRng); + } + if (VisionDeg != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(VisionDeg); + } + if (HearRng != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(HearRng); + } + if (RefRng != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(RefRng); + } + if (ActRng != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ActRng); + } + if (DisActRng != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DisActRng); + } + if (SearchRng != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(SearchRng); + } + if (RotSpd != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(RotSpd); + } + if (RotSpdInSkill != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(RotSpdInSkill); + } + if (Templete != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(Templete); + } + buffIds_.WriteTo(output, _repeated_buffIds_codec); + if (SubType != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(SubType); + } + if (Faction != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(Faction); + } + trapTagIds_.WriteTo(output, _repeated_trapTagIds_codec); + if (SupCharge != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(SupCharge); + } + if (IsShowRng != false) { + output.WriteRawTag(240, 1); + output.WriteBool(IsShowRng); + } + if (Weight != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(Weight); + } + if (ToughnessBrokenTime != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(ToughnessBrokenTime); + } + if (Tag1.Length != 0) { + output.WriteRawTag(138, 2); + output.WriteString(Tag1); + } + if (Tag2.Length != 0) { + output.WriteRawTag(146, 2); + output.WriteString(Tag2); + } + if (Tag3.Length != 0) { + output.WriteRawTag(154, 2); + output.WriteString(Tag3); + } + if (Tag4.Length != 0) { + output.WriteRawTag(162, 2); + output.WriteString(Tag4); + } + if (Tag5.Length != 0) { + output.WriteRawTag(170, 2); + output.WriteString(Tag5); + } + if (AttackHintType != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(AttackHintType); + } + if (BlockPriority != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(BlockPriority); + } + if (WayPointShift != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(WayPointShift); + } + if (MonsterTeamId != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(MonsterTeamId); + } + 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 (FormalNameId != 0) { + output.WriteRawTag(24); + output.WriteInt32(FormalNameId); + } + if (EpicLv != 0) { + output.WriteRawTag(32); + output.WriteInt32(EpicLv); + } + if (MonsterPosition != 0) { + output.WriteRawTag(40); + output.WriteInt32(MonsterPosition); + } + if (BloodType != 0) { + output.WriteRawTag(48); + output.WriteInt32(BloodType); + } + if (Force.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Force); + } + if (FCId != 0) { + output.WriteRawTag(64); + output.WriteInt32(FCId); + } + if (FAId != 0) { + output.WriteRawTag(72); + output.WriteInt32(FAId); + } + if (MovType != 0) { + output.WriteRawTag(80); + output.WriteInt32(MovType); + } + if (RunSpd != 0) { + output.WriteRawTag(88); + output.WriteInt32(RunSpd); + } + if (TransSpdScale != 0) { + output.WriteRawTag(96); + output.WriteInt32(TransSpdScale); + } + if (WalkSpd != 0) { + output.WriteRawTag(104); + output.WriteInt32(WalkSpd); + } + if (MovAcc != 0) { + output.WriteRawTag(112); + output.WriteInt32(MovAcc); + } + if (VisionRng != 0) { + output.WriteRawTag(120); + output.WriteInt32(VisionRng); + } + if (VisionDeg != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(VisionDeg); + } + if (HearRng != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(HearRng); + } + if (RefRng != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(RefRng); + } + if (ActRng != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ActRng); + } + if (DisActRng != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DisActRng); + } + if (SearchRng != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(SearchRng); + } + if (RotSpd != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(RotSpd); + } + if (RotSpdInSkill != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(RotSpdInSkill); + } + if (Templete != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(Templete); + } + buffIds_.WriteTo(ref output, _repeated_buffIds_codec); + if (SubType != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(SubType); + } + if (Faction != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(Faction); + } + trapTagIds_.WriteTo(ref output, _repeated_trapTagIds_codec); + if (SupCharge != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(SupCharge); + } + if (IsShowRng != false) { + output.WriteRawTag(240, 1); + output.WriteBool(IsShowRng); + } + if (Weight != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(Weight); + } + if (ToughnessBrokenTime != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(ToughnessBrokenTime); + } + if (Tag1.Length != 0) { + output.WriteRawTag(138, 2); + output.WriteString(Tag1); + } + if (Tag2.Length != 0) { + output.WriteRawTag(146, 2); + output.WriteString(Tag2); + } + if (Tag3.Length != 0) { + output.WriteRawTag(154, 2); + output.WriteString(Tag3); + } + if (Tag4.Length != 0) { + output.WriteRawTag(162, 2); + output.WriteString(Tag4); + } + if (Tag5.Length != 0) { + output.WriteRawTag(170, 2); + output.WriteString(Tag5); + } + if (AttackHintType != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(AttackHintType); + } + if (BlockPriority != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(BlockPriority); + } + if (WayPointShift != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(WayPointShift); + } + if (MonsterTeamId != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(MonsterTeamId); + } + 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 (FormalNameId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FormalNameId); + } + if (EpicLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EpicLv); + } + if (MonsterPosition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterPosition); + } + if (BloodType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BloodType); + } + if (Force.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Force); + } + if (FCId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FCId); + } + if (FAId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FAId); + } + if (MovType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovType); + } + if (RunSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunSpd); + } + if (TransSpdScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TransSpdScale); + } + if (WalkSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkSpd); + } + if (MovAcc != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); + } + if (VisionRng != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(VisionRng); + } + if (VisionDeg != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(VisionDeg); + } + if (HearRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HearRng); + } + if (RefRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RefRng); + } + if (ActRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ActRng); + } + if (DisActRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisActRng); + } + if (SearchRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SearchRng); + } + if (RotSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); + } + if (RotSpdInSkill != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpdInSkill); + } + if (Templete != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Templete); + } + size += buffIds_.CalculateSize(_repeated_buffIds_codec); + if (SubType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SubType); + } + if (Faction != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Faction); + } + size += trapTagIds_.CalculateSize(_repeated_trapTagIds_codec); + if (SupCharge != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SupCharge); + } + if (IsShowRng != false) { + size += 2 + 1; + } + if (Weight != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + if (ToughnessBrokenTime != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessBrokenTime); + } + if (Tag1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag1); + } + if (Tag2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag2); + } + if (Tag3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag3); + } + if (Tag4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag4); + } + if (Tag5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag5); + } + if (AttackHintType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AttackHintType); + } + if (BlockPriority != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(BlockPriority); + } + if (WayPointShift != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WayPointShift); + } + if (MonsterTeamId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MonsterTeamId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Monster other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.FormalNameId != 0) { + FormalNameId = other.FormalNameId; + } + if (other.EpicLv != 0) { + EpicLv = other.EpicLv; + } + if (other.MonsterPosition != 0) { + MonsterPosition = other.MonsterPosition; + } + if (other.BloodType != 0) { + BloodType = other.BloodType; + } + if (other.Force.Length != 0) { + Force = other.Force; + } + if (other.FCId != 0) { + FCId = other.FCId; + } + if (other.FAId != 0) { + FAId = other.FAId; + } + if (other.MovType != 0) { + MovType = other.MovType; + } + if (other.RunSpd != 0) { + RunSpd = other.RunSpd; + } + if (other.TransSpdScale != 0) { + TransSpdScale = other.TransSpdScale; + } + if (other.WalkSpd != 0) { + WalkSpd = other.WalkSpd; + } + if (other.MovAcc != 0) { + MovAcc = other.MovAcc; + } + if (other.VisionRng != 0) { + VisionRng = other.VisionRng; + } + if (other.VisionDeg != 0) { + VisionDeg = other.VisionDeg; + } + if (other.HearRng != 0) { + HearRng = other.HearRng; + } + if (other.RefRng != 0) { + RefRng = other.RefRng; + } + if (other.ActRng != 0) { + ActRng = other.ActRng; + } + if (other.DisActRng != 0) { + DisActRng = other.DisActRng; + } + if (other.SearchRng != 0) { + SearchRng = other.SearchRng; + } + if (other.RotSpd != 0) { + RotSpd = other.RotSpd; + } + if (other.RotSpdInSkill != 0) { + RotSpdInSkill = other.RotSpdInSkill; + } + if (other.Templete != 0) { + Templete = other.Templete; + } + buffIds_.Add(other.buffIds_); + if (other.SubType != 0) { + SubType = other.SubType; + } + if (other.Faction != 0) { + Faction = other.Faction; + } + trapTagIds_.Add(other.trapTagIds_); + if (other.SupCharge != 0) { + SupCharge = other.SupCharge; + } + if (other.IsShowRng != false) { + IsShowRng = other.IsShowRng; + } + if (other.Weight != 0) { + Weight = other.Weight; + } + if (other.ToughnessBrokenTime != 0) { + ToughnessBrokenTime = other.ToughnessBrokenTime; + } + if (other.Tag1.Length != 0) { + Tag1 = other.Tag1; + } + if (other.Tag2.Length != 0) { + Tag2 = other.Tag2; + } + if (other.Tag3.Length != 0) { + Tag3 = other.Tag3; + } + if (other.Tag4.Length != 0) { + Tag4 = other.Tag4; + } + if (other.Tag5.Length != 0) { + Tag5 = other.Tag5; + } + if (other.AttackHintType != 0) { + AttackHintType = other.AttackHintType; + } + if (other.BlockPriority != 0) { + BlockPriority = other.BlockPriority; + } + if (other.WayPointShift != 0) { + WayPointShift = other.WayPointShift; + } + if (other.MonsterTeamId != 0) { + MonsterTeamId = other.MonsterTeamId; + } + _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: { + FormalNameId = input.ReadInt32(); + break; + } + case 32: { + EpicLv = input.ReadInt32(); + break; + } + case 40: { + MonsterPosition = input.ReadInt32(); + break; + } + case 48: { + BloodType = input.ReadInt32(); + break; + } + case 58: { + Force = input.ReadString(); + break; + } + case 64: { + FCId = input.ReadInt32(); + break; + } + case 72: { + FAId = input.ReadInt32(); + break; + } + case 80: { + MovType = input.ReadInt32(); + break; + } + case 88: { + RunSpd = input.ReadInt32(); + break; + } + case 96: { + TransSpdScale = input.ReadInt32(); + break; + } + case 104: { + WalkSpd = input.ReadInt32(); + break; + } + case 112: { + MovAcc = input.ReadInt32(); + break; + } + case 120: { + VisionRng = input.ReadInt32(); + break; + } + case 128: { + VisionDeg = input.ReadInt32(); + break; + } + case 136: { + HearRng = input.ReadInt32(); + break; + } + case 144: { + RefRng = input.ReadInt32(); + break; + } + case 152: { + ActRng = input.ReadInt32(); + break; + } + case 160: { + DisActRng = input.ReadInt32(); + break; + } + case 168: { + SearchRng = input.ReadInt32(); + break; + } + case 176: { + RotSpd = input.ReadInt32(); + break; + } + case 184: { + RotSpdInSkill = input.ReadInt32(); + break; + } + case 192: { + Templete = input.ReadInt32(); + break; + } + case 202: + case 200: { + buffIds_.AddEntriesFrom(input, _repeated_buffIds_codec); + break; + } + case 208: { + SubType = input.ReadInt32(); + break; + } + case 216: { + Faction = input.ReadInt32(); + break; + } + case 226: + case 224: { + trapTagIds_.AddEntriesFrom(input, _repeated_trapTagIds_codec); + break; + } + case 232: { + SupCharge = input.ReadInt32(); + break; + } + case 240: { + IsShowRng = input.ReadBool(); + break; + } + case 248: { + Weight = input.ReadInt32(); + break; + } + case 256: { + ToughnessBrokenTime = input.ReadInt32(); + break; + } + case 266: { + Tag1 = input.ReadString(); + break; + } + case 274: { + Tag2 = input.ReadString(); + break; + } + case 282: { + Tag3 = input.ReadString(); + break; + } + case 290: { + Tag4 = input.ReadString(); + break; + } + case 298: { + Tag5 = input.ReadString(); + break; + } + case 304: { + AttackHintType = input.ReadInt32(); + break; + } + case 312: { + BlockPriority = input.ReadInt32(); + break; + } + case 320: { + WayPointShift = input.ReadInt32(); + break; + } + case 328: { + MonsterTeamId = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + FormalNameId = input.ReadInt32(); + break; + } + case 32: { + EpicLv = input.ReadInt32(); + break; + } + case 40: { + MonsterPosition = input.ReadInt32(); + break; + } + case 48: { + BloodType = input.ReadInt32(); + break; + } + case 58: { + Force = input.ReadString(); + break; + } + case 64: { + FCId = input.ReadInt32(); + break; + } + case 72: { + FAId = input.ReadInt32(); + break; + } + case 80: { + MovType = input.ReadInt32(); + break; + } + case 88: { + RunSpd = input.ReadInt32(); + break; + } + case 96: { + TransSpdScale = input.ReadInt32(); + break; + } + case 104: { + WalkSpd = input.ReadInt32(); + break; + } + case 112: { + MovAcc = input.ReadInt32(); + break; + } + case 120: { + VisionRng = input.ReadInt32(); + break; + } + case 128: { + VisionDeg = input.ReadInt32(); + break; + } + case 136: { + HearRng = input.ReadInt32(); + break; + } + case 144: { + RefRng = input.ReadInt32(); + break; + } + case 152: { + ActRng = input.ReadInt32(); + break; + } + case 160: { + DisActRng = input.ReadInt32(); + break; + } + case 168: { + SearchRng = input.ReadInt32(); + break; + } + case 176: { + RotSpd = input.ReadInt32(); + break; + } + case 184: { + RotSpdInSkill = input.ReadInt32(); + break; + } + case 192: { + Templete = input.ReadInt32(); + break; + } + case 202: + case 200: { + buffIds_.AddEntriesFrom(ref input, _repeated_buffIds_codec); + break; + } + case 208: { + SubType = input.ReadInt32(); + break; + } + case 216: { + Faction = input.ReadInt32(); + break; + } + case 226: + case 224: { + trapTagIds_.AddEntriesFrom(ref input, _repeated_trapTagIds_codec); + break; + } + case 232: { + SupCharge = input.ReadInt32(); + break; + } + case 240: { + IsShowRng = input.ReadBool(); + break; + } + case 248: { + Weight = input.ReadInt32(); + break; + } + case 256: { + ToughnessBrokenTime = input.ReadInt32(); + break; + } + case 266: { + Tag1 = input.ReadString(); + break; + } + case 274: { + Tag2 = input.ReadString(); + break; + } + case 282: { + Tag3 = input.ReadString(); + break; + } + case 290: { + Tag4 = input.ReadString(); + break; + } + case 298: { + Tag5 = input.ReadString(); + break; + } + case 304: { + AttackHintType = input.ReadInt32(); + break; + } + case 312: { + BlockPriority = input.ReadInt32(); + break; + } + case 320: { + WayPointShift = input.ReadInt32(); + break; + } + case 328: { + MonsterTeamId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Monster : pb::IMessage<table_Monster> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Monster> _parser = new pb::MessageParser<table_Monster>(() => new table_Monster()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Monster> 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.ClientTableReflection.Descriptor.MessageTypes[271]; } + } + + [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 table_Monster() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Monster(table_Monster other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Monster Clone() { + return new table_Monster(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Monster> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Monster.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Monster> list_ = new pbc::RepeatedField<global::Nova.Client.Monster>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Monster> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Monster); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Monster other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Monster other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterActionBranch : pb::IMessage<MonsterActionBranch> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterActionBranch> _parser = new pb::MessageParser<MonsterActionBranch>(() => new MonsterActionBranch()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterActionBranch> 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.ClientTableReflection.Descriptor.MessageTypes[272]; } + } + + [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 MonsterActionBranch() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterActionBranch(MonsterActionBranch other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + skillId_ = other.skillId_; + priority_ = other.priority_; + weight_ = other.weight_; + rate_ = other.rate_; + cD_ = other.cD_; + initialCDPool_ = other.initialCDPool_.Clone(); + minInitialCD_ = other.minInitialCD_; + maxInitialCD_ = other.maxInitialCD_; + startCDTime_ = other.startCDTime_; + fixedCD_ = other.fixedCD_; + releaseDistance_ = other.releaseDistance_; + releaseAngle_ = other.releaseAngle_; + traceDuration_ = other.traceDuration_; + activate_ = other.activate_; + activeConditionType1_ = other.activeConditionType1_; + activeParam1_ = other.activeParam1_; + activeParam2_ = other.activeParam2_; + deActiveConditionType1_ = other.deActiveConditionType1_; + deActiveParam1_ = other.deActiveParam1_; + deActiveParam2_ = other.deActiveParam2_; + followEventType1_ = other.followEventType1_; + followEventParam1_ = other.followEventParam1_; + followEventType2_ = other.followEventType2_; + followEventParam2_ = other.followEventParam2_; + followEventType3_ = other.followEventType3_; + followEventParam3_ = other.followEventParam3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterActionBranch Clone() { + return new MonsterActionBranch(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 "GroupId" 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 "SkillId" field.</summary> + public const int SkillIdFieldNumber = 3; + private int skillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillId { + get { return skillId_; } + set { + skillId_ = value; + } + } + + /// <summary>Field number for the "Priority" field.</summary> + public const int PriorityFieldNumber = 4; + private int priority_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Priority { + get { return priority_; } + set { + priority_ = value; + } + } + + /// <summary>Field number for the "Weight" field.</summary> + public const int WeightFieldNumber = 5; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + /// <summary>Field number for the "Rate" field.</summary> + public const int RateFieldNumber = 6; + private int rate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rate { + get { return rate_; } + set { + rate_ = value; + } + } + + /// <summary>Field number for the "CD" field.</summary> + public const int CDFieldNumber = 7; + private int cD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CD { + get { return cD_; } + set { + cD_ = value; + } + } + + /// <summary>Field number for the "InitialCDPool" field.</summary> + public const int InitialCDPoolFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_initialCDPool_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> initialCDPool_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> InitialCDPool { + get { return initialCDPool_; } + } + + /// <summary>Field number for the "MinInitialCD" field.</summary> + public const int MinInitialCDFieldNumber = 9; + private int minInitialCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MinInitialCD { + get { return minInitialCD_; } + set { + minInitialCD_ = value; + } + } + + /// <summary>Field number for the "MaxInitialCD" field.</summary> + public const int MaxInitialCDFieldNumber = 10; + private int maxInitialCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxInitialCD { + get { return maxInitialCD_; } + set { + maxInitialCD_ = value; + } + } + + /// <summary>Field number for the "StartCDTime" field.</summary> + public const int StartCDTimeFieldNumber = 11; + private int startCDTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StartCDTime { + get { return startCDTime_; } + set { + startCDTime_ = value; + } + } + + /// <summary>Field number for the "FixedCD" field.</summary> + public const int FixedCDFieldNumber = 12; + private bool fixedCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool FixedCD { + get { return fixedCD_; } + set { + fixedCD_ = value; + } + } + + /// <summary>Field number for the "ReleaseDistance" field.</summary> + public const int ReleaseDistanceFieldNumber = 13; + private int releaseDistance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReleaseDistance { + get { return releaseDistance_; } + set { + releaseDistance_ = value; + } + } + + /// <summary>Field number for the "ReleaseAngle" field.</summary> + public const int ReleaseAngleFieldNumber = 14; + private int releaseAngle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReleaseAngle { + get { return releaseAngle_; } + set { + releaseAngle_ = value; + } + } + + /// <summary>Field number for the "TraceDuration" field.</summary> + public const int TraceDurationFieldNumber = 15; + private int traceDuration_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TraceDuration { + get { return traceDuration_; } + set { + traceDuration_ = value; + } + } + + /// <summary>Field number for the "Activate" field.</summary> + public const int ActivateFieldNumber = 16; + private bool activate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Activate { + get { return activate_; } + set { + activate_ = value; + } + } + + /// <summary>Field number for the "ActiveConditionType1" field.</summary> + public const int ActiveConditionType1FieldNumber = 17; + private int activeConditionType1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActiveConditionType1 { + get { return activeConditionType1_; } + set { + activeConditionType1_ = value; + } + } + + /// <summary>Field number for the "ActiveParam1" field.</summary> + public const int ActiveParam1FieldNumber = 18; + private string activeParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam1 { + get { return activeParam1_; } + set { + activeParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ActiveParam2" field.</summary> + public const int ActiveParam2FieldNumber = 19; + private string activeParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveParam2 { + get { return activeParam2_; } + set { + activeParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DeActiveConditionType1" field.</summary> + public const int DeActiveConditionType1FieldNumber = 20; + private int deActiveConditionType1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DeActiveConditionType1 { + get { return deActiveConditionType1_; } + set { + deActiveConditionType1_ = value; + } + } + + /// <summary>Field number for the "DeActiveParam1" field.</summary> + public const int DeActiveParam1FieldNumber = 21; + private string deActiveParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeActiveParam1 { + get { return deActiveParam1_; } + set { + deActiveParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DeActiveParam2" field.</summary> + public const int DeActiveParam2FieldNumber = 22; + private string deActiveParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DeActiveParam2 { + get { return deActiveParam2_; } + set { + deActiveParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FollowEventType1" field.</summary> + public const int FollowEventType1FieldNumber = 23; + private int followEventType1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FollowEventType1 { + get { return followEventType1_; } + set { + followEventType1_ = value; + } + } + + /// <summary>Field number for the "FollowEventParam1" field.</summary> + public const int FollowEventParam1FieldNumber = 24; + private string followEventParam1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FollowEventParam1 { + get { return followEventParam1_; } + set { + followEventParam1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FollowEventType2" field.</summary> + public const int FollowEventType2FieldNumber = 25; + private int followEventType2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FollowEventType2 { + get { return followEventType2_; } + set { + followEventType2_ = value; + } + } + + /// <summary>Field number for the "FollowEventParam2" field.</summary> + public const int FollowEventParam2FieldNumber = 26; + private string followEventParam2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FollowEventParam2 { + get { return followEventParam2_; } + set { + followEventParam2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FollowEventType3" field.</summary> + public const int FollowEventType3FieldNumber = 27; + private int followEventType3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FollowEventType3 { + get { return followEventType3_; } + set { + followEventType3_ = value; + } + } + + /// <summary>Field number for the "FollowEventParam3" field.</summary> + public const int FollowEventParam3FieldNumber = 28; + private string followEventParam3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FollowEventParam3 { + get { return followEventParam3_; } + set { + followEventParam3_ = 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 MonsterActionBranch); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterActionBranch 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 (SkillId != other.SkillId) return false; + if (Priority != other.Priority) return false; + if (Weight != other.Weight) return false; + if (Rate != other.Rate) return false; + if (CD != other.CD) return false; + if(!initialCDPool_.Equals(other.initialCDPool_)) return false; + if (MinInitialCD != other.MinInitialCD) return false; + if (MaxInitialCD != other.MaxInitialCD) return false; + if (StartCDTime != other.StartCDTime) return false; + if (FixedCD != other.FixedCD) return false; + if (ReleaseDistance != other.ReleaseDistance) return false; + if (ReleaseAngle != other.ReleaseAngle) return false; + if (TraceDuration != other.TraceDuration) return false; + if (Activate != other.Activate) return false; + if (ActiveConditionType1 != other.ActiveConditionType1) return false; + if (ActiveParam1 != other.ActiveParam1) return false; + if (ActiveParam2 != other.ActiveParam2) return false; + if (DeActiveConditionType1 != other.DeActiveConditionType1) return false; + if (DeActiveParam1 != other.DeActiveParam1) return false; + if (DeActiveParam2 != other.DeActiveParam2) return false; + if (FollowEventType1 != other.FollowEventType1) return false; + if (FollowEventParam1 != other.FollowEventParam1) return false; + if (FollowEventType2 != other.FollowEventType2) return false; + if (FollowEventParam2 != other.FollowEventParam2) return false; + if (FollowEventType3 != other.FollowEventType3) return false; + if (FollowEventParam3 != other.FollowEventParam3) 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 (SkillId != 0) hash ^= SkillId.GetHashCode(); + if (Priority != 0) hash ^= Priority.GetHashCode(); + if (Weight != 0) hash ^= Weight.GetHashCode(); + if (Rate != 0) hash ^= Rate.GetHashCode(); + if (CD != 0) hash ^= CD.GetHashCode(); + hash ^= initialCDPool_.GetHashCode(); + if (MinInitialCD != 0) hash ^= MinInitialCD.GetHashCode(); + if (MaxInitialCD != 0) hash ^= MaxInitialCD.GetHashCode(); + if (StartCDTime != 0) hash ^= StartCDTime.GetHashCode(); + if (FixedCD != false) hash ^= FixedCD.GetHashCode(); + if (ReleaseDistance != 0) hash ^= ReleaseDistance.GetHashCode(); + if (ReleaseAngle != 0) hash ^= ReleaseAngle.GetHashCode(); + if (TraceDuration != 0) hash ^= TraceDuration.GetHashCode(); + if (Activate != false) hash ^= Activate.GetHashCode(); + if (ActiveConditionType1 != 0) hash ^= ActiveConditionType1.GetHashCode(); + if (ActiveParam1.Length != 0) hash ^= ActiveParam1.GetHashCode(); + if (ActiveParam2.Length != 0) hash ^= ActiveParam2.GetHashCode(); + if (DeActiveConditionType1 != 0) hash ^= DeActiveConditionType1.GetHashCode(); + if (DeActiveParam1.Length != 0) hash ^= DeActiveParam1.GetHashCode(); + if (DeActiveParam2.Length != 0) hash ^= DeActiveParam2.GetHashCode(); + if (FollowEventType1 != 0) hash ^= FollowEventType1.GetHashCode(); + if (FollowEventParam1.Length != 0) hash ^= FollowEventParam1.GetHashCode(); + if (FollowEventType2 != 0) hash ^= FollowEventType2.GetHashCode(); + if (FollowEventParam2.Length != 0) hash ^= FollowEventParam2.GetHashCode(); + if (FollowEventType3 != 0) hash ^= FollowEventType3.GetHashCode(); + if (FollowEventParam3.Length != 0) hash ^= FollowEventParam3.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 (SkillId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SkillId); + } + if (Priority != 0) { + output.WriteRawTag(32); + output.WriteInt32(Priority); + } + if (Weight != 0) { + output.WriteRawTag(40); + output.WriteInt32(Weight); + } + if (Rate != 0) { + output.WriteRawTag(48); + output.WriteInt32(Rate); + } + if (CD != 0) { + output.WriteRawTag(56); + output.WriteInt32(CD); + } + initialCDPool_.WriteTo(output, _repeated_initialCDPool_codec); + if (MinInitialCD != 0) { + output.WriteRawTag(72); + output.WriteInt32(MinInitialCD); + } + if (MaxInitialCD != 0) { + output.WriteRawTag(80); + output.WriteInt32(MaxInitialCD); + } + if (StartCDTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(StartCDTime); + } + if (FixedCD != false) { + output.WriteRawTag(96); + output.WriteBool(FixedCD); + } + if (ReleaseDistance != 0) { + output.WriteRawTag(104); + output.WriteInt32(ReleaseDistance); + } + if (ReleaseAngle != 0) { + output.WriteRawTag(112); + output.WriteInt32(ReleaseAngle); + } + if (TraceDuration != 0) { + output.WriteRawTag(120); + output.WriteInt32(TraceDuration); + } + if (Activate != false) { + output.WriteRawTag(128, 1); + output.WriteBool(Activate); + } + if (ActiveConditionType1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ActiveConditionType1); + } + if (ActiveParam1.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(ActiveParam1); + } + if (ActiveParam2.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(ActiveParam2); + } + if (DeActiveConditionType1 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DeActiveConditionType1); + } + if (DeActiveParam1.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(DeActiveParam1); + } + if (DeActiveParam2.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(DeActiveParam2); + } + if (FollowEventType1 != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(FollowEventType1); + } + if (FollowEventParam1.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(FollowEventParam1); + } + if (FollowEventType2 != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(FollowEventType2); + } + if (FollowEventParam2.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(FollowEventParam2); + } + if (FollowEventType3 != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(FollowEventType3); + } + if (FollowEventParam3.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(FollowEventParam3); + } + 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 (SkillId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SkillId); + } + if (Priority != 0) { + output.WriteRawTag(32); + output.WriteInt32(Priority); + } + if (Weight != 0) { + output.WriteRawTag(40); + output.WriteInt32(Weight); + } + if (Rate != 0) { + output.WriteRawTag(48); + output.WriteInt32(Rate); + } + if (CD != 0) { + output.WriteRawTag(56); + output.WriteInt32(CD); + } + initialCDPool_.WriteTo(ref output, _repeated_initialCDPool_codec); + if (MinInitialCD != 0) { + output.WriteRawTag(72); + output.WriteInt32(MinInitialCD); + } + if (MaxInitialCD != 0) { + output.WriteRawTag(80); + output.WriteInt32(MaxInitialCD); + } + if (StartCDTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(StartCDTime); + } + if (FixedCD != false) { + output.WriteRawTag(96); + output.WriteBool(FixedCD); + } + if (ReleaseDistance != 0) { + output.WriteRawTag(104); + output.WriteInt32(ReleaseDistance); + } + if (ReleaseAngle != 0) { + output.WriteRawTag(112); + output.WriteInt32(ReleaseAngle); + } + if (TraceDuration != 0) { + output.WriteRawTag(120); + output.WriteInt32(TraceDuration); + } + if (Activate != false) { + output.WriteRawTag(128, 1); + output.WriteBool(Activate); + } + if (ActiveConditionType1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ActiveConditionType1); + } + if (ActiveParam1.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(ActiveParam1); + } + if (ActiveParam2.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(ActiveParam2); + } + if (DeActiveConditionType1 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DeActiveConditionType1); + } + if (DeActiveParam1.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(DeActiveParam1); + } + if (DeActiveParam2.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(DeActiveParam2); + } + if (FollowEventType1 != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(FollowEventType1); + } + if (FollowEventParam1.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(FollowEventParam1); + } + if (FollowEventType2 != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(FollowEventType2); + } + if (FollowEventParam2.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(FollowEventParam2); + } + if (FollowEventType3 != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(FollowEventType3); + } + if (FollowEventParam3.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(FollowEventParam3); + } + 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 (SkillId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillId); + } + if (Priority != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); + } + if (Weight != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + if (Rate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rate); + } + if (CD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CD); + } + size += initialCDPool_.CalculateSize(_repeated_initialCDPool_codec); + if (MinInitialCD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinInitialCD); + } + if (MaxInitialCD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxInitialCD); + } + if (StartCDTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StartCDTime); + } + if (FixedCD != false) { + size += 1 + 1; + } + if (ReleaseDistance != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReleaseDistance); + } + if (ReleaseAngle != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReleaseAngle); + } + if (TraceDuration != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TraceDuration); + } + if (Activate != false) { + size += 2 + 1; + } + if (ActiveConditionType1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ActiveConditionType1); + } + if (ActiveParam1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ActiveParam1); + } + if (ActiveParam2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ActiveParam2); + } + if (DeActiveConditionType1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DeActiveConditionType1); + } + if (DeActiveParam1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(DeActiveParam1); + } + if (DeActiveParam2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(DeActiveParam2); + } + if (FollowEventType1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FollowEventType1); + } + if (FollowEventParam1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(FollowEventParam1); + } + if (FollowEventType2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FollowEventType2); + } + if (FollowEventParam2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(FollowEventParam2); + } + if (FollowEventType3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FollowEventType3); + } + if (FollowEventParam3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(FollowEventParam3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterActionBranch other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.SkillId != 0) { + SkillId = other.SkillId; + } + if (other.Priority != 0) { + Priority = other.Priority; + } + if (other.Weight != 0) { + Weight = other.Weight; + } + if (other.Rate != 0) { + Rate = other.Rate; + } + if (other.CD != 0) { + CD = other.CD; + } + initialCDPool_.Add(other.initialCDPool_); + if (other.MinInitialCD != 0) { + MinInitialCD = other.MinInitialCD; + } + if (other.MaxInitialCD != 0) { + MaxInitialCD = other.MaxInitialCD; + } + if (other.StartCDTime != 0) { + StartCDTime = other.StartCDTime; + } + if (other.FixedCD != false) { + FixedCD = other.FixedCD; + } + if (other.ReleaseDistance != 0) { + ReleaseDistance = other.ReleaseDistance; + } + if (other.ReleaseAngle != 0) { + ReleaseAngle = other.ReleaseAngle; + } + if (other.TraceDuration != 0) { + TraceDuration = other.TraceDuration; + } + if (other.Activate != false) { + Activate = other.Activate; + } + if (other.ActiveConditionType1 != 0) { + ActiveConditionType1 = other.ActiveConditionType1; + } + if (other.ActiveParam1.Length != 0) { + ActiveParam1 = other.ActiveParam1; + } + if (other.ActiveParam2.Length != 0) { + ActiveParam2 = other.ActiveParam2; + } + if (other.DeActiveConditionType1 != 0) { + DeActiveConditionType1 = other.DeActiveConditionType1; + } + if (other.DeActiveParam1.Length != 0) { + DeActiveParam1 = other.DeActiveParam1; + } + if (other.DeActiveParam2.Length != 0) { + DeActiveParam2 = other.DeActiveParam2; + } + if (other.FollowEventType1 != 0) { + FollowEventType1 = other.FollowEventType1; + } + if (other.FollowEventParam1.Length != 0) { + FollowEventParam1 = other.FollowEventParam1; + } + if (other.FollowEventType2 != 0) { + FollowEventType2 = other.FollowEventType2; + } + if (other.FollowEventParam2.Length != 0) { + FollowEventParam2 = other.FollowEventParam2; + } + if (other.FollowEventType3 != 0) { + FollowEventType3 = other.FollowEventType3; + } + if (other.FollowEventParam3.Length != 0) { + FollowEventParam3 = other.FollowEventParam3; + } + _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: { + SkillId = input.ReadInt32(); + break; + } + case 32: { + Priority = input.ReadInt32(); + break; + } + case 40: { + Weight = input.ReadInt32(); + break; + } + case 48: { + Rate = input.ReadInt32(); + break; + } + case 56: { + CD = input.ReadInt32(); + break; + } + case 66: + case 64: { + initialCDPool_.AddEntriesFrom(input, _repeated_initialCDPool_codec); + break; + } + case 72: { + MinInitialCD = input.ReadInt32(); + break; + } + case 80: { + MaxInitialCD = input.ReadInt32(); + break; + } + case 88: { + StartCDTime = input.ReadInt32(); + break; + } + case 96: { + FixedCD = input.ReadBool(); + break; + } + case 104: { + ReleaseDistance = input.ReadInt32(); + break; + } + case 112: { + ReleaseAngle = input.ReadInt32(); + break; + } + case 120: { + TraceDuration = input.ReadInt32(); + break; + } + case 128: { + Activate = input.ReadBool(); + break; + } + case 136: { + ActiveConditionType1 = input.ReadInt32(); + break; + } + case 146: { + ActiveParam1 = input.ReadString(); + break; + } + case 154: { + ActiveParam2 = input.ReadString(); + break; + } + case 160: { + DeActiveConditionType1 = input.ReadInt32(); + break; + } + case 170: { + DeActiveParam1 = input.ReadString(); + break; + } + case 178: { + DeActiveParam2 = input.ReadString(); + break; + } + case 184: { + FollowEventType1 = input.ReadInt32(); + break; + } + case 194: { + FollowEventParam1 = input.ReadString(); + break; + } + case 200: { + FollowEventType2 = input.ReadInt32(); + break; + } + case 210: { + FollowEventParam2 = input.ReadString(); + break; + } + case 216: { + FollowEventType3 = input.ReadInt32(); + break; + } + case 226: { + FollowEventParam3 = 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: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + SkillId = input.ReadInt32(); + break; + } + case 32: { + Priority = input.ReadInt32(); + break; + } + case 40: { + Weight = input.ReadInt32(); + break; + } + case 48: { + Rate = input.ReadInt32(); + break; + } + case 56: { + CD = input.ReadInt32(); + break; + } + case 66: + case 64: { + initialCDPool_.AddEntriesFrom(ref input, _repeated_initialCDPool_codec); + break; + } + case 72: { + MinInitialCD = input.ReadInt32(); + break; + } + case 80: { + MaxInitialCD = input.ReadInt32(); + break; + } + case 88: { + StartCDTime = input.ReadInt32(); + break; + } + case 96: { + FixedCD = input.ReadBool(); + break; + } + case 104: { + ReleaseDistance = input.ReadInt32(); + break; + } + case 112: { + ReleaseAngle = input.ReadInt32(); + break; + } + case 120: { + TraceDuration = input.ReadInt32(); + break; + } + case 128: { + Activate = input.ReadBool(); + break; + } + case 136: { + ActiveConditionType1 = input.ReadInt32(); + break; + } + case 146: { + ActiveParam1 = input.ReadString(); + break; + } + case 154: { + ActiveParam2 = input.ReadString(); + break; + } + case 160: { + DeActiveConditionType1 = input.ReadInt32(); + break; + } + case 170: { + DeActiveParam1 = input.ReadString(); + break; + } + case 178: { + DeActiveParam2 = input.ReadString(); + break; + } + case 184: { + FollowEventType1 = input.ReadInt32(); + break; + } + case 194: { + FollowEventParam1 = input.ReadString(); + break; + } + case 200: { + FollowEventType2 = input.ReadInt32(); + break; + } + case 210: { + FollowEventParam2 = input.ReadString(); + break; + } + case 216: { + FollowEventType3 = input.ReadInt32(); + break; + } + case 226: { + FollowEventParam3 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterActionBranch : pb::IMessage<table_MonsterActionBranch> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterActionBranch> _parser = new pb::MessageParser<table_MonsterActionBranch>(() => new table_MonsterActionBranch()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterActionBranch> 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.ClientTableReflection.Descriptor.MessageTypes[273]; } + } + + [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 table_MonsterActionBranch() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterActionBranch(table_MonsterActionBranch other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterActionBranch Clone() { + return new table_MonsterActionBranch(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterActionBranch> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterActionBranch.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterActionBranch> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterActionBranch>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterActionBranch> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterActionBranch); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterActionBranch other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterActionBranch other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterAI : pb::IMessage<MonsterAI> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterAI> _parser = new pb::MessageParser<MonsterAI>(() => new MonsterAI()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterAI> 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.ClientTableReflection.Descriptor.MessageTypes[274]; } + } + + [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 MonsterAI() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterAI(MonsterAI other) : this() { + id_ = other.id_; + comboGroupPath_ = other.comboGroupPath_; + spawnShowSkillId_ = other.spawnShowSkillId_; + idleShowSkillId_ = other.idleShowSkillId_; + dieSkillId_ = other.dieSkillId_; + actionAIPath_ = other.actionAIPath_; + actionBranchIds_ = other.actionBranchIds_.Clone(); + thinkInterval_ = other.thinkInterval_; + idleAIPath_ = other.idleAIPath_; + spawnAIPath_ = other.spawnAIPath_; + parallelAIPath_ = other.parallelAIPath_; + checkAchievement_ = other.checkAchievement_; + wanderRange_ = other.wanderRange_; + wanderInterval_ = other.wanderInterval_; + wanderRate_ = other.wanderRate_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterAI Clone() { + return new MonsterAI(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 "ComboGroupPath" field.</summary> + public const int ComboGroupPathFieldNumber = 2; + private string comboGroupPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ComboGroupPath { + get { return comboGroupPath_; } + set { + comboGroupPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SpawnShowSkillId" field.</summary> + public const int SpawnShowSkillIdFieldNumber = 3; + private int spawnShowSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpawnShowSkillId { + get { return spawnShowSkillId_; } + set { + spawnShowSkillId_ = value; + } + } + + /// <summary>Field number for the "IdleShowSkillId" field.</summary> + public const int IdleShowSkillIdFieldNumber = 4; + private int idleShowSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IdleShowSkillId { + get { return idleShowSkillId_; } + set { + idleShowSkillId_ = value; + } + } + + /// <summary>Field number for the "DieSkillId" field.</summary> + public const int DieSkillIdFieldNumber = 5; + private int dieSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DieSkillId { + get { return dieSkillId_; } + set { + dieSkillId_ = value; + } + } + + /// <summary>Field number for the "ActionAIPath" field.</summary> + public const int ActionAIPathFieldNumber = 6; + private string actionAIPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActionAIPath { + get { return actionAIPath_; } + set { + actionAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ActionBranchIds" field.</summary> + public const int ActionBranchIdsFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_actionBranchIds_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> actionBranchIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ActionBranchIds { + get { return actionBranchIds_; } + } + + /// <summary>Field number for the "ThinkInterval" field.</summary> + public const int ThinkIntervalFieldNumber = 8; + private int thinkInterval_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ThinkInterval { + get { return thinkInterval_; } + set { + thinkInterval_ = value; + } + } + + /// <summary>Field number for the "IdleAIPath" field.</summary> + public const int IdleAIPathFieldNumber = 9; + private string idleAIPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IdleAIPath { + get { return idleAIPath_; } + set { + idleAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SpawnAIPath" field.</summary> + public const int SpawnAIPathFieldNumber = 10; + private string spawnAIPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpawnAIPath { + get { return spawnAIPath_; } + set { + spawnAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ParallelAIPath" field.</summary> + public const int ParallelAIPathFieldNumber = 11; + private string parallelAIPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParallelAIPath { + get { return parallelAIPath_; } + set { + parallelAIPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CheckAchievement" field.</summary> + public const int CheckAchievementFieldNumber = 12; + private bool checkAchievement_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CheckAchievement { + get { return checkAchievement_; } + set { + checkAchievement_ = value; + } + } + + /// <summary>Field number for the "WanderRange" field.</summary> + public const int WanderRangeFieldNumber = 13; + private int wanderRange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WanderRange { + get { return wanderRange_; } + set { + wanderRange_ = value; + } + } + + /// <summary>Field number for the "WanderInterval" field.</summary> + public const int WanderIntervalFieldNumber = 14; + private int wanderInterval_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WanderInterval { + get { return wanderInterval_; } + set { + wanderInterval_ = value; + } + } + + /// <summary>Field number for the "WanderRate" field.</summary> + public const int WanderRateFieldNumber = 15; + private int wanderRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WanderRate { + get { return wanderRate_; } + set { + wanderRate_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonsterAI); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterAI other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ComboGroupPath != other.ComboGroupPath) return false; + if (SpawnShowSkillId != other.SpawnShowSkillId) return false; + if (IdleShowSkillId != other.IdleShowSkillId) return false; + if (DieSkillId != other.DieSkillId) return false; + if (ActionAIPath != other.ActionAIPath) return false; + if(!actionBranchIds_.Equals(other.actionBranchIds_)) return false; + if (ThinkInterval != other.ThinkInterval) return false; + if (IdleAIPath != other.IdleAIPath) return false; + if (SpawnAIPath != other.SpawnAIPath) return false; + if (ParallelAIPath != other.ParallelAIPath) return false; + if (CheckAchievement != other.CheckAchievement) return false; + if (WanderRange != other.WanderRange) return false; + if (WanderInterval != other.WanderInterval) return false; + if (WanderRate != other.WanderRate) 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 (ComboGroupPath.Length != 0) hash ^= ComboGroupPath.GetHashCode(); + if (SpawnShowSkillId != 0) hash ^= SpawnShowSkillId.GetHashCode(); + if (IdleShowSkillId != 0) hash ^= IdleShowSkillId.GetHashCode(); + if (DieSkillId != 0) hash ^= DieSkillId.GetHashCode(); + if (ActionAIPath.Length != 0) hash ^= ActionAIPath.GetHashCode(); + hash ^= actionBranchIds_.GetHashCode(); + if (ThinkInterval != 0) hash ^= ThinkInterval.GetHashCode(); + if (IdleAIPath.Length != 0) hash ^= IdleAIPath.GetHashCode(); + if (SpawnAIPath.Length != 0) hash ^= SpawnAIPath.GetHashCode(); + if (ParallelAIPath.Length != 0) hash ^= ParallelAIPath.GetHashCode(); + if (CheckAchievement != false) hash ^= CheckAchievement.GetHashCode(); + if (WanderRange != 0) hash ^= WanderRange.GetHashCode(); + if (WanderInterval != 0) hash ^= WanderInterval.GetHashCode(); + if (WanderRate != 0) hash ^= WanderRate.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 (ComboGroupPath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ComboGroupPath); + } + if (SpawnShowSkillId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SpawnShowSkillId); + } + if (IdleShowSkillId != 0) { + output.WriteRawTag(32); + output.WriteInt32(IdleShowSkillId); + } + if (DieSkillId != 0) { + output.WriteRawTag(40); + output.WriteInt32(DieSkillId); + } + if (ActionAIPath.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ActionAIPath); + } + actionBranchIds_.WriteTo(output, _repeated_actionBranchIds_codec); + if (ThinkInterval != 0) { + output.WriteRawTag(64); + output.WriteInt32(ThinkInterval); + } + if (IdleAIPath.Length != 0) { + output.WriteRawTag(74); + output.WriteString(IdleAIPath); + } + if (SpawnAIPath.Length != 0) { + output.WriteRawTag(82); + output.WriteString(SpawnAIPath); + } + if (ParallelAIPath.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ParallelAIPath); + } + if (CheckAchievement != false) { + output.WriteRawTag(96); + output.WriteBool(CheckAchievement); + } + if (WanderRange != 0) { + output.WriteRawTag(104); + output.WriteInt32(WanderRange); + } + if (WanderInterval != 0) { + output.WriteRawTag(112); + output.WriteInt32(WanderInterval); + } + if (WanderRate != 0) { + output.WriteRawTag(120); + output.WriteInt32(WanderRate); + } + 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 (ComboGroupPath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ComboGroupPath); + } + if (SpawnShowSkillId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SpawnShowSkillId); + } + if (IdleShowSkillId != 0) { + output.WriteRawTag(32); + output.WriteInt32(IdleShowSkillId); + } + if (DieSkillId != 0) { + output.WriteRawTag(40); + output.WriteInt32(DieSkillId); + } + if (ActionAIPath.Length != 0) { + output.WriteRawTag(50); + output.WriteString(ActionAIPath); + } + actionBranchIds_.WriteTo(ref output, _repeated_actionBranchIds_codec); + if (ThinkInterval != 0) { + output.WriteRawTag(64); + output.WriteInt32(ThinkInterval); + } + if (IdleAIPath.Length != 0) { + output.WriteRawTag(74); + output.WriteString(IdleAIPath); + } + if (SpawnAIPath.Length != 0) { + output.WriteRawTag(82); + output.WriteString(SpawnAIPath); + } + if (ParallelAIPath.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ParallelAIPath); + } + if (CheckAchievement != false) { + output.WriteRawTag(96); + output.WriteBool(CheckAchievement); + } + if (WanderRange != 0) { + output.WriteRawTag(104); + output.WriteInt32(WanderRange); + } + if (WanderInterval != 0) { + output.WriteRawTag(112); + output.WriteInt32(WanderInterval); + } + if (WanderRate != 0) { + output.WriteRawTag(120); + output.WriteInt32(WanderRate); + } + 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 (ComboGroupPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ComboGroupPath); + } + if (SpawnShowSkillId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpawnShowSkillId); + } + if (IdleShowSkillId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IdleShowSkillId); + } + if (DieSkillId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DieSkillId); + } + if (ActionAIPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActionAIPath); + } + size += actionBranchIds_.CalculateSize(_repeated_actionBranchIds_codec); + if (ThinkInterval != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThinkInterval); + } + if (IdleAIPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IdleAIPath); + } + if (SpawnAIPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SpawnAIPath); + } + if (ParallelAIPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParallelAIPath); + } + if (CheckAchievement != false) { + size += 1 + 1; + } + if (WanderRange != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WanderRange); + } + if (WanderInterval != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WanderInterval); + } + if (WanderRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WanderRate); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterAI other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ComboGroupPath.Length != 0) { + ComboGroupPath = other.ComboGroupPath; + } + if (other.SpawnShowSkillId != 0) { + SpawnShowSkillId = other.SpawnShowSkillId; + } + if (other.IdleShowSkillId != 0) { + IdleShowSkillId = other.IdleShowSkillId; + } + if (other.DieSkillId != 0) { + DieSkillId = other.DieSkillId; + } + if (other.ActionAIPath.Length != 0) { + ActionAIPath = other.ActionAIPath; + } + actionBranchIds_.Add(other.actionBranchIds_); + if (other.ThinkInterval != 0) { + ThinkInterval = other.ThinkInterval; + } + if (other.IdleAIPath.Length != 0) { + IdleAIPath = other.IdleAIPath; + } + if (other.SpawnAIPath.Length != 0) { + SpawnAIPath = other.SpawnAIPath; + } + if (other.ParallelAIPath.Length != 0) { + ParallelAIPath = other.ParallelAIPath; + } + if (other.CheckAchievement != false) { + CheckAchievement = other.CheckAchievement; + } + if (other.WanderRange != 0) { + WanderRange = other.WanderRange; + } + if (other.WanderInterval != 0) { + WanderInterval = other.WanderInterval; + } + if (other.WanderRate != 0) { + WanderRate = other.WanderRate; + } + _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: { + ComboGroupPath = input.ReadString(); + break; + } + case 24: { + SpawnShowSkillId = input.ReadInt32(); + break; + } + case 32: { + IdleShowSkillId = input.ReadInt32(); + break; + } + case 40: { + DieSkillId = input.ReadInt32(); + break; + } + case 50: { + ActionAIPath = input.ReadString(); + break; + } + case 58: + case 56: { + actionBranchIds_.AddEntriesFrom(input, _repeated_actionBranchIds_codec); + break; + } + case 64: { + ThinkInterval = input.ReadInt32(); + break; + } + case 74: { + IdleAIPath = input.ReadString(); + break; + } + case 82: { + SpawnAIPath = input.ReadString(); + break; + } + case 90: { + ParallelAIPath = input.ReadString(); + break; + } + case 96: { + CheckAchievement = input.ReadBool(); + break; + } + case 104: { + WanderRange = input.ReadInt32(); + break; + } + case 112: { + WanderInterval = input.ReadInt32(); + break; + } + case 120: { + WanderRate = 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 18: { + ComboGroupPath = input.ReadString(); + break; + } + case 24: { + SpawnShowSkillId = input.ReadInt32(); + break; + } + case 32: { + IdleShowSkillId = input.ReadInt32(); + break; + } + case 40: { + DieSkillId = input.ReadInt32(); + break; + } + case 50: { + ActionAIPath = input.ReadString(); + break; + } + case 58: + case 56: { + actionBranchIds_.AddEntriesFrom(ref input, _repeated_actionBranchIds_codec); + break; + } + case 64: { + ThinkInterval = input.ReadInt32(); + break; + } + case 74: { + IdleAIPath = input.ReadString(); + break; + } + case 82: { + SpawnAIPath = input.ReadString(); + break; + } + case 90: { + ParallelAIPath = input.ReadString(); + break; + } + case 96: { + CheckAchievement = input.ReadBool(); + break; + } + case 104: { + WanderRange = input.ReadInt32(); + break; + } + case 112: { + WanderInterval = input.ReadInt32(); + break; + } + case 120: { + WanderRate = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterAI : pb::IMessage<table_MonsterAI> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterAI> _parser = new pb::MessageParser<table_MonsterAI>(() => new table_MonsterAI()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterAI> 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.ClientTableReflection.Descriptor.MessageTypes[275]; } + } + + [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 table_MonsterAI() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterAI(table_MonsterAI other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterAI Clone() { + return new table_MonsterAI(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterAI> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterAI.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterAI> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterAI>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterAI> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterAI); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterAI other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterAI other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterBornGroup : pb::IMessage<MonsterBornGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterBornGroup> _parser = new pb::MessageParser<MonsterBornGroup>(() => new MonsterBornGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterBornGroup> 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.ClientTableReflection.Descriptor.MessageTypes[276]; } + } + + [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 MonsterBornGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterBornGroup(MonsterBornGroup other) : this() { + groupId_ = other.groupId_; + monsterId_ = other.monsterId_; + difficulty_ = other.difficulty_; + minFloor_ = other.minFloor_; + maxFloor_ = other.maxFloor_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterBornGroup Clone() { + return new MonsterBornGroup(this); + } + + /// <summary>Field number for the "GroupId" field.</summary> + public const int GroupIdFieldNumber = 1; + 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 "MonsterId" field.</summary> + public const int MonsterIdFieldNumber = 2; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + 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; + } + } + + /// <summary>Field number for the "MinFloor" field.</summary> + public const int MinFloorFieldNumber = 4; + private int minFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MinFloor { + get { return minFloor_; } + set { + minFloor_ = value; + } + } + + /// <summary>Field number for the "MaxFloor" field.</summary> + public const int MaxFloorFieldNumber = 5; + private int maxFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxFloor { + get { return maxFloor_; } + set { + maxFloor_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonsterBornGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterBornGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GroupId != other.GroupId) return false; + if (MonsterId != other.MonsterId) return false; + if (Difficulty != other.Difficulty) return false; + if (MinFloor != other.MinFloor) return false; + if (MaxFloor != other.MaxFloor) 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (MinFloor != 0) hash ^= MinFloor.GetHashCode(); + if (MaxFloor != 0) hash ^= MaxFloor.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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(GroupId); + } + if (MonsterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterId); + } + if (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (MinFloor != 0) { + output.WriteRawTag(32); + output.WriteInt32(MinFloor); + } + if (MaxFloor != 0) { + output.WriteRawTag(40); + output.WriteInt32(MaxFloor); + } + 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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(GroupId); + } + if (MonsterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterId); + } + if (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (MinFloor != 0) { + output.WriteRawTag(32); + output.WriteInt32(MinFloor); + } + if (MaxFloor != 0) { + output.WriteRawTag(40); + output.WriteInt32(MaxFloor); + } + 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 (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + } + if (MinFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinFloor); + } + if (MaxFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxFloor); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterBornGroup other) { + if (other == null) { + return; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.MinFloor != 0) { + MinFloor = other.MinFloor; + } + if (other.MaxFloor != 0) { + MaxFloor = other.MaxFloor; + } + _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: { + GroupId = input.ReadInt32(); + break; + } + case 16: { + MonsterId = input.ReadInt32(); + break; + } + case 24: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + MinFloor = input.ReadInt32(); + break; + } + case 40: { + MaxFloor = 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: { + GroupId = input.ReadInt32(); + break; + } + case 16: { + MonsterId = input.ReadInt32(); + break; + } + case 24: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + MinFloor = input.ReadInt32(); + break; + } + case 40: { + MaxFloor = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterBornGroup : pb::IMessage<table_MonsterBornGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterBornGroup> _parser = new pb::MessageParser<table_MonsterBornGroup>(() => new table_MonsterBornGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterBornGroup> 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.ClientTableReflection.Descriptor.MessageTypes[277]; } + } + + [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 table_MonsterBornGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterBornGroup(table_MonsterBornGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterBornGroup Clone() { + return new table_MonsterBornGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterBornGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterBornGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterBornGroup> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterBornGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterBornGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterBornGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterBornGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterBornGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterGroup : pb::IMessage<MonsterGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterGroup> _parser = new pb::MessageParser<MonsterGroup>(() => new MonsterGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterGroup> 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.ClientTableReflection.Descriptor.MessageTypes[278]; } + } + + [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 MonsterGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterGroup(MonsterGroup other) : this() { + id_ = other.id_; + monsters_ = other.monsters_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterGroup Clone() { + return new MonsterGroup(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 "Monsters" field.</summary> + public const int MonstersFieldNumber = 2; + private string monsters_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Monsters { + get { return monsters_; } + set { + monsters_ = 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 MonsterGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Monsters != other.Monsters) 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 (Monsters.Length != 0) hash ^= Monsters.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 (Monsters.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Monsters); + } + 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 (Monsters.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Monsters); + } + 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 (Monsters.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Monsters); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Monsters.Length != 0) { + Monsters = other.Monsters; + } + _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: { + Monsters = 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 18: { + Monsters = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterGroup : pb::IMessage<table_MonsterGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterGroup> _parser = new pb::MessageParser<table_MonsterGroup>(() => new table_MonsterGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterGroup> 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.ClientTableReflection.Descriptor.MessageTypes[279]; } + } + + [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 table_MonsterGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterGroup(table_MonsterGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterGroup Clone() { + return new table_MonsterGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterGroup> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterSkin : pb::IMessage<MonsterSkin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterSkin> _parser = new pb::MessageParser<MonsterSkin>(() => new MonsterSkin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterSkin> 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.ClientTableReflection.Descriptor.MessageTypes[280]; } + } + + [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 MonsterSkin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterSkin(MonsterSkin other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + icon_ = other.icon_; + hintIcon_ = other.hintIcon_; + model_ = other.model_; + runAnimationSpd_ = other.runAnimationSpd_; + walkAnimationSpd_ = other.walkAnimationSpd_; + barHeight_ = other.barHeight_; + modelScale_ = other.modelScale_; + buffFXScale_ = other.buffFXScale_; + colliderScale_ = other.colliderScale_; + forbiddenBehitRot_ = other.forbiddenBehitRot_; + effectScaleValue_ = other.effectScaleValue_; + tagEffectScaleValue_ = other.tagEffectScaleValue_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterSkin Clone() { + return new MonsterSkin(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 = 4; + 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 "HintIcon" field.</summary> + public const int HintIconFieldNumber = 5; + private string hintIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string HintIcon { + get { return hintIcon_; } + set { + hintIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Model" field.</summary> + public const int ModelFieldNumber = 6; + private string model_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Model { + get { return model_; } + set { + model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RunAnimationSpd" field.</summary> + public const int RunAnimationSpdFieldNumber = 7; + private int runAnimationSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RunAnimationSpd { + get { return runAnimationSpd_; } + set { + runAnimationSpd_ = value; + } + } + + /// <summary>Field number for the "WalkAnimationSpd" field.</summary> + public const int WalkAnimationSpdFieldNumber = 8; + private int walkAnimationSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WalkAnimationSpd { + get { return walkAnimationSpd_; } + set { + walkAnimationSpd_ = value; + } + } + + /// <summary>Field number for the "BarHeight" field.</summary> + public const int BarHeightFieldNumber = 9; + private int barHeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BarHeight { + get { return barHeight_; } + set { + barHeight_ = value; + } + } + + /// <summary>Field number for the "ModelScale" field.</summary> + public const int ModelScaleFieldNumber = 10; + private int modelScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ModelScale { + get { return modelScale_; } + set { + modelScale_ = value; + } + } + + /// <summary>Field number for the "BuffFXScale" field.</summary> + public const int BuffFXScaleFieldNumber = 11; + private int buffFXScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffFXScale { + get { return buffFXScale_; } + set { + buffFXScale_ = value; + } + } + + /// <summary>Field number for the "ColliderScale" field.</summary> + public const int ColliderScaleFieldNumber = 12; + private int colliderScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ColliderScale { + get { return colliderScale_; } + set { + colliderScale_ = value; + } + } + + /// <summary>Field number for the "ForbiddenBehitRot" field.</summary> + public const int ForbiddenBehitRotFieldNumber = 13; + private bool forbiddenBehitRot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ForbiddenBehitRot { + get { return forbiddenBehitRot_; } + set { + forbiddenBehitRot_ = value; + } + } + + /// <summary>Field number for the "EffectScaleValue" field.</summary> + public const int EffectScaleValueFieldNumber = 14; + private int effectScaleValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectScaleValue { + get { return effectScaleValue_; } + set { + effectScaleValue_ = value; + } + } + + /// <summary>Field number for the "TagEffectScaleValue" field.</summary> + public const int TagEffectScaleValueFieldNumber = 15; + private int tagEffectScaleValue_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TagEffectScaleValue { + get { return tagEffectScaleValue_; } + set { + tagEffectScaleValue_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonsterSkin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterSkin 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 (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (HintIcon != other.HintIcon) return false; + if (Model != other.Model) return false; + if (RunAnimationSpd != other.RunAnimationSpd) return false; + if (WalkAnimationSpd != other.WalkAnimationSpd) return false; + if (BarHeight != other.BarHeight) return false; + if (ModelScale != other.ModelScale) return false; + if (BuffFXScale != other.BuffFXScale) return false; + if (ColliderScale != other.ColliderScale) return false; + if (ForbiddenBehitRot != other.ForbiddenBehitRot) return false; + if (EffectScaleValue != other.EffectScaleValue) return false; + if (TagEffectScaleValue != other.TagEffectScaleValue) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (HintIcon.Length != 0) hash ^= HintIcon.GetHashCode(); + if (Model.Length != 0) hash ^= Model.GetHashCode(); + if (RunAnimationSpd != 0) hash ^= RunAnimationSpd.GetHashCode(); + if (WalkAnimationSpd != 0) hash ^= WalkAnimationSpd.GetHashCode(); + if (BarHeight != 0) hash ^= BarHeight.GetHashCode(); + if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); + if (BuffFXScale != 0) hash ^= BuffFXScale.GetHashCode(); + if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode(); + if (ForbiddenBehitRot != false) hash ^= ForbiddenBehitRot.GetHashCode(); + if (EffectScaleValue != 0) hash ^= EffectScaleValue.GetHashCode(); + if (TagEffectScaleValue != 0) hash ^= TagEffectScaleValue.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (HintIcon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(HintIcon); + } + if (Model.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Model); + } + if (RunAnimationSpd != 0) { + output.WriteRawTag(56); + output.WriteInt32(RunAnimationSpd); + } + if (WalkAnimationSpd != 0) { + output.WriteRawTag(64); + output.WriteInt32(WalkAnimationSpd); + } + if (BarHeight != 0) { + output.WriteRawTag(72); + output.WriteInt32(BarHeight); + } + if (ModelScale != 0) { + output.WriteRawTag(80); + output.WriteInt32(ModelScale); + } + if (BuffFXScale != 0) { + output.WriteRawTag(88); + output.WriteInt32(BuffFXScale); + } + if (ColliderScale != 0) { + output.WriteRawTag(96); + output.WriteInt32(ColliderScale); + } + if (ForbiddenBehitRot != false) { + output.WriteRawTag(104); + output.WriteBool(ForbiddenBehitRot); + } + if (EffectScaleValue != 0) { + output.WriteRawTag(112); + output.WriteInt32(EffectScaleValue); + } + if (TagEffectScaleValue != 0) { + output.WriteRawTag(120); + output.WriteInt32(TagEffectScaleValue); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (HintIcon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(HintIcon); + } + if (Model.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Model); + } + if (RunAnimationSpd != 0) { + output.WriteRawTag(56); + output.WriteInt32(RunAnimationSpd); + } + if (WalkAnimationSpd != 0) { + output.WriteRawTag(64); + output.WriteInt32(WalkAnimationSpd); + } + if (BarHeight != 0) { + output.WriteRawTag(72); + output.WriteInt32(BarHeight); + } + if (ModelScale != 0) { + output.WriteRawTag(80); + output.WriteInt32(ModelScale); + } + if (BuffFXScale != 0) { + output.WriteRawTag(88); + output.WriteInt32(BuffFXScale); + } + if (ColliderScale != 0) { + output.WriteRawTag(96); + output.WriteInt32(ColliderScale); + } + if (ForbiddenBehitRot != false) { + output.WriteRawTag(104); + output.WriteBool(ForbiddenBehitRot); + } + if (EffectScaleValue != 0) { + output.WriteRawTag(112); + output.WriteInt32(EffectScaleValue); + } + if (TagEffectScaleValue != 0) { + output.WriteRawTag(120); + output.WriteInt32(TagEffectScaleValue); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (HintIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(HintIcon); + } + if (Model.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); + } + if (RunAnimationSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunAnimationSpd); + } + if (WalkAnimationSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkAnimationSpd); + } + if (BarHeight != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BarHeight); + } + if (ModelScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); + } + if (BuffFXScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffFXScale); + } + if (ColliderScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale); + } + if (ForbiddenBehitRot != false) { + size += 1 + 1; + } + if (EffectScaleValue != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectScaleValue); + } + if (TagEffectScaleValue != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TagEffectScaleValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterSkin other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + 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.HintIcon.Length != 0) { + HintIcon = other.HintIcon; + } + if (other.Model.Length != 0) { + Model = other.Model; + } + if (other.RunAnimationSpd != 0) { + RunAnimationSpd = other.RunAnimationSpd; + } + if (other.WalkAnimationSpd != 0) { + WalkAnimationSpd = other.WalkAnimationSpd; + } + if (other.BarHeight != 0) { + BarHeight = other.BarHeight; + } + if (other.ModelScale != 0) { + ModelScale = other.ModelScale; + } + if (other.BuffFXScale != 0) { + BuffFXScale = other.BuffFXScale; + } + if (other.ColliderScale != 0) { + ColliderScale = other.ColliderScale; + } + if (other.ForbiddenBehitRot != false) { + ForbiddenBehitRot = other.ForbiddenBehitRot; + } + if (other.EffectScaleValue != 0) { + EffectScaleValue = other.EffectScaleValue; + } + if (other.TagEffectScaleValue != 0) { + TagEffectScaleValue = other.TagEffectScaleValue; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + HintIcon = input.ReadString(); + break; + } + case 50: { + Model = input.ReadString(); + break; + } + case 56: { + RunAnimationSpd = input.ReadInt32(); + break; + } + case 64: { + WalkAnimationSpd = input.ReadInt32(); + break; + } + case 72: { + BarHeight = input.ReadInt32(); + break; + } + case 80: { + ModelScale = input.ReadInt32(); + break; + } + case 88: { + BuffFXScale = input.ReadInt32(); + break; + } + case 96: { + ColliderScale = input.ReadInt32(); + break; + } + case 104: { + ForbiddenBehitRot = input.ReadBool(); + break; + } + case 112: { + EffectScaleValue = input.ReadInt32(); + break; + } + case 120: { + TagEffectScaleValue = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + HintIcon = input.ReadString(); + break; + } + case 50: { + Model = input.ReadString(); + break; + } + case 56: { + RunAnimationSpd = input.ReadInt32(); + break; + } + case 64: { + WalkAnimationSpd = input.ReadInt32(); + break; + } + case 72: { + BarHeight = input.ReadInt32(); + break; + } + case 80: { + ModelScale = input.ReadInt32(); + break; + } + case 88: { + BuffFXScale = input.ReadInt32(); + break; + } + case 96: { + ColliderScale = input.ReadInt32(); + break; + } + case 104: { + ForbiddenBehitRot = input.ReadBool(); + break; + } + case 112: { + EffectScaleValue = input.ReadInt32(); + break; + } + case 120: { + TagEffectScaleValue = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterSkin : pb::IMessage<table_MonsterSkin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterSkin> _parser = new pb::MessageParser<table_MonsterSkin>(() => new table_MonsterSkin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterSkin> 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.ClientTableReflection.Descriptor.MessageTypes[281]; } + } + + [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 table_MonsterSkin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterSkin(table_MonsterSkin other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterSkin Clone() { + return new table_MonsterSkin(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterSkin> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterSkin.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterSkin> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterSkin>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterSkin> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterSkin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterSkin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterSkin other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterTeam : pb::IMessage<MonsterTeam> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterTeam> _parser = new pb::MessageParser<MonsterTeam>(() => new MonsterTeam()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterTeam> 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.ClientTableReflection.Descriptor.MessageTypes[282]; } + } + + [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 MonsterTeam() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterTeam(MonsterTeam other) : this() { + id_ = other.id_; + mate0Id_ = other.mate0Id_; + mate1Id_ = other.mate1Id_; + mate2Id_ = other.mate2Id_; + mate3Id_ = other.mate3Id_; + mate4Id_ = other.mate4Id_; + mate5Id_ = other.mate5Id_; + mate6Id_ = other.mate6Id_; + mate7Id_ = other.mate7Id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterTeam Clone() { + return new MonsterTeam(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 "Mate0Id" field.</summary> + public const int Mate0IdFieldNumber = 2; + private int mate0Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate0Id { + get { return mate0Id_; } + set { + mate0Id_ = value; + } + } + + /// <summary>Field number for the "Mate1Id" field.</summary> + public const int Mate1IdFieldNumber = 3; + private int mate1Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate1Id { + get { return mate1Id_; } + set { + mate1Id_ = value; + } + } + + /// <summary>Field number for the "Mate2Id" field.</summary> + public const int Mate2IdFieldNumber = 4; + private int mate2Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate2Id { + get { return mate2Id_; } + set { + mate2Id_ = value; + } + } + + /// <summary>Field number for the "Mate3Id" field.</summary> + public const int Mate3IdFieldNumber = 5; + private int mate3Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate3Id { + get { return mate3Id_; } + set { + mate3Id_ = value; + } + } + + /// <summary>Field number for the "Mate4Id" field.</summary> + public const int Mate4IdFieldNumber = 6; + private int mate4Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate4Id { + get { return mate4Id_; } + set { + mate4Id_ = value; + } + } + + /// <summary>Field number for the "Mate5Id" field.</summary> + public const int Mate5IdFieldNumber = 7; + private int mate5Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate5Id { + get { return mate5Id_; } + set { + mate5Id_ = value; + } + } + + /// <summary>Field number for the "Mate6Id" field.</summary> + public const int Mate6IdFieldNumber = 8; + private int mate6Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate6Id { + get { return mate6Id_; } + set { + mate6Id_ = value; + } + } + + /// <summary>Field number for the "Mate7Id" field.</summary> + public const int Mate7IdFieldNumber = 9; + private int mate7Id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Mate7Id { + get { return mate7Id_; } + set { + mate7Id_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonsterTeam); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterTeam other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Mate0Id != other.Mate0Id) return false; + if (Mate1Id != other.Mate1Id) return false; + if (Mate2Id != other.Mate2Id) return false; + if (Mate3Id != other.Mate3Id) return false; + if (Mate4Id != other.Mate4Id) return false; + if (Mate5Id != other.Mate5Id) return false; + if (Mate6Id != other.Mate6Id) return false; + if (Mate7Id != other.Mate7Id) 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 (Mate0Id != 0) hash ^= Mate0Id.GetHashCode(); + if (Mate1Id != 0) hash ^= Mate1Id.GetHashCode(); + if (Mate2Id != 0) hash ^= Mate2Id.GetHashCode(); + if (Mate3Id != 0) hash ^= Mate3Id.GetHashCode(); + if (Mate4Id != 0) hash ^= Mate4Id.GetHashCode(); + if (Mate5Id != 0) hash ^= Mate5Id.GetHashCode(); + if (Mate6Id != 0) hash ^= Mate6Id.GetHashCode(); + if (Mate7Id != 0) hash ^= Mate7Id.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 (Mate0Id != 0) { + output.WriteRawTag(16); + output.WriteInt32(Mate0Id); + } + if (Mate1Id != 0) { + output.WriteRawTag(24); + output.WriteInt32(Mate1Id); + } + if (Mate2Id != 0) { + output.WriteRawTag(32); + output.WriteInt32(Mate2Id); + } + if (Mate3Id != 0) { + output.WriteRawTag(40); + output.WriteInt32(Mate3Id); + } + if (Mate4Id != 0) { + output.WriteRawTag(48); + output.WriteInt32(Mate4Id); + } + if (Mate5Id != 0) { + output.WriteRawTag(56); + output.WriteInt32(Mate5Id); + } + if (Mate6Id != 0) { + output.WriteRawTag(64); + output.WriteInt32(Mate6Id); + } + if (Mate7Id != 0) { + output.WriteRawTag(72); + output.WriteInt32(Mate7Id); + } + 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 (Mate0Id != 0) { + output.WriteRawTag(16); + output.WriteInt32(Mate0Id); + } + if (Mate1Id != 0) { + output.WriteRawTag(24); + output.WriteInt32(Mate1Id); + } + if (Mate2Id != 0) { + output.WriteRawTag(32); + output.WriteInt32(Mate2Id); + } + if (Mate3Id != 0) { + output.WriteRawTag(40); + output.WriteInt32(Mate3Id); + } + if (Mate4Id != 0) { + output.WriteRawTag(48); + output.WriteInt32(Mate4Id); + } + if (Mate5Id != 0) { + output.WriteRawTag(56); + output.WriteInt32(Mate5Id); + } + if (Mate6Id != 0) { + output.WriteRawTag(64); + output.WriteInt32(Mate6Id); + } + if (Mate7Id != 0) { + output.WriteRawTag(72); + output.WriteInt32(Mate7Id); + } + 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 (Mate0Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate0Id); + } + if (Mate1Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate1Id); + } + if (Mate2Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate2Id); + } + if (Mate3Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate3Id); + } + if (Mate4Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate4Id); + } + if (Mate5Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate5Id); + } + if (Mate6Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate6Id); + } + if (Mate7Id != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mate7Id); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterTeam other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Mate0Id != 0) { + Mate0Id = other.Mate0Id; + } + if (other.Mate1Id != 0) { + Mate1Id = other.Mate1Id; + } + if (other.Mate2Id != 0) { + Mate2Id = other.Mate2Id; + } + if (other.Mate3Id != 0) { + Mate3Id = other.Mate3Id; + } + if (other.Mate4Id != 0) { + Mate4Id = other.Mate4Id; + } + if (other.Mate5Id != 0) { + Mate5Id = other.Mate5Id; + } + if (other.Mate6Id != 0) { + Mate6Id = other.Mate6Id; + } + if (other.Mate7Id != 0) { + Mate7Id = other.Mate7Id; + } + _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: { + Mate0Id = input.ReadInt32(); + break; + } + case 24: { + Mate1Id = input.ReadInt32(); + break; + } + case 32: { + Mate2Id = input.ReadInt32(); + break; + } + case 40: { + Mate3Id = input.ReadInt32(); + break; + } + case 48: { + Mate4Id = input.ReadInt32(); + break; + } + case 56: { + Mate5Id = input.ReadInt32(); + break; + } + case 64: { + Mate6Id = input.ReadInt32(); + break; + } + case 72: { + Mate7Id = 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: { + Mate0Id = input.ReadInt32(); + break; + } + case 24: { + Mate1Id = input.ReadInt32(); + break; + } + case 32: { + Mate2Id = input.ReadInt32(); + break; + } + case 40: { + Mate3Id = input.ReadInt32(); + break; + } + case 48: { + Mate4Id = input.ReadInt32(); + break; + } + case 56: { + Mate5Id = input.ReadInt32(); + break; + } + case 64: { + Mate6Id = input.ReadInt32(); + break; + } + case 72: { + Mate7Id = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterTeam : pb::IMessage<table_MonsterTeam> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterTeam> _parser = new pb::MessageParser<table_MonsterTeam>(() => new table_MonsterTeam()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterTeam> 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.ClientTableReflection.Descriptor.MessageTypes[283]; } + } + + [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 table_MonsterTeam() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterTeam(table_MonsterTeam other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterTeam Clone() { + return new table_MonsterTeam(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterTeam> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterTeam.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterTeam> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterTeam>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterTeam> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterTeam); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterTeam other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterTeam other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterValueTemplete : pb::IMessage<MonsterValueTemplete> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterValueTemplete> _parser = new pb::MessageParser<MonsterValueTemplete>(() => new MonsterValueTemplete()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterValueTemplete> 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.ClientTableReflection.Descriptor.MessageTypes[284]; } + } + + [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 MonsterValueTemplete() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterValueTemplete(MonsterValueTemplete other) : this() { + id_ = other.id_; + templateId_ = other.templateId_; + name_ = other.name_; + lv_ = other.lv_; + hp_ = other.hp_; + atk_ = other.atk_; + def_ = other.def_; + critRate_ = other.critRate_; + normalCritRate_ = other.normalCritRate_; + skillCritRate_ = other.skillCritRate_; + ultraCritRate_ = other.ultraCritRate_; + markCritRate_ = other.markCritRate_; + summonCritRate_ = other.summonCritRate_; + projectileCritRate_ = other.projectileCritRate_; + otherCritRate_ = other.otherCritRate_; + critResistance_ = other.critResistance_; + critPower_ = other.critPower_; + normalCritPower_ = other.normalCritPower_; + skillCritPower_ = other.skillCritPower_; + ultraCritPower_ = other.ultraCritPower_; + markCritPower_ = other.markCritPower_; + summonCritPower_ = other.summonCritPower_; + projectileCritPower_ = other.projectileCritPower_; + otherCritPower_ = other.otherCritPower_; + hitRate_ = other.hitRate_; + evd_ = other.evd_; + atkSpd_ = other.atkSpd_; + defPierce_ = other.defPierce_; + defIgnore_ = other.defIgnore_; + wEP_ = other.wEP_; + fEP_ = other.fEP_; + sEP_ = other.sEP_; + aEP_ = other.aEP_; + lEP_ = other.lEP_; + dEP_ = other.dEP_; + wEI_ = other.wEI_; + fEI_ = other.fEI_; + sEI_ = other.sEI_; + aEI_ = other.aEI_; + lEI_ = other.lEI_; + dEI_ = other.dEI_; + wEE_ = other.wEE_; + fEE_ = other.fEE_; + sEE_ = other.sEE_; + aEE_ = other.aEE_; + lEE_ = other.lEE_; + dEE_ = other.dEE_; + wER_ = other.wER_; + fER_ = other.fER_; + sER_ = other.sER_; + aER_ = other.aER_; + lER_ = other.lER_; + dER_ = other.dER_; + toughness_ = other.toughness_; + suppress_ = other.suppress_; + rCDMARKDMG_ = other.rCDMARKDMG_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterValueTemplete Clone() { + return new MonsterValueTemplete(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private long id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "TemplateId" field.</summary> + public const int TemplateIdFieldNumber = 2; + private int templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 "Lv" field.</summary> + public const int LvFieldNumber = 4; + private int lv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Lv { + get { return lv_; } + set { + lv_ = value; + } + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 5; + private int hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + /// <summary>Field number for the "Atk" field.</summary> + public const int AtkFieldNumber = 6; + private int atk_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Atk { + get { return atk_; } + set { + atk_ = value; + } + } + + /// <summary>Field number for the "Def" field.</summary> + public const int DefFieldNumber = 7; + private int def_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Def { + get { return def_; } + set { + def_ = value; + } + } + + /// <summary>Field number for the "CritRate" field.</summary> + public const int CritRateFieldNumber = 8; + private int critRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritRate { + get { return critRate_; } + set { + critRate_ = value; + } + } + + /// <summary>Field number for the "NormalCritRate" field.</summary> + public const int NormalCritRateFieldNumber = 9; + private int normalCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalCritRate { + get { return normalCritRate_; } + set { + normalCritRate_ = value; + } + } + + /// <summary>Field number for the "SkillCritRate" field.</summary> + public const int SkillCritRateFieldNumber = 10; + private int skillCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillCritRate { + get { return skillCritRate_; } + set { + skillCritRate_ = value; + } + } + + /// <summary>Field number for the "UltraCritRate" field.</summary> + public const int UltraCritRateFieldNumber = 11; + private int ultraCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UltraCritRate { + get { return ultraCritRate_; } + set { + ultraCritRate_ = value; + } + } + + /// <summary>Field number for the "MarkCritRate" field.</summary> + public const int MarkCritRateFieldNumber = 12; + private int markCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MarkCritRate { + get { return markCritRate_; } + set { + markCritRate_ = value; + } + } + + /// <summary>Field number for the "SummonCritRate" field.</summary> + public const int SummonCritRateFieldNumber = 13; + private int summonCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SummonCritRate { + get { return summonCritRate_; } + set { + summonCritRate_ = value; + } + } + + /// <summary>Field number for the "ProjectileCritRate" field.</summary> + public const int ProjectileCritRateFieldNumber = 14; + private int projectileCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProjectileCritRate { + get { return projectileCritRate_; } + set { + projectileCritRate_ = value; + } + } + + /// <summary>Field number for the "OtherCritRate" field.</summary> + public const int OtherCritRateFieldNumber = 15; + private int otherCritRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OtherCritRate { + get { return otherCritRate_; } + set { + otherCritRate_ = value; + } + } + + /// <summary>Field number for the "CritResistance" field.</summary> + public const int CritResistanceFieldNumber = 16; + private int critResistance_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritResistance { + get { return critResistance_; } + set { + critResistance_ = value; + } + } + + /// <summary>Field number for the "CritPower" field.</summary> + public const int CritPowerFieldNumber = 17; + private int critPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritPower { + get { return critPower_; } + set { + critPower_ = value; + } + } + + /// <summary>Field number for the "NormalCritPower" field.</summary> + public const int NormalCritPowerFieldNumber = 18; + private int normalCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalCritPower { + get { return normalCritPower_; } + set { + normalCritPower_ = value; + } + } + + /// <summary>Field number for the "SkillCritPower" field.</summary> + public const int SkillCritPowerFieldNumber = 19; + private int skillCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillCritPower { + get { return skillCritPower_; } + set { + skillCritPower_ = value; + } + } + + /// <summary>Field number for the "UltraCritPower" field.</summary> + public const int UltraCritPowerFieldNumber = 20; + private int ultraCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UltraCritPower { + get { return ultraCritPower_; } + set { + ultraCritPower_ = value; + } + } + + /// <summary>Field number for the "MarkCritPower" field.</summary> + public const int MarkCritPowerFieldNumber = 21; + private int markCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MarkCritPower { + get { return markCritPower_; } + set { + markCritPower_ = value; + } + } + + /// <summary>Field number for the "SummonCritPower" field.</summary> + public const int SummonCritPowerFieldNumber = 22; + private int summonCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SummonCritPower { + get { return summonCritPower_; } + set { + summonCritPower_ = value; + } + } + + /// <summary>Field number for the "ProjectileCritPower" field.</summary> + public const int ProjectileCritPowerFieldNumber = 23; + private int projectileCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProjectileCritPower { + get { return projectileCritPower_; } + set { + projectileCritPower_ = value; + } + } + + /// <summary>Field number for the "OtherCritPower" field.</summary> + public const int OtherCritPowerFieldNumber = 24; + private int otherCritPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OtherCritPower { + get { return otherCritPower_; } + set { + otherCritPower_ = value; + } + } + + /// <summary>Field number for the "HitRate" field.</summary> + public const int HitRateFieldNumber = 25; + private int hitRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HitRate { + get { return hitRate_; } + set { + hitRate_ = value; + } + } + + /// <summary>Field number for the "Evd" field.</summary> + public const int EvdFieldNumber = 26; + private int evd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Evd { + get { return evd_; } + set { + evd_ = value; + } + } + + /// <summary>Field number for the "AtkSpd" field.</summary> + public const int AtkSpdFieldNumber = 27; + private int atkSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AtkSpd { + get { return atkSpd_; } + set { + atkSpd_ = value; + } + } + + /// <summary>Field number for the "DefPierce" field.</summary> + public const int DefPierceFieldNumber = 28; + private int defPierce_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefPierce { + get { return defPierce_; } + set { + defPierce_ = value; + } + } + + /// <summary>Field number for the "DefIgnore" field.</summary> + public const int DefIgnoreFieldNumber = 29; + private int defIgnore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DefIgnore { + get { return defIgnore_; } + set { + defIgnore_ = value; + } + } + + /// <summary>Field number for the "WEP" field.</summary> + public const int WEPFieldNumber = 30; + private int wEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEP { + get { return wEP_; } + set { + wEP_ = value; + } + } + + /// <summary>Field number for the "FEP" field.</summary> + public const int FEPFieldNumber = 31; + private int fEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEP { + get { return fEP_; } + set { + fEP_ = value; + } + } + + /// <summary>Field number for the "SEP" field.</summary> + public const int SEPFieldNumber = 32; + private int sEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEP { + get { return sEP_; } + set { + sEP_ = value; + } + } + + /// <summary>Field number for the "AEP" field.</summary> + public const int AEPFieldNumber = 33; + private int aEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEP { + get { return aEP_; } + set { + aEP_ = value; + } + } + + /// <summary>Field number for the "LEP" field.</summary> + public const int LEPFieldNumber = 34; + private int lEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEP { + get { return lEP_; } + set { + lEP_ = value; + } + } + + /// <summary>Field number for the "DEP" field.</summary> + public const int DEPFieldNumber = 35; + private int dEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEP { + get { return dEP_; } + set { + dEP_ = value; + } + } + + /// <summary>Field number for the "WEI" field.</summary> + public const int WEIFieldNumber = 36; + private int wEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEI { + get { return wEI_; } + set { + wEI_ = value; + } + } + + /// <summary>Field number for the "FEI" field.</summary> + public const int FEIFieldNumber = 37; + private int fEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEI { + get { return fEI_; } + set { + fEI_ = value; + } + } + + /// <summary>Field number for the "SEI" field.</summary> + public const int SEIFieldNumber = 38; + private int sEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEI { + get { return sEI_; } + set { + sEI_ = value; + } + } + + /// <summary>Field number for the "AEI" field.</summary> + public const int AEIFieldNumber = 39; + private int aEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEI { + get { return aEI_; } + set { + aEI_ = value; + } + } + + /// <summary>Field number for the "LEI" field.</summary> + public const int LEIFieldNumber = 40; + private int lEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEI { + get { return lEI_; } + set { + lEI_ = value; + } + } + + /// <summary>Field number for the "DEI" field.</summary> + public const int DEIFieldNumber = 41; + private int dEI_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEI { + get { return dEI_; } + set { + dEI_ = value; + } + } + + /// <summary>Field number for the "WEE" field.</summary> + public const int WEEFieldNumber = 42; + private int wEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEE { + get { return wEE_; } + set { + wEE_ = value; + } + } + + /// <summary>Field number for the "FEE" field.</summary> + public const int FEEFieldNumber = 43; + private int fEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEE { + get { return fEE_; } + set { + fEE_ = value; + } + } + + /// <summary>Field number for the "SEE" field.</summary> + public const int SEEFieldNumber = 44; + private int sEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEE { + get { return sEE_; } + set { + sEE_ = value; + } + } + + /// <summary>Field number for the "AEE" field.</summary> + public const int AEEFieldNumber = 45; + private int aEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEE { + get { return aEE_; } + set { + aEE_ = value; + } + } + + /// <summary>Field number for the "LEE" field.</summary> + public const int LEEFieldNumber = 46; + private int lEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEE { + get { return lEE_; } + set { + lEE_ = value; + } + } + + /// <summary>Field number for the "DEE" field.</summary> + public const int DEEFieldNumber = 47; + private int dEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEE { + get { return dEE_; } + set { + dEE_ = value; + } + } + + /// <summary>Field number for the "WER" field.</summary> + public const int WERFieldNumber = 48; + private int wER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WER { + get { return wER_; } + set { + wER_ = value; + } + } + + /// <summary>Field number for the "FER" field.</summary> + public const int FERFieldNumber = 49; + private int fER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FER { + get { return fER_; } + set { + fER_ = value; + } + } + + /// <summary>Field number for the "SER" field.</summary> + public const int SERFieldNumber = 50; + private int sER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SER { + get { return sER_; } + set { + sER_ = value; + } + } + + /// <summary>Field number for the "AER" field.</summary> + public const int AERFieldNumber = 51; + private int aER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AER { + get { return aER_; } + set { + aER_ = value; + } + } + + /// <summary>Field number for the "LER" field.</summary> + public const int LERFieldNumber = 52; + private int lER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LER { + get { return lER_; } + set { + lER_ = value; + } + } + + /// <summary>Field number for the "DER" field.</summary> + public const int DERFieldNumber = 53; + private int dER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DER { + get { return dER_; } + set { + dER_ = value; + } + } + + /// <summary>Field number for the "Toughness" field.</summary> + public const int ToughnessFieldNumber = 54; + private int toughness_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Toughness { + get { return toughness_; } + set { + toughness_ = value; + } + } + + /// <summary>Field number for the "Suppress" field.</summary> + public const int SuppressFieldNumber = 55; + private int suppress_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Suppress { + get { return suppress_; } + set { + suppress_ = value; + } + } + + /// <summary>Field number for the "RCDMARKDMG" field.</summary> + public const int RCDMARKDMGFieldNumber = 56; + private int rCDMARKDMG_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RCDMARKDMG { + get { return rCDMARKDMG_; } + set { + rCDMARKDMG_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonsterValueTemplete); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterValueTemplete other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TemplateId != other.TemplateId) return false; + if (Name != other.Name) return false; + if (Lv != other.Lv) return false; + if (Hp != other.Hp) return false; + if (Atk != other.Atk) return false; + if (Def != other.Def) return false; + if (CritRate != other.CritRate) return false; + if (NormalCritRate != other.NormalCritRate) return false; + if (SkillCritRate != other.SkillCritRate) return false; + if (UltraCritRate != other.UltraCritRate) return false; + if (MarkCritRate != other.MarkCritRate) return false; + if (SummonCritRate != other.SummonCritRate) return false; + if (ProjectileCritRate != other.ProjectileCritRate) return false; + if (OtherCritRate != other.OtherCritRate) return false; + if (CritResistance != other.CritResistance) return false; + if (CritPower != other.CritPower) return false; + if (NormalCritPower != other.NormalCritPower) return false; + if (SkillCritPower != other.SkillCritPower) return false; + if (UltraCritPower != other.UltraCritPower) return false; + if (MarkCritPower != other.MarkCritPower) return false; + if (SummonCritPower != other.SummonCritPower) return false; + if (ProjectileCritPower != other.ProjectileCritPower) return false; + if (OtherCritPower != other.OtherCritPower) return false; + if (HitRate != other.HitRate) return false; + if (Evd != other.Evd) return false; + if (AtkSpd != other.AtkSpd) return false; + if (DefPierce != other.DefPierce) return false; + if (DefIgnore != other.DefIgnore) return false; + if (WEP != other.WEP) return false; + if (FEP != other.FEP) return false; + if (SEP != other.SEP) return false; + if (AEP != other.AEP) return false; + if (LEP != other.LEP) return false; + if (DEP != other.DEP) return false; + if (WEI != other.WEI) return false; + if (FEI != other.FEI) return false; + if (SEI != other.SEI) return false; + if (AEI != other.AEI) return false; + if (LEI != other.LEI) return false; + if (DEI != other.DEI) return false; + if (WEE != other.WEE) return false; + if (FEE != other.FEE) return false; + if (SEE != other.SEE) return false; + if (AEE != other.AEE) return false; + if (LEE != other.LEE) return false; + if (DEE != other.DEE) return false; + if (WER != other.WER) return false; + if (FER != other.FER) return false; + if (SER != other.SER) return false; + if (AER != other.AER) return false; + if (LER != other.LER) return false; + if (DER != other.DER) return false; + if (Toughness != other.Toughness) return false; + if (Suppress != other.Suppress) return false; + if (RCDMARKDMG != other.RCDMARKDMG) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0L) hash ^= Id.GetHashCode(); + if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Lv != 0) hash ^= Lv.GetHashCode(); + if (Hp != 0) hash ^= Hp.GetHashCode(); + if (Atk != 0) hash ^= Atk.GetHashCode(); + if (Def != 0) hash ^= Def.GetHashCode(); + if (CritRate != 0) hash ^= CritRate.GetHashCode(); + if (NormalCritRate != 0) hash ^= NormalCritRate.GetHashCode(); + if (SkillCritRate != 0) hash ^= SkillCritRate.GetHashCode(); + if (UltraCritRate != 0) hash ^= UltraCritRate.GetHashCode(); + if (MarkCritRate != 0) hash ^= MarkCritRate.GetHashCode(); + if (SummonCritRate != 0) hash ^= SummonCritRate.GetHashCode(); + if (ProjectileCritRate != 0) hash ^= ProjectileCritRate.GetHashCode(); + if (OtherCritRate != 0) hash ^= OtherCritRate.GetHashCode(); + if (CritResistance != 0) hash ^= CritResistance.GetHashCode(); + if (CritPower != 0) hash ^= CritPower.GetHashCode(); + if (NormalCritPower != 0) hash ^= NormalCritPower.GetHashCode(); + if (SkillCritPower != 0) hash ^= SkillCritPower.GetHashCode(); + if (UltraCritPower != 0) hash ^= UltraCritPower.GetHashCode(); + if (MarkCritPower != 0) hash ^= MarkCritPower.GetHashCode(); + if (SummonCritPower != 0) hash ^= SummonCritPower.GetHashCode(); + if (ProjectileCritPower != 0) hash ^= ProjectileCritPower.GetHashCode(); + if (OtherCritPower != 0) hash ^= OtherCritPower.GetHashCode(); + if (HitRate != 0) hash ^= HitRate.GetHashCode(); + if (Evd != 0) hash ^= Evd.GetHashCode(); + if (AtkSpd != 0) hash ^= AtkSpd.GetHashCode(); + if (DefPierce != 0) hash ^= DefPierce.GetHashCode(); + if (DefIgnore != 0) hash ^= DefIgnore.GetHashCode(); + if (WEP != 0) hash ^= WEP.GetHashCode(); + if (FEP != 0) hash ^= FEP.GetHashCode(); + if (SEP != 0) hash ^= SEP.GetHashCode(); + if (AEP != 0) hash ^= AEP.GetHashCode(); + if (LEP != 0) hash ^= LEP.GetHashCode(); + if (DEP != 0) hash ^= DEP.GetHashCode(); + if (WEI != 0) hash ^= WEI.GetHashCode(); + if (FEI != 0) hash ^= FEI.GetHashCode(); + if (SEI != 0) hash ^= SEI.GetHashCode(); + if (AEI != 0) hash ^= AEI.GetHashCode(); + if (LEI != 0) hash ^= LEI.GetHashCode(); + if (DEI != 0) hash ^= DEI.GetHashCode(); + if (WEE != 0) hash ^= WEE.GetHashCode(); + if (FEE != 0) hash ^= FEE.GetHashCode(); + if (SEE != 0) hash ^= SEE.GetHashCode(); + if (AEE != 0) hash ^= AEE.GetHashCode(); + if (LEE != 0) hash ^= LEE.GetHashCode(); + if (DEE != 0) hash ^= DEE.GetHashCode(); + if (WER != 0) hash ^= WER.GetHashCode(); + if (FER != 0) hash ^= FER.GetHashCode(); + if (SER != 0) hash ^= SER.GetHashCode(); + if (AER != 0) hash ^= AER.GetHashCode(); + if (LER != 0) hash ^= LER.GetHashCode(); + if (DER != 0) hash ^= DER.GetHashCode(); + if (Toughness != 0) hash ^= Toughness.GetHashCode(); + if (Suppress != 0) hash ^= Suppress.GetHashCode(); + if (RCDMARKDMG != 0) hash ^= RCDMARKDMG.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (TemplateId != 0) { + output.WriteRawTag(16); + output.WriteInt32(TemplateId); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Lv != 0) { + output.WriteRawTag(32); + output.WriteInt32(Lv); + } + if (Hp != 0) { + output.WriteRawTag(40); + output.WriteInt32(Hp); + } + if (Atk != 0) { + output.WriteRawTag(48); + output.WriteInt32(Atk); + } + if (Def != 0) { + output.WriteRawTag(56); + output.WriteInt32(Def); + } + if (CritRate != 0) { + output.WriteRawTag(64); + output.WriteInt32(CritRate); + } + if (NormalCritRate != 0) { + output.WriteRawTag(72); + output.WriteInt32(NormalCritRate); + } + if (SkillCritRate != 0) { + output.WriteRawTag(80); + output.WriteInt32(SkillCritRate); + } + if (UltraCritRate != 0) { + output.WriteRawTag(88); + output.WriteInt32(UltraCritRate); + } + if (MarkCritRate != 0) { + output.WriteRawTag(96); + output.WriteInt32(MarkCritRate); + } + if (SummonCritRate != 0) { + output.WriteRawTag(104); + output.WriteInt32(SummonCritRate); + } + if (ProjectileCritRate != 0) { + output.WriteRawTag(112); + output.WriteInt32(ProjectileCritRate); + } + if (OtherCritRate != 0) { + output.WriteRawTag(120); + output.WriteInt32(OtherCritRate); + } + if (CritResistance != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(CritResistance); + } + if (CritPower != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(CritPower); + } + if (NormalCritPower != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NormalCritPower); + } + if (SkillCritPower != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(SkillCritPower); + } + if (UltraCritPower != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(UltraCritPower); + } + if (MarkCritPower != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(MarkCritPower); + } + if (SummonCritPower != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(SummonCritPower); + } + if (ProjectileCritPower != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ProjectileCritPower); + } + if (OtherCritPower != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(OtherCritPower); + } + if (HitRate != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(HitRate); + } + if (Evd != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(Evd); + } + if (AtkSpd != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(AtkSpd); + } + if (DefPierce != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(DefPierce); + } + if (DefIgnore != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(DefIgnore); + } + if (WEP != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(WEP); + } + if (FEP != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(FEP); + } + if (SEP != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(SEP); + } + if (AEP != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(AEP); + } + if (LEP != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(LEP); + } + if (DEP != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(DEP); + } + if (WEI != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(WEI); + } + if (FEI != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(FEI); + } + if (SEI != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(SEI); + } + if (AEI != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(AEI); + } + if (LEI != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(LEI); + } + if (DEI != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(DEI); + } + if (WEE != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(WEE); + } + if (FEE != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(FEE); + } + if (SEE != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(SEE); + } + if (AEE != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(AEE); + } + if (LEE != 0) { + output.WriteRawTag(240, 2); + output.WriteInt32(LEE); + } + if (DEE != 0) { + output.WriteRawTag(248, 2); + output.WriteInt32(DEE); + } + if (WER != 0) { + output.WriteRawTag(128, 3); + output.WriteInt32(WER); + } + if (FER != 0) { + output.WriteRawTag(136, 3); + output.WriteInt32(FER); + } + if (SER != 0) { + output.WriteRawTag(144, 3); + output.WriteInt32(SER); + } + if (AER != 0) { + output.WriteRawTag(152, 3); + output.WriteInt32(AER); + } + if (LER != 0) { + output.WriteRawTag(160, 3); + output.WriteInt32(LER); + } + if (DER != 0) { + output.WriteRawTag(168, 3); + output.WriteInt32(DER); + } + if (Toughness != 0) { + output.WriteRawTag(176, 3); + output.WriteInt32(Toughness); + } + if (Suppress != 0) { + output.WriteRawTag(184, 3); + output.WriteInt32(Suppress); + } + if (RCDMARKDMG != 0) { + output.WriteRawTag(192, 3); + output.WriteInt32(RCDMARKDMG); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (TemplateId != 0) { + output.WriteRawTag(16); + output.WriteInt32(TemplateId); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Lv != 0) { + output.WriteRawTag(32); + output.WriteInt32(Lv); + } + if (Hp != 0) { + output.WriteRawTag(40); + output.WriteInt32(Hp); + } + if (Atk != 0) { + output.WriteRawTag(48); + output.WriteInt32(Atk); + } + if (Def != 0) { + output.WriteRawTag(56); + output.WriteInt32(Def); + } + if (CritRate != 0) { + output.WriteRawTag(64); + output.WriteInt32(CritRate); + } + if (NormalCritRate != 0) { + output.WriteRawTag(72); + output.WriteInt32(NormalCritRate); + } + if (SkillCritRate != 0) { + output.WriteRawTag(80); + output.WriteInt32(SkillCritRate); + } + if (UltraCritRate != 0) { + output.WriteRawTag(88); + output.WriteInt32(UltraCritRate); + } + if (MarkCritRate != 0) { + output.WriteRawTag(96); + output.WriteInt32(MarkCritRate); + } + if (SummonCritRate != 0) { + output.WriteRawTag(104); + output.WriteInt32(SummonCritRate); + } + if (ProjectileCritRate != 0) { + output.WriteRawTag(112); + output.WriteInt32(ProjectileCritRate); + } + if (OtherCritRate != 0) { + output.WriteRawTag(120); + output.WriteInt32(OtherCritRate); + } + if (CritResistance != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(CritResistance); + } + if (CritPower != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(CritPower); + } + if (NormalCritPower != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NormalCritPower); + } + if (SkillCritPower != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(SkillCritPower); + } + if (UltraCritPower != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(UltraCritPower); + } + if (MarkCritPower != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(MarkCritPower); + } + if (SummonCritPower != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(SummonCritPower); + } + if (ProjectileCritPower != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ProjectileCritPower); + } + if (OtherCritPower != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(OtherCritPower); + } + if (HitRate != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(HitRate); + } + if (Evd != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(Evd); + } + if (AtkSpd != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(AtkSpd); + } + if (DefPierce != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(DefPierce); + } + if (DefIgnore != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(DefIgnore); + } + if (WEP != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(WEP); + } + if (FEP != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(FEP); + } + if (SEP != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(SEP); + } + if (AEP != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(AEP); + } + if (LEP != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(LEP); + } + if (DEP != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(DEP); + } + if (WEI != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(WEI); + } + if (FEI != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(FEI); + } + if (SEI != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(SEI); + } + if (AEI != 0) { + output.WriteRawTag(184, 2); + output.WriteInt32(AEI); + } + if (LEI != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(LEI); + } + if (DEI != 0) { + output.WriteRawTag(200, 2); + output.WriteInt32(DEI); + } + if (WEE != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(WEE); + } + if (FEE != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(FEE); + } + if (SEE != 0) { + output.WriteRawTag(224, 2); + output.WriteInt32(SEE); + } + if (AEE != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(AEE); + } + if (LEE != 0) { + output.WriteRawTag(240, 2); + output.WriteInt32(LEE); + } + if (DEE != 0) { + output.WriteRawTag(248, 2); + output.WriteInt32(DEE); + } + if (WER != 0) { + output.WriteRawTag(128, 3); + output.WriteInt32(WER); + } + if (FER != 0) { + output.WriteRawTag(136, 3); + output.WriteInt32(FER); + } + if (SER != 0) { + output.WriteRawTag(144, 3); + output.WriteInt32(SER); + } + if (AER != 0) { + output.WriteRawTag(152, 3); + output.WriteInt32(AER); + } + if (LER != 0) { + output.WriteRawTag(160, 3); + output.WriteInt32(LER); + } + if (DER != 0) { + output.WriteRawTag(168, 3); + output.WriteInt32(DER); + } + if (Toughness != 0) { + output.WriteRawTag(176, 3); + output.WriteInt32(Toughness); + } + if (Suppress != 0) { + output.WriteRawTag(184, 3); + output.WriteInt32(Suppress); + } + if (RCDMARKDMG != 0) { + output.WriteRawTag(192, 3); + output.WriteInt32(RCDMARKDMG); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); + } + if (TemplateId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Lv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lv); + } + if (Hp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hp); + } + if (Atk != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Atk); + } + if (Def != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Def); + } + if (CritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CritRate); + } + if (NormalCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalCritRate); + } + if (SkillCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillCritRate); + } + if (UltraCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UltraCritRate); + } + if (MarkCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MarkCritRate); + } + if (SummonCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SummonCritRate); + } + if (ProjectileCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritRate); + } + if (OtherCritRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OtherCritRate); + } + if (CritResistance != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritResistance); + } + if (CritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritPower); + } + if (NormalCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalCritPower); + } + if (SkillCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkillCritPower); + } + if (UltraCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(UltraCritPower); + } + if (MarkCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MarkCritPower); + } + if (SummonCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SummonCritPower); + } + if (ProjectileCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCritPower); + } + if (OtherCritPower != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(OtherCritPower); + } + if (HitRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HitRate); + } + if (Evd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Evd); + } + if (AtkSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AtkSpd); + } + if (DefPierce != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefPierce); + } + if (DefIgnore != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefIgnore); + } + if (WEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); + } + if (FEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); + } + if (SEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); + } + if (AEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); + } + if (LEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); + } + if (DEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); + } + if (WEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEI); + } + if (FEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEI); + } + if (SEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEI); + } + if (AEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEI); + } + if (LEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEI); + } + if (DEI != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEI); + } + if (WEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); + } + if (FEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); + } + if (SEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); + } + if (AEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); + } + if (LEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); + } + if (DEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); + } + if (WER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); + } + if (FER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); + } + if (SER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); + } + if (AER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); + } + if (LER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); + } + if (DER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); + } + if (Toughness != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Toughness); + } + if (Suppress != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Suppress); + } + if (RCDMARKDMG != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RCDMARKDMG); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterValueTemplete other) { + if (other == null) { + return; + } + if (other.Id != 0L) { + Id = other.Id; + } + if (other.TemplateId != 0) { + TemplateId = other.TemplateId; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Lv != 0) { + Lv = other.Lv; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + if (other.Atk != 0) { + Atk = other.Atk; + } + if (other.Def != 0) { + Def = other.Def; + } + if (other.CritRate != 0) { + CritRate = other.CritRate; + } + if (other.NormalCritRate != 0) { + NormalCritRate = other.NormalCritRate; + } + if (other.SkillCritRate != 0) { + SkillCritRate = other.SkillCritRate; + } + if (other.UltraCritRate != 0) { + UltraCritRate = other.UltraCritRate; + } + if (other.MarkCritRate != 0) { + MarkCritRate = other.MarkCritRate; + } + if (other.SummonCritRate != 0) { + SummonCritRate = other.SummonCritRate; + } + if (other.ProjectileCritRate != 0) { + ProjectileCritRate = other.ProjectileCritRate; + } + if (other.OtherCritRate != 0) { + OtherCritRate = other.OtherCritRate; + } + if (other.CritResistance != 0) { + CritResistance = other.CritResistance; + } + if (other.CritPower != 0) { + CritPower = other.CritPower; + } + if (other.NormalCritPower != 0) { + NormalCritPower = other.NormalCritPower; + } + if (other.SkillCritPower != 0) { + SkillCritPower = other.SkillCritPower; + } + if (other.UltraCritPower != 0) { + UltraCritPower = other.UltraCritPower; + } + if (other.MarkCritPower != 0) { + MarkCritPower = other.MarkCritPower; + } + if (other.SummonCritPower != 0) { + SummonCritPower = other.SummonCritPower; + } + if (other.ProjectileCritPower != 0) { + ProjectileCritPower = other.ProjectileCritPower; + } + if (other.OtherCritPower != 0) { + OtherCritPower = other.OtherCritPower; + } + if (other.HitRate != 0) { + HitRate = other.HitRate; + } + if (other.Evd != 0) { + Evd = other.Evd; + } + if (other.AtkSpd != 0) { + AtkSpd = other.AtkSpd; + } + if (other.DefPierce != 0) { + DefPierce = other.DefPierce; + } + if (other.DefIgnore != 0) { + DefIgnore = other.DefIgnore; + } + if (other.WEP != 0) { + WEP = other.WEP; + } + if (other.FEP != 0) { + FEP = other.FEP; + } + if (other.SEP != 0) { + SEP = other.SEP; + } + if (other.AEP != 0) { + AEP = other.AEP; + } + if (other.LEP != 0) { + LEP = other.LEP; + } + if (other.DEP != 0) { + DEP = other.DEP; + } + if (other.WEI != 0) { + WEI = other.WEI; + } + if (other.FEI != 0) { + FEI = other.FEI; + } + if (other.SEI != 0) { + SEI = other.SEI; + } + if (other.AEI != 0) { + AEI = other.AEI; + } + if (other.LEI != 0) { + LEI = other.LEI; + } + if (other.DEI != 0) { + DEI = other.DEI; + } + if (other.WEE != 0) { + WEE = other.WEE; + } + if (other.FEE != 0) { + FEE = other.FEE; + } + if (other.SEE != 0) { + SEE = other.SEE; + } + if (other.AEE != 0) { + AEE = other.AEE; + } + if (other.LEE != 0) { + LEE = other.LEE; + } + if (other.DEE != 0) { + DEE = other.DEE; + } + if (other.WER != 0) { + WER = other.WER; + } + if (other.FER != 0) { + FER = other.FER; + } + if (other.SER != 0) { + SER = other.SER; + } + if (other.AER != 0) { + AER = other.AER; + } + if (other.LER != 0) { + LER = other.LER; + } + if (other.DER != 0) { + DER = other.DER; + } + if (other.Toughness != 0) { + Toughness = other.Toughness; + } + if (other.Suppress != 0) { + Suppress = other.Suppress; + } + if (other.RCDMARKDMG != 0) { + RCDMARKDMG = other.RCDMARKDMG; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadInt64(); + break; + } + case 16: { + TemplateId = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + Lv = input.ReadInt32(); + break; + } + case 40: { + Hp = input.ReadInt32(); + break; + } + case 48: { + Atk = input.ReadInt32(); + break; + } + case 56: { + Def = input.ReadInt32(); + break; + } + case 64: { + CritRate = input.ReadInt32(); + break; + } + case 72: { + NormalCritRate = input.ReadInt32(); + break; + } + case 80: { + SkillCritRate = input.ReadInt32(); + break; + } + case 88: { + UltraCritRate = input.ReadInt32(); + break; + } + case 96: { + MarkCritRate = input.ReadInt32(); + break; + } + case 104: { + SummonCritRate = input.ReadInt32(); + break; + } + case 112: { + ProjectileCritRate = input.ReadInt32(); + break; + } + case 120: { + OtherCritRate = input.ReadInt32(); + break; + } + case 128: { + CritResistance = input.ReadInt32(); + break; + } + case 136: { + CritPower = input.ReadInt32(); + break; + } + case 144: { + NormalCritPower = input.ReadInt32(); + break; + } + case 152: { + SkillCritPower = input.ReadInt32(); + break; + } + case 160: { + UltraCritPower = input.ReadInt32(); + break; + } + case 168: { + MarkCritPower = input.ReadInt32(); + break; + } + case 176: { + SummonCritPower = input.ReadInt32(); + break; + } + case 184: { + ProjectileCritPower = input.ReadInt32(); + break; + } + case 192: { + OtherCritPower = input.ReadInt32(); + break; + } + case 200: { + HitRate = input.ReadInt32(); + break; + } + case 208: { + Evd = input.ReadInt32(); + break; + } + case 216: { + AtkSpd = input.ReadInt32(); + break; + } + case 224: { + DefPierce = input.ReadInt32(); + break; + } + case 232: { + DefIgnore = input.ReadInt32(); + break; + } + case 240: { + WEP = input.ReadInt32(); + break; + } + case 248: { + FEP = input.ReadInt32(); + break; + } + case 256: { + SEP = input.ReadInt32(); + break; + } + case 264: { + AEP = input.ReadInt32(); + break; + } + case 272: { + LEP = input.ReadInt32(); + break; + } + case 280: { + DEP = input.ReadInt32(); + break; + } + case 288: { + WEI = input.ReadInt32(); + break; + } + case 296: { + FEI = input.ReadInt32(); + break; + } + case 304: { + SEI = input.ReadInt32(); + break; + } + case 312: { + AEI = input.ReadInt32(); + break; + } + case 320: { + LEI = input.ReadInt32(); + break; + } + case 328: { + DEI = input.ReadInt32(); + break; + } + case 336: { + WEE = input.ReadInt32(); + break; + } + case 344: { + FEE = input.ReadInt32(); + break; + } + case 352: { + SEE = input.ReadInt32(); + break; + } + case 360: { + AEE = input.ReadInt32(); + break; + } + case 368: { + LEE = input.ReadInt32(); + break; + } + case 376: { + DEE = input.ReadInt32(); + break; + } + case 384: { + WER = input.ReadInt32(); + break; + } + case 392: { + FER = input.ReadInt32(); + break; + } + case 400: { + SER = input.ReadInt32(); + break; + } + case 408: { + AER = input.ReadInt32(); + break; + } + case 416: { + LER = input.ReadInt32(); + break; + } + case 424: { + DER = input.ReadInt32(); + break; + } + case 432: { + Toughness = input.ReadInt32(); + break; + } + case 440: { + Suppress = input.ReadInt32(); + break; + } + case 448: { + RCDMARKDMG = 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.ReadInt64(); + break; + } + case 16: { + TemplateId = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + Lv = input.ReadInt32(); + break; + } + case 40: { + Hp = input.ReadInt32(); + break; + } + case 48: { + Atk = input.ReadInt32(); + break; + } + case 56: { + Def = input.ReadInt32(); + break; + } + case 64: { + CritRate = input.ReadInt32(); + break; + } + case 72: { + NormalCritRate = input.ReadInt32(); + break; + } + case 80: { + SkillCritRate = input.ReadInt32(); + break; + } + case 88: { + UltraCritRate = input.ReadInt32(); + break; + } + case 96: { + MarkCritRate = input.ReadInt32(); + break; + } + case 104: { + SummonCritRate = input.ReadInt32(); + break; + } + case 112: { + ProjectileCritRate = input.ReadInt32(); + break; + } + case 120: { + OtherCritRate = input.ReadInt32(); + break; + } + case 128: { + CritResistance = input.ReadInt32(); + break; + } + case 136: { + CritPower = input.ReadInt32(); + break; + } + case 144: { + NormalCritPower = input.ReadInt32(); + break; + } + case 152: { + SkillCritPower = input.ReadInt32(); + break; + } + case 160: { + UltraCritPower = input.ReadInt32(); + break; + } + case 168: { + MarkCritPower = input.ReadInt32(); + break; + } + case 176: { + SummonCritPower = input.ReadInt32(); + break; + } + case 184: { + ProjectileCritPower = input.ReadInt32(); + break; + } + case 192: { + OtherCritPower = input.ReadInt32(); + break; + } + case 200: { + HitRate = input.ReadInt32(); + break; + } + case 208: { + Evd = input.ReadInt32(); + break; + } + case 216: { + AtkSpd = input.ReadInt32(); + break; + } + case 224: { + DefPierce = input.ReadInt32(); + break; + } + case 232: { + DefIgnore = input.ReadInt32(); + break; + } + case 240: { + WEP = input.ReadInt32(); + break; + } + case 248: { + FEP = input.ReadInt32(); + break; + } + case 256: { + SEP = input.ReadInt32(); + break; + } + case 264: { + AEP = input.ReadInt32(); + break; + } + case 272: { + LEP = input.ReadInt32(); + break; + } + case 280: { + DEP = input.ReadInt32(); + break; + } + case 288: { + WEI = input.ReadInt32(); + break; + } + case 296: { + FEI = input.ReadInt32(); + break; + } + case 304: { + SEI = input.ReadInt32(); + break; + } + case 312: { + AEI = input.ReadInt32(); + break; + } + case 320: { + LEI = input.ReadInt32(); + break; + } + case 328: { + DEI = input.ReadInt32(); + break; + } + case 336: { + WEE = input.ReadInt32(); + break; + } + case 344: { + FEE = input.ReadInt32(); + break; + } + case 352: { + SEE = input.ReadInt32(); + break; + } + case 360: { + AEE = input.ReadInt32(); + break; + } + case 368: { + LEE = input.ReadInt32(); + break; + } + case 376: { + DEE = input.ReadInt32(); + break; + } + case 384: { + WER = input.ReadInt32(); + break; + } + case 392: { + FER = input.ReadInt32(); + break; + } + case 400: { + SER = input.ReadInt32(); + break; + } + case 408: { + AER = input.ReadInt32(); + break; + } + case 416: { + LER = input.ReadInt32(); + break; + } + case 424: { + DER = input.ReadInt32(); + break; + } + case 432: { + Toughness = input.ReadInt32(); + break; + } + case 440: { + Suppress = input.ReadInt32(); + break; + } + case 448: { + RCDMARKDMG = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterValueTemplete : pb::IMessage<table_MonsterValueTemplete> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterValueTemplete> _parser = new pb::MessageParser<table_MonsterValueTemplete>(() => new table_MonsterValueTemplete()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterValueTemplete> 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.ClientTableReflection.Descriptor.MessageTypes[285]; } + } + + [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 table_MonsterValueTemplete() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterValueTemplete(table_MonsterValueTemplete other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterValueTemplete Clone() { + return new table_MonsterValueTemplete(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterValueTemplete> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterValueTemplete.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterValueTemplete> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterValueTemplete>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterValueTemplete> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterValueTemplete); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterValueTemplete other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterValueTemplete other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonsterValueTempleteAdjust : pb::IMessage<MonsterValueTempleteAdjust> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonsterValueTempleteAdjust> _parser = new pb::MessageParser<MonsterValueTempleteAdjust>(() => new MonsterValueTempleteAdjust()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonsterValueTempleteAdjust> 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.ClientTableReflection.Descriptor.MessageTypes[286]; } + } + + [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 MonsterValueTempleteAdjust() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterValueTempleteAdjust(MonsterValueTempleteAdjust other) : this() { + id_ = other.id_; + templateId_ = other.templateId_; + name_ = other.name_; + eET_ = other.eET_; + weakEET_ = other.weakEET_.Clone(); + hpRatio_ = other.hpRatio_; + hpFix_ = other.hpFix_; + atkRatio_ = other.atkRatio_; + atkFix_ = other.atkFix_; + wERRatio_ = other.wERRatio_; + wERFix_ = other.wERFix_; + fERRatio_ = other.fERRatio_; + fERFix_ = other.fERFix_; + sERRatio_ = other.sERRatio_; + sERFix_ = other.sERFix_; + aERRatio_ = other.aERRatio_; + aERFix_ = other.aERFix_; + lERRatio_ = other.lERRatio_; + lERFix_ = other.lERFix_; + dERRatio_ = other.dERRatio_; + dERFix_ = other.dERFix_; + toughnessRatio_ = other.toughnessRatio_; + toughnessFix_ = other.toughnessFix_; + suppressRatio_ = other.suppressRatio_; + suppressFix_ = other.suppressFix_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonsterValueTempleteAdjust Clone() { + return new MonsterValueTempleteAdjust(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private long id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "TemplateId" field.</summary> + public const int TemplateIdFieldNumber = 2; + private int templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 "EET" field.</summary> + public const int EETFieldNumber = 4; + 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 "WeakEET" field.</summary> + public const int WeakEETFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_weakEET_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> weakEET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> WeakEET { + get { return weakEET_; } + } + + /// <summary>Field number for the "HpRatio" field.</summary> + public const int HpRatioFieldNumber = 6; + private int hpRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HpRatio { + get { return hpRatio_; } + set { + hpRatio_ = value; + } + } + + /// <summary>Field number for the "HpFix" field.</summary> + public const int HpFixFieldNumber = 7; + private int hpFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HpFix { + get { return hpFix_; } + set { + hpFix_ = value; + } + } + + /// <summary>Field number for the "AtkRatio" field.</summary> + public const int AtkRatioFieldNumber = 8; + private int atkRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AtkRatio { + get { return atkRatio_; } + set { + atkRatio_ = value; + } + } + + /// <summary>Field number for the "AtkFix" field.</summary> + public const int AtkFixFieldNumber = 9; + private int atkFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AtkFix { + get { return atkFix_; } + set { + atkFix_ = value; + } + } + + /// <summary>Field number for the "WERRatio" field.</summary> + public const int WERRatioFieldNumber = 10; + private int wERRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WERRatio { + get { return wERRatio_; } + set { + wERRatio_ = value; + } + } + + /// <summary>Field number for the "WERFix" field.</summary> + public const int WERFixFieldNumber = 11; + private int wERFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WERFix { + get { return wERFix_; } + set { + wERFix_ = value; + } + } + + /// <summary>Field number for the "FERRatio" field.</summary> + public const int FERRatioFieldNumber = 12; + private int fERRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FERRatio { + get { return fERRatio_; } + set { + fERRatio_ = value; + } + } + + /// <summary>Field number for the "FERFix" field.</summary> + public const int FERFixFieldNumber = 13; + private int fERFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FERFix { + get { return fERFix_; } + set { + fERFix_ = value; + } + } + + /// <summary>Field number for the "SERRatio" field.</summary> + public const int SERRatioFieldNumber = 14; + private int sERRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SERRatio { + get { return sERRatio_; } + set { + sERRatio_ = value; + } + } + + /// <summary>Field number for the "SERFix" field.</summary> + public const int SERFixFieldNumber = 15; + private int sERFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SERFix { + get { return sERFix_; } + set { + sERFix_ = value; + } + } + + /// <summary>Field number for the "AERRatio" field.</summary> + public const int AERRatioFieldNumber = 16; + private int aERRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AERRatio { + get { return aERRatio_; } + set { + aERRatio_ = value; + } + } + + /// <summary>Field number for the "AERFix" field.</summary> + public const int AERFixFieldNumber = 17; + private int aERFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AERFix { + get { return aERFix_; } + set { + aERFix_ = value; + } + } + + /// <summary>Field number for the "LERRatio" field.</summary> + public const int LERRatioFieldNumber = 18; + private int lERRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LERRatio { + get { return lERRatio_; } + set { + lERRatio_ = value; + } + } + + /// <summary>Field number for the "LERFix" field.</summary> + public const int LERFixFieldNumber = 19; + private int lERFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LERFix { + get { return lERFix_; } + set { + lERFix_ = value; + } + } + + /// <summary>Field number for the "DERRatio" field.</summary> + public const int DERRatioFieldNumber = 20; + private int dERRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DERRatio { + get { return dERRatio_; } + set { + dERRatio_ = value; + } + } + + /// <summary>Field number for the "DERFix" field.</summary> + public const int DERFixFieldNumber = 21; + private int dERFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DERFix { + get { return dERFix_; } + set { + dERFix_ = value; + } + } + + /// <summary>Field number for the "ToughnessRatio" field.</summary> + public const int ToughnessRatioFieldNumber = 22; + private int toughnessRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToughnessRatio { + get { return toughnessRatio_; } + set { + toughnessRatio_ = value; + } + } + + /// <summary>Field number for the "ToughnessFix" field.</summary> + public const int ToughnessFixFieldNumber = 23; + private int toughnessFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToughnessFix { + get { return toughnessFix_; } + set { + toughnessFix_ = value; + } + } + + /// <summary>Field number for the "SuppressRatio" field.</summary> + public const int SuppressRatioFieldNumber = 24; + private int suppressRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuppressRatio { + get { return suppressRatio_; } + set { + suppressRatio_ = value; + } + } + + /// <summary>Field number for the "SuppressFix" field.</summary> + public const int SuppressFixFieldNumber = 25; + private int suppressFix_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuppressFix { + get { return suppressFix_; } + set { + suppressFix_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonsterValueTempleteAdjust); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonsterValueTempleteAdjust other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TemplateId != other.TemplateId) return false; + if (Name != other.Name) return false; + if (EET != other.EET) return false; + if(!weakEET_.Equals(other.weakEET_)) return false; + if (HpRatio != other.HpRatio) return false; + if (HpFix != other.HpFix) return false; + if (AtkRatio != other.AtkRatio) return false; + if (AtkFix != other.AtkFix) return false; + if (WERRatio != other.WERRatio) return false; + if (WERFix != other.WERFix) return false; + if (FERRatio != other.FERRatio) return false; + if (FERFix != other.FERFix) return false; + if (SERRatio != other.SERRatio) return false; + if (SERFix != other.SERFix) return false; + if (AERRatio != other.AERRatio) return false; + if (AERFix != other.AERFix) return false; + if (LERRatio != other.LERRatio) return false; + if (LERFix != other.LERFix) return false; + if (DERRatio != other.DERRatio) return false; + if (DERFix != other.DERFix) return false; + if (ToughnessRatio != other.ToughnessRatio) return false; + if (ToughnessFix != other.ToughnessFix) return false; + if (SuppressRatio != other.SuppressRatio) return false; + if (SuppressFix != other.SuppressFix) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0L) hash ^= Id.GetHashCode(); + if (TemplateId != 0) hash ^= TemplateId.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (EET != 0) hash ^= EET.GetHashCode(); + hash ^= weakEET_.GetHashCode(); + if (HpRatio != 0) hash ^= HpRatio.GetHashCode(); + if (HpFix != 0) hash ^= HpFix.GetHashCode(); + if (AtkRatio != 0) hash ^= AtkRatio.GetHashCode(); + if (AtkFix != 0) hash ^= AtkFix.GetHashCode(); + if (WERRatio != 0) hash ^= WERRatio.GetHashCode(); + if (WERFix != 0) hash ^= WERFix.GetHashCode(); + if (FERRatio != 0) hash ^= FERRatio.GetHashCode(); + if (FERFix != 0) hash ^= FERFix.GetHashCode(); + if (SERRatio != 0) hash ^= SERRatio.GetHashCode(); + if (SERFix != 0) hash ^= SERFix.GetHashCode(); + if (AERRatio != 0) hash ^= AERRatio.GetHashCode(); + if (AERFix != 0) hash ^= AERFix.GetHashCode(); + if (LERRatio != 0) hash ^= LERRatio.GetHashCode(); + if (LERFix != 0) hash ^= LERFix.GetHashCode(); + if (DERRatio != 0) hash ^= DERRatio.GetHashCode(); + if (DERFix != 0) hash ^= DERFix.GetHashCode(); + if (ToughnessRatio != 0) hash ^= ToughnessRatio.GetHashCode(); + if (ToughnessFix != 0) hash ^= ToughnessFix.GetHashCode(); + if (SuppressRatio != 0) hash ^= SuppressRatio.GetHashCode(); + if (SuppressFix != 0) hash ^= SuppressFix.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (TemplateId != 0) { + output.WriteRawTag(16); + output.WriteInt32(TemplateId); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (EET != 0) { + output.WriteRawTag(32); + output.WriteInt32(EET); + } + weakEET_.WriteTo(output, _repeated_weakEET_codec); + if (HpRatio != 0) { + output.WriteRawTag(48); + output.WriteInt32(HpRatio); + } + if (HpFix != 0) { + output.WriteRawTag(56); + output.WriteInt32(HpFix); + } + if (AtkRatio != 0) { + output.WriteRawTag(64); + output.WriteInt32(AtkRatio); + } + if (AtkFix != 0) { + output.WriteRawTag(72); + output.WriteInt32(AtkFix); + } + if (WERRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(WERRatio); + } + if (WERFix != 0) { + output.WriteRawTag(88); + output.WriteInt32(WERFix); + } + if (FERRatio != 0) { + output.WriteRawTag(96); + output.WriteInt32(FERRatio); + } + if (FERFix != 0) { + output.WriteRawTag(104); + output.WriteInt32(FERFix); + } + if (SERRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(SERRatio); + } + if (SERFix != 0) { + output.WriteRawTag(120); + output.WriteInt32(SERFix); + } + if (AERRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AERRatio); + } + if (AERFix != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(AERFix); + } + if (LERRatio != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(LERRatio); + } + if (LERFix != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(LERFix); + } + if (DERRatio != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DERRatio); + } + if (DERFix != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(DERFix); + } + if (ToughnessRatio != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(ToughnessRatio); + } + if (ToughnessFix != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ToughnessFix); + } + if (SuppressRatio != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(SuppressRatio); + } + if (SuppressFix != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(SuppressFix); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (TemplateId != 0) { + output.WriteRawTag(16); + output.WriteInt32(TemplateId); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (EET != 0) { + output.WriteRawTag(32); + output.WriteInt32(EET); + } + weakEET_.WriteTo(ref output, _repeated_weakEET_codec); + if (HpRatio != 0) { + output.WriteRawTag(48); + output.WriteInt32(HpRatio); + } + if (HpFix != 0) { + output.WriteRawTag(56); + output.WriteInt32(HpFix); + } + if (AtkRatio != 0) { + output.WriteRawTag(64); + output.WriteInt32(AtkRatio); + } + if (AtkFix != 0) { + output.WriteRawTag(72); + output.WriteInt32(AtkFix); + } + if (WERRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(WERRatio); + } + if (WERFix != 0) { + output.WriteRawTag(88); + output.WriteInt32(WERFix); + } + if (FERRatio != 0) { + output.WriteRawTag(96); + output.WriteInt32(FERRatio); + } + if (FERFix != 0) { + output.WriteRawTag(104); + output.WriteInt32(FERFix); + } + if (SERRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(SERRatio); + } + if (SERFix != 0) { + output.WriteRawTag(120); + output.WriteInt32(SERFix); + } + if (AERRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(AERRatio); + } + if (AERFix != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(AERFix); + } + if (LERRatio != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(LERRatio); + } + if (LERFix != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(LERFix); + } + if (DERRatio != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DERRatio); + } + if (DERFix != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(DERFix); + } + if (ToughnessRatio != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(ToughnessRatio); + } + if (ToughnessFix != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ToughnessFix); + } + if (SuppressRatio != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(SuppressRatio); + } + if (SuppressFix != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(SuppressFix); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); + } + if (TemplateId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TemplateId); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (EET != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); + } + size += weakEET_.CalculateSize(_repeated_weakEET_codec); + if (HpRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(HpRatio); + } + if (HpFix != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(HpFix); + } + if (AtkRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AtkRatio); + } + if (AtkFix != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AtkFix); + } + if (WERRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WERRatio); + } + if (WERFix != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WERFix); + } + if (FERRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FERRatio); + } + if (FERFix != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FERFix); + } + if (SERRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SERRatio); + } + if (SERFix != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SERFix); + } + if (AERRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AERRatio); + } + if (AERFix != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AERFix); + } + if (LERRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LERRatio); + } + if (LERFix != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LERFix); + } + if (DERRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DERRatio); + } + if (DERFix != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DERFix); + } + if (ToughnessRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessRatio); + } + if (ToughnessFix != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToughnessFix); + } + if (SuppressRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SuppressRatio); + } + if (SuppressFix != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SuppressFix); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonsterValueTempleteAdjust other) { + if (other == null) { + return; + } + if (other.Id != 0L) { + Id = other.Id; + } + if (other.TemplateId != 0) { + TemplateId = other.TemplateId; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.EET != 0) { + EET = other.EET; + } + weakEET_.Add(other.weakEET_); + if (other.HpRatio != 0) { + HpRatio = other.HpRatio; + } + if (other.HpFix != 0) { + HpFix = other.HpFix; + } + if (other.AtkRatio != 0) { + AtkRatio = other.AtkRatio; + } + if (other.AtkFix != 0) { + AtkFix = other.AtkFix; + } + if (other.WERRatio != 0) { + WERRatio = other.WERRatio; + } + if (other.WERFix != 0) { + WERFix = other.WERFix; + } + if (other.FERRatio != 0) { + FERRatio = other.FERRatio; + } + if (other.FERFix != 0) { + FERFix = other.FERFix; + } + if (other.SERRatio != 0) { + SERRatio = other.SERRatio; + } + if (other.SERFix != 0) { + SERFix = other.SERFix; + } + if (other.AERRatio != 0) { + AERRatio = other.AERRatio; + } + if (other.AERFix != 0) { + AERFix = other.AERFix; + } + if (other.LERRatio != 0) { + LERRatio = other.LERRatio; + } + if (other.LERFix != 0) { + LERFix = other.LERFix; + } + if (other.DERRatio != 0) { + DERRatio = other.DERRatio; + } + if (other.DERFix != 0) { + DERFix = other.DERFix; + } + if (other.ToughnessRatio != 0) { + ToughnessRatio = other.ToughnessRatio; + } + if (other.ToughnessFix != 0) { + ToughnessFix = other.ToughnessFix; + } + if (other.SuppressRatio != 0) { + SuppressRatio = other.SuppressRatio; + } + if (other.SuppressFix != 0) { + SuppressFix = other.SuppressFix; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadInt64(); + break; + } + case 16: { + TemplateId = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + EET = input.ReadInt32(); + break; + } + case 42: + case 40: { + weakEET_.AddEntriesFrom(input, _repeated_weakEET_codec); + break; + } + case 48: { + HpRatio = input.ReadInt32(); + break; + } + case 56: { + HpFix = input.ReadInt32(); + break; + } + case 64: { + AtkRatio = input.ReadInt32(); + break; + } + case 72: { + AtkFix = input.ReadInt32(); + break; + } + case 80: { + WERRatio = input.ReadInt32(); + break; + } + case 88: { + WERFix = input.ReadInt32(); + break; + } + case 96: { + FERRatio = input.ReadInt32(); + break; + } + case 104: { + FERFix = input.ReadInt32(); + break; + } + case 112: { + SERRatio = input.ReadInt32(); + break; + } + case 120: { + SERFix = input.ReadInt32(); + break; + } + case 128: { + AERRatio = input.ReadInt32(); + break; + } + case 136: { + AERFix = input.ReadInt32(); + break; + } + case 144: { + LERRatio = input.ReadInt32(); + break; + } + case 152: { + LERFix = input.ReadInt32(); + break; + } + case 160: { + DERRatio = input.ReadInt32(); + break; + } + case 168: { + DERFix = input.ReadInt32(); + break; + } + case 176: { + ToughnessRatio = input.ReadInt32(); + break; + } + case 184: { + ToughnessFix = input.ReadInt32(); + break; + } + case 192: { + SuppressRatio = input.ReadInt32(); + break; + } + case 200: { + SuppressFix = 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.ReadInt64(); + break; + } + case 16: { + TemplateId = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + EET = input.ReadInt32(); + break; + } + case 42: + case 40: { + weakEET_.AddEntriesFrom(ref input, _repeated_weakEET_codec); + break; + } + case 48: { + HpRatio = input.ReadInt32(); + break; + } + case 56: { + HpFix = input.ReadInt32(); + break; + } + case 64: { + AtkRatio = input.ReadInt32(); + break; + } + case 72: { + AtkFix = input.ReadInt32(); + break; + } + case 80: { + WERRatio = input.ReadInt32(); + break; + } + case 88: { + WERFix = input.ReadInt32(); + break; + } + case 96: { + FERRatio = input.ReadInt32(); + break; + } + case 104: { + FERFix = input.ReadInt32(); + break; + } + case 112: { + SERRatio = input.ReadInt32(); + break; + } + case 120: { + SERFix = input.ReadInt32(); + break; + } + case 128: { + AERRatio = input.ReadInt32(); + break; + } + case 136: { + AERFix = input.ReadInt32(); + break; + } + case 144: { + LERRatio = input.ReadInt32(); + break; + } + case 152: { + LERFix = input.ReadInt32(); + break; + } + case 160: { + DERRatio = input.ReadInt32(); + break; + } + case 168: { + DERFix = input.ReadInt32(); + break; + } + case 176: { + ToughnessRatio = input.ReadInt32(); + break; + } + case 184: { + ToughnessFix = input.ReadInt32(); + break; + } + case 192: { + SuppressRatio = input.ReadInt32(); + break; + } + case 200: { + SuppressFix = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonsterValueTempleteAdjust : pb::IMessage<table_MonsterValueTempleteAdjust> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonsterValueTempleteAdjust> _parser = new pb::MessageParser<table_MonsterValueTempleteAdjust>(() => new table_MonsterValueTempleteAdjust()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonsterValueTempleteAdjust> 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.ClientTableReflection.Descriptor.MessageTypes[287]; } + } + + [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 table_MonsterValueTempleteAdjust() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterValueTempleteAdjust(table_MonsterValueTempleteAdjust other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonsterValueTempleteAdjust Clone() { + return new table_MonsterValueTempleteAdjust(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonsterValueTempleteAdjust> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonsterValueTempleteAdjust.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonsterValueTempleteAdjust> list_ = new pbc::RepeatedField<global::Nova.Client.MonsterValueTempleteAdjust>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonsterValueTempleteAdjust> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonsterValueTempleteAdjust); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonsterValueTempleteAdjust other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonsterValueTempleteAdjust other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class MonthlyCard : pb::IMessage<MonthlyCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<MonthlyCard> _parser = new pb::MessageParser<MonthlyCard>(() => new MonthlyCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<MonthlyCard> 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.ClientTableReflection.Descriptor.MessageTypes[288]; } + } + + [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 MonthlyCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCard(MonthlyCard other) : this() { + id_ = other.id_; + cardId_ = other.cardId_; + rewardId1_ = other.rewardId1_; + rewardNum1_ = other.rewardNum1_; + rewardId2_ = other.rewardId2_; + rewardNum2_ = other.rewardNum2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MonthlyCard Clone() { + return new MonthlyCard(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 "CardId" field.</summary> + public const int CardIdFieldNumber = 2; + private int cardId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CardId { + get { return cardId_; } + set { + cardId_ = value; + } + } + + /// <summary>Field number for the "RewardId1" field.</summary> + public const int RewardId1FieldNumber = 3; + private int rewardId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardId1 { + get { return rewardId1_; } + set { + rewardId1_ = value; + } + } + + /// <summary>Field number for the "RewardNum1" field.</summary> + public const int RewardNum1FieldNumber = 4; + private int rewardNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardNum1 { + get { return rewardNum1_; } + set { + rewardNum1_ = value; + } + } + + /// <summary>Field number for the "RewardId2" field.</summary> + public const int RewardId2FieldNumber = 5; + private int rewardId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardId2 { + get { return rewardId2_; } + set { + rewardId2_ = value; + } + } + + /// <summary>Field number for the "RewardNum2" field.</summary> + public const int RewardNum2FieldNumber = 6; + private int rewardNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardNum2 { + get { return rewardNum2_; } + set { + rewardNum2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MonthlyCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MonthlyCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CardId != other.CardId) return false; + if (RewardId1 != other.RewardId1) return false; + if (RewardNum1 != other.RewardNum1) return false; + if (RewardId2 != other.RewardId2) return false; + if (RewardNum2 != other.RewardNum2) 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 (CardId != 0) hash ^= CardId.GetHashCode(); + if (RewardId1 != 0) hash ^= RewardId1.GetHashCode(); + if (RewardNum1 != 0) hash ^= RewardNum1.GetHashCode(); + if (RewardId2 != 0) hash ^= RewardId2.GetHashCode(); + if (RewardNum2 != 0) hash ^= RewardNum2.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 (CardId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CardId); + } + if (RewardId1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(RewardId1); + } + if (RewardNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(RewardNum1); + } + if (RewardId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(RewardId2); + } + if (RewardNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(RewardNum2); + } + 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 (CardId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CardId); + } + if (RewardId1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(RewardId1); + } + if (RewardNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(RewardNum1); + } + if (RewardId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(RewardId2); + } + if (RewardNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(RewardNum2); + } + 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 (CardId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CardId); + } + if (RewardId1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId1); + } + if (RewardNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardNum1); + } + if (RewardId2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardId2); + } + if (RewardNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardNum2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MonthlyCard other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CardId != 0) { + CardId = other.CardId; + } + if (other.RewardId1 != 0) { + RewardId1 = other.RewardId1; + } + if (other.RewardNum1 != 0) { + RewardNum1 = other.RewardNum1; + } + if (other.RewardId2 != 0) { + RewardId2 = other.RewardId2; + } + if (other.RewardNum2 != 0) { + RewardNum2 = other.RewardNum2; + } + _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: { + CardId = input.ReadInt32(); + break; + } + case 24: { + RewardId1 = input.ReadInt32(); + break; + } + case 32: { + RewardNum1 = input.ReadInt32(); + break; + } + case 40: { + RewardId2 = input.ReadInt32(); + break; + } + case 48: { + RewardNum2 = 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: { + CardId = input.ReadInt32(); + break; + } + case 24: { + RewardId1 = input.ReadInt32(); + break; + } + case 32: { + RewardNum1 = input.ReadInt32(); + break; + } + case 40: { + RewardId2 = input.ReadInt32(); + break; + } + case 48: { + RewardNum2 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_MonthlyCard : pb::IMessage<table_MonthlyCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_MonthlyCard> _parser = new pb::MessageParser<table_MonthlyCard>(() => new table_MonthlyCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_MonthlyCard> 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.ClientTableReflection.Descriptor.MessageTypes[289]; } + } + + [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 table_MonthlyCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonthlyCard(table_MonthlyCard other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_MonthlyCard Clone() { + return new table_MonthlyCard(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.MonthlyCard> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.MonthlyCard.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.MonthlyCard> list_ = new pbc::RepeatedField<global::Nova.Client.MonthlyCard>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.MonthlyCard> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_MonthlyCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_MonthlyCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_MonthlyCard other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Note : pb::IMessage<Note> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Note> _parser = new pb::MessageParser<Note>(() => new Note()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Note> 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.ClientTableReflection.Descriptor.MessageTypes[290]; } + } + + [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 Note() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Note(Note other) : this() { + id_ = other.id_; + note_ = other.note_; + style1_ = other.style1_; + style2_ = other.style2_; + style3_ = other.style3_; + style4_ = other.style4_; + style5_ = other.style5_; + style6_ = other.style6_; + style7_ = other.style7_; + style8_ = other.style8_; + color_ = other.color_; + name1_ = other.name1_; + name2_ = other.name2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Note Clone() { + return new Note(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 "Note" field.</summary> + public const int Note_FieldNumber = 2; + private int note_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Note_ { + get { return note_; } + set { + note_ = value; + } + } + + /// <summary>Field number for the "Style1" field.</summary> + public const int Style1FieldNumber = 3; + private string style1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style1 { + get { return style1_; } + set { + style1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style2" field.</summary> + public const int Style2FieldNumber = 4; + private string style2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style2 { + get { return style2_; } + set { + style2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style3" field.</summary> + public const int Style3FieldNumber = 5; + private string style3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style3 { + get { return style3_; } + set { + style3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style4" field.</summary> + public const int Style4FieldNumber = 6; + private string style4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style4 { + get { return style4_; } + set { + style4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style5" field.</summary> + public const int Style5FieldNumber = 7; + private string style5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style5 { + get { return style5_; } + set { + style5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style6" field.</summary> + public const int Style6FieldNumber = 8; + private string style6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style6 { + get { return style6_; } + set { + style6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style7" field.</summary> + public const int Style7FieldNumber = 9; + private string style7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style7 { + get { return style7_; } + set { + style7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Style8" field.</summary> + public const int Style8FieldNumber = 10; + private string style8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Style8 { + get { return style8_; } + set { + style8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Color" field.</summary> + public const int ColorFieldNumber = 11; + private string color_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Color { + get { return color_; } + set { + color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Name1" field.</summary> + public const int Name1FieldNumber = 12; + private string name1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name1 { + get { return name1_; } + set { + name1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Name2" field.</summary> + public const int Name2FieldNumber = 13; + private string name2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name2 { + get { return name2_; } + set { + name2_ = 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 Note); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Note other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Note_ != other.Note_) return false; + if (Style1 != other.Style1) return false; + if (Style2 != other.Style2) return false; + if (Style3 != other.Style3) return false; + if (Style4 != other.Style4) return false; + if (Style5 != other.Style5) return false; + if (Style6 != other.Style6) return false; + if (Style7 != other.Style7) return false; + if (Style8 != other.Style8) return false; + if (Color != other.Color) return false; + if (Name1 != other.Name1) return false; + if (Name2 != other.Name2) 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 (Note_ != 0) hash ^= Note_.GetHashCode(); + if (Style1.Length != 0) hash ^= Style1.GetHashCode(); + if (Style2.Length != 0) hash ^= Style2.GetHashCode(); + if (Style3.Length != 0) hash ^= Style3.GetHashCode(); + if (Style4.Length != 0) hash ^= Style4.GetHashCode(); + if (Style5.Length != 0) hash ^= Style5.GetHashCode(); + if (Style6.Length != 0) hash ^= Style6.GetHashCode(); + if (Style7.Length != 0) hash ^= Style7.GetHashCode(); + if (Style8.Length != 0) hash ^= Style8.GetHashCode(); + if (Color.Length != 0) hash ^= Color.GetHashCode(); + if (Name1.Length != 0) hash ^= Name1.GetHashCode(); + if (Name2.Length != 0) hash ^= Name2.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 (Note_ != 0) { + output.WriteRawTag(16); + output.WriteInt32(Note_); + } + if (Style1.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Style1); + } + if (Style2.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Style2); + } + if (Style3.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Style3); + } + if (Style4.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Style4); + } + if (Style5.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Style5); + } + if (Style6.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Style6); + } + if (Style7.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Style7); + } + if (Style8.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Style8); + } + if (Color.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Color); + } + if (Name1.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Name1); + } + if (Name2.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Name2); + } + 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 (Note_ != 0) { + output.WriteRawTag(16); + output.WriteInt32(Note_); + } + if (Style1.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Style1); + } + if (Style2.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Style2); + } + if (Style3.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Style3); + } + if (Style4.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Style4); + } + if (Style5.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Style5); + } + if (Style6.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Style6); + } + if (Style7.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Style7); + } + if (Style8.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Style8); + } + if (Color.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Color); + } + if (Name1.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Name1); + } + if (Name2.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Name2); + } + 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 (Note_ != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Note_); + } + if (Style1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style1); + } + if (Style2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style2); + } + if (Style3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style3); + } + if (Style4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style4); + } + if (Style5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style5); + } + if (Style6.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style6); + } + if (Style7.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style7); + } + if (Style8.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Style8); + } + if (Color.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); + } + if (Name1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name1); + } + if (Name2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Note other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Note_ != 0) { + Note_ = other.Note_; + } + if (other.Style1.Length != 0) { + Style1 = other.Style1; + } + if (other.Style2.Length != 0) { + Style2 = other.Style2; + } + if (other.Style3.Length != 0) { + Style3 = other.Style3; + } + if (other.Style4.Length != 0) { + Style4 = other.Style4; + } + if (other.Style5.Length != 0) { + Style5 = other.Style5; + } + if (other.Style6.Length != 0) { + Style6 = other.Style6; + } + if (other.Style7.Length != 0) { + Style7 = other.Style7; + } + if (other.Style8.Length != 0) { + Style8 = other.Style8; + } + if (other.Color.Length != 0) { + Color = other.Color; + } + if (other.Name1.Length != 0) { + Name1 = other.Name1; + } + if (other.Name2.Length != 0) { + Name2 = other.Name2; + } + _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: { + Note_ = input.ReadInt32(); + break; + } + case 26: { + Style1 = input.ReadString(); + break; + } + case 34: { + Style2 = input.ReadString(); + break; + } + case 42: { + Style3 = input.ReadString(); + break; + } + case 50: { + Style4 = input.ReadString(); + break; + } + case 58: { + Style5 = input.ReadString(); + break; + } + case 66: { + Style6 = input.ReadString(); + break; + } + case 74: { + Style7 = input.ReadString(); + break; + } + case 82: { + Style8 = input.ReadString(); + break; + } + case 90: { + Color = input.ReadString(); + break; + } + case 98: { + Name1 = input.ReadString(); + break; + } + case 106: { + Name2 = 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: { + Note_ = input.ReadInt32(); + break; + } + case 26: { + Style1 = input.ReadString(); + break; + } + case 34: { + Style2 = input.ReadString(); + break; + } + case 42: { + Style3 = input.ReadString(); + break; + } + case 50: { + Style4 = input.ReadString(); + break; + } + case 58: { + Style5 = input.ReadString(); + break; + } + case 66: { + Style6 = input.ReadString(); + break; + } + case 74: { + Style7 = input.ReadString(); + break; + } + case 82: { + Style8 = input.ReadString(); + break; + } + case 90: { + Color = input.ReadString(); + break; + } + case 98: { + Name1 = input.ReadString(); + break; + } + case 106: { + Name2 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Note : pb::IMessage<table_Note> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Note> _parser = new pb::MessageParser<table_Note>(() => new table_Note()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Note> 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.ClientTableReflection.Descriptor.MessageTypes[291]; } + } + + [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 table_Note() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Note(table_Note other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Note Clone() { + return new table_Note(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Note> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Note.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Note> list_ = new pbc::RepeatedField<global::Nova.Client.Note>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Note> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Note); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Note other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Note other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NoteDropGroup : pb::IMessage<NoteDropGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<NoteDropGroup> _parser = new pb::MessageParser<NoteDropGroup>(() => new NoteDropGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<NoteDropGroup> 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.ClientTableReflection.Descriptor.MessageTypes[292]; } + } + + [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 NoteDropGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoteDropGroup(NoteDropGroup other) : this() { + index_ = other.index_; + groupId_ = other.groupId_; + randomNoteRange_ = other.randomNoteRange_.Clone(); + aNoteRange_ = other.aNoteRange_.Clone(); + bNoteRange_ = other.bNoteRange_.Clone(); + cNoteRange_ = other.cNoteRange_.Clone(); + dNoteRange_ = other.dNoteRange_.Clone(); + eNoteRange_ = other.eNoteRange_.Clone(); + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NoteDropGroup Clone() { + return new NoteDropGroup(this); + } + + /// <summary>Field number for the "Index" field.</summary> + public const int IndexFieldNumber = 1; + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { return index_; } + set { + index_ = value; + } + } + + /// <summary>Field number for the "GroupId" 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 "RandomNoteRange" field.</summary> + public const int RandomNoteRangeFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_randomNoteRange_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> randomNoteRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> RandomNoteRange { + get { return randomNoteRange_; } + } + + /// <summary>Field number for the "ANoteRange" field.</summary> + public const int ANoteRangeFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_aNoteRange_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> aNoteRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ANoteRange { + get { return aNoteRange_; } + } + + /// <summary>Field number for the "BNoteRange" field.</summary> + public const int BNoteRangeFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_bNoteRange_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> bNoteRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BNoteRange { + get { return bNoteRange_; } + } + + /// <summary>Field number for the "CNoteRange" field.</summary> + public const int CNoteRangeFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_cNoteRange_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> cNoteRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CNoteRange { + get { return cNoteRange_; } + } + + /// <summary>Field number for the "DNoteRange" field.</summary> + public const int DNoteRangeFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_dNoteRange_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> dNoteRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DNoteRange { + get { return dNoteRange_; } + } + + /// <summary>Field number for the "ENoteRange" field.</summary> + public const int ENoteRangeFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_eNoteRange_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> eNoteRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ENoteRange { + get { return eNoteRange_; } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 9; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NoteDropGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NoteDropGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (GroupId != other.GroupId) return false; + if(!randomNoteRange_.Equals(other.randomNoteRange_)) return false; + if(!aNoteRange_.Equals(other.aNoteRange_)) return false; + if(!bNoteRange_.Equals(other.bNoteRange_)) return false; + if(!cNoteRange_.Equals(other.cNoteRange_)) return false; + if(!dNoteRange_.Equals(other.dNoteRange_)) return false; + if(!eNoteRange_.Equals(other.eNoteRange_)) return false; + if (Icon != other.Icon) 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 (Index != 0) hash ^= Index.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + hash ^= randomNoteRange_.GetHashCode(); + hash ^= aNoteRange_.GetHashCode(); + hash ^= bNoteRange_.GetHashCode(); + hash ^= cNoteRange_.GetHashCode(); + hash ^= dNoteRange_.GetHashCode(); + hash ^= eNoteRange_.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.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 (Index != 0) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + randomNoteRange_.WriteTo(output, _repeated_randomNoteRange_codec); + aNoteRange_.WriteTo(output, _repeated_aNoteRange_codec); + bNoteRange_.WriteTo(output, _repeated_bNoteRange_codec); + cNoteRange_.WriteTo(output, _repeated_cNoteRange_codec); + dNoteRange_.WriteTo(output, _repeated_dNoteRange_codec); + eNoteRange_.WriteTo(output, _repeated_eNoteRange_codec); + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + 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 (Index != 0) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + randomNoteRange_.WriteTo(ref output, _repeated_randomNoteRange_codec); + aNoteRange_.WriteTo(ref output, _repeated_aNoteRange_codec); + bNoteRange_.WriteTo(ref output, _repeated_bNoteRange_codec); + cNoteRange_.WriteTo(ref output, _repeated_cNoteRange_codec); + dNoteRange_.WriteTo(ref output, _repeated_dNoteRange_codec); + eNoteRange_.WriteTo(ref output, _repeated_eNoteRange_codec); + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + 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 (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + size += randomNoteRange_.CalculateSize(_repeated_randomNoteRange_codec); + size += aNoteRange_.CalculateSize(_repeated_aNoteRange_codec); + size += bNoteRange_.CalculateSize(_repeated_bNoteRange_codec); + size += cNoteRange_.CalculateSize(_repeated_cNoteRange_codec); + size += dNoteRange_.CalculateSize(_repeated_dNoteRange_codec); + size += eNoteRange_.CalculateSize(_repeated_eNoteRange_codec); + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NoteDropGroup other) { + if (other == null) { + return; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + randomNoteRange_.Add(other.randomNoteRange_); + aNoteRange_.Add(other.aNoteRange_); + bNoteRange_.Add(other.bNoteRange_); + cNoteRange_.Add(other.cNoteRange_); + dNoteRange_.Add(other.dNoteRange_); + eNoteRange_.Add(other.eNoteRange_); + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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: { + Index = input.ReadInt32(); + break; + } + case 16: { + GroupId = input.ReadInt32(); + break; + } + case 26: + case 24: { + randomNoteRange_.AddEntriesFrom(input, _repeated_randomNoteRange_codec); + break; + } + case 34: + case 32: { + aNoteRange_.AddEntriesFrom(input, _repeated_aNoteRange_codec); + break; + } + case 42: + case 40: { + bNoteRange_.AddEntriesFrom(input, _repeated_bNoteRange_codec); + break; + } + case 50: + case 48: { + cNoteRange_.AddEntriesFrom(input, _repeated_cNoteRange_codec); + break; + } + case 58: + case 56: { + dNoteRange_.AddEntriesFrom(input, _repeated_dNoteRange_codec); + break; + } + case 66: + case 64: { + eNoteRange_.AddEntriesFrom(input, _repeated_eNoteRange_codec); + break; + } + case 74: { + Icon = 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: { + Index = input.ReadInt32(); + break; + } + case 16: { + GroupId = input.ReadInt32(); + break; + } + case 26: + case 24: { + randomNoteRange_.AddEntriesFrom(ref input, _repeated_randomNoteRange_codec); + break; + } + case 34: + case 32: { + aNoteRange_.AddEntriesFrom(ref input, _repeated_aNoteRange_codec); + break; + } + case 42: + case 40: { + bNoteRange_.AddEntriesFrom(ref input, _repeated_bNoteRange_codec); + break; + } + case 50: + case 48: { + cNoteRange_.AddEntriesFrom(ref input, _repeated_cNoteRange_codec); + break; + } + case 58: + case 56: { + dNoteRange_.AddEntriesFrom(ref input, _repeated_dNoteRange_codec); + break; + } + case 66: + case 64: { + eNoteRange_.AddEntriesFrom(ref input, _repeated_eNoteRange_codec); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_NoteDropGroup : pb::IMessage<table_NoteDropGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_NoteDropGroup> _parser = new pb::MessageParser<table_NoteDropGroup>(() => new table_NoteDropGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_NoteDropGroup> 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.ClientTableReflection.Descriptor.MessageTypes[293]; } + } + + [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 table_NoteDropGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_NoteDropGroup(table_NoteDropGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_NoteDropGroup Clone() { + return new table_NoteDropGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.NoteDropGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.NoteDropGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.NoteDropGroup> list_ = new pbc::RepeatedField<global::Nova.Client.NoteDropGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.NoteDropGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_NoteDropGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_NoteDropGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_NoteDropGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NPCConfig : pb::IMessage<NPCConfig> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<NPCConfig> _parser = new pb::MessageParser<NPCConfig>(() => new NPCConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<NPCConfig> 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.ClientTableReflection.Descriptor.MessageTypes[294]; } + } + + [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 NPCConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NPCConfig(NPCConfig other) : this() { + id_ = other.id_; + type_ = other.type_; + name_ = other.name_; + desc_ = other.desc_; + literary_ = other.literary_; + refreshPoint_ = other.refreshPoint_; + firstLines_ = other.firstLines_; + lines_ = other.lines_.Clone(); + chat_ = other.chat_.Clone(); + chatProp_ = other.chatProp_; + chatTime_ = other.chatTime_; + nPCId_ = other.nPCId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NPCConfig Clone() { + return new NPCConfig(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 "type" field.</summary> + public const int TypeFieldNumber = 2; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 = 4; + 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 "Literary" field.</summary> + public const int LiteraryFieldNumber = 5; + private string literary_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Literary { + get { return literary_; } + set { + literary_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RefreshPoint" field.</summary> + public const int RefreshPointFieldNumber = 6; + private int refreshPoint_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshPoint { + get { return refreshPoint_; } + set { + refreshPoint_ = value; + } + } + + /// <summary>Field number for the "FirstLines" field.</summary> + public const int FirstLinesFieldNumber = 7; + private int firstLines_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FirstLines { + get { return firstLines_; } + set { + firstLines_ = value; + } + } + + /// <summary>Field number for the "Lines" field.</summary> + public const int LinesFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_lines_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> lines_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Lines { + get { return lines_; } + } + + /// <summary>Field number for the "Chat" field.</summary> + public const int ChatFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_chat_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> chat_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Chat { + get { return chat_; } + } + + /// <summary>Field number for the "ChatProp" field.</summary> + public const int ChatPropFieldNumber = 10; + private int chatProp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChatProp { + get { return chatProp_; } + set { + chatProp_ = value; + } + } + + /// <summary>Field number for the "ChatTime" field.</summary> + public const int ChatTimeFieldNumber = 11; + private int chatTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ChatTime { + get { return chatTime_; } + set { + chatTime_ = value; + } + } + + /// <summary>Field number for the "NPCId" field.</summary> + public const int NPCIdFieldNumber = 12; + private int nPCId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NPCId { + get { return nPCId_; } + set { + nPCId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NPCConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NPCConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (Literary != other.Literary) return false; + if (RefreshPoint != other.RefreshPoint) return false; + if (FirstLines != other.FirstLines) return false; + if(!lines_.Equals(other.lines_)) return false; + if(!chat_.Equals(other.chat_)) return false; + if (ChatProp != other.ChatProp) return false; + if (ChatTime != other.ChatTime) return false; + if (NPCId != other.NPCId) 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 (Type != 0) hash ^= Type.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Literary.Length != 0) hash ^= Literary.GetHashCode(); + if (RefreshPoint != 0) hash ^= RefreshPoint.GetHashCode(); + if (FirstLines != 0) hash ^= FirstLines.GetHashCode(); + hash ^= lines_.GetHashCode(); + hash ^= chat_.GetHashCode(); + if (ChatProp != 0) hash ^= ChatProp.GetHashCode(); + if (ChatTime != 0) hash ^= ChatTime.GetHashCode(); + if (NPCId != 0) hash ^= NPCId.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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Literary.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Literary); + } + if (RefreshPoint != 0) { + output.WriteRawTag(48); + output.WriteInt32(RefreshPoint); + } + if (FirstLines != 0) { + output.WriteRawTag(56); + output.WriteInt32(FirstLines); + } + lines_.WriteTo(output, _repeated_lines_codec); + chat_.WriteTo(output, _repeated_chat_codec); + if (ChatProp != 0) { + output.WriteRawTag(80); + output.WriteInt32(ChatProp); + } + if (ChatTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(ChatTime); + } + if (NPCId != 0) { + output.WriteRawTag(96); + output.WriteInt32(NPCId); + } + 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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Literary.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Literary); + } + if (RefreshPoint != 0) { + output.WriteRawTag(48); + output.WriteInt32(RefreshPoint); + } + if (FirstLines != 0) { + output.WriteRawTag(56); + output.WriteInt32(FirstLines); + } + lines_.WriteTo(ref output, _repeated_lines_codec); + chat_.WriteTo(ref output, _repeated_chat_codec); + if (ChatProp != 0) { + output.WriteRawTag(80); + output.WriteInt32(ChatProp); + } + if (ChatTime != 0) { + output.WriteRawTag(88); + output.WriteInt32(ChatTime); + } + if (NPCId != 0) { + output.WriteRawTag(96); + output.WriteInt32(NPCId); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Literary.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Literary); + } + if (RefreshPoint != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshPoint); + } + if (FirstLines != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FirstLines); + } + size += lines_.CalculateSize(_repeated_lines_codec); + size += chat_.CalculateSize(_repeated_chat_codec); + if (ChatProp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChatProp); + } + if (ChatTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ChatTime); + } + if (NPCId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NPCId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NPCConfig other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Literary.Length != 0) { + Literary = other.Literary; + } + if (other.RefreshPoint != 0) { + RefreshPoint = other.RefreshPoint; + } + if (other.FirstLines != 0) { + FirstLines = other.FirstLines; + } + lines_.Add(other.lines_); + chat_.Add(other.chat_); + if (other.ChatProp != 0) { + ChatProp = other.ChatProp; + } + if (other.ChatTime != 0) { + ChatTime = other.ChatTime; + } + if (other.NPCId != 0) { + NPCId = other.NPCId; + } + _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: { + Type = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + Literary = input.ReadString(); + break; + } + case 48: { + RefreshPoint = input.ReadInt32(); + break; + } + case 56: { + FirstLines = input.ReadInt32(); + break; + } + case 66: + case 64: { + lines_.AddEntriesFrom(input, _repeated_lines_codec); + break; + } + case 74: + case 72: { + chat_.AddEntriesFrom(input, _repeated_chat_codec); + break; + } + case 80: { + ChatProp = input.ReadInt32(); + break; + } + case 88: { + ChatTime = input.ReadInt32(); + break; + } + case 96: { + NPCId = 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: { + Type = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + Literary = input.ReadString(); + break; + } + case 48: { + RefreshPoint = input.ReadInt32(); + break; + } + case 56: { + FirstLines = input.ReadInt32(); + break; + } + case 66: + case 64: { + lines_.AddEntriesFrom(ref input, _repeated_lines_codec); + break; + } + case 74: + case 72: { + chat_.AddEntriesFrom(ref input, _repeated_chat_codec); + break; + } + case 80: { + ChatProp = input.ReadInt32(); + break; + } + case 88: { + ChatTime = input.ReadInt32(); + break; + } + case 96: { + NPCId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_NPCConfig : pb::IMessage<table_NPCConfig> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_NPCConfig> _parser = new pb::MessageParser<table_NPCConfig>(() => new table_NPCConfig()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_NPCConfig> 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.ClientTableReflection.Descriptor.MessageTypes[295]; } + } + + [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 table_NPCConfig() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_NPCConfig(table_NPCConfig other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_NPCConfig Clone() { + return new table_NPCConfig(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.NPCConfig> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.NPCConfig.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.NPCConfig> list_ = new pbc::RepeatedField<global::Nova.Client.NPCConfig>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.NPCConfig> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_NPCConfig); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_NPCConfig other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_NPCConfig other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class NPCSkin : pb::IMessage<NPCSkin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<NPCSkin> _parser = new pb::MessageParser<NPCSkin>(() => new NPCSkin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<NPCSkin> 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.ClientTableReflection.Descriptor.MessageTypes[296]; } + } + + [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 NPCSkin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NPCSkin(NPCSkin other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + isShow_ = other.isShow_; + charId_ = other.charId_; + type_ = other.type_; + sourceDesc_ = other.sourceDesc_; + icon_ = other.icon_; + smallPortrait_ = other.smallPortrait_; + modelScale_ = other.modelScale_; + model_ = other.model_; + portrait_ = other.portrait_; + bg_ = other.bg_; + offset_ = other.offset_; + l2D_ = other.l2D_; + fullScreenPortrait_ = other.fullScreenPortrait_; + skinTheme_ = other.skinTheme_; + interactiveAction_ = other.interactiveAction_; + interactiveActionId_ = other.interactiveActionId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NPCSkin Clone() { + return new NPCSkin(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "IsShow" field.</summary> + public const int IsShowFieldNumber = 4; + private bool isShow_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsShow { + get { return isShow_; } + set { + isShow_ = value; + } + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 5; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 6; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "SourceDesc" field.</summary> + public const int SourceDescFieldNumber = 7; + private int sourceDesc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SourceDesc { + get { return sourceDesc_; } + set { + sourceDesc_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 8; + 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 "SmallPortrait" field.</summary> + public const int SmallPortraitFieldNumber = 9; + private string smallPortrait_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SmallPortrait { + get { return smallPortrait_; } + set { + smallPortrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ModelScale" field.</summary> + public const int ModelScaleFieldNumber = 10; + private int modelScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ModelScale { + get { return modelScale_; } + set { + modelScale_ = value; + } + } + + /// <summary>Field number for the "Model" field.</summary> + public const int ModelFieldNumber = 11; + private string model_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Model { + get { return model_; } + set { + model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Portrait" field.</summary> + public const int PortraitFieldNumber = 12; + private string portrait_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Portrait { + get { return portrait_; } + set { + portrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Bg" field.</summary> + public const int BgFieldNumber = 13; + private string bg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bg { + get { return bg_; } + set { + bg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Offset" field.</summary> + public const int OffsetFieldNumber = 14; + private string offset_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Offset { + get { return offset_; } + set { + offset_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "L2D" field.</summary> + public const int L2DFieldNumber = 15; + private string l2D_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string L2D { + get { return l2D_; } + set { + l2D_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FullScreenPortrait" field.</summary> + public const int FullScreenPortraitFieldNumber = 16; + private string fullScreenPortrait_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FullScreenPortrait { + get { return fullScreenPortrait_; } + set { + fullScreenPortrait_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SkinTheme" field.</summary> + public const int SkinThemeFieldNumber = 17; + private int skinTheme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkinTheme { + get { return skinTheme_; } + set { + skinTheme_ = value; + } + } + + /// <summary>Field number for the "InteractiveAction" field.</summary> + public const int InteractiveActionFieldNumber = 18; + private bool interactiveAction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool InteractiveAction { + get { return interactiveAction_; } + set { + interactiveAction_ = value; + } + } + + /// <summary>Field number for the "InteractiveActionId" field.</summary> + public const int InteractiveActionIdFieldNumber = 19; + private int interactiveActionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int InteractiveActionId { + get { return interactiveActionId_; } + set { + interactiveActionId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NPCSkin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NPCSkin 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 (Desc != other.Desc) return false; + if (IsShow != other.IsShow) return false; + if (CharId != other.CharId) return false; + if (Type != other.Type) return false; + if (SourceDesc != other.SourceDesc) return false; + if (Icon != other.Icon) return false; + if (SmallPortrait != other.SmallPortrait) return false; + if (ModelScale != other.ModelScale) return false; + if (Model != other.Model) return false; + if (Portrait != other.Portrait) return false; + if (Bg != other.Bg) return false; + if (Offset != other.Offset) return false; + if (L2D != other.L2D) return false; + if (FullScreenPortrait != other.FullScreenPortrait) return false; + if (SkinTheme != other.SkinTheme) return false; + if (InteractiveAction != other.InteractiveAction) return false; + if (InteractiveActionId != other.InteractiveActionId) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (IsShow != false) hash ^= IsShow.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (SourceDesc != 0) hash ^= SourceDesc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (SmallPortrait.Length != 0) hash ^= SmallPortrait.GetHashCode(); + if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); + if (Model.Length != 0) hash ^= Model.GetHashCode(); + if (Portrait.Length != 0) hash ^= Portrait.GetHashCode(); + if (Bg.Length != 0) hash ^= Bg.GetHashCode(); + if (Offset.Length != 0) hash ^= Offset.GetHashCode(); + if (L2D.Length != 0) hash ^= L2D.GetHashCode(); + if (FullScreenPortrait.Length != 0) hash ^= FullScreenPortrait.GetHashCode(); + if (SkinTheme != 0) hash ^= SkinTheme.GetHashCode(); + if (InteractiveAction != false) hash ^= InteractiveAction.GetHashCode(); + if (InteractiveActionId != 0) hash ^= InteractiveActionId.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (IsShow != false) { + output.WriteRawTag(32); + output.WriteBool(IsShow); + } + if (CharId != 0) { + output.WriteRawTag(40); + output.WriteInt32(CharId); + } + if (Type != 0) { + output.WriteRawTag(48); + output.WriteInt32(Type); + } + if (SourceDesc != 0) { + output.WriteRawTag(56); + output.WriteInt32(SourceDesc); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (SmallPortrait.Length != 0) { + output.WriteRawTag(74); + output.WriteString(SmallPortrait); + } + if (ModelScale != 0) { + output.WriteRawTag(80); + output.WriteInt32(ModelScale); + } + if (Model.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Model); + } + if (Portrait.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Portrait); + } + if (Bg.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Bg); + } + if (Offset.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Offset); + } + if (L2D.Length != 0) { + output.WriteRawTag(122); + output.WriteString(L2D); + } + if (FullScreenPortrait.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(FullScreenPortrait); + } + if (SkinTheme != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(SkinTheme); + } + if (InteractiveAction != false) { + output.WriteRawTag(144, 1); + output.WriteBool(InteractiveAction); + } + if (InteractiveActionId != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(InteractiveActionId); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (IsShow != false) { + output.WriteRawTag(32); + output.WriteBool(IsShow); + } + if (CharId != 0) { + output.WriteRawTag(40); + output.WriteInt32(CharId); + } + if (Type != 0) { + output.WriteRawTag(48); + output.WriteInt32(Type); + } + if (SourceDesc != 0) { + output.WriteRawTag(56); + output.WriteInt32(SourceDesc); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (SmallPortrait.Length != 0) { + output.WriteRawTag(74); + output.WriteString(SmallPortrait); + } + if (ModelScale != 0) { + output.WriteRawTag(80); + output.WriteInt32(ModelScale); + } + if (Model.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Model); + } + if (Portrait.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Portrait); + } + if (Bg.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Bg); + } + if (Offset.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Offset); + } + if (L2D.Length != 0) { + output.WriteRawTag(122); + output.WriteString(L2D); + } + if (FullScreenPortrait.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(FullScreenPortrait); + } + if (SkinTheme != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(SkinTheme); + } + if (InteractiveAction != false) { + output.WriteRawTag(144, 1); + output.WriteBool(InteractiveAction); + } + if (InteractiveActionId != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(InteractiveActionId); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (IsShow != false) { + size += 1 + 1; + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (SourceDesc != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SourceDesc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (SmallPortrait.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallPortrait); + } + if (ModelScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); + } + if (Model.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); + } + if (Portrait.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Portrait); + } + if (Bg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bg); + } + if (Offset.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Offset); + } + if (L2D.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(L2D); + } + if (FullScreenPortrait.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(FullScreenPortrait); + } + if (SkinTheme != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinTheme); + } + if (InteractiveAction != false) { + size += 2 + 1; + } + if (InteractiveActionId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(InteractiveActionId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NPCSkin other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.IsShow != false) { + IsShow = other.IsShow; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.SourceDesc != 0) { + SourceDesc = other.SourceDesc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.SmallPortrait.Length != 0) { + SmallPortrait = other.SmallPortrait; + } + if (other.ModelScale != 0) { + ModelScale = other.ModelScale; + } + if (other.Model.Length != 0) { + Model = other.Model; + } + if (other.Portrait.Length != 0) { + Portrait = other.Portrait; + } + if (other.Bg.Length != 0) { + Bg = other.Bg; + } + if (other.Offset.Length != 0) { + Offset = other.Offset; + } + if (other.L2D.Length != 0) { + L2D = other.L2D; + } + if (other.FullScreenPortrait.Length != 0) { + FullScreenPortrait = other.FullScreenPortrait; + } + if (other.SkinTheme != 0) { + SkinTheme = other.SkinTheme; + } + if (other.InteractiveAction != false) { + InteractiveAction = other.InteractiveAction; + } + if (other.InteractiveActionId != 0) { + InteractiveActionId = other.InteractiveActionId; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + IsShow = input.ReadBool(); + break; + } + case 40: { + CharId = input.ReadInt32(); + break; + } + case 48: { + Type = input.ReadInt32(); + break; + } + case 56: { + SourceDesc = input.ReadInt32(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 74: { + SmallPortrait = input.ReadString(); + break; + } + case 80: { + ModelScale = input.ReadInt32(); + break; + } + case 90: { + Model = input.ReadString(); + break; + } + case 98: { + Portrait = input.ReadString(); + break; + } + case 106: { + Bg = input.ReadString(); + break; + } + case 114: { + Offset = input.ReadString(); + break; + } + case 122: { + L2D = input.ReadString(); + break; + } + case 130: { + FullScreenPortrait = input.ReadString(); + break; + } + case 136: { + SkinTheme = input.ReadInt32(); + break; + } + case 144: { + InteractiveAction = input.ReadBool(); + break; + } + case 152: { + InteractiveActionId = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + IsShow = input.ReadBool(); + break; + } + case 40: { + CharId = input.ReadInt32(); + break; + } + case 48: { + Type = input.ReadInt32(); + break; + } + case 56: { + SourceDesc = input.ReadInt32(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 74: { + SmallPortrait = input.ReadString(); + break; + } + case 80: { + ModelScale = input.ReadInt32(); + break; + } + case 90: { + Model = input.ReadString(); + break; + } + case 98: { + Portrait = input.ReadString(); + break; + } + case 106: { + Bg = input.ReadString(); + break; + } + case 114: { + Offset = input.ReadString(); + break; + } + case 122: { + L2D = input.ReadString(); + break; + } + case 130: { + FullScreenPortrait = input.ReadString(); + break; + } + case 136: { + SkinTheme = input.ReadInt32(); + break; + } + case 144: { + InteractiveAction = input.ReadBool(); + break; + } + case 152: { + InteractiveActionId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_NPCSkin : pb::IMessage<table_NPCSkin> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_NPCSkin> _parser = new pb::MessageParser<table_NPCSkin>(() => new table_NPCSkin()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_NPCSkin> 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.ClientTableReflection.Descriptor.MessageTypes[297]; } + } + + [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 table_NPCSkin() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_NPCSkin(table_NPCSkin other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_NPCSkin Clone() { + return new table_NPCSkin(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.NPCSkin> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.NPCSkin.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.NPCSkin> list_ = new pbc::RepeatedField<global::Nova.Client.NPCSkin>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.NPCSkin> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_NPCSkin); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_NPCSkin other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_NPCSkin other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OnceAdditionalAttribute : pb::IMessage<OnceAdditionalAttribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<OnceAdditionalAttribute> _parser = new pb::MessageParser<OnceAdditionalAttribute>(() => new OnceAdditionalAttribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<OnceAdditionalAttribute> 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.ClientTableReflection.Descriptor.MessageTypes[298]; } + } + + [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 OnceAdditionalAttribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnceAdditionalAttribute(OnceAdditionalAttribute other) : this() { + id_ = other.id_; + levelTypeData_ = other.levelTypeData_; + levelData_ = other.levelData_; + mainOrSupport_ = other.mainOrSupport_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnceAdditionalAttribute Clone() { + return new OnceAdditionalAttribute(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 "levelTypeData" field.</summary> + public const int LevelTypeDataFieldNumber = 2; + private int levelTypeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTypeData { + get { return levelTypeData_; } + set { + levelTypeData_ = value; + } + } + + /// <summary>Field number for the "LevelData" field.</summary> + public const int LevelDataFieldNumber = 3; + private int levelData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelData { + get { return levelData_; } + set { + levelData_ = value; + } + } + + /// <summary>Field number for the "MainOrSupport" field.</summary> + public const int MainOrSupportFieldNumber = 4; + private int mainOrSupport_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainOrSupport { + get { return mainOrSupport_; } + set { + mainOrSupport_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as OnceAdditionalAttribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OnceAdditionalAttribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LevelTypeData != other.LevelTypeData) return false; + if (LevelData != other.LevelData) return false; + if (MainOrSupport != other.MainOrSupport) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); + if (LevelData != 0) hash ^= LevelData.GetHashCode(); + if (MainOrSupport != 0) hash ^= MainOrSupport.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 (LevelTypeData != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(32); + output.WriteInt32(MainOrSupport); + } + 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 (LevelTypeData != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(32); + output.WriteInt32(MainOrSupport); + } + 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 (LevelTypeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + } + if (LevelData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + } + if (MainOrSupport != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OnceAdditionalAttribute other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LevelTypeData != 0) { + LevelTypeData = other.LevelTypeData; + } + if (other.LevelData != 0) { + LevelData = other.LevelData; + } + if (other.MainOrSupport != 0) { + MainOrSupport = other.MainOrSupport; + } + _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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 24: { + LevelData = input.ReadInt32(); + break; + } + case 32: { + MainOrSupport = 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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 24: { + LevelData = input.ReadInt32(); + break; + } + case 32: { + MainOrSupport = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_OnceAdditionalAttribute : pb::IMessage<table_OnceAdditionalAttribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_OnceAdditionalAttribute> _parser = new pb::MessageParser<table_OnceAdditionalAttribute>(() => new table_OnceAdditionalAttribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_OnceAdditionalAttribute> 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.ClientTableReflection.Descriptor.MessageTypes[299]; } + } + + [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 table_OnceAdditionalAttribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_OnceAdditionalAttribute(table_OnceAdditionalAttribute other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_OnceAdditionalAttribute Clone() { + return new table_OnceAdditionalAttribute(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.OnceAdditionalAttribute> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.OnceAdditionalAttribute.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttribute> list_ = new pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttribute>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttribute> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_OnceAdditionalAttribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_OnceAdditionalAttribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_OnceAdditionalAttribute other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OnceAdditionalAttributeValue : pb::IMessage<OnceAdditionalAttributeValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<OnceAdditionalAttributeValue> _parser = new pb::MessageParser<OnceAdditionalAttributeValue>(() => new OnceAdditionalAttributeValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<OnceAdditionalAttributeValue> 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.ClientTableReflection.Descriptor.MessageTypes[300]; } + } + + [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 OnceAdditionalAttributeValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnceAdditionalAttributeValue(OnceAdditionalAttributeValue other) : this() { + id_ = other.id_; + attributeType1_ = other.attributeType1_; + parameterType1_ = other.parameterType1_; + value1_ = other.value1_; + attributeType2_ = other.attributeType2_; + parameterType2_ = other.parameterType2_; + value2_ = other.value2_; + attributeType3_ = other.attributeType3_; + parameterType3_ = other.parameterType3_; + value3_ = other.value3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OnceAdditionalAttributeValue Clone() { + return new OnceAdditionalAttributeValue(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 "AttributeType1" field.</summary> + public const int AttributeType1FieldNumber = 2; + private int attributeType1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttributeType1 { + get { return attributeType1_; } + set { + attributeType1_ = value; + } + } + + /// <summary>Field number for the "ParameterType1" field.</summary> + public const int ParameterType1FieldNumber = 3; + private int parameterType1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ParameterType1 { + get { return parameterType1_; } + set { + parameterType1_ = value; + } + } + + /// <summary>Field number for the "Value1" field.</summary> + public const int Value1FieldNumber = 4; + private int value1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value1 { + get { return value1_; } + set { + value1_ = value; + } + } + + /// <summary>Field number for the "AttributeType2" field.</summary> + public const int AttributeType2FieldNumber = 5; + private int attributeType2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttributeType2 { + get { return attributeType2_; } + set { + attributeType2_ = value; + } + } + + /// <summary>Field number for the "ParameterType2" field.</summary> + public const int ParameterType2FieldNumber = 6; + private int parameterType2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ParameterType2 { + get { return parameterType2_; } + set { + parameterType2_ = value; + } + } + + /// <summary>Field number for the "Value2" field.</summary> + public const int Value2FieldNumber = 7; + private int value2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value2 { + get { return value2_; } + set { + value2_ = value; + } + } + + /// <summary>Field number for the "AttributeType3" field.</summary> + public const int AttributeType3FieldNumber = 8; + private int attributeType3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AttributeType3 { + get { return attributeType3_; } + set { + attributeType3_ = value; + } + } + + /// <summary>Field number for the "ParameterType3" field.</summary> + public const int ParameterType3FieldNumber = 9; + private int parameterType3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ParameterType3 { + get { return parameterType3_; } + set { + parameterType3_ = value; + } + } + + /// <summary>Field number for the "Value3" field.</summary> + public const int Value3FieldNumber = 10; + private int value3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Value3 { + get { return value3_; } + set { + value3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as OnceAdditionalAttributeValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OnceAdditionalAttributeValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (AttributeType1 != other.AttributeType1) return false; + if (ParameterType1 != other.ParameterType1) return false; + if (Value1 != other.Value1) return false; + if (AttributeType2 != other.AttributeType2) return false; + if (ParameterType2 != other.ParameterType2) return false; + if (Value2 != other.Value2) return false; + if (AttributeType3 != other.AttributeType3) return false; + if (ParameterType3 != other.ParameterType3) return false; + if (Value3 != other.Value3) 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 (AttributeType1 != 0) hash ^= AttributeType1.GetHashCode(); + if (ParameterType1 != 0) hash ^= ParameterType1.GetHashCode(); + if (Value1 != 0) hash ^= Value1.GetHashCode(); + if (AttributeType2 != 0) hash ^= AttributeType2.GetHashCode(); + if (ParameterType2 != 0) hash ^= ParameterType2.GetHashCode(); + if (Value2 != 0) hash ^= Value2.GetHashCode(); + if (AttributeType3 != 0) hash ^= AttributeType3.GetHashCode(); + if (ParameterType3 != 0) hash ^= ParameterType3.GetHashCode(); + if (Value3 != 0) hash ^= Value3.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 (AttributeType1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(AttributeType1); + } + if (ParameterType1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(ParameterType1); + } + if (Value1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Value1); + } + if (AttributeType2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AttributeType2); + } + if (ParameterType2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(ParameterType2); + } + if (Value2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Value2); + } + if (AttributeType3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(AttributeType3); + } + if (ParameterType3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(ParameterType3); + } + if (Value3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Value3); + } + 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 (AttributeType1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(AttributeType1); + } + if (ParameterType1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(ParameterType1); + } + if (Value1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(Value1); + } + if (AttributeType2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AttributeType2); + } + if (ParameterType2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(ParameterType2); + } + if (Value2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Value2); + } + if (AttributeType3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(AttributeType3); + } + if (ParameterType3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(ParameterType3); + } + if (Value3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Value3); + } + 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 (AttributeType1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType1); + } + if (ParameterType1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType1); + } + if (Value1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value1); + } + if (AttributeType2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType2); + } + if (ParameterType2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType2); + } + if (Value2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value2); + } + if (AttributeType3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType3); + } + if (ParameterType3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType3); + } + if (Value3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OnceAdditionalAttributeValue other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.AttributeType1 != 0) { + AttributeType1 = other.AttributeType1; + } + if (other.ParameterType1 != 0) { + ParameterType1 = other.ParameterType1; + } + if (other.Value1 != 0) { + Value1 = other.Value1; + } + if (other.AttributeType2 != 0) { + AttributeType2 = other.AttributeType2; + } + if (other.ParameterType2 != 0) { + ParameterType2 = other.ParameterType2; + } + if (other.Value2 != 0) { + Value2 = other.Value2; + } + if (other.AttributeType3 != 0) { + AttributeType3 = other.AttributeType3; + } + if (other.ParameterType3 != 0) { + ParameterType3 = other.ParameterType3; + } + if (other.Value3 != 0) { + Value3 = other.Value3; + } + _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: { + AttributeType1 = input.ReadInt32(); + break; + } + case 24: { + ParameterType1 = input.ReadInt32(); + break; + } + case 32: { + Value1 = input.ReadInt32(); + break; + } + case 40: { + AttributeType2 = input.ReadInt32(); + break; + } + case 48: { + ParameterType2 = input.ReadInt32(); + break; + } + case 56: { + Value2 = input.ReadInt32(); + break; + } + case 64: { + AttributeType3 = input.ReadInt32(); + break; + } + case 72: { + ParameterType3 = input.ReadInt32(); + break; + } + case 80: { + Value3 = 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: { + AttributeType1 = input.ReadInt32(); + break; + } + case 24: { + ParameterType1 = input.ReadInt32(); + break; + } + case 32: { + Value1 = input.ReadInt32(); + break; + } + case 40: { + AttributeType2 = input.ReadInt32(); + break; + } + case 48: { + ParameterType2 = input.ReadInt32(); + break; + } + case 56: { + Value2 = input.ReadInt32(); + break; + } + case 64: { + AttributeType3 = input.ReadInt32(); + break; + } + case 72: { + ParameterType3 = input.ReadInt32(); + break; + } + case 80: { + Value3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_OnceAdditionalAttributeValue : pb::IMessage<table_OnceAdditionalAttributeValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_OnceAdditionalAttributeValue> _parser = new pb::MessageParser<table_OnceAdditionalAttributeValue>(() => new table_OnceAdditionalAttributeValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_OnceAdditionalAttributeValue> 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.ClientTableReflection.Descriptor.MessageTypes[301]; } + } + + [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 table_OnceAdditionalAttributeValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_OnceAdditionalAttributeValue(table_OnceAdditionalAttributeValue other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_OnceAdditionalAttributeValue Clone() { + return new table_OnceAdditionalAttributeValue(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.OnceAdditionalAttributeValue> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.OnceAdditionalAttributeValue.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttributeValue> list_ = new pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttributeValue>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.OnceAdditionalAttributeValue> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_OnceAdditionalAttributeValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_OnceAdditionalAttributeValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_OnceAdditionalAttributeValue other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class OpenFunc : pb::IMessage<OpenFunc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<OpenFunc> _parser = new pb::MessageParser<OpenFunc>(() => new OpenFunc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<OpenFunc> 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.ClientTableReflection.Descriptor.MessageTypes[302]; } + } + + [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 OpenFunc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OpenFunc(OpenFunc other) : this() { + id_ = other.id_; + name_ = other.name_; + needWorldClass_ = other.needWorldClass_; + needConditions_ = other.needConditions_; + needRoguelike_ = other.needRoguelike_; + popWindows_ = other.popWindows_; + desc_ = other.desc_; + icon_ = other.icon_; + tips_ = other.tips_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public OpenFunc Clone() { + return new OpenFunc(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 "NeedWorldClass" field.</summary> + public const int NeedWorldClassFieldNumber = 3; + private int needWorldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedWorldClass { + get { return needWorldClass_; } + set { + needWorldClass_ = value; + } + } + + /// <summary>Field number for the "NeedConditions" field.</summary> + public const int NeedConditionsFieldNumber = 4; + private int needConditions_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedConditions { + get { return needConditions_; } + set { + needConditions_ = value; + } + } + + /// <summary>Field number for the "NeedRoguelike" field.</summary> + public const int NeedRoguelikeFieldNumber = 5; + private int needRoguelike_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedRoguelike { + get { return needRoguelike_; } + set { + needRoguelike_ = value; + } + } + + /// <summary>Field number for the "PopWindows" field.</summary> + public const int PopWindowsFieldNumber = 6; + private bool popWindows_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PopWindows { + get { return popWindows_; } + set { + popWindows_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 7; + 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 = 8; + 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 "Tips" field.</summary> + public const int TipsFieldNumber = 9; + private string tips_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tips { + get { return tips_; } + set { + tips_ = 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 OpenFunc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(OpenFunc 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 (NeedWorldClass != other.NeedWorldClass) return false; + if (NeedConditions != other.NeedConditions) return false; + if (NeedRoguelike != other.NeedRoguelike) return false; + if (PopWindows != other.PopWindows) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (Tips != other.Tips) 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 (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); + if (NeedConditions != 0) hash ^= NeedConditions.GetHashCode(); + if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode(); + if (PopWindows != false) hash ^= PopWindows.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Tips.Length != 0) hash ^= Tips.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 (NeedWorldClass != 0) { + output.WriteRawTag(24); + output.WriteInt32(NeedWorldClass); + } + if (NeedConditions != 0) { + output.WriteRawTag(32); + output.WriteInt32(NeedConditions); + } + if (NeedRoguelike != 0) { + output.WriteRawTag(40); + output.WriteInt32(NeedRoguelike); + } + if (PopWindows != false) { + output.WriteRawTag(48); + output.WriteBool(PopWindows); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (Tips.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Tips); + } + 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 (NeedWorldClass != 0) { + output.WriteRawTag(24); + output.WriteInt32(NeedWorldClass); + } + if (NeedConditions != 0) { + output.WriteRawTag(32); + output.WriteInt32(NeedConditions); + } + if (NeedRoguelike != 0) { + output.WriteRawTag(40); + output.WriteInt32(NeedRoguelike); + } + if (PopWindows != false) { + output.WriteRawTag(48); + output.WriteBool(PopWindows); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (Tips.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Tips); + } + 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 (NeedWorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); + } + if (NeedConditions != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedConditions); + } + if (NeedRoguelike != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike); + } + if (PopWindows != false) { + size += 1 + 1; + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Tips.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Tips); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(OpenFunc other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.NeedWorldClass != 0) { + NeedWorldClass = other.NeedWorldClass; + } + if (other.NeedConditions != 0) { + NeedConditions = other.NeedConditions; + } + if (other.NeedRoguelike != 0) { + NeedRoguelike = other.NeedRoguelike; + } + if (other.PopWindows != false) { + PopWindows = other.PopWindows; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Tips.Length != 0) { + Tips = other.Tips; + } + _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: { + NeedWorldClass = input.ReadInt32(); + break; + } + case 32: { + NeedConditions = input.ReadInt32(); + break; + } + case 40: { + NeedRoguelike = input.ReadInt32(); + break; + } + case 48: { + PopWindows = input.ReadBool(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 74: { + Tips = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + NeedWorldClass = input.ReadInt32(); + break; + } + case 32: { + NeedConditions = input.ReadInt32(); + break; + } + case 40: { + NeedRoguelike = input.ReadInt32(); + break; + } + case 48: { + PopWindows = input.ReadBool(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 74: { + Tips = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_OpenFunc : pb::IMessage<table_OpenFunc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_OpenFunc> _parser = new pb::MessageParser<table_OpenFunc>(() => new table_OpenFunc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_OpenFunc> 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.ClientTableReflection.Descriptor.MessageTypes[303]; } + } + + [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 table_OpenFunc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_OpenFunc(table_OpenFunc other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_OpenFunc Clone() { + return new table_OpenFunc(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.OpenFunc> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.OpenFunc.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.OpenFunc> list_ = new pbc::RepeatedField<global::Nova.Client.OpenFunc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.OpenFunc> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_OpenFunc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_OpenFunc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_OpenFunc other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PeriodicQuest : pb::IMessage<PeriodicQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PeriodicQuest> _parser = new pb::MessageParser<PeriodicQuest>(() => new PeriodicQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PeriodicQuest> 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.ClientTableReflection.Descriptor.MessageTypes[304]; } + } + + [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 PeriodicQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PeriodicQuest(PeriodicQuest other) : this() { + id_ = other.id_; + belong_ = other.belong_; + groupid_ = other.groupid_; + title_ = other.title_; + jumpTo_ = other.jumpTo_; + reward_ = other.reward_; + rewardQty_ = other.rewardQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PeriodicQuest Clone() { + return new PeriodicQuest(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 "Belong" field.</summary> + public const int BelongFieldNumber = 2; + private int belong_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Belong { + get { return belong_; } + set { + belong_ = value; + } + } + + /// <summary>Field number for the "Groupid" field.</summary> + public const int GroupidFieldNumber = 3; + 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 "Title" field.</summary> + public const int TitleFieldNumber = 4; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "JumpTo" field.</summary> + public const int JumpToFieldNumber = 5; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 6; + private int reward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward { + get { return reward_; } + set { + reward_ = value; + } + } + + /// <summary>Field number for the "RewardQty" field.</summary> + public const int RewardQtyFieldNumber = 7; + private int rewardQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty { + get { return rewardQty_; } + set { + rewardQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PeriodicQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PeriodicQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Belong != other.Belong) return false; + if (Groupid != other.Groupid) return false; + if (Title != other.Title) return false; + if (JumpTo != other.JumpTo) return false; + if (Reward != other.Reward) return false; + if (RewardQty != other.RewardQty) 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 (Belong != 0) hash ^= Belong.GetHashCode(); + if (Groupid != 0) hash ^= Groupid.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Reward != 0) hash ^= Reward.GetHashCode(); + if (RewardQty != 0) hash ^= RewardQty.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 (Belong != 0) { + output.WriteRawTag(16); + output.WriteInt32(Belong); + } + if (Groupid != 0) { + output.WriteRawTag(24); + output.WriteInt32(Groupid); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(40); + output.WriteInt32(JumpTo); + } + if (Reward != 0) { + output.WriteRawTag(48); + output.WriteInt32(Reward); + } + if (RewardQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardQty); + } + 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 (Belong != 0) { + output.WriteRawTag(16); + output.WriteInt32(Belong); + } + if (Groupid != 0) { + output.WriteRawTag(24); + output.WriteInt32(Groupid); + } + if (Title.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(40); + output.WriteInt32(JumpTo); + } + if (Reward != 0) { + output.WriteRawTag(48); + output.WriteInt32(Reward); + } + if (RewardQty != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardQty); + } + 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 (Belong != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Belong); + } + if (Groupid != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Groupid); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Reward != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward); + } + if (RewardQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PeriodicQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Belong != 0) { + Belong = other.Belong; + } + if (other.Groupid != 0) { + Groupid = other.Groupid; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Reward != 0) { + Reward = other.Reward; + } + if (other.RewardQty != 0) { + RewardQty = other.RewardQty; + } + _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: { + Belong = input.ReadInt32(); + break; + } + case 24: { + Groupid = input.ReadInt32(); + break; + } + case 34: { + Title = input.ReadString(); + break; + } + case 40: { + JumpTo = input.ReadInt32(); + break; + } + case 48: { + Reward = input.ReadInt32(); + break; + } + case 56: { + RewardQty = 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: { + Belong = input.ReadInt32(); + break; + } + case 24: { + Groupid = input.ReadInt32(); + break; + } + case 34: { + Title = input.ReadString(); + break; + } + case 40: { + JumpTo = input.ReadInt32(); + break; + } + case 48: { + Reward = input.ReadInt32(); + break; + } + case 56: { + RewardQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PeriodicQuest : pb::IMessage<table_PeriodicQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PeriodicQuest> _parser = new pb::MessageParser<table_PeriodicQuest>(() => new table_PeriodicQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PeriodicQuest> 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.ClientTableReflection.Descriptor.MessageTypes[305]; } + } + + [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 table_PeriodicQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PeriodicQuest(table_PeriodicQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PeriodicQuest Clone() { + return new table_PeriodicQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PeriodicQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PeriodicQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PeriodicQuest> list_ = new pbc::RepeatedField<global::Nova.Client.PeriodicQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PeriodicQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PeriodicQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PeriodicQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PeriodicQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PeriodicQuestControl : pb::IMessage<PeriodicQuestControl> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PeriodicQuestControl> _parser = new pb::MessageParser<PeriodicQuestControl>(() => new PeriodicQuestControl()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PeriodicQuestControl> 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.ClientTableReflection.Descriptor.MessageTypes[306]; } + } + + [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 PeriodicQuestControl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PeriodicQuestControl(PeriodicQuestControl other) : this() { + id_ = other.id_; + finalReward1_ = other.finalReward1_; + finalRewardQty1_ = other.finalRewardQty1_; + finalReward2_ = other.finalReward2_; + finalRewardQty2_ = other.finalRewardQty2_; + finalReward3_ = other.finalReward3_; + finalRewardQty3_ = other.finalRewardQty3_; + desText_ = other.desText_; + uIAssets_ = other.uIAssets_; + ctrlName_ = other.ctrlName_; + previewType_ = other.previewType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PeriodicQuestControl Clone() { + return new PeriodicQuestControl(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 "FinalReward1" field.</summary> + public const int FinalReward1FieldNumber = 2; + private int finalReward1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalReward1 { + get { return finalReward1_; } + set { + finalReward1_ = value; + } + } + + /// <summary>Field number for the "FinalRewardQty1" field.</summary> + public const int FinalRewardQty1FieldNumber = 3; + private int finalRewardQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalRewardQty1 { + get { return finalRewardQty1_; } + set { + finalRewardQty1_ = value; + } + } + + /// <summary>Field number for the "FinalReward2" field.</summary> + public const int FinalReward2FieldNumber = 4; + private int finalReward2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalReward2 { + get { return finalReward2_; } + set { + finalReward2_ = value; + } + } + + /// <summary>Field number for the "FinalRewardQty2" field.</summary> + public const int FinalRewardQty2FieldNumber = 5; + private int finalRewardQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalRewardQty2 { + get { return finalRewardQty2_; } + set { + finalRewardQty2_ = value; + } + } + + /// <summary>Field number for the "FinalReward3" field.</summary> + public const int FinalReward3FieldNumber = 6; + private int finalReward3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalReward3 { + get { return finalReward3_; } + set { + finalReward3_ = value; + } + } + + /// <summary>Field number for the "FinalRewardQty3" field.</summary> + public const int FinalRewardQty3FieldNumber = 7; + private int finalRewardQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalRewardQty3 { + get { return finalRewardQty3_; } + set { + finalRewardQty3_ = value; + } + } + + /// <summary>Field number for the "DesText" field.</summary> + public const int DesTextFieldNumber = 8; + private string desText_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DesText { + get { return desText_; } + set { + desText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UIAssets" field.</summary> + public const int UIAssetsFieldNumber = 9; + private string uIAssets_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UIAssets { + get { return uIAssets_; } + set { + uIAssets_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CtrlName" field.</summary> + public const int CtrlNameFieldNumber = 10; + private string ctrlName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CtrlName { + get { return ctrlName_; } + set { + ctrlName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PreviewType" field.</summary> + public const int PreviewTypeFieldNumber = 11; + private int previewType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreviewType { + get { return previewType_; } + set { + previewType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PeriodicQuestControl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PeriodicQuestControl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (FinalReward1 != other.FinalReward1) return false; + if (FinalRewardQty1 != other.FinalRewardQty1) return false; + if (FinalReward2 != other.FinalReward2) return false; + if (FinalRewardQty2 != other.FinalRewardQty2) return false; + if (FinalReward3 != other.FinalReward3) return false; + if (FinalRewardQty3 != other.FinalRewardQty3) return false; + if (DesText != other.DesText) return false; + if (UIAssets != other.UIAssets) return false; + if (CtrlName != other.CtrlName) return false; + if (PreviewType != other.PreviewType) 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 (FinalReward1 != 0) hash ^= FinalReward1.GetHashCode(); + if (FinalRewardQty1 != 0) hash ^= FinalRewardQty1.GetHashCode(); + if (FinalReward2 != 0) hash ^= FinalReward2.GetHashCode(); + if (FinalRewardQty2 != 0) hash ^= FinalRewardQty2.GetHashCode(); + if (FinalReward3 != 0) hash ^= FinalReward3.GetHashCode(); + if (FinalRewardQty3 != 0) hash ^= FinalRewardQty3.GetHashCode(); + if (DesText.Length != 0) hash ^= DesText.GetHashCode(); + if (UIAssets.Length != 0) hash ^= UIAssets.GetHashCode(); + if (CtrlName.Length != 0) hash ^= CtrlName.GetHashCode(); + if (PreviewType != 0) hash ^= PreviewType.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 (FinalReward1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(FinalReward1); + } + if (FinalRewardQty1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(FinalRewardQty1); + } + if (FinalReward2 != 0) { + output.WriteRawTag(32); + output.WriteInt32(FinalReward2); + } + if (FinalRewardQty2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(FinalRewardQty2); + } + if (FinalReward3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(FinalReward3); + } + if (FinalRewardQty3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(FinalRewardQty3); + } + if (DesText.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DesText); + } + if (UIAssets.Length != 0) { + output.WriteRawTag(74); + output.WriteString(UIAssets); + } + if (CtrlName.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CtrlName); + } + if (PreviewType != 0) { + output.WriteRawTag(88); + output.WriteInt32(PreviewType); + } + 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 (FinalReward1 != 0) { + output.WriteRawTag(16); + output.WriteInt32(FinalReward1); + } + if (FinalRewardQty1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(FinalRewardQty1); + } + if (FinalReward2 != 0) { + output.WriteRawTag(32); + output.WriteInt32(FinalReward2); + } + if (FinalRewardQty2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(FinalRewardQty2); + } + if (FinalReward3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(FinalReward3); + } + if (FinalRewardQty3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(FinalRewardQty3); + } + if (DesText.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DesText); + } + if (UIAssets.Length != 0) { + output.WriteRawTag(74); + output.WriteString(UIAssets); + } + if (CtrlName.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CtrlName); + } + if (PreviewType != 0) { + output.WriteRawTag(88); + output.WriteInt32(PreviewType); + } + 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 (FinalReward1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalReward1); + } + if (FinalRewardQty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalRewardQty1); + } + if (FinalReward2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalReward2); + } + if (FinalRewardQty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalRewardQty2); + } + if (FinalReward3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalReward3); + } + if (FinalRewardQty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalRewardQty3); + } + if (DesText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DesText); + } + if (UIAssets.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UIAssets); + } + if (CtrlName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CtrlName); + } + if (PreviewType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PeriodicQuestControl other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.FinalReward1 != 0) { + FinalReward1 = other.FinalReward1; + } + if (other.FinalRewardQty1 != 0) { + FinalRewardQty1 = other.FinalRewardQty1; + } + if (other.FinalReward2 != 0) { + FinalReward2 = other.FinalReward2; + } + if (other.FinalRewardQty2 != 0) { + FinalRewardQty2 = other.FinalRewardQty2; + } + if (other.FinalReward3 != 0) { + FinalReward3 = other.FinalReward3; + } + if (other.FinalRewardQty3 != 0) { + FinalRewardQty3 = other.FinalRewardQty3; + } + if (other.DesText.Length != 0) { + DesText = other.DesText; + } + if (other.UIAssets.Length != 0) { + UIAssets = other.UIAssets; + } + if (other.CtrlName.Length != 0) { + CtrlName = other.CtrlName; + } + if (other.PreviewType != 0) { + PreviewType = other.PreviewType; + } + _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: { + FinalReward1 = input.ReadInt32(); + break; + } + case 24: { + FinalRewardQty1 = input.ReadInt32(); + break; + } + case 32: { + FinalReward2 = input.ReadInt32(); + break; + } + case 40: { + FinalRewardQty2 = input.ReadInt32(); + break; + } + case 48: { + FinalReward3 = input.ReadInt32(); + break; + } + case 56: { + FinalRewardQty3 = input.ReadInt32(); + break; + } + case 66: { + DesText = input.ReadString(); + break; + } + case 74: { + UIAssets = input.ReadString(); + break; + } + case 82: { + CtrlName = input.ReadString(); + break; + } + case 88: { + PreviewType = 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: { + FinalReward1 = input.ReadInt32(); + break; + } + case 24: { + FinalRewardQty1 = input.ReadInt32(); + break; + } + case 32: { + FinalReward2 = input.ReadInt32(); + break; + } + case 40: { + FinalRewardQty2 = input.ReadInt32(); + break; + } + case 48: { + FinalReward3 = input.ReadInt32(); + break; + } + case 56: { + FinalRewardQty3 = input.ReadInt32(); + break; + } + case 66: { + DesText = input.ReadString(); + break; + } + case 74: { + UIAssets = input.ReadString(); + break; + } + case 82: { + CtrlName = input.ReadString(); + break; + } + case 88: { + PreviewType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PeriodicQuestControl : pb::IMessage<table_PeriodicQuestControl> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PeriodicQuestControl> _parser = new pb::MessageParser<table_PeriodicQuestControl>(() => new table_PeriodicQuestControl()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PeriodicQuestControl> 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.ClientTableReflection.Descriptor.MessageTypes[307]; } + } + + [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 table_PeriodicQuestControl() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PeriodicQuestControl(table_PeriodicQuestControl other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PeriodicQuestControl Clone() { + return new table_PeriodicQuestControl(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PeriodicQuestControl> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PeriodicQuestControl.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PeriodicQuestControl> list_ = new pbc::RepeatedField<global::Nova.Client.PeriodicQuestControl>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PeriodicQuestControl> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PeriodicQuestControl); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PeriodicQuestControl other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PeriodicQuestControl other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PeriodicQuestGroup : pb::IMessage<PeriodicQuestGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PeriodicQuestGroup> _parser = new pb::MessageParser<PeriodicQuestGroup>(() => new PeriodicQuestGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PeriodicQuestGroup> 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.ClientTableReflection.Descriptor.MessageTypes[308]; } + } + + [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 PeriodicQuestGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PeriodicQuestGroup(PeriodicQuestGroup other) : this() { + belong_ = other.belong_; + groupId_ = other.groupId_; + unlockTime_ = other.unlockTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PeriodicQuestGroup Clone() { + return new PeriodicQuestGroup(this); + } + + /// <summary>Field number for the "Belong" field.</summary> + public const int BelongFieldNumber = 1; + private int belong_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Belong { + get { return belong_; } + set { + belong_ = value; + } + } + + /// <summary>Field number for the "GroupId" 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 "UnlockTime" field.</summary> + public const int UnlockTimeFieldNumber = 3; + private int unlockTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockTime { + get { return unlockTime_; } + set { + unlockTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PeriodicQuestGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PeriodicQuestGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Belong != other.Belong) return false; + if (GroupId != other.GroupId) return false; + if (UnlockTime != other.UnlockTime) 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 (Belong != 0) hash ^= Belong.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (UnlockTime != 0) hash ^= UnlockTime.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 (Belong != 0) { + output.WriteRawTag(8); + output.WriteInt32(Belong); + } + if (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + if (UnlockTime != 0) { + output.WriteRawTag(24); + output.WriteInt32(UnlockTime); + } + 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 (Belong != 0) { + output.WriteRawTag(8); + output.WriteInt32(Belong); + } + if (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + if (UnlockTime != 0) { + output.WriteRawTag(24); + output.WriteInt32(UnlockTime); + } + 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 (Belong != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Belong); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (UnlockTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PeriodicQuestGroup other) { + if (other == null) { + return; + } + if (other.Belong != 0) { + Belong = other.Belong; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.UnlockTime != 0) { + UnlockTime = other.UnlockTime; + } + _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: { + Belong = input.ReadInt32(); + break; + } + case 16: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + UnlockTime = 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: { + Belong = input.ReadInt32(); + break; + } + case 16: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + UnlockTime = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PeriodicQuestGroup : pb::IMessage<table_PeriodicQuestGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PeriodicQuestGroup> _parser = new pb::MessageParser<table_PeriodicQuestGroup>(() => new table_PeriodicQuestGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PeriodicQuestGroup> 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.ClientTableReflection.Descriptor.MessageTypes[309]; } + } + + [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 table_PeriodicQuestGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PeriodicQuestGroup(table_PeriodicQuestGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PeriodicQuestGroup Clone() { + return new table_PeriodicQuestGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PeriodicQuestGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PeriodicQuestGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PeriodicQuestGroup> list_ = new pbc::RepeatedField<global::Nova.Client.PeriodicQuestGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PeriodicQuestGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PeriodicQuestGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PeriodicQuestGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PeriodicQuestGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Perk : pb::IMessage<Perk> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Perk> _parser = new pb::MessageParser<Perk>(() => new Perk()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Perk> 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.ClientTableReflection.Descriptor.MessageTypes[310]; } + } + + [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 Perk() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Perk(Perk other) : this() { + id_ = other.id_; + maxLevel_ = other.maxLevel_; + additionalLevel_ = other.additionalLevel_; + eET_ = other.eET_; + scoreGroupId_ = other.scoreGroupId_; + strengthScore_ = other.strengthScore_.Clone(); + perkType_ = other.perkType_; + charId_ = other.charId_; + charPerkType_ = other.charPerkType_; + theme_ = other.theme_; + gameBookId_ = other.gameBookId_; + operatingFloorType_ = other.operatingFloorType_.Clone(); + operatingNumber_ = other.operatingNumber_; + price_ = other.price_; + slot_ = other.slot_; + tags_ = other.tags_.Clone(); + prePerkIds_ = other.prePerkIds_.Clone(); + preTagPkgs_ = other.preTagPkgs_; + needFloor_ = other.needFloor_; + effectGroupId_ = other.effectGroupId_; + isEffective_ = other.isEffective_; + perkTag1_ = other.perkTag1_; + perkTag2_ = other.perkTag2_; + perkTag3_ = other.perkTag3_; + perkTag4_ = other.perkTag4_; + logoIcon_ = other.logoIcon_; + slotTag_ = other.slotTag_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Perk Clone() { + return new Perk(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 "MaxLevel" field.</summary> + public const int MaxLevelFieldNumber = 2; + private int maxLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxLevel { + get { return maxLevel_; } + set { + maxLevel_ = value; + } + } + + /// <summary>Field number for the "AdditionalLevel" field.</summary> + public const int AdditionalLevelFieldNumber = 3; + private bool additionalLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AdditionalLevel { + get { return additionalLevel_; } + set { + additionalLevel_ = value; + } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 4; + 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 "ScoreGroupId" field.</summary> + public const int ScoreGroupIdFieldNumber = 5; + private int scoreGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ScoreGroupId { + get { return scoreGroupId_; } + set { + scoreGroupId_ = value; + } + } + + /// <summary>Field number for the "StrengthScore" field.</summary> + public const int StrengthScoreFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_strengthScore_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> strengthScore_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> StrengthScore { + get { return strengthScore_; } + } + + /// <summary>Field number for the "PerkType" field.</summary> + public const int PerkTypeFieldNumber = 7; + private int perkType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PerkType { + get { return perkType_; } + set { + perkType_ = value; + } + } + + /// <summary>Field number for the "CharId" field.</summary> + public const int CharIdFieldNumber = 8; + 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 "CharPerkType" field.</summary> + public const int CharPerkTypeFieldNumber = 9; + private int charPerkType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharPerkType { + get { return charPerkType_; } + set { + charPerkType_ = value; + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 10; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "GameBookId" field.</summary> + public const int GameBookIdFieldNumber = 11; + private int gameBookId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GameBookId { + get { return gameBookId_; } + set { + gameBookId_ = value; + } + } + + /// <summary>Field number for the "OperatingFloorType" field.</summary> + public const int OperatingFloorTypeFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_operatingFloorType_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> operatingFloorType_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> OperatingFloorType { + get { return operatingFloorType_; } + } + + /// <summary>Field number for the "OperatingNumber" field.</summary> + public const int OperatingNumberFieldNumber = 13; + private int operatingNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OperatingNumber { + get { return operatingNumber_; } + set { + operatingNumber_ = value; + } + } + + /// <summary>Field number for the "Price" field.</summary> + public const int PriceFieldNumber = 14; + private int price_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Price { + get { return price_; } + set { + price_ = value; + } + } + + /// <summary>Field number for the "Slot" field.</summary> + public const int SlotFieldNumber = 15; + private int slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Slot { + get { return slot_; } + set { + slot_ = value; + } + } + + /// <summary>Field number for the "Tags" field.</summary> + public const int TagsFieldNumber = 16; + private static readonly pb::FieldCodec<int> _repeated_tags_codec + = pb::FieldCodec.ForInt32(130); + 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 "PrePerkIds" field.</summary> + public const int PrePerkIdsFieldNumber = 17; + private static readonly pb::FieldCodec<int> _repeated_prePerkIds_codec + = pb::FieldCodec.ForInt32(138); + private readonly pbc::RepeatedField<int> prePerkIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PrePerkIds { + get { return prePerkIds_; } + } + + /// <summary>Field number for the "PreTagPkgs" field.</summary> + public const int PreTagPkgsFieldNumber = 18; + private string preTagPkgs_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PreTagPkgs { + get { return preTagPkgs_; } + set { + preTagPkgs_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NeedFloor" field.</summary> + public const int NeedFloorFieldNumber = 19; + private int needFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedFloor { + get { return needFloor_; } + set { + needFloor_ = value; + } + } + + /// <summary>Field number for the "EffectGroupId" field.</summary> + public const int EffectGroupIdFieldNumber = 20; + private int effectGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectGroupId { + get { return effectGroupId_; } + set { + effectGroupId_ = value; + } + } + + /// <summary>Field number for the "IsEffective" field.</summary> + public const int IsEffectiveFieldNumber = 21; + private bool isEffective_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsEffective { + get { return isEffective_; } + set { + isEffective_ = value; + } + } + + /// <summary>Field number for the "PerkTag1" field.</summary> + public const int PerkTag1FieldNumber = 22; + private string perkTag1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PerkTag1 { + get { return perkTag1_; } + set { + perkTag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PerkTag2" field.</summary> + public const int PerkTag2FieldNumber = 23; + private string perkTag2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PerkTag2 { + get { return perkTag2_; } + set { + perkTag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PerkTag3" field.</summary> + public const int PerkTag3FieldNumber = 24; + private string perkTag3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PerkTag3 { + get { return perkTag3_; } + set { + perkTag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PerkTag4" field.</summary> + public const int PerkTag4FieldNumber = 25; + private string perkTag4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PerkTag4 { + get { return perkTag4_; } + set { + perkTag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LogoIcon" field.</summary> + public const int LogoIconFieldNumber = 26; + private string logoIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LogoIcon { + get { return logoIcon_; } + set { + logoIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SlotTag" field.</summary> + public const int SlotTagFieldNumber = 27; + private string slotTag_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SlotTag { + get { return slotTag_; } + set { + slotTag_ = 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 Perk); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Perk other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MaxLevel != other.MaxLevel) return false; + if (AdditionalLevel != other.AdditionalLevel) return false; + if (EET != other.EET) return false; + if (ScoreGroupId != other.ScoreGroupId) return false; + if(!strengthScore_.Equals(other.strengthScore_)) return false; + if (PerkType != other.PerkType) return false; + if (CharId != other.CharId) return false; + if (CharPerkType != other.CharPerkType) return false; + if (Theme != other.Theme) return false; + if (GameBookId != other.GameBookId) return false; + if(!operatingFloorType_.Equals(other.operatingFloorType_)) return false; + if (OperatingNumber != other.OperatingNumber) return false; + if (Price != other.Price) return false; + if (Slot != other.Slot) return false; + if(!tags_.Equals(other.tags_)) return false; + if(!prePerkIds_.Equals(other.prePerkIds_)) return false; + if (PreTagPkgs != other.PreTagPkgs) return false; + if (NeedFloor != other.NeedFloor) return false; + if (EffectGroupId != other.EffectGroupId) return false; + if (IsEffective != other.IsEffective) return false; + if (PerkTag1 != other.PerkTag1) return false; + if (PerkTag2 != other.PerkTag2) return false; + if (PerkTag3 != other.PerkTag3) return false; + if (PerkTag4 != other.PerkTag4) return false; + if (LogoIcon != other.LogoIcon) return false; + if (SlotTag != other.SlotTag) 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 (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); + if (AdditionalLevel != false) hash ^= AdditionalLevel.GetHashCode(); + if (EET != 0) hash ^= EET.GetHashCode(); + if (ScoreGroupId != 0) hash ^= ScoreGroupId.GetHashCode(); + hash ^= strengthScore_.GetHashCode(); + if (PerkType != 0) hash ^= PerkType.GetHashCode(); + if (CharId != 0) hash ^= CharId.GetHashCode(); + if (CharPerkType != 0) hash ^= CharPerkType.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (GameBookId != 0) hash ^= GameBookId.GetHashCode(); + hash ^= operatingFloorType_.GetHashCode(); + if (OperatingNumber != 0) hash ^= OperatingNumber.GetHashCode(); + if (Price != 0) hash ^= Price.GetHashCode(); + if (Slot != 0) hash ^= Slot.GetHashCode(); + hash ^= tags_.GetHashCode(); + hash ^= prePerkIds_.GetHashCode(); + if (PreTagPkgs.Length != 0) hash ^= PreTagPkgs.GetHashCode(); + if (NeedFloor != 0) hash ^= NeedFloor.GetHashCode(); + if (EffectGroupId != 0) hash ^= EffectGroupId.GetHashCode(); + if (IsEffective != false) hash ^= IsEffective.GetHashCode(); + if (PerkTag1.Length != 0) hash ^= PerkTag1.GetHashCode(); + if (PerkTag2.Length != 0) hash ^= PerkTag2.GetHashCode(); + if (PerkTag3.Length != 0) hash ^= PerkTag3.GetHashCode(); + if (PerkTag4.Length != 0) hash ^= PerkTag4.GetHashCode(); + if (LogoIcon.Length != 0) hash ^= LogoIcon.GetHashCode(); + if (SlotTag.Length != 0) hash ^= SlotTag.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 (MaxLevel != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxLevel); + } + if (AdditionalLevel != false) { + output.WriteRawTag(24); + output.WriteBool(AdditionalLevel); + } + if (EET != 0) { + output.WriteRawTag(32); + output.WriteInt32(EET); + } + if (ScoreGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ScoreGroupId); + } + strengthScore_.WriteTo(output, _repeated_strengthScore_codec); + if (PerkType != 0) { + output.WriteRawTag(56); + output.WriteInt32(PerkType); + } + if (CharId != 0) { + output.WriteRawTag(64); + output.WriteInt32(CharId); + } + if (CharPerkType != 0) { + output.WriteRawTag(72); + output.WriteInt32(CharPerkType); + } + if (Theme != 0) { + output.WriteRawTag(80); + output.WriteInt32(Theme); + } + if (GameBookId != 0) { + output.WriteRawTag(88); + output.WriteInt32(GameBookId); + } + operatingFloorType_.WriteTo(output, _repeated_operatingFloorType_codec); + if (OperatingNumber != 0) { + output.WriteRawTag(104); + output.WriteInt32(OperatingNumber); + } + if (Price != 0) { + output.WriteRawTag(112); + output.WriteInt32(Price); + } + if (Slot != 0) { + output.WriteRawTag(120); + output.WriteInt32(Slot); + } + tags_.WriteTo(output, _repeated_tags_codec); + prePerkIds_.WriteTo(output, _repeated_prePerkIds_codec); + if (PreTagPkgs.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(PreTagPkgs); + } + if (NeedFloor != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(NeedFloor); + } + if (EffectGroupId != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(EffectGroupId); + } + if (IsEffective != false) { + output.WriteRawTag(168, 1); + output.WriteBool(IsEffective); + } + if (PerkTag1.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(PerkTag1); + } + if (PerkTag2.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(PerkTag2); + } + if (PerkTag3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(PerkTag3); + } + if (PerkTag4.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(PerkTag4); + } + if (LogoIcon.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(LogoIcon); + } + if (SlotTag.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(SlotTag); + } + 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 (MaxLevel != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxLevel); + } + if (AdditionalLevel != false) { + output.WriteRawTag(24); + output.WriteBool(AdditionalLevel); + } + if (EET != 0) { + output.WriteRawTag(32); + output.WriteInt32(EET); + } + if (ScoreGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ScoreGroupId); + } + strengthScore_.WriteTo(ref output, _repeated_strengthScore_codec); + if (PerkType != 0) { + output.WriteRawTag(56); + output.WriteInt32(PerkType); + } + if (CharId != 0) { + output.WriteRawTag(64); + output.WriteInt32(CharId); + } + if (CharPerkType != 0) { + output.WriteRawTag(72); + output.WriteInt32(CharPerkType); + } + if (Theme != 0) { + output.WriteRawTag(80); + output.WriteInt32(Theme); + } + if (GameBookId != 0) { + output.WriteRawTag(88); + output.WriteInt32(GameBookId); + } + operatingFloorType_.WriteTo(ref output, _repeated_operatingFloorType_codec); + if (OperatingNumber != 0) { + output.WriteRawTag(104); + output.WriteInt32(OperatingNumber); + } + if (Price != 0) { + output.WriteRawTag(112); + output.WriteInt32(Price); + } + if (Slot != 0) { + output.WriteRawTag(120); + output.WriteInt32(Slot); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + prePerkIds_.WriteTo(ref output, _repeated_prePerkIds_codec); + if (PreTagPkgs.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(PreTagPkgs); + } + if (NeedFloor != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(NeedFloor); + } + if (EffectGroupId != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(EffectGroupId); + } + if (IsEffective != false) { + output.WriteRawTag(168, 1); + output.WriteBool(IsEffective); + } + if (PerkTag1.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(PerkTag1); + } + if (PerkTag2.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(PerkTag2); + } + if (PerkTag3.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(PerkTag3); + } + if (PerkTag4.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(PerkTag4); + } + if (LogoIcon.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(LogoIcon); + } + if (SlotTag.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(SlotTag); + } + 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 (MaxLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); + } + if (AdditionalLevel != false) { + size += 1 + 1; + } + if (EET != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); + } + if (ScoreGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreGroupId); + } + size += strengthScore_.CalculateSize(_repeated_strengthScore_codec); + if (PerkType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PerkType); + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (CharPerkType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharPerkType); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (GameBookId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameBookId); + } + size += operatingFloorType_.CalculateSize(_repeated_operatingFloorType_codec); + if (OperatingNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OperatingNumber); + } + if (Price != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); + } + if (Slot != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); + } + size += tags_.CalculateSize(_repeated_tags_codec); + size += prePerkIds_.CalculateSize(_repeated_prePerkIds_codec); + if (PreTagPkgs.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PreTagPkgs); + } + if (NeedFloor != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NeedFloor); + } + if (EffectGroupId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectGroupId); + } + if (IsEffective != false) { + size += 2 + 1; + } + if (PerkTag1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag1); + } + if (PerkTag2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag2); + } + if (PerkTag3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag3); + } + if (PerkTag4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PerkTag4); + } + if (LogoIcon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(LogoIcon); + } + if (SlotTag.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(SlotTag); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Perk other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MaxLevel != 0) { + MaxLevel = other.MaxLevel; + } + if (other.AdditionalLevel != false) { + AdditionalLevel = other.AdditionalLevel; + } + if (other.EET != 0) { + EET = other.EET; + } + if (other.ScoreGroupId != 0) { + ScoreGroupId = other.ScoreGroupId; + } + strengthScore_.Add(other.strengthScore_); + if (other.PerkType != 0) { + PerkType = other.PerkType; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.CharPerkType != 0) { + CharPerkType = other.CharPerkType; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.GameBookId != 0) { + GameBookId = other.GameBookId; + } + operatingFloorType_.Add(other.operatingFloorType_); + if (other.OperatingNumber != 0) { + OperatingNumber = other.OperatingNumber; + } + if (other.Price != 0) { + Price = other.Price; + } + if (other.Slot != 0) { + Slot = other.Slot; + } + tags_.Add(other.tags_); + prePerkIds_.Add(other.prePerkIds_); + if (other.PreTagPkgs.Length != 0) { + PreTagPkgs = other.PreTagPkgs; + } + if (other.NeedFloor != 0) { + NeedFloor = other.NeedFloor; + } + if (other.EffectGroupId != 0) { + EffectGroupId = other.EffectGroupId; + } + if (other.IsEffective != false) { + IsEffective = other.IsEffective; + } + if (other.PerkTag1.Length != 0) { + PerkTag1 = other.PerkTag1; + } + if (other.PerkTag2.Length != 0) { + PerkTag2 = other.PerkTag2; + } + if (other.PerkTag3.Length != 0) { + PerkTag3 = other.PerkTag3; + } + if (other.PerkTag4.Length != 0) { + PerkTag4 = other.PerkTag4; + } + if (other.LogoIcon.Length != 0) { + LogoIcon = other.LogoIcon; + } + if (other.SlotTag.Length != 0) { + SlotTag = other.SlotTag; + } + _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: { + MaxLevel = input.ReadInt32(); + break; + } + case 24: { + AdditionalLevel = input.ReadBool(); + break; + } + case 32: { + EET = input.ReadInt32(); + break; + } + case 40: { + ScoreGroupId = input.ReadInt32(); + break; + } + case 50: + case 48: { + strengthScore_.AddEntriesFrom(input, _repeated_strengthScore_codec); + break; + } + case 56: { + PerkType = input.ReadInt32(); + break; + } + case 64: { + CharId = input.ReadInt32(); + break; + } + case 72: { + CharPerkType = input.ReadInt32(); + break; + } + case 80: { + Theme = input.ReadInt32(); + break; + } + case 88: { + GameBookId = input.ReadInt32(); + break; + } + case 98: + case 96: { + operatingFloorType_.AddEntriesFrom(input, _repeated_operatingFloorType_codec); + break; + } + case 104: { + OperatingNumber = input.ReadInt32(); + break; + } + case 112: { + Price = input.ReadInt32(); + break; + } + case 120: { + Slot = input.ReadInt32(); + break; + } + case 130: + case 128: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 138: + case 136: { + prePerkIds_.AddEntriesFrom(input, _repeated_prePerkIds_codec); + break; + } + case 146: { + PreTagPkgs = input.ReadString(); + break; + } + case 152: { + NeedFloor = input.ReadInt32(); + break; + } + case 160: { + EffectGroupId = input.ReadInt32(); + break; + } + case 168: { + IsEffective = input.ReadBool(); + break; + } + case 178: { + PerkTag1 = input.ReadString(); + break; + } + case 186: { + PerkTag2 = input.ReadString(); + break; + } + case 194: { + PerkTag3 = input.ReadString(); + break; + } + case 202: { + PerkTag4 = input.ReadString(); + break; + } + case 210: { + LogoIcon = input.ReadString(); + break; + } + case 218: { + SlotTag = 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: { + MaxLevel = input.ReadInt32(); + break; + } + case 24: { + AdditionalLevel = input.ReadBool(); + break; + } + case 32: { + EET = input.ReadInt32(); + break; + } + case 40: { + ScoreGroupId = input.ReadInt32(); + break; + } + case 50: + case 48: { + strengthScore_.AddEntriesFrom(ref input, _repeated_strengthScore_codec); + break; + } + case 56: { + PerkType = input.ReadInt32(); + break; + } + case 64: { + CharId = input.ReadInt32(); + break; + } + case 72: { + CharPerkType = input.ReadInt32(); + break; + } + case 80: { + Theme = input.ReadInt32(); + break; + } + case 88: { + GameBookId = input.ReadInt32(); + break; + } + case 98: + case 96: { + operatingFloorType_.AddEntriesFrom(ref input, _repeated_operatingFloorType_codec); + break; + } + case 104: { + OperatingNumber = input.ReadInt32(); + break; + } + case 112: { + Price = input.ReadInt32(); + break; + } + case 120: { + Slot = input.ReadInt32(); + break; + } + case 130: + case 128: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 138: + case 136: { + prePerkIds_.AddEntriesFrom(ref input, _repeated_prePerkIds_codec); + break; + } + case 146: { + PreTagPkgs = input.ReadString(); + break; + } + case 152: { + NeedFloor = input.ReadInt32(); + break; + } + case 160: { + EffectGroupId = input.ReadInt32(); + break; + } + case 168: { + IsEffective = input.ReadBool(); + break; + } + case 178: { + PerkTag1 = input.ReadString(); + break; + } + case 186: { + PerkTag2 = input.ReadString(); + break; + } + case 194: { + PerkTag3 = input.ReadString(); + break; + } + case 202: { + PerkTag4 = input.ReadString(); + break; + } + case 210: { + LogoIcon = input.ReadString(); + break; + } + case 218: { + SlotTag = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Perk : pb::IMessage<table_Perk> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Perk> _parser = new pb::MessageParser<table_Perk>(() => new table_Perk()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Perk> 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.ClientTableReflection.Descriptor.MessageTypes[311]; } + } + + [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 table_Perk() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Perk(table_Perk other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Perk Clone() { + return new table_Perk(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Perk> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Perk.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Perk> list_ = new pbc::RepeatedField<global::Nova.Client.Perk>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Perk> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Perk); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Perk other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Perk other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PerkPassiveSkill : pb::IMessage<PerkPassiveSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PerkPassiveSkill> _parser = new pb::MessageParser<PerkPassiveSkill>(() => new PerkPassiveSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PerkPassiveSkill> 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.ClientTableReflection.Descriptor.MessageTypes[312]; } + } + + [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 PerkPassiveSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PerkPassiveSkill(PerkPassiveSkill other) : this() { + id_ = other.id_; + shareCD_ = other.shareCD_; + shareTimes_ = other.shareTimes_; + effectId1_ = other.effectId1_; + effectId2_ = other.effectId2_; + effectId3_ = other.effectId3_; + effectId4_ = other.effectId4_; + name_ = other.name_; + desc_ = other.desc_; + desc1_ = other.desc1_; + param1_ = other.param1_; + desc2_ = other.desc2_; + param2_ = other.param2_; + desc3_ = other.desc3_; + param3_ = other.param3_; + desc4_ = other.desc4_; + param4_ = other.param4_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PerkPassiveSkill Clone() { + return new PerkPassiveSkill(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 "ShareCD" field.</summary> + public const int ShareCDFieldNumber = 2; + private bool shareCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ShareCD { + get { return shareCD_; } + set { + shareCD_ = value; + } + } + + /// <summary>Field number for the "ShareTimes" field.</summary> + public const int ShareTimesFieldNumber = 3; + private bool shareTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ShareTimes { + get { return shareTimes_; } + set { + shareTimes_ = value; + } + } + + /// <summary>Field number for the "EffectId1" field.</summary> + public const int EffectId1FieldNumber = 4; + private int effectId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId1 { + get { return effectId1_; } + set { + effectId1_ = value; + } + } + + /// <summary>Field number for the "EffectId2" field.</summary> + public const int EffectId2FieldNumber = 5; + private int effectId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId2 { + get { return effectId2_; } + set { + effectId2_ = value; + } + } + + /// <summary>Field number for the "EffectId3" field.</summary> + public const int EffectId3FieldNumber = 6; + private int effectId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId3 { + get { return effectId3_; } + set { + effectId3_ = value; + } + } + + /// <summary>Field number for the "EffectId4" field.</summary> + public const int EffectId4FieldNumber = 7; + private int effectId4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId4 { + get { return effectId4_; } + set { + effectId4_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 8; + 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 = 9; + 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 "Desc1" field.</summary> + public const int Desc1FieldNumber = 10; + private string desc1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc1 { + get { return desc1_; } + set { + desc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param1" field.</summary> + public const int Param1FieldNumber = 11; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc2" field.</summary> + public const int Desc2FieldNumber = 12; + private string desc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc2 { + get { return desc2_; } + set { + desc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 13; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc3" field.</summary> + public const int Desc3FieldNumber = 14; + private string desc3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc3 { + get { return desc3_; } + set { + desc3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 15; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc4" field.</summary> + public const int Desc4FieldNumber = 16; + private string desc4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc4 { + get { return desc4_; } + set { + desc4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 17; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = 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 PerkPassiveSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PerkPassiveSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ShareCD != other.ShareCD) return false; + if (ShareTimes != other.ShareTimes) return false; + if (EffectId1 != other.EffectId1) return false; + if (EffectId2 != other.EffectId2) return false; + if (EffectId3 != other.EffectId3) return false; + if (EffectId4 != other.EffectId4) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (Desc1 != other.Desc1) return false; + if (Param1 != other.Param1) return false; + if (Desc2 != other.Desc2) return false; + if (Param2 != other.Param2) return false; + if (Desc3 != other.Desc3) return false; + if (Param3 != other.Param3) return false; + if (Desc4 != other.Desc4) return false; + if (Param4 != other.Param4) 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 (ShareCD != false) hash ^= ShareCD.GetHashCode(); + if (ShareTimes != false) hash ^= ShareTimes.GetHashCode(); + if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); + if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); + if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); + if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Desc1.Length != 0) hash ^= Desc1.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Desc2.Length != 0) hash ^= Desc2.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Desc3.Length != 0) hash ^= Desc3.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Desc4.Length != 0) hash ^= Desc4.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.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 (ShareCD != false) { + output.WriteRawTag(16); + output.WriteBool(ShareCD); + } + if (ShareTimes != false) { + output.WriteRawTag(24); + output.WriteBool(ShareTimes); + } + if (EffectId1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(EffectId1); + } + if (EffectId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(EffectId2); + } + if (EffectId3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(EffectId3); + } + if (EffectId4 != 0) { + output.WriteRawTag(56); + output.WriteInt32(EffectId4); + } + if (Name.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Desc1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Desc1); + } + if (Param1.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param1); + } + if (Desc2.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Desc2); + } + if (Param2.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param2); + } + if (Desc3.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Desc3); + } + if (Param3.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Param3); + } + if (Desc4.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Desc4); + } + if (Param4.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Param4); + } + 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 (ShareCD != false) { + output.WriteRawTag(16); + output.WriteBool(ShareCD); + } + if (ShareTimes != false) { + output.WriteRawTag(24); + output.WriteBool(ShareTimes); + } + if (EffectId1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(EffectId1); + } + if (EffectId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(EffectId2); + } + if (EffectId3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(EffectId3); + } + if (EffectId4 != 0) { + output.WriteRawTag(56); + output.WriteInt32(EffectId4); + } + if (Name.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Desc1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Desc1); + } + if (Param1.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param1); + } + if (Desc2.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Desc2); + } + if (Param2.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param2); + } + if (Desc3.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Desc3); + } + if (Param3.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Param3); + } + if (Desc4.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Desc4); + } + if (Param4.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Param4); + } + 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 (ShareCD != false) { + size += 1 + 1; + } + if (ShareTimes != false) { + size += 1 + 1; + } + if (EffectId1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); + } + if (EffectId2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); + } + if (EffectId3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); + } + if (EffectId4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Desc1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc1); + } + if (Param1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Desc2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc2); + } + if (Param2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Desc3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc3); + } + if (Param3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Desc4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc4); + } + if (Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PerkPassiveSkill other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ShareCD != false) { + ShareCD = other.ShareCD; + } + if (other.ShareTimes != false) { + ShareTimes = other.ShareTimes; + } + if (other.EffectId1 != 0) { + EffectId1 = other.EffectId1; + } + if (other.EffectId2 != 0) { + EffectId2 = other.EffectId2; + } + if (other.EffectId3 != 0) { + EffectId3 = other.EffectId3; + } + if (other.EffectId4 != 0) { + EffectId4 = other.EffectId4; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Desc1.Length != 0) { + Desc1 = other.Desc1; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Desc2.Length != 0) { + Desc2 = other.Desc2; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Desc3.Length != 0) { + Desc3 = other.Desc3; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Desc4.Length != 0) { + Desc4 = other.Desc4; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + _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: { + ShareCD = input.ReadBool(); + break; + } + case 24: { + ShareTimes = input.ReadBool(); + break; + } + case 32: { + EffectId1 = input.ReadInt32(); + break; + } + case 40: { + EffectId2 = input.ReadInt32(); + break; + } + case 48: { + EffectId3 = input.ReadInt32(); + break; + } + case 56: { + EffectId4 = input.ReadInt32(); + break; + } + case 66: { + Name = input.ReadString(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Desc1 = input.ReadString(); + break; + } + case 90: { + Param1 = input.ReadString(); + break; + } + case 98: { + Desc2 = input.ReadString(); + break; + } + case 106: { + Param2 = input.ReadString(); + break; + } + case 114: { + Desc3 = input.ReadString(); + break; + } + case 122: { + Param3 = input.ReadString(); + break; + } + case 130: { + Desc4 = input.ReadString(); + break; + } + case 138: { + Param4 = 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: { + ShareCD = input.ReadBool(); + break; + } + case 24: { + ShareTimes = input.ReadBool(); + break; + } + case 32: { + EffectId1 = input.ReadInt32(); + break; + } + case 40: { + EffectId2 = input.ReadInt32(); + break; + } + case 48: { + EffectId3 = input.ReadInt32(); + break; + } + case 56: { + EffectId4 = input.ReadInt32(); + break; + } + case 66: { + Name = input.ReadString(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Desc1 = input.ReadString(); + break; + } + case 90: { + Param1 = input.ReadString(); + break; + } + case 98: { + Desc2 = input.ReadString(); + break; + } + case 106: { + Param2 = input.ReadString(); + break; + } + case 114: { + Desc3 = input.ReadString(); + break; + } + case 122: { + Param3 = input.ReadString(); + break; + } + case 130: { + Desc4 = input.ReadString(); + break; + } + case 138: { + Param4 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PerkPassiveSkill : pb::IMessage<table_PerkPassiveSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PerkPassiveSkill> _parser = new pb::MessageParser<table_PerkPassiveSkill>(() => new table_PerkPassiveSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PerkPassiveSkill> 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.ClientTableReflection.Descriptor.MessageTypes[313]; } + } + + [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 table_PerkPassiveSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PerkPassiveSkill(table_PerkPassiveSkill other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PerkPassiveSkill Clone() { + return new table_PerkPassiveSkill(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PerkPassiveSkill> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PerkPassiveSkill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PerkPassiveSkill> list_ = new pbc::RepeatedField<global::Nova.Client.PerkPassiveSkill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PerkPassiveSkill> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PerkPassiveSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PerkPassiveSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PerkPassiveSkill other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PlayerHead : pb::IMessage<PlayerHead> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PlayerHead> _parser = new pb::MessageParser<PlayerHead>(() => new PlayerHead()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PlayerHead> 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.ClientTableReflection.Descriptor.MessageTypes[314]; } + } + + [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 PlayerHead() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerHead(PlayerHead other) : this() { + id_ = other.id_; + icon_ = other.icon_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerHead Clone() { + return new PlayerHead(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 "Icon" field.</summary> + public const int IconFieldNumber = 2; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerHead); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerHead other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Icon != other.Icon) 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 (Icon.Length != 0) hash ^= Icon.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 (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + 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 (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + 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 (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerHead other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + _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: { + Icon = 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 18: { + Icon = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PlayerHead : pb::IMessage<table_PlayerHead> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PlayerHead> _parser = new pb::MessageParser<table_PlayerHead>(() => new table_PlayerHead()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PlayerHead> 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.ClientTableReflection.Descriptor.MessageTypes[315]; } + } + + [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 table_PlayerHead() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PlayerHead(table_PlayerHead other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PlayerHead Clone() { + return new table_PlayerHead(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PlayerHead> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PlayerHead.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PlayerHead> list_ = new pbc::RepeatedField<global::Nova.Client.PlayerHead>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PlayerHead> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PlayerHead); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PlayerHead other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PlayerHead other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Plot : pb::IMessage<Plot> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Plot> _parser = new pb::MessageParser<Plot>(() => new Plot()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Plot> 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.ClientTableReflection.Descriptor.MessageTypes[316]; } + } + + [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 Plot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Plot(Plot other) : this() { + id_ = other.id_; + char_ = other.char_; + name_ = other.name_; + desc_ = other.desc_; + avgId_ = other.avgId_; + mainlines_ = other.mainlines_.Clone(); + unlockAffinityLevel_ = other.unlockAffinityLevel_; + connectChatId_ = other.connectChatId_; + charAdvanceCond_ = other.charAdvanceCond_; + rewards_ = other.rewards_; + picSource_ = other.picSource_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Plot Clone() { + return new Plot(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 "Char" field.</summary> + public const int CharFieldNumber = 2; + private int char_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Char { + get { return char_; } + set { + char_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 = 4; + 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 "AvgId" field.</summary> + public const int AvgIdFieldNumber = 5; + private string avgId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AvgId { + get { return avgId_; } + set { + avgId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Mainlines" field.</summary> + public const int MainlinesFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_mainlines_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> mainlines_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Mainlines { + get { return mainlines_; } + } + + /// <summary>Field number for the "UnlockAffinityLevel" field.</summary> + public const int UnlockAffinityLevelFieldNumber = 7; + private int unlockAffinityLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockAffinityLevel { + get { return unlockAffinityLevel_; } + set { + unlockAffinityLevel_ = value; + } + } + + /// <summary>Field number for the "ConnectChatId" field.</summary> + public const int ConnectChatIdFieldNumber = 8; + private int connectChatId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ConnectChatId { + get { return connectChatId_; } + set { + connectChatId_ = value; + } + } + + /// <summary>Field number for the "CharAdvanceCond" field.</summary> + public const int CharAdvanceCondFieldNumber = 9; + private string charAdvanceCond_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CharAdvanceCond { + get { return charAdvanceCond_; } + set { + charAdvanceCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Rewards" field.</summary> + public const int RewardsFieldNumber = 10; + private string rewards_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Rewards { + get { return rewards_; } + set { + rewards_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PicSource" field.</summary> + public const int PicSourceFieldNumber = 11; + private string picSource_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PicSource { + get { return picSource_; } + set { + picSource_ = 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 Plot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Plot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Char != other.Char) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (AvgId != other.AvgId) return false; + if(!mainlines_.Equals(other.mainlines_)) return false; + if (UnlockAffinityLevel != other.UnlockAffinityLevel) return false; + if (ConnectChatId != other.ConnectChatId) return false; + if (CharAdvanceCond != other.CharAdvanceCond) return false; + if (Rewards != other.Rewards) return false; + if (PicSource != other.PicSource) 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 (Char != 0) hash ^= Char.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (AvgId.Length != 0) hash ^= AvgId.GetHashCode(); + hash ^= mainlines_.GetHashCode(); + if (UnlockAffinityLevel != 0) hash ^= UnlockAffinityLevel.GetHashCode(); + if (ConnectChatId != 0) hash ^= ConnectChatId.GetHashCode(); + if (CharAdvanceCond.Length != 0) hash ^= CharAdvanceCond.GetHashCode(); + if (Rewards.Length != 0) hash ^= Rewards.GetHashCode(); + if (PicSource.Length != 0) hash ^= PicSource.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 (Char != 0) { + output.WriteRawTag(16); + output.WriteInt32(Char); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (AvgId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AvgId); + } + mainlines_.WriteTo(output, _repeated_mainlines_codec); + if (UnlockAffinityLevel != 0) { + output.WriteRawTag(56); + output.WriteInt32(UnlockAffinityLevel); + } + if (ConnectChatId != 0) { + output.WriteRawTag(64); + output.WriteInt32(ConnectChatId); + } + if (CharAdvanceCond.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CharAdvanceCond); + } + if (Rewards.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Rewards); + } + if (PicSource.Length != 0) { + output.WriteRawTag(90); + output.WriteString(PicSource); + } + 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 (Char != 0) { + output.WriteRawTag(16); + output.WriteInt32(Char); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (AvgId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(AvgId); + } + mainlines_.WriteTo(ref output, _repeated_mainlines_codec); + if (UnlockAffinityLevel != 0) { + output.WriteRawTag(56); + output.WriteInt32(UnlockAffinityLevel); + } + if (ConnectChatId != 0) { + output.WriteRawTag(64); + output.WriteInt32(ConnectChatId); + } + if (CharAdvanceCond.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CharAdvanceCond); + } + if (Rewards.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Rewards); + } + if (PicSource.Length != 0) { + output.WriteRawTag(90); + output.WriteString(PicSource); + } + 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 (Char != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Char); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (AvgId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgId); + } + size += mainlines_.CalculateSize(_repeated_mainlines_codec); + if (UnlockAffinityLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockAffinityLevel); + } + if (ConnectChatId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ConnectChatId); + } + if (CharAdvanceCond.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CharAdvanceCond); + } + if (Rewards.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Rewards); + } + if (PicSource.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PicSource); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Plot other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Char != 0) { + Char = other.Char; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.AvgId.Length != 0) { + AvgId = other.AvgId; + } + mainlines_.Add(other.mainlines_); + if (other.UnlockAffinityLevel != 0) { + UnlockAffinityLevel = other.UnlockAffinityLevel; + } + if (other.ConnectChatId != 0) { + ConnectChatId = other.ConnectChatId; + } + if (other.CharAdvanceCond.Length != 0) { + CharAdvanceCond = other.CharAdvanceCond; + } + if (other.Rewards.Length != 0) { + Rewards = other.Rewards; + } + if (other.PicSource.Length != 0) { + PicSource = other.PicSource; + } + _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: { + Char = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + AvgId = input.ReadString(); + break; + } + case 50: + case 48: { + mainlines_.AddEntriesFrom(input, _repeated_mainlines_codec); + break; + } + case 56: { + UnlockAffinityLevel = input.ReadInt32(); + break; + } + case 64: { + ConnectChatId = input.ReadInt32(); + break; + } + case 74: { + CharAdvanceCond = input.ReadString(); + break; + } + case 82: { + Rewards = input.ReadString(); + break; + } + case 90: { + PicSource = 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: { + Char = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 42: { + AvgId = input.ReadString(); + break; + } + case 50: + case 48: { + mainlines_.AddEntriesFrom(ref input, _repeated_mainlines_codec); + break; + } + case 56: { + UnlockAffinityLevel = input.ReadInt32(); + break; + } + case 64: { + ConnectChatId = input.ReadInt32(); + break; + } + case 74: { + CharAdvanceCond = input.ReadString(); + break; + } + case 82: { + Rewards = input.ReadString(); + break; + } + case 90: { + PicSource = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Plot : pb::IMessage<table_Plot> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Plot> _parser = new pb::MessageParser<table_Plot>(() => new table_Plot()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Plot> 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.ClientTableReflection.Descriptor.MessageTypes[317]; } + } + + [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 table_Plot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Plot(table_Plot other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Plot Clone() { + return new table_Plot(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Plot> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Plot.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Plot> list_ = new pbc::RepeatedField<global::Nova.Client.Plot>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Plot> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Plot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Plot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Plot other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Potential : pb::IMessage<Potential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Potential> _parser = new pb::MessageParser<Potential>(() => new Potential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Potential> 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.ClientTableReflection.Descriptor.MessageTypes[318]; } + } + + [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 Potential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Potential(Potential other) : this() { + id_ = other.id_; + charId_ = other.charId_; + branchType_ = other.branchType_; + maxLevel_ = other.maxLevel_; + scoreGroupId_ = other.scoreGroupId_; + buildScore_ = other.buildScore_.Clone(); + gameBookId_ = other.gameBookId_; + effectGroupId_ = other.effectGroupId_; + isEffective_ = other.isEffective_; + potentialTag1_ = other.potentialTag1_; + potentialTag2_ = other.potentialTag2_; + potentialTag3_ = other.potentialTag3_; + potentialTag4_ = other.potentialTag4_; + corner_ = other.corner_; + spBg_ = other.spBg_; + spFace_ = other.spFace_; + effectId1_ = other.effectId1_; + effectId2_ = other.effectId2_; + effectId3_ = other.effectId3_; + effectId4_ = other.effectId4_; + briefDesc_ = other.briefDesc_; + desc_ = other.desc_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + param5_ = other.param5_; + param6_ = other.param6_; + param7_ = other.param7_; + param8_ = other.param8_; + param9_ = other.param9_; + param10_ = other.param10_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Potential Clone() { + return new Potential(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + 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 "BranchType" field.</summary> + public const int BranchTypeFieldNumber = 3; + private int branchType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BranchType { + get { return branchType_; } + set { + branchType_ = value; + } + } + + /// <summary>Field number for the "MaxLevel" field.</summary> + public const int MaxLevelFieldNumber = 4; + private int maxLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxLevel { + get { return maxLevel_; } + set { + maxLevel_ = value; + } + } + + /// <summary>Field number for the "ScoreGroupId" field.</summary> + public const int ScoreGroupIdFieldNumber = 5; + private int scoreGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ScoreGroupId { + get { return scoreGroupId_; } + set { + scoreGroupId_ = value; + } + } + + /// <summary>Field number for the "BuildScore" field.</summary> + public const int BuildScoreFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_buildScore_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> buildScore_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BuildScore { + get { return buildScore_; } + } + + /// <summary>Field number for the "GameBookId" field.</summary> + public const int GameBookIdFieldNumber = 7; + private int gameBookId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GameBookId { + get { return gameBookId_; } + set { + gameBookId_ = value; + } + } + + /// <summary>Field number for the "EffectGroupId" field.</summary> + public const int EffectGroupIdFieldNumber = 8; + private int effectGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectGroupId { + get { return effectGroupId_; } + set { + effectGroupId_ = value; + } + } + + /// <summary>Field number for the "IsEffective" field.</summary> + public const int IsEffectiveFieldNumber = 9; + private bool isEffective_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsEffective { + get { return isEffective_; } + set { + isEffective_ = value; + } + } + + /// <summary>Field number for the "PotentialTag1" field.</summary> + public const int PotentialTag1FieldNumber = 10; + private string potentialTag1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PotentialTag1 { + get { return potentialTag1_; } + set { + potentialTag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PotentialTag2" field.</summary> + public const int PotentialTag2FieldNumber = 11; + private string potentialTag2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PotentialTag2 { + get { return potentialTag2_; } + set { + potentialTag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PotentialTag3" field.</summary> + public const int PotentialTag3FieldNumber = 12; + private string potentialTag3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PotentialTag3 { + get { return potentialTag3_; } + set { + potentialTag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PotentialTag4" field.</summary> + public const int PotentialTag4FieldNumber = 13; + private string potentialTag4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PotentialTag4 { + get { return potentialTag4_; } + set { + potentialTag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Corner" field.</summary> + public const int CornerFieldNumber = 14; + private int corner_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Corner { + get { return corner_; } + set { + corner_ = value; + } + } + + /// <summary>Field number for the "SpBg" field.</summary> + public const int SpBgFieldNumber = 15; + private string spBg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpBg { + get { return spBg_; } + set { + spBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SpFace" field.</summary> + public const int SpFaceFieldNumber = 16; + private string spFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpFace { + get { return spFace_; } + set { + spFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EffectId1" field.</summary> + public const int EffectId1FieldNumber = 17; + private int effectId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId1 { + get { return effectId1_; } + set { + effectId1_ = value; + } + } + + /// <summary>Field number for the "EffectId2" field.</summary> + public const int EffectId2FieldNumber = 18; + private int effectId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId2 { + get { return effectId2_; } + set { + effectId2_ = value; + } + } + + /// <summary>Field number for the "EffectId3" field.</summary> + public const int EffectId3FieldNumber = 19; + private int effectId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId3 { + get { return effectId3_; } + set { + effectId3_ = value; + } + } + + /// <summary>Field number for the "EffectId4" field.</summary> + public const int EffectId4FieldNumber = 20; + private int effectId4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId4 { + get { return effectId4_; } + set { + effectId4_ = value; + } + } + + /// <summary>Field number for the "BriefDesc" field.</summary> + public const int BriefDescFieldNumber = 21; + private string briefDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BriefDesc { + get { return briefDesc_; } + set { + briefDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 22; + 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 "Param1" field.</summary> + public const int Param1FieldNumber = 23; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 24; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 25; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 26; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 27; + private string param5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param5 { + get { return param5_; } + set { + param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 28; + private string param6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param6 { + get { return param6_; } + set { + param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param7" field.</summary> + public const int Param7FieldNumber = 29; + private string param7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param7 { + get { return param7_; } + set { + param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param8" field.</summary> + public const int Param8FieldNumber = 30; + private string param8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param8 { + get { return param8_; } + set { + param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param9" field.</summary> + public const int Param9FieldNumber = 31; + private string param9_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param9 { + get { return param9_; } + set { + param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param10" field.</summary> + public const int Param10FieldNumber = 32; + private string param10_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param10 { + get { return param10_; } + set { + param10_ = 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 Potential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Potential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (BranchType != other.BranchType) return false; + if (MaxLevel != other.MaxLevel) return false; + if (ScoreGroupId != other.ScoreGroupId) return false; + if(!buildScore_.Equals(other.buildScore_)) return false; + if (GameBookId != other.GameBookId) return false; + if (EffectGroupId != other.EffectGroupId) return false; + if (IsEffective != other.IsEffective) return false; + if (PotentialTag1 != other.PotentialTag1) return false; + if (PotentialTag2 != other.PotentialTag2) return false; + if (PotentialTag3 != other.PotentialTag3) return false; + if (PotentialTag4 != other.PotentialTag4) return false; + if (Corner != other.Corner) return false; + if (SpBg != other.SpBg) return false; + if (SpFace != other.SpFace) return false; + if (EffectId1 != other.EffectId1) return false; + if (EffectId2 != other.EffectId2) return false; + if (EffectId3 != other.EffectId3) return false; + if (EffectId4 != other.EffectId4) return false; + if (BriefDesc != other.BriefDesc) return false; + if (Desc != other.Desc) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) return false; + if (Param5 != other.Param5) return false; + if (Param6 != other.Param6) return false; + if (Param7 != other.Param7) return false; + if (Param8 != other.Param8) return false; + if (Param9 != other.Param9) return false; + if (Param10 != other.Param10) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (BranchType != 0) hash ^= BranchType.GetHashCode(); + if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); + if (ScoreGroupId != 0) hash ^= ScoreGroupId.GetHashCode(); + hash ^= buildScore_.GetHashCode(); + if (GameBookId != 0) hash ^= GameBookId.GetHashCode(); + if (EffectGroupId != 0) hash ^= EffectGroupId.GetHashCode(); + if (IsEffective != false) hash ^= IsEffective.GetHashCode(); + if (PotentialTag1.Length != 0) hash ^= PotentialTag1.GetHashCode(); + if (PotentialTag2.Length != 0) hash ^= PotentialTag2.GetHashCode(); + if (PotentialTag3.Length != 0) hash ^= PotentialTag3.GetHashCode(); + if (PotentialTag4.Length != 0) hash ^= PotentialTag4.GetHashCode(); + if (Corner != 0) hash ^= Corner.GetHashCode(); + if (SpBg.Length != 0) hash ^= SpBg.GetHashCode(); + if (SpFace.Length != 0) hash ^= SpFace.GetHashCode(); + if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); + if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); + if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); + if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); + if (BriefDesc.Length != 0) hash ^= BriefDesc.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.GetHashCode(); + if (Param5.Length != 0) hash ^= Param5.GetHashCode(); + if (Param6.Length != 0) hash ^= Param6.GetHashCode(); + if (Param7.Length != 0) hash ^= Param7.GetHashCode(); + if (Param8.Length != 0) hash ^= Param8.GetHashCode(); + if (Param9.Length != 0) hash ^= Param9.GetHashCode(); + if (Param10.Length != 0) hash ^= Param10.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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (BranchType != 0) { + output.WriteRawTag(24); + output.WriteInt32(BranchType); + } + if (MaxLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxLevel); + } + if (ScoreGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ScoreGroupId); + } + buildScore_.WriteTo(output, _repeated_buildScore_codec); + if (GameBookId != 0) { + output.WriteRawTag(56); + output.WriteInt32(GameBookId); + } + if (EffectGroupId != 0) { + output.WriteRawTag(64); + output.WriteInt32(EffectGroupId); + } + if (IsEffective != false) { + output.WriteRawTag(72); + output.WriteBool(IsEffective); + } + if (PotentialTag1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(PotentialTag1); + } + if (PotentialTag2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(PotentialTag2); + } + if (PotentialTag3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(PotentialTag3); + } + if (PotentialTag4.Length != 0) { + output.WriteRawTag(106); + output.WriteString(PotentialTag4); + } + if (Corner != 0) { + output.WriteRawTag(112); + output.WriteInt32(Corner); + } + if (SpBg.Length != 0) { + output.WriteRawTag(122); + output.WriteString(SpBg); + } + if (SpFace.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(SpFace); + } + if (EffectId1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(EffectId1); + } + if (EffectId2 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(EffectId2); + } + if (EffectId3 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(EffectId3); + } + if (EffectId4 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(EffectId4); + } + if (BriefDesc.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(BriefDesc); + } + if (Desc.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Desc); + } + if (Param1.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(Param10); + } + 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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (BranchType != 0) { + output.WriteRawTag(24); + output.WriteInt32(BranchType); + } + if (MaxLevel != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxLevel); + } + if (ScoreGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(ScoreGroupId); + } + buildScore_.WriteTo(ref output, _repeated_buildScore_codec); + if (GameBookId != 0) { + output.WriteRawTag(56); + output.WriteInt32(GameBookId); + } + if (EffectGroupId != 0) { + output.WriteRawTag(64); + output.WriteInt32(EffectGroupId); + } + if (IsEffective != false) { + output.WriteRawTag(72); + output.WriteBool(IsEffective); + } + if (PotentialTag1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(PotentialTag1); + } + if (PotentialTag2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(PotentialTag2); + } + if (PotentialTag3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(PotentialTag3); + } + if (PotentialTag4.Length != 0) { + output.WriteRawTag(106); + output.WriteString(PotentialTag4); + } + if (Corner != 0) { + output.WriteRawTag(112); + output.WriteInt32(Corner); + } + if (SpBg.Length != 0) { + output.WriteRawTag(122); + output.WriteString(SpBg); + } + if (SpFace.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(SpFace); + } + if (EffectId1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(EffectId1); + } + if (EffectId2 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(EffectId2); + } + if (EffectId3 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(EffectId3); + } + if (EffectId4 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(EffectId4); + } + if (BriefDesc.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(BriefDesc); + } + if (Desc.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Desc); + } + if (Param1.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(218, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(250, 1); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(Param10); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (BranchType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BranchType); + } + if (MaxLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); + } + if (ScoreGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScoreGroupId); + } + size += buildScore_.CalculateSize(_repeated_buildScore_codec); + if (GameBookId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameBookId); + } + if (EffectGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectGroupId); + } + if (IsEffective != false) { + size += 1 + 1; + } + if (PotentialTag1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag1); + } + if (PotentialTag2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag2); + } + if (PotentialTag3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag3); + } + if (PotentialTag4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PotentialTag4); + } + if (Corner != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Corner); + } + if (SpBg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SpBg); + } + if (SpFace.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(SpFace); + } + if (EffectId1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); + } + if (EffectId2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); + } + if (EffectId3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); + } + if (EffectId4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); + } + if (BriefDesc.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BriefDesc); + } + if (Desc.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Param1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (Param5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); + } + if (Param6.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); + } + if (Param7.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); + } + if (Param8.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); + } + if (Param9.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); + } + if (Param10.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Potential other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.BranchType != 0) { + BranchType = other.BranchType; + } + if (other.MaxLevel != 0) { + MaxLevel = other.MaxLevel; + } + if (other.ScoreGroupId != 0) { + ScoreGroupId = other.ScoreGroupId; + } + buildScore_.Add(other.buildScore_); + if (other.GameBookId != 0) { + GameBookId = other.GameBookId; + } + if (other.EffectGroupId != 0) { + EffectGroupId = other.EffectGroupId; + } + if (other.IsEffective != false) { + IsEffective = other.IsEffective; + } + if (other.PotentialTag1.Length != 0) { + PotentialTag1 = other.PotentialTag1; + } + if (other.PotentialTag2.Length != 0) { + PotentialTag2 = other.PotentialTag2; + } + if (other.PotentialTag3.Length != 0) { + PotentialTag3 = other.PotentialTag3; + } + if (other.PotentialTag4.Length != 0) { + PotentialTag4 = other.PotentialTag4; + } + if (other.Corner != 0) { + Corner = other.Corner; + } + if (other.SpBg.Length != 0) { + SpBg = other.SpBg; + } + if (other.SpFace.Length != 0) { + SpFace = other.SpFace; + } + if (other.EffectId1 != 0) { + EffectId1 = other.EffectId1; + } + if (other.EffectId2 != 0) { + EffectId2 = other.EffectId2; + } + if (other.EffectId3 != 0) { + EffectId3 = other.EffectId3; + } + if (other.EffectId4 != 0) { + EffectId4 = other.EffectId4; + } + if (other.BriefDesc.Length != 0) { + BriefDesc = other.BriefDesc; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + if (other.Param5.Length != 0) { + Param5 = other.Param5; + } + if (other.Param6.Length != 0) { + Param6 = other.Param6; + } + if (other.Param7.Length != 0) { + Param7 = other.Param7; + } + if (other.Param8.Length != 0) { + Param8 = other.Param8; + } + if (other.Param9.Length != 0) { + Param9 = other.Param9; + } + if (other.Param10.Length != 0) { + Param10 = other.Param10; + } + _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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + BranchType = input.ReadInt32(); + break; + } + case 32: { + MaxLevel = input.ReadInt32(); + break; + } + case 40: { + ScoreGroupId = input.ReadInt32(); + break; + } + case 50: + case 48: { + buildScore_.AddEntriesFrom(input, _repeated_buildScore_codec); + break; + } + case 56: { + GameBookId = input.ReadInt32(); + break; + } + case 64: { + EffectGroupId = input.ReadInt32(); + break; + } + case 72: { + IsEffective = input.ReadBool(); + break; + } + case 82: { + PotentialTag1 = input.ReadString(); + break; + } + case 90: { + PotentialTag2 = input.ReadString(); + break; + } + case 98: { + PotentialTag3 = input.ReadString(); + break; + } + case 106: { + PotentialTag4 = input.ReadString(); + break; + } + case 112: { + Corner = input.ReadInt32(); + break; + } + case 122: { + SpBg = input.ReadString(); + break; + } + case 130: { + SpFace = input.ReadString(); + break; + } + case 136: { + EffectId1 = input.ReadInt32(); + break; + } + case 144: { + EffectId2 = input.ReadInt32(); + break; + } + case 152: { + EffectId3 = input.ReadInt32(); + break; + } + case 160: { + EffectId4 = input.ReadInt32(); + break; + } + case 170: { + BriefDesc = input.ReadString(); + break; + } + case 178: { + Desc = input.ReadString(); + break; + } + case 186: { + Param1 = input.ReadString(); + break; + } + case 194: { + Param2 = input.ReadString(); + break; + } + case 202: { + Param3 = input.ReadString(); + break; + } + case 210: { + Param4 = input.ReadString(); + break; + } + case 218: { + Param5 = input.ReadString(); + break; + } + case 226: { + Param6 = input.ReadString(); + break; + } + case 234: { + Param7 = input.ReadString(); + break; + } + case 242: { + Param8 = input.ReadString(); + break; + } + case 250: { + Param9 = input.ReadString(); + break; + } + case 258: { + Param10 = 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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + BranchType = input.ReadInt32(); + break; + } + case 32: { + MaxLevel = input.ReadInt32(); + break; + } + case 40: { + ScoreGroupId = input.ReadInt32(); + break; + } + case 50: + case 48: { + buildScore_.AddEntriesFrom(ref input, _repeated_buildScore_codec); + break; + } + case 56: { + GameBookId = input.ReadInt32(); + break; + } + case 64: { + EffectGroupId = input.ReadInt32(); + break; + } + case 72: { + IsEffective = input.ReadBool(); + break; + } + case 82: { + PotentialTag1 = input.ReadString(); + break; + } + case 90: { + PotentialTag2 = input.ReadString(); + break; + } + case 98: { + PotentialTag3 = input.ReadString(); + break; + } + case 106: { + PotentialTag4 = input.ReadString(); + break; + } + case 112: { + Corner = input.ReadInt32(); + break; + } + case 122: { + SpBg = input.ReadString(); + break; + } + case 130: { + SpFace = input.ReadString(); + break; + } + case 136: { + EffectId1 = input.ReadInt32(); + break; + } + case 144: { + EffectId2 = input.ReadInt32(); + break; + } + case 152: { + EffectId3 = input.ReadInt32(); + break; + } + case 160: { + EffectId4 = input.ReadInt32(); + break; + } + case 170: { + BriefDesc = input.ReadString(); + break; + } + case 178: { + Desc = input.ReadString(); + break; + } + case 186: { + Param1 = input.ReadString(); + break; + } + case 194: { + Param2 = input.ReadString(); + break; + } + case 202: { + Param3 = input.ReadString(); + break; + } + case 210: { + Param4 = input.ReadString(); + break; + } + case 218: { + Param5 = input.ReadString(); + break; + } + case 226: { + Param6 = input.ReadString(); + break; + } + case 234: { + Param7 = input.ReadString(); + break; + } + case 242: { + Param8 = input.ReadString(); + break; + } + case 250: { + Param9 = input.ReadString(); + break; + } + case 258: { + Param10 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Potential : pb::IMessage<table_Potential> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Potential> _parser = new pb::MessageParser<table_Potential>(() => new table_Potential()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Potential> 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.ClientTableReflection.Descriptor.MessageTypes[319]; } + } + + [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 table_Potential() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Potential(table_Potential other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Potential Clone() { + return new table_Potential(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Potential> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Potential.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Potential> list_ = new pbc::RepeatedField<global::Nova.Client.Potential>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Potential> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Potential); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Potential other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Potential other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PotentialPassiveSkill : pb::IMessage<PotentialPassiveSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PotentialPassiveSkill> _parser = new pb::MessageParser<PotentialPassiveSkill>(() => new PotentialPassiveSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PotentialPassiveSkill> 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.ClientTableReflection.Descriptor.MessageTypes[320]; } + } + + [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 PotentialPassiveSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PotentialPassiveSkill(PotentialPassiveSkill other) : this() { + id_ = other.id_; + shareCD_ = other.shareCD_; + shareTimes_ = other.shareTimes_; + effectId1_ = other.effectId1_; + effectId2_ = other.effectId2_; + effectId3_ = other.effectId3_; + effectId4_ = other.effectId4_; + briefDesc_ = other.briefDesc_; + desc_ = other.desc_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PotentialPassiveSkill Clone() { + return new PotentialPassiveSkill(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 "ShareCD" field.</summary> + public const int ShareCDFieldNumber = 2; + private bool shareCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ShareCD { + get { return shareCD_; } + set { + shareCD_ = value; + } + } + + /// <summary>Field number for the "ShareTimes" field.</summary> + public const int ShareTimesFieldNumber = 3; + private bool shareTimes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ShareTimes { + get { return shareTimes_; } + set { + shareTimes_ = value; + } + } + + /// <summary>Field number for the "EffectId1" field.</summary> + public const int EffectId1FieldNumber = 4; + private int effectId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId1 { + get { return effectId1_; } + set { + effectId1_ = value; + } + } + + /// <summary>Field number for the "EffectId2" field.</summary> + public const int EffectId2FieldNumber = 5; + private int effectId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId2 { + get { return effectId2_; } + set { + effectId2_ = value; + } + } + + /// <summary>Field number for the "EffectId3" field.</summary> + public const int EffectId3FieldNumber = 6; + private int effectId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId3 { + get { return effectId3_; } + set { + effectId3_ = value; + } + } + + /// <summary>Field number for the "EffectId4" field.</summary> + public const int EffectId4FieldNumber = 7; + private int effectId4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId4 { + get { return effectId4_; } + set { + effectId4_ = value; + } + } + + /// <summary>Field number for the "BriefDesc" field.</summary> + public const int BriefDescFieldNumber = 8; + private string briefDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BriefDesc { + get { return briefDesc_; } + set { + briefDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 9; + 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 "Param1" field.</summary> + public const int Param1FieldNumber = 10; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 11; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 12; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 13; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = 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 PotentialPassiveSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PotentialPassiveSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ShareCD != other.ShareCD) return false; + if (ShareTimes != other.ShareTimes) return false; + if (EffectId1 != other.EffectId1) return false; + if (EffectId2 != other.EffectId2) return false; + if (EffectId3 != other.EffectId3) return false; + if (EffectId4 != other.EffectId4) return false; + if (BriefDesc != other.BriefDesc) return false; + if (Desc != other.Desc) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) 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 (ShareCD != false) hash ^= ShareCD.GetHashCode(); + if (ShareTimes != false) hash ^= ShareTimes.GetHashCode(); + if (EffectId1 != 0) hash ^= EffectId1.GetHashCode(); + if (EffectId2 != 0) hash ^= EffectId2.GetHashCode(); + if (EffectId3 != 0) hash ^= EffectId3.GetHashCode(); + if (EffectId4 != 0) hash ^= EffectId4.GetHashCode(); + if (BriefDesc.Length != 0) hash ^= BriefDesc.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.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 (ShareCD != false) { + output.WriteRawTag(16); + output.WriteBool(ShareCD); + } + if (ShareTimes != false) { + output.WriteRawTag(24); + output.WriteBool(ShareTimes); + } + if (EffectId1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(EffectId1); + } + if (EffectId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(EffectId2); + } + if (EffectId3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(EffectId3); + } + if (EffectId4 != 0) { + output.WriteRawTag(56); + output.WriteInt32(EffectId4); + } + if (BriefDesc.Length != 0) { + output.WriteRawTag(66); + output.WriteString(BriefDesc); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Param1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param4); + } + 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 (ShareCD != false) { + output.WriteRawTag(16); + output.WriteBool(ShareCD); + } + if (ShareTimes != false) { + output.WriteRawTag(24); + output.WriteBool(ShareTimes); + } + if (EffectId1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(EffectId1); + } + if (EffectId2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(EffectId2); + } + if (EffectId3 != 0) { + output.WriteRawTag(48); + output.WriteInt32(EffectId3); + } + if (EffectId4 != 0) { + output.WriteRawTag(56); + output.WriteInt32(EffectId4); + } + if (BriefDesc.Length != 0) { + output.WriteRawTag(66); + output.WriteString(BriefDesc); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Param1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param4); + } + 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 (ShareCD != false) { + size += 1 + 1; + } + if (ShareTimes != false) { + size += 1 + 1; + } + if (EffectId1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId1); + } + if (EffectId2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId2); + } + if (EffectId3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId3); + } + if (EffectId4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId4); + } + if (BriefDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BriefDesc); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Param1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PotentialPassiveSkill other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ShareCD != false) { + ShareCD = other.ShareCD; + } + if (other.ShareTimes != false) { + ShareTimes = other.ShareTimes; + } + if (other.EffectId1 != 0) { + EffectId1 = other.EffectId1; + } + if (other.EffectId2 != 0) { + EffectId2 = other.EffectId2; + } + if (other.EffectId3 != 0) { + EffectId3 = other.EffectId3; + } + if (other.EffectId4 != 0) { + EffectId4 = other.EffectId4; + } + if (other.BriefDesc.Length != 0) { + BriefDesc = other.BriefDesc; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + _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: { + ShareCD = input.ReadBool(); + break; + } + case 24: { + ShareTimes = input.ReadBool(); + break; + } + case 32: { + EffectId1 = input.ReadInt32(); + break; + } + case 40: { + EffectId2 = input.ReadInt32(); + break; + } + case 48: { + EffectId3 = input.ReadInt32(); + break; + } + case 56: { + EffectId4 = input.ReadInt32(); + break; + } + case 66: { + BriefDesc = input.ReadString(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Param1 = input.ReadString(); + break; + } + case 90: { + Param2 = input.ReadString(); + break; + } + case 98: { + Param3 = input.ReadString(); + break; + } + case 106: { + Param4 = 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: { + ShareCD = input.ReadBool(); + break; + } + case 24: { + ShareTimes = input.ReadBool(); + break; + } + case 32: { + EffectId1 = input.ReadInt32(); + break; + } + case 40: { + EffectId2 = input.ReadInt32(); + break; + } + case 48: { + EffectId3 = input.ReadInt32(); + break; + } + case 56: { + EffectId4 = input.ReadInt32(); + break; + } + case 66: { + BriefDesc = input.ReadString(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Param1 = input.ReadString(); + break; + } + case 90: { + Param2 = input.ReadString(); + break; + } + case 98: { + Param3 = input.ReadString(); + break; + } + case 106: { + Param4 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PotentialPassiveSkill : pb::IMessage<table_PotentialPassiveSkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PotentialPassiveSkill> _parser = new pb::MessageParser<table_PotentialPassiveSkill>(() => new table_PotentialPassiveSkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PotentialPassiveSkill> 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.ClientTableReflection.Descriptor.MessageTypes[321]; } + } + + [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 table_PotentialPassiveSkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PotentialPassiveSkill(table_PotentialPassiveSkill other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PotentialPassiveSkill Clone() { + return new table_PotentialPassiveSkill(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PotentialPassiveSkill> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PotentialPassiveSkill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PotentialPassiveSkill> list_ = new pbc::RepeatedField<global::Nova.Client.PotentialPassiveSkill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PotentialPassiveSkill> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PotentialPassiveSkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PotentialPassiveSkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PotentialPassiveSkill other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PreviewMonsterGroup : pb::IMessage<PreviewMonsterGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PreviewMonsterGroup> _parser = new pb::MessageParser<PreviewMonsterGroup>(() => new PreviewMonsterGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PreviewMonsterGroup> 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.ClientTableReflection.Descriptor.MessageTypes[322]; } + } + + [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 PreviewMonsterGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreviewMonsterGroup(PreviewMonsterGroup other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + previewMonsterListId_ = other.previewMonsterListId_; + minLv_ = other.minLv_; + maxLv_ = other.maxLv_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreviewMonsterGroup Clone() { + return new PreviewMonsterGroup(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 "GroupId" 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 "PreviewMonsterListId" field.</summary> + public const int PreviewMonsterListIdFieldNumber = 3; + private int previewMonsterListId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreviewMonsterListId { + get { return previewMonsterListId_; } + set { + previewMonsterListId_ = value; + } + } + + /// <summary>Field number for the "MinLv" field.</summary> + public const int MinLvFieldNumber = 4; + private string minLv_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MinLv { + get { return minLv_; } + set { + minLv_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MaxLv" field.</summary> + public const int MaxLvFieldNumber = 5; + private string maxLv_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MaxLv { + get { return maxLv_; } + set { + maxLv_ = 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 PreviewMonsterGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PreviewMonsterGroup 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 (PreviewMonsterListId != other.PreviewMonsterListId) return false; + if (MinLv != other.MinLv) return false; + if (MaxLv != other.MaxLv) 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 (PreviewMonsterListId != 0) hash ^= PreviewMonsterListId.GetHashCode(); + if (MinLv.Length != 0) hash ^= MinLv.GetHashCode(); + if (MaxLv.Length != 0) hash ^= MaxLv.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 (PreviewMonsterListId != 0) { + output.WriteRawTag(24); + output.WriteInt32(PreviewMonsterListId); + } + if (MinLv.Length != 0) { + output.WriteRawTag(34); + output.WriteString(MinLv); + } + if (MaxLv.Length != 0) { + output.WriteRawTag(42); + output.WriteString(MaxLv); + } + 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 (PreviewMonsterListId != 0) { + output.WriteRawTag(24); + output.WriteInt32(PreviewMonsterListId); + } + if (MinLv.Length != 0) { + output.WriteRawTag(34); + output.WriteString(MinLv); + } + if (MaxLv.Length != 0) { + output.WriteRawTag(42); + output.WriteString(MaxLv); + } + 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 (PreviewMonsterListId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterListId); + } + if (MinLv.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MinLv); + } + if (MaxLv.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MaxLv); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PreviewMonsterGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.PreviewMonsterListId != 0) { + PreviewMonsterListId = other.PreviewMonsterListId; + } + if (other.MinLv.Length != 0) { + MinLv = other.MinLv; + } + if (other.MaxLv.Length != 0) { + MaxLv = other.MaxLv; + } + _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: { + PreviewMonsterListId = input.ReadInt32(); + break; + } + case 34: { + MinLv = input.ReadString(); + break; + } + case 42: { + MaxLv = 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: { + GroupId = input.ReadInt32(); + break; + } + case 24: { + PreviewMonsterListId = input.ReadInt32(); + break; + } + case 34: { + MinLv = input.ReadString(); + break; + } + case 42: { + MaxLv = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PreviewMonsterGroup : pb::IMessage<table_PreviewMonsterGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PreviewMonsterGroup> _parser = new pb::MessageParser<table_PreviewMonsterGroup>(() => new table_PreviewMonsterGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PreviewMonsterGroup> 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.ClientTableReflection.Descriptor.MessageTypes[323]; } + } + + [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 table_PreviewMonsterGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PreviewMonsterGroup(table_PreviewMonsterGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PreviewMonsterGroup Clone() { + return new table_PreviewMonsterGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PreviewMonsterGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PreviewMonsterGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PreviewMonsterGroup> list_ = new pbc::RepeatedField<global::Nova.Client.PreviewMonsterGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PreviewMonsterGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PreviewMonsterGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PreviewMonsterGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PreviewMonsterGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class PreviewMonsterList : pb::IMessage<PreviewMonsterList> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<PreviewMonsterList> _parser = new pb::MessageParser<PreviewMonsterList>(() => new PreviewMonsterList()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<PreviewMonsterList> 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.ClientTableReflection.Descriptor.MessageTypes[324]; } + } + + [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 PreviewMonsterList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreviewMonsterList(PreviewMonsterList other) : this() { + id_ = other.id_; + icon_ = other.icon_; + name_ = other.name_; + resistEET_ = other.resistEET_.Clone(); + eET_ = other.eET_.Clone(); + desc_ = other.desc_; + skillDesc_ = other.skillDesc_; + epicLv_ = other.epicLv_; + hP_ = other.hP_; + aTK_ = other.aTK_; + dEF_ = other.dEF_; + tOUGHNESS_ = other.tOUGHNESS_; + abilityTitle1_ = other.abilityTitle1_; + abilityDesc1_ = other.abilityDesc1_; + abilityTitle2_ = other.abilityTitle2_; + abilityDesc2_ = other.abilityDesc2_; + abilityTitle3_ = other.abilityTitle3_; + abilityDesc3_ = other.abilityDesc3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PreviewMonsterList Clone() { + return new PreviewMonsterList(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 "Icon" field.</summary> + public const int IconFieldNumber = 2; + 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 "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 "ResistEET" field.</summary> + public const int ResistEETFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_resistEET_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> resistEET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ResistEET { + get { return resistEET_; } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 6; + 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 "SkillDesc" field.</summary> + public const int SkillDescFieldNumber = 7; + private string skillDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SkillDesc { + get { return skillDesc_; } + set { + skillDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EpicLv" field.</summary> + public const int EpicLvFieldNumber = 8; + private int epicLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EpicLv { + get { return epicLv_; } + set { + epicLv_ = value; + } + } + + /// <summary>Field number for the "HP" field.</summary> + public const int HPFieldNumber = 9; + private int hP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HP { + get { return hP_; } + set { + hP_ = value; + } + } + + /// <summary>Field number for the "ATK" field.</summary> + public const int ATKFieldNumber = 10; + private int aTK_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ATK { + get { return aTK_; } + set { + aTK_ = value; + } + } + + /// <summary>Field number for the "DEF" field.</summary> + public const int DEFFieldNumber = 11; + private int dEF_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEF { + get { return dEF_; } + set { + dEF_ = value; + } + } + + /// <summary>Field number for the "TOUGHNESS" field.</summary> + public const int TOUGHNESSFieldNumber = 12; + private int tOUGHNESS_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TOUGHNESS { + get { return tOUGHNESS_; } + set { + tOUGHNESS_ = value; + } + } + + /// <summary>Field number for the "AbilityTitle1" field.</summary> + public const int AbilityTitle1FieldNumber = 13; + private string abilityTitle1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbilityTitle1 { + get { return abilityTitle1_; } + set { + abilityTitle1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AbilityDesc1" field.</summary> + public const int AbilityDesc1FieldNumber = 14; + private string abilityDesc1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbilityDesc1 { + get { return abilityDesc1_; } + set { + abilityDesc1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AbilityTitle2" field.</summary> + public const int AbilityTitle2FieldNumber = 15; + private string abilityTitle2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbilityTitle2 { + get { return abilityTitle2_; } + set { + abilityTitle2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AbilityDesc2" field.</summary> + public const int AbilityDesc2FieldNumber = 16; + private string abilityDesc2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbilityDesc2 { + get { return abilityDesc2_; } + set { + abilityDesc2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AbilityTitle3" field.</summary> + public const int AbilityTitle3FieldNumber = 17; + private string abilityTitle3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbilityTitle3 { + get { return abilityTitle3_; } + set { + abilityTitle3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AbilityDesc3" field.</summary> + public const int AbilityDesc3FieldNumber = 18; + private string abilityDesc3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbilityDesc3 { + get { return abilityDesc3_; } + set { + abilityDesc3_ = 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 PreviewMonsterList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PreviewMonsterList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Icon != other.Icon) return false; + if (Name != other.Name) return false; + if(!resistEET_.Equals(other.resistEET_)) return false; + if(!eET_.Equals(other.eET_)) return false; + if (Desc != other.Desc) return false; + if (SkillDesc != other.SkillDesc) return false; + if (EpicLv != other.EpicLv) return false; + if (HP != other.HP) return false; + if (ATK != other.ATK) return false; + if (DEF != other.DEF) return false; + if (TOUGHNESS != other.TOUGHNESS) return false; + if (AbilityTitle1 != other.AbilityTitle1) return false; + if (AbilityDesc1 != other.AbilityDesc1) return false; + if (AbilityTitle2 != other.AbilityTitle2) return false; + if (AbilityDesc2 != other.AbilityDesc2) return false; + if (AbilityTitle3 != other.AbilityTitle3) return false; + if (AbilityDesc3 != other.AbilityDesc3) 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 (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + hash ^= resistEET_.GetHashCode(); + hash ^= eET_.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (SkillDesc.Length != 0) hash ^= SkillDesc.GetHashCode(); + if (EpicLv != 0) hash ^= EpicLv.GetHashCode(); + if (HP != 0) hash ^= HP.GetHashCode(); + if (ATK != 0) hash ^= ATK.GetHashCode(); + if (DEF != 0) hash ^= DEF.GetHashCode(); + if (TOUGHNESS != 0) hash ^= TOUGHNESS.GetHashCode(); + if (AbilityTitle1.Length != 0) hash ^= AbilityTitle1.GetHashCode(); + if (AbilityDesc1.Length != 0) hash ^= AbilityDesc1.GetHashCode(); + if (AbilityTitle2.Length != 0) hash ^= AbilityTitle2.GetHashCode(); + if (AbilityDesc2.Length != 0) hash ^= AbilityDesc2.GetHashCode(); + if (AbilityTitle3.Length != 0) hash ^= AbilityTitle3.GetHashCode(); + if (AbilityDesc3.Length != 0) hash ^= AbilityDesc3.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 (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + resistEET_.WriteTo(output, _repeated_resistEET_codec); + eET_.WriteTo(output, _repeated_eET_codec); + if (Desc.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Desc); + } + if (SkillDesc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(SkillDesc); + } + if (EpicLv != 0) { + output.WriteRawTag(64); + output.WriteInt32(EpicLv); + } + if (HP != 0) { + output.WriteRawTag(72); + output.WriteInt32(HP); + } + if (ATK != 0) { + output.WriteRawTag(80); + output.WriteInt32(ATK); + } + if (DEF != 0) { + output.WriteRawTag(88); + output.WriteInt32(DEF); + } + if (TOUGHNESS != 0) { + output.WriteRawTag(96); + output.WriteInt32(TOUGHNESS); + } + if (AbilityTitle1.Length != 0) { + output.WriteRawTag(106); + output.WriteString(AbilityTitle1); + } + if (AbilityDesc1.Length != 0) { + output.WriteRawTag(114); + output.WriteString(AbilityDesc1); + } + if (AbilityTitle2.Length != 0) { + output.WriteRawTag(122); + output.WriteString(AbilityTitle2); + } + if (AbilityDesc2.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(AbilityDesc2); + } + if (AbilityTitle3.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(AbilityTitle3); + } + if (AbilityDesc3.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(AbilityDesc3); + } + 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 (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + resistEET_.WriteTo(ref output, _repeated_resistEET_codec); + eET_.WriteTo(ref output, _repeated_eET_codec); + if (Desc.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Desc); + } + if (SkillDesc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(SkillDesc); + } + if (EpicLv != 0) { + output.WriteRawTag(64); + output.WriteInt32(EpicLv); + } + if (HP != 0) { + output.WriteRawTag(72); + output.WriteInt32(HP); + } + if (ATK != 0) { + output.WriteRawTag(80); + output.WriteInt32(ATK); + } + if (DEF != 0) { + output.WriteRawTag(88); + output.WriteInt32(DEF); + } + if (TOUGHNESS != 0) { + output.WriteRawTag(96); + output.WriteInt32(TOUGHNESS); + } + if (AbilityTitle1.Length != 0) { + output.WriteRawTag(106); + output.WriteString(AbilityTitle1); + } + if (AbilityDesc1.Length != 0) { + output.WriteRawTag(114); + output.WriteString(AbilityDesc1); + } + if (AbilityTitle2.Length != 0) { + output.WriteRawTag(122); + output.WriteString(AbilityTitle2); + } + if (AbilityDesc2.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(AbilityDesc2); + } + if (AbilityTitle3.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(AbilityTitle3); + } + if (AbilityDesc3.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(AbilityDesc3); + } + 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 (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + size += resistEET_.CalculateSize(_repeated_resistEET_codec); + size += eET_.CalculateSize(_repeated_eET_codec); + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (SkillDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SkillDesc); + } + if (EpicLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EpicLv); + } + if (HP != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(HP); + } + if (ATK != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ATK); + } + if (DEF != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEF); + } + if (TOUGHNESS != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TOUGHNESS); + } + if (AbilityTitle1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AbilityTitle1); + } + if (AbilityDesc1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AbilityDesc1); + } + if (AbilityTitle2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AbilityTitle2); + } + if (AbilityDesc2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AbilityDesc2); + } + if (AbilityTitle3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AbilityTitle3); + } + if (AbilityDesc3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AbilityDesc3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PreviewMonsterList other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + resistEET_.Add(other.resistEET_); + eET_.Add(other.eET_); + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.SkillDesc.Length != 0) { + SkillDesc = other.SkillDesc; + } + if (other.EpicLv != 0) { + EpicLv = other.EpicLv; + } + if (other.HP != 0) { + HP = other.HP; + } + if (other.ATK != 0) { + ATK = other.ATK; + } + if (other.DEF != 0) { + DEF = other.DEF; + } + if (other.TOUGHNESS != 0) { + TOUGHNESS = other.TOUGHNESS; + } + if (other.AbilityTitle1.Length != 0) { + AbilityTitle1 = other.AbilityTitle1; + } + if (other.AbilityDesc1.Length != 0) { + AbilityDesc1 = other.AbilityDesc1; + } + if (other.AbilityTitle2.Length != 0) { + AbilityTitle2 = other.AbilityTitle2; + } + if (other.AbilityDesc2.Length != 0) { + AbilityDesc2 = other.AbilityDesc2; + } + if (other.AbilityTitle3.Length != 0) { + AbilityTitle3 = other.AbilityTitle3; + } + if (other.AbilityDesc3.Length != 0) { + AbilityDesc3 = other.AbilityDesc3; + } + _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: { + Icon = input.ReadString(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: + case 32: { + resistEET_.AddEntriesFrom(input, _repeated_resistEET_codec); + break; + } + case 42: + case 40: { + eET_.AddEntriesFrom(input, _repeated_eET_codec); + break; + } + case 50: { + Desc = input.ReadString(); + break; + } + case 58: { + SkillDesc = input.ReadString(); + break; + } + case 64: { + EpicLv = input.ReadInt32(); + break; + } + case 72: { + HP = input.ReadInt32(); + break; + } + case 80: { + ATK = input.ReadInt32(); + break; + } + case 88: { + DEF = input.ReadInt32(); + break; + } + case 96: { + TOUGHNESS = input.ReadInt32(); + break; + } + case 106: { + AbilityTitle1 = input.ReadString(); + break; + } + case 114: { + AbilityDesc1 = input.ReadString(); + break; + } + case 122: { + AbilityTitle2 = input.ReadString(); + break; + } + case 130: { + AbilityDesc2 = input.ReadString(); + break; + } + case 138: { + AbilityTitle3 = input.ReadString(); + break; + } + case 146: { + AbilityDesc3 = 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 18: { + Icon = input.ReadString(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: + case 32: { + resistEET_.AddEntriesFrom(ref input, _repeated_resistEET_codec); + break; + } + case 42: + case 40: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + case 50: { + Desc = input.ReadString(); + break; + } + case 58: { + SkillDesc = input.ReadString(); + break; + } + case 64: { + EpicLv = input.ReadInt32(); + break; + } + case 72: { + HP = input.ReadInt32(); + break; + } + case 80: { + ATK = input.ReadInt32(); + break; + } + case 88: { + DEF = input.ReadInt32(); + break; + } + case 96: { + TOUGHNESS = input.ReadInt32(); + break; + } + case 106: { + AbilityTitle1 = input.ReadString(); + break; + } + case 114: { + AbilityDesc1 = input.ReadString(); + break; + } + case 122: { + AbilityTitle2 = input.ReadString(); + break; + } + case 130: { + AbilityDesc2 = input.ReadString(); + break; + } + case 138: { + AbilityTitle3 = input.ReadString(); + break; + } + case 146: { + AbilityDesc3 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_PreviewMonsterList : pb::IMessage<table_PreviewMonsterList> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_PreviewMonsterList> _parser = new pb::MessageParser<table_PreviewMonsterList>(() => new table_PreviewMonsterList()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_PreviewMonsterList> 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.ClientTableReflection.Descriptor.MessageTypes[325]; } + } + + [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 table_PreviewMonsterList() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PreviewMonsterList(table_PreviewMonsterList other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_PreviewMonsterList Clone() { + return new table_PreviewMonsterList(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.PreviewMonsterList> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.PreviewMonsterList.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.PreviewMonsterList> list_ = new pbc::RepeatedField<global::Nova.Client.PreviewMonsterList>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.PreviewMonsterList> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_PreviewMonsterList); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_PreviewMonsterList other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_PreviewMonsterList other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Production : pb::IMessage<Production> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Production> _parser = new pb::MessageParser<Production>(() => new Production()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Production> 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.ClientTableReflection.Descriptor.MessageTypes[326]; } + } + + [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 Production() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Production(Production other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + productionId_ = other.productionId_; + productionPerBatch_ = other.productionPerBatch_; + showProductionId_ = other.showProductionId_; + showProductionPerBatch_ = other.showProductionPerBatch_; + group_ = other.group_; + tag_ = other.tag_; + rawMaterialId1_ = other.rawMaterialId1_; + rawMaterialCount1_ = other.rawMaterialCount1_; + rawMaterialId2_ = other.rawMaterialId2_; + rawMaterialCount2_ = other.rawMaterialCount2_; + rawMaterialId3_ = other.rawMaterialId3_; + rawMaterialCount3_ = other.rawMaterialCount3_; + rawMaterialId4_ = other.rawMaterialId4_; + rawMaterialCount4_ = other.rawMaterialCount4_; + isShowWorldLevel_ = other.isShowWorldLevel_; + unlockWorldLevel_ = other.unlockWorldLevel_; + unlockTip_ = other.unlockTip_; + sortId_ = other.sortId_; + isActived_ = other.isActived_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Production Clone() { + return new Production(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "ProductionId" field.</summary> + public const int ProductionIdFieldNumber = 4; + private int productionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProductionId { + get { return productionId_; } + set { + productionId_ = value; + } + } + + /// <summary>Field number for the "ProductionPerBatch" field.</summary> + public const int ProductionPerBatchFieldNumber = 5; + private int productionPerBatch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ProductionPerBatch { + get { return productionPerBatch_; } + set { + productionPerBatch_ = value; + } + } + + /// <summary>Field number for the "ShowProductionId" field.</summary> + public const int ShowProductionIdFieldNumber = 6; + private int showProductionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShowProductionId { + get { return showProductionId_; } + set { + showProductionId_ = value; + } + } + + /// <summary>Field number for the "ShowProductionPerBatch" field.</summary> + public const int ShowProductionPerBatchFieldNumber = 7; + private int showProductionPerBatch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShowProductionPerBatch { + get { return showProductionPerBatch_; } + set { + showProductionPerBatch_ = value; + } + } + + /// <summary>Field number for the "Group" field.</summary> + public const int GroupFieldNumber = 8; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "Tag" field.</summary> + public const int TagFieldNumber = 9; + private int tag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tag { + get { return tag_; } + set { + tag_ = value; + } + } + + /// <summary>Field number for the "RawMaterialId1" field.</summary> + public const int RawMaterialId1FieldNumber = 10; + private int rawMaterialId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialId1 { + get { return rawMaterialId1_; } + set { + rawMaterialId1_ = value; + } + } + + /// <summary>Field number for the "RawMaterialCount1" field.</summary> + public const int RawMaterialCount1FieldNumber = 11; + private int rawMaterialCount1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialCount1 { + get { return rawMaterialCount1_; } + set { + rawMaterialCount1_ = value; + } + } + + /// <summary>Field number for the "RawMaterialId2" field.</summary> + public const int RawMaterialId2FieldNumber = 12; + private int rawMaterialId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialId2 { + get { return rawMaterialId2_; } + set { + rawMaterialId2_ = value; + } + } + + /// <summary>Field number for the "RawMaterialCount2" field.</summary> + public const int RawMaterialCount2FieldNumber = 13; + private int rawMaterialCount2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialCount2 { + get { return rawMaterialCount2_; } + set { + rawMaterialCount2_ = value; + } + } + + /// <summary>Field number for the "RawMaterialId3" field.</summary> + public const int RawMaterialId3FieldNumber = 14; + private int rawMaterialId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialId3 { + get { return rawMaterialId3_; } + set { + rawMaterialId3_ = value; + } + } + + /// <summary>Field number for the "RawMaterialCount3" field.</summary> + public const int RawMaterialCount3FieldNumber = 15; + private int rawMaterialCount3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialCount3 { + get { return rawMaterialCount3_; } + set { + rawMaterialCount3_ = value; + } + } + + /// <summary>Field number for the "RawMaterialId4" field.</summary> + public const int RawMaterialId4FieldNumber = 16; + private int rawMaterialId4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialId4 { + get { return rawMaterialId4_; } + set { + rawMaterialId4_ = value; + } + } + + /// <summary>Field number for the "RawMaterialCount4" field.</summary> + public const int RawMaterialCount4FieldNumber = 17; + private int rawMaterialCount4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RawMaterialCount4 { + get { return rawMaterialCount4_; } + set { + rawMaterialCount4_ = value; + } + } + + /// <summary>Field number for the "IsShowWorldLevel" field.</summary> + public const int IsShowWorldLevelFieldNumber = 18; + private int isShowWorldLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IsShowWorldLevel { + get { return isShowWorldLevel_; } + set { + isShowWorldLevel_ = value; + } + } + + /// <summary>Field number for the "UnlockWorldLevel" field.</summary> + public const int UnlockWorldLevelFieldNumber = 19; + private int unlockWorldLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockWorldLevel { + get { return unlockWorldLevel_; } + set { + unlockWorldLevel_ = value; + } + } + + /// <summary>Field number for the "UnlockTip" field.</summary> + public const int UnlockTipFieldNumber = 20; + private string unlockTip_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockTip { + get { return unlockTip_; } + set { + unlockTip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SortId" field.</summary> + public const int SortIdFieldNumber = 21; + private int sortId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortId { + get { return sortId_; } + set { + sortId_ = value; + } + } + + /// <summary>Field number for the "IsActived" field.</summary> + public const int IsActivedFieldNumber = 22; + private bool isActived_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsActived { + get { return isActived_; } + set { + isActived_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Production); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Production 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 (Desc != other.Desc) return false; + if (ProductionId != other.ProductionId) return false; + if (ProductionPerBatch != other.ProductionPerBatch) return false; + if (ShowProductionId != other.ShowProductionId) return false; + if (ShowProductionPerBatch != other.ShowProductionPerBatch) return false; + if (Group != other.Group) return false; + if (Tag != other.Tag) return false; + if (RawMaterialId1 != other.RawMaterialId1) return false; + if (RawMaterialCount1 != other.RawMaterialCount1) return false; + if (RawMaterialId2 != other.RawMaterialId2) return false; + if (RawMaterialCount2 != other.RawMaterialCount2) return false; + if (RawMaterialId3 != other.RawMaterialId3) return false; + if (RawMaterialCount3 != other.RawMaterialCount3) return false; + if (RawMaterialId4 != other.RawMaterialId4) return false; + if (RawMaterialCount4 != other.RawMaterialCount4) return false; + if (IsShowWorldLevel != other.IsShowWorldLevel) return false; + if (UnlockWorldLevel != other.UnlockWorldLevel) return false; + if (UnlockTip != other.UnlockTip) return false; + if (SortId != other.SortId) return false; + if (IsActived != other.IsActived) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (ProductionId != 0) hash ^= ProductionId.GetHashCode(); + if (ProductionPerBatch != 0) hash ^= ProductionPerBatch.GetHashCode(); + if (ShowProductionId != 0) hash ^= ShowProductionId.GetHashCode(); + if (ShowProductionPerBatch != 0) hash ^= ShowProductionPerBatch.GetHashCode(); + if (Group != 0) hash ^= Group.GetHashCode(); + if (Tag != 0) hash ^= Tag.GetHashCode(); + if (RawMaterialId1 != 0) hash ^= RawMaterialId1.GetHashCode(); + if (RawMaterialCount1 != 0) hash ^= RawMaterialCount1.GetHashCode(); + if (RawMaterialId2 != 0) hash ^= RawMaterialId2.GetHashCode(); + if (RawMaterialCount2 != 0) hash ^= RawMaterialCount2.GetHashCode(); + if (RawMaterialId3 != 0) hash ^= RawMaterialId3.GetHashCode(); + if (RawMaterialCount3 != 0) hash ^= RawMaterialCount3.GetHashCode(); + if (RawMaterialId4 != 0) hash ^= RawMaterialId4.GetHashCode(); + if (RawMaterialCount4 != 0) hash ^= RawMaterialCount4.GetHashCode(); + if (IsShowWorldLevel != 0) hash ^= IsShowWorldLevel.GetHashCode(); + if (UnlockWorldLevel != 0) hash ^= UnlockWorldLevel.GetHashCode(); + if (UnlockTip.Length != 0) hash ^= UnlockTip.GetHashCode(); + if (SortId != 0) hash ^= SortId.GetHashCode(); + if (IsActived != false) hash ^= IsActived.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (ProductionId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ProductionId); + } + if (ProductionPerBatch != 0) { + output.WriteRawTag(40); + output.WriteInt32(ProductionPerBatch); + } + if (ShowProductionId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ShowProductionId); + } + if (ShowProductionPerBatch != 0) { + output.WriteRawTag(56); + output.WriteInt32(ShowProductionPerBatch); + } + if (Group != 0) { + output.WriteRawTag(64); + output.WriteInt32(Group); + } + if (Tag != 0) { + output.WriteRawTag(72); + output.WriteInt32(Tag); + } + if (RawMaterialId1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(RawMaterialId1); + } + if (RawMaterialCount1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(RawMaterialCount1); + } + if (RawMaterialId2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(RawMaterialId2); + } + if (RawMaterialCount2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(RawMaterialCount2); + } + if (RawMaterialId3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(RawMaterialId3); + } + if (RawMaterialCount3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(RawMaterialCount3); + } + if (RawMaterialId4 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(RawMaterialId4); + } + if (RawMaterialCount4 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(RawMaterialCount4); + } + if (IsShowWorldLevel != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(IsShowWorldLevel); + } + if (UnlockWorldLevel != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(UnlockWorldLevel); + } + if (UnlockTip.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(UnlockTip); + } + if (SortId != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(SortId); + } + if (IsActived != false) { + output.WriteRawTag(176, 1); + output.WriteBool(IsActived); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (ProductionId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ProductionId); + } + if (ProductionPerBatch != 0) { + output.WriteRawTag(40); + output.WriteInt32(ProductionPerBatch); + } + if (ShowProductionId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ShowProductionId); + } + if (ShowProductionPerBatch != 0) { + output.WriteRawTag(56); + output.WriteInt32(ShowProductionPerBatch); + } + if (Group != 0) { + output.WriteRawTag(64); + output.WriteInt32(Group); + } + if (Tag != 0) { + output.WriteRawTag(72); + output.WriteInt32(Tag); + } + if (RawMaterialId1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(RawMaterialId1); + } + if (RawMaterialCount1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(RawMaterialCount1); + } + if (RawMaterialId2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(RawMaterialId2); + } + if (RawMaterialCount2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(RawMaterialCount2); + } + if (RawMaterialId3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(RawMaterialId3); + } + if (RawMaterialCount3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(RawMaterialCount3); + } + if (RawMaterialId4 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(RawMaterialId4); + } + if (RawMaterialCount4 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(RawMaterialCount4); + } + if (IsShowWorldLevel != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(IsShowWorldLevel); + } + if (UnlockWorldLevel != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(UnlockWorldLevel); + } + if (UnlockTip.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(UnlockTip); + } + if (SortId != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(SortId); + } + if (IsActived != false) { + output.WriteRawTag(176, 1); + output.WriteBool(IsActived); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (ProductionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductionId); + } + if (ProductionPerBatch != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductionPerBatch); + } + if (ShowProductionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowProductionId); + } + if (ShowProductionPerBatch != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowProductionPerBatch); + } + if (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (Tag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag); + } + if (RawMaterialId1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId1); + } + if (RawMaterialCount1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount1); + } + if (RawMaterialId2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId2); + } + if (RawMaterialCount2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount2); + } + if (RawMaterialId3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId3); + } + if (RawMaterialCount3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount3); + } + if (RawMaterialId4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialId4); + } + if (RawMaterialCount4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RawMaterialCount4); + } + if (IsShowWorldLevel != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(IsShowWorldLevel); + } + if (UnlockWorldLevel != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldLevel); + } + if (UnlockTip.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(UnlockTip); + } + if (SortId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SortId); + } + if (IsActived != false) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Production other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.ProductionId != 0) { + ProductionId = other.ProductionId; + } + if (other.ProductionPerBatch != 0) { + ProductionPerBatch = other.ProductionPerBatch; + } + if (other.ShowProductionId != 0) { + ShowProductionId = other.ShowProductionId; + } + if (other.ShowProductionPerBatch != 0) { + ShowProductionPerBatch = other.ShowProductionPerBatch; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.Tag != 0) { + Tag = other.Tag; + } + if (other.RawMaterialId1 != 0) { + RawMaterialId1 = other.RawMaterialId1; + } + if (other.RawMaterialCount1 != 0) { + RawMaterialCount1 = other.RawMaterialCount1; + } + if (other.RawMaterialId2 != 0) { + RawMaterialId2 = other.RawMaterialId2; + } + if (other.RawMaterialCount2 != 0) { + RawMaterialCount2 = other.RawMaterialCount2; + } + if (other.RawMaterialId3 != 0) { + RawMaterialId3 = other.RawMaterialId3; + } + if (other.RawMaterialCount3 != 0) { + RawMaterialCount3 = other.RawMaterialCount3; + } + if (other.RawMaterialId4 != 0) { + RawMaterialId4 = other.RawMaterialId4; + } + if (other.RawMaterialCount4 != 0) { + RawMaterialCount4 = other.RawMaterialCount4; + } + if (other.IsShowWorldLevel != 0) { + IsShowWorldLevel = other.IsShowWorldLevel; + } + if (other.UnlockWorldLevel != 0) { + UnlockWorldLevel = other.UnlockWorldLevel; + } + if (other.UnlockTip.Length != 0) { + UnlockTip = other.UnlockTip; + } + if (other.SortId != 0) { + SortId = other.SortId; + } + if (other.IsActived != false) { + IsActived = other.IsActived; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + ProductionId = input.ReadInt32(); + break; + } + case 40: { + ProductionPerBatch = input.ReadInt32(); + break; + } + case 48: { + ShowProductionId = input.ReadInt32(); + break; + } + case 56: { + ShowProductionPerBatch = input.ReadInt32(); + break; + } + case 64: { + Group = input.ReadInt32(); + break; + } + case 72: { + Tag = input.ReadInt32(); + break; + } + case 80: { + RawMaterialId1 = input.ReadInt32(); + break; + } + case 88: { + RawMaterialCount1 = input.ReadInt32(); + break; + } + case 96: { + RawMaterialId2 = input.ReadInt32(); + break; + } + case 104: { + RawMaterialCount2 = input.ReadInt32(); + break; + } + case 112: { + RawMaterialId3 = input.ReadInt32(); + break; + } + case 120: { + RawMaterialCount3 = input.ReadInt32(); + break; + } + case 128: { + RawMaterialId4 = input.ReadInt32(); + break; + } + case 136: { + RawMaterialCount4 = input.ReadInt32(); + break; + } + case 144: { + IsShowWorldLevel = input.ReadInt32(); + break; + } + case 152: { + UnlockWorldLevel = input.ReadInt32(); + break; + } + case 162: { + UnlockTip = input.ReadString(); + break; + } + case 168: { + SortId = input.ReadInt32(); + break; + } + case 176: { + IsActived = 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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + ProductionId = input.ReadInt32(); + break; + } + case 40: { + ProductionPerBatch = input.ReadInt32(); + break; + } + case 48: { + ShowProductionId = input.ReadInt32(); + break; + } + case 56: { + ShowProductionPerBatch = input.ReadInt32(); + break; + } + case 64: { + Group = input.ReadInt32(); + break; + } + case 72: { + Tag = input.ReadInt32(); + break; + } + case 80: { + RawMaterialId1 = input.ReadInt32(); + break; + } + case 88: { + RawMaterialCount1 = input.ReadInt32(); + break; + } + case 96: { + RawMaterialId2 = input.ReadInt32(); + break; + } + case 104: { + RawMaterialCount2 = input.ReadInt32(); + break; + } + case 112: { + RawMaterialId3 = input.ReadInt32(); + break; + } + case 120: { + RawMaterialCount3 = input.ReadInt32(); + break; + } + case 128: { + RawMaterialId4 = input.ReadInt32(); + break; + } + case 136: { + RawMaterialCount4 = input.ReadInt32(); + break; + } + case 144: { + IsShowWorldLevel = input.ReadInt32(); + break; + } + case 152: { + UnlockWorldLevel = input.ReadInt32(); + break; + } + case 162: { + UnlockTip = input.ReadString(); + break; + } + case 168: { + SortId = input.ReadInt32(); + break; + } + case 176: { + IsActived = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Production : pb::IMessage<table_Production> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Production> _parser = new pb::MessageParser<table_Production>(() => new table_Production()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Production> 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.ClientTableReflection.Descriptor.MessageTypes[327]; } + } + + [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 table_Production() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Production(table_Production other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Production Clone() { + return new table_Production(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Production> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Production.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Production> list_ = new pbc::RepeatedField<global::Nova.Client.Production>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Production> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Production); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Production other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Production other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProductionType : pb::IMessage<ProductionType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ProductionType> _parser = new pb::MessageParser<ProductionType>(() => new ProductionType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ProductionType> 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.ClientTableReflection.Descriptor.MessageTypes[328]; } + } + + [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 ProductionType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductionType(ProductionType other) : this() { + id_ = other.id_; + typeName_ = other.typeName_; + sortId_ = other.sortId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductionType Clone() { + return new ProductionType(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 "TypeName" field.</summary> + public const int TypeNameFieldNumber = 2; + private string typeName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TypeName { + get { return typeName_; } + set { + typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SortId" field.</summary> + public const int SortIdFieldNumber = 3; + private int sortId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortId { + get { return sortId_; } + set { + sortId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProductionType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProductionType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TypeName != other.TypeName) return false; + if (SortId != other.SortId) 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 (TypeName.Length != 0) hash ^= TypeName.GetHashCode(); + if (SortId != 0) hash ^= SortId.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 (TypeName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TypeName); + } + if (SortId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SortId); + } + 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 (TypeName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TypeName); + } + if (SortId != 0) { + output.WriteRawTag(24); + output.WriteInt32(SortId); + } + 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 (TypeName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); + } + if (SortId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProductionType other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.TypeName.Length != 0) { + TypeName = other.TypeName; + } + if (other.SortId != 0) { + SortId = other.SortId; + } + _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: { + TypeName = input.ReadString(); + break; + } + case 24: { + SortId = 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 18: { + TypeName = input.ReadString(); + break; + } + case 24: { + SortId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ProductionType : pb::IMessage<table_ProductionType> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ProductionType> _parser = new pb::MessageParser<table_ProductionType>(() => new table_ProductionType()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ProductionType> 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.ClientTableReflection.Descriptor.MessageTypes[329]; } + } + + [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 table_ProductionType() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ProductionType(table_ProductionType other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ProductionType Clone() { + return new table_ProductionType(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ProductionType> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ProductionType.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ProductionType> list_ = new pbc::RepeatedField<global::Nova.Client.ProductionType>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ProductionType> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ProductionType); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ProductionType other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ProductionType other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RandomLevelMonster : pb::IMessage<RandomLevelMonster> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RandomLevelMonster> _parser = new pb::MessageParser<RandomLevelMonster>(() => new RandomLevelMonster()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RandomLevelMonster> 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.ClientTableReflection.Descriptor.MessageTypes[330]; } + } + + [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 RandomLevelMonster() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RandomLevelMonster(RandomLevelMonster other) : this() { + id_ = other.id_; + name_ = other.name_; + epicLv_ = other.epicLv_; + bloodType_ = other.bloodType_; + eET_ = other.eET_; + fCId_ = other.fCId_; + fAId_ = other.fAId_; + movType_ = other.movType_; + runSpd_ = other.runSpd_; + transSpdScale_ = other.transSpdScale_; + walkSpd_ = other.walkSpd_; + movAcc_ = other.movAcc_; + visionRng_ = other.visionRng_; + visionDeg_ = other.visionDeg_; + hearRng_ = other.hearRng_; + refRng_ = other.refRng_; + actRng_ = other.actRng_; + disActRng_ = other.disActRng_; + rotSpd_ = other.rotSpd_; + templete_ = other.templete_; + wEP_ = other.wEP_; + fEP_ = other.fEP_; + sEP_ = other.sEP_; + aEP_ = other.aEP_; + lEP_ = other.lEP_; + dEP_ = other.dEP_; + wEE_ = other.wEE_; + fEE_ = other.fEE_; + sEE_ = other.sEE_; + aEE_ = other.aEE_; + lEE_ = other.lEE_; + dEE_ = other.dEE_; + wER_ = other.wER_; + fER_ = other.fER_; + sER_ = other.sER_; + aER_ = other.aER_; + lER_ = other.lER_; + dER_ = other.dER_; + buffIds_ = other.buffIds_.Clone(); + weight_ = other.weight_; + trapTagIds_ = other.trapTagIds_.Clone(); + faction_ = other.faction_; + supCharge_ = other.supCharge_; + isShowRng_ = other.isShowRng_; + trapAttrId_ = other.trapAttrId_; + tag1_ = other.tag1_; + tag2_ = other.tag2_; + tag3_ = other.tag3_; + tag4_ = other.tag4_; + tag5_ = other.tag5_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RandomLevelMonster Clone() { + return new RandomLevelMonster(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 "EpicLv" field.</summary> + public const int EpicLvFieldNumber = 3; + private int epicLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EpicLv { + get { return epicLv_; } + set { + epicLv_ = value; + } + } + + /// <summary>Field number for the "BloodType" field.</summary> + public const int BloodTypeFieldNumber = 4; + private int bloodType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BloodType { + get { return bloodType_; } + set { + bloodType_ = value; + } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 5; + 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 "FCId" field.</summary> + public const int FCIdFieldNumber = 6; + private int fCId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FCId { + get { return fCId_; } + set { + fCId_ = value; + } + } + + /// <summary>Field number for the "FAId" field.</summary> + public const int FAIdFieldNumber = 7; + private int fAId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FAId { + get { return fAId_; } + set { + fAId_ = value; + } + } + + /// <summary>Field number for the "MovType" field.</summary> + public const int MovTypeFieldNumber = 8; + private int movType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovType { + get { return movType_; } + set { + movType_ = value; + } + } + + /// <summary>Field number for the "RunSpd" field.</summary> + public const int RunSpdFieldNumber = 9; + private int runSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RunSpd { + get { return runSpd_; } + set { + runSpd_ = value; + } + } + + /// <summary>Field number for the "TransSpdScale" field.</summary> + public const int TransSpdScaleFieldNumber = 10; + private int transSpdScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TransSpdScale { + get { return transSpdScale_; } + set { + transSpdScale_ = value; + } + } + + /// <summary>Field number for the "WalkSpd" field.</summary> + public const int WalkSpdFieldNumber = 11; + private int walkSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WalkSpd { + get { return walkSpd_; } + set { + walkSpd_ = value; + } + } + + /// <summary>Field number for the "MovAcc" field.</summary> + public const int MovAccFieldNumber = 12; + private int movAcc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovAcc { + get { return movAcc_; } + set { + movAcc_ = value; + } + } + + /// <summary>Field number for the "VisionRng" field.</summary> + public const int VisionRngFieldNumber = 13; + private int visionRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionRng { + get { return visionRng_; } + set { + visionRng_ = value; + } + } + + /// <summary>Field number for the "VisionDeg" field.</summary> + public const int VisionDegFieldNumber = 14; + private int visionDeg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int VisionDeg { + get { return visionDeg_; } + set { + visionDeg_ = value; + } + } + + /// <summary>Field number for the "HearRng" field.</summary> + public const int HearRngFieldNumber = 15; + private int hearRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HearRng { + get { return hearRng_; } + set { + hearRng_ = value; + } + } + + /// <summary>Field number for the "RefRng" field.</summary> + public const int RefRngFieldNumber = 16; + private int refRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefRng { + get { return refRng_; } + set { + refRng_ = value; + } + } + + /// <summary>Field number for the "ActRng" field.</summary> + public const int ActRngFieldNumber = 17; + private int actRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActRng { + get { return actRng_; } + set { + actRng_ = value; + } + } + + /// <summary>Field number for the "DisActRng" field.</summary> + public const int DisActRngFieldNumber = 18; + private int disActRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DisActRng { + get { return disActRng_; } + set { + disActRng_ = value; + } + } + + /// <summary>Field number for the "RotSpd" field.</summary> + public const int RotSpdFieldNumber = 19; + private int rotSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RotSpd { + get { return rotSpd_; } + set { + rotSpd_ = value; + } + } + + /// <summary>Field number for the "Templete" field.</summary> + public const int TempleteFieldNumber = 20; + private int templete_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Templete { + get { return templete_; } + set { + templete_ = value; + } + } + + /// <summary>Field number for the "WEP" field.</summary> + public const int WEPFieldNumber = 21; + private int wEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEP { + get { return wEP_; } + set { + wEP_ = value; + } + } + + /// <summary>Field number for the "FEP" field.</summary> + public const int FEPFieldNumber = 22; + private int fEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEP { + get { return fEP_; } + set { + fEP_ = value; + } + } + + /// <summary>Field number for the "SEP" field.</summary> + public const int SEPFieldNumber = 23; + private int sEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEP { + get { return sEP_; } + set { + sEP_ = value; + } + } + + /// <summary>Field number for the "AEP" field.</summary> + public const int AEPFieldNumber = 24; + private int aEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEP { + get { return aEP_; } + set { + aEP_ = value; + } + } + + /// <summary>Field number for the "LEP" field.</summary> + public const int LEPFieldNumber = 25; + private int lEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEP { + get { return lEP_; } + set { + lEP_ = value; + } + } + + /// <summary>Field number for the "DEP" field.</summary> + public const int DEPFieldNumber = 26; + private int dEP_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEP { + get { return dEP_; } + set { + dEP_ = value; + } + } + + /// <summary>Field number for the "WEE" field.</summary> + public const int WEEFieldNumber = 27; + private int wEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WEE { + get { return wEE_; } + set { + wEE_ = value; + } + } + + /// <summary>Field number for the "FEE" field.</summary> + public const int FEEFieldNumber = 28; + private int fEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FEE { + get { return fEE_; } + set { + fEE_ = value; + } + } + + /// <summary>Field number for the "SEE" field.</summary> + public const int SEEFieldNumber = 29; + private int sEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SEE { + get { return sEE_; } + set { + sEE_ = value; + } + } + + /// <summary>Field number for the "AEE" field.</summary> + public const int AEEFieldNumber = 30; + private int aEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AEE { + get { return aEE_; } + set { + aEE_ = value; + } + } + + /// <summary>Field number for the "LEE" field.</summary> + public const int LEEFieldNumber = 31; + private int lEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LEE { + get { return lEE_; } + set { + lEE_ = value; + } + } + + /// <summary>Field number for the "DEE" field.</summary> + public const int DEEFieldNumber = 32; + private int dEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DEE { + get { return dEE_; } + set { + dEE_ = value; + } + } + + /// <summary>Field number for the "WER" field.</summary> + public const int WERFieldNumber = 33; + private int wER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WER { + get { return wER_; } + set { + wER_ = value; + } + } + + /// <summary>Field number for the "FER" field.</summary> + public const int FERFieldNumber = 34; + private int fER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FER { + get { return fER_; } + set { + fER_ = value; + } + } + + /// <summary>Field number for the "SER" field.</summary> + public const int SERFieldNumber = 35; + private int sER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SER { + get { return sER_; } + set { + sER_ = value; + } + } + + /// <summary>Field number for the "AER" field.</summary> + public const int AERFieldNumber = 36; + private int aER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AER { + get { return aER_; } + set { + aER_ = value; + } + } + + /// <summary>Field number for the "LER" field.</summary> + public const int LERFieldNumber = 37; + private int lER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LER { + get { return lER_; } + set { + lER_ = value; + } + } + + /// <summary>Field number for the "DER" field.</summary> + public const int DERFieldNumber = 38; + private int dER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DER { + get { return dER_; } + set { + dER_ = value; + } + } + + /// <summary>Field number for the "BuffIds" field.</summary> + public const int BuffIdsFieldNumber = 39; + private static readonly pb::FieldCodec<int> _repeated_buffIds_codec + = pb::FieldCodec.ForInt32(314); + private readonly pbc::RepeatedField<int> buffIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BuffIds { + get { return buffIds_; } + } + + /// <summary>Field number for the "weight" field.</summary> + public const int WeightFieldNumber = 40; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + /// <summary>Field number for the "TrapTagIds" field.</summary> + public const int TrapTagIdsFieldNumber = 41; + private static readonly pb::FieldCodec<int> _repeated_trapTagIds_codec + = pb::FieldCodec.ForInt32(330); + private readonly pbc::RepeatedField<int> trapTagIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TrapTagIds { + get { return trapTagIds_; } + } + + /// <summary>Field number for the "Faction" field.</summary> + public const int FactionFieldNumber = 42; + private int faction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Faction { + get { return faction_; } + set { + faction_ = value; + } + } + + /// <summary>Field number for the "SupCharge" field.</summary> + public const int SupChargeFieldNumber = 43; + private int supCharge_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SupCharge { + get { return supCharge_; } + set { + supCharge_ = value; + } + } + + /// <summary>Field number for the "IsShowRng" field.</summary> + public const int IsShowRngFieldNumber = 44; + private bool isShowRng_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsShowRng { + get { return isShowRng_; } + set { + isShowRng_ = value; + } + } + + /// <summary>Field number for the "TrapAttrId" field.</summary> + public const int TrapAttrIdFieldNumber = 45; + private int trapAttrId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TrapAttrId { + get { return trapAttrId_; } + set { + trapAttrId_ = value; + } + } + + /// <summary>Field number for the "Tag1" field.</summary> + public const int Tag1FieldNumber = 46; + private string tag1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag1 { + get { return tag1_; } + set { + tag1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag2" field.</summary> + public const int Tag2FieldNumber = 47; + private string tag2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag2 { + get { return tag2_; } + set { + tag2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag3" field.</summary> + public const int Tag3FieldNumber = 48; + private string tag3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag3 { + get { return tag3_; } + set { + tag3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag4" field.</summary> + public const int Tag4FieldNumber = 49; + private string tag4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag4 { + get { return tag4_; } + set { + tag4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tag5" field.</summary> + public const int Tag5FieldNumber = 50; + private string tag5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag5 { + get { return tag5_; } + set { + tag5_ = 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 RandomLevelMonster); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RandomLevelMonster 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 (EpicLv != other.EpicLv) return false; + if (BloodType != other.BloodType) return false; + if (EET != other.EET) return false; + if (FCId != other.FCId) return false; + if (FAId != other.FAId) return false; + if (MovType != other.MovType) return false; + if (RunSpd != other.RunSpd) return false; + if (TransSpdScale != other.TransSpdScale) return false; + if (WalkSpd != other.WalkSpd) return false; + if (MovAcc != other.MovAcc) return false; + if (VisionRng != other.VisionRng) return false; + if (VisionDeg != other.VisionDeg) return false; + if (HearRng != other.HearRng) return false; + if (RefRng != other.RefRng) return false; + if (ActRng != other.ActRng) return false; + if (DisActRng != other.DisActRng) return false; + if (RotSpd != other.RotSpd) return false; + if (Templete != other.Templete) return false; + if (WEP != other.WEP) return false; + if (FEP != other.FEP) return false; + if (SEP != other.SEP) return false; + if (AEP != other.AEP) return false; + if (LEP != other.LEP) return false; + if (DEP != other.DEP) return false; + if (WEE != other.WEE) return false; + if (FEE != other.FEE) return false; + if (SEE != other.SEE) return false; + if (AEE != other.AEE) return false; + if (LEE != other.LEE) return false; + if (DEE != other.DEE) return false; + if (WER != other.WER) return false; + if (FER != other.FER) return false; + if (SER != other.SER) return false; + if (AER != other.AER) return false; + if (LER != other.LER) return false; + if (DER != other.DER) return false; + if(!buffIds_.Equals(other.buffIds_)) return false; + if (Weight != other.Weight) return false; + if(!trapTagIds_.Equals(other.trapTagIds_)) return false; + if (Faction != other.Faction) return false; + if (SupCharge != other.SupCharge) return false; + if (IsShowRng != other.IsShowRng) return false; + if (TrapAttrId != other.TrapAttrId) return false; + if (Tag1 != other.Tag1) return false; + if (Tag2 != other.Tag2) return false; + if (Tag3 != other.Tag3) return false; + if (Tag4 != other.Tag4) return false; + if (Tag5 != other.Tag5) 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 (EpicLv != 0) hash ^= EpicLv.GetHashCode(); + if (BloodType != 0) hash ^= BloodType.GetHashCode(); + if (EET != 0) hash ^= EET.GetHashCode(); + if (FCId != 0) hash ^= FCId.GetHashCode(); + if (FAId != 0) hash ^= FAId.GetHashCode(); + if (MovType != 0) hash ^= MovType.GetHashCode(); + if (RunSpd != 0) hash ^= RunSpd.GetHashCode(); + if (TransSpdScale != 0) hash ^= TransSpdScale.GetHashCode(); + if (WalkSpd != 0) hash ^= WalkSpd.GetHashCode(); + if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); + if (VisionRng != 0) hash ^= VisionRng.GetHashCode(); + if (VisionDeg != 0) hash ^= VisionDeg.GetHashCode(); + if (HearRng != 0) hash ^= HearRng.GetHashCode(); + if (RefRng != 0) hash ^= RefRng.GetHashCode(); + if (ActRng != 0) hash ^= ActRng.GetHashCode(); + if (DisActRng != 0) hash ^= DisActRng.GetHashCode(); + if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); + if (Templete != 0) hash ^= Templete.GetHashCode(); + if (WEP != 0) hash ^= WEP.GetHashCode(); + if (FEP != 0) hash ^= FEP.GetHashCode(); + if (SEP != 0) hash ^= SEP.GetHashCode(); + if (AEP != 0) hash ^= AEP.GetHashCode(); + if (LEP != 0) hash ^= LEP.GetHashCode(); + if (DEP != 0) hash ^= DEP.GetHashCode(); + if (WEE != 0) hash ^= WEE.GetHashCode(); + if (FEE != 0) hash ^= FEE.GetHashCode(); + if (SEE != 0) hash ^= SEE.GetHashCode(); + if (AEE != 0) hash ^= AEE.GetHashCode(); + if (LEE != 0) hash ^= LEE.GetHashCode(); + if (DEE != 0) hash ^= DEE.GetHashCode(); + if (WER != 0) hash ^= WER.GetHashCode(); + if (FER != 0) hash ^= FER.GetHashCode(); + if (SER != 0) hash ^= SER.GetHashCode(); + if (AER != 0) hash ^= AER.GetHashCode(); + if (LER != 0) hash ^= LER.GetHashCode(); + if (DER != 0) hash ^= DER.GetHashCode(); + hash ^= buffIds_.GetHashCode(); + if (Weight != 0) hash ^= Weight.GetHashCode(); + hash ^= trapTagIds_.GetHashCode(); + if (Faction != 0) hash ^= Faction.GetHashCode(); + if (SupCharge != 0) hash ^= SupCharge.GetHashCode(); + if (IsShowRng != false) hash ^= IsShowRng.GetHashCode(); + if (TrapAttrId != 0) hash ^= TrapAttrId.GetHashCode(); + if (Tag1.Length != 0) hash ^= Tag1.GetHashCode(); + if (Tag2.Length != 0) hash ^= Tag2.GetHashCode(); + if (Tag3.Length != 0) hash ^= Tag3.GetHashCode(); + if (Tag4.Length != 0) hash ^= Tag4.GetHashCode(); + if (Tag5.Length != 0) hash ^= Tag5.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 (EpicLv != 0) { + output.WriteRawTag(24); + output.WriteInt32(EpicLv); + } + if (BloodType != 0) { + output.WriteRawTag(32); + output.WriteInt32(BloodType); + } + if (EET != 0) { + output.WriteRawTag(40); + output.WriteInt32(EET); + } + if (FCId != 0) { + output.WriteRawTag(48); + output.WriteInt32(FCId); + } + if (FAId != 0) { + output.WriteRawTag(56); + output.WriteInt32(FAId); + } + if (MovType != 0) { + output.WriteRawTag(64); + output.WriteInt32(MovType); + } + if (RunSpd != 0) { + output.WriteRawTag(72); + output.WriteInt32(RunSpd); + } + if (TransSpdScale != 0) { + output.WriteRawTag(80); + output.WriteInt32(TransSpdScale); + } + if (WalkSpd != 0) { + output.WriteRawTag(88); + output.WriteInt32(WalkSpd); + } + if (MovAcc != 0) { + output.WriteRawTag(96); + output.WriteInt32(MovAcc); + } + if (VisionRng != 0) { + output.WriteRawTag(104); + output.WriteInt32(VisionRng); + } + if (VisionDeg != 0) { + output.WriteRawTag(112); + output.WriteInt32(VisionDeg); + } + if (HearRng != 0) { + output.WriteRawTag(120); + output.WriteInt32(HearRng); + } + if (RefRng != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(RefRng); + } + if (ActRng != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ActRng); + } + if (DisActRng != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(DisActRng); + } + if (RotSpd != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(RotSpd); + } + if (Templete != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Templete); + } + if (WEP != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(WEP); + } + if (FEP != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(FEP); + } + if (SEP != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(SEP); + } + if (AEP != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(AEP); + } + if (LEP != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(LEP); + } + if (DEP != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(DEP); + } + if (WEE != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(WEE); + } + if (FEE != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(FEE); + } + if (SEE != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(SEE); + } + if (AEE != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(AEE); + } + if (LEE != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(LEE); + } + if (DEE != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(DEE); + } + if (WER != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(WER); + } + if (FER != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(FER); + } + if (SER != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(SER); + } + if (AER != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(AER); + } + if (LER != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(LER); + } + if (DER != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(DER); + } + buffIds_.WriteTo(output, _repeated_buffIds_codec); + if (Weight != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(Weight); + } + trapTagIds_.WriteTo(output, _repeated_trapTagIds_codec); + if (Faction != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(Faction); + } + if (SupCharge != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(SupCharge); + } + if (IsShowRng != false) { + output.WriteRawTag(224, 2); + output.WriteBool(IsShowRng); + } + if (TrapAttrId != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(TrapAttrId); + } + if (Tag1.Length != 0) { + output.WriteRawTag(242, 2); + output.WriteString(Tag1); + } + if (Tag2.Length != 0) { + output.WriteRawTag(250, 2); + output.WriteString(Tag2); + } + if (Tag3.Length != 0) { + output.WriteRawTag(130, 3); + output.WriteString(Tag3); + } + if (Tag4.Length != 0) { + output.WriteRawTag(138, 3); + output.WriteString(Tag4); + } + if (Tag5.Length != 0) { + output.WriteRawTag(146, 3); + output.WriteString(Tag5); + } + 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 (EpicLv != 0) { + output.WriteRawTag(24); + output.WriteInt32(EpicLv); + } + if (BloodType != 0) { + output.WriteRawTag(32); + output.WriteInt32(BloodType); + } + if (EET != 0) { + output.WriteRawTag(40); + output.WriteInt32(EET); + } + if (FCId != 0) { + output.WriteRawTag(48); + output.WriteInt32(FCId); + } + if (FAId != 0) { + output.WriteRawTag(56); + output.WriteInt32(FAId); + } + if (MovType != 0) { + output.WriteRawTag(64); + output.WriteInt32(MovType); + } + if (RunSpd != 0) { + output.WriteRawTag(72); + output.WriteInt32(RunSpd); + } + if (TransSpdScale != 0) { + output.WriteRawTag(80); + output.WriteInt32(TransSpdScale); + } + if (WalkSpd != 0) { + output.WriteRawTag(88); + output.WriteInt32(WalkSpd); + } + if (MovAcc != 0) { + output.WriteRawTag(96); + output.WriteInt32(MovAcc); + } + if (VisionRng != 0) { + output.WriteRawTag(104); + output.WriteInt32(VisionRng); + } + if (VisionDeg != 0) { + output.WriteRawTag(112); + output.WriteInt32(VisionDeg); + } + if (HearRng != 0) { + output.WriteRawTag(120); + output.WriteInt32(HearRng); + } + if (RefRng != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(RefRng); + } + if (ActRng != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ActRng); + } + if (DisActRng != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(DisActRng); + } + if (RotSpd != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(RotSpd); + } + if (Templete != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Templete); + } + if (WEP != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(WEP); + } + if (FEP != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(FEP); + } + if (SEP != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(SEP); + } + if (AEP != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(AEP); + } + if (LEP != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(LEP); + } + if (DEP != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(DEP); + } + if (WEE != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(WEE); + } + if (FEE != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(FEE); + } + if (SEE != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(SEE); + } + if (AEE != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(AEE); + } + if (LEE != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(LEE); + } + if (DEE != 0) { + output.WriteRawTag(128, 2); + output.WriteInt32(DEE); + } + if (WER != 0) { + output.WriteRawTag(136, 2); + output.WriteInt32(WER); + } + if (FER != 0) { + output.WriteRawTag(144, 2); + output.WriteInt32(FER); + } + if (SER != 0) { + output.WriteRawTag(152, 2); + output.WriteInt32(SER); + } + if (AER != 0) { + output.WriteRawTag(160, 2); + output.WriteInt32(AER); + } + if (LER != 0) { + output.WriteRawTag(168, 2); + output.WriteInt32(LER); + } + if (DER != 0) { + output.WriteRawTag(176, 2); + output.WriteInt32(DER); + } + buffIds_.WriteTo(ref output, _repeated_buffIds_codec); + if (Weight != 0) { + output.WriteRawTag(192, 2); + output.WriteInt32(Weight); + } + trapTagIds_.WriteTo(ref output, _repeated_trapTagIds_codec); + if (Faction != 0) { + output.WriteRawTag(208, 2); + output.WriteInt32(Faction); + } + if (SupCharge != 0) { + output.WriteRawTag(216, 2); + output.WriteInt32(SupCharge); + } + if (IsShowRng != false) { + output.WriteRawTag(224, 2); + output.WriteBool(IsShowRng); + } + if (TrapAttrId != 0) { + output.WriteRawTag(232, 2); + output.WriteInt32(TrapAttrId); + } + if (Tag1.Length != 0) { + output.WriteRawTag(242, 2); + output.WriteString(Tag1); + } + if (Tag2.Length != 0) { + output.WriteRawTag(250, 2); + output.WriteString(Tag2); + } + if (Tag3.Length != 0) { + output.WriteRawTag(130, 3); + output.WriteString(Tag3); + } + if (Tag4.Length != 0) { + output.WriteRawTag(138, 3); + output.WriteString(Tag4); + } + if (Tag5.Length != 0) { + output.WriteRawTag(146, 3); + output.WriteString(Tag5); + } + 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 (EpicLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EpicLv); + } + if (BloodType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BloodType); + } + if (EET != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EET); + } + if (FCId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FCId); + } + if (FAId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FAId); + } + if (MovType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovType); + } + if (RunSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunSpd); + } + if (TransSpdScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TransSpdScale); + } + if (WalkSpd != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WalkSpd); + } + if (MovAcc != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); + } + if (VisionRng != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(VisionRng); + } + if (VisionDeg != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(VisionDeg); + } + if (HearRng != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(HearRng); + } + if (RefRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RefRng); + } + if (ActRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ActRng); + } + if (DisActRng != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisActRng); + } + if (RotSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); + } + if (Templete != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Templete); + } + if (WEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEP); + } + if (FEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEP); + } + if (SEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEP); + } + if (AEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEP); + } + if (LEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEP); + } + if (DEP != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEP); + } + if (WEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WEE); + } + if (FEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FEE); + } + if (SEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SEE); + } + if (AEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AEE); + } + if (LEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LEE); + } + if (DEE != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DEE); + } + if (WER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(WER); + } + if (FER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FER); + } + if (SER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SER); + } + if (AER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(AER); + } + if (LER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(LER); + } + if (DER != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DER); + } + size += buffIds_.CalculateSize(_repeated_buffIds_codec); + if (Weight != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + size += trapTagIds_.CalculateSize(_repeated_trapTagIds_codec); + if (Faction != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Faction); + } + if (SupCharge != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SupCharge); + } + if (IsShowRng != false) { + size += 2 + 1; + } + if (TrapAttrId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TrapAttrId); + } + if (Tag1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag1); + } + if (Tag2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag2); + } + if (Tag3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag3); + } + if (Tag4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag4); + } + if (Tag5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Tag5); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RandomLevelMonster other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.EpicLv != 0) { + EpicLv = other.EpicLv; + } + if (other.BloodType != 0) { + BloodType = other.BloodType; + } + if (other.EET != 0) { + EET = other.EET; + } + if (other.FCId != 0) { + FCId = other.FCId; + } + if (other.FAId != 0) { + FAId = other.FAId; + } + if (other.MovType != 0) { + MovType = other.MovType; + } + if (other.RunSpd != 0) { + RunSpd = other.RunSpd; + } + if (other.TransSpdScale != 0) { + TransSpdScale = other.TransSpdScale; + } + if (other.WalkSpd != 0) { + WalkSpd = other.WalkSpd; + } + if (other.MovAcc != 0) { + MovAcc = other.MovAcc; + } + if (other.VisionRng != 0) { + VisionRng = other.VisionRng; + } + if (other.VisionDeg != 0) { + VisionDeg = other.VisionDeg; + } + if (other.HearRng != 0) { + HearRng = other.HearRng; + } + if (other.RefRng != 0) { + RefRng = other.RefRng; + } + if (other.ActRng != 0) { + ActRng = other.ActRng; + } + if (other.DisActRng != 0) { + DisActRng = other.DisActRng; + } + if (other.RotSpd != 0) { + RotSpd = other.RotSpd; + } + if (other.Templete != 0) { + Templete = other.Templete; + } + if (other.WEP != 0) { + WEP = other.WEP; + } + if (other.FEP != 0) { + FEP = other.FEP; + } + if (other.SEP != 0) { + SEP = other.SEP; + } + if (other.AEP != 0) { + AEP = other.AEP; + } + if (other.LEP != 0) { + LEP = other.LEP; + } + if (other.DEP != 0) { + DEP = other.DEP; + } + if (other.WEE != 0) { + WEE = other.WEE; + } + if (other.FEE != 0) { + FEE = other.FEE; + } + if (other.SEE != 0) { + SEE = other.SEE; + } + if (other.AEE != 0) { + AEE = other.AEE; + } + if (other.LEE != 0) { + LEE = other.LEE; + } + if (other.DEE != 0) { + DEE = other.DEE; + } + if (other.WER != 0) { + WER = other.WER; + } + if (other.FER != 0) { + FER = other.FER; + } + if (other.SER != 0) { + SER = other.SER; + } + if (other.AER != 0) { + AER = other.AER; + } + if (other.LER != 0) { + LER = other.LER; + } + if (other.DER != 0) { + DER = other.DER; + } + buffIds_.Add(other.buffIds_); + if (other.Weight != 0) { + Weight = other.Weight; + } + trapTagIds_.Add(other.trapTagIds_); + if (other.Faction != 0) { + Faction = other.Faction; + } + if (other.SupCharge != 0) { + SupCharge = other.SupCharge; + } + if (other.IsShowRng != false) { + IsShowRng = other.IsShowRng; + } + if (other.TrapAttrId != 0) { + TrapAttrId = other.TrapAttrId; + } + if (other.Tag1.Length != 0) { + Tag1 = other.Tag1; + } + if (other.Tag2.Length != 0) { + Tag2 = other.Tag2; + } + if (other.Tag3.Length != 0) { + Tag3 = other.Tag3; + } + if (other.Tag4.Length != 0) { + Tag4 = other.Tag4; + } + if (other.Tag5.Length != 0) { + Tag5 = other.Tag5; + } + _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: { + EpicLv = input.ReadInt32(); + break; + } + case 32: { + BloodType = input.ReadInt32(); + break; + } + case 40: { + EET = input.ReadInt32(); + break; + } + case 48: { + FCId = input.ReadInt32(); + break; + } + case 56: { + FAId = input.ReadInt32(); + break; + } + case 64: { + MovType = input.ReadInt32(); + break; + } + case 72: { + RunSpd = input.ReadInt32(); + break; + } + case 80: { + TransSpdScale = input.ReadInt32(); + break; + } + case 88: { + WalkSpd = input.ReadInt32(); + break; + } + case 96: { + MovAcc = input.ReadInt32(); + break; + } + case 104: { + VisionRng = input.ReadInt32(); + break; + } + case 112: { + VisionDeg = input.ReadInt32(); + break; + } + case 120: { + HearRng = input.ReadInt32(); + break; + } + case 128: { + RefRng = input.ReadInt32(); + break; + } + case 136: { + ActRng = input.ReadInt32(); + break; + } + case 144: { + DisActRng = input.ReadInt32(); + break; + } + case 152: { + RotSpd = input.ReadInt32(); + break; + } + case 160: { + Templete = input.ReadInt32(); + break; + } + case 168: { + WEP = input.ReadInt32(); + break; + } + case 176: { + FEP = input.ReadInt32(); + break; + } + case 184: { + SEP = input.ReadInt32(); + break; + } + case 192: { + AEP = input.ReadInt32(); + break; + } + case 200: { + LEP = input.ReadInt32(); + break; + } + case 208: { + DEP = input.ReadInt32(); + break; + } + case 216: { + WEE = input.ReadInt32(); + break; + } + case 224: { + FEE = input.ReadInt32(); + break; + } + case 232: { + SEE = input.ReadInt32(); + break; + } + case 240: { + AEE = input.ReadInt32(); + break; + } + case 248: { + LEE = input.ReadInt32(); + break; + } + case 256: { + DEE = input.ReadInt32(); + break; + } + case 264: { + WER = input.ReadInt32(); + break; + } + case 272: { + FER = input.ReadInt32(); + break; + } + case 280: { + SER = input.ReadInt32(); + break; + } + case 288: { + AER = input.ReadInt32(); + break; + } + case 296: { + LER = input.ReadInt32(); + break; + } + case 304: { + DER = input.ReadInt32(); + break; + } + case 314: + case 312: { + buffIds_.AddEntriesFrom(input, _repeated_buffIds_codec); + break; + } + case 320: { + Weight = input.ReadInt32(); + break; + } + case 330: + case 328: { + trapTagIds_.AddEntriesFrom(input, _repeated_trapTagIds_codec); + break; + } + case 336: { + Faction = input.ReadInt32(); + break; + } + case 344: { + SupCharge = input.ReadInt32(); + break; + } + case 352: { + IsShowRng = input.ReadBool(); + break; + } + case 360: { + TrapAttrId = input.ReadInt32(); + break; + } + case 370: { + Tag1 = input.ReadString(); + break; + } + case 378: { + Tag2 = input.ReadString(); + break; + } + case 386: { + Tag3 = input.ReadString(); + break; + } + case 394: { + Tag4 = input.ReadString(); + break; + } + case 402: { + Tag5 = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + EpicLv = input.ReadInt32(); + break; + } + case 32: { + BloodType = input.ReadInt32(); + break; + } + case 40: { + EET = input.ReadInt32(); + break; + } + case 48: { + FCId = input.ReadInt32(); + break; + } + case 56: { + FAId = input.ReadInt32(); + break; + } + case 64: { + MovType = input.ReadInt32(); + break; + } + case 72: { + RunSpd = input.ReadInt32(); + break; + } + case 80: { + TransSpdScale = input.ReadInt32(); + break; + } + case 88: { + WalkSpd = input.ReadInt32(); + break; + } + case 96: { + MovAcc = input.ReadInt32(); + break; + } + case 104: { + VisionRng = input.ReadInt32(); + break; + } + case 112: { + VisionDeg = input.ReadInt32(); + break; + } + case 120: { + HearRng = input.ReadInt32(); + break; + } + case 128: { + RefRng = input.ReadInt32(); + break; + } + case 136: { + ActRng = input.ReadInt32(); + break; + } + case 144: { + DisActRng = input.ReadInt32(); + break; + } + case 152: { + RotSpd = input.ReadInt32(); + break; + } + case 160: { + Templete = input.ReadInt32(); + break; + } + case 168: { + WEP = input.ReadInt32(); + break; + } + case 176: { + FEP = input.ReadInt32(); + break; + } + case 184: { + SEP = input.ReadInt32(); + break; + } + case 192: { + AEP = input.ReadInt32(); + break; + } + case 200: { + LEP = input.ReadInt32(); + break; + } + case 208: { + DEP = input.ReadInt32(); + break; + } + case 216: { + WEE = input.ReadInt32(); + break; + } + case 224: { + FEE = input.ReadInt32(); + break; + } + case 232: { + SEE = input.ReadInt32(); + break; + } + case 240: { + AEE = input.ReadInt32(); + break; + } + case 248: { + LEE = input.ReadInt32(); + break; + } + case 256: { + DEE = input.ReadInt32(); + break; + } + case 264: { + WER = input.ReadInt32(); + break; + } + case 272: { + FER = input.ReadInt32(); + break; + } + case 280: { + SER = input.ReadInt32(); + break; + } + case 288: { + AER = input.ReadInt32(); + break; + } + case 296: { + LER = input.ReadInt32(); + break; + } + case 304: { + DER = input.ReadInt32(); + break; + } + case 314: + case 312: { + buffIds_.AddEntriesFrom(ref input, _repeated_buffIds_codec); + break; + } + case 320: { + Weight = input.ReadInt32(); + break; + } + case 330: + case 328: { + trapTagIds_.AddEntriesFrom(ref input, _repeated_trapTagIds_codec); + break; + } + case 336: { + Faction = input.ReadInt32(); + break; + } + case 344: { + SupCharge = input.ReadInt32(); + break; + } + case 352: { + IsShowRng = input.ReadBool(); + break; + } + case 360: { + TrapAttrId = input.ReadInt32(); + break; + } + case 370: { + Tag1 = input.ReadString(); + break; + } + case 378: { + Tag2 = input.ReadString(); + break; + } + case 386: { + Tag3 = input.ReadString(); + break; + } + case 394: { + Tag4 = input.ReadString(); + break; + } + case 402: { + Tag5 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_RandomLevelMonster : pb::IMessage<table_RandomLevelMonster> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_RandomLevelMonster> _parser = new pb::MessageParser<table_RandomLevelMonster>(() => new table_RandomLevelMonster()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_RandomLevelMonster> 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.ClientTableReflection.Descriptor.MessageTypes[331]; } + } + + [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 table_RandomLevelMonster() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RandomLevelMonster(table_RandomLevelMonster other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RandomLevelMonster Clone() { + return new table_RandomLevelMonster(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.RandomLevelMonster> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.RandomLevelMonster.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.RandomLevelMonster> list_ = new pbc::RepeatedField<global::Nova.Client.RandomLevelMonster>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.RandomLevelMonster> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_RandomLevelMonster); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_RandomLevelMonster other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_RandomLevelMonster other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Rank : pb::IMessage<Rank> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Rank> _parser = new pb::MessageParser<Rank>(() => new Rank()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Rank> 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.ClientTableReflection.Descriptor.MessageTypes[332]; } + } + + [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 Rank() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Rank(Rank other) : this() { + rank_ = other.rank_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Rank Clone() { + return new Rank(this); + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int Rank_FieldNumber = 1; + private int rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rank_ { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Rank); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Rank other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Rank_ != other.Rank_) return false; + if (Exp != other.Exp) 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 (Rank_ != 0) hash ^= Rank_.GetHashCode(); + if (Exp != 0) hash ^= Exp.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 (Rank_ != 0) { + output.WriteRawTag(8); + output.WriteInt32(Rank_); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + 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 (Rank_ != 0) { + output.WriteRawTag(8); + output.WriteInt32(Rank_); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + 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 (Rank_ != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rank_); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Rank other) { + if (other == null) { + return; + } + if (other.Rank_ != 0) { + Rank_ = other.Rank_; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + Rank_ = input.ReadInt32(); + break; + } + case 16: { + Exp = 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: { + Rank_ = input.ReadInt32(); + break; + } + case 16: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Rank : pb::IMessage<table_Rank> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Rank> _parser = new pb::MessageParser<table_Rank>(() => new table_Rank()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Rank> 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.ClientTableReflection.Descriptor.MessageTypes[333]; } + } + + [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 table_Rank() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Rank(table_Rank other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Rank Clone() { + return new table_Rank(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Rank> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Rank.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Rank> list_ = new pbc::RepeatedField<global::Nova.Client.Rank>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Rank> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Rank); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Rank other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Rank other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBoss : pb::IMessage<RegionBoss> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBoss> _parser = new pb::MessageParser<RegionBoss>(() => new RegionBoss()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBoss> 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.ClientTableReflection.Descriptor.MessageTypes[334]; } + } + + [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 RegionBoss() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBoss(RegionBoss other) : this() { + id_ = other.id_; + monsterId_ = other.monsterId_; + regionType_ = other.regionType_; + name_ = other.name_; + icon_ = other.icon_; + unlockCondition_ = other.unlockCondition_; + needRoguelike_ = other.needRoguelike_; + sort_ = other.sort_; + openDay_ = other.openDay_.Clone(); + openDayDesc_ = other.openDayDesc_; + eET_ = other.eET_.Clone(); + episode_ = other.episode_; + image_ = other.image_; + dropItem_ = other.dropItem_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBoss Clone() { + return new RegionBoss(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 "MonsterId" field.</summary> + public const int MonsterIdFieldNumber = 2; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "RegionType" field.</summary> + public const int RegionTypeFieldNumber = 3; + private int regionType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RegionType { + get { return regionType_; } + set { + regionType_ = 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 "Icon" field.</summary> + public const int IconFieldNumber = 5; + 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 "UnlockCondition" field.</summary> + public const int UnlockConditionFieldNumber = 6; + private string unlockCondition_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockCondition { + get { return unlockCondition_; } + set { + unlockCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NeedRoguelike" field.</summary> + public const int NeedRoguelikeFieldNumber = 7; + private int needRoguelike_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedRoguelike { + get { return needRoguelike_; } + set { + needRoguelike_ = value; + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 8; + 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 "OpenDay" field.</summary> + public const int OpenDayFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_openDay_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> openDay_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> OpenDay { + get { return openDay_; } + } + + /// <summary>Field number for the "OpenDayDesc" field.</summary> + public const int OpenDayDescFieldNumber = 10; + private string openDayDesc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenDayDesc { + get { return openDayDesc_; } + set { + openDayDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 12; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Image" field.</summary> + public const int ImageFieldNumber = 13; + 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 "DropItem" field.</summary> + public const int DropItemFieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_dropItem_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> dropItem_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DropItem { + get { return dropItem_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RegionBoss); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBoss other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MonsterId != other.MonsterId) return false; + if (RegionType != other.RegionType) return false; + if (Name != other.Name) return false; + if (Icon != other.Icon) return false; + if (UnlockCondition != other.UnlockCondition) return false; + if (NeedRoguelike != other.NeedRoguelike) return false; + if (Sort != other.Sort) return false; + if(!openDay_.Equals(other.openDay_)) return false; + if (OpenDayDesc != other.OpenDayDesc) return false; + if(!eET_.Equals(other.eET_)) return false; + if (Episode != other.Episode) return false; + if (Image != other.Image) return false; + if(!dropItem_.Equals(other.dropItem_)) 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 (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (RegionType != 0) hash ^= RegionType.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (UnlockCondition.Length != 0) hash ^= UnlockCondition.GetHashCode(); + if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + hash ^= openDay_.GetHashCode(); + if (OpenDayDesc.Length != 0) hash ^= OpenDayDesc.GetHashCode(); + hash ^= eET_.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Image.Length != 0) hash ^= Image.GetHashCode(); + hash ^= dropItem_.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 (MonsterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterId); + } + if (RegionType != 0) { + output.WriteRawTag(24); + output.WriteInt32(RegionType); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon); + } + if (UnlockCondition.Length != 0) { + output.WriteRawTag(50); + output.WriteString(UnlockCondition); + } + if (NeedRoguelike != 0) { + output.WriteRawTag(56); + output.WriteInt32(NeedRoguelike); + } + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + openDay_.WriteTo(output, _repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + output.WriteRawTag(82); + output.WriteString(OpenDayDesc); + } + eET_.WriteTo(output, _repeated_eET_codec); + if (Episode.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Image); + } + dropItem_.WriteTo(output, _repeated_dropItem_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 (MonsterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterId); + } + if (RegionType != 0) { + output.WriteRawTag(24); + output.WriteInt32(RegionType); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Icon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon); + } + if (UnlockCondition.Length != 0) { + output.WriteRawTag(50); + output.WriteString(UnlockCondition); + } + if (NeedRoguelike != 0) { + output.WriteRawTag(56); + output.WriteInt32(NeedRoguelike); + } + if (Sort != 0) { + output.WriteRawTag(64); + output.WriteInt32(Sort); + } + openDay_.WriteTo(ref output, _repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + output.WriteRawTag(82); + output.WriteString(OpenDayDesc); + } + eET_.WriteTo(ref output, _repeated_eET_codec); + if (Episode.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Image); + } + dropItem_.WriteTo(ref output, _repeated_dropItem_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 (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (RegionType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionType); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (UnlockCondition.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockCondition); + } + if (NeedRoguelike != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + size += openDay_.CalculateSize(_repeated_openDay_codec); + if (OpenDayDesc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenDayDesc); + } + size += eET_.CalculateSize(_repeated_eET_codec); + if (Episode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Image.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); + } + size += dropItem_.CalculateSize(_repeated_dropItem_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBoss other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.RegionType != 0) { + RegionType = other.RegionType; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.UnlockCondition.Length != 0) { + UnlockCondition = other.UnlockCondition; + } + if (other.NeedRoguelike != 0) { + NeedRoguelike = other.NeedRoguelike; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + openDay_.Add(other.openDay_); + if (other.OpenDayDesc.Length != 0) { + OpenDayDesc = other.OpenDayDesc; + } + eET_.Add(other.eET_); + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Image.Length != 0) { + Image = other.Image; + } + dropItem_.Add(other.dropItem_); + _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: { + MonsterId = input.ReadInt32(); + break; + } + case 24: { + RegionType = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Icon = input.ReadString(); + break; + } + case 50: { + UnlockCondition = input.ReadString(); + break; + } + case 56: { + NeedRoguelike = input.ReadInt32(); + break; + } + case 64: { + Sort = input.ReadInt32(); + break; + } + case 74: + case 72: { + openDay_.AddEntriesFrom(input, _repeated_openDay_codec); + break; + } + case 82: { + OpenDayDesc = input.ReadString(); + break; + } + case 90: + case 88: { + eET_.AddEntriesFrom(input, _repeated_eET_codec); + break; + } + case 98: { + Episode = input.ReadString(); + break; + } + case 106: { + Image = input.ReadString(); + break; + } + case 114: + case 112: { + dropItem_.AddEntriesFrom(input, _repeated_dropItem_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: { + MonsterId = input.ReadInt32(); + break; + } + case 24: { + RegionType = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Icon = input.ReadString(); + break; + } + case 50: { + UnlockCondition = input.ReadString(); + break; + } + case 56: { + NeedRoguelike = input.ReadInt32(); + break; + } + case 64: { + Sort = input.ReadInt32(); + break; + } + case 74: + case 72: { + openDay_.AddEntriesFrom(ref input, _repeated_openDay_codec); + break; + } + case 82: { + OpenDayDesc = input.ReadString(); + break; + } + case 90: + case 88: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + case 98: { + Episode = input.ReadString(); + break; + } + case 106: { + Image = input.ReadString(); + break; + } + case 114: + case 112: { + dropItem_.AddEntriesFrom(ref input, _repeated_dropItem_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_RegionBoss : pb::IMessage<table_RegionBoss> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_RegionBoss> _parser = new pb::MessageParser<table_RegionBoss>(() => new table_RegionBoss()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_RegionBoss> 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.ClientTableReflection.Descriptor.MessageTypes[335]; } + } + + [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 table_RegionBoss() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBoss(table_RegionBoss other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBoss Clone() { + return new table_RegionBoss(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.RegionBoss> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBoss.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.RegionBoss> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBoss>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.RegionBoss> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_RegionBoss); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_RegionBoss other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_RegionBoss other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [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.ClientTableReflection.Descriptor.MessageTypes[336]; } + } + + [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 "GroupId" 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 "AddCamp" 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 "AddClass" 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 "SkillId" 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 + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_RegionBossAffix : pb::IMessage<table_RegionBossAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_RegionBossAffix> _parser = new pb::MessageParser<table_RegionBossAffix>(() => new table_RegionBossAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_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.ClientTableReflection.Descriptor.MessageTypes[337]; } + } + + [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 table_RegionBossAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBossAffix(table_RegionBossAffix other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBossAffix Clone() { + return new table_RegionBossAffix(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.RegionBossAffix> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBossAffix.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.RegionBossAffix> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBossAffix>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.RegionBossAffix> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_RegionBossAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_RegionBossAffix other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_RegionBossAffix other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossFloor : pb::IMessage<RegionBossFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossFloor> _parser = new pb::MessageParser<RegionBossFloor>(() => new RegionBossFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossFloor> 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.ClientTableReflection.Descriptor.MessageTypes[338]; } + } + + [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 RegionBossFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossFloor(RegionBossFloor other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + monsterLv_ = other.monsterLv_; + dungeonDelay_ = other.dungeonDelay_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossFloor Clone() { + return new RegionBossFloor(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 7; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + /// <summary>Field number for the "DungeonDelay" field.</summary> + public const int DungeonDelayFieldNumber = 8; + private int dungeonDelay_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DungeonDelay { + get { return dungeonDelay_; } + set { + dungeonDelay_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RegionBossFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; + if (MonsterLv != other.MonsterLv) return false; + if (DungeonDelay != other.DungeonDelay) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); + if (DungeonDelay != 0) hash ^= DungeonDelay.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + if (DungeonDelay != 0) { + output.WriteRawTag(64); + output.WriteInt32(DungeonDelay); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + if (DungeonDelay != 0) { + output.WriteRawTag(64); + output.WriteInt32(DungeonDelay); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (DungeonDelay != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DungeonDelay); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + if (other.DungeonDelay != 0) { + DungeonDelay = other.DungeonDelay; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + case 64: { + DungeonDelay = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + case 64: { + DungeonDelay = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_RegionBossFloor : pb::IMessage<table_RegionBossFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_RegionBossFloor> _parser = new pb::MessageParser<table_RegionBossFloor>(() => new table_RegionBossFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_RegionBossFloor> 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.ClientTableReflection.Descriptor.MessageTypes[339]; } + } + + [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 table_RegionBossFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBossFloor(table_RegionBossFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBossFloor Clone() { + return new table_RegionBossFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.RegionBossFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBossFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.RegionBossFloor> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBossFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.RegionBossFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_RegionBossFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_RegionBossFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_RegionBossFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RegionBossLevel : pb::IMessage<RegionBossLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<RegionBossLevel> _parser = new pb::MessageParser<RegionBossLevel>(() => new RegionBossLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<RegionBossLevel> 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.ClientTableReflection.Descriptor.MessageTypes[340]; } + } + + [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 RegionBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevel(RegionBossLevel other) : this() { + id_ = other.id_; + regionBossId_ = other.regionBossId_; + difficulty_ = other.difficulty_; + regionType_ = other.regionType_; + name_ = other.name_; + desc_ = other.desc_; + icon_ = other.icon_; + suggestedPower_ = other.suggestedPower_; + preLevelId_ = other.preLevelId_; + bossShowTime_ = other.bossShowTime_; + preLevelStar_ = other.preLevelStar_; + needWorldClass_ = other.needWorldClass_; + needRoguelike_ = other.needRoguelike_; + floorId_ = other.floorId_; + oneStarCondition_ = other.oneStarCondition_; + twoStarCondition_ = other.twoStarCondition_; + threeStarCondition_ = other.threeStarCondition_; + dropId_ = other.dropId_; + energyConsume_ = other.energyConsume_; + baseAwardPreview_ = other.baseAwardPreview_; + entryGroupId1_ = other.entryGroupId1_; + entryGroupLevel1_ = other.entryGroupLevel1_; + entryGroupId2_ = other.entryGroupId2_; + entryGroupLevel2_ = other.entryGroupLevel2_; + entryGroupId3_ = other.entryGroupId3_; + entryGroupLevel3_ = other.entryGroupLevel3_; + entryGroupId4_ = other.entryGroupId4_; + entryGroupLevel4_ = other.entryGroupLevel4_; + entryGroupId5_ = other.entryGroupId5_; + entryGroupLevel5_ = other.entryGroupLevel5_; + extraDropPreview_ = other.extraDropPreview_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RegionBossLevel Clone() { + return new RegionBossLevel(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 "RegionBossId" field.</summary> + public const int RegionBossIdFieldNumber = 2; + private int regionBossId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RegionBossId { + get { return regionBossId_; } + set { + regionBossId_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + 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; + } + } + + /// <summary>Field number for the "RegionType" field.</summary> + public const int RegionTypeFieldNumber = 4; + private int regionType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RegionType { + get { return regionType_; } + set { + regionType_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 5; + 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 = 6; + 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 = 7; + 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 "SuggestedPower" field.</summary> + public const int SuggestedPowerFieldNumber = 8; + private int suggestedPower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SuggestedPower { + get { return suggestedPower_; } + set { + suggestedPower_ = value; + } + } + + /// <summary>Field number for the "PreLevelId" field.</summary> + public const int PreLevelIdFieldNumber = 9; + private int preLevelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreLevelId { + get { return preLevelId_; } + set { + preLevelId_ = value; + } + } + + /// <summary>Field number for the "BossShowTime" field.</summary> + public const int BossShowTimeFieldNumber = 10; + private int bossShowTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BossShowTime { + get { return bossShowTime_; } + set { + bossShowTime_ = value; + } + } + + /// <summary>Field number for the "PreLevelStar" field.</summary> + public const int PreLevelStarFieldNumber = 11; + private int preLevelStar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreLevelStar { + get { return preLevelStar_; } + set { + preLevelStar_ = value; + } + } + + /// <summary>Field number for the "NeedWorldClass" field.</summary> + public const int NeedWorldClassFieldNumber = 12; + private int needWorldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedWorldClass { + get { return needWorldClass_; } + set { + needWorldClass_ = value; + } + } + + /// <summary>Field number for the "NeedRoguelike" field.</summary> + public const int NeedRoguelikeFieldNumber = 13; + private int needRoguelike_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedRoguelike { + get { return needRoguelike_; } + set { + needRoguelike_ = value; + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + public const int FloorIdFieldNumber = 14; + private int floorId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FloorId { + get { return floorId_; } + set { + floorId_ = value; + } + } + + /// <summary>Field number for the "OneStarCondition" field.</summary> + public const int OneStarConditionFieldNumber = 15; + private string oneStarCondition_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OneStarCondition { + get { return oneStarCondition_; } + set { + oneStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TwoStarCondition" field.</summary> + public const int TwoStarConditionFieldNumber = 16; + private string twoStarCondition_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TwoStarCondition { + get { return twoStarCondition_; } + set { + twoStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ThreeStarCondition" field.</summary> + public const int ThreeStarConditionFieldNumber = 17; + private string threeStarCondition_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ThreeStarCondition { + get { return threeStarCondition_; } + set { + threeStarCondition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DropId" field.</summary> + public const int DropIdFieldNumber = 18; + private int dropId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropId { + get { return dropId_; } + set { + dropId_ = value; + } + } + + /// <summary>Field number for the "EnergyConsume" field.</summary> + public const int EnergyConsumeFieldNumber = 19; + private int energyConsume_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnergyConsume { + get { return energyConsume_; } + set { + energyConsume_ = value; + } + } + + /// <summary>Field number for the "BaseAwardPreview" field.</summary> + public const int BaseAwardPreviewFieldNumber = 20; + private string baseAwardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BaseAwardPreview { + get { return baseAwardPreview_; } + set { + baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EntryGroupId1" field.</summary> + public const int EntryGroupId1FieldNumber = 21; + private int entryGroupId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupId1 { + get { return entryGroupId1_; } + set { + entryGroupId1_ = value; + } + } + + /// <summary>Field number for the "EntryGroupLevel1" field.</summary> + public const int EntryGroupLevel1FieldNumber = 22; + private int entryGroupLevel1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupLevel1 { + get { return entryGroupLevel1_; } + set { + entryGroupLevel1_ = value; + } + } + + /// <summary>Field number for the "EntryGroupId2" field.</summary> + public const int EntryGroupId2FieldNumber = 23; + private int entryGroupId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupId2 { + get { return entryGroupId2_; } + set { + entryGroupId2_ = value; + } + } + + /// <summary>Field number for the "EntryGroupLevel2" field.</summary> + public const int EntryGroupLevel2FieldNumber = 24; + private int entryGroupLevel2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupLevel2 { + get { return entryGroupLevel2_; } + set { + entryGroupLevel2_ = value; + } + } + + /// <summary>Field number for the "EntryGroupId3" field.</summary> + public const int EntryGroupId3FieldNumber = 25; + private int entryGroupId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupId3 { + get { return entryGroupId3_; } + set { + entryGroupId3_ = value; + } + } + + /// <summary>Field number for the "EntryGroupLevel3" field.</summary> + public const int EntryGroupLevel3FieldNumber = 26; + private int entryGroupLevel3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupLevel3 { + get { return entryGroupLevel3_; } + set { + entryGroupLevel3_ = value; + } + } + + /// <summary>Field number for the "EntryGroupId4" field.</summary> + public const int EntryGroupId4FieldNumber = 27; + private int entryGroupId4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupId4 { + get { return entryGroupId4_; } + set { + entryGroupId4_ = value; + } + } + + /// <summary>Field number for the "EntryGroupLevel4" field.</summary> + public const int EntryGroupLevel4FieldNumber = 28; + private int entryGroupLevel4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupLevel4 { + get { return entryGroupLevel4_; } + set { + entryGroupLevel4_ = value; + } + } + + /// <summary>Field number for the "EntryGroupId5" field.</summary> + public const int EntryGroupId5FieldNumber = 29; + private int entryGroupId5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupId5 { + get { return entryGroupId5_; } + set { + entryGroupId5_ = value; + } + } + + /// <summary>Field number for the "EntryGroupLevel5" field.</summary> + public const int EntryGroupLevel5FieldNumber = 30; + private int entryGroupLevel5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryGroupLevel5 { + get { return entryGroupLevel5_; } + set { + entryGroupLevel5_ = value; + } + } + + /// <summary>Field number for the "ExtraDropPreview" field.</summary> + public const int ExtraDropPreviewFieldNumber = 31; + private static readonly pb::FieldCodec<int> _repeated_extraDropPreview_codec + = pb::FieldCodec.ForInt32(250); + private readonly pbc::RepeatedField<int> extraDropPreview_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ExtraDropPreview { + get { return extraDropPreview_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RegionBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RegionBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RegionBossId != other.RegionBossId) return false; + if (Difficulty != other.Difficulty) return false; + if (RegionType != other.RegionType) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (SuggestedPower != other.SuggestedPower) return false; + if (PreLevelId != other.PreLevelId) return false; + if (BossShowTime != other.BossShowTime) return false; + if (PreLevelStar != other.PreLevelStar) return false; + if (NeedWorldClass != other.NeedWorldClass) return false; + if (NeedRoguelike != other.NeedRoguelike) return false; + if (FloorId != other.FloorId) return false; + if (OneStarCondition != other.OneStarCondition) return false; + if (TwoStarCondition != other.TwoStarCondition) return false; + if (ThreeStarCondition != other.ThreeStarCondition) return false; + if (DropId != other.DropId) return false; + if (EnergyConsume != other.EnergyConsume) return false; + if (BaseAwardPreview != other.BaseAwardPreview) return false; + if (EntryGroupId1 != other.EntryGroupId1) return false; + if (EntryGroupLevel1 != other.EntryGroupLevel1) return false; + if (EntryGroupId2 != other.EntryGroupId2) return false; + if (EntryGroupLevel2 != other.EntryGroupLevel2) return false; + if (EntryGroupId3 != other.EntryGroupId3) return false; + if (EntryGroupLevel3 != other.EntryGroupLevel3) return false; + if (EntryGroupId4 != other.EntryGroupId4) return false; + if (EntryGroupLevel4 != other.EntryGroupLevel4) return false; + if (EntryGroupId5 != other.EntryGroupId5) return false; + if (EntryGroupLevel5 != other.EntryGroupLevel5) return false; + if(!extraDropPreview_.Equals(other.extraDropPreview_)) 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 (RegionBossId != 0) hash ^= RegionBossId.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (RegionType != 0) hash ^= RegionType.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (SuggestedPower != 0) hash ^= SuggestedPower.GetHashCode(); + if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); + if (BossShowTime != 0) hash ^= BossShowTime.GetHashCode(); + if (PreLevelStar != 0) hash ^= PreLevelStar.GetHashCode(); + if (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); + if (NeedRoguelike != 0) hash ^= NeedRoguelike.GetHashCode(); + if (FloorId != 0) hash ^= FloorId.GetHashCode(); + if (OneStarCondition.Length != 0) hash ^= OneStarCondition.GetHashCode(); + if (TwoStarCondition.Length != 0) hash ^= TwoStarCondition.GetHashCode(); + if (ThreeStarCondition.Length != 0) hash ^= ThreeStarCondition.GetHashCode(); + if (DropId != 0) hash ^= DropId.GetHashCode(); + if (EnergyConsume != 0) hash ^= EnergyConsume.GetHashCode(); + if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode(); + if (EntryGroupId1 != 0) hash ^= EntryGroupId1.GetHashCode(); + if (EntryGroupLevel1 != 0) hash ^= EntryGroupLevel1.GetHashCode(); + if (EntryGroupId2 != 0) hash ^= EntryGroupId2.GetHashCode(); + if (EntryGroupLevel2 != 0) hash ^= EntryGroupLevel2.GetHashCode(); + if (EntryGroupId3 != 0) hash ^= EntryGroupId3.GetHashCode(); + if (EntryGroupLevel3 != 0) hash ^= EntryGroupLevel3.GetHashCode(); + if (EntryGroupId4 != 0) hash ^= EntryGroupId4.GetHashCode(); + if (EntryGroupLevel4 != 0) hash ^= EntryGroupLevel4.GetHashCode(); + if (EntryGroupId5 != 0) hash ^= EntryGroupId5.GetHashCode(); + if (EntryGroupLevel5 != 0) hash ^= EntryGroupLevel5.GetHashCode(); + hash ^= extraDropPreview_.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 (RegionBossId != 0) { + output.WriteRawTag(16); + output.WriteInt32(RegionBossId); + } + if (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (RegionType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RegionType); + } + if (Name.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Icon); + } + if (SuggestedPower != 0) { + output.WriteRawTag(64); + output.WriteInt32(SuggestedPower); + } + if (PreLevelId != 0) { + output.WriteRawTag(72); + output.WriteInt32(PreLevelId); + } + if (BossShowTime != 0) { + output.WriteRawTag(80); + output.WriteInt32(BossShowTime); + } + if (PreLevelStar != 0) { + output.WriteRawTag(88); + output.WriteInt32(PreLevelStar); + } + if (NeedWorldClass != 0) { + output.WriteRawTag(96); + output.WriteInt32(NeedWorldClass); + } + if (NeedRoguelike != 0) { + output.WriteRawTag(104); + output.WriteInt32(NeedRoguelike); + } + if (FloorId != 0) { + output.WriteRawTag(112); + output.WriteInt32(FloorId); + } + if (OneStarCondition.Length != 0) { + output.WriteRawTag(122); + output.WriteString(OneStarCondition); + } + if (TwoStarCondition.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(TwoStarCondition); + } + if (ThreeStarCondition.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(ThreeStarCondition); + } + if (DropId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(DropId); + } + if (EnergyConsume != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(EnergyConsume); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(BaseAwardPreview); + } + if (EntryGroupId1 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(EntryGroupId1); + } + if (EntryGroupLevel1 != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(EntryGroupLevel1); + } + if (EntryGroupId2 != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(EntryGroupId2); + } + if (EntryGroupLevel2 != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(EntryGroupLevel2); + } + if (EntryGroupId3 != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(EntryGroupId3); + } + if (EntryGroupLevel3 != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(EntryGroupLevel3); + } + if (EntryGroupId4 != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(EntryGroupId4); + } + if (EntryGroupLevel4 != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(EntryGroupLevel4); + } + if (EntryGroupId5 != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(EntryGroupId5); + } + if (EntryGroupLevel5 != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(EntryGroupLevel5); + } + extraDropPreview_.WriteTo(output, _repeated_extraDropPreview_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 (RegionBossId != 0) { + output.WriteRawTag(16); + output.WriteInt32(RegionBossId); + } + if (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (RegionType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RegionType); + } + if (Name.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Icon); + } + if (SuggestedPower != 0) { + output.WriteRawTag(64); + output.WriteInt32(SuggestedPower); + } + if (PreLevelId != 0) { + output.WriteRawTag(72); + output.WriteInt32(PreLevelId); + } + if (BossShowTime != 0) { + output.WriteRawTag(80); + output.WriteInt32(BossShowTime); + } + if (PreLevelStar != 0) { + output.WriteRawTag(88); + output.WriteInt32(PreLevelStar); + } + if (NeedWorldClass != 0) { + output.WriteRawTag(96); + output.WriteInt32(NeedWorldClass); + } + if (NeedRoguelike != 0) { + output.WriteRawTag(104); + output.WriteInt32(NeedRoguelike); + } + if (FloorId != 0) { + output.WriteRawTag(112); + output.WriteInt32(FloorId); + } + if (OneStarCondition.Length != 0) { + output.WriteRawTag(122); + output.WriteString(OneStarCondition); + } + if (TwoStarCondition.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(TwoStarCondition); + } + if (ThreeStarCondition.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(ThreeStarCondition); + } + if (DropId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(DropId); + } + if (EnergyConsume != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(EnergyConsume); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(BaseAwardPreview); + } + if (EntryGroupId1 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(EntryGroupId1); + } + if (EntryGroupLevel1 != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(EntryGroupLevel1); + } + if (EntryGroupId2 != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(EntryGroupId2); + } + if (EntryGroupLevel2 != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(EntryGroupLevel2); + } + if (EntryGroupId3 != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(EntryGroupId3); + } + if (EntryGroupLevel3 != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(EntryGroupLevel3); + } + if (EntryGroupId4 != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(EntryGroupId4); + } + if (EntryGroupLevel4 != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(EntryGroupLevel4); + } + if (EntryGroupId5 != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(EntryGroupId5); + } + if (EntryGroupLevel5 != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(EntryGroupLevel5); + } + extraDropPreview_.WriteTo(ref output, _repeated_extraDropPreview_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 (RegionBossId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionBossId); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + } + if (RegionType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RegionType); + } + 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 (SuggestedPower != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuggestedPower); + } + if (PreLevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); + } + if (BossShowTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossShowTime); + } + if (PreLevelStar != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelStar); + } + if (NeedWorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); + } + if (NeedRoguelike != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedRoguelike); + } + if (FloorId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); + } + if (OneStarCondition.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OneStarCondition); + } + if (TwoStarCondition.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(TwoStarCondition); + } + if (ThreeStarCondition.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ThreeStarCondition); + } + if (DropId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DropId); + } + if (EnergyConsume != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EnergyConsume); + } + if (BaseAwardPreview.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); + } + if (EntryGroupId1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId1); + } + if (EntryGroupLevel1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel1); + } + if (EntryGroupId2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId2); + } + if (EntryGroupLevel2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel2); + } + if (EntryGroupId3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId3); + } + if (EntryGroupLevel3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel3); + } + if (EntryGroupId4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId4); + } + if (EntryGroupLevel4 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel4); + } + if (EntryGroupId5 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupId5); + } + if (EntryGroupLevel5 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EntryGroupLevel5); + } + size += extraDropPreview_.CalculateSize(_repeated_extraDropPreview_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RegionBossLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RegionBossId != 0) { + RegionBossId = other.RegionBossId; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.RegionType != 0) { + RegionType = other.RegionType; + } + 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.SuggestedPower != 0) { + SuggestedPower = other.SuggestedPower; + } + if (other.PreLevelId != 0) { + PreLevelId = other.PreLevelId; + } + if (other.BossShowTime != 0) { + BossShowTime = other.BossShowTime; + } + if (other.PreLevelStar != 0) { + PreLevelStar = other.PreLevelStar; + } + if (other.NeedWorldClass != 0) { + NeedWorldClass = other.NeedWorldClass; + } + if (other.NeedRoguelike != 0) { + NeedRoguelike = other.NeedRoguelike; + } + if (other.FloorId != 0) { + FloorId = other.FloorId; + } + if (other.OneStarCondition.Length != 0) { + OneStarCondition = other.OneStarCondition; + } + if (other.TwoStarCondition.Length != 0) { + TwoStarCondition = other.TwoStarCondition; + } + if (other.ThreeStarCondition.Length != 0) { + ThreeStarCondition = other.ThreeStarCondition; + } + if (other.DropId != 0) { + DropId = other.DropId; + } + if (other.EnergyConsume != 0) { + EnergyConsume = other.EnergyConsume; + } + if (other.BaseAwardPreview.Length != 0) { + BaseAwardPreview = other.BaseAwardPreview; + } + if (other.EntryGroupId1 != 0) { + EntryGroupId1 = other.EntryGroupId1; + } + if (other.EntryGroupLevel1 != 0) { + EntryGroupLevel1 = other.EntryGroupLevel1; + } + if (other.EntryGroupId2 != 0) { + EntryGroupId2 = other.EntryGroupId2; + } + if (other.EntryGroupLevel2 != 0) { + EntryGroupLevel2 = other.EntryGroupLevel2; + } + if (other.EntryGroupId3 != 0) { + EntryGroupId3 = other.EntryGroupId3; + } + if (other.EntryGroupLevel3 != 0) { + EntryGroupLevel3 = other.EntryGroupLevel3; + } + if (other.EntryGroupId4 != 0) { + EntryGroupId4 = other.EntryGroupId4; + } + if (other.EntryGroupLevel4 != 0) { + EntryGroupLevel4 = other.EntryGroupLevel4; + } + if (other.EntryGroupId5 != 0) { + EntryGroupId5 = other.EntryGroupId5; + } + if (other.EntryGroupLevel5 != 0) { + EntryGroupLevel5 = other.EntryGroupLevel5; + } + extraDropPreview_.Add(other.extraDropPreview_); + _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: { + RegionBossId = input.ReadInt32(); + break; + } + case 24: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + RegionType = input.ReadInt32(); + break; + } + case 42: { + Name = input.ReadString(); + break; + } + case 50: { + Desc = input.ReadString(); + break; + } + case 58: { + Icon = input.ReadString(); + break; + } + case 64: { + SuggestedPower = input.ReadInt32(); + break; + } + case 72: { + PreLevelId = input.ReadInt32(); + break; + } + case 80: { + BossShowTime = input.ReadInt32(); + break; + } + case 88: { + PreLevelStar = input.ReadInt32(); + break; + } + case 96: { + NeedWorldClass = input.ReadInt32(); + break; + } + case 104: { + NeedRoguelike = input.ReadInt32(); + break; + } + case 112: { + FloorId = input.ReadInt32(); + break; + } + case 122: { + OneStarCondition = input.ReadString(); + break; + } + case 130: { + TwoStarCondition = input.ReadString(); + break; + } + case 138: { + ThreeStarCondition = input.ReadString(); + break; + } + case 144: { + DropId = input.ReadInt32(); + break; + } + case 152: { + EnergyConsume = input.ReadInt32(); + break; + } + case 162: { + BaseAwardPreview = input.ReadString(); + break; + } + case 168: { + EntryGroupId1 = input.ReadInt32(); + break; + } + case 176: { + EntryGroupLevel1 = input.ReadInt32(); + break; + } + case 184: { + EntryGroupId2 = input.ReadInt32(); + break; + } + case 192: { + EntryGroupLevel2 = input.ReadInt32(); + break; + } + case 200: { + EntryGroupId3 = input.ReadInt32(); + break; + } + case 208: { + EntryGroupLevel3 = input.ReadInt32(); + break; + } + case 216: { + EntryGroupId4 = input.ReadInt32(); + break; + } + case 224: { + EntryGroupLevel4 = input.ReadInt32(); + break; + } + case 232: { + EntryGroupId5 = input.ReadInt32(); + break; + } + case 240: { + EntryGroupLevel5 = input.ReadInt32(); + break; + } + case 250: + case 248: { + extraDropPreview_.AddEntriesFrom(input, _repeated_extraDropPreview_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: { + RegionBossId = input.ReadInt32(); + break; + } + case 24: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + RegionType = input.ReadInt32(); + break; + } + case 42: { + Name = input.ReadString(); + break; + } + case 50: { + Desc = input.ReadString(); + break; + } + case 58: { + Icon = input.ReadString(); + break; + } + case 64: { + SuggestedPower = input.ReadInt32(); + break; + } + case 72: { + PreLevelId = input.ReadInt32(); + break; + } + case 80: { + BossShowTime = input.ReadInt32(); + break; + } + case 88: { + PreLevelStar = input.ReadInt32(); + break; + } + case 96: { + NeedWorldClass = input.ReadInt32(); + break; + } + case 104: { + NeedRoguelike = input.ReadInt32(); + break; + } + case 112: { + FloorId = input.ReadInt32(); + break; + } + case 122: { + OneStarCondition = input.ReadString(); + break; + } + case 130: { + TwoStarCondition = input.ReadString(); + break; + } + case 138: { + ThreeStarCondition = input.ReadString(); + break; + } + case 144: { + DropId = input.ReadInt32(); + break; + } + case 152: { + EnergyConsume = input.ReadInt32(); + break; + } + case 162: { + BaseAwardPreview = input.ReadString(); + break; + } + case 168: { + EntryGroupId1 = input.ReadInt32(); + break; + } + case 176: { + EntryGroupLevel1 = input.ReadInt32(); + break; + } + case 184: { + EntryGroupId2 = input.ReadInt32(); + break; + } + case 192: { + EntryGroupLevel2 = input.ReadInt32(); + break; + } + case 200: { + EntryGroupId3 = input.ReadInt32(); + break; + } + case 208: { + EntryGroupLevel3 = input.ReadInt32(); + break; + } + case 216: { + EntryGroupId4 = input.ReadInt32(); + break; + } + case 224: { + EntryGroupLevel4 = input.ReadInt32(); + break; + } + case 232: { + EntryGroupId5 = input.ReadInt32(); + break; + } + case 240: { + EntryGroupLevel5 = input.ReadInt32(); + break; + } + case 250: + case 248: { + extraDropPreview_.AddEntriesFrom(ref input, _repeated_extraDropPreview_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_RegionBossLevel : pb::IMessage<table_RegionBossLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_RegionBossLevel> _parser = new pb::MessageParser<table_RegionBossLevel>(() => new table_RegionBossLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_RegionBossLevel> 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.ClientTableReflection.Descriptor.MessageTypes[341]; } + } + + [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 table_RegionBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBossLevel(table_RegionBossLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_RegionBossLevel Clone() { + return new table_RegionBossLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.RegionBossLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.RegionBossLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.RegionBossLevel> list_ = new pbc::RepeatedField<global::Nova.Client.RegionBossLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.RegionBossLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_RegionBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_RegionBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_RegionBossLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentGoods : pb::IMessage<ResidentGoods> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentGoods> _parser = new pb::MessageParser<ResidentGoods>(() => new ResidentGoods()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentGoods> 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.ClientTableReflection.Descriptor.MessageTypes[342]; } + } + + [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 ResidentGoods() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentGoods(ResidentGoods other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + shopId_ = other.shopId_; + saleNumber_ = other.saleNumber_; + itemId_ = other.itemId_; + itemQuantity_ = other.itemQuantity_; + maximumLimit_ = other.maximumLimit_; + currencyItemId_ = other.currencyItemId_; + price_ = other.price_; + originalPrice_ = other.originalPrice_; + discount_ = other.discount_; + appearCondType_ = other.appearCondType_; + appearCondParams_ = other.appearCondParams_; + purchaseCondType_ = other.purchaseCondType_; + purchaseCondParams_ = other.purchaseCondParams_; + upShelfTime_ = other.upShelfTime_; + downShelfTime_ = other.downShelfTime_; + unlockPurchaseTime_ = other.unlockPurchaseTime_; + displayMode_ = other.displayMode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentGoods Clone() { + return new ResidentGoods(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "ShopId" field.</summary> + public const int ShopIdFieldNumber = 4; + private int shopId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShopId { + get { return shopId_; } + set { + shopId_ = value; + } + } + + /// <summary>Field number for the "SaleNumber" field.</summary> + public const int SaleNumberFieldNumber = 5; + private int saleNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SaleNumber { + get { return saleNumber_; } + set { + saleNumber_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 6; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemQuantity" field.</summary> + public const int ItemQuantityFieldNumber = 7; + private int itemQuantity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQuantity { + get { return itemQuantity_; } + set { + itemQuantity_ = value; + } + } + + /// <summary>Field number for the "MaximumLimit" field.</summary> + public const int MaximumLimitFieldNumber = 8; + private int maximumLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaximumLimit { + get { return maximumLimit_; } + set { + maximumLimit_ = value; + } + } + + /// <summary>Field number for the "CurrencyItemId" field.</summary> + public const int CurrencyItemIdFieldNumber = 9; + private int currencyItemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyItemId { + get { return currencyItemId_; } + set { + currencyItemId_ = value; + } + } + + /// <summary>Field number for the "Price" field.</summary> + public const int PriceFieldNumber = 10; + private int price_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Price { + get { return price_; } + set { + price_ = value; + } + } + + /// <summary>Field number for the "OriginalPrice" field.</summary> + public const int OriginalPriceFieldNumber = 11; + private int originalPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OriginalPrice { + get { return originalPrice_; } + set { + originalPrice_ = value; + } + } + + /// <summary>Field number for the "Discount" field.</summary> + public const int DiscountFieldNumber = 12; + private int discount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Discount { + get { return discount_; } + set { + discount_ = value; + } + } + + /// <summary>Field number for the "AppearCondType" field.</summary> + public const int AppearCondTypeFieldNumber = 13; + private int appearCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AppearCondType { + get { return appearCondType_; } + set { + appearCondType_ = value; + } + } + + /// <summary>Field number for the "AppearCondParams" field.</summary> + public const int AppearCondParamsFieldNumber = 14; + private string appearCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AppearCondParams { + get { return appearCondParams_; } + set { + appearCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PurchaseCondType" field.</summary> + public const int PurchaseCondTypeFieldNumber = 15; + private int purchaseCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PurchaseCondType { + get { return purchaseCondType_; } + set { + purchaseCondType_ = value; + } + } + + /// <summary>Field number for the "PurchaseCondParams" field.</summary> + public const int PurchaseCondParamsFieldNumber = 16; + private string purchaseCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PurchaseCondParams { + get { return purchaseCondParams_; } + set { + purchaseCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UpShelfTime" field.</summary> + public const int UpShelfTimeFieldNumber = 17; + private string upShelfTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UpShelfTime { + get { return upShelfTime_; } + set { + upShelfTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DownShelfTime" field.</summary> + public const int DownShelfTimeFieldNumber = 18; + private string downShelfTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DownShelfTime { + get { return downShelfTime_; } + set { + downShelfTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UnlockPurchaseTime" field.</summary> + public const int UnlockPurchaseTimeFieldNumber = 19; + private string unlockPurchaseTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockPurchaseTime { + get { return unlockPurchaseTime_; } + set { + unlockPurchaseTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DisplayMode" field.</summary> + public const int DisplayModeFieldNumber = 20; + private int displayMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DisplayMode { + get { return displayMode_; } + set { + displayMode_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ResidentGoods); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentGoods 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 (Desc != other.Desc) return false; + if (ShopId != other.ShopId) return false; + if (SaleNumber != other.SaleNumber) return false; + if (ItemId != other.ItemId) return false; + if (ItemQuantity != other.ItemQuantity) return false; + if (MaximumLimit != other.MaximumLimit) return false; + if (CurrencyItemId != other.CurrencyItemId) return false; + if (Price != other.Price) return false; + if (OriginalPrice != other.OriginalPrice) return false; + if (Discount != other.Discount) return false; + if (AppearCondType != other.AppearCondType) return false; + if (AppearCondParams != other.AppearCondParams) return false; + if (PurchaseCondType != other.PurchaseCondType) return false; + if (PurchaseCondParams != other.PurchaseCondParams) return false; + if (UpShelfTime != other.UpShelfTime) return false; + if (DownShelfTime != other.DownShelfTime) return false; + if (UnlockPurchaseTime != other.UnlockPurchaseTime) return false; + if (DisplayMode != other.DisplayMode) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (ShopId != 0) hash ^= ShopId.GetHashCode(); + if (SaleNumber != 0) hash ^= SaleNumber.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemQuantity != 0) hash ^= ItemQuantity.GetHashCode(); + if (MaximumLimit != 0) hash ^= MaximumLimit.GetHashCode(); + if (CurrencyItemId != 0) hash ^= CurrencyItemId.GetHashCode(); + if (Price != 0) hash ^= Price.GetHashCode(); + if (OriginalPrice != 0) hash ^= OriginalPrice.GetHashCode(); + if (Discount != 0) hash ^= Discount.GetHashCode(); + if (AppearCondType != 0) hash ^= AppearCondType.GetHashCode(); + if (AppearCondParams.Length != 0) hash ^= AppearCondParams.GetHashCode(); + if (PurchaseCondType != 0) hash ^= PurchaseCondType.GetHashCode(); + if (PurchaseCondParams.Length != 0) hash ^= PurchaseCondParams.GetHashCode(); + if (UpShelfTime.Length != 0) hash ^= UpShelfTime.GetHashCode(); + if (DownShelfTime.Length != 0) hash ^= DownShelfTime.GetHashCode(); + if (UnlockPurchaseTime.Length != 0) hash ^= UnlockPurchaseTime.GetHashCode(); + if (DisplayMode != 0) hash ^= DisplayMode.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (ShopId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ShopId); + } + if (SaleNumber != 0) { + output.WriteRawTag(40); + output.WriteInt32(SaleNumber); + } + if (ItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ItemId); + } + if (ItemQuantity != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemQuantity); + } + if (MaximumLimit != 0) { + output.WriteRawTag(64); + output.WriteInt32(MaximumLimit); + } + if (CurrencyItemId != 0) { + output.WriteRawTag(72); + output.WriteInt32(CurrencyItemId); + } + if (Price != 0) { + output.WriteRawTag(80); + output.WriteInt32(Price); + } + if (OriginalPrice != 0) { + output.WriteRawTag(88); + output.WriteInt32(OriginalPrice); + } + if (Discount != 0) { + output.WriteRawTag(96); + output.WriteInt32(Discount); + } + if (AppearCondType != 0) { + output.WriteRawTag(104); + output.WriteInt32(AppearCondType); + } + if (AppearCondParams.Length != 0) { + output.WriteRawTag(114); + output.WriteString(AppearCondParams); + } + if (PurchaseCondType != 0) { + output.WriteRawTag(120); + output.WriteInt32(PurchaseCondType); + } + if (PurchaseCondParams.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(PurchaseCondParams); + } + if (UpShelfTime.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(UpShelfTime); + } + if (DownShelfTime.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(DownShelfTime); + } + if (UnlockPurchaseTime.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(UnlockPurchaseTime); + } + if (DisplayMode != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DisplayMode); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (ShopId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ShopId); + } + if (SaleNumber != 0) { + output.WriteRawTag(40); + output.WriteInt32(SaleNumber); + } + if (ItemId != 0) { + output.WriteRawTag(48); + output.WriteInt32(ItemId); + } + if (ItemQuantity != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemQuantity); + } + if (MaximumLimit != 0) { + output.WriteRawTag(64); + output.WriteInt32(MaximumLimit); + } + if (CurrencyItemId != 0) { + output.WriteRawTag(72); + output.WriteInt32(CurrencyItemId); + } + if (Price != 0) { + output.WriteRawTag(80); + output.WriteInt32(Price); + } + if (OriginalPrice != 0) { + output.WriteRawTag(88); + output.WriteInt32(OriginalPrice); + } + if (Discount != 0) { + output.WriteRawTag(96); + output.WriteInt32(Discount); + } + if (AppearCondType != 0) { + output.WriteRawTag(104); + output.WriteInt32(AppearCondType); + } + if (AppearCondParams.Length != 0) { + output.WriteRawTag(114); + output.WriteString(AppearCondParams); + } + if (PurchaseCondType != 0) { + output.WriteRawTag(120); + output.WriteInt32(PurchaseCondType); + } + if (PurchaseCondParams.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(PurchaseCondParams); + } + if (UpShelfTime.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(UpShelfTime); + } + if (DownShelfTime.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(DownShelfTime); + } + if (UnlockPurchaseTime.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(UnlockPurchaseTime); + } + if (DisplayMode != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(DisplayMode); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (ShopId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopId); + } + if (SaleNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SaleNumber); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemQuantity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQuantity); + } + if (MaximumLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximumLimit); + } + if (CurrencyItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyItemId); + } + if (Price != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); + } + if (OriginalPrice != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OriginalPrice); + } + if (Discount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Discount); + } + if (AppearCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AppearCondType); + } + if (AppearCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AppearCondParams); + } + if (PurchaseCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PurchaseCondType); + } + if (PurchaseCondParams.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(PurchaseCondParams); + } + if (UpShelfTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(UpShelfTime); + } + if (DownShelfTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(DownShelfTime); + } + if (UnlockPurchaseTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(UnlockPurchaseTime); + } + if (DisplayMode != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DisplayMode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentGoods other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.ShopId != 0) { + ShopId = other.ShopId; + } + if (other.SaleNumber != 0) { + SaleNumber = other.SaleNumber; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemQuantity != 0) { + ItemQuantity = other.ItemQuantity; + } + if (other.MaximumLimit != 0) { + MaximumLimit = other.MaximumLimit; + } + if (other.CurrencyItemId != 0) { + CurrencyItemId = other.CurrencyItemId; + } + if (other.Price != 0) { + Price = other.Price; + } + if (other.OriginalPrice != 0) { + OriginalPrice = other.OriginalPrice; + } + if (other.Discount != 0) { + Discount = other.Discount; + } + if (other.AppearCondType != 0) { + AppearCondType = other.AppearCondType; + } + if (other.AppearCondParams.Length != 0) { + AppearCondParams = other.AppearCondParams; + } + if (other.PurchaseCondType != 0) { + PurchaseCondType = other.PurchaseCondType; + } + if (other.PurchaseCondParams.Length != 0) { + PurchaseCondParams = other.PurchaseCondParams; + } + if (other.UpShelfTime.Length != 0) { + UpShelfTime = other.UpShelfTime; + } + if (other.DownShelfTime.Length != 0) { + DownShelfTime = other.DownShelfTime; + } + if (other.UnlockPurchaseTime.Length != 0) { + UnlockPurchaseTime = other.UnlockPurchaseTime; + } + if (other.DisplayMode != 0) { + DisplayMode = other.DisplayMode; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + ShopId = input.ReadInt32(); + break; + } + case 40: { + SaleNumber = input.ReadInt32(); + break; + } + case 48: { + ItemId = input.ReadInt32(); + break; + } + case 56: { + ItemQuantity = input.ReadInt32(); + break; + } + case 64: { + MaximumLimit = input.ReadInt32(); + break; + } + case 72: { + CurrencyItemId = input.ReadInt32(); + break; + } + case 80: { + Price = input.ReadInt32(); + break; + } + case 88: { + OriginalPrice = input.ReadInt32(); + break; + } + case 96: { + Discount = input.ReadInt32(); + break; + } + case 104: { + AppearCondType = input.ReadInt32(); + break; + } + case 114: { + AppearCondParams = input.ReadString(); + break; + } + case 120: { + PurchaseCondType = input.ReadInt32(); + break; + } + case 130: { + PurchaseCondParams = input.ReadString(); + break; + } + case 138: { + UpShelfTime = input.ReadString(); + break; + } + case 146: { + DownShelfTime = input.ReadString(); + break; + } + case 154: { + UnlockPurchaseTime = input.ReadString(); + break; + } + case 160: { + DisplayMode = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + ShopId = input.ReadInt32(); + break; + } + case 40: { + SaleNumber = input.ReadInt32(); + break; + } + case 48: { + ItemId = input.ReadInt32(); + break; + } + case 56: { + ItemQuantity = input.ReadInt32(); + break; + } + case 64: { + MaximumLimit = input.ReadInt32(); + break; + } + case 72: { + CurrencyItemId = input.ReadInt32(); + break; + } + case 80: { + Price = input.ReadInt32(); + break; + } + case 88: { + OriginalPrice = input.ReadInt32(); + break; + } + case 96: { + Discount = input.ReadInt32(); + break; + } + case 104: { + AppearCondType = input.ReadInt32(); + break; + } + case 114: { + AppearCondParams = input.ReadString(); + break; + } + case 120: { + PurchaseCondType = input.ReadInt32(); + break; + } + case 130: { + PurchaseCondParams = input.ReadString(); + break; + } + case 138: { + UpShelfTime = input.ReadString(); + break; + } + case 146: { + DownShelfTime = input.ReadString(); + break; + } + case 154: { + UnlockPurchaseTime = input.ReadString(); + break; + } + case 160: { + DisplayMode = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ResidentGoods : pb::IMessage<table_ResidentGoods> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ResidentGoods> _parser = new pb::MessageParser<table_ResidentGoods>(() => new table_ResidentGoods()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ResidentGoods> 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.ClientTableReflection.Descriptor.MessageTypes[343]; } + } + + [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 table_ResidentGoods() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ResidentGoods(table_ResidentGoods other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ResidentGoods Clone() { + return new table_ResidentGoods(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ResidentGoods> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ResidentGoods.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ResidentGoods> list_ = new pbc::RepeatedField<global::Nova.Client.ResidentGoods>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ResidentGoods> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ResidentGoods); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ResidentGoods other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ResidentGoods other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ResidentShop : pb::IMessage<ResidentShop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ResidentShop> _parser = new pb::MessageParser<ResidentShop>(() => new ResidentShop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ResidentShop> 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.ClientTableReflection.Descriptor.MessageTypes[344]; } + } + + [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 ResidentShop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShop(ResidentShop other) : this() { + id_ = other.id_; + shopCoin_ = other.shopCoin_; + type_ = other.type_; + name_ = other.name_; + sequence_ = other.sequence_; + refreshTimeType_ = other.refreshTimeType_; + refreshInterval_ = other.refreshInterval_; + unlockCondType_ = other.unlockCondType_; + unlockCondParams_ = other.unlockCondParams_; + openTime_ = other.openTime_; + closeTime_ = other.closeTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResidentShop Clone() { + return new ResidentShop(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 "ShopCoin" field.</summary> + public const int ShopCoinFieldNumber = 2; + private int shopCoin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShopCoin { + get { return shopCoin_; } + set { + shopCoin_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 3; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = 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 "Sequence" field.</summary> + public const int SequenceFieldNumber = 5; + private int sequence_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sequence { + get { return sequence_; } + set { + sequence_ = value; + } + } + + /// <summary>Field number for the "RefreshTimeType" field.</summary> + public const int RefreshTimeTypeFieldNumber = 6; + private int refreshTimeType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshTimeType { + get { return refreshTimeType_; } + set { + refreshTimeType_ = value; + } + } + + /// <summary>Field number for the "RefreshInterval" field.</summary> + public const int RefreshIntervalFieldNumber = 7; + private int refreshInterval_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefreshInterval { + get { return refreshInterval_; } + set { + refreshInterval_ = value; + } + } + + /// <summary>Field number for the "UnlockCondType" field.</summary> + public const int UnlockCondTypeFieldNumber = 8; + private int unlockCondType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockCondType { + get { return unlockCondType_; } + set { + unlockCondType_ = value; + } + } + + /// <summary>Field number for the "UnlockCondParams" field.</summary> + public const int UnlockCondParamsFieldNumber = 9; + private string unlockCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockCondParams { + get { return unlockCondParams_; } + set { + unlockCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "OpenTime" field.</summary> + public const int OpenTimeFieldNumber = 10; + private string openTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenTime { + get { return openTime_; } + set { + openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CloseTime" field.</summary> + public const int CloseTimeFieldNumber = 11; + private string closeTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CloseTime { + get { return closeTime_; } + set { + closeTime_ = 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 ResidentShop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResidentShop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ShopCoin != other.ShopCoin) return false; + if (Type != other.Type) return false; + if (Name != other.Name) return false; + if (Sequence != other.Sequence) return false; + if (RefreshTimeType != other.RefreshTimeType) return false; + if (RefreshInterval != other.RefreshInterval) return false; + if (UnlockCondType != other.UnlockCondType) return false; + if (UnlockCondParams != other.UnlockCondParams) return false; + if (OpenTime != other.OpenTime) return false; + if (CloseTime != other.CloseTime) 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 (ShopCoin != 0) hash ^= ShopCoin.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Sequence != 0) hash ^= Sequence.GetHashCode(); + if (RefreshTimeType != 0) hash ^= RefreshTimeType.GetHashCode(); + if (RefreshInterval != 0) hash ^= RefreshInterval.GetHashCode(); + if (UnlockCondType != 0) hash ^= UnlockCondType.GetHashCode(); + if (UnlockCondParams.Length != 0) hash ^= UnlockCondParams.GetHashCode(); + if (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); + if (CloseTime.Length != 0) hash ^= CloseTime.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 (ShopCoin != 0) { + output.WriteRawTag(16); + output.WriteInt32(ShopCoin); + } + if (Type != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Sequence != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sequence); + } + if (RefreshTimeType != 0) { + output.WriteRawTag(48); + output.WriteInt32(RefreshTimeType); + } + if (RefreshInterval != 0) { + output.WriteRawTag(56); + output.WriteInt32(RefreshInterval); + } + if (UnlockCondType != 0) { + output.WriteRawTag(64); + output.WriteInt32(UnlockCondType); + } + if (UnlockCondParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(UnlockCondParams); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(82); + output.WriteString(OpenTime); + } + if (CloseTime.Length != 0) { + output.WriteRawTag(90); + output.WriteString(CloseTime); + } + 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 (ShopCoin != 0) { + output.WriteRawTag(16); + output.WriteInt32(ShopCoin); + } + if (Type != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Sequence != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sequence); + } + if (RefreshTimeType != 0) { + output.WriteRawTag(48); + output.WriteInt32(RefreshTimeType); + } + if (RefreshInterval != 0) { + output.WriteRawTag(56); + output.WriteInt32(RefreshInterval); + } + if (UnlockCondType != 0) { + output.WriteRawTag(64); + output.WriteInt32(UnlockCondType); + } + if (UnlockCondParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(UnlockCondParams); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(82); + output.WriteString(OpenTime); + } + if (CloseTime.Length != 0) { + output.WriteRawTag(90); + output.WriteString(CloseTime); + } + 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 (ShopCoin != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShopCoin); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Sequence != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sequence); + } + if (RefreshTimeType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshTimeType); + } + if (RefreshInterval != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefreshInterval); + } + if (UnlockCondType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockCondType); + } + if (UnlockCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockCondParams); + } + if (OpenTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); + } + if (CloseTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CloseTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResidentShop other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ShopCoin != 0) { + ShopCoin = other.ShopCoin; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Sequence != 0) { + Sequence = other.Sequence; + } + if (other.RefreshTimeType != 0) { + RefreshTimeType = other.RefreshTimeType; + } + if (other.RefreshInterval != 0) { + RefreshInterval = other.RefreshInterval; + } + if (other.UnlockCondType != 0) { + UnlockCondType = other.UnlockCondType; + } + if (other.UnlockCondParams.Length != 0) { + UnlockCondParams = other.UnlockCondParams; + } + if (other.OpenTime.Length != 0) { + OpenTime = other.OpenTime; + } + if (other.CloseTime.Length != 0) { + CloseTime = other.CloseTime; + } + _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: { + ShopCoin = input.ReadInt32(); + break; + } + case 24: { + Type = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + Sequence = input.ReadInt32(); + break; + } + case 48: { + RefreshTimeType = input.ReadInt32(); + break; + } + case 56: { + RefreshInterval = input.ReadInt32(); + break; + } + case 64: { + UnlockCondType = input.ReadInt32(); + break; + } + case 74: { + UnlockCondParams = input.ReadString(); + break; + } + case 82: { + OpenTime = input.ReadString(); + break; + } + case 90: { + CloseTime = 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: { + ShopCoin = input.ReadInt32(); + break; + } + case 24: { + Type = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + Sequence = input.ReadInt32(); + break; + } + case 48: { + RefreshTimeType = input.ReadInt32(); + break; + } + case 56: { + RefreshInterval = input.ReadInt32(); + break; + } + case 64: { + UnlockCondType = input.ReadInt32(); + break; + } + case 74: { + UnlockCondParams = input.ReadString(); + break; + } + case 82: { + OpenTime = input.ReadString(); + break; + } + case 90: { + CloseTime = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ResidentShop : pb::IMessage<table_ResidentShop> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ResidentShop> _parser = new pb::MessageParser<table_ResidentShop>(() => new table_ResidentShop()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ResidentShop> 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.ClientTableReflection.Descriptor.MessageTypes[345]; } + } + + [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 table_ResidentShop() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ResidentShop(table_ResidentShop other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ResidentShop Clone() { + return new table_ResidentShop(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ResidentShop> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ResidentShop.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ResidentShop> list_ = new pbc::RepeatedField<global::Nova.Client.ResidentShop>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ResidentShop> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ResidentShop); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ResidentShop other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ResidentShop other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScriptParameter : pb::IMessage<ScriptParameter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ScriptParameter> _parser = new pb::MessageParser<ScriptParameter>(() => new ScriptParameter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ScriptParameter> 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.ClientTableReflection.Descriptor.MessageTypes[346]; } + } + + [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 ScriptParameter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScriptParameter(ScriptParameter other) : this() { + id_ = other.id_; + levelTypeData_ = other.levelTypeData_; + levelData_ = other.levelData_; + mainOrSupport_ = other.mainOrSupport_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScriptParameter Clone() { + return new ScriptParameter(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 "levelTypeData" field.</summary> + public const int LevelTypeDataFieldNumber = 2; + private int levelTypeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTypeData { + get { return levelTypeData_; } + set { + levelTypeData_ = value; + } + } + + /// <summary>Field number for the "LevelData" field.</summary> + public const int LevelDataFieldNumber = 3; + private int levelData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelData { + get { return levelData_; } + set { + levelData_ = value; + } + } + + /// <summary>Field number for the "MainOrSupport" field.</summary> + public const int MainOrSupportFieldNumber = 4; + private int mainOrSupport_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainOrSupport { + get { return mainOrSupport_; } + set { + mainOrSupport_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScriptParameter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScriptParameter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LevelTypeData != other.LevelTypeData) return false; + if (LevelData != other.LevelData) return false; + if (MainOrSupport != other.MainOrSupport) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); + if (LevelData != 0) hash ^= LevelData.GetHashCode(); + if (MainOrSupport != 0) hash ^= MainOrSupport.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 (LevelTypeData != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(32); + output.WriteInt32(MainOrSupport); + } + 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 (LevelTypeData != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(32); + output.WriteInt32(MainOrSupport); + } + 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 (LevelTypeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + } + if (LevelData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + } + if (MainOrSupport != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScriptParameter other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LevelTypeData != 0) { + LevelTypeData = other.LevelTypeData; + } + if (other.LevelData != 0) { + LevelData = other.LevelData; + } + if (other.MainOrSupport != 0) { + MainOrSupport = other.MainOrSupport; + } + _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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 24: { + LevelData = input.ReadInt32(); + break; + } + case 32: { + MainOrSupport = 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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 24: { + LevelData = input.ReadInt32(); + break; + } + case 32: { + MainOrSupport = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ScriptParameter : pb::IMessage<table_ScriptParameter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ScriptParameter> _parser = new pb::MessageParser<table_ScriptParameter>(() => new table_ScriptParameter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ScriptParameter> 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.ClientTableReflection.Descriptor.MessageTypes[347]; } + } + + [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 table_ScriptParameter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ScriptParameter(table_ScriptParameter other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ScriptParameter Clone() { + return new table_ScriptParameter(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ScriptParameter> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ScriptParameter.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ScriptParameter> list_ = new pbc::RepeatedField<global::Nova.Client.ScriptParameter>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ScriptParameter> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ScriptParameter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ScriptParameter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ScriptParameter other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScriptParameterValue : pb::IMessage<ScriptParameterValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ScriptParameterValue> _parser = new pb::MessageParser<ScriptParameterValue>(() => new ScriptParameterValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ScriptParameterValue> 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.ClientTableReflection.Descriptor.MessageTypes[348]; } + } + + [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 ScriptParameterValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScriptParameterValue(ScriptParameterValue other) : this() { + id_ = other.id_; + commonData_ = other.commonData_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScriptParameterValue Clone() { + return new ScriptParameterValue(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 "CommonData" field.</summary> + public const int CommonDataFieldNumber = 2; + private int commonData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CommonData { + get { return commonData_; } + set { + commonData_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScriptParameterValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScriptParameterValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CommonData != other.CommonData) 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 (CommonData != 0) hash ^= CommonData.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 (CommonData != 0) { + output.WriteRawTag(16); + output.WriteInt32(CommonData); + } + 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 (CommonData != 0) { + output.WriteRawTag(16); + output.WriteInt32(CommonData); + } + 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 (CommonData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CommonData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScriptParameterValue other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CommonData != 0) { + CommonData = other.CommonData; + } + _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: { + CommonData = 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: { + CommonData = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ScriptParameterValue : pb::IMessage<table_ScriptParameterValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ScriptParameterValue> _parser = new pb::MessageParser<table_ScriptParameterValue>(() => new table_ScriptParameterValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ScriptParameterValue> 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.ClientTableReflection.Descriptor.MessageTypes[349]; } + } + + [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 table_ScriptParameterValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ScriptParameterValue(table_ScriptParameterValue other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ScriptParameterValue Clone() { + return new table_ScriptParameterValue(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ScriptParameterValue> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ScriptParameterValue.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ScriptParameterValue> list_ = new pbc::RepeatedField<global::Nova.Client.ScriptParameterValue>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ScriptParameterValue> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ScriptParameterValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ScriptParameterValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ScriptParameterValue other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Shield : pb::IMessage<Shield> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Shield> _parser = new pb::MessageParser<Shield>(() => new Shield()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Shield> 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.ClientTableReflection.Descriptor.MessageTypes[350]; } + } + + [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 Shield() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Shield(Shield other) : this() { + id_ = other.id_; + name_ = other.name_; + levelTypeData_ = other.levelTypeData_; + levelData_ = other.levelData_; + mainOrSupport_ = other.mainOrSupport_; + bindEffect_ = other.bindEffect_; + shieldTag1_ = other.shieldTag1_; + shieldTag2_ = other.shieldTag2_; + shieldTag3_ = other.shieldTag3_; + timeSuperposition_ = other.timeSuperposition_; + notRemove_ = other.notRemove_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Shield Clone() { + return new Shield(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 "levelTypeData" field.</summary> + public const int LevelTypeDataFieldNumber = 3; + private int levelTypeData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelTypeData { + get { return levelTypeData_; } + set { + levelTypeData_ = value; + } + } + + /// <summary>Field number for the "LevelData" field.</summary> + public const int LevelDataFieldNumber = 4; + private int levelData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelData { + get { return levelData_; } + set { + levelData_ = value; + } + } + + /// <summary>Field number for the "MainOrSupport" field.</summary> + public const int MainOrSupportFieldNumber = 5; + private int mainOrSupport_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MainOrSupport { + get { return mainOrSupport_; } + set { + mainOrSupport_ = value; + } + } + + /// <summary>Field number for the "BindEffect" field.</summary> + public const int BindEffectFieldNumber = 6; + private string bindEffect_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BindEffect { + get { return bindEffect_; } + set { + bindEffect_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ShieldTag1" field.</summary> + public const int ShieldTag1FieldNumber = 7; + private int shieldTag1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShieldTag1 { + get { return shieldTag1_; } + set { + shieldTag1_ = value; + } + } + + /// <summary>Field number for the "ShieldTag2" field.</summary> + public const int ShieldTag2FieldNumber = 8; + private int shieldTag2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShieldTag2 { + get { return shieldTag2_; } + set { + shieldTag2_ = value; + } + } + + /// <summary>Field number for the "ShieldTag3" field.</summary> + public const int ShieldTag3FieldNumber = 9; + private int shieldTag3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShieldTag3 { + get { return shieldTag3_; } + set { + shieldTag3_ = value; + } + } + + /// <summary>Field number for the "TimeSuperposition" field.</summary> + public const int TimeSuperpositionFieldNumber = 10; + 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 "NotRemove" field.</summary> + public const int NotRemoveFieldNumber = 11; + private bool notRemove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NotRemove { + get { return notRemove_; } + set { + notRemove_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Shield); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Shield 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 (LevelTypeData != other.LevelTypeData) return false; + if (LevelData != other.LevelData) return false; + if (MainOrSupport != other.MainOrSupport) return false; + if (BindEffect != other.BindEffect) return false; + if (ShieldTag1 != other.ShieldTag1) return false; + if (ShieldTag2 != other.ShieldTag2) return false; + if (ShieldTag3 != other.ShieldTag3) return false; + if (TimeSuperposition != other.TimeSuperposition) return false; + if (NotRemove != other.NotRemove) 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 (LevelTypeData != 0) hash ^= LevelTypeData.GetHashCode(); + if (LevelData != 0) hash ^= LevelData.GetHashCode(); + if (MainOrSupport != 0) hash ^= MainOrSupport.GetHashCode(); + if (BindEffect.Length != 0) hash ^= BindEffect.GetHashCode(); + if (ShieldTag1 != 0) hash ^= ShieldTag1.GetHashCode(); + if (ShieldTag2 != 0) hash ^= ShieldTag2.GetHashCode(); + if (ShieldTag3 != 0) hash ^= ShieldTag3.GetHashCode(); + if (TimeSuperposition != 0) hash ^= TimeSuperposition.GetHashCode(); + if (NotRemove != false) hash ^= NotRemove.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 (LevelTypeData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainOrSupport); + } + if (BindEffect.Length != 0) { + output.WriteRawTag(50); + output.WriteString(BindEffect); + } + if (ShieldTag1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(ShieldTag1); + } + if (ShieldTag2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(ShieldTag2); + } + if (ShieldTag3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(ShieldTag3); + } + if (TimeSuperposition != 0) { + output.WriteRawTag(80); + output.WriteInt32(TimeSuperposition); + } + if (NotRemove != false) { + output.WriteRawTag(88); + output.WriteBool(NotRemove); + } + 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 (LevelTypeData != 0) { + output.WriteRawTag(24); + output.WriteInt32(LevelTypeData); + } + if (LevelData != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelData); + } + if (MainOrSupport != 0) { + output.WriteRawTag(40); + output.WriteInt32(MainOrSupport); + } + if (BindEffect.Length != 0) { + output.WriteRawTag(50); + output.WriteString(BindEffect); + } + if (ShieldTag1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(ShieldTag1); + } + if (ShieldTag2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(ShieldTag2); + } + if (ShieldTag3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(ShieldTag3); + } + if (TimeSuperposition != 0) { + output.WriteRawTag(80); + output.WriteInt32(TimeSuperposition); + } + if (NotRemove != false) { + output.WriteRawTag(88); + output.WriteBool(NotRemove); + } + 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 (LevelTypeData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelTypeData); + } + if (LevelData != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelData); + } + if (MainOrSupport != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainOrSupport); + } + if (BindEffect.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BindEffect); + } + if (ShieldTag1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldTag1); + } + if (ShieldTag2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldTag2); + } + if (ShieldTag3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldTag3); + } + if (TimeSuperposition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeSuperposition); + } + if (NotRemove != 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(Shield other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.LevelTypeData != 0) { + LevelTypeData = other.LevelTypeData; + } + if (other.LevelData != 0) { + LevelData = other.LevelData; + } + if (other.MainOrSupport != 0) { + MainOrSupport = other.MainOrSupport; + } + if (other.BindEffect.Length != 0) { + BindEffect = other.BindEffect; + } + if (other.ShieldTag1 != 0) { + ShieldTag1 = other.ShieldTag1; + } + if (other.ShieldTag2 != 0) { + ShieldTag2 = other.ShieldTag2; + } + if (other.ShieldTag3 != 0) { + ShieldTag3 = other.ShieldTag3; + } + if (other.TimeSuperposition != 0) { + TimeSuperposition = other.TimeSuperposition; + } + if (other.NotRemove != false) { + NotRemove = other.NotRemove; + } + _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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 32: { + LevelData = input.ReadInt32(); + break; + } + case 40: { + MainOrSupport = input.ReadInt32(); + break; + } + case 50: { + BindEffect = input.ReadString(); + break; + } + case 56: { + ShieldTag1 = input.ReadInt32(); + break; + } + case 64: { + ShieldTag2 = input.ReadInt32(); + break; + } + case 72: { + ShieldTag3 = input.ReadInt32(); + break; + } + case 80: { + TimeSuperposition = input.ReadInt32(); + break; + } + case 88: { + NotRemove = 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: { + LevelTypeData = input.ReadInt32(); + break; + } + case 32: { + LevelData = input.ReadInt32(); + break; + } + case 40: { + MainOrSupport = input.ReadInt32(); + break; + } + case 50: { + BindEffect = input.ReadString(); + break; + } + case 56: { + ShieldTag1 = input.ReadInt32(); + break; + } + case 64: { + ShieldTag2 = input.ReadInt32(); + break; + } + case 72: { + ShieldTag3 = input.ReadInt32(); + break; + } + case 80: { + TimeSuperposition = input.ReadInt32(); + break; + } + case 88: { + NotRemove = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Shield : pb::IMessage<table_Shield> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Shield> _parser = new pb::MessageParser<table_Shield>(() => new table_Shield()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Shield> 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.ClientTableReflection.Descriptor.MessageTypes[351]; } + } + + [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 table_Shield() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Shield(table_Shield other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Shield Clone() { + return new table_Shield(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Shield> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Shield.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Shield> list_ = new pbc::RepeatedField<global::Nova.Client.Shield>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Shield> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Shield); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Shield other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Shield other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ShieldValue : pb::IMessage<ShieldValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<ShieldValue> _parser = new pb::MessageParser<ShieldValue>(() => new ShieldValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<ShieldValue> 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.ClientTableReflection.Descriptor.MessageTypes[352]; } + } + + [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 ShieldValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShieldValue(ShieldValue other) : this() { + id_ = other.id_; + name_ = other.name_; + absorptionBase_ = other.absorptionBase_; + referenceTarget_ = other.referenceTarget_; + referenceAttrib_ = other.referenceAttrib_; + referenceScale_ = other.referenceScale_; + time_ = other.time_; + shieldLaminatedNum_ = other.shieldLaminatedNum_; + timeSuperposition_ = other.timeSuperposition_; + notRemove_ = other.notRemove_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShieldValue Clone() { + return new ShieldValue(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 "AbsorptionBase" field.</summary> + public const int AbsorptionBaseFieldNumber = 3; + private int absorptionBase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AbsorptionBase { + get { return absorptionBase_; } + set { + absorptionBase_ = value; + } + } + + /// <summary>Field number for the "ReferenceTarget" field.</summary> + public const int ReferenceTargetFieldNumber = 4; + private int referenceTarget_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReferenceTarget { + get { return referenceTarget_; } + set { + referenceTarget_ = value; + } + } + + /// <summary>Field number for the "ReferenceAttrib" field.</summary> + public const int ReferenceAttribFieldNumber = 5; + private int referenceAttrib_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReferenceAttrib { + get { return referenceAttrib_; } + set { + referenceAttrib_ = value; + } + } + + /// <summary>Field number for the "ReferenceScale" field.</summary> + public const int ReferenceScaleFieldNumber = 6; + private int referenceScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReferenceScale { + get { return referenceScale_; } + set { + referenceScale_ = value; + } + } + + /// <summary>Field number for the "Time" field.</summary> + public const int TimeFieldNumber = 7; + 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 "ShieldLaminatedNum" field.</summary> + public const int ShieldLaminatedNumFieldNumber = 8; + private int shieldLaminatedNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShieldLaminatedNum { + get { return shieldLaminatedNum_; } + set { + shieldLaminatedNum_ = value; + } + } + + /// <summary>Field number for the "TimeSuperposition" field.</summary> + public const int TimeSuperpositionFieldNumber = 9; + 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 "NotRemove" field.</summary> + public const int NotRemoveFieldNumber = 10; + private bool notRemove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NotRemove { + get { return notRemove_; } + set { + notRemove_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ShieldValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ShieldValue 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 (AbsorptionBase != other.AbsorptionBase) return false; + if (ReferenceTarget != other.ReferenceTarget) return false; + if (ReferenceAttrib != other.ReferenceAttrib) return false; + if (ReferenceScale != other.ReferenceScale) return false; + if (Time != other.Time) return false; + if (ShieldLaminatedNum != other.ShieldLaminatedNum) return false; + if (TimeSuperposition != other.TimeSuperposition) return false; + if (NotRemove != other.NotRemove) 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 (AbsorptionBase != 0) hash ^= AbsorptionBase.GetHashCode(); + if (ReferenceTarget != 0) hash ^= ReferenceTarget.GetHashCode(); + if (ReferenceAttrib != 0) hash ^= ReferenceAttrib.GetHashCode(); + if (ReferenceScale != 0) hash ^= ReferenceScale.GetHashCode(); + if (Time != 0) hash ^= Time.GetHashCode(); + if (ShieldLaminatedNum != 0) hash ^= ShieldLaminatedNum.GetHashCode(); + if (TimeSuperposition != 0) hash ^= TimeSuperposition.GetHashCode(); + if (NotRemove != false) hash ^= NotRemove.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 (AbsorptionBase != 0) { + output.WriteRawTag(24); + output.WriteInt32(AbsorptionBase); + } + if (ReferenceTarget != 0) { + output.WriteRawTag(32); + output.WriteInt32(ReferenceTarget); + } + if (ReferenceAttrib != 0) { + output.WriteRawTag(40); + output.WriteInt32(ReferenceAttrib); + } + if (ReferenceScale != 0) { + output.WriteRawTag(48); + output.WriteInt32(ReferenceScale); + } + if (Time != 0) { + output.WriteRawTag(56); + output.WriteInt32(Time); + } + if (ShieldLaminatedNum != 0) { + output.WriteRawTag(64); + output.WriteInt32(ShieldLaminatedNum); + } + if (TimeSuperposition != 0) { + output.WriteRawTag(72); + output.WriteInt32(TimeSuperposition); + } + if (NotRemove != false) { + output.WriteRawTag(80); + output.WriteBool(NotRemove); + } + 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 (AbsorptionBase != 0) { + output.WriteRawTag(24); + output.WriteInt32(AbsorptionBase); + } + if (ReferenceTarget != 0) { + output.WriteRawTag(32); + output.WriteInt32(ReferenceTarget); + } + if (ReferenceAttrib != 0) { + output.WriteRawTag(40); + output.WriteInt32(ReferenceAttrib); + } + if (ReferenceScale != 0) { + output.WriteRawTag(48); + output.WriteInt32(ReferenceScale); + } + if (Time != 0) { + output.WriteRawTag(56); + output.WriteInt32(Time); + } + if (ShieldLaminatedNum != 0) { + output.WriteRawTag(64); + output.WriteInt32(ShieldLaminatedNum); + } + if (TimeSuperposition != 0) { + output.WriteRawTag(72); + output.WriteInt32(TimeSuperposition); + } + if (NotRemove != false) { + output.WriteRawTag(80); + output.WriteBool(NotRemove); + } + 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 (AbsorptionBase != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AbsorptionBase); + } + if (ReferenceTarget != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReferenceTarget); + } + if (ReferenceAttrib != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReferenceAttrib); + } + if (ReferenceScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReferenceScale); + } + if (Time != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Time); + } + if (ShieldLaminatedNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShieldLaminatedNum); + } + if (TimeSuperposition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeSuperposition); + } + if (NotRemove != 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(ShieldValue other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.AbsorptionBase != 0) { + AbsorptionBase = other.AbsorptionBase; + } + if (other.ReferenceTarget != 0) { + ReferenceTarget = other.ReferenceTarget; + } + if (other.ReferenceAttrib != 0) { + ReferenceAttrib = other.ReferenceAttrib; + } + if (other.ReferenceScale != 0) { + ReferenceScale = other.ReferenceScale; + } + if (other.Time != 0) { + Time = other.Time; + } + if (other.ShieldLaminatedNum != 0) { + ShieldLaminatedNum = other.ShieldLaminatedNum; + } + if (other.TimeSuperposition != 0) { + TimeSuperposition = other.TimeSuperposition; + } + if (other.NotRemove != false) { + NotRemove = other.NotRemove; + } + _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: { + AbsorptionBase = input.ReadInt32(); + break; + } + case 32: { + ReferenceTarget = input.ReadInt32(); + break; + } + case 40: { + ReferenceAttrib = input.ReadInt32(); + break; + } + case 48: { + ReferenceScale = input.ReadInt32(); + break; + } + case 56: { + Time = input.ReadInt32(); + break; + } + case 64: { + ShieldLaminatedNum = input.ReadInt32(); + break; + } + case 72: { + TimeSuperposition = input.ReadInt32(); + break; + } + case 80: { + NotRemove = 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: { + AbsorptionBase = input.ReadInt32(); + break; + } + case 32: { + ReferenceTarget = input.ReadInt32(); + break; + } + case 40: { + ReferenceAttrib = input.ReadInt32(); + break; + } + case 48: { + ReferenceScale = input.ReadInt32(); + break; + } + case 56: { + Time = input.ReadInt32(); + break; + } + case 64: { + ShieldLaminatedNum = input.ReadInt32(); + break; + } + case 72: { + TimeSuperposition = input.ReadInt32(); + break; + } + case 80: { + NotRemove = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_ShieldValue : pb::IMessage<table_ShieldValue> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_ShieldValue> _parser = new pb::MessageParser<table_ShieldValue>(() => new table_ShieldValue()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_ShieldValue> 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.ClientTableReflection.Descriptor.MessageTypes[353]; } + } + + [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 table_ShieldValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ShieldValue(table_ShieldValue other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_ShieldValue Clone() { + return new table_ShieldValue(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.ShieldValue> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.ShieldValue.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.ShieldValue> list_ = new pbc::RepeatedField<global::Nova.Client.ShieldValue>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.ShieldValue> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_ShieldValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_ShieldValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_ShieldValue other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SignIn : pb::IMessage<SignIn> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SignIn> _parser = new pb::MessageParser<SignIn>(() => new SignIn()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SignIn> 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.ClientTableReflection.Descriptor.MessageTypes[354]; } + } + + [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 SignIn() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignIn(SignIn other) : this() { + iD_ = other.iD_; + group_ = other.group_; + day_ = other.day_; + itemId_ = other.itemId_; + itemQty_ = other.itemQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SignIn Clone() { + return new SignIn(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" field.</summary> + public const int GroupFieldNumber = 2; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// <summary>Field number for the "Day" field.</summary> + public const int DayFieldNumber = 3; + private int day_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Day { + get { return day_; } + set { + day_ = value; + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 4; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemQty" field.</summary> + public const int ItemQtyFieldNumber = 5; + private int itemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty { + get { return itemQty_; } + set { + itemQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SignIn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SignIn other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ID != other.ID) return false; + if (Group != other.Group) return false; + if (Day != other.Day) return false; + if (ItemId != other.ItemId) return false; + if (ItemQty != other.ItemQty) 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 (Group != 0) hash ^= Group.GetHashCode(); + if (Day != 0) hash ^= Day.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemQty != 0) hash ^= ItemQty.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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (Day != 0) { + output.WriteRawTag(24); + output.WriteInt32(Day); + } + if (ItemId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemQty); + } + 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 (Group != 0) { + output.WriteRawTag(16); + output.WriteInt32(Group); + } + if (Day != 0) { + output.WriteRawTag(24); + output.WriteInt32(Day); + } + if (ItemId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(40); + output.WriteInt32(ItemQty); + } + 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 (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (Day != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Day); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SignIn other) { + if (other == null) { + return; + } + if (other.ID != 0) { + ID = other.ID; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.Day != 0) { + Day = other.Day; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemQty != 0) { + ItemQty = other.ItemQty; + } + _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: { + Group = input.ReadInt32(); + break; + } + case 24: { + Day = input.ReadInt32(); + break; + } + case 32: { + ItemId = input.ReadInt32(); + break; + } + case 40: { + ItemQty = 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: { + Group = input.ReadInt32(); + break; + } + case 24: { + Day = input.ReadInt32(); + break; + } + case 32: { + ItemId = input.ReadInt32(); + break; + } + case 40: { + ItemQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_SignIn : pb::IMessage<table_SignIn> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_SignIn> _parser = new pb::MessageParser<table_SignIn>(() => new table_SignIn()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_SignIn> 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.ClientTableReflection.Descriptor.MessageTypes[355]; } + } + + [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 table_SignIn() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_SignIn(table_SignIn other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_SignIn Clone() { + return new table_SignIn(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.SignIn> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.SignIn.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.SignIn> list_ = new pbc::RepeatedField<global::Nova.Client.SignIn>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.SignIn> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_SignIn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_SignIn other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_SignIn other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Skill : pb::IMessage<Skill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Skill> _parser = new pb::MessageParser<Skill>(() => new Skill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Skill> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.ClientTableReflection.Descriptor.MessageTypes[356]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skill(Skill other) : this() { + id_ = other.id_; + title_ = other.title_; + fCPath_ = other.fCPath_; + type_ = other.type_; + desc_ = other.desc_; + icon_ = other.icon_; + skillCD_ = other.skillCD_; + maxLevel_ = other.maxLevel_; + relatedSkill_ = other.relatedSkill_; + sectionAmount_ = other.sectionAmount_; + useInterval_ = other.useInterval_; + useTimeHint_ = other.useTimeHint_; + ultraEnergy_ = other.ultraEnergy_; + checkCDRestore_ = other.checkCDRestore_; + forceRunFinish_ = other.forceRunFinish_; + getEnergyLimit_ = other.getEnergyLimit_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + param5_ = other.param5_; + param6_ = other.param6_; + param7_ = other.param7_; + param8_ = other.param8_; + param9_ = other.param9_; + param10_ = other.param10_; + isCleanSkillCD_ = other.isCleanSkillCD_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skill Clone() { + return new Skill(this); + } + + /// <summary>Field number for the "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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FCPath" field.</summary> + public const int FCPathFieldNumber = 3; + private string fCPath_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FCPath { + get { return fCPath_; } + set { + fCPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 4; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = 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 "SkillCD" field.</summary> + public const int SkillCDFieldNumber = 7; + private int skillCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillCD { + get { return skillCD_; } + set { + skillCD_ = value; + } + } + + /// <summary>Field number for the "MaxLevel" field.</summary> + public const int MaxLevelFieldNumber = 8; + private int maxLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxLevel { + get { return maxLevel_; } + set { + maxLevel_ = value; + } + } + + /// <summary>Field number for the "RelatedSkill" field.</summary> + public const int RelatedSkillFieldNumber = 9; + private string relatedSkill_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RelatedSkill { + get { return relatedSkill_; } + set { + relatedSkill_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SectionAmount" field.</summary> + public const int SectionAmountFieldNumber = 10; + private int sectionAmount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SectionAmount { + get { return sectionAmount_; } + set { + sectionAmount_ = value; + } + } + + /// <summary>Field number for the "UseInterval" field.</summary> + public const int UseIntervalFieldNumber = 11; + private int useInterval_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UseInterval { + get { return useInterval_; } + set { + useInterval_ = value; + } + } + + /// <summary>Field number for the "UseTimeHint" field.</summary> + public const int UseTimeHintFieldNumber = 12; + private int useTimeHint_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UseTimeHint { + get { return useTimeHint_; } + set { + useTimeHint_ = value; + } + } + + /// <summary>Field number for the "UltraEnergy" field.</summary> + public const int UltraEnergyFieldNumber = 13; + private int ultraEnergy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UltraEnergy { + get { return ultraEnergy_; } + set { + ultraEnergy_ = value; + } + } + + /// <summary>Field number for the "CheckCDRestore" field.</summary> + public const int CheckCDRestoreFieldNumber = 14; + private bool checkCDRestore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CheckCDRestore { + get { return checkCDRestore_; } + set { + checkCDRestore_ = value; + } + } + + /// <summary>Field number for the "ForceRunFinish" field.</summary> + public const int ForceRunFinishFieldNumber = 15; + private bool forceRunFinish_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ForceRunFinish { + get { return forceRunFinish_; } + set { + forceRunFinish_ = value; + } + } + + /// <summary>Field number for the "GetEnergyLimit" field.</summary> + public const int GetEnergyLimitFieldNumber = 16; + private int getEnergyLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GetEnergyLimit { + get { return getEnergyLimit_; } + set { + getEnergyLimit_ = value; + } + } + + /// <summary>Field number for the "Param1" field.</summary> + public const int Param1FieldNumber = 17; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 18; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 19; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 20; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 21; + private string param5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param5 { + get { return param5_; } + set { + param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 22; + private string param6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param6 { + get { return param6_; } + set { + param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param7" field.</summary> + public const int Param7FieldNumber = 23; + private string param7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param7 { + get { return param7_; } + set { + param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param8" field.</summary> + public const int Param8FieldNumber = 24; + private string param8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param8 { + get { return param8_; } + set { + param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param9" field.</summary> + public const int Param9FieldNumber = 25; + private string param9_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param9 { + get { return param9_; } + set { + param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param10" field.</summary> + public const int Param10FieldNumber = 26; + private string param10_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param10 { + get { return param10_; } + set { + param10_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IsCleanSkillCD" field.</summary> + public const int IsCleanSkillCDFieldNumber = 27; + private bool isCleanSkillCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsCleanSkillCD { + get { return isCleanSkillCD_; } + set { + isCleanSkillCD_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Skill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Skill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (FCPath != other.FCPath) return false; + if (Type != other.Type) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (SkillCD != other.SkillCD) return false; + if (MaxLevel != other.MaxLevel) return false; + if (RelatedSkill != other.RelatedSkill) return false; + if (SectionAmount != other.SectionAmount) return false; + if (UseInterval != other.UseInterval) return false; + if (UseTimeHint != other.UseTimeHint) return false; + if (UltraEnergy != other.UltraEnergy) return false; + if (CheckCDRestore != other.CheckCDRestore) return false; + if (ForceRunFinish != other.ForceRunFinish) return false; + if (GetEnergyLimit != other.GetEnergyLimit) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) return false; + if (Param5 != other.Param5) return false; + if (Param6 != other.Param6) return false; + if (Param7 != other.Param7) return false; + if (Param8 != other.Param8) return false; + if (Param9 != other.Param9) return false; + if (Param10 != other.Param10) return false; + if (IsCleanSkillCD != other.IsCleanSkillCD) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (FCPath.Length != 0) hash ^= FCPath.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (SkillCD != 0) hash ^= SkillCD.GetHashCode(); + if (MaxLevel != 0) hash ^= MaxLevel.GetHashCode(); + if (RelatedSkill.Length != 0) hash ^= RelatedSkill.GetHashCode(); + if (SectionAmount != 0) hash ^= SectionAmount.GetHashCode(); + if (UseInterval != 0) hash ^= UseInterval.GetHashCode(); + if (UseTimeHint != 0) hash ^= UseTimeHint.GetHashCode(); + if (UltraEnergy != 0) hash ^= UltraEnergy.GetHashCode(); + if (CheckCDRestore != false) hash ^= CheckCDRestore.GetHashCode(); + if (ForceRunFinish != false) hash ^= ForceRunFinish.GetHashCode(); + if (GetEnergyLimit != 0) hash ^= GetEnergyLimit.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.GetHashCode(); + if (Param5.Length != 0) hash ^= Param5.GetHashCode(); + if (Param6.Length != 0) hash ^= Param6.GetHashCode(); + if (Param7.Length != 0) hash ^= Param7.GetHashCode(); + if (Param8.Length != 0) hash ^= Param8.GetHashCode(); + if (Param9.Length != 0) hash ^= Param9.GetHashCode(); + if (Param10.Length != 0) hash ^= Param10.GetHashCode(); + if (IsCleanSkillCD != false) hash ^= IsCleanSkillCD.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (FCPath.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FCPath); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (Desc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Icon); + } + if (SkillCD != 0) { + output.WriteRawTag(56); + output.WriteInt32(SkillCD); + } + if (MaxLevel != 0) { + output.WriteRawTag(64); + output.WriteInt32(MaxLevel); + } + if (RelatedSkill.Length != 0) { + output.WriteRawTag(74); + output.WriteString(RelatedSkill); + } + if (SectionAmount != 0) { + output.WriteRawTag(80); + output.WriteInt32(SectionAmount); + } + if (UseInterval != 0) { + output.WriteRawTag(88); + output.WriteInt32(UseInterval); + } + if (UseTimeHint != 0) { + output.WriteRawTag(96); + output.WriteInt32(UseTimeHint); + } + if (UltraEnergy != 0) { + output.WriteRawTag(104); + output.WriteInt32(UltraEnergy); + } + if (CheckCDRestore != false) { + output.WriteRawTag(112); + output.WriteBool(CheckCDRestore); + } + if (ForceRunFinish != false) { + output.WriteRawTag(120); + output.WriteBool(ForceRunFinish); + } + if (GetEnergyLimit != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(GetEnergyLimit); + } + if (Param1.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Param10); + } + if (IsCleanSkillCD != false) { + output.WriteRawTag(216, 1); + output.WriteBool(IsCleanSkillCD); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (FCPath.Length != 0) { + output.WriteRawTag(26); + output.WriteString(FCPath); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (Desc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Icon); + } + if (SkillCD != 0) { + output.WriteRawTag(56); + output.WriteInt32(SkillCD); + } + if (MaxLevel != 0) { + output.WriteRawTag(64); + output.WriteInt32(MaxLevel); + } + if (RelatedSkill.Length != 0) { + output.WriteRawTag(74); + output.WriteString(RelatedSkill); + } + if (SectionAmount != 0) { + output.WriteRawTag(80); + output.WriteInt32(SectionAmount); + } + if (UseInterval != 0) { + output.WriteRawTag(88); + output.WriteInt32(UseInterval); + } + if (UseTimeHint != 0) { + output.WriteRawTag(96); + output.WriteInt32(UseTimeHint); + } + if (UltraEnergy != 0) { + output.WriteRawTag(104); + output.WriteInt32(UltraEnergy); + } + if (CheckCDRestore != false) { + output.WriteRawTag(112); + output.WriteBool(CheckCDRestore); + } + if (ForceRunFinish != false) { + output.WriteRawTag(120); + output.WriteBool(ForceRunFinish); + } + if (GetEnergyLimit != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(GetEnergyLimit); + } + if (Param1.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(210, 1); + output.WriteString(Param10); + } + if (IsCleanSkillCD != false) { + output.WriteRawTag(216, 1); + output.WriteBool(IsCleanSkillCD); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (FCPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FCPath); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (SkillCD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SkillCD); + } + if (MaxLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxLevel); + } + if (RelatedSkill.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RelatedSkill); + } + if (SectionAmount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SectionAmount); + } + if (UseInterval != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseInterval); + } + if (UseTimeHint != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UseTimeHint); + } + if (UltraEnergy != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UltraEnergy); + } + if (CheckCDRestore != false) { + size += 1 + 1; + } + if (ForceRunFinish != false) { + size += 1 + 1; + } + if (GetEnergyLimit != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(GetEnergyLimit); + } + if (Param1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (Param5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); + } + if (Param6.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); + } + if (Param7.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); + } + if (Param8.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); + } + if (Param9.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); + } + if (Param10.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); + } + if (IsCleanSkillCD != false) { + size += 2 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Skill other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.FCPath.Length != 0) { + FCPath = other.FCPath; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.SkillCD != 0) { + SkillCD = other.SkillCD; + } + if (other.MaxLevel != 0) { + MaxLevel = other.MaxLevel; + } + if (other.RelatedSkill.Length != 0) { + RelatedSkill = other.RelatedSkill; + } + if (other.SectionAmount != 0) { + SectionAmount = other.SectionAmount; + } + if (other.UseInterval != 0) { + UseInterval = other.UseInterval; + } + if (other.UseTimeHint != 0) { + UseTimeHint = other.UseTimeHint; + } + if (other.UltraEnergy != 0) { + UltraEnergy = other.UltraEnergy; + } + if (other.CheckCDRestore != false) { + CheckCDRestore = other.CheckCDRestore; + } + if (other.ForceRunFinish != false) { + ForceRunFinish = other.ForceRunFinish; + } + if (other.GetEnergyLimit != 0) { + GetEnergyLimit = other.GetEnergyLimit; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + if (other.Param5.Length != 0) { + Param5 = other.Param5; + } + if (other.Param6.Length != 0) { + Param6 = other.Param6; + } + if (other.Param7.Length != 0) { + Param7 = other.Param7; + } + if (other.Param8.Length != 0) { + Param8 = other.Param8; + } + if (other.Param9.Length != 0) { + Param9 = other.Param9; + } + if (other.Param10.Length != 0) { + Param10 = other.Param10; + } + if (other.IsCleanSkillCD != false) { + IsCleanSkillCD = other.IsCleanSkillCD; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + FCPath = input.ReadString(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Icon = input.ReadString(); + break; + } + case 56: { + SkillCD = input.ReadInt32(); + break; + } + case 64: { + MaxLevel = input.ReadInt32(); + break; + } + case 74: { + RelatedSkill = input.ReadString(); + break; + } + case 80: { + SectionAmount = input.ReadInt32(); + break; + } + case 88: { + UseInterval = input.ReadInt32(); + break; + } + case 96: { + UseTimeHint = input.ReadInt32(); + break; + } + case 104: { + UltraEnergy = input.ReadInt32(); + break; + } + case 112: { + CheckCDRestore = input.ReadBool(); + break; + } + case 120: { + ForceRunFinish = input.ReadBool(); + break; + } + case 128: { + GetEnergyLimit = input.ReadInt32(); + break; + } + case 138: { + Param1 = input.ReadString(); + break; + } + case 146: { + Param2 = input.ReadString(); + break; + } + case 154: { + Param3 = input.ReadString(); + break; + } + case 162: { + Param4 = input.ReadString(); + break; + } + case 170: { + Param5 = input.ReadString(); + break; + } + case 178: { + Param6 = input.ReadString(); + break; + } + case 186: { + Param7 = input.ReadString(); + break; + } + case 194: { + Param8 = input.ReadString(); + break; + } + case 202: { + Param9 = input.ReadString(); + break; + } + case 210: { + Param10 = input.ReadString(); + break; + } + case 216: { + IsCleanSkillCD = 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: { + Title = input.ReadString(); + break; + } + case 26: { + FCPath = input.ReadString(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Icon = input.ReadString(); + break; + } + case 56: { + SkillCD = input.ReadInt32(); + break; + } + case 64: { + MaxLevel = input.ReadInt32(); + break; + } + case 74: { + RelatedSkill = input.ReadString(); + break; + } + case 80: { + SectionAmount = input.ReadInt32(); + break; + } + case 88: { + UseInterval = input.ReadInt32(); + break; + } + case 96: { + UseTimeHint = input.ReadInt32(); + break; + } + case 104: { + UltraEnergy = input.ReadInt32(); + break; + } + case 112: { + CheckCDRestore = input.ReadBool(); + break; + } + case 120: { + ForceRunFinish = input.ReadBool(); + break; + } + case 128: { + GetEnergyLimit = input.ReadInt32(); + break; + } + case 138: { + Param1 = input.ReadString(); + break; + } + case 146: { + Param2 = input.ReadString(); + break; + } + case 154: { + Param3 = input.ReadString(); + break; + } + case 162: { + Param4 = input.ReadString(); + break; + } + case 170: { + Param5 = input.ReadString(); + break; + } + case 178: { + Param6 = input.ReadString(); + break; + } + case 186: { + Param7 = input.ReadString(); + break; + } + case 194: { + Param8 = input.ReadString(); + break; + } + case 202: { + Param9 = input.ReadString(); + break; + } + case 210: { + Param10 = input.ReadString(); + break; + } + case 216: { + IsCleanSkillCD = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Skill : pb::IMessage<table_Skill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Skill> _parser = new pb::MessageParser<table_Skill>(() => new table_Skill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Skill> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.ClientTableReflection.Descriptor.MessageTypes[357]; } + } + + [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 table_Skill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Skill(table_Skill other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Skill Clone() { + return new table_Skill(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Skill> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Skill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Skill> list_ = new pbc::RepeatedField<global::Nova.Client.Skill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Skill> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Skill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Skill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Skill other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SkillDamage : pb::IMessage<SkillDamage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SkillDamage> _parser = new pb::MessageParser<SkillDamage>(() => new SkillDamage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SkillDamage> 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.ClientTableReflection.Descriptor.MessageTypes[358]; } + } + + [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 SkillDamage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkillDamage(SkillDamage other) : this() { + id_ = other.id_; + lVDamage_ = other.lVDamage_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkillDamage Clone() { + return new SkillDamage(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 "LVDamage" field.</summary> + public const int LVDamageFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_lVDamage_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> lVDamage_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> LVDamage { + get { return lVDamage_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SkillDamage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SkillDamage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!lVDamage_.Equals(other.lVDamage_)) 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(); + hash ^= lVDamage_.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); + } + lVDamage_.WriteTo(output, _repeated_lVDamage_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); + } + lVDamage_.WriteTo(ref output, _repeated_lVDamage_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); + } + size += lVDamage_.CalculateSize(_repeated_lVDamage_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SkillDamage other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + lVDamage_.Add(other.lVDamage_); + _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: + case 16: { + lVDamage_.AddEntriesFrom(input, _repeated_lVDamage_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 18: + case 16: { + lVDamage_.AddEntriesFrom(ref input, _repeated_lVDamage_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_SkillDamage : pb::IMessage<table_SkillDamage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_SkillDamage> _parser = new pb::MessageParser<table_SkillDamage>(() => new table_SkillDamage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_SkillDamage> 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.ClientTableReflection.Descriptor.MessageTypes[359]; } + } + + [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 table_SkillDamage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_SkillDamage(table_SkillDamage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_SkillDamage Clone() { + return new table_SkillDamage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.SkillDamage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.SkillDamage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.SkillDamage> list_ = new pbc::RepeatedField<global::Nova.Client.SkillDamage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.SkillDamage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_SkillDamage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_SkillDamage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_SkillDamage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTower : pb::IMessage<StarTower> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTower> _parser = new pb::MessageParser<StarTower>(() => new StarTower()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTower> 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.ClientTableReflection.Descriptor.MessageTypes[360]; } + } + + [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 StarTower() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTower(StarTower other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + groupId_ = other.groupId_; + preConditions_ = other.preConditions_; + previewMonsterGroupId_ = other.previewMonsterGroupId_; + difficulty_ = other.difficulty_; + valueDifficulty_ = other.valueDifficulty_; + recommend_ = other.recommend_; + currencyId_ = other.currencyId_; + stageGroupIds_ = other.stageGroupIds_.Clone(); + floorNum_ = other.floorNum_.Clone(); + teamExpGroupId_ = other.teamExpGroupId_; + eET_ = other.eET_.Clone(); + notEET_ = other.notEET_.Clone(); + episode_ = other.episode_; + image_ = other.image_; + nPCId_ = other.nPCId_; + rewardPreview_ = other.rewardPreview_; + shopNpc_ = other.shopNpc_; + standShopNpc_ = other.standShopNpc_; + upgradeNpc_ = other.upgradeNpc_; + resqueNpc_ = other.resqueNpc_; + dangerNpc_ = other.dangerNpc_; + horrorNpc_ = other.horrorNpc_; + dangerEndEvent_ = other.dangerEndEvent_; + horrorEndEvent_ = other.horrorEndEvent_; + destructibleObjectType_ = other.destructibleObjectType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTower Clone() { + return new StarTower(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "GroupId" field.</summary> + public const int GroupIdFieldNumber = 4; + 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 "PreConditions" field.</summary> + public const int PreConditionsFieldNumber = 5; + private string preConditions_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PreConditions { + get { return preConditions_; } + set { + preConditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + public const int PreviewMonsterGroupIdFieldNumber = 6; + private int previewMonsterGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreviewMonsterGroupId { + get { return previewMonsterGroupId_; } + set { + previewMonsterGroupId_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + public const int DifficultyFieldNumber = 7; + private int difficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; + } + } + + /// <summary>Field number for the "ValueDifficulty" field.</summary> + public const int ValueDifficultyFieldNumber = 8; + private int valueDifficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ValueDifficulty { + get { return valueDifficulty_; } + set { + valueDifficulty_ = value; + } + } + + /// <summary>Field number for the "Recommend" field.</summary> + public const int RecommendFieldNumber = 9; + private int recommend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Recommend { + get { return recommend_; } + set { + recommend_ = value; + } + } + + /// <summary>Field number for the "CurrencyId" field.</summary> + public const int CurrencyIdFieldNumber = 10; + private int currencyId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrencyId { + get { return currencyId_; } + set { + currencyId_ = value; + } + } + + /// <summary>Field number for the "StageGroupIds" field.</summary> + public const int StageGroupIdsFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_stageGroupIds_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> stageGroupIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> StageGroupIds { + get { return stageGroupIds_; } + } + + /// <summary>Field number for the "FloorNum" field.</summary> + public const int FloorNumFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_floorNum_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> floorNum_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FloorNum { + get { return floorNum_; } + } + + /// <summary>Field number for the "TeamExpGroupId" field.</summary> + public const int TeamExpGroupIdFieldNumber = 13; + private int teamExpGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TeamExpGroupId { + get { return teamExpGroupId_; } + set { + teamExpGroupId_ = value; + } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + /// <summary>Field number for the "NotEET" field.</summary> + public const int NotEETFieldNumber = 15; + private static readonly pb::FieldCodec<int> _repeated_notEET_codec + = pb::FieldCodec.ForInt32(122); + private readonly pbc::RepeatedField<int> notEET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> NotEET { + get { return notEET_; } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 16; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Image" field.</summary> + public const int ImageFieldNumber = 17; + 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 "NPCId" field.</summary> + public const int NPCIdFieldNumber = 18; + private int nPCId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NPCId { + get { return nPCId_; } + set { + nPCId_ = value; + } + } + + /// <summary>Field number for the "RewardPreview" field.</summary> + public const int RewardPreviewFieldNumber = 19; + private string rewardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardPreview { + get { return rewardPreview_; } + set { + rewardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ShopNpc" field.</summary> + public const int ShopNpcFieldNumber = 20; + private int shopNpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShopNpc { + get { return shopNpc_; } + set { + shopNpc_ = value; + } + } + + /// <summary>Field number for the "StandShopNpc" field.</summary> + public const int StandShopNpcFieldNumber = 21; + private int standShopNpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StandShopNpc { + get { return standShopNpc_; } + set { + standShopNpc_ = value; + } + } + + /// <summary>Field number for the "UpgradeNpc" field.</summary> + public const int UpgradeNpcFieldNumber = 22; + private int upgradeNpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UpgradeNpc { + get { return upgradeNpc_; } + set { + upgradeNpc_ = value; + } + } + + /// <summary>Field number for the "ResqueNpc" field.</summary> + public const int ResqueNpcFieldNumber = 23; + private int resqueNpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ResqueNpc { + get { return resqueNpc_; } + set { + resqueNpc_ = value; + } + } + + /// <summary>Field number for the "DangerNpc" field.</summary> + public const int DangerNpcFieldNumber = 24; + private int dangerNpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DangerNpc { + get { return dangerNpc_; } + set { + dangerNpc_ = value; + } + } + + /// <summary>Field number for the "HorrorNpc" field.</summary> + public const int HorrorNpcFieldNumber = 25; + private int horrorNpc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HorrorNpc { + get { return horrorNpc_; } + set { + horrorNpc_ = value; + } + } + + /// <summary>Field number for the "DangerEndEvent" field.</summary> + public const int DangerEndEventFieldNumber = 26; + private int dangerEndEvent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DangerEndEvent { + get { return dangerEndEvent_; } + set { + dangerEndEvent_ = value; + } + } + + /// <summary>Field number for the "HorrorEndEvent" field.</summary> + public const int HorrorEndEventFieldNumber = 27; + private int horrorEndEvent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HorrorEndEvent { + get { return horrorEndEvent_; } + set { + horrorEndEvent_ = value; + } + } + + /// <summary>Field number for the "DestructibleObjectType" field.</summary> + public const int DestructibleObjectTypeFieldNumber = 28; + private int destructibleObjectType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DestructibleObjectType { + get { return destructibleObjectType_; } + set { + destructibleObjectType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTower); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTower 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 (Desc != other.Desc) return false; + if (GroupId != other.GroupId) return false; + if (PreConditions != other.PreConditions) return false; + if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; + if (Difficulty != other.Difficulty) return false; + if (ValueDifficulty != other.ValueDifficulty) return false; + if (Recommend != other.Recommend) return false; + if (CurrencyId != other.CurrencyId) return false; + if(!stageGroupIds_.Equals(other.stageGroupIds_)) return false; + if(!floorNum_.Equals(other.floorNum_)) return false; + if (TeamExpGroupId != other.TeamExpGroupId) return false; + if(!eET_.Equals(other.eET_)) return false; + if(!notEET_.Equals(other.notEET_)) return false; + if (Episode != other.Episode) return false; + if (Image != other.Image) return false; + if (NPCId != other.NPCId) return false; + if (RewardPreview != other.RewardPreview) return false; + if (ShopNpc != other.ShopNpc) return false; + if (StandShopNpc != other.StandShopNpc) return false; + if (UpgradeNpc != other.UpgradeNpc) return false; + if (ResqueNpc != other.ResqueNpc) return false; + if (DangerNpc != other.DangerNpc) return false; + if (HorrorNpc != other.HorrorNpc) return false; + if (DangerEndEvent != other.DangerEndEvent) return false; + if (HorrorEndEvent != other.HorrorEndEvent) return false; + if (DestructibleObjectType != other.DestructibleObjectType) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (PreConditions.Length != 0) hash ^= PreConditions.GetHashCode(); + if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (ValueDifficulty != 0) hash ^= ValueDifficulty.GetHashCode(); + if (Recommend != 0) hash ^= Recommend.GetHashCode(); + if (CurrencyId != 0) hash ^= CurrencyId.GetHashCode(); + hash ^= stageGroupIds_.GetHashCode(); + hash ^= floorNum_.GetHashCode(); + if (TeamExpGroupId != 0) hash ^= TeamExpGroupId.GetHashCode(); + hash ^= eET_.GetHashCode(); + hash ^= notEET_.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Image.Length != 0) hash ^= Image.GetHashCode(); + if (NPCId != 0) hash ^= NPCId.GetHashCode(); + if (RewardPreview.Length != 0) hash ^= RewardPreview.GetHashCode(); + if (ShopNpc != 0) hash ^= ShopNpc.GetHashCode(); + if (StandShopNpc != 0) hash ^= StandShopNpc.GetHashCode(); + if (UpgradeNpc != 0) hash ^= UpgradeNpc.GetHashCode(); + if (ResqueNpc != 0) hash ^= ResqueNpc.GetHashCode(); + if (DangerNpc != 0) hash ^= DangerNpc.GetHashCode(); + if (HorrorNpc != 0) hash ^= HorrorNpc.GetHashCode(); + if (DangerEndEvent != 0) hash ^= DangerEndEvent.GetHashCode(); + if (HorrorEndEvent != 0) hash ^= HorrorEndEvent.GetHashCode(); + if (DestructibleObjectType != 0) hash ^= DestructibleObjectType.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (GroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(GroupId); + } + if (PreConditions.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PreConditions); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(48); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Difficulty != 0) { + output.WriteRawTag(56); + output.WriteInt32(Difficulty); + } + if (ValueDifficulty != 0) { + output.WriteRawTag(64); + output.WriteInt32(ValueDifficulty); + } + if (Recommend != 0) { + output.WriteRawTag(72); + output.WriteInt32(Recommend); + } + if (CurrencyId != 0) { + output.WriteRawTag(80); + output.WriteInt32(CurrencyId); + } + stageGroupIds_.WriteTo(output, _repeated_stageGroupIds_codec); + floorNum_.WriteTo(output, _repeated_floorNum_codec); + if (TeamExpGroupId != 0) { + output.WriteRawTag(104); + output.WriteInt32(TeamExpGroupId); + } + eET_.WriteTo(output, _repeated_eET_codec); + notEET_.WriteTo(output, _repeated_notEET_codec); + if (Episode.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Image); + } + if (NPCId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NPCId); + } + if (RewardPreview.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(RewardPreview); + } + if (ShopNpc != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(ShopNpc); + } + if (StandShopNpc != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(StandShopNpc); + } + if (UpgradeNpc != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(UpgradeNpc); + } + if (ResqueNpc != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ResqueNpc); + } + if (DangerNpc != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(DangerNpc); + } + if (HorrorNpc != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(HorrorNpc); + } + if (DangerEndEvent != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(DangerEndEvent); + } + if (HorrorEndEvent != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(HorrorEndEvent); + } + if (DestructibleObjectType != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(DestructibleObjectType); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (GroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(GroupId); + } + if (PreConditions.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PreConditions); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(48); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Difficulty != 0) { + output.WriteRawTag(56); + output.WriteInt32(Difficulty); + } + if (ValueDifficulty != 0) { + output.WriteRawTag(64); + output.WriteInt32(ValueDifficulty); + } + if (Recommend != 0) { + output.WriteRawTag(72); + output.WriteInt32(Recommend); + } + if (CurrencyId != 0) { + output.WriteRawTag(80); + output.WriteInt32(CurrencyId); + } + stageGroupIds_.WriteTo(ref output, _repeated_stageGroupIds_codec); + floorNum_.WriteTo(ref output, _repeated_floorNum_codec); + if (TeamExpGroupId != 0) { + output.WriteRawTag(104); + output.WriteInt32(TeamExpGroupId); + } + eET_.WriteTo(ref output, _repeated_eET_codec); + notEET_.WriteTo(ref output, _repeated_notEET_codec); + if (Episode.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Image); + } + if (NPCId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(NPCId); + } + if (RewardPreview.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(RewardPreview); + } + if (ShopNpc != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(ShopNpc); + } + if (StandShopNpc != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(StandShopNpc); + } + if (UpgradeNpc != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(UpgradeNpc); + } + if (ResqueNpc != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(ResqueNpc); + } + if (DangerNpc != 0) { + output.WriteRawTag(192, 1); + output.WriteInt32(DangerNpc); + } + if (HorrorNpc != 0) { + output.WriteRawTag(200, 1); + output.WriteInt32(HorrorNpc); + } + if (DangerEndEvent != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(DangerEndEvent); + } + if (HorrorEndEvent != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(HorrorEndEvent); + } + if (DestructibleObjectType != 0) { + output.WriteRawTag(224, 1); + output.WriteInt32(DestructibleObjectType); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (PreConditions.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PreConditions); + } + if (PreviewMonsterGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + } + if (ValueDifficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ValueDifficulty); + } + if (Recommend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Recommend); + } + if (CurrencyId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrencyId); + } + size += stageGroupIds_.CalculateSize(_repeated_stageGroupIds_codec); + size += floorNum_.CalculateSize(_repeated_floorNum_codec); + if (TeamExpGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TeamExpGroupId); + } + size += eET_.CalculateSize(_repeated_eET_codec); + size += notEET_.CalculateSize(_repeated_notEET_codec); + if (Episode.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Image.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Image); + } + if (NPCId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NPCId); + } + if (RewardPreview.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RewardPreview); + } + if (ShopNpc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ShopNpc); + } + if (StandShopNpc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(StandShopNpc); + } + if (UpgradeNpc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(UpgradeNpc); + } + if (ResqueNpc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ResqueNpc); + } + if (DangerNpc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DangerNpc); + } + if (HorrorNpc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HorrorNpc); + } + if (DangerEndEvent != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DangerEndEvent); + } + if (HorrorEndEvent != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(HorrorEndEvent); + } + if (DestructibleObjectType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DestructibleObjectType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTower other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.PreConditions.Length != 0) { + PreConditions = other.PreConditions; + } + if (other.PreviewMonsterGroupId != 0) { + PreviewMonsterGroupId = other.PreviewMonsterGroupId; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.ValueDifficulty != 0) { + ValueDifficulty = other.ValueDifficulty; + } + if (other.Recommend != 0) { + Recommend = other.Recommend; + } + if (other.CurrencyId != 0) { + CurrencyId = other.CurrencyId; + } + stageGroupIds_.Add(other.stageGroupIds_); + floorNum_.Add(other.floorNum_); + if (other.TeamExpGroupId != 0) { + TeamExpGroupId = other.TeamExpGroupId; + } + eET_.Add(other.eET_); + notEET_.Add(other.notEET_); + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Image.Length != 0) { + Image = other.Image; + } + if (other.NPCId != 0) { + NPCId = other.NPCId; + } + if (other.RewardPreview.Length != 0) { + RewardPreview = other.RewardPreview; + } + if (other.ShopNpc != 0) { + ShopNpc = other.ShopNpc; + } + if (other.StandShopNpc != 0) { + StandShopNpc = other.StandShopNpc; + } + if (other.UpgradeNpc != 0) { + UpgradeNpc = other.UpgradeNpc; + } + if (other.ResqueNpc != 0) { + ResqueNpc = other.ResqueNpc; + } + if (other.DangerNpc != 0) { + DangerNpc = other.DangerNpc; + } + if (other.HorrorNpc != 0) { + HorrorNpc = other.HorrorNpc; + } + if (other.DangerEndEvent != 0) { + DangerEndEvent = other.DangerEndEvent; + } + if (other.HorrorEndEvent != 0) { + HorrorEndEvent = other.HorrorEndEvent; + } + if (other.DestructibleObjectType != 0) { + DestructibleObjectType = other.DestructibleObjectType; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + GroupId = input.ReadInt32(); + break; + } + case 42: { + PreConditions = input.ReadString(); + break; + } + case 48: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 56: { + Difficulty = input.ReadInt32(); + break; + } + case 64: { + ValueDifficulty = input.ReadInt32(); + break; + } + case 72: { + Recommend = input.ReadInt32(); + break; + } + case 80: { + CurrencyId = input.ReadInt32(); + break; + } + case 90: + case 88: { + stageGroupIds_.AddEntriesFrom(input, _repeated_stageGroupIds_codec); + break; + } + case 98: + case 96: { + floorNum_.AddEntriesFrom(input, _repeated_floorNum_codec); + break; + } + case 104: { + TeamExpGroupId = input.ReadInt32(); + break; + } + case 114: + case 112: { + eET_.AddEntriesFrom(input, _repeated_eET_codec); + break; + } + case 122: + case 120: { + notEET_.AddEntriesFrom(input, _repeated_notEET_codec); + break; + } + case 130: { + Episode = input.ReadString(); + break; + } + case 138: { + Image = input.ReadString(); + break; + } + case 144: { + NPCId = input.ReadInt32(); + break; + } + case 154: { + RewardPreview = input.ReadString(); + break; + } + case 160: { + ShopNpc = input.ReadInt32(); + break; + } + case 168: { + StandShopNpc = input.ReadInt32(); + break; + } + case 176: { + UpgradeNpc = input.ReadInt32(); + break; + } + case 184: { + ResqueNpc = input.ReadInt32(); + break; + } + case 192: { + DangerNpc = input.ReadInt32(); + break; + } + case 200: { + HorrorNpc = input.ReadInt32(); + break; + } + case 208: { + DangerEndEvent = input.ReadInt32(); + break; + } + case 216: { + HorrorEndEvent = input.ReadInt32(); + break; + } + case 224: { + DestructibleObjectType = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + GroupId = input.ReadInt32(); + break; + } + case 42: { + PreConditions = input.ReadString(); + break; + } + case 48: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 56: { + Difficulty = input.ReadInt32(); + break; + } + case 64: { + ValueDifficulty = input.ReadInt32(); + break; + } + case 72: { + Recommend = input.ReadInt32(); + break; + } + case 80: { + CurrencyId = input.ReadInt32(); + break; + } + case 90: + case 88: { + stageGroupIds_.AddEntriesFrom(ref input, _repeated_stageGroupIds_codec); + break; + } + case 98: + case 96: { + floorNum_.AddEntriesFrom(ref input, _repeated_floorNum_codec); + break; + } + case 104: { + TeamExpGroupId = input.ReadInt32(); + break; + } + case 114: + case 112: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + case 122: + case 120: { + notEET_.AddEntriesFrom(ref input, _repeated_notEET_codec); + break; + } + case 130: { + Episode = input.ReadString(); + break; + } + case 138: { + Image = input.ReadString(); + break; + } + case 144: { + NPCId = input.ReadInt32(); + break; + } + case 154: { + RewardPreview = input.ReadString(); + break; + } + case 160: { + ShopNpc = input.ReadInt32(); + break; + } + case 168: { + StandShopNpc = input.ReadInt32(); + break; + } + case 176: { + UpgradeNpc = input.ReadInt32(); + break; + } + case 184: { + ResqueNpc = input.ReadInt32(); + break; + } + case 192: { + DangerNpc = input.ReadInt32(); + break; + } + case 200: { + HorrorNpc = input.ReadInt32(); + break; + } + case 208: { + DangerEndEvent = input.ReadInt32(); + break; + } + case 216: { + HorrorEndEvent = input.ReadInt32(); + break; + } + case 224: { + DestructibleObjectType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTower : pb::IMessage<table_StarTower> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTower> _parser = new pb::MessageParser<table_StarTower>(() => new table_StarTower()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTower> 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.ClientTableReflection.Descriptor.MessageTypes[361]; } + } + + [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 table_StarTower() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTower(table_StarTower other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTower Clone() { + return new table_StarTower(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTower> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTower.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTower> list_ = new pbc::RepeatedField<global::Nova.Client.StarTower>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTower> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTower); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTower other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTower other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBattleThreshold : pb::IMessage<StarTowerBattleThreshold> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBattleThreshold> _parser = new pb::MessageParser<StarTowerBattleThreshold>(() => new StarTowerBattleThreshold()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBattleThreshold> 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.ClientTableReflection.Descriptor.MessageTypes[362]; } + } + + [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 StarTowerBattleThreshold() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBattleThreshold(StarTowerBattleThreshold other) : this() { + missionId_ = other.missionId_; + version_ = other.version_; + fromSrcAtk_ = other.fromSrcAtk_; + fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; + fromSlotDmgRatio_ = other.fromSlotDmgRatio_; + fromEE_ = other.fromEE_; + fromGenDmgRatio_ = other.fromGenDmgRatio_; + fromDmgPlus_ = other.fromDmgPlus_; + fromCritRatio_ = other.fromCritRatio_; + fromFinalDmgRatio_ = other.fromFinalDmgRatio_; + fromFinalDmgPlus_ = other.fromFinalDmgPlus_; + toErAmend_ = other.toErAmend_; + toDefAmend_ = other.toDefAmend_; + toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; + toEERCD_ = other.toEERCD_; + toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; + toDmgPlusRcd_ = other.toDmgPlusRcd_; + dmg_ = other.dmg_; + critRate_ = other.critRate_; + hp_ = other.hp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBattleThreshold Clone() { + return new StarTowerBattleThreshold(this); + } + + /// <summary>Field number for the "MissionId" field.</summary> + public const int MissionIdFieldNumber = 1; + private int missionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MissionId { + get { return missionId_; } + set { + missionId_ = value; + } + } + + /// <summary>Field number for the "Version" field.</summary> + public const int VersionFieldNumber = 2; + private int version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Version { + get { return version_; } + set { + version_ = value; + } + } + + /// <summary>Field number for the "fromSrcAtk" field.</summary> + public const int FromSrcAtkFieldNumber = 3; + private int fromSrcAtk_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSrcAtk { + get { return fromSrcAtk_; } + set { + fromSrcAtk_ = value; + } + } + + /// <summary>Field number for the "fromPerkIntensityRatio" field.</summary> + public const int FromPerkIntensityRatioFieldNumber = 4; + private int fromPerkIntensityRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromPerkIntensityRatio { + get { return fromPerkIntensityRatio_; } + set { + fromPerkIntensityRatio_ = value; + } + } + + /// <summary>Field number for the "fromSlotDmgRatio" field.</summary> + public const int FromSlotDmgRatioFieldNumber = 5; + private int fromSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSlotDmgRatio { + get { return fromSlotDmgRatio_; } + set { + fromSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromEE" field.</summary> + public const int FromEEFieldNumber = 6; + private int fromEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromEE { + get { return fromEE_; } + set { + fromEE_ = value; + } + } + + /// <summary>Field number for the "fromGenDmgRatio" field.</summary> + public const int FromGenDmgRatioFieldNumber = 7; + private int fromGenDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromGenDmgRatio { + get { return fromGenDmgRatio_; } + set { + fromGenDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromDmgPlus" field.</summary> + public const int FromDmgPlusFieldNumber = 8; + private int fromDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromDmgPlus { + get { return fromDmgPlus_; } + set { + fromDmgPlus_ = value; + } + } + + /// <summary>Field number for the "fromCritRatio" field.</summary> + public const int FromCritRatioFieldNumber = 9; + private int fromCritRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromCritRatio { + get { return fromCritRatio_; } + set { + fromCritRatio_ = value; + } + } + + /// <summary>Field number for the "fromFinalDmgRatio" field.</summary> + public const int FromFinalDmgRatioFieldNumber = 10; + private int fromFinalDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgRatio { + get { return fromFinalDmgRatio_; } + set { + fromFinalDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromFinalDmgPlus" field.</summary> + public const int FromFinalDmgPlusFieldNumber = 11; + private int fromFinalDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgPlus { + get { return fromFinalDmgPlus_; } + set { + fromFinalDmgPlus_ = value; + } + } + + /// <summary>Field number for the "toErAmend" field.</summary> + public const int ToErAmendFieldNumber = 12; + private int toErAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToErAmend { + get { return toErAmend_; } + set { + toErAmend_ = value; + } + } + + /// <summary>Field number for the "toDefAmend" field.</summary> + public const int ToDefAmendFieldNumber = 13; + private int toDefAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToDefAmend { + get { return toDefAmend_; } + set { + toDefAmend_ = value; + } + } + + /// <summary>Field number for the "toRcdSlotDmgRatio" field.</summary> + public const int ToRcdSlotDmgRatioFieldNumber = 14; + private int toRcdSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToRcdSlotDmgRatio { + get { return toRcdSlotDmgRatio_; } + set { + toRcdSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "toEERCD" field.</summary> + public const int ToEERCDFieldNumber = 15; + private int toEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToEERCD { + get { return toEERCD_; } + set { + toEERCD_ = value; + } + } + + /// <summary>Field number for the "toGenDmgRcdRatio" field.</summary> + public const int ToGenDmgRcdRatioFieldNumber = 16; + private int toGenDmgRcdRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToGenDmgRcdRatio { + get { return toGenDmgRcdRatio_; } + set { + toGenDmgRcdRatio_ = value; + } + } + + /// <summary>Field number for the "toDmgPlusRcd" field.</summary> + public const int ToDmgPlusRcdFieldNumber = 17; + private int toDmgPlusRcd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToDmgPlusRcd { + get { return toDmgPlusRcd_; } + set { + toDmgPlusRcd_ = value; + } + } + + /// <summary>Field number for the "Dmg" field.</summary> + public const int DmgFieldNumber = 18; + private int dmg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Dmg { + get { return dmg_; } + set { + dmg_ = value; + } + } + + /// <summary>Field number for the "CritRate" field.</summary> + public const int CritRateFieldNumber = 19; + private int critRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritRate { + get { return critRate_; } + set { + critRate_ = value; + } + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 20; + private int hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBattleThreshold); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBattleThreshold other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MissionId != other.MissionId) return false; + if (Version != other.Version) return false; + if (FromSrcAtk != other.FromSrcAtk) return false; + if (FromPerkIntensityRatio != other.FromPerkIntensityRatio) return false; + if (FromSlotDmgRatio != other.FromSlotDmgRatio) return false; + if (FromEE != other.FromEE) return false; + if (FromGenDmgRatio != other.FromGenDmgRatio) return false; + if (FromDmgPlus != other.FromDmgPlus) return false; + if (FromCritRatio != other.FromCritRatio) return false; + if (FromFinalDmgRatio != other.FromFinalDmgRatio) return false; + if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; + if (ToErAmend != other.ToErAmend) return false; + if (ToDefAmend != other.ToDefAmend) return false; + if (ToRcdSlotDmgRatio != other.ToRcdSlotDmgRatio) return false; + if (ToEERCD != other.ToEERCD) return false; + if (ToGenDmgRcdRatio != other.ToGenDmgRcdRatio) return false; + if (ToDmgPlusRcd != other.ToDmgPlusRcd) return false; + if (Dmg != other.Dmg) return false; + if (CritRate != other.CritRate) return false; + if (Hp != other.Hp) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); + if (FromPerkIntensityRatio != 0) hash ^= FromPerkIntensityRatio.GetHashCode(); + if (FromSlotDmgRatio != 0) hash ^= FromSlotDmgRatio.GetHashCode(); + if (FromEE != 0) hash ^= FromEE.GetHashCode(); + if (FromGenDmgRatio != 0) hash ^= FromGenDmgRatio.GetHashCode(); + if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); + if (FromCritRatio != 0) hash ^= FromCritRatio.GetHashCode(); + if (FromFinalDmgRatio != 0) hash ^= FromFinalDmgRatio.GetHashCode(); + if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); + if (ToErAmend != 0) hash ^= ToErAmend.GetHashCode(); + if (ToDefAmend != 0) hash ^= ToDefAmend.GetHashCode(); + if (ToRcdSlotDmgRatio != 0) hash ^= ToRcdSlotDmgRatio.GetHashCode(); + if (ToEERCD != 0) hash ^= ToEERCD.GetHashCode(); + if (ToGenDmgRcdRatio != 0) hash ^= ToGenDmgRcdRatio.GetHashCode(); + if (ToDmgPlusRcd != 0) hash ^= ToDmgPlusRcd.GetHashCode(); + if (Dmg != 0) hash ^= Dmg.GetHashCode(); + if (CritRate != 0) hash ^= CritRate.GetHashCode(); + if (Hp != 0) hash ^= Hp.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 (MissionId != 0) { + output.WriteRawTag(8); + output.WriteInt32(MissionId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); + } + if (FromSrcAtk != 0) { + output.WriteRawTag(24); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + output.WriteRawTag(32); + output.WriteInt32(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + output.WriteRawTag(40); + output.WriteInt32(FromSlotDmgRatio); + } + if (FromEE != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromEE); + } + if (FromGenDmgRatio != 0) { + output.WriteRawTag(56); + output.WriteInt32(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(64); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(88); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + output.WriteRawTag(96); + output.WriteInt32(ToErAmend); + } + if (ToDefAmend != 0) { + output.WriteRawTag(104); + output.WriteInt32(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + output.WriteRawTag(120); + output.WriteInt32(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Hp); + } + 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 (MissionId != 0) { + output.WriteRawTag(8); + output.WriteInt32(MissionId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); + } + if (FromSrcAtk != 0) { + output.WriteRawTag(24); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + output.WriteRawTag(32); + output.WriteInt32(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + output.WriteRawTag(40); + output.WriteInt32(FromSlotDmgRatio); + } + if (FromEE != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromEE); + } + if (FromGenDmgRatio != 0) { + output.WriteRawTag(56); + output.WriteInt32(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(64); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(88); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + output.WriteRawTag(96); + output.WriteInt32(ToErAmend); + } + if (ToDefAmend != 0) { + output.WriteRawTag(104); + output.WriteInt32(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + output.WriteRawTag(120); + output.WriteInt32(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Hp); + } + 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 (MissionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); + } + if (FromSrcAtk != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSlotDmgRatio); + } + if (FromEE != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromEE); + } + if (FromGenDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); + } + if (FromCritRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToErAmend); + } + if (ToDefAmend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToDmgPlusRcd); + } + if (Dmg != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); + } + if (CritRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritRate); + } + if (Hp != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBattleThreshold other) { + if (other == null) { + return; + } + if (other.MissionId != 0) { + MissionId = other.MissionId; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.FromSrcAtk != 0) { + FromSrcAtk = other.FromSrcAtk; + } + if (other.FromPerkIntensityRatio != 0) { + FromPerkIntensityRatio = other.FromPerkIntensityRatio; + } + if (other.FromSlotDmgRatio != 0) { + FromSlotDmgRatio = other.FromSlotDmgRatio; + } + if (other.FromEE != 0) { + FromEE = other.FromEE; + } + if (other.FromGenDmgRatio != 0) { + FromGenDmgRatio = other.FromGenDmgRatio; + } + if (other.FromDmgPlus != 0) { + FromDmgPlus = other.FromDmgPlus; + } + if (other.FromCritRatio != 0) { + FromCritRatio = other.FromCritRatio; + } + if (other.FromFinalDmgRatio != 0) { + FromFinalDmgRatio = other.FromFinalDmgRatio; + } + if (other.FromFinalDmgPlus != 0) { + FromFinalDmgPlus = other.FromFinalDmgPlus; + } + if (other.ToErAmend != 0) { + ToErAmend = other.ToErAmend; + } + if (other.ToDefAmend != 0) { + ToDefAmend = other.ToDefAmend; + } + if (other.ToRcdSlotDmgRatio != 0) { + ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; + } + if (other.ToEERCD != 0) { + ToEERCD = other.ToEERCD; + } + if (other.ToGenDmgRcdRatio != 0) { + ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; + } + if (other.ToDmgPlusRcd != 0) { + ToDmgPlusRcd = other.ToDmgPlusRcd; + } + if (other.Dmg != 0) { + Dmg = other.Dmg; + } + if (other.CritRate != 0) { + CritRate = other.CritRate; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + _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: { + MissionId = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 32: { + FromPerkIntensityRatio = input.ReadInt32(); + break; + } + case 40: { + FromSlotDmgRatio = input.ReadInt32(); + break; + } + case 48: { + FromEE = input.ReadInt32(); + break; + } + case 56: { + FromGenDmgRatio = input.ReadInt32(); + break; + } + case 64: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 72: { + FromCritRatio = input.ReadInt32(); + break; + } + case 80: { + FromFinalDmgRatio = input.ReadInt32(); + break; + } + case 88: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 96: { + ToErAmend = input.ReadInt32(); + break; + } + case 104: { + ToDefAmend = input.ReadInt32(); + break; + } + case 112: { + ToRcdSlotDmgRatio = input.ReadInt32(); + break; + } + case 120: { + ToEERCD = input.ReadInt32(); + break; + } + case 128: { + ToGenDmgRcdRatio = input.ReadInt32(); + break; + } + case 136: { + ToDmgPlusRcd = input.ReadInt32(); + break; + } + case 144: { + Dmg = input.ReadInt32(); + break; + } + case 152: { + CritRate = input.ReadInt32(); + break; + } + case 160: { + Hp = 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: { + MissionId = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 32: { + FromPerkIntensityRatio = input.ReadInt32(); + break; + } + case 40: { + FromSlotDmgRatio = input.ReadInt32(); + break; + } + case 48: { + FromEE = input.ReadInt32(); + break; + } + case 56: { + FromGenDmgRatio = input.ReadInt32(); + break; + } + case 64: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 72: { + FromCritRatio = input.ReadInt32(); + break; + } + case 80: { + FromFinalDmgRatio = input.ReadInt32(); + break; + } + case 88: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 96: { + ToErAmend = input.ReadInt32(); + break; + } + case 104: { + ToDefAmend = input.ReadInt32(); + break; + } + case 112: { + ToRcdSlotDmgRatio = input.ReadInt32(); + break; + } + case 120: { + ToEERCD = input.ReadInt32(); + break; + } + case 128: { + ToGenDmgRcdRatio = input.ReadInt32(); + break; + } + case 136: { + ToDmgPlusRcd = input.ReadInt32(); + break; + } + case 144: { + Dmg = input.ReadInt32(); + break; + } + case 152: { + CritRate = input.ReadInt32(); + break; + } + case 160: { + Hp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBattleThreshold : pb::IMessage<table_StarTowerBattleThreshold> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBattleThreshold> _parser = new pb::MessageParser<table_StarTowerBattleThreshold>(() => new table_StarTowerBattleThreshold()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBattleThreshold> 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.ClientTableReflection.Descriptor.MessageTypes[363]; } + } + + [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 table_StarTowerBattleThreshold() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBattleThreshold(table_StarTowerBattleThreshold other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBattleThreshold Clone() { + return new table_StarTowerBattleThreshold(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBattleThreshold> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBattleThreshold.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBattleThreshold> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBattleThreshold>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBattleThreshold> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBattleThreshold); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBattleThreshold other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBattleThreshold other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookEntrance : pb::IMessage<StarTowerBookEntrance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookEntrance> _parser = new pb::MessageParser<StarTowerBookEntrance>(() => new StarTowerBookEntrance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookEntrance> 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.ClientTableReflection.Descriptor.MessageTypes[364]; } + } + + [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 StarTowerBookEntrance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEntrance(StarTowerBookEntrance other) : this() { + id_ = other.id_; + icon_ = other.icon_; + position_ = other.position_; + desc_ = other.desc_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEntrance Clone() { + return new StarTowerBookEntrance(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 "Icon" field.</summary> + public const int IconFieldNumber = 2; + 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 "Position" field.</summary> + public const int PositionFieldNumber = 3; + private string position_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Position { + get { return position_; } + set { + position_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBookEntrance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookEntrance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Icon != other.Icon) return false; + if (Position != other.Position) return false; + if (Desc != other.Desc) 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 (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Position.Length != 0) hash ^= Position.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.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 (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + if (Position.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Position); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + 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 (Icon.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Icon); + } + if (Position.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Position); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + 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 (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Position.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Position); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookEntrance other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Position.Length != 0) { + Position = other.Position; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + _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: { + Icon = input.ReadString(); + break; + } + case 26: { + Position = input.ReadString(); + break; + } + case 34: { + Desc = 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 18: { + Icon = input.ReadString(); + break; + } + case 26: { + Position = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBookEntrance : pb::IMessage<table_StarTowerBookEntrance> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBookEntrance> _parser = new pb::MessageParser<table_StarTowerBookEntrance>(() => new table_StarTowerBookEntrance()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBookEntrance> 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.ClientTableReflection.Descriptor.MessageTypes[365]; } + } + + [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 table_StarTowerBookEntrance() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookEntrance(table_StarTowerBookEntrance other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookEntrance Clone() { + return new table_StarTowerBookEntrance(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookEntrance> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookEntrance.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookEntrance> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookEntrance>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBookEntrance> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBookEntrance); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBookEntrance other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBookEntrance other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookEventReward : pb::IMessage<StarTowerBookEventReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookEventReward> _parser = new pb::MessageParser<StarTowerBookEventReward>(() => new StarTowerBookEventReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookEventReward> 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.ClientTableReflection.Descriptor.MessageTypes[366]; } + } + + [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 StarTowerBookEventReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventReward(StarTowerBookEventReward other) : this() { + id_ = other.id_; + name_ = other.name_; + story_ = other.story_; + nPCId_ = other.nPCId_; + sort_ = other.sort_; + source_ = other.source_; + itemId_ = other.itemId_; + itemQty_ = other.itemQty_; + isBanned_ = other.isBanned_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookEventReward Clone() { + return new StarTowerBookEventReward(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 "Story" field.</summary> + public const int StoryFieldNumber = 3; + private string story_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Story { + get { return story_; } + set { + story_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NPCId" field.</summary> + public const int NPCIdFieldNumber = 4; + private int nPCId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NPCId { + get { return nPCId_; } + set { + nPCId_ = value; + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 5; + 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 "Source" field.</summary> + public const int SourceFieldNumber = 6; + private string source_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Source { + get { return source_; } + set { + source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 7; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemQty" field.</summary> + public const int ItemQtyFieldNumber = 8; + private int itemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty { + get { return itemQty_; } + set { + itemQty_ = value; + } + } + + /// <summary>Field number for the "IsBanned" field.</summary> + public const int IsBannedFieldNumber = 9; + private bool isBanned_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBanned { + get { return isBanned_; } + set { + isBanned_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBookEventReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookEventReward 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 (Story != other.Story) return false; + if (NPCId != other.NPCId) return false; + if (Sort != other.Sort) return false; + if (Source != other.Source) return false; + if (ItemId != other.ItemId) return false; + if (ItemQty != other.ItemQty) return false; + if (IsBanned != other.IsBanned) 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 (Story.Length != 0) hash ^= Story.GetHashCode(); + if (NPCId != 0) hash ^= NPCId.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (Source.Length != 0) hash ^= Source.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemQty != 0) hash ^= ItemQty.GetHashCode(); + if (IsBanned != false) hash ^= IsBanned.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 (Story.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Story); + } + if (NPCId != 0) { + output.WriteRawTag(32); + output.WriteInt32(NPCId); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (ItemId != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(64); + output.WriteInt32(ItemQty); + } + if (IsBanned != false) { + output.WriteRawTag(72); + output.WriteBool(IsBanned); + } + 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 (Story.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Story); + } + if (NPCId != 0) { + output.WriteRawTag(32); + output.WriteInt32(NPCId); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + if (Source.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Source); + } + if (ItemId != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(64); + output.WriteInt32(ItemQty); + } + if (IsBanned != false) { + output.WriteRawTag(72); + output.WriteBool(IsBanned); + } + 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 (Story.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Story); + } + if (NPCId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NPCId); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Source.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + } + if (IsBanned != 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(StarTowerBookEventReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Story.Length != 0) { + Story = other.Story; + } + if (other.NPCId != 0) { + NPCId = other.NPCId; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Source.Length != 0) { + Source = other.Source; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemQty != 0) { + ItemQty = other.ItemQty; + } + if (other.IsBanned != false) { + IsBanned = other.IsBanned; + } + _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 26: { + Story = input.ReadString(); + break; + } + case 32: { + NPCId = input.ReadInt32(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + case 56: { + ItemId = input.ReadInt32(); + break; + } + case 64: { + ItemQty = input.ReadInt32(); + break; + } + case 72: { + IsBanned = 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 26: { + Story = input.ReadString(); + break; + } + case 32: { + NPCId = input.ReadInt32(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + case 50: { + Source = input.ReadString(); + break; + } + case 56: { + ItemId = input.ReadInt32(); + break; + } + case 64: { + ItemQty = input.ReadInt32(); + break; + } + case 72: { + IsBanned = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBookEventReward : pb::IMessage<table_StarTowerBookEventReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBookEventReward> _parser = new pb::MessageParser<table_StarTowerBookEventReward>(() => new table_StarTowerBookEventReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBookEventReward> 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.ClientTableReflection.Descriptor.MessageTypes[367]; } + } + + [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 table_StarTowerBookEventReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookEventReward(table_StarTowerBookEventReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookEventReward Clone() { + return new table_StarTowerBookEventReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookEventReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookEventReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookEventReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookEventReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBookEventReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBookEventReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBookEventReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBookEventReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookFateCard : pb::IMessage<StarTowerBookFateCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookFateCard> _parser = new pb::MessageParser<StarTowerBookFateCard>(() => new StarTowerBookFateCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookFateCard> 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.ClientTableReflection.Descriptor.MessageTypes[368]; } + } + + [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 StarTowerBookFateCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookFateCard(StarTowerBookFateCard other) : this() { + id_ = other.id_; + bundleId_ = other.bundleId_; + icon_ = other.icon_; + sortId_ = other.sortId_; + source_ = other.source_; + unlockTip_ = other.unlockTip_; + worldClass_ = other.worldClass_; + starTowerId_ = other.starTowerId_; + collectCards_ = other.collectCards_.Clone(); + unlockCards_ = other.unlockCards_.Clone(); + isBanned_ = other.isBanned_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookFateCard Clone() { + return new StarTowerBookFateCard(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 "BundleId" field.</summary> + public const int BundleIdFieldNumber = 2; + private int bundleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BundleId { + get { return bundleId_; } + set { + bundleId_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 3; + 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 "SortId" field.</summary> + public const int SortIdFieldNumber = 4; + private int sortId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortId { + get { return sortId_; } + set { + sortId_ = value; + } + } + + /// <summary>Field number for the "Source" field.</summary> + public const int SourceFieldNumber = 5; + private string source_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Source { + get { return source_; } + set { + source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UnlockTip" field.</summary> + public const int UnlockTipFieldNumber = 6; + private string unlockTip_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UnlockTip { + get { return unlockTip_; } + set { + unlockTip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 7; + private int worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "StarTowerId" field.</summary> + public const int StarTowerIdFieldNumber = 8; + private int starTowerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StarTowerId { + get { return starTowerId_; } + set { + starTowerId_ = value; + } + } + + /// <summary>Field number for the "CollectCards" field.</summary> + public const int CollectCardsFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_collectCards_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> collectCards_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CollectCards { + get { return collectCards_; } + } + + /// <summary>Field number for the "UnlockCards" field.</summary> + public const int UnlockCardsFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_unlockCards_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> unlockCards_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> UnlockCards { + get { return unlockCards_; } + } + + /// <summary>Field number for the "IsBanned" field.</summary> + public const int IsBannedFieldNumber = 11; + private bool isBanned_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBanned { + get { return isBanned_; } + set { + isBanned_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBookFateCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookFateCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BundleId != other.BundleId) return false; + if (Icon != other.Icon) return false; + if (SortId != other.SortId) return false; + if (Source != other.Source) return false; + if (UnlockTip != other.UnlockTip) return false; + if (WorldClass != other.WorldClass) return false; + if (StarTowerId != other.StarTowerId) return false; + if(!collectCards_.Equals(other.collectCards_)) return false; + if(!unlockCards_.Equals(other.unlockCards_)) return false; + if (IsBanned != other.IsBanned) 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 (BundleId != 0) hash ^= BundleId.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (SortId != 0) hash ^= SortId.GetHashCode(); + if (Source.Length != 0) hash ^= Source.GetHashCode(); + if (UnlockTip.Length != 0) hash ^= UnlockTip.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); + hash ^= collectCards_.GetHashCode(); + hash ^= unlockCards_.GetHashCode(); + if (IsBanned != false) hash ^= IsBanned.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 (BundleId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BundleId); + } + if (Icon.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon); + } + if (SortId != 0) { + output.WriteRawTag(32); + output.WriteInt32(SortId); + } + if (Source.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Source); + } + if (UnlockTip.Length != 0) { + output.WriteRawTag(50); + output.WriteString(UnlockTip); + } + if (WorldClass != 0) { + output.WriteRawTag(56); + output.WriteInt32(WorldClass); + } + if (StarTowerId != 0) { + output.WriteRawTag(64); + output.WriteInt32(StarTowerId); + } + collectCards_.WriteTo(output, _repeated_collectCards_codec); + unlockCards_.WriteTo(output, _repeated_unlockCards_codec); + if (IsBanned != false) { + output.WriteRawTag(88); + output.WriteBool(IsBanned); + } + 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 (BundleId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BundleId); + } + if (Icon.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Icon); + } + if (SortId != 0) { + output.WriteRawTag(32); + output.WriteInt32(SortId); + } + if (Source.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Source); + } + if (UnlockTip.Length != 0) { + output.WriteRawTag(50); + output.WriteString(UnlockTip); + } + if (WorldClass != 0) { + output.WriteRawTag(56); + output.WriteInt32(WorldClass); + } + if (StarTowerId != 0) { + output.WriteRawTag(64); + output.WriteInt32(StarTowerId); + } + collectCards_.WriteTo(ref output, _repeated_collectCards_codec); + unlockCards_.WriteTo(ref output, _repeated_unlockCards_codec); + if (IsBanned != false) { + output.WriteRawTag(88); + output.WriteBool(IsBanned); + } + 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 (BundleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BundleId); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (SortId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); + } + if (Source.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); + } + if (UnlockTip.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockTip); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); + } + if (StarTowerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); + } + size += collectCards_.CalculateSize(_repeated_collectCards_codec); + size += unlockCards_.CalculateSize(_repeated_unlockCards_codec); + if (IsBanned != 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(StarTowerBookFateCard other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BundleId != 0) { + BundleId = other.BundleId; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.SortId != 0) { + SortId = other.SortId; + } + if (other.Source.Length != 0) { + Source = other.Source; + } + if (other.UnlockTip.Length != 0) { + UnlockTip = other.UnlockTip; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.StarTowerId != 0) { + StarTowerId = other.StarTowerId; + } + collectCards_.Add(other.collectCards_); + unlockCards_.Add(other.unlockCards_); + if (other.IsBanned != false) { + IsBanned = other.IsBanned; + } + _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: { + BundleId = input.ReadInt32(); + break; + } + case 26: { + Icon = input.ReadString(); + break; + } + case 32: { + SortId = input.ReadInt32(); + break; + } + case 42: { + Source = input.ReadString(); + break; + } + case 50: { + UnlockTip = input.ReadString(); + break; + } + case 56: { + WorldClass = input.ReadInt32(); + break; + } + case 64: { + StarTowerId = input.ReadInt32(); + break; + } + case 74: + case 72: { + collectCards_.AddEntriesFrom(input, _repeated_collectCards_codec); + break; + } + case 82: + case 80: { + unlockCards_.AddEntriesFrom(input, _repeated_unlockCards_codec); + break; + } + case 88: { + IsBanned = 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 16: { + BundleId = input.ReadInt32(); + break; + } + case 26: { + Icon = input.ReadString(); + break; + } + case 32: { + SortId = input.ReadInt32(); + break; + } + case 42: { + Source = input.ReadString(); + break; + } + case 50: { + UnlockTip = input.ReadString(); + break; + } + case 56: { + WorldClass = input.ReadInt32(); + break; + } + case 64: { + StarTowerId = input.ReadInt32(); + break; + } + case 74: + case 72: { + collectCards_.AddEntriesFrom(ref input, _repeated_collectCards_codec); + break; + } + case 82: + case 80: { + unlockCards_.AddEntriesFrom(ref input, _repeated_unlockCards_codec); + break; + } + case 88: { + IsBanned = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBookFateCard : pb::IMessage<table_StarTowerBookFateCard> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBookFateCard> _parser = new pb::MessageParser<table_StarTowerBookFateCard>(() => new table_StarTowerBookFateCard()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBookFateCard> 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.ClientTableReflection.Descriptor.MessageTypes[369]; } + } + + [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 table_StarTowerBookFateCard() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookFateCard(table_StarTowerBookFateCard other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookFateCard Clone() { + return new table_StarTowerBookFateCard(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookFateCard> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookFateCard.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCard> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCard>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCard> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBookFateCard); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBookFateCard other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBookFateCard other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookFateCardBundle : pb::IMessage<StarTowerBookFateCardBundle> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookFateCardBundle> _parser = new pb::MessageParser<StarTowerBookFateCardBundle>(() => new StarTowerBookFateCardBundle()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookFateCardBundle> 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.ClientTableReflection.Descriptor.MessageTypes[370]; } + } + + [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 StarTowerBookFateCardBundle() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookFateCardBundle(StarTowerBookFateCardBundle other) : this() { + id_ = other.id_; + name_ = other.name_; + shortName_ = other.shortName_; + sortId_ = other.sortId_; + tag_ = other.tag_; + smallIcon_ = other.smallIcon_; + bundleIcon_ = other.bundleIcon_; + icon_ = other.icon_; + worldClass_ = other.worldClass_; + starTowerId_ = other.starTowerId_; + collectCards_ = other.collectCards_.Clone(); + unlockCards_ = other.unlockCards_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookFateCardBundle Clone() { + return new StarTowerBookFateCardBundle(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 "ShortName" field.</summary> + public const int ShortNameFieldNumber = 3; + private string shortName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ShortName { + get { return shortName_; } + set { + shortName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SortId" field.</summary> + public const int SortIdFieldNumber = 4; + private int sortId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SortId { + get { return sortId_; } + set { + sortId_ = value; + } + } + + /// <summary>Field number for the "Tag" field.</summary> + public const int TagFieldNumber = 5; + private string tag_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tag { + get { return tag_; } + set { + tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SmallIcon" field.</summary> + public const int SmallIconFieldNumber = 6; + private string smallIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SmallIcon { + get { return smallIcon_; } + set { + smallIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BundleIcon" field.</summary> + public const int BundleIconFieldNumber = 7; + private string bundleIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BundleIcon { + get { return bundleIcon_; } + set { + bundleIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 8; + 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 "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 9; + private int worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "StarTowerId" field.</summary> + public const int StarTowerIdFieldNumber = 10; + private int starTowerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StarTowerId { + get { return starTowerId_; } + set { + starTowerId_ = value; + } + } + + /// <summary>Field number for the "CollectCards" field.</summary> + public const int CollectCardsFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_collectCards_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> collectCards_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CollectCards { + get { return collectCards_; } + } + + /// <summary>Field number for the "UnlockCards" field.</summary> + public const int UnlockCardsFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_unlockCards_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> unlockCards_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> UnlockCards { + get { return unlockCards_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBookFateCardBundle); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookFateCardBundle 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 (ShortName != other.ShortName) return false; + if (SortId != other.SortId) return false; + if (Tag != other.Tag) return false; + if (SmallIcon != other.SmallIcon) return false; + if (BundleIcon != other.BundleIcon) return false; + if (Icon != other.Icon) return false; + if (WorldClass != other.WorldClass) return false; + if (StarTowerId != other.StarTowerId) return false; + if(!collectCards_.Equals(other.collectCards_)) return false; + if(!unlockCards_.Equals(other.unlockCards_)) 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 (ShortName.Length != 0) hash ^= ShortName.GetHashCode(); + if (SortId != 0) hash ^= SortId.GetHashCode(); + if (Tag.Length != 0) hash ^= Tag.GetHashCode(); + if (SmallIcon.Length != 0) hash ^= SmallIcon.GetHashCode(); + if (BundleIcon.Length != 0) hash ^= BundleIcon.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); + hash ^= collectCards_.GetHashCode(); + hash ^= unlockCards_.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 (ShortName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ShortName); + } + if (SortId != 0) { + output.WriteRawTag(32); + output.WriteInt32(SortId); + } + if (Tag.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Tag); + } + if (SmallIcon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(SmallIcon); + } + if (BundleIcon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(BundleIcon); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (WorldClass != 0) { + output.WriteRawTag(72); + output.WriteInt32(WorldClass); + } + if (StarTowerId != 0) { + output.WriteRawTag(80); + output.WriteInt32(StarTowerId); + } + collectCards_.WriteTo(output, _repeated_collectCards_codec); + unlockCards_.WriteTo(output, _repeated_unlockCards_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (ShortName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ShortName); + } + if (SortId != 0) { + output.WriteRawTag(32); + output.WriteInt32(SortId); + } + if (Tag.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Tag); + } + if (SmallIcon.Length != 0) { + output.WriteRawTag(50); + output.WriteString(SmallIcon); + } + if (BundleIcon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(BundleIcon); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (WorldClass != 0) { + output.WriteRawTag(72); + output.WriteInt32(WorldClass); + } + if (StarTowerId != 0) { + output.WriteRawTag(80); + output.WriteInt32(StarTowerId); + } + collectCards_.WriteTo(ref output, _repeated_collectCards_codec); + unlockCards_.WriteTo(ref output, _repeated_unlockCards_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (ShortName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName); + } + if (SortId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId); + } + if (Tag.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); + } + if (SmallIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallIcon); + } + if (BundleIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BundleIcon); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); + } + if (StarTowerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); + } + size += collectCards_.CalculateSize(_repeated_collectCards_codec); + size += unlockCards_.CalculateSize(_repeated_unlockCards_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookFateCardBundle other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.ShortName.Length != 0) { + ShortName = other.ShortName; + } + if (other.SortId != 0) { + SortId = other.SortId; + } + if (other.Tag.Length != 0) { + Tag = other.Tag; + } + if (other.SmallIcon.Length != 0) { + SmallIcon = other.SmallIcon; + } + if (other.BundleIcon.Length != 0) { + BundleIcon = other.BundleIcon; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.StarTowerId != 0) { + StarTowerId = other.StarTowerId; + } + collectCards_.Add(other.collectCards_); + unlockCards_.Add(other.unlockCards_); + _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 26: { + ShortName = input.ReadString(); + break; + } + case 32: { + SortId = input.ReadInt32(); + break; + } + case 42: { + Tag = input.ReadString(); + break; + } + case 50: { + SmallIcon = input.ReadString(); + break; + } + case 58: { + BundleIcon = input.ReadString(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 72: { + WorldClass = input.ReadInt32(); + break; + } + case 80: { + StarTowerId = input.ReadInt32(); + break; + } + case 90: + case 88: { + collectCards_.AddEntriesFrom(input, _repeated_collectCards_codec); + break; + } + case 98: + case 96: { + unlockCards_.AddEntriesFrom(input, _repeated_unlockCards_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 18: { + Name = input.ReadString(); + break; + } + case 26: { + ShortName = input.ReadString(); + break; + } + case 32: { + SortId = input.ReadInt32(); + break; + } + case 42: { + Tag = input.ReadString(); + break; + } + case 50: { + SmallIcon = input.ReadString(); + break; + } + case 58: { + BundleIcon = input.ReadString(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 72: { + WorldClass = input.ReadInt32(); + break; + } + case 80: { + StarTowerId = input.ReadInt32(); + break; + } + case 90: + case 88: { + collectCards_.AddEntriesFrom(ref input, _repeated_collectCards_codec); + break; + } + case 98: + case 96: { + unlockCards_.AddEntriesFrom(ref input, _repeated_unlockCards_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBookFateCardBundle : pb::IMessage<table_StarTowerBookFateCardBundle> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBookFateCardBundle> _parser = new pb::MessageParser<table_StarTowerBookFateCardBundle>(() => new table_StarTowerBookFateCardBundle()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBookFateCardBundle> 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.ClientTableReflection.Descriptor.MessageTypes[371]; } + } + + [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 table_StarTowerBookFateCardBundle() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookFateCardBundle(table_StarTowerBookFateCardBundle other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookFateCardBundle Clone() { + return new table_StarTowerBookFateCardBundle(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookFateCardBundle> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookFateCardBundle.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardBundle> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardBundle>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardBundle> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBookFateCardBundle); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBookFateCardBundle other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBookFateCardBundle other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookFateCardQuest : pb::IMessage<StarTowerBookFateCardQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookFateCardQuest> _parser = new pb::MessageParser<StarTowerBookFateCardQuest>(() => new StarTowerBookFateCardQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookFateCardQuest> 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.ClientTableReflection.Descriptor.MessageTypes[372]; } + } + + [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 StarTowerBookFateCardQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookFateCardQuest(StarTowerBookFateCardQuest other) : this() { + id_ = other.id_; + bundleId_ = other.bundleId_; + desc_ = other.desc_; + finishType_ = other.finishType_; + finishParams_ = other.finishParams_; + tid1_ = other.tid1_; + qty1_ = other.qty1_; + tid2_ = other.tid2_; + qty2_ = other.qty2_; + tid3_ = other.tid3_; + qty3_ = other.qty3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookFateCardQuest Clone() { + return new StarTowerBookFateCardQuest(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 "BundleId" field.</summary> + public const int BundleIdFieldNumber = 2; + private int bundleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BundleId { + get { return bundleId_; } + set { + bundleId_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "FinishType" field.</summary> + public const int FinishTypeFieldNumber = 4; + private int finishType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinishType { + get { return finishType_; } + set { + finishType_ = value; + } + } + + /// <summary>Field number for the "FinishParams" field.</summary> + public const int FinishParamsFieldNumber = 5; + private string finishParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FinishParams { + get { return finishParams_; } + set { + finishParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Tid1" field.</summary> + public const int Tid1FieldNumber = 6; + private int tid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid1 { + get { return tid1_; } + set { + tid1_ = value; + } + } + + /// <summary>Field number for the "Qty1" field.</summary> + public const int Qty1FieldNumber = 7; + private int qty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty1 { + get { return qty1_; } + set { + qty1_ = value; + } + } + + /// <summary>Field number for the "Tid2" field.</summary> + public const int Tid2FieldNumber = 8; + private int tid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid2 { + get { return tid2_; } + set { + tid2_ = value; + } + } + + /// <summary>Field number for the "Qty2" field.</summary> + public const int Qty2FieldNumber = 9; + private int qty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty2 { + get { return qty2_; } + set { + qty2_ = value; + } + } + + /// <summary>Field number for the "Tid3" field.</summary> + public const int Tid3FieldNumber = 10; + private int tid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tid3 { + get { return tid3_; } + set { + tid3_ = value; + } + } + + /// <summary>Field number for the "Qty3" field.</summary> + public const int Qty3FieldNumber = 11; + private int qty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Qty3 { + get { return qty3_; } + set { + qty3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBookFateCardQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookFateCardQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BundleId != other.BundleId) return false; + if (Desc != other.Desc) return false; + if (FinishType != other.FinishType) return false; + if (FinishParams != other.FinishParams) return false; + if (Tid1 != other.Tid1) return false; + if (Qty1 != other.Qty1) return false; + if (Tid2 != other.Tid2) return false; + if (Qty2 != other.Qty2) return false; + if (Tid3 != other.Tid3) return false; + if (Qty3 != other.Qty3) 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 (BundleId != 0) hash ^= BundleId.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (FinishType != 0) hash ^= FinishType.GetHashCode(); + if (FinishParams.Length != 0) hash ^= FinishParams.GetHashCode(); + if (Tid1 != 0) hash ^= Tid1.GetHashCode(); + if (Qty1 != 0) hash ^= Qty1.GetHashCode(); + if (Tid2 != 0) hash ^= Tid2.GetHashCode(); + if (Qty2 != 0) hash ^= Qty2.GetHashCode(); + if (Tid3 != 0) hash ^= Tid3.GetHashCode(); + if (Qty3 != 0) hash ^= Qty3.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 (BundleId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BundleId); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (FinishType != 0) { + output.WriteRawTag(32); + output.WriteInt32(FinishType); + } + if (FinishParams.Length != 0) { + output.WriteRawTag(42); + output.WriteString(FinishParams); + } + if (Tid1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Qty3); + } + 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 (BundleId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BundleId); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (FinishType != 0) { + output.WriteRawTag(32); + output.WriteInt32(FinishType); + } + if (FinishParams.Length != 0) { + output.WriteRawTag(42); + output.WriteString(FinishParams); + } + if (Tid1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Tid1); + } + if (Qty1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Qty1); + } + if (Tid2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Tid2); + } + if (Qty2 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Qty2); + } + if (Tid3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Tid3); + } + if (Qty3 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Qty3); + } + 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 (BundleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BundleId); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (FinishType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinishType); + } + if (FinishParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FinishParams); + } + if (Tid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid1); + } + if (Qty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty1); + } + if (Tid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid2); + } + if (Qty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty2); + } + if (Tid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tid3); + } + if (Qty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qty3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookFateCardQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BundleId != 0) { + BundleId = other.BundleId; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.FinishType != 0) { + FinishType = other.FinishType; + } + if (other.FinishParams.Length != 0) { + FinishParams = other.FinishParams; + } + if (other.Tid1 != 0) { + Tid1 = other.Tid1; + } + if (other.Qty1 != 0) { + Qty1 = other.Qty1; + } + if (other.Tid2 != 0) { + Tid2 = other.Tid2; + } + if (other.Qty2 != 0) { + Qty2 = other.Qty2; + } + if (other.Tid3 != 0) { + Tid3 = other.Tid3; + } + if (other.Qty3 != 0) { + Qty3 = other.Qty3; + } + _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: { + BundleId = input.ReadInt32(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + FinishType = input.ReadInt32(); + break; + } + case 42: { + FinishParams = input.ReadString(); + break; + } + case 48: { + Tid1 = input.ReadInt32(); + break; + } + case 56: { + Qty1 = input.ReadInt32(); + break; + } + case 64: { + Tid2 = input.ReadInt32(); + break; + } + case 72: { + Qty2 = input.ReadInt32(); + break; + } + case 80: { + Tid3 = input.ReadInt32(); + break; + } + case 88: { + Qty3 = 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: { + BundleId = input.ReadInt32(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + FinishType = input.ReadInt32(); + break; + } + case 42: { + FinishParams = input.ReadString(); + break; + } + case 48: { + Tid1 = input.ReadInt32(); + break; + } + case 56: { + Qty1 = input.ReadInt32(); + break; + } + case 64: { + Tid2 = input.ReadInt32(); + break; + } + case 72: { + Qty2 = input.ReadInt32(); + break; + } + case 80: { + Tid3 = input.ReadInt32(); + break; + } + case 88: { + Qty3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBookFateCardQuest : pb::IMessage<table_StarTowerBookFateCardQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBookFateCardQuest> _parser = new pb::MessageParser<table_StarTowerBookFateCardQuest>(() => new table_StarTowerBookFateCardQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBookFateCardQuest> 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.ClientTableReflection.Descriptor.MessageTypes[373]; } + } + + [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 table_StarTowerBookFateCardQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookFateCardQuest(table_StarTowerBookFateCardQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookFateCardQuest Clone() { + return new table_StarTowerBookFateCardQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookFateCardQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookFateCardQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardQuest> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBookFateCardQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBookFateCardQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBookFateCardQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBookFateCardQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBookPotentialReward : pb::IMessage<StarTowerBookPotentialReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBookPotentialReward> _parser = new pb::MessageParser<StarTowerBookPotentialReward>(() => new StarTowerBookPotentialReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBookPotentialReward> 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.ClientTableReflection.Descriptor.MessageTypes[374]; } + } + + [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 StarTowerBookPotentialReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialReward(StarTowerBookPotentialReward other) : this() { + id_ = other.id_; + charId_ = other.charId_; + desc_ = other.desc_; + sort_ = other.sort_; + cond_ = other.cond_; + params_ = other.params_; + itemId_ = other.itemId_; + itemQty_ = other.itemQty_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBookPotentialReward Clone() { + return new StarTowerBookPotentialReward(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + 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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Sort" field.</summary> + public const int SortFieldNumber = 4; + 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 "Cond" field.</summary> + public const int CondFieldNumber = 5; + private int cond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Cond { + get { return cond_; } + set { + cond_ = value; + } + } + + /// <summary>Field number for the "Params" field.</summary> + public const int ParamsFieldNumber = 6; + private string params_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Params { + get { return params_; } + set { + params_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ItemId" field.</summary> + public const int ItemIdFieldNumber = 7; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "ItemQty" field.</summary> + public const int ItemQtyFieldNumber = 8; + private int itemQty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty { + get { return itemQty_; } + set { + itemQty_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBookPotentialReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBookPotentialReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (Desc != other.Desc) return false; + if (Sort != other.Sort) return false; + if (Cond != other.Cond) return false; + if (Params != other.Params) return false; + if (ItemId != other.ItemId) return false; + if (ItemQty != other.ItemQty) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (Cond != 0) hash ^= Cond.GetHashCode(); + if (Params.Length != 0) hash ^= Params.GetHashCode(); + if (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (ItemQty != 0) hash ^= ItemQty.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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Sort != 0) { + output.WriteRawTag(32); + output.WriteInt32(Sort); + } + if (Cond != 0) { + output.WriteRawTag(40); + output.WriteInt32(Cond); + } + if (Params.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Params); + } + if (ItemId != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(64); + output.WriteInt32(ItemQty); + } + 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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Sort != 0) { + output.WriteRawTag(32); + output.WriteInt32(Sort); + } + if (Cond != 0) { + output.WriteRawTag(40); + output.WriteInt32(Cond); + } + if (Params.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Params); + } + if (ItemId != 0) { + output.WriteRawTag(56); + output.WriteInt32(ItemId); + } + if (ItemQty != 0) { + output.WriteRawTag(64); + output.WriteInt32(ItemQty); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Cond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Cond); + } + if (Params.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); + } + if (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (ItemQty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemQty); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBookPotentialReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Cond != 0) { + Cond = other.Cond; + } + if (other.Params.Length != 0) { + Params = other.Params; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.ItemQty != 0) { + ItemQty = other.ItemQty; + } + _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: { + CharId = input.ReadInt32(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Sort = input.ReadInt32(); + break; + } + case 40: { + Cond = input.ReadInt32(); + break; + } + case 50: { + Params = input.ReadString(); + break; + } + case 56: { + ItemId = input.ReadInt32(); + break; + } + case 64: { + ItemQty = 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: { + CharId = input.ReadInt32(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Sort = input.ReadInt32(); + break; + } + case 40: { + Cond = input.ReadInt32(); + break; + } + case 50: { + Params = input.ReadString(); + break; + } + case 56: { + ItemId = input.ReadInt32(); + break; + } + case 64: { + ItemQty = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBookPotentialReward : pb::IMessage<table_StarTowerBookPotentialReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBookPotentialReward> _parser = new pb::MessageParser<table_StarTowerBookPotentialReward>(() => new table_StarTowerBookPotentialReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBookPotentialReward> 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.ClientTableReflection.Descriptor.MessageTypes[375]; } + } + + [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 table_StarTowerBookPotentialReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookPotentialReward(table_StarTowerBookPotentialReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBookPotentialReward Clone() { + return new table_StarTowerBookPotentialReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBookPotentialReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBookPotentialReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBookPotentialReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBookPotentialReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBookPotentialReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBookPotentialReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBookPotentialReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBookPotentialReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerBuildRank : pb::IMessage<StarTowerBuildRank> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerBuildRank> _parser = new pb::MessageParser<StarTowerBuildRank>(() => new StarTowerBuildRank()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerBuildRank> 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.ClientTableReflection.Descriptor.MessageTypes[376]; } + } + + [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 StarTowerBuildRank() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildRank(StarTowerBuildRank other) : this() { + id_ = other.id_; + minGrade_ = other.minGrade_; + rarity_ = other.rarity_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerBuildRank Clone() { + return new StarTowerBuildRank(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 "MinGrade" field.</summary> + public const int MinGradeFieldNumber = 2; + private int minGrade_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MinGrade { + get { return minGrade_; } + set { + minGrade_ = value; + } + } + + /// <summary>Field number for the "Rarity" field.</summary> + public const int RarityFieldNumber = 3; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerBuildRank); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerBuildRank other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MinGrade != other.MinGrade) return false; + if (Rarity != other.Rarity) 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 (MinGrade != 0) hash ^= MinGrade.GetHashCode(); + if (Rarity != 0) hash ^= Rarity.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 (MinGrade != 0) { + output.WriteRawTag(16); + output.WriteInt32(MinGrade); + } + if (Rarity != 0) { + output.WriteRawTag(24); + output.WriteInt32(Rarity); + } + 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 (MinGrade != 0) { + output.WriteRawTag(16); + output.WriteInt32(MinGrade); + } + if (Rarity != 0) { + output.WriteRawTag(24); + output.WriteInt32(Rarity); + } + 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 (MinGrade != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinGrade); + } + if (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerBuildRank other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MinGrade != 0) { + MinGrade = other.MinGrade; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + _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: { + MinGrade = input.ReadInt32(); + break; + } + case 24: { + Rarity = 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: { + MinGrade = input.ReadInt32(); + break; + } + case 24: { + Rarity = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerBuildRank : pb::IMessage<table_StarTowerBuildRank> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerBuildRank> _parser = new pb::MessageParser<table_StarTowerBuildRank>(() => new table_StarTowerBuildRank()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerBuildRank> 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.ClientTableReflection.Descriptor.MessageTypes[377]; } + } + + [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 table_StarTowerBuildRank() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBuildRank(table_StarTowerBuildRank other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerBuildRank Clone() { + return new table_StarTowerBuildRank(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerBuildRank> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerBuildRank.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerBuildRank> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerBuildRank>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerBuildRank> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerBuildRank); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerBuildRank other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerBuildRank other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerCombatEvent : pb::IMessage<StarTowerCombatEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerCombatEvent> _parser = new pb::MessageParser<StarTowerCombatEvent>(() => new StarTowerCombatEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerCombatEvent> 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.ClientTableReflection.Descriptor.MessageTypes[378]; } + } + + [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 StarTowerCombatEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerCombatEvent(StarTowerCombatEvent other) : this() { + id_ = other.id_; + name_ = other.name_; + type_ = other.type_; + params_ = other.params_; + active_ = other.active_; + start_ = other.start_; + interact_ = other.interact_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerCombatEvent Clone() { + return new StarTowerCombatEvent(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 "Type" field.</summary> + public const int TypeFieldNumber = 3; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Params" field.</summary> + public const int ParamsFieldNumber = 4; + private string params_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Params { + get { return params_; } + set { + params_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Active" field.</summary> + public const int ActiveFieldNumber = 5; + private int active_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Active { + get { return active_; } + set { + active_ = value; + } + } + + /// <summary>Field number for the "Start" field.</summary> + public const int StartFieldNumber = 6; + private int start_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Start { + get { return start_; } + set { + start_ = value; + } + } + + /// <summary>Field number for the "Interact" field.</summary> + public const int InteractFieldNumber = 7; + private int interact_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Interact { + get { return interact_; } + set { + interact_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerCombatEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerCombatEvent 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 (Type != other.Type) return false; + if (Params != other.Params) return false; + if (Active != other.Active) return false; + if (Start != other.Start) return false; + if (Interact != other.Interact) 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 (Type != 0) hash ^= Type.GetHashCode(); + if (Params.Length != 0) hash ^= Params.GetHashCode(); + if (Active != 0) hash ^= Active.GetHashCode(); + if (Start != 0) hash ^= Start.GetHashCode(); + if (Interact != 0) hash ^= Interact.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 (Type != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type); + } + if (Params.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Params); + } + if (Active != 0) { + output.WriteRawTag(40); + output.WriteInt32(Active); + } + if (Start != 0) { + output.WriteRawTag(48); + output.WriteInt32(Start); + } + if (Interact != 0) { + output.WriteRawTag(56); + output.WriteInt32(Interact); + } + 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 (Type != 0) { + output.WriteRawTag(24); + output.WriteInt32(Type); + } + if (Params.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Params); + } + if (Active != 0) { + output.WriteRawTag(40); + output.WriteInt32(Active); + } + if (Start != 0) { + output.WriteRawTag(48); + output.WriteInt32(Start); + } + if (Interact != 0) { + output.WriteRawTag(56); + output.WriteInt32(Interact); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Params.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); + } + if (Active != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Active); + } + if (Start != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); + } + if (Interact != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Interact); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerCombatEvent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Params.Length != 0) { + Params = other.Params; + } + if (other.Active != 0) { + Active = other.Active; + } + if (other.Start != 0) { + Start = other.Start; + } + if (other.Interact != 0) { + Interact = other.Interact; + } + _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: { + Type = input.ReadInt32(); + break; + } + case 34: { + Params = input.ReadString(); + break; + } + case 40: { + Active = input.ReadInt32(); + break; + } + case 48: { + Start = input.ReadInt32(); + break; + } + case 56: { + Interact = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + Type = input.ReadInt32(); + break; + } + case 34: { + Params = input.ReadString(); + break; + } + case 40: { + Active = input.ReadInt32(); + break; + } + case 48: { + Start = input.ReadInt32(); + break; + } + case 56: { + Interact = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerCombatEvent : pb::IMessage<table_StarTowerCombatEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerCombatEvent> _parser = new pb::MessageParser<table_StarTowerCombatEvent>(() => new table_StarTowerCombatEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerCombatEvent> 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.ClientTableReflection.Descriptor.MessageTypes[379]; } + } + + [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 table_StarTowerCombatEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerCombatEvent(table_StarTowerCombatEvent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerCombatEvent Clone() { + return new table_StarTowerCombatEvent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerCombatEvent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerCombatEvent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerCombatEvent> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerCombatEvent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerCombatEvent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerCombatEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerCombatEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerCombatEvent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerCombo : pb::IMessage<StarTowerCombo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerCombo> _parser = new pb::MessageParser<StarTowerCombo>(() => new StarTowerCombo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerCombo> 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.ClientTableReflection.Descriptor.MessageTypes[380]; } + } + + [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 StarTowerCombo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerCombo(StarTowerCombo other) : this() { + id_ = other.id_; + battleLvs_ = other.battleLvs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerCombo Clone() { + return new StarTowerCombo(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 "BattleLvs" field.</summary> + public const int BattleLvsFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_battleLvs_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> battleLvs_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BattleLvs { + get { return battleLvs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerCombo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerCombo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!battleLvs_.Equals(other.battleLvs_)) 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(); + hash ^= battleLvs_.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); + } + battleLvs_.WriteTo(output, _repeated_battleLvs_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); + } + battleLvs_.WriteTo(ref output, _repeated_battleLvs_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); + } + size += battleLvs_.CalculateSize(_repeated_battleLvs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerCombo other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + battleLvs_.Add(other.battleLvs_); + _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: + case 16: { + battleLvs_.AddEntriesFrom(input, _repeated_battleLvs_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 18: + case 16: { + battleLvs_.AddEntriesFrom(ref input, _repeated_battleLvs_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerCombo : pb::IMessage<table_StarTowerCombo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerCombo> _parser = new pb::MessageParser<table_StarTowerCombo>(() => new table_StarTowerCombo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerCombo> 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.ClientTableReflection.Descriptor.MessageTypes[381]; } + } + + [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 table_StarTowerCombo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerCombo(table_StarTowerCombo other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerCombo Clone() { + return new table_StarTowerCombo(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerCombo> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerCombo.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerCombo> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerCombo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerCombo> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerCombo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerCombo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerCombo other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerDropItem : pb::IMessage<StarTowerDropItem> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerDropItem> _parser = new pb::MessageParser<StarTowerDropItem>(() => new StarTowerDropItem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerDropItem> 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.ClientTableReflection.Descriptor.MessageTypes[382]; } + } + + [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 StarTowerDropItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerDropItem(StarTowerDropItem other) : this() { + id_ = other.id_; + type_ = other.type_; + dropSplitRange_ = other.dropSplitRange_.Clone(); + rate_ = other.rate_.Clone(); + model_ = other.model_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerDropItem Clone() { + return new StarTowerDropItem(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 "Type" field.</summary> + public const int TypeFieldNumber = 2; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "DropSplitRange" field.</summary> + public const int DropSplitRangeFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_dropSplitRange_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> dropSplitRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DropSplitRange { + get { return dropSplitRange_; } + } + + /// <summary>Field number for the "Rate" field.</summary> + public const int RateFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_rate_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> rate_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Rate { + get { return rate_; } + } + + /// <summary>Field number for the "Model" field.</summary> + public const int ModelFieldNumber = 5; + private string model_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Model { + get { return model_; } + set { + model_ = 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 StarTowerDropItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerDropItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + if(!dropSplitRange_.Equals(other.dropSplitRange_)) return false; + if(!rate_.Equals(other.rate_)) return false; + if (Model != other.Model) 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 (Type != 0) hash ^= Type.GetHashCode(); + hash ^= dropSplitRange_.GetHashCode(); + hash ^= rate_.GetHashCode(); + if (Model.Length != 0) hash ^= Model.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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + dropSplitRange_.WriteTo(output, _repeated_dropSplitRange_codec); + rate_.WriteTo(output, _repeated_rate_codec); + if (Model.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Model); + } + 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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + dropSplitRange_.WriteTo(ref output, _repeated_dropSplitRange_codec); + rate_.WriteTo(ref output, _repeated_rate_codec); + if (Model.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Model); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + size += dropSplitRange_.CalculateSize(_repeated_dropSplitRange_codec); + size += rate_.CalculateSize(_repeated_rate_codec); + if (Model.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerDropItem other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Type != 0) { + Type = other.Type; + } + dropSplitRange_.Add(other.dropSplitRange_); + rate_.Add(other.rate_); + if (other.Model.Length != 0) { + Model = other.Model; + } + _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: { + Type = input.ReadInt32(); + break; + } + case 26: + case 24: { + dropSplitRange_.AddEntriesFrom(input, _repeated_dropSplitRange_codec); + break; + } + case 34: + case 32: { + rate_.AddEntriesFrom(input, _repeated_rate_codec); + break; + } + case 42: { + Model = 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: { + Type = input.ReadInt32(); + break; + } + case 26: + case 24: { + dropSplitRange_.AddEntriesFrom(ref input, _repeated_dropSplitRange_codec); + break; + } + case 34: + case 32: { + rate_.AddEntriesFrom(ref input, _repeated_rate_codec); + break; + } + case 42: { + Model = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerDropItem : pb::IMessage<table_StarTowerDropItem> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerDropItem> _parser = new pb::MessageParser<table_StarTowerDropItem>(() => new table_StarTowerDropItem()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerDropItem> 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.ClientTableReflection.Descriptor.MessageTypes[383]; } + } + + [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 table_StarTowerDropItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerDropItem(table_StarTowerDropItem other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerDropItem Clone() { + return new table_StarTowerDropItem(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerDropItem> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerDropItem.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerDropItem> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerDropItem>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerDropItem> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerDropItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerDropItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerDropItem other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerEnemySet : pb::IMessage<StarTowerEnemySet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerEnemySet> _parser = new pb::MessageParser<StarTowerEnemySet>(() => new StarTowerEnemySet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerEnemySet> 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.ClientTableReflection.Descriptor.MessageTypes[384]; } + } + + [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 StarTowerEnemySet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEnemySet(StarTowerEnemySet other) : this() { + setId_ = other.setId_; + waveNum_ = other.waveNum_; + maxNum_ = other.maxNum_; + maxNumPerWave_ = other.maxNumPerWave_; + monsterId_ = other.monsterId_; + refInterval_ = other.refInterval_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEnemySet Clone() { + return new StarTowerEnemySet(this); + } + + /// <summary>Field number for the "SetId" field.</summary> + public const int SetIdFieldNumber = 1; + private int setId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SetId { + get { return setId_; } + set { + setId_ = value; + } + } + + /// <summary>Field number for the "WaveNum" field.</summary> + public const int WaveNumFieldNumber = 2; + private int waveNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WaveNum { + get { return waveNum_; } + set { + waveNum_ = value; + } + } + + /// <summary>Field number for the "MaxNum" field.</summary> + public const int MaxNumFieldNumber = 3; + private int maxNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxNum { + get { return maxNum_; } + set { + maxNum_ = value; + } + } + + /// <summary>Field number for the "MaxNumPerWave" field.</summary> + public const int MaxNumPerWaveFieldNumber = 4; + private int maxNumPerWave_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxNumPerWave { + get { return maxNumPerWave_; } + set { + maxNumPerWave_ = value; + } + } + + /// <summary>Field number for the "MonsterId" field.</summary> + public const int MonsterIdFieldNumber = 5; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "RefInterval" field.</summary> + public const int RefIntervalFieldNumber = 6; + private float refInterval_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float RefInterval { + get { return refInterval_; } + set { + refInterval_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerEnemySet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerEnemySet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SetId != other.SetId) return false; + if (WaveNum != other.WaveNum) return false; + if (MaxNum != other.MaxNum) return false; + if (MaxNumPerWave != other.MaxNumPerWave) return false; + if (MonsterId != other.MonsterId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RefInterval, other.RefInterval)) 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 (SetId != 0) hash ^= SetId.GetHashCode(); + if (WaveNum != 0) hash ^= WaveNum.GetHashCode(); + if (MaxNum != 0) hash ^= MaxNum.GetHashCode(); + if (MaxNumPerWave != 0) hash ^= MaxNumPerWave.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (RefInterval != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RefInterval); + 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 (SetId != 0) { + output.WriteRawTag(8); + output.WriteInt32(SetId); + } + if (WaveNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(WaveNum); + } + if (MaxNum != 0) { + output.WriteRawTag(24); + output.WriteInt32(MaxNum); + } + if (MaxNumPerWave != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxNumPerWave); + } + if (MonsterId != 0) { + output.WriteRawTag(40); + output.WriteInt32(MonsterId); + } + if (RefInterval != 0F) { + output.WriteRawTag(53); + output.WriteFloat(RefInterval); + } + 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 (SetId != 0) { + output.WriteRawTag(8); + output.WriteInt32(SetId); + } + if (WaveNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(WaveNum); + } + if (MaxNum != 0) { + output.WriteRawTag(24); + output.WriteInt32(MaxNum); + } + if (MaxNumPerWave != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxNumPerWave); + } + if (MonsterId != 0) { + output.WriteRawTag(40); + output.WriteInt32(MonsterId); + } + if (RefInterval != 0F) { + output.WriteRawTag(53); + output.WriteFloat(RefInterval); + } + 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 (SetId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); + } + if (WaveNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum); + } + if (MaxNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum); + } + if (MaxNumPerWave != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerWave); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (RefInterval != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerEnemySet other) { + if (other == null) { + return; + } + if (other.SetId != 0) { + SetId = other.SetId; + } + if (other.WaveNum != 0) { + WaveNum = other.WaveNum; + } + if (other.MaxNum != 0) { + MaxNum = other.MaxNum; + } + if (other.MaxNumPerWave != 0) { + MaxNumPerWave = other.MaxNumPerWave; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.RefInterval != 0F) { + RefInterval = other.RefInterval; + } + _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: { + SetId = input.ReadInt32(); + break; + } + case 16: { + WaveNum = input.ReadInt32(); + break; + } + case 24: { + MaxNum = input.ReadInt32(); + break; + } + case 32: { + MaxNumPerWave = input.ReadInt32(); + break; + } + case 40: { + MonsterId = input.ReadInt32(); + break; + } + case 53: { + RefInterval = input.ReadFloat(); + 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: { + SetId = input.ReadInt32(); + break; + } + case 16: { + WaveNum = input.ReadInt32(); + break; + } + case 24: { + MaxNum = input.ReadInt32(); + break; + } + case 32: { + MaxNumPerWave = input.ReadInt32(); + break; + } + case 40: { + MonsterId = input.ReadInt32(); + break; + } + case 53: { + RefInterval = input.ReadFloat(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerEnemySet : pb::IMessage<table_StarTowerEnemySet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerEnemySet> _parser = new pb::MessageParser<table_StarTowerEnemySet>(() => new table_StarTowerEnemySet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerEnemySet> 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.ClientTableReflection.Descriptor.MessageTypes[385]; } + } + + [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 table_StarTowerEnemySet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEnemySet(table_StarTowerEnemySet other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEnemySet Clone() { + return new table_StarTowerEnemySet(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEnemySet> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEnemySet.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEnemySet> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEnemySet>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerEnemySet> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerEnemySet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerEnemySet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerEnemySet other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerEvent : pb::IMessage<StarTowerEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerEvent> _parser = new pb::MessageParser<StarTowerEvent>(() => new StarTowerEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerEvent> 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.ClientTableReflection.Descriptor.MessageTypes[386]; } + } + + [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 StarTowerEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEvent(StarTowerEvent other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + optionsRulesId_ = other.optionsRulesId_; + desc_ = other.desc_; + eventType_ = other.eventType_; + guaranteedMapId_ = other.guaranteedMapId_; + npc_ = other.npc_.Clone(); + relatedCharacter_ = other.relatedCharacter_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEvent Clone() { + return new StarTowerEvent(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 "GroupId" 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 "OptionsRulesId" field.</summary> + public const int OptionsRulesIdFieldNumber = 3; + private int optionsRulesId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OptionsRulesId { + get { return optionsRulesId_; } + set { + optionsRulesId_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "EventType" field.</summary> + public const int EventTypeFieldNumber = 5; + private int eventType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EventType { + get { return eventType_; } + set { + eventType_ = value; + } + } + + /// <summary>Field number for the "GuaranteedMapId" field.</summary> + public const int GuaranteedMapIdFieldNumber = 6; + private int guaranteedMapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuaranteedMapId { + get { return guaranteedMapId_; } + set { + guaranteedMapId_ = value; + } + } + + /// <summary>Field number for the "Npc" field.</summary> + public const int NpcFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_npc_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> npc_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Npc { + get { return npc_; } + } + + /// <summary>Field number for the "RelatedCharacter" field.</summary> + public const int RelatedCharacterFieldNumber = 8; + private int relatedCharacter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RelatedCharacter { + get { return relatedCharacter_; } + set { + relatedCharacter_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerEvent 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 (OptionsRulesId != other.OptionsRulesId) return false; + if (Desc != other.Desc) return false; + if (EventType != other.EventType) return false; + if (GuaranteedMapId != other.GuaranteedMapId) return false; + if(!npc_.Equals(other.npc_)) return false; + if (RelatedCharacter != other.RelatedCharacter) 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 (OptionsRulesId != 0) hash ^= OptionsRulesId.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (EventType != 0) hash ^= EventType.GetHashCode(); + if (GuaranteedMapId != 0) hash ^= GuaranteedMapId.GetHashCode(); + hash ^= npc_.GetHashCode(); + if (RelatedCharacter != 0) hash ^= RelatedCharacter.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 (OptionsRulesId != 0) { + output.WriteRawTag(24); + output.WriteInt32(OptionsRulesId); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (EventType != 0) { + output.WriteRawTag(40); + output.WriteInt32(EventType); + } + if (GuaranteedMapId != 0) { + output.WriteRawTag(48); + output.WriteInt32(GuaranteedMapId); + } + npc_.WriteTo(output, _repeated_npc_codec); + if (RelatedCharacter != 0) { + output.WriteRawTag(64); + output.WriteInt32(RelatedCharacter); + } + 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 (OptionsRulesId != 0) { + output.WriteRawTag(24); + output.WriteInt32(OptionsRulesId); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (EventType != 0) { + output.WriteRawTag(40); + output.WriteInt32(EventType); + } + if (GuaranteedMapId != 0) { + output.WriteRawTag(48); + output.WriteInt32(GuaranteedMapId); + } + npc_.WriteTo(ref output, _repeated_npc_codec); + if (RelatedCharacter != 0) { + output.WriteRawTag(64); + output.WriteInt32(RelatedCharacter); + } + 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 (OptionsRulesId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionsRulesId); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (EventType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventType); + } + if (GuaranteedMapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuaranteedMapId); + } + size += npc_.CalculateSize(_repeated_npc_codec); + if (RelatedCharacter != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RelatedCharacter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerEvent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.OptionsRulesId != 0) { + OptionsRulesId = other.OptionsRulesId; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.EventType != 0) { + EventType = other.EventType; + } + if (other.GuaranteedMapId != 0) { + GuaranteedMapId = other.GuaranteedMapId; + } + npc_.Add(other.npc_); + if (other.RelatedCharacter != 0) { + RelatedCharacter = other.RelatedCharacter; + } + _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: { + OptionsRulesId = input.ReadInt32(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + EventType = input.ReadInt32(); + break; + } + case 48: { + GuaranteedMapId = input.ReadInt32(); + break; + } + case 58: + case 56: { + npc_.AddEntriesFrom(input, _repeated_npc_codec); + break; + } + case 64: { + RelatedCharacter = 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: { + OptionsRulesId = input.ReadInt32(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + EventType = input.ReadInt32(); + break; + } + case 48: { + GuaranteedMapId = input.ReadInt32(); + break; + } + case 58: + case 56: { + npc_.AddEntriesFrom(ref input, _repeated_npc_codec); + break; + } + case 64: { + RelatedCharacter = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerEvent : pb::IMessage<table_StarTowerEvent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerEvent> _parser = new pb::MessageParser<table_StarTowerEvent>(() => new table_StarTowerEvent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerEvent> 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.ClientTableReflection.Descriptor.MessageTypes[387]; } + } + + [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 table_StarTowerEvent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEvent(table_StarTowerEvent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEvent Clone() { + return new table_StarTowerEvent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEvent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEvent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEvent> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEvent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerEvent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerEvent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerEvent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerEvent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerEventAction : pb::IMessage<StarTowerEventAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerEventAction> _parser = new pb::MessageParser<StarTowerEventAction>(() => new StarTowerEventAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerEventAction> 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.ClientTableReflection.Descriptor.MessageTypes[388]; } + } + + [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 StarTowerEventAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEventAction(StarTowerEventAction other) : this() { + id_ = other.id_; + eventId_ = other.eventId_; + trigVoice_ = other.trigVoice_; + desc_ = other.desc_; + group_ = other.group_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEventAction Clone() { + return new StarTowerEventAction(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 "EventId" field.</summary> + public const int EventIdFieldNumber = 2; + private int eventId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EventId { + get { return eventId_; } + set { + eventId_ = value; + } + } + + /// <summary>Field number for the "TrigVoice" field.</summary> + public const int TrigVoiceFieldNumber = 3; + private string trigVoice_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TrigVoice { + get { return trigVoice_; } + set { + trigVoice_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "Group" field.</summary> + public const int GroupFieldNumber = 5; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerEventAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerEventAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (EventId != other.EventId) return false; + if (TrigVoice != other.TrigVoice) return false; + if (Desc != other.Desc) return false; + if (Group != other.Group) 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 (EventId != 0) hash ^= EventId.GetHashCode(); + if (TrigVoice.Length != 0) hash ^= TrigVoice.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Group != 0) hash ^= Group.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 (EventId != 0) { + output.WriteRawTag(16); + output.WriteInt32(EventId); + } + if (TrigVoice.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TrigVoice); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Group != 0) { + output.WriteRawTag(40); + output.WriteInt32(Group); + } + 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 (EventId != 0) { + output.WriteRawTag(16); + output.WriteInt32(EventId); + } + if (TrigVoice.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TrigVoice); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Group != 0) { + output.WriteRawTag(40); + output.WriteInt32(Group); + } + 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 (EventId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventId); + } + if (TrigVoice.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TrigVoice); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerEventAction other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.EventId != 0) { + EventId = other.EventId; + } + if (other.TrigVoice.Length != 0) { + TrigVoice = other.TrigVoice; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Group != 0) { + Group = other.Group; + } + _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: { + EventId = input.ReadInt32(); + break; + } + case 26: { + TrigVoice = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Group = 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: { + EventId = input.ReadInt32(); + break; + } + case 26: { + TrigVoice = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Group = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerEventAction : pb::IMessage<table_StarTowerEventAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerEventAction> _parser = new pb::MessageParser<table_StarTowerEventAction>(() => new table_StarTowerEventAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerEventAction> 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.ClientTableReflection.Descriptor.MessageTypes[389]; } + } + + [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 table_StarTowerEventAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEventAction(table_StarTowerEventAction other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEventAction Clone() { + return new table_StarTowerEventAction(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEventAction> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEventAction.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEventAction> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEventAction>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerEventAction> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerEventAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerEventAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerEventAction other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerEventOptionAction : pb::IMessage<StarTowerEventOptionAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerEventOptionAction> _parser = new pb::MessageParser<StarTowerEventOptionAction>(() => new StarTowerEventOptionAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerEventOptionAction> 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.ClientTableReflection.Descriptor.MessageTypes[390]; } + } + + [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 StarTowerEventOptionAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEventOptionAction(StarTowerEventOptionAction other) : this() { + id_ = other.id_; + optionId_ = other.optionId_; + desc_ = other.desc_; + group_ = other.group_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerEventOptionAction Clone() { + return new StarTowerEventOptionAction(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 "OptionId" field.</summary> + public const int OptionIdFieldNumber = 2; + private int optionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OptionId { + get { return optionId_; } + set { + optionId_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Group" field.</summary> + public const int GroupFieldNumber = 4; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerEventOptionAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerEventOptionAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (OptionId != other.OptionId) return false; + if (Desc != other.Desc) return false; + if (Group != other.Group) 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 (OptionId != 0) hash ^= OptionId.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Group != 0) hash ^= Group.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 (OptionId != 0) { + output.WriteRawTag(16); + output.WriteInt32(OptionId); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Group != 0) { + output.WriteRawTag(32); + output.WriteInt32(Group); + } + 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 (OptionId != 0) { + output.WriteRawTag(16); + output.WriteInt32(OptionId); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Group != 0) { + output.WriteRawTag(32); + output.WriteInt32(Group); + } + 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 (OptionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionId); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerEventOptionAction other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.OptionId != 0) { + OptionId = other.OptionId; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Group != 0) { + Group = other.Group; + } + _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: { + OptionId = input.ReadInt32(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Group = 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: { + OptionId = input.ReadInt32(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Group = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerEventOptionAction : pb::IMessage<table_StarTowerEventOptionAction> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerEventOptionAction> _parser = new pb::MessageParser<table_StarTowerEventOptionAction>(() => new table_StarTowerEventOptionAction()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerEventOptionAction> 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.ClientTableReflection.Descriptor.MessageTypes[391]; } + } + + [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 table_StarTowerEventOptionAction() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEventOptionAction(table_StarTowerEventOptionAction other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerEventOptionAction Clone() { + return new table_StarTowerEventOptionAction(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerEventOptionAction> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerEventOptionAction.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerEventOptionAction> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerEventOptionAction>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerEventOptionAction> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerEventOptionAction); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerEventOptionAction other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerEventOptionAction other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerFloor : pb::IMessage<StarTowerFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerFloor> _parser = new pb::MessageParser<StarTowerFloor>(() => new StarTowerFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerFloor> 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.ClientTableReflection.Descriptor.MessageTypes[392]; } + } + + [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 StarTowerFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloor(StarTowerFloor other) : this() { + id_ = other.id_; + commonGameplayType_ = other.commonGameplayType_; + commonMonsterSet_ = other.commonMonsterSet_; + limitTime_ = other.limitTime_; + dropObjectGroupId_ = other.dropObjectGroupId_; + dropObjectRate_ = other.dropObjectRate_; + dropMaxNum_ = other.dropMaxNum_; + monsterSurplusNum_ = other.monsterSurplusNum_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloor Clone() { + return new StarTowerFloor(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 "CommonGameplayType" field.</summary> + public const int CommonGameplayTypeFieldNumber = 2; + private int commonGameplayType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CommonGameplayType { + get { return commonGameplayType_; } + set { + commonGameplayType_ = value; + } + } + + /// <summary>Field number for the "CommonMonsterSet" field.</summary> + public const int CommonMonsterSetFieldNumber = 3; + private string commonMonsterSet_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CommonMonsterSet { + get { return commonMonsterSet_; } + set { + commonMonsterSet_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LimitTime" field.</summary> + public const int LimitTimeFieldNumber = 4; + private int limitTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LimitTime { + get { return limitTime_; } + set { + limitTime_ = value; + } + } + + /// <summary>Field number for the "DropObjectGroupId" field.</summary> + public const int DropObjectGroupIdFieldNumber = 5; + private int dropObjectGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropObjectGroupId { + get { return dropObjectGroupId_; } + set { + dropObjectGroupId_ = value; + } + } + + /// <summary>Field number for the "DropObjectRate" field.</summary> + public const int DropObjectRateFieldNumber = 6; + private int dropObjectRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropObjectRate { + get { return dropObjectRate_; } + set { + dropObjectRate_ = value; + } + } + + /// <summary>Field number for the "DropMaxNum" field.</summary> + public const int DropMaxNumFieldNumber = 7; + private int dropMaxNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DropMaxNum { + get { return dropMaxNum_; } + set { + dropMaxNum_ = value; + } + } + + /// <summary>Field number for the "MonsterSurplusNum" field.</summary> + public const int MonsterSurplusNumFieldNumber = 8; + private int monsterSurplusNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterSurplusNum { + get { return monsterSurplusNum_; } + set { + monsterSurplusNum_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CommonGameplayType != other.CommonGameplayType) return false; + if (CommonMonsterSet != other.CommonMonsterSet) return false; + if (LimitTime != other.LimitTime) return false; + if (DropObjectGroupId != other.DropObjectGroupId) return false; + if (DropObjectRate != other.DropObjectRate) return false; + if (DropMaxNum != other.DropMaxNum) return false; + if (MonsterSurplusNum != other.MonsterSurplusNum) 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 (CommonGameplayType != 0) hash ^= CommonGameplayType.GetHashCode(); + if (CommonMonsterSet.Length != 0) hash ^= CommonMonsterSet.GetHashCode(); + if (LimitTime != 0) hash ^= LimitTime.GetHashCode(); + if (DropObjectGroupId != 0) hash ^= DropObjectGroupId.GetHashCode(); + if (DropObjectRate != 0) hash ^= DropObjectRate.GetHashCode(); + if (DropMaxNum != 0) hash ^= DropMaxNum.GetHashCode(); + if (MonsterSurplusNum != 0) hash ^= MonsterSurplusNum.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 (CommonGameplayType != 0) { + output.WriteRawTag(16); + output.WriteInt32(CommonGameplayType); + } + if (CommonMonsterSet.Length != 0) { + output.WriteRawTag(26); + output.WriteString(CommonMonsterSet); + } + if (LimitTime != 0) { + output.WriteRawTag(32); + output.WriteInt32(LimitTime); + } + if (DropObjectGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(DropObjectGroupId); + } + if (DropObjectRate != 0) { + output.WriteRawTag(48); + output.WriteInt32(DropObjectRate); + } + if (DropMaxNum != 0) { + output.WriteRawTag(56); + output.WriteInt32(DropMaxNum); + } + if (MonsterSurplusNum != 0) { + output.WriteRawTag(64); + output.WriteInt32(MonsterSurplusNum); + } + 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 (CommonGameplayType != 0) { + output.WriteRawTag(16); + output.WriteInt32(CommonGameplayType); + } + if (CommonMonsterSet.Length != 0) { + output.WriteRawTag(26); + output.WriteString(CommonMonsterSet); + } + if (LimitTime != 0) { + output.WriteRawTag(32); + output.WriteInt32(LimitTime); + } + if (DropObjectGroupId != 0) { + output.WriteRawTag(40); + output.WriteInt32(DropObjectGroupId); + } + if (DropObjectRate != 0) { + output.WriteRawTag(48); + output.WriteInt32(DropObjectRate); + } + if (DropMaxNum != 0) { + output.WriteRawTag(56); + output.WriteInt32(DropMaxNum); + } + if (MonsterSurplusNum != 0) { + output.WriteRawTag(64); + output.WriteInt32(MonsterSurplusNum); + } + 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 (CommonGameplayType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CommonGameplayType); + } + if (CommonMonsterSet.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CommonMonsterSet); + } + if (LimitTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitTime); + } + if (DropObjectGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectGroupId); + } + if (DropObjectRate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropObjectRate); + } + if (DropMaxNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropMaxNum); + } + if (MonsterSurplusNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterSurplusNum); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CommonGameplayType != 0) { + CommonGameplayType = other.CommonGameplayType; + } + if (other.CommonMonsterSet.Length != 0) { + CommonMonsterSet = other.CommonMonsterSet; + } + if (other.LimitTime != 0) { + LimitTime = other.LimitTime; + } + if (other.DropObjectGroupId != 0) { + DropObjectGroupId = other.DropObjectGroupId; + } + if (other.DropObjectRate != 0) { + DropObjectRate = other.DropObjectRate; + } + if (other.DropMaxNum != 0) { + DropMaxNum = other.DropMaxNum; + } + if (other.MonsterSurplusNum != 0) { + MonsterSurplusNum = other.MonsterSurplusNum; + } + _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: { + CommonGameplayType = input.ReadInt32(); + break; + } + case 26: { + CommonMonsterSet = input.ReadString(); + break; + } + case 32: { + LimitTime = input.ReadInt32(); + break; + } + case 40: { + DropObjectGroupId = input.ReadInt32(); + break; + } + case 48: { + DropObjectRate = input.ReadInt32(); + break; + } + case 56: { + DropMaxNum = input.ReadInt32(); + break; + } + case 64: { + MonsterSurplusNum = 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: { + CommonGameplayType = input.ReadInt32(); + break; + } + case 26: { + CommonMonsterSet = input.ReadString(); + break; + } + case 32: { + LimitTime = input.ReadInt32(); + break; + } + case 40: { + DropObjectGroupId = input.ReadInt32(); + break; + } + case 48: { + DropObjectRate = input.ReadInt32(); + break; + } + case 56: { + DropMaxNum = input.ReadInt32(); + break; + } + case 64: { + MonsterSurplusNum = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerFloor : pb::IMessage<table_StarTowerFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerFloor> _parser = new pb::MessageParser<table_StarTowerFloor>(() => new table_StarTowerFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerFloor> 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.ClientTableReflection.Descriptor.MessageTypes[393]; } + } + + [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 table_StarTowerFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloor(table_StarTowerFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloor Clone() { + return new table_StarTowerFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloor> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerFloorAward : pb::IMessage<StarTowerFloorAward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerFloorAward> _parser = new pb::MessageParser<StarTowerFloorAward>(() => new StarTowerFloorAward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerFloorAward> 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.ClientTableReflection.Descriptor.MessageTypes[394]; } + } + + [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 StarTowerFloorAward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloorAward(StarTowerFloorAward other) : this() { + id_ = other.id_; + roguelikeId_ = other.roguelikeId_; + combatFloor_ = other.combatFloor_; + interiorCurrencyQuantity_ = other.interiorCurrencyQuantity_; + needEnergy_ = other.needEnergy_; + affinity_ = other.affinity_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloorAward Clone() { + return new StarTowerFloorAward(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 "RoguelikeId" field.</summary> + public const int RoguelikeIdFieldNumber = 2; + private int roguelikeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoguelikeId { + get { return roguelikeId_; } + set { + roguelikeId_ = value; + } + } + + /// <summary>Field number for the "CombatFloor" field.</summary> + public const int CombatFloorFieldNumber = 3; + private int combatFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CombatFloor { + get { return combatFloor_; } + set { + combatFloor_ = value; + } + } + + /// <summary>Field number for the "InteriorCurrencyQuantity" field.</summary> + public const int InteriorCurrencyQuantityFieldNumber = 4; + private int interiorCurrencyQuantity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int InteriorCurrencyQuantity { + get { return interiorCurrencyQuantity_; } + set { + interiorCurrencyQuantity_ = value; + } + } + + /// <summary>Field number for the "NeedEnergy" field.</summary> + public const int NeedEnergyFieldNumber = 5; + private int needEnergy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedEnergy { + get { return needEnergy_; } + set { + needEnergy_ = value; + } + } + + /// <summary>Field number for the "Affinity" field.</summary> + public const int AffinityFieldNumber = 6; + private int affinity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affinity { + get { return affinity_; } + set { + affinity_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerFloorAward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerFloorAward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RoguelikeId != other.RoguelikeId) return false; + if (CombatFloor != other.CombatFloor) return false; + if (InteriorCurrencyQuantity != other.InteriorCurrencyQuantity) return false; + if (NeedEnergy != other.NeedEnergy) return false; + if (Affinity != other.Affinity) 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 (RoguelikeId != 0) hash ^= RoguelikeId.GetHashCode(); + if (CombatFloor != 0) hash ^= CombatFloor.GetHashCode(); + if (InteriorCurrencyQuantity != 0) hash ^= InteriorCurrencyQuantity.GetHashCode(); + if (NeedEnergy != 0) hash ^= NeedEnergy.GetHashCode(); + if (Affinity != 0) hash ^= Affinity.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 (RoguelikeId != 0) { + output.WriteRawTag(16); + output.WriteInt32(RoguelikeId); + } + if (CombatFloor != 0) { + output.WriteRawTag(24); + output.WriteInt32(CombatFloor); + } + if (InteriorCurrencyQuantity != 0) { + output.WriteRawTag(32); + output.WriteInt32(InteriorCurrencyQuantity); + } + if (NeedEnergy != 0) { + output.WriteRawTag(40); + output.WriteInt32(NeedEnergy); + } + if (Affinity != 0) { + output.WriteRawTag(48); + output.WriteInt32(Affinity); + } + 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 (RoguelikeId != 0) { + output.WriteRawTag(16); + output.WriteInt32(RoguelikeId); + } + if (CombatFloor != 0) { + output.WriteRawTag(24); + output.WriteInt32(CombatFloor); + } + if (InteriorCurrencyQuantity != 0) { + output.WriteRawTag(32); + output.WriteInt32(InteriorCurrencyQuantity); + } + if (NeedEnergy != 0) { + output.WriteRawTag(40); + output.WriteInt32(NeedEnergy); + } + if (Affinity != 0) { + output.WriteRawTag(48); + output.WriteInt32(Affinity); + } + 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 (RoguelikeId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoguelikeId); + } + if (CombatFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CombatFloor); + } + if (InteriorCurrencyQuantity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteriorCurrencyQuantity); + } + if (NeedEnergy != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedEnergy); + } + if (Affinity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affinity); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerFloorAward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RoguelikeId != 0) { + RoguelikeId = other.RoguelikeId; + } + if (other.CombatFloor != 0) { + CombatFloor = other.CombatFloor; + } + if (other.InteriorCurrencyQuantity != 0) { + InteriorCurrencyQuantity = other.InteriorCurrencyQuantity; + } + if (other.NeedEnergy != 0) { + NeedEnergy = other.NeedEnergy; + } + if (other.Affinity != 0) { + Affinity = other.Affinity; + } + _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: { + RoguelikeId = input.ReadInt32(); + break; + } + case 24: { + CombatFloor = input.ReadInt32(); + break; + } + case 32: { + InteriorCurrencyQuantity = input.ReadInt32(); + break; + } + case 40: { + NeedEnergy = input.ReadInt32(); + break; + } + case 48: { + Affinity = 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: { + RoguelikeId = input.ReadInt32(); + break; + } + case 24: { + CombatFloor = input.ReadInt32(); + break; + } + case 32: { + InteriorCurrencyQuantity = input.ReadInt32(); + break; + } + case 40: { + NeedEnergy = input.ReadInt32(); + break; + } + case 48: { + Affinity = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerFloorAward : pb::IMessage<table_StarTowerFloorAward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerFloorAward> _parser = new pb::MessageParser<table_StarTowerFloorAward>(() => new table_StarTowerFloorAward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerFloorAward> 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.ClientTableReflection.Descriptor.MessageTypes[395]; } + } + + [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 table_StarTowerFloorAward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloorAward(table_StarTowerFloorAward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloorAward Clone() { + return new table_StarTowerFloorAward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloorAward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloorAward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloorAward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloorAward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerFloorAward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerFloorAward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerFloorAward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerFloorAward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerFloorExp : pb::IMessage<StarTowerFloorExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerFloorExp> _parser = new pb::MessageParser<StarTowerFloorExp>(() => new StarTowerFloorExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerFloorExp> 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.ClientTableReflection.Descriptor.MessageTypes[396]; } + } + + [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 StarTowerFloorExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloorExp(StarTowerFloorExp other) : this() { + id_ = other.id_; + starTowerId_ = other.starTowerId_; + stage_ = other.stage_; + normalExp_ = other.normalExp_; + eliteExp_ = other.eliteExp_; + bossExp_ = other.bossExp_; + finalBossExp_ = other.finalBossExp_; + dangerExp_ = other.dangerExp_; + horrorExp_ = other.horrorExp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloorExp Clone() { + return new StarTowerFloorExp(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 "StarTowerId" field.</summary> + public const int StarTowerIdFieldNumber = 2; + private int starTowerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StarTowerId { + get { return starTowerId_; } + set { + starTowerId_ = value; + } + } + + /// <summary>Field number for the "Stage" field.</summary> + public const int StageFieldNumber = 3; + private int stage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stage { + get { return stage_; } + set { + stage_ = value; + } + } + + /// <summary>Field number for the "NormalExp" field.</summary> + public const int NormalExpFieldNumber = 4; + private int normalExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalExp { + get { return normalExp_; } + set { + normalExp_ = value; + } + } + + /// <summary>Field number for the "EliteExp" field.</summary> + public const int EliteExpFieldNumber = 5; + private int eliteExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EliteExp { + get { return eliteExp_; } + set { + eliteExp_ = value; + } + } + + /// <summary>Field number for the "BossExp" field.</summary> + public const int BossExpFieldNumber = 6; + private int bossExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BossExp { + get { return bossExp_; } + set { + bossExp_ = value; + } + } + + /// <summary>Field number for the "FinalBossExp" field.</summary> + public const int FinalBossExpFieldNumber = 7; + private int finalBossExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FinalBossExp { + get { return finalBossExp_; } + set { + finalBossExp_ = value; + } + } + + /// <summary>Field number for the "DangerExp" field.</summary> + public const int DangerExpFieldNumber = 8; + private int dangerExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DangerExp { + get { return dangerExp_; } + set { + dangerExp_ = value; + } + } + + /// <summary>Field number for the "HorrorExp" field.</summary> + public const int HorrorExpFieldNumber = 9; + private int horrorExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int HorrorExp { + get { return horrorExp_; } + set { + horrorExp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerFloorExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerFloorExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (StarTowerId != other.StarTowerId) return false; + if (Stage != other.Stage) return false; + if (NormalExp != other.NormalExp) return false; + if (EliteExp != other.EliteExp) return false; + if (BossExp != other.BossExp) return false; + if (FinalBossExp != other.FinalBossExp) return false; + if (DangerExp != other.DangerExp) return false; + if (HorrorExp != other.HorrorExp) 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 (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); + if (Stage != 0) hash ^= Stage.GetHashCode(); + if (NormalExp != 0) hash ^= NormalExp.GetHashCode(); + if (EliteExp != 0) hash ^= EliteExp.GetHashCode(); + if (BossExp != 0) hash ^= BossExp.GetHashCode(); + if (FinalBossExp != 0) hash ^= FinalBossExp.GetHashCode(); + if (DangerExp != 0) hash ^= DangerExp.GetHashCode(); + if (HorrorExp != 0) hash ^= HorrorExp.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 (StarTowerId != 0) { + output.WriteRawTag(16); + output.WriteInt32(StarTowerId); + } + if (Stage != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stage); + } + if (NormalExp != 0) { + output.WriteRawTag(32); + output.WriteInt32(NormalExp); + } + if (EliteExp != 0) { + output.WriteRawTag(40); + output.WriteInt32(EliteExp); + } + if (BossExp != 0) { + output.WriteRawTag(48); + output.WriteInt32(BossExp); + } + if (FinalBossExp != 0) { + output.WriteRawTag(56); + output.WriteInt32(FinalBossExp); + } + if (DangerExp != 0) { + output.WriteRawTag(64); + output.WriteInt32(DangerExp); + } + if (HorrorExp != 0) { + output.WriteRawTag(72); + output.WriteInt32(HorrorExp); + } + 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 (StarTowerId != 0) { + output.WriteRawTag(16); + output.WriteInt32(StarTowerId); + } + if (Stage != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stage); + } + if (NormalExp != 0) { + output.WriteRawTag(32); + output.WriteInt32(NormalExp); + } + if (EliteExp != 0) { + output.WriteRawTag(40); + output.WriteInt32(EliteExp); + } + if (BossExp != 0) { + output.WriteRawTag(48); + output.WriteInt32(BossExp); + } + if (FinalBossExp != 0) { + output.WriteRawTag(56); + output.WriteInt32(FinalBossExp); + } + if (DangerExp != 0) { + output.WriteRawTag(64); + output.WriteInt32(DangerExp); + } + if (HorrorExp != 0) { + output.WriteRawTag(72); + output.WriteInt32(HorrorExp); + } + 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 (StarTowerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); + } + if (Stage != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); + } + if (NormalExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalExp); + } + if (EliteExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EliteExp); + } + if (BossExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossExp); + } + if (FinalBossExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FinalBossExp); + } + if (DangerExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DangerExp); + } + if (HorrorExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(HorrorExp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerFloorExp other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.StarTowerId != 0) { + StarTowerId = other.StarTowerId; + } + if (other.Stage != 0) { + Stage = other.Stage; + } + if (other.NormalExp != 0) { + NormalExp = other.NormalExp; + } + if (other.EliteExp != 0) { + EliteExp = other.EliteExp; + } + if (other.BossExp != 0) { + BossExp = other.BossExp; + } + if (other.FinalBossExp != 0) { + FinalBossExp = other.FinalBossExp; + } + if (other.DangerExp != 0) { + DangerExp = other.DangerExp; + } + if (other.HorrorExp != 0) { + HorrorExp = other.HorrorExp; + } + _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: { + StarTowerId = input.ReadInt32(); + break; + } + case 24: { + Stage = input.ReadInt32(); + break; + } + case 32: { + NormalExp = input.ReadInt32(); + break; + } + case 40: { + EliteExp = input.ReadInt32(); + break; + } + case 48: { + BossExp = input.ReadInt32(); + break; + } + case 56: { + FinalBossExp = input.ReadInt32(); + break; + } + case 64: { + DangerExp = input.ReadInt32(); + break; + } + case 72: { + HorrorExp = 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: { + StarTowerId = input.ReadInt32(); + break; + } + case 24: { + Stage = input.ReadInt32(); + break; + } + case 32: { + NormalExp = input.ReadInt32(); + break; + } + case 40: { + EliteExp = input.ReadInt32(); + break; + } + case 48: { + BossExp = input.ReadInt32(); + break; + } + case 56: { + FinalBossExp = input.ReadInt32(); + break; + } + case 64: { + DangerExp = input.ReadInt32(); + break; + } + case 72: { + HorrorExp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerFloorExp : pb::IMessage<table_StarTowerFloorExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerFloorExp> _parser = new pb::MessageParser<table_StarTowerFloorExp>(() => new table_StarTowerFloorExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerFloorExp> 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.ClientTableReflection.Descriptor.MessageTypes[397]; } + } + + [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 table_StarTowerFloorExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloorExp(table_StarTowerFloorExp other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloorExp Clone() { + return new table_StarTowerFloorExp(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloorExp> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloorExp.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloorExp> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloorExp>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerFloorExp> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerFloorExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerFloorExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerFloorExp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerFloorSet : pb::IMessage<StarTowerFloorSet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerFloorSet> _parser = new pb::MessageParser<StarTowerFloorSet>(() => new StarTowerFloorSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerFloorSet> 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.ClientTableReflection.Descriptor.MessageTypes[398]; } + } + + [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 StarTowerFloorSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloorSet(StarTowerFloorSet other) : this() { + id_ = other.id_; + battleLvs_ = other.battleLvs_; + stage_ = other.stage_.Clone(); + roomType_ = other.roomType_; + mapID_ = other.mapID_.Clone(); + floorID_ = other.floorID_.Clone(); + monsterLv_ = other.monsterLv_; + themeSkillLv_ = other.themeSkillLv_; + weight_ = other.weight_; + mutexGroup_ = other.mutexGroup_.Clone(); + specialModeId_ = other.specialModeId_; + monsterGroupBlacklist_ = other.monsterGroupBlacklist_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerFloorSet Clone() { + return new StarTowerFloorSet(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 "BattleLvs" field.</summary> + public const int BattleLvsFieldNumber = 2; + private int battleLvs_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BattleLvs { + get { return battleLvs_; } + set { + battleLvs_ = value; + } + } + + /// <summary>Field number for the "Stage" field.</summary> + public const int StageFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_stage_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> stage_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Stage { + get { return stage_; } + } + + /// <summary>Field number for the "RoomType" field.</summary> + public const int RoomTypeFieldNumber = 4; + private int roomType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoomType { + get { return roomType_; } + set { + roomType_ = value; + } + } + + /// <summary>Field number for the "MapID" field.</summary> + public const int MapIDFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_mapID_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> mapID_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> MapID { + get { return mapID_; } + } + + /// <summary>Field number for the "FloorID" field.</summary> + public const int FloorIDFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_floorID_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> floorID_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FloorID { + get { return floorID_; } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 7; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + /// <summary>Field number for the "ThemeSkillLv" field.</summary> + public const int ThemeSkillLvFieldNumber = 8; + private int themeSkillLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ThemeSkillLv { + get { return themeSkillLv_; } + set { + themeSkillLv_ = value; + } + } + + /// <summary>Field number for the "Weight" field.</summary> + public const int WeightFieldNumber = 9; + private int weight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Weight { + get { return weight_; } + set { + weight_ = value; + } + } + + /// <summary>Field number for the "MutexGroup" field.</summary> + public const int MutexGroupFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_mutexGroup_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> mutexGroup_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> MutexGroup { + get { return mutexGroup_; } + } + + /// <summary>Field number for the "SpecialModeId" field.</summary> + public const int SpecialModeIdFieldNumber = 11; + private int specialModeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpecialModeId { + get { return specialModeId_; } + set { + specialModeId_ = value; + } + } + + /// <summary>Field number for the "MonsterGroupBlacklist" field.</summary> + public const int MonsterGroupBlacklistFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_monsterGroupBlacklist_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> monsterGroupBlacklist_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> MonsterGroupBlacklist { + get { return monsterGroupBlacklist_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerFloorSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerFloorSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BattleLvs != other.BattleLvs) return false; + if(!stage_.Equals(other.stage_)) return false; + if (RoomType != other.RoomType) return false; + if(!mapID_.Equals(other.mapID_)) return false; + if(!floorID_.Equals(other.floorID_)) return false; + if (MonsterLv != other.MonsterLv) return false; + if (ThemeSkillLv != other.ThemeSkillLv) return false; + if (Weight != other.Weight) return false; + if(!mutexGroup_.Equals(other.mutexGroup_)) return false; + if (SpecialModeId != other.SpecialModeId) return false; + if(!monsterGroupBlacklist_.Equals(other.monsterGroupBlacklist_)) 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 (BattleLvs != 0) hash ^= BattleLvs.GetHashCode(); + hash ^= stage_.GetHashCode(); + if (RoomType != 0) hash ^= RoomType.GetHashCode(); + hash ^= mapID_.GetHashCode(); + hash ^= floorID_.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); + if (ThemeSkillLv != 0) hash ^= ThemeSkillLv.GetHashCode(); + if (Weight != 0) hash ^= Weight.GetHashCode(); + hash ^= mutexGroup_.GetHashCode(); + if (SpecialModeId != 0) hash ^= SpecialModeId.GetHashCode(); + hash ^= monsterGroupBlacklist_.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 (BattleLvs != 0) { + output.WriteRawTag(16); + output.WriteInt32(BattleLvs); + } + stage_.WriteTo(output, _repeated_stage_codec); + if (RoomType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RoomType); + } + mapID_.WriteTo(output, _repeated_mapID_codec); + floorID_.WriteTo(output, _repeated_floorID_codec); + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + if (ThemeSkillLv != 0) { + output.WriteRawTag(64); + output.WriteInt32(ThemeSkillLv); + } + if (Weight != 0) { + output.WriteRawTag(72); + output.WriteInt32(Weight); + } + mutexGroup_.WriteTo(output, _repeated_mutexGroup_codec); + if (SpecialModeId != 0) { + output.WriteRawTag(88); + output.WriteInt32(SpecialModeId); + } + monsterGroupBlacklist_.WriteTo(output, _repeated_monsterGroupBlacklist_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 (BattleLvs != 0) { + output.WriteRawTag(16); + output.WriteInt32(BattleLvs); + } + stage_.WriteTo(ref output, _repeated_stage_codec); + if (RoomType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RoomType); + } + mapID_.WriteTo(ref output, _repeated_mapID_codec); + floorID_.WriteTo(ref output, _repeated_floorID_codec); + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + if (ThemeSkillLv != 0) { + output.WriteRawTag(64); + output.WriteInt32(ThemeSkillLv); + } + if (Weight != 0) { + output.WriteRawTag(72); + output.WriteInt32(Weight); + } + mutexGroup_.WriteTo(ref output, _repeated_mutexGroup_codec); + if (SpecialModeId != 0) { + output.WriteRawTag(88); + output.WriteInt32(SpecialModeId); + } + monsterGroupBlacklist_.WriteTo(ref output, _repeated_monsterGroupBlacklist_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 (BattleLvs != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BattleLvs); + } + size += stage_.CalculateSize(_repeated_stage_codec); + if (RoomType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType); + } + size += mapID_.CalculateSize(_repeated_mapID_codec); + size += floorID_.CalculateSize(_repeated_floorID_codec); + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (ThemeSkillLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ThemeSkillLv); + } + if (Weight != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight); + } + size += mutexGroup_.CalculateSize(_repeated_mutexGroup_codec); + if (SpecialModeId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpecialModeId); + } + size += monsterGroupBlacklist_.CalculateSize(_repeated_monsterGroupBlacklist_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerFloorSet other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BattleLvs != 0) { + BattleLvs = other.BattleLvs; + } + stage_.Add(other.stage_); + if (other.RoomType != 0) { + RoomType = other.RoomType; + } + mapID_.Add(other.mapID_); + floorID_.Add(other.floorID_); + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + if (other.ThemeSkillLv != 0) { + ThemeSkillLv = other.ThemeSkillLv; + } + if (other.Weight != 0) { + Weight = other.Weight; + } + mutexGroup_.Add(other.mutexGroup_); + if (other.SpecialModeId != 0) { + SpecialModeId = other.SpecialModeId; + } + monsterGroupBlacklist_.Add(other.monsterGroupBlacklist_); + _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: { + BattleLvs = input.ReadInt32(); + break; + } + case 26: + case 24: { + stage_.AddEntriesFrom(input, _repeated_stage_codec); + break; + } + case 32: { + RoomType = input.ReadInt32(); + break; + } + case 42: + case 40: { + mapID_.AddEntriesFrom(input, _repeated_mapID_codec); + break; + } + case 50: + case 48: { + floorID_.AddEntriesFrom(input, _repeated_floorID_codec); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + case 64: { + ThemeSkillLv = input.ReadInt32(); + break; + } + case 72: { + Weight = input.ReadInt32(); + break; + } + case 82: + case 80: { + mutexGroup_.AddEntriesFrom(input, _repeated_mutexGroup_codec); + break; + } + case 88: { + SpecialModeId = input.ReadInt32(); + break; + } + case 98: + case 96: { + monsterGroupBlacklist_.AddEntriesFrom(input, _repeated_monsterGroupBlacklist_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: { + BattleLvs = input.ReadInt32(); + break; + } + case 26: + case 24: { + stage_.AddEntriesFrom(ref input, _repeated_stage_codec); + break; + } + case 32: { + RoomType = input.ReadInt32(); + break; + } + case 42: + case 40: { + mapID_.AddEntriesFrom(ref input, _repeated_mapID_codec); + break; + } + case 50: + case 48: { + floorID_.AddEntriesFrom(ref input, _repeated_floorID_codec); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + case 64: { + ThemeSkillLv = input.ReadInt32(); + break; + } + case 72: { + Weight = input.ReadInt32(); + break; + } + case 82: + case 80: { + mutexGroup_.AddEntriesFrom(ref input, _repeated_mutexGroup_codec); + break; + } + case 88: { + SpecialModeId = input.ReadInt32(); + break; + } + case 98: + case 96: { + monsterGroupBlacklist_.AddEntriesFrom(ref input, _repeated_monsterGroupBlacklist_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerFloorSet : pb::IMessage<table_StarTowerFloorSet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerFloorSet> _parser = new pb::MessageParser<table_StarTowerFloorSet>(() => new table_StarTowerFloorSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerFloorSet> 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.ClientTableReflection.Descriptor.MessageTypes[399]; } + } + + [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 table_StarTowerFloorSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloorSet(table_StarTowerFloorSet other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerFloorSet Clone() { + return new table_StarTowerFloorSet(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerFloorSet> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerFloorSet.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerFloorSet> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerFloorSet>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerFloorSet> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerFloorSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerFloorSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerFloorSet other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerGroup : pb::IMessage<StarTowerGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerGroup> _parser = new pb::MessageParser<StarTowerGroup>(() => new StarTowerGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerGroup> 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.ClientTableReflection.Descriptor.MessageTypes[400]; } + } + + [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 StarTowerGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGroup(StarTowerGroup other) : this() { + id_ = other.id_; + name_ = other.name_; + eET_ = other.eET_.Clone(); + episode_ = other.episode_; + sort_ = other.sort_; + groupType_ = other.groupType_; + groupTheme_ = other.groupTheme_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGroup Clone() { + return new StarTowerGroup(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 "EET" field.</summary> + public const int EETFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 4; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 5; + 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 "GroupType" field.</summary> + public const int GroupTypeFieldNumber = 6; + private int groupType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GroupType { + get { return groupType_; } + set { + groupType_ = value; + } + } + + /// <summary>Field number for the "GroupTheme" field.</summary> + public const int GroupThemeFieldNumber = 7; + private int groupTheme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GroupTheme { + get { return groupTheme_; } + set { + groupTheme_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerGroup 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(!eET_.Equals(other.eET_)) return false; + if (Episode != other.Episode) return false; + if (Sort != other.Sort) return false; + if (GroupType != other.GroupType) return false; + if (GroupTheme != other.GroupTheme) 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(); + hash ^= eET_.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (GroupType != 0) hash ^= GroupType.GetHashCode(); + if (GroupTheme != 0) hash ^= GroupTheme.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); + } + eET_.WriteTo(output, _repeated_eET_codec); + if (Episode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Episode); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + if (GroupType != 0) { + output.WriteRawTag(48); + output.WriteInt32(GroupType); + } + if (GroupTheme != 0) { + output.WriteRawTag(56); + output.WriteInt32(GroupTheme); + } + 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); + } + eET_.WriteTo(ref output, _repeated_eET_codec); + if (Episode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Episode); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + if (GroupType != 0) { + output.WriteRawTag(48); + output.WriteInt32(GroupType); + } + if (GroupTheme != 0) { + output.WriteRawTag(56); + output.WriteInt32(GroupTheme); + } + 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); + } + size += eET_.CalculateSize(_repeated_eET_codec); + if (Episode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (GroupType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupType); + } + if (GroupTheme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupTheme); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + eET_.Add(other.eET_); + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.GroupType != 0) { + GroupType = other.GroupType; + } + if (other.GroupTheme != 0) { + GroupTheme = other.GroupTheme; + } + _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 26: + case 24: { + eET_.AddEntriesFrom(input, _repeated_eET_codec); + break; + } + case 34: { + Episode = input.ReadString(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + case 48: { + GroupType = input.ReadInt32(); + break; + } + case 56: { + GroupTheme = 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 18: { + Name = input.ReadString(); + break; + } + case 26: + case 24: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + case 34: { + Episode = input.ReadString(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + case 48: { + GroupType = input.ReadInt32(); + break; + } + case 56: { + GroupTheme = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerGroup : pb::IMessage<table_StarTowerGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerGroup> _parser = new pb::MessageParser<table_StarTowerGroup>(() => new table_StarTowerGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerGroup> 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.ClientTableReflection.Descriptor.MessageTypes[401]; } + } + + [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 table_StarTowerGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerGroup(table_StarTowerGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerGroup Clone() { + return new table_StarTowerGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerGrowthGroup : pb::IMessage<StarTowerGrowthGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerGrowthGroup> _parser = new pb::MessageParser<StarTowerGrowthGroup>(() => new StarTowerGrowthGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerGrowthGroup> 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.ClientTableReflection.Descriptor.MessageTypes[402]; } + } + + [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 StarTowerGrowthGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGrowthGroup(StarTowerGrowthGroup other) : this() { + id_ = other.id_; + preGroup_ = other.preGroup_; + worldClass_ = other.worldClass_; + name_ = other.name_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGrowthGroup Clone() { + return new StarTowerGrowthGroup(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 "PreGroup" field.</summary> + public const int PreGroupFieldNumber = 2; + private int preGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreGroup { + get { return preGroup_; } + set { + preGroup_ = value; + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 3; + private int worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClass { + get { return worldClass_; } + set { + worldClass_ = 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerGrowthGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerGrowthGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (PreGroup != other.PreGroup) return false; + if (WorldClass != other.WorldClass) return false; + if (Name != other.Name) 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 (PreGroup != 0) hash ^= PreGroup.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + if (Name.Length != 0) hash ^= Name.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 (PreGroup != 0) { + output.WriteRawTag(16); + output.WriteInt32(PreGroup); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteInt32(WorldClass); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + 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 (PreGroup != 0) { + output.WriteRawTag(16); + output.WriteInt32(PreGroup); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteInt32(WorldClass); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + 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 (PreGroup != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreGroup); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerGrowthGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.PreGroup != 0) { + PreGroup = other.PreGroup; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + _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: { + PreGroup = input.ReadInt32(); + break; + } + case 24: { + WorldClass = input.ReadInt32(); + break; + } + case 34: { + Name = 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: { + PreGroup = input.ReadInt32(); + break; + } + case 24: { + WorldClass = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerGrowthGroup : pb::IMessage<table_StarTowerGrowthGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerGrowthGroup> _parser = new pb::MessageParser<table_StarTowerGrowthGroup>(() => new table_StarTowerGrowthGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerGrowthGroup> 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.ClientTableReflection.Descriptor.MessageTypes[403]; } + } + + [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 table_StarTowerGrowthGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerGrowthGroup(table_StarTowerGrowthGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerGrowthGroup Clone() { + return new table_StarTowerGrowthGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerGrowthGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerGrowthGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerGrowthGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerGrowthGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerGrowthGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerGrowthGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerGrowthGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerGrowthGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerGrowthNode : pb::IMessage<StarTowerGrowthNode> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerGrowthNode> _parser = new pb::MessageParser<StarTowerGrowthNode>(() => new StarTowerGrowthNode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerGrowthNode> 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.ClientTableReflection.Descriptor.MessageTypes[404]; } + } + + [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 StarTowerGrowthNode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGrowthNode(StarTowerGrowthNode other) : this() { + id_ = other.id_; + nodeId_ = other.nodeId_; + group_ = other.group_; + name_ = other.name_; + isServer_ = other.isServer_; + isClient_ = other.isClient_; + type_ = other.type_; + color_ = other.color_; + preNodes_ = other.preNodes_.Clone(); + effectClient_ = other.effectClient_; + clientParams_ = other.clientParams_; + priority_ = other.priority_; + icon_ = other.icon_; + position_ = other.position_.Clone(); + desc_ = other.desc_; + itemId1_ = other.itemId1_; + itemQty1_ = other.itemQty1_; + itemId2_ = other.itemId2_; + itemQty2_ = other.itemQty2_; + itemId3_ = other.itemId3_; + itemQty3_ = other.itemQty3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerGrowthNode Clone() { + return new StarTowerGrowthNode(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 "NodeId" field.</summary> + public const int NodeIdFieldNumber = 2; + private int nodeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NodeId { + get { return nodeId_; } + set { + nodeId_ = value; + } + } + + /// <summary>Field number for the "Group" field.</summary> + public const int GroupFieldNumber = 3; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = 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 "IsServer" field.</summary> + public const int IsServerFieldNumber = 5; + private bool isServer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsServer { + get { return isServer_; } + set { + isServer_ = value; + } + } + + /// <summary>Field number for the "IsClient" field.</summary> + public const int IsClientFieldNumber = 6; + private bool isClient_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsClient { + get { return isClient_; } + set { + isClient_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 7; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "Color" field.</summary> + public const int ColorFieldNumber = 8; + private int color_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Color { + get { return color_; } + set { + color_ = value; + } + } + + /// <summary>Field number for the "PreNodes" field.</summary> + public const int PreNodesFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_preNodes_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> preNodes_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PreNodes { + get { return preNodes_; } + } + + /// <summary>Field number for the "EffectClient" field.</summary> + public const int EffectClientFieldNumber = 10; + private int effectClient_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectClient { + get { return effectClient_; } + set { + effectClient_ = value; + } + } + + /// <summary>Field number for the "ClientParams" field.</summary> + public const int ClientParamsFieldNumber = 11; + private string clientParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClientParams { + get { return clientParams_; } + set { + clientParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Priority" field.</summary> + public const int PriorityFieldNumber = 12; + private int priority_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Priority { + get { return priority_; } + set { + priority_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 13; + 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 "Position" field.</summary> + public const int PositionFieldNumber = 14; + private static readonly pb::FieldCodec<int> _repeated_position_codec + = pb::FieldCodec.ForInt32(114); + private readonly pbc::RepeatedField<int> position_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Position { + get { return position_; } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 15; + 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 "ItemId1" field.</summary> + public const int ItemId1FieldNumber = 16; + private int itemId1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId1 { + get { return itemId1_; } + set { + itemId1_ = value; + } + } + + /// <summary>Field number for the "ItemQty1" field.</summary> + public const int ItemQty1FieldNumber = 17; + private int itemQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty1 { + get { return itemQty1_; } + set { + itemQty1_ = value; + } + } + + /// <summary>Field number for the "ItemId2" field.</summary> + public const int ItemId2FieldNumber = 18; + private int itemId2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId2 { + get { return itemId2_; } + set { + itemId2_ = value; + } + } + + /// <summary>Field number for the "ItemQty2" field.</summary> + public const int ItemQty2FieldNumber = 19; + private int itemQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty2 { + get { return itemQty2_; } + set { + itemQty2_ = value; + } + } + + /// <summary>Field number for the "ItemId3" field.</summary> + public const int ItemId3FieldNumber = 20; + private int itemId3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId3 { + get { return itemId3_; } + set { + itemId3_ = value; + } + } + + /// <summary>Field number for the "ItemQty3" field.</summary> + public const int ItemQty3FieldNumber = 21; + private int itemQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemQty3 { + get { return itemQty3_; } + set { + itemQty3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerGrowthNode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerGrowthNode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (NodeId != other.NodeId) return false; + if (Group != other.Group) return false; + if (Name != other.Name) return false; + if (IsServer != other.IsServer) return false; + if (IsClient != other.IsClient) return false; + if (Type != other.Type) return false; + if (Color != other.Color) return false; + if(!preNodes_.Equals(other.preNodes_)) return false; + if (EffectClient != other.EffectClient) return false; + if (ClientParams != other.ClientParams) return false; + if (Priority != other.Priority) return false; + if (Icon != other.Icon) return false; + if(!position_.Equals(other.position_)) return false; + if (Desc != other.Desc) return false; + if (ItemId1 != other.ItemId1) return false; + if (ItemQty1 != other.ItemQty1) return false; + if (ItemId2 != other.ItemId2) return false; + if (ItemQty2 != other.ItemQty2) return false; + if (ItemId3 != other.ItemId3) return false; + if (ItemQty3 != other.ItemQty3) 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 (NodeId != 0) hash ^= NodeId.GetHashCode(); + if (Group != 0) hash ^= Group.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (IsServer != false) hash ^= IsServer.GetHashCode(); + if (IsClient != false) hash ^= IsClient.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Color != 0) hash ^= Color.GetHashCode(); + hash ^= preNodes_.GetHashCode(); + if (EffectClient != 0) hash ^= EffectClient.GetHashCode(); + if (ClientParams.Length != 0) hash ^= ClientParams.GetHashCode(); + if (Priority != 0) hash ^= Priority.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + hash ^= position_.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (ItemId1 != 0) hash ^= ItemId1.GetHashCode(); + if (ItemQty1 != 0) hash ^= ItemQty1.GetHashCode(); + if (ItemId2 != 0) hash ^= ItemId2.GetHashCode(); + if (ItemQty2 != 0) hash ^= ItemQty2.GetHashCode(); + if (ItemId3 != 0) hash ^= ItemId3.GetHashCode(); + if (ItemQty3 != 0) hash ^= ItemQty3.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 (NodeId != 0) { + output.WriteRawTag(16); + output.WriteInt32(NodeId); + } + if (Group != 0) { + output.WriteRawTag(24); + output.WriteInt32(Group); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (IsServer != false) { + output.WriteRawTag(40); + output.WriteBool(IsServer); + } + if (IsClient != false) { + output.WriteRawTag(48); + output.WriteBool(IsClient); + } + if (Type != 0) { + output.WriteRawTag(56); + output.WriteInt32(Type); + } + if (Color != 0) { + output.WriteRawTag(64); + output.WriteInt32(Color); + } + preNodes_.WriteTo(output, _repeated_preNodes_codec); + if (EffectClient != 0) { + output.WriteRawTag(80); + output.WriteInt32(EffectClient); + } + if (ClientParams.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ClientParams); + } + if (Priority != 0) { + output.WriteRawTag(96); + output.WriteInt32(Priority); + } + if (Icon.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Icon); + } + position_.WriteTo(output, _repeated_position_codec); + if (Desc.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Desc); + } + if (ItemId1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ItemId1); + } + if (ItemQty1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ItemQty1); + } + if (ItemId2 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(ItemId2); + } + if (ItemQty2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ItemQty2); + } + if (ItemId3 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(ItemId3); + } + if (ItemQty3 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(ItemQty3); + } + 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 (NodeId != 0) { + output.WriteRawTag(16); + output.WriteInt32(NodeId); + } + if (Group != 0) { + output.WriteRawTag(24); + output.WriteInt32(Group); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (IsServer != false) { + output.WriteRawTag(40); + output.WriteBool(IsServer); + } + if (IsClient != false) { + output.WriteRawTag(48); + output.WriteBool(IsClient); + } + if (Type != 0) { + output.WriteRawTag(56); + output.WriteInt32(Type); + } + if (Color != 0) { + output.WriteRawTag(64); + output.WriteInt32(Color); + } + preNodes_.WriteTo(ref output, _repeated_preNodes_codec); + if (EffectClient != 0) { + output.WriteRawTag(80); + output.WriteInt32(EffectClient); + } + if (ClientParams.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ClientParams); + } + if (Priority != 0) { + output.WriteRawTag(96); + output.WriteInt32(Priority); + } + if (Icon.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Icon); + } + position_.WriteTo(ref output, _repeated_position_codec); + if (Desc.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Desc); + } + if (ItemId1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ItemId1); + } + if (ItemQty1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ItemQty1); + } + if (ItemId2 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(ItemId2); + } + if (ItemQty2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ItemQty2); + } + if (ItemId3 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(ItemId3); + } + if (ItemQty3 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(ItemQty3); + } + 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 (NodeId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NodeId); + } + if (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (IsServer != false) { + size += 1 + 1; + } + if (IsClient != false) { + size += 1 + 1; + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Color != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Color); + } + size += preNodes_.CalculateSize(_repeated_preNodes_codec); + if (EffectClient != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectClient); + } + if (ClientParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientParams); + } + if (Priority != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Priority); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + size += position_.CalculateSize(_repeated_position_codec); + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (ItemId1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemId1); + } + if (ItemQty1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemQty1); + } + if (ItemId2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemId2); + } + if (ItemQty2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemQty2); + } + if (ItemId3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemId3); + } + if (ItemQty3 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ItemQty3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerGrowthNode other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.NodeId != 0) { + NodeId = other.NodeId; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.IsServer != false) { + IsServer = other.IsServer; + } + if (other.IsClient != false) { + IsClient = other.IsClient; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Color != 0) { + Color = other.Color; + } + preNodes_.Add(other.preNodes_); + if (other.EffectClient != 0) { + EffectClient = other.EffectClient; + } + if (other.ClientParams.Length != 0) { + ClientParams = other.ClientParams; + } + if (other.Priority != 0) { + Priority = other.Priority; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + position_.Add(other.position_); + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.ItemId1 != 0) { + ItemId1 = other.ItemId1; + } + if (other.ItemQty1 != 0) { + ItemQty1 = other.ItemQty1; + } + if (other.ItemId2 != 0) { + ItemId2 = other.ItemId2; + } + if (other.ItemQty2 != 0) { + ItemQty2 = other.ItemQty2; + } + if (other.ItemId3 != 0) { + ItemId3 = other.ItemId3; + } + if (other.ItemQty3 != 0) { + ItemQty3 = other.ItemQty3; + } + _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: { + NodeId = input.ReadInt32(); + break; + } + case 24: { + Group = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + IsServer = input.ReadBool(); + break; + } + case 48: { + IsClient = input.ReadBool(); + break; + } + case 56: { + Type = input.ReadInt32(); + break; + } + case 64: { + Color = input.ReadInt32(); + break; + } + case 74: + case 72: { + preNodes_.AddEntriesFrom(input, _repeated_preNodes_codec); + break; + } + case 80: { + EffectClient = input.ReadInt32(); + break; + } + case 90: { + ClientParams = input.ReadString(); + break; + } + case 96: { + Priority = input.ReadInt32(); + break; + } + case 106: { + Icon = input.ReadString(); + break; + } + case 114: + case 112: { + position_.AddEntriesFrom(input, _repeated_position_codec); + break; + } + case 122: { + Desc = input.ReadString(); + break; + } + case 128: { + ItemId1 = input.ReadInt32(); + break; + } + case 136: { + ItemQty1 = input.ReadInt32(); + break; + } + case 144: { + ItemId2 = input.ReadInt32(); + break; + } + case 152: { + ItemQty2 = input.ReadInt32(); + break; + } + case 160: { + ItemId3 = input.ReadInt32(); + break; + } + case 168: { + ItemQty3 = 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: { + NodeId = input.ReadInt32(); + break; + } + case 24: { + Group = input.ReadInt32(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 40: { + IsServer = input.ReadBool(); + break; + } + case 48: { + IsClient = input.ReadBool(); + break; + } + case 56: { + Type = input.ReadInt32(); + break; + } + case 64: { + Color = input.ReadInt32(); + break; + } + case 74: + case 72: { + preNodes_.AddEntriesFrom(ref input, _repeated_preNodes_codec); + break; + } + case 80: { + EffectClient = input.ReadInt32(); + break; + } + case 90: { + ClientParams = input.ReadString(); + break; + } + case 96: { + Priority = input.ReadInt32(); + break; + } + case 106: { + Icon = input.ReadString(); + break; + } + case 114: + case 112: { + position_.AddEntriesFrom(ref input, _repeated_position_codec); + break; + } + case 122: { + Desc = input.ReadString(); + break; + } + case 128: { + ItemId1 = input.ReadInt32(); + break; + } + case 136: { + ItemQty1 = input.ReadInt32(); + break; + } + case 144: { + ItemId2 = input.ReadInt32(); + break; + } + case 152: { + ItemQty2 = input.ReadInt32(); + break; + } + case 160: { + ItemId3 = input.ReadInt32(); + break; + } + case 168: { + ItemQty3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerGrowthNode : pb::IMessage<table_StarTowerGrowthNode> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerGrowthNode> _parser = new pb::MessageParser<table_StarTowerGrowthNode>(() => new table_StarTowerGrowthNode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerGrowthNode> 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.ClientTableReflection.Descriptor.MessageTypes[405]; } + } + + [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 table_StarTowerGrowthNode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerGrowthNode(table_StarTowerGrowthNode other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerGrowthNode Clone() { + return new table_StarTowerGrowthNode(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerGrowthNode> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerGrowthNode.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerGrowthNode> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerGrowthNode>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerGrowthNode> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerGrowthNode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerGrowthNode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerGrowthNode other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerHarmonySkill : pb::IMessage<StarTowerHarmonySkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerHarmonySkill> _parser = new pb::MessageParser<StarTowerHarmonySkill>(() => new StarTowerHarmonySkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerHarmonySkill> 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.ClientTableReflection.Descriptor.MessageTypes[406]; } + } + + [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 StarTowerHarmonySkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerHarmonySkill(StarTowerHarmonySkill other) : this() { + id_ = other.id_; + rarity_ = other.rarity_; + name_ = other.name_; + tag_ = other.tag_; + score_ = other.score_; + effectId_ = other.effectId_.Clone(); + desc_ = other.desc_; + icon_ = other.icon_; + iconBg_ = other.iconBg_; + iconCorner_ = other.iconCorner_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerHarmonySkill Clone() { + return new StarTowerHarmonySkill(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 "Rarity" field.</summary> + public const int RarityFieldNumber = 2; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 3; + 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 "Tag" field.</summary> + public const int TagFieldNumber = 4; + private int tag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Tag { + get { return tag_; } + set { + tag_ = value; + } + } + + /// <summary>Field number for the "Score" field.</summary> + public const int ScoreFieldNumber = 5; + private int score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "EffectId" field.</summary> + public const int EffectIdFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_effectId_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId { + get { return effectId_; } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 7; + 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 = 8; + 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 "IconBg" field.</summary> + public const int IconBgFieldNumber = 9; + private string iconBg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IconBg { + get { return iconBg_; } + set { + iconBg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IconCorner" field.</summary> + public const int IconCornerFieldNumber = 10; + private string iconCorner_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IconCorner { + get { return iconCorner_; } + set { + iconCorner_ = 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 StarTowerHarmonySkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerHarmonySkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Rarity != other.Rarity) return false; + if (Name != other.Name) return false; + if (Tag != other.Tag) return false; + if (Score != other.Score) return false; + if(!effectId_.Equals(other.effectId_)) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (IconBg != other.IconBg) return false; + if (IconCorner != other.IconCorner) 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 (Rarity != 0) hash ^= Rarity.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Tag != 0) hash ^= Tag.GetHashCode(); + if (Score != 0) hash ^= Score.GetHashCode(); + hash ^= effectId_.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (IconBg.Length != 0) hash ^= IconBg.GetHashCode(); + if (IconCorner.Length != 0) hash ^= IconCorner.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 (Rarity != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rarity); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Tag != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tag); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteInt32(Score); + } + effectId_.WriteTo(output, _repeated_effectId_codec); + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (IconBg.Length != 0) { + output.WriteRawTag(74); + output.WriteString(IconBg); + } + if (IconCorner.Length != 0) { + output.WriteRawTag(82); + output.WriteString(IconCorner); + } + 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 (Rarity != 0) { + output.WriteRawTag(16); + output.WriteInt32(Rarity); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (Tag != 0) { + output.WriteRawTag(32); + output.WriteInt32(Tag); + } + if (Score != 0) { + output.WriteRawTag(40); + output.WriteInt32(Score); + } + effectId_.WriteTo(ref output, _repeated_effectId_codec); + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Icon); + } + if (IconBg.Length != 0) { + output.WriteRawTag(74); + output.WriteString(IconBg); + } + if (IconCorner.Length != 0) { + output.WriteRawTag(82); + output.WriteString(IconCorner); + } + 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 (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Tag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tag); + } + if (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score); + } + size += effectId_.CalculateSize(_repeated_effectId_codec); + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (IconBg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IconBg); + } + if (IconCorner.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IconCorner); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerHarmonySkill other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Tag != 0) { + Tag = other.Tag; + } + if (other.Score != 0) { + Score = other.Score; + } + effectId_.Add(other.effectId_); + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.IconBg.Length != 0) { + IconBg = other.IconBg; + } + if (other.IconCorner.Length != 0) { + IconCorner = other.IconCorner; + } + _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: { + Rarity = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + Tag = input.ReadInt32(); + break; + } + case 40: { + Score = input.ReadInt32(); + break; + } + case 50: + case 48: { + effectId_.AddEntriesFrom(input, _repeated_effectId_codec); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 74: { + IconBg = input.ReadString(); + break; + } + case 82: { + IconCorner = 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: { + Rarity = input.ReadInt32(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 32: { + Tag = input.ReadInt32(); + break; + } + case 40: { + Score = input.ReadInt32(); + break; + } + case 50: + case 48: { + effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 66: { + Icon = input.ReadString(); + break; + } + case 74: { + IconBg = input.ReadString(); + break; + } + case 82: { + IconCorner = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerHarmonySkill : pb::IMessage<table_StarTowerHarmonySkill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerHarmonySkill> _parser = new pb::MessageParser<table_StarTowerHarmonySkill>(() => new table_StarTowerHarmonySkill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerHarmonySkill> 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.ClientTableReflection.Descriptor.MessageTypes[407]; } + } + + [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 table_StarTowerHarmonySkill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerHarmonySkill(table_StarTowerHarmonySkill other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerHarmonySkill Clone() { + return new table_StarTowerHarmonySkill(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerHarmonySkill> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerHarmonySkill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerHarmonySkill> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerHarmonySkill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerHarmonySkill> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerHarmonySkill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerHarmonySkill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerHarmonySkill other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerLimitReward : pb::IMessage<StarTowerLimitReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerLimitReward> _parser = new pb::MessageParser<StarTowerLimitReward>(() => new StarTowerLimitReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerLimitReward> 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.ClientTableReflection.Descriptor.MessageTypes[408]; } + } + + [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 StarTowerLimitReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerLimitReward(StarTowerLimitReward other) : this() { + id_ = other.id_; + stage_ = other.stage_; + starTowerId_ = other.starTowerId_; + roomType_ = other.roomType_; + timeLimit_ = other.timeLimit_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerLimitReward Clone() { + return new StarTowerLimitReward(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 "Stage" field.</summary> + public const int StageFieldNumber = 2; + private int stage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stage { + get { return stage_; } + set { + stage_ = value; + } + } + + /// <summary>Field number for the "StarTowerId" field.</summary> + public const int StarTowerIdFieldNumber = 3; + private int starTowerId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int StarTowerId { + get { return starTowerId_; } + set { + starTowerId_ = value; + } + } + + /// <summary>Field number for the "RoomType" field.</summary> + public const int RoomTypeFieldNumber = 4; + private int roomType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoomType { + get { return roomType_; } + set { + roomType_ = value; + } + } + + /// <summary>Field number for the "TimeLimit" field.</summary> + public const int TimeLimitFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_timeLimit_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> timeLimit_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TimeLimit { + get { return timeLimit_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerLimitReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerLimitReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Stage != other.Stage) return false; + if (StarTowerId != other.StarTowerId) return false; + if (RoomType != other.RoomType) return false; + if(!timeLimit_.Equals(other.timeLimit_)) 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 (Stage != 0) hash ^= Stage.GetHashCode(); + if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode(); + if (RoomType != 0) hash ^= RoomType.GetHashCode(); + hash ^= timeLimit_.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 (Stage != 0) { + output.WriteRawTag(16); + output.WriteInt32(Stage); + } + if (StarTowerId != 0) { + output.WriteRawTag(24); + output.WriteInt32(StarTowerId); + } + if (RoomType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RoomType); + } + timeLimit_.WriteTo(output, _repeated_timeLimit_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 (Stage != 0) { + output.WriteRawTag(16); + output.WriteInt32(Stage); + } + if (StarTowerId != 0) { + output.WriteRawTag(24); + output.WriteInt32(StarTowerId); + } + if (RoomType != 0) { + output.WriteRawTag(32); + output.WriteInt32(RoomType); + } + timeLimit_.WriteTo(ref output, _repeated_timeLimit_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 (Stage != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); + } + if (StarTowerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId); + } + if (RoomType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType); + } + size += timeLimit_.CalculateSize(_repeated_timeLimit_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerLimitReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Stage != 0) { + Stage = other.Stage; + } + if (other.StarTowerId != 0) { + StarTowerId = other.StarTowerId; + } + if (other.RoomType != 0) { + RoomType = other.RoomType; + } + timeLimit_.Add(other.timeLimit_); + _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: { + Stage = input.ReadInt32(); + break; + } + case 24: { + StarTowerId = input.ReadInt32(); + break; + } + case 32: { + RoomType = input.ReadInt32(); + break; + } + case 42: + case 40: { + timeLimit_.AddEntriesFrom(input, _repeated_timeLimit_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: { + Stage = input.ReadInt32(); + break; + } + case 24: { + StarTowerId = input.ReadInt32(); + break; + } + case 32: { + RoomType = input.ReadInt32(); + break; + } + case 42: + case 40: { + timeLimit_.AddEntriesFrom(ref input, _repeated_timeLimit_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerLimitReward : pb::IMessage<table_StarTowerLimitReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerLimitReward> _parser = new pb::MessageParser<table_StarTowerLimitReward>(() => new table_StarTowerLimitReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerLimitReward> 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.ClientTableReflection.Descriptor.MessageTypes[409]; } + } + + [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 table_StarTowerLimitReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerLimitReward(table_StarTowerLimitReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerLimitReward Clone() { + return new table_StarTowerLimitReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerLimitReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerLimitReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerLimitReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerLimitReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerLimitReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerLimitReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerLimitReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerLimitReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerMap : pb::IMessage<StarTowerMap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerMap> _parser = new pb::MessageParser<StarTowerMap>(() => new StarTowerMap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerMap> 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.ClientTableReflection.Descriptor.MessageTypes[410]; } + } + + [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 StarTowerMap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMap(StarTowerMap other) : this() { + id_ = other.id_; + sceneRes_ = other.sceneRes_; + bGSceneRes_ = other.bGSceneRes_; + theme_ = other.theme_; + prefabNum_ = other.prefabNum_.Clone(); + mir_ = other.mir_; + outPortNum_ = other.outPortNum_; + outPortHint_ = other.outPortHint_; + bGMRes_ = other.bGMRes_; + completeSoundEffectRes_ = other.completeSoundEffectRes_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMap Clone() { + return new StarTowerMap(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 "SceneRes" field.</summary> + public const int SceneResFieldNumber = 2; + private string sceneRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneRes { + get { return sceneRes_; } + set { + sceneRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BGSceneRes" field.</summary> + public const int BGSceneResFieldNumber = 3; + private string bGSceneRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGSceneRes { + get { return bGSceneRes_; } + set { + bGSceneRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "PrefabNum" field.</summary> + public const int PrefabNumFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_prefabNum_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> prefabNum_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PrefabNum { + get { return prefabNum_; } + } + + /// <summary>Field number for the "Mir" field.</summary> + public const int MirFieldNumber = 6; + private bool mir_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Mir { + get { return mir_; } + set { + mir_ = value; + } + } + + /// <summary>Field number for the "OutPortNum" field.</summary> + public const int OutPortNumFieldNumber = 7; + private int outPortNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OutPortNum { + get { return outPortNum_; } + set { + outPortNum_ = value; + } + } + + /// <summary>Field number for the "OutPortHint" field.</summary> + public const int OutPortHintFieldNumber = 8; + private bool outPortHint_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool OutPortHint { + get { return outPortHint_; } + set { + outPortHint_ = value; + } + } + + /// <summary>Field number for the "BGMRes" field.</summary> + public const int BGMResFieldNumber = 9; + private string bGMRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGMRes { + get { return bGMRes_; } + set { + bGMRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CompleteSoundEffectRes" field.</summary> + public const int CompleteSoundEffectResFieldNumber = 10; + private string completeSoundEffectRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteSoundEffectRes { + get { return completeSoundEffectRes_; } + set { + completeSoundEffectRes_ = 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 StarTowerMap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerMap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneRes != other.SceneRes) return false; + if (BGSceneRes != other.BGSceneRes) return false; + if (Theme != other.Theme) return false; + if(!prefabNum_.Equals(other.prefabNum_)) return false; + if (Mir != other.Mir) return false; + if (OutPortNum != other.OutPortNum) return false; + if (OutPortHint != other.OutPortHint) return false; + if (BGMRes != other.BGMRes) return false; + if (CompleteSoundEffectRes != other.CompleteSoundEffectRes) 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 (SceneRes.Length != 0) hash ^= SceneRes.GetHashCode(); + if (BGSceneRes.Length != 0) hash ^= BGSceneRes.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + hash ^= prefabNum_.GetHashCode(); + if (Mir != false) hash ^= Mir.GetHashCode(); + if (OutPortNum != 0) hash ^= OutPortNum.GetHashCode(); + if (OutPortHint != false) hash ^= OutPortHint.GetHashCode(); + if (BGMRes.Length != 0) hash ^= BGMRes.GetHashCode(); + if (CompleteSoundEffectRes.Length != 0) hash ^= CompleteSoundEffectRes.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 (SceneRes.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneRes); + } + if (BGSceneRes.Length != 0) { + output.WriteRawTag(26); + output.WriteString(BGSceneRes); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + prefabNum_.WriteTo(output, _repeated_prefabNum_codec); + if (Mir != false) { + output.WriteRawTag(48); + output.WriteBool(Mir); + } + if (OutPortNum != 0) { + output.WriteRawTag(56); + output.WriteInt32(OutPortNum); + } + if (OutPortHint != false) { + output.WriteRawTag(64); + output.WriteBool(OutPortHint); + } + if (BGMRes.Length != 0) { + output.WriteRawTag(74); + output.WriteString(BGMRes); + } + if (CompleteSoundEffectRes.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CompleteSoundEffectRes); + } + 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 (SceneRes.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneRes); + } + if (BGSceneRes.Length != 0) { + output.WriteRawTag(26); + output.WriteString(BGSceneRes); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + prefabNum_.WriteTo(ref output, _repeated_prefabNum_codec); + if (Mir != false) { + output.WriteRawTag(48); + output.WriteBool(Mir); + } + if (OutPortNum != 0) { + output.WriteRawTag(56); + output.WriteInt32(OutPortNum); + } + if (OutPortHint != false) { + output.WriteRawTag(64); + output.WriteBool(OutPortHint); + } + if (BGMRes.Length != 0) { + output.WriteRawTag(74); + output.WriteString(BGMRes); + } + if (CompleteSoundEffectRes.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CompleteSoundEffectRes); + } + 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 (SceneRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneRes); + } + if (BGSceneRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGSceneRes); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + size += prefabNum_.CalculateSize(_repeated_prefabNum_codec); + if (Mir != false) { + size += 1 + 1; + } + if (OutPortNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutPortNum); + } + if (OutPortHint != false) { + size += 1 + 1; + } + if (BGMRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGMRes); + } + if (CompleteSoundEffectRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteSoundEffectRes); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerMap other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneRes.Length != 0) { + SceneRes = other.SceneRes; + } + if (other.BGSceneRes.Length != 0) { + BGSceneRes = other.BGSceneRes; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + prefabNum_.Add(other.prefabNum_); + if (other.Mir != false) { + Mir = other.Mir; + } + if (other.OutPortNum != 0) { + OutPortNum = other.OutPortNum; + } + if (other.OutPortHint != false) { + OutPortHint = other.OutPortHint; + } + if (other.BGMRes.Length != 0) { + BGMRes = other.BGMRes; + } + if (other.CompleteSoundEffectRes.Length != 0) { + CompleteSoundEffectRes = other.CompleteSoundEffectRes; + } + _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: { + SceneRes = input.ReadString(); + break; + } + case 26: { + BGSceneRes = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: + case 40: { + prefabNum_.AddEntriesFrom(input, _repeated_prefabNum_codec); + break; + } + case 48: { + Mir = input.ReadBool(); + break; + } + case 56: { + OutPortNum = input.ReadInt32(); + break; + } + case 64: { + OutPortHint = input.ReadBool(); + break; + } + case 74: { + BGMRes = input.ReadString(); + break; + } + case 82: { + CompleteSoundEffectRes = 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 18: { + SceneRes = input.ReadString(); + break; + } + case 26: { + BGSceneRes = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: + case 40: { + prefabNum_.AddEntriesFrom(ref input, _repeated_prefabNum_codec); + break; + } + case 48: { + Mir = input.ReadBool(); + break; + } + case 56: { + OutPortNum = input.ReadInt32(); + break; + } + case 64: { + OutPortHint = input.ReadBool(); + break; + } + case 74: { + BGMRes = input.ReadString(); + break; + } + case 82: { + CompleteSoundEffectRes = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerMap : pb::IMessage<table_StarTowerMap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerMap> _parser = new pb::MessageParser<table_StarTowerMap>(() => new table_StarTowerMap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerMap> 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.ClientTableReflection.Descriptor.MessageTypes[411]; } + } + + [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 table_StarTowerMap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMap(table_StarTowerMap other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMap Clone() { + return new table_StarTowerMap(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMap> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMap.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMap> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMap>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerMap> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerMap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerMap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerMap other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerMapMaxNumPerStage : pb::IMessage<StarTowerMapMaxNumPerStage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerMapMaxNumPerStage> _parser = new pb::MessageParser<StarTowerMapMaxNumPerStage>(() => new StarTowerMapMaxNumPerStage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerMapMaxNumPerStage> 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.ClientTableReflection.Descriptor.MessageTypes[412]; } + } + + [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 StarTowerMapMaxNumPerStage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMapMaxNumPerStage(StarTowerMapMaxNumPerStage other) : this() { + id_ = other.id_; + maxNumPerStage_ = other.maxNumPerStage_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMapMaxNumPerStage Clone() { + return new StarTowerMapMaxNumPerStage(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 "MaxNumPerStage" field.</summary> + public const int MaxNumPerStageFieldNumber = 2; + private int maxNumPerStage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxNumPerStage { + get { return maxNumPerStage_; } + set { + maxNumPerStage_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerMapMaxNumPerStage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerMapMaxNumPerStage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MaxNumPerStage != other.MaxNumPerStage) 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 (MaxNumPerStage != 0) hash ^= MaxNumPerStage.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 (MaxNumPerStage != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxNumPerStage); + } + 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 (MaxNumPerStage != 0) { + output.WriteRawTag(16); + output.WriteInt32(MaxNumPerStage); + } + 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 (MaxNumPerStage != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNumPerStage); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerMapMaxNumPerStage other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MaxNumPerStage != 0) { + MaxNumPerStage = other.MaxNumPerStage; + } + _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: { + MaxNumPerStage = 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: { + MaxNumPerStage = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerMapMaxNumPerStage : pb::IMessage<table_StarTowerMapMaxNumPerStage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerMapMaxNumPerStage> _parser = new pb::MessageParser<table_StarTowerMapMaxNumPerStage>(() => new table_StarTowerMapMaxNumPerStage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerMapMaxNumPerStage> 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.ClientTableReflection.Descriptor.MessageTypes[413]; } + } + + [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 table_StarTowerMapMaxNumPerStage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMapMaxNumPerStage(table_StarTowerMapMaxNumPerStage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMapMaxNumPerStage Clone() { + return new table_StarTowerMapMaxNumPerStage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMapMaxNumPerStage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMapMaxNumPerStage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMapMaxNumPerStage> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMapMaxNumPerStage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerMapMaxNumPerStage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerMapMaxNumPerStage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerMapMaxNumPerStage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerMapMaxNumPerStage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerMonsterBornGroup : pb::IMessage<StarTowerMonsterBornGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerMonsterBornGroup> _parser = new pb::MessageParser<StarTowerMonsterBornGroup>(() => new StarTowerMonsterBornGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerMonsterBornGroup> 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.ClientTableReflection.Descriptor.MessageTypes[414]; } + } + + [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 StarTowerMonsterBornGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMonsterBornGroup(StarTowerMonsterBornGroup other) : this() { + groupId_ = other.groupId_; + monsterId_ = other.monsterId_; + difficulty_ = other.difficulty_; + minFloor_ = other.minFloor_; + maxFloor_ = other.maxFloor_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMonsterBornGroup Clone() { + return new StarTowerMonsterBornGroup(this); + } + + /// <summary>Field number for the "GroupId" field.</summary> + public const int GroupIdFieldNumber = 1; + 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 "MonsterId" field.</summary> + public const int MonsterIdFieldNumber = 2; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + 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; + } + } + + /// <summary>Field number for the "MinFloor" field.</summary> + public const int MinFloorFieldNumber = 4; + private int minFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MinFloor { + get { return minFloor_; } + set { + minFloor_ = value; + } + } + + /// <summary>Field number for the "MaxFloor" field.</summary> + public const int MaxFloorFieldNumber = 5; + private int maxFloor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxFloor { + get { return maxFloor_; } + set { + maxFloor_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerMonsterBornGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerMonsterBornGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GroupId != other.GroupId) return false; + if (MonsterId != other.MonsterId) return false; + if (Difficulty != other.Difficulty) return false; + if (MinFloor != other.MinFloor) return false; + if (MaxFloor != other.MaxFloor) 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 (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (MinFloor != 0) hash ^= MinFloor.GetHashCode(); + if (MaxFloor != 0) hash ^= MaxFloor.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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(GroupId); + } + if (MonsterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterId); + } + if (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (MinFloor != 0) { + output.WriteRawTag(32); + output.WriteInt32(MinFloor); + } + if (MaxFloor != 0) { + output.WriteRawTag(40); + output.WriteInt32(MaxFloor); + } + 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 (GroupId != 0) { + output.WriteRawTag(8); + output.WriteInt32(GroupId); + } + if (MonsterId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterId); + } + if (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (MinFloor != 0) { + output.WriteRawTag(32); + output.WriteInt32(MinFloor); + } + if (MaxFloor != 0) { + output.WriteRawTag(40); + output.WriteInt32(MaxFloor); + } + 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 (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + } + if (MinFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinFloor); + } + if (MaxFloor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxFloor); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerMonsterBornGroup other) { + if (other == null) { + return; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.MinFloor != 0) { + MinFloor = other.MinFloor; + } + if (other.MaxFloor != 0) { + MaxFloor = other.MaxFloor; + } + _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: { + GroupId = input.ReadInt32(); + break; + } + case 16: { + MonsterId = input.ReadInt32(); + break; + } + case 24: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + MinFloor = input.ReadInt32(); + break; + } + case 40: { + MaxFloor = 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: { + GroupId = input.ReadInt32(); + break; + } + case 16: { + MonsterId = input.ReadInt32(); + break; + } + case 24: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + MinFloor = input.ReadInt32(); + break; + } + case 40: { + MaxFloor = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerMonsterBornGroup : pb::IMessage<table_StarTowerMonsterBornGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerMonsterBornGroup> _parser = new pb::MessageParser<table_StarTowerMonsterBornGroup>(() => new table_StarTowerMonsterBornGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerMonsterBornGroup> 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.ClientTableReflection.Descriptor.MessageTypes[415]; } + } + + [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 table_StarTowerMonsterBornGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMonsterBornGroup(table_StarTowerMonsterBornGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMonsterBornGroup Clone() { + return new table_StarTowerMonsterBornGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMonsterBornGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMonsterBornGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMonsterBornGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMonsterBornGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerMonsterBornGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerMonsterBornGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerMonsterBornGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerMonsterBornGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerMonsterSpAttr : pb::IMessage<StarTowerMonsterSpAttr> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerMonsterSpAttr> _parser = new pb::MessageParser<StarTowerMonsterSpAttr>(() => new StarTowerMonsterSpAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerMonsterSpAttr> 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.ClientTableReflection.Descriptor.MessageTypes[416]; } + } + + [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 StarTowerMonsterSpAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMonsterSpAttr(StarTowerMonsterSpAttr other) : this() { + id_ = other.id_; + monsterPosition_ = other.monsterPosition_; + themeSkills_ = other.themeSkills_; + continuousKillingTime_ = other.continuousKillingTime_; + rougeMoneyDropRange_ = other.rougeMoneyDropRange_.Clone(); + rougeExpDropRange_ = other.rougeExpDropRange_.Clone(); + refDistance_ = other.refDistance_.Clone(); + refInterval_ = other.refInterval_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerMonsterSpAttr Clone() { + return new StarTowerMonsterSpAttr(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 "MonsterPosition" field.</summary> + public const int MonsterPositionFieldNumber = 2; + private int monsterPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterPosition { + get { return monsterPosition_; } + set { + monsterPosition_ = value; + } + } + + /// <summary>Field number for the "ThemeSkills" field.</summary> + public const int ThemeSkillsFieldNumber = 3; + private string themeSkills_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ThemeSkills { + get { return themeSkills_; } + set { + themeSkills_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ContinuousKillingTime" field.</summary> + public const int ContinuousKillingTimeFieldNumber = 4; + private int continuousKillingTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ContinuousKillingTime { + get { return continuousKillingTime_; } + set { + continuousKillingTime_ = value; + } + } + + /// <summary>Field number for the "RougeMoneyDropRange" field.</summary> + public const int RougeMoneyDropRangeFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_rougeMoneyDropRange_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> rougeMoneyDropRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> RougeMoneyDropRange { + get { return rougeMoneyDropRange_; } + } + + /// <summary>Field number for the "RougeExpDropRange" field.</summary> + public const int RougeExpDropRangeFieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_rougeExpDropRange_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> rougeExpDropRange_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> RougeExpDropRange { + get { return rougeExpDropRange_; } + } + + /// <summary>Field number for the "RefDistance" field.</summary> + public const int RefDistanceFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_refDistance_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> refDistance_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> RefDistance { + get { return refDistance_; } + } + + /// <summary>Field number for the "RefInterval" field.</summary> + public const int RefIntervalFieldNumber = 8; + private int refInterval_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RefInterval { + get { return refInterval_; } + set { + refInterval_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerMonsterSpAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerMonsterSpAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MonsterPosition != other.MonsterPosition) return false; + if (ThemeSkills != other.ThemeSkills) return false; + if (ContinuousKillingTime != other.ContinuousKillingTime) return false; + if(!rougeMoneyDropRange_.Equals(other.rougeMoneyDropRange_)) return false; + if(!rougeExpDropRange_.Equals(other.rougeExpDropRange_)) return false; + if(!refDistance_.Equals(other.refDistance_)) return false; + if (RefInterval != other.RefInterval) 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 (MonsterPosition != 0) hash ^= MonsterPosition.GetHashCode(); + if (ThemeSkills.Length != 0) hash ^= ThemeSkills.GetHashCode(); + if (ContinuousKillingTime != 0) hash ^= ContinuousKillingTime.GetHashCode(); + hash ^= rougeMoneyDropRange_.GetHashCode(); + hash ^= rougeExpDropRange_.GetHashCode(); + hash ^= refDistance_.GetHashCode(); + if (RefInterval != 0) hash ^= RefInterval.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 (MonsterPosition != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterPosition); + } + if (ThemeSkills.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ThemeSkills); + } + if (ContinuousKillingTime != 0) { + output.WriteRawTag(32); + output.WriteInt32(ContinuousKillingTime); + } + rougeMoneyDropRange_.WriteTo(output, _repeated_rougeMoneyDropRange_codec); + rougeExpDropRange_.WriteTo(output, _repeated_rougeExpDropRange_codec); + refDistance_.WriteTo(output, _repeated_refDistance_codec); + if (RefInterval != 0) { + output.WriteRawTag(64); + output.WriteInt32(RefInterval); + } + 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 (MonsterPosition != 0) { + output.WriteRawTag(16); + output.WriteInt32(MonsterPosition); + } + if (ThemeSkills.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ThemeSkills); + } + if (ContinuousKillingTime != 0) { + output.WriteRawTag(32); + output.WriteInt32(ContinuousKillingTime); + } + rougeMoneyDropRange_.WriteTo(ref output, _repeated_rougeMoneyDropRange_codec); + rougeExpDropRange_.WriteTo(ref output, _repeated_rougeExpDropRange_codec); + refDistance_.WriteTo(ref output, _repeated_refDistance_codec); + if (RefInterval != 0) { + output.WriteRawTag(64); + output.WriteInt32(RefInterval); + } + 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 (MonsterPosition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterPosition); + } + if (ThemeSkills.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ThemeSkills); + } + if (ContinuousKillingTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ContinuousKillingTime); + } + size += rougeMoneyDropRange_.CalculateSize(_repeated_rougeMoneyDropRange_codec); + size += rougeExpDropRange_.CalculateSize(_repeated_rougeExpDropRange_codec); + size += refDistance_.CalculateSize(_repeated_refDistance_codec); + if (RefInterval != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RefInterval); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerMonsterSpAttr other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MonsterPosition != 0) { + MonsterPosition = other.MonsterPosition; + } + if (other.ThemeSkills.Length != 0) { + ThemeSkills = other.ThemeSkills; + } + if (other.ContinuousKillingTime != 0) { + ContinuousKillingTime = other.ContinuousKillingTime; + } + rougeMoneyDropRange_.Add(other.rougeMoneyDropRange_); + rougeExpDropRange_.Add(other.rougeExpDropRange_); + refDistance_.Add(other.refDistance_); + if (other.RefInterval != 0) { + RefInterval = other.RefInterval; + } + _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: { + MonsterPosition = input.ReadInt32(); + break; + } + case 26: { + ThemeSkills = input.ReadString(); + break; + } + case 32: { + ContinuousKillingTime = input.ReadInt32(); + break; + } + case 42: + case 40: { + rougeMoneyDropRange_.AddEntriesFrom(input, _repeated_rougeMoneyDropRange_codec); + break; + } + case 50: + case 48: { + rougeExpDropRange_.AddEntriesFrom(input, _repeated_rougeExpDropRange_codec); + break; + } + case 58: + case 56: { + refDistance_.AddEntriesFrom(input, _repeated_refDistance_codec); + break; + } + case 64: { + RefInterval = 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: { + MonsterPosition = input.ReadInt32(); + break; + } + case 26: { + ThemeSkills = input.ReadString(); + break; + } + case 32: { + ContinuousKillingTime = input.ReadInt32(); + break; + } + case 42: + case 40: { + rougeMoneyDropRange_.AddEntriesFrom(ref input, _repeated_rougeMoneyDropRange_codec); + break; + } + case 50: + case 48: { + rougeExpDropRange_.AddEntriesFrom(ref input, _repeated_rougeExpDropRange_codec); + break; + } + case 58: + case 56: { + refDistance_.AddEntriesFrom(ref input, _repeated_refDistance_codec); + break; + } + case 64: { + RefInterval = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerMonsterSpAttr : pb::IMessage<table_StarTowerMonsterSpAttr> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerMonsterSpAttr> _parser = new pb::MessageParser<table_StarTowerMonsterSpAttr>(() => new table_StarTowerMonsterSpAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerMonsterSpAttr> 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.ClientTableReflection.Descriptor.MessageTypes[417]; } + } + + [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 table_StarTowerMonsterSpAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMonsterSpAttr(table_StarTowerMonsterSpAttr other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerMonsterSpAttr Clone() { + return new table_StarTowerMonsterSpAttr(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerMonsterSpAttr> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerMonsterSpAttr.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerMonsterSpAttr> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerMonsterSpAttr>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerMonsterSpAttr> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerMonsterSpAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerMonsterSpAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerMonsterSpAttr other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerQuest : pb::IMessage<StarTowerQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerQuest> _parser = new pb::MessageParser<StarTowerQuest>(() => new StarTowerQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerQuest> 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.ClientTableReflection.Descriptor.MessageTypes[418]; } + } + + [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 StarTowerQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerQuest(StarTowerQuest other) : this() { + id_ = other.id_; + title_ = other.title_; + jumpTo_ = other.jumpTo_; + towerQuestType_ = other.towerQuestType_; + preTowerQuestIds_ = other.preTowerQuestIds_.Clone(); + reward1_ = other.reward1_; + rewardQty1_ = other.rewardQty1_; + reward2_ = other.reward2_; + rewardQty2_ = other.rewardQty2_; + reward3_ = other.reward3_; + rewardQty3_ = other.rewardQty3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerQuest Clone() { + return new StarTowerQuest(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "JumpTo" field.</summary> + public const int JumpToFieldNumber = 3; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "TowerQuestType" field.</summary> + public const int TowerQuestTypeFieldNumber = 4; + private int towerQuestType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TowerQuestType { + get { return towerQuestType_; } + set { + towerQuestType_ = value; + } + } + + /// <summary>Field number for the "PreTowerQuestIds" field.</summary> + public const int PreTowerQuestIdsFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_preTowerQuestIds_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> preTowerQuestIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> PreTowerQuestIds { + get { return preTowerQuestIds_; } + } + + /// <summary>Field number for the "Reward1" field.</summary> + public const int Reward1FieldNumber = 6; + private int reward1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward1 { + get { return reward1_; } + set { + reward1_ = value; + } + } + + /// <summary>Field number for the "RewardQty1" field.</summary> + public const int RewardQty1FieldNumber = 7; + private int rewardQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty1 { + get { return rewardQty1_; } + set { + rewardQty1_ = value; + } + } + + /// <summary>Field number for the "Reward2" field.</summary> + public const int Reward2FieldNumber = 8; + private int reward2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward2 { + get { return reward2_; } + set { + reward2_ = value; + } + } + + /// <summary>Field number for the "RewardQty2" field.</summary> + public const int RewardQty2FieldNumber = 9; + private int rewardQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty2 { + get { return rewardQty2_; } + set { + rewardQty2_ = value; + } + } + + /// <summary>Field number for the "Reward3" field.</summary> + public const int Reward3FieldNumber = 10; + private int reward3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward3 { + get { return reward3_; } + set { + reward3_ = value; + } + } + + /// <summary>Field number for the "RewardQty3" field.</summary> + public const int RewardQty3FieldNumber = 11; + private int rewardQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty3 { + get { return rewardQty3_; } + set { + rewardQty3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (JumpTo != other.JumpTo) return false; + if (TowerQuestType != other.TowerQuestType) return false; + if(!preTowerQuestIds_.Equals(other.preTowerQuestIds_)) return false; + if (Reward1 != other.Reward1) return false; + if (RewardQty1 != other.RewardQty1) return false; + if (Reward2 != other.Reward2) return false; + if (RewardQty2 != other.RewardQty2) return false; + if (Reward3 != other.Reward3) return false; + if (RewardQty3 != other.RewardQty3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (TowerQuestType != 0) hash ^= TowerQuestType.GetHashCode(); + hash ^= preTowerQuestIds_.GetHashCode(); + if (Reward1 != 0) hash ^= Reward1.GetHashCode(); + if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); + if (Reward2 != 0) hash ^= Reward2.GetHashCode(); + if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); + if (Reward3 != 0) hash ^= Reward3.GetHashCode(); + if (RewardQty3 != 0) hash ^= RewardQty3.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(24); + output.WriteInt32(JumpTo); + } + if (TowerQuestType != 0) { + output.WriteRawTag(32); + output.WriteInt32(TowerQuestType); + } + preTowerQuestIds_.WriteTo(output, _repeated_preTowerQuestIds_codec); + if (Reward1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(72); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(88); + output.WriteInt32(RewardQty3); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(24); + output.WriteInt32(JumpTo); + } + if (TowerQuestType != 0) { + output.WriteRawTag(32); + output.WriteInt32(TowerQuestType); + } + preTowerQuestIds_.WriteTo(ref output, _repeated_preTowerQuestIds_codec); + if (Reward1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(72); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(88); + output.WriteInt32(RewardQty3); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (TowerQuestType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TowerQuestType); + } + size += preTowerQuestIds_.CalculateSize(_repeated_preTowerQuestIds_codec); + if (Reward1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); + } + if (RewardQty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); + } + if (Reward2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); + } + if (RewardQty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); + } + if (Reward3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); + } + if (RewardQty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.TowerQuestType != 0) { + TowerQuestType = other.TowerQuestType; + } + preTowerQuestIds_.Add(other.preTowerQuestIds_); + if (other.Reward1 != 0) { + Reward1 = other.Reward1; + } + if (other.RewardQty1 != 0) { + RewardQty1 = other.RewardQty1; + } + if (other.Reward2 != 0) { + Reward2 = other.Reward2; + } + if (other.RewardQty2 != 0) { + RewardQty2 = other.RewardQty2; + } + if (other.Reward3 != 0) { + Reward3 = other.Reward3; + } + if (other.RewardQty3 != 0) { + RewardQty3 = other.RewardQty3; + } + _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: { + Title = input.ReadString(); + break; + } + case 24: { + JumpTo = input.ReadInt32(); + break; + } + case 32: { + TowerQuestType = input.ReadInt32(); + break; + } + case 42: + case 40: { + preTowerQuestIds_.AddEntriesFrom(input, _repeated_preTowerQuestIds_codec); + break; + } + case 48: { + Reward1 = input.ReadInt32(); + break; + } + case 56: { + RewardQty1 = input.ReadInt32(); + break; + } + case 64: { + Reward2 = input.ReadInt32(); + break; + } + case 72: { + RewardQty2 = input.ReadInt32(); + break; + } + case 80: { + Reward3 = input.ReadInt32(); + break; + } + case 88: { + RewardQty3 = 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 18: { + Title = input.ReadString(); + break; + } + case 24: { + JumpTo = input.ReadInt32(); + break; + } + case 32: { + TowerQuestType = input.ReadInt32(); + break; + } + case 42: + case 40: { + preTowerQuestIds_.AddEntriesFrom(ref input, _repeated_preTowerQuestIds_codec); + break; + } + case 48: { + Reward1 = input.ReadInt32(); + break; + } + case 56: { + RewardQty1 = input.ReadInt32(); + break; + } + case 64: { + Reward2 = input.ReadInt32(); + break; + } + case 72: { + RewardQty2 = input.ReadInt32(); + break; + } + case 80: { + Reward3 = input.ReadInt32(); + break; + } + case 88: { + RewardQty3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerQuest : pb::IMessage<table_StarTowerQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerQuest> _parser = new pb::MessageParser<table_StarTowerQuest>(() => new table_StarTowerQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerQuest> 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.ClientTableReflection.Descriptor.MessageTypes[419]; } + } + + [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 table_StarTowerQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerQuest(table_StarTowerQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerQuest Clone() { + return new table_StarTowerQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerQuest> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankAffix : pb::IMessage<StarTowerRankAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankAffix> _parser = new pb::MessageParser<StarTowerRankAffix>(() => new StarTowerRankAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankAffix> 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.ClientTableReflection.Descriptor.MessageTypes[420]; } + } + + [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 StarTowerRankAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankAffix(StarTowerRankAffix other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + rarity_ = other.rarity_; + effect_ = other.effect_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankAffix Clone() { + return new StarTowerRankAffix(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Rarity" field.</summary> + public const int RarityFieldNumber = 4; + private int rarity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rarity { + get { return rarity_; } + set { + rarity_ = value; + } + } + + /// <summary>Field number for the "Effect" field.</summary> + public const int EffectFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_effect_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> effect_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Effect { + get { return effect_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerRankAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankAffix 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 (Desc != other.Desc) return false; + if (Rarity != other.Rarity) return false; + if(!effect_.Equals(other.effect_)) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Rarity != 0) hash ^= Rarity.GetHashCode(); + hash ^= effect_.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Rarity != 0) { + output.WriteRawTag(32); + output.WriteInt32(Rarity); + } + effect_.WriteTo(output, _repeated_effect_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Rarity != 0) { + output.WriteRawTag(32); + output.WriteInt32(Rarity); + } + effect_.WriteTo(ref output, _repeated_effect_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Rarity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rarity); + } + size += effect_.CalculateSize(_repeated_effect_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankAffix other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Rarity != 0) { + Rarity = other.Rarity; + } + effect_.Add(other.effect_); + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Rarity = input.ReadInt32(); + break; + } + case 42: + case 40: { + effect_.AddEntriesFrom(input, _repeated_effect_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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Rarity = input.ReadInt32(); + break; + } + case 42: + case 40: { + effect_.AddEntriesFrom(ref input, _repeated_effect_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerRankAffix : pb::IMessage<table_StarTowerRankAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerRankAffix> _parser = new pb::MessageParser<table_StarTowerRankAffix>(() => new table_StarTowerRankAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerRankAffix> 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.ClientTableReflection.Descriptor.MessageTypes[421]; } + } + + [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 table_StarTowerRankAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankAffix(table_StarTowerRankAffix other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankAffix Clone() { + return new table_StarTowerRankAffix(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankAffix> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankAffix.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankAffix> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankAffix>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerRankAffix> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerRankAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerRankAffix other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerRankAffix other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankReward : pb::IMessage<StarTowerRankReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankReward> _parser = new pb::MessageParser<StarTowerRankReward>(() => new StarTowerRankReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankReward> 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.ClientTableReflection.Descriptor.MessageTypes[422]; } + } + + [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 StarTowerRankReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankReward(StarTowerRankReward other) : this() { + id_ = other.id_; + rankLower_ = other.rankLower_; + awardItemTid1_ = other.awardItemTid1_; + awardItemNum1_ = other.awardItemNum1_; + awardItemTid2_ = other.awardItemTid2_; + awardItemNum2_ = other.awardItemNum2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankReward Clone() { + return new StarTowerRankReward(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 "RankLower" field.</summary> + public const int RankLowerFieldNumber = 2; + private int rankLower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RankLower { + get { return rankLower_; } + set { + rankLower_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid1" field.</summary> + public const int AwardItemTid1FieldNumber = 3; + private int awardItemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid1 { + get { return awardItemTid1_; } + set { + awardItemTid1_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum1" field.</summary> + public const int AwardItemNum1FieldNumber = 4; + private int awardItemNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum1 { + get { return awardItemNum1_; } + set { + awardItemNum1_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid2" field.</summary> + public const int AwardItemTid2FieldNumber = 5; + private int awardItemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid2 { + get { return awardItemTid2_; } + set { + awardItemTid2_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum2" field.</summary> + public const int AwardItemNum2FieldNumber = 6; + private int awardItemNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum2 { + get { return awardItemNum2_; } + set { + awardItemNum2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerRankReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RankLower != other.RankLower) return false; + if (AwardItemTid1 != other.AwardItemTid1) return false; + if (AwardItemNum1 != other.AwardItemNum1) return false; + if (AwardItemTid2 != other.AwardItemTid2) return false; + if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode(); + if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); + if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); + if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); + if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) { + output.WriteRawTag(16); + output.WriteInt32(RankLower); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(AwardItemNum2); + } + 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 (RankLower != 0) { + output.WriteRawTag(16); + output.WriteInt32(RankLower); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(AwardItemNum2); + } + 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 (RankLower != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower); + } + if (AwardItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RankLower != 0) { + RankLower = other.RankLower; + } + if (other.AwardItemTid1 != 0) { + AwardItemTid1 = other.AwardItemTid1; + } + if (other.AwardItemNum1 != 0) { + AwardItemNum1 = other.AwardItemNum1; + } + if (other.AwardItemTid2 != 0) { + AwardItemTid2 = other.AwardItemTid2; + } + if (other.AwardItemNum2 != 0) { + AwardItemNum2 = other.AwardItemNum2; + } + _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: { + RankLower = input.ReadInt32(); + break; + } + case 24: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 32: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 40: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 48: { + AwardItemNum2 = 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: { + RankLower = input.ReadInt32(); + break; + } + case 24: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 32: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 40: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 48: { + AwardItemNum2 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerRankReward : pb::IMessage<table_StarTowerRankReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerRankReward> _parser = new pb::MessageParser<table_StarTowerRankReward>(() => new table_StarTowerRankReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerRankReward> 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.ClientTableReflection.Descriptor.MessageTypes[423]; } + } + + [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 table_StarTowerRankReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankReward(table_StarTowerRankReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankReward Clone() { + return new table_StarTowerRankReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankReward> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerRankReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerRankReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerRankReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerRankReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankScore : pb::IMessage<StarTowerRankScore> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankScore> _parser = new pb::MessageParser<StarTowerRankScore>(() => new StarTowerRankScore()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankScore> 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.ClientTableReflection.Descriptor.MessageTypes[424]; } + } + + [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 StarTowerRankScore() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankScore(StarTowerRankScore other) : this() { + difficulty_ = other.difficulty_; + baseScore_ = other.baseScore_; + maximumScore_ = other.maximumScore_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankScore Clone() { + return new StarTowerRankScore(this); + } + + /// <summary>Field number for the "Difficulty" field.</summary> + public const int DifficultyFieldNumber = 1; + private int difficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Difficulty { + get { return difficulty_; } + set { + difficulty_ = value; + } + } + + /// <summary>Field number for the "BaseScore" field.</summary> + public const int BaseScoreFieldNumber = 2; + private int baseScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BaseScore { + get { return baseScore_; } + set { + baseScore_ = value; + } + } + + /// <summary>Field number for the "MaximumScore" field.</summary> + public const int MaximumScoreFieldNumber = 3; + private int maximumScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaximumScore { + get { return maximumScore_; } + set { + maximumScore_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerRankScore); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankScore other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Difficulty != other.Difficulty) return false; + if (BaseScore != other.BaseScore) return false; + if (MaximumScore != other.MaximumScore) 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 (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (BaseScore != 0) hash ^= BaseScore.GetHashCode(); + if (MaximumScore != 0) hash ^= MaximumScore.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 (Difficulty != 0) { + output.WriteRawTag(8); + output.WriteInt32(Difficulty); + } + if (BaseScore != 0) { + output.WriteRawTag(16); + output.WriteInt32(BaseScore); + } + if (MaximumScore != 0) { + output.WriteRawTag(24); + output.WriteInt32(MaximumScore); + } + 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 (Difficulty != 0) { + output.WriteRawTag(8); + output.WriteInt32(Difficulty); + } + if (BaseScore != 0) { + output.WriteRawTag(16); + output.WriteInt32(BaseScore); + } + if (MaximumScore != 0) { + output.WriteRawTag(24); + output.WriteInt32(MaximumScore); + } + 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 (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + } + if (BaseScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseScore); + } + if (MaximumScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximumScore); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankScore other) { + if (other == null) { + return; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.BaseScore != 0) { + BaseScore = other.BaseScore; + } + if (other.MaximumScore != 0) { + MaximumScore = other.MaximumScore; + } + _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: { + Difficulty = input.ReadInt32(); + break; + } + case 16: { + BaseScore = input.ReadInt32(); + break; + } + case 24: { + MaximumScore = 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: { + Difficulty = input.ReadInt32(); + break; + } + case 16: { + BaseScore = input.ReadInt32(); + break; + } + case 24: { + MaximumScore = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerRankScore : pb::IMessage<table_StarTowerRankScore> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerRankScore> _parser = new pb::MessageParser<table_StarTowerRankScore>(() => new table_StarTowerRankScore()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerRankScore> 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.ClientTableReflection.Descriptor.MessageTypes[425]; } + } + + [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 table_StarTowerRankScore() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankScore(table_StarTowerRankScore other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankScore Clone() { + return new table_StarTowerRankScore(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankScore> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankScore.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankScore> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankScore>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerRankScore> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerRankScore); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerRankScore other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerRankScore other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerRankSeason : pb::IMessage<StarTowerRankSeason> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerRankSeason> _parser = new pb::MessageParser<StarTowerRankSeason>(() => new StarTowerRankSeason()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerRankSeason> 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.ClientTableReflection.Descriptor.MessageTypes[426]; } + } + + [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 StarTowerRankSeason() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankSeason(StarTowerRankSeason other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + openTime_ = other.openTime_; + endTime_ = other.endTime_; + affix1_ = other.affix1_; + affixAdd1_ = other.affixAdd1_.Clone(); + affix2_ = other.affix2_; + affixAdd2_ = other.affixAdd2_.Clone(); + affix3_ = other.affix3_; + affixAdd3_ = other.affixAdd3_.Clone(); + affix4_ = other.affix4_; + affixAdd4_ = other.affixAdd4_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerRankSeason Clone() { + return new StarTowerRankSeason(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 "GroupId" 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 "OpenTime" field.</summary> + public const int OpenTimeFieldNumber = 3; + private string openTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenTime { + get { return openTime_; } + set { + openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 4; + private string endTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndTime { + get { return endTime_; } + set { + endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Affix1" field.</summary> + public const int Affix1FieldNumber = 5; + private int affix1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affix1 { + get { return affix1_; } + set { + affix1_ = value; + } + } + + /// <summary>Field number for the "AffixAdd1" field.</summary> + public const int AffixAdd1FieldNumber = 6; + private static readonly pb::FieldCodec<int> _repeated_affixAdd1_codec + = pb::FieldCodec.ForInt32(50); + private readonly pbc::RepeatedField<int> affixAdd1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AffixAdd1 { + get { return affixAdd1_; } + } + + /// <summary>Field number for the "Affix2" field.</summary> + public const int Affix2FieldNumber = 7; + private int affix2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affix2 { + get { return affix2_; } + set { + affix2_ = value; + } + } + + /// <summary>Field number for the "AffixAdd2" field.</summary> + public const int AffixAdd2FieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_affixAdd2_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> affixAdd2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AffixAdd2 { + get { return affixAdd2_; } + } + + /// <summary>Field number for the "Affix3" field.</summary> + public const int Affix3FieldNumber = 9; + private int affix3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affix3 { + get { return affix3_; } + set { + affix3_ = value; + } + } + + /// <summary>Field number for the "AffixAdd3" field.</summary> + public const int AffixAdd3FieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_affixAdd3_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> affixAdd3_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AffixAdd3 { + get { return affixAdd3_; } + } + + /// <summary>Field number for the "Affix4" field.</summary> + public const int Affix4FieldNumber = 11; + private int affix4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affix4 { + get { return affix4_; } + set { + affix4_ = value; + } + } + + /// <summary>Field number for the "AffixAdd4" field.</summary> + public const int AffixAdd4FieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_affixAdd4_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> affixAdd4_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AffixAdd4 { + get { return affixAdd4_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerRankSeason); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerRankSeason 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 (OpenTime != other.OpenTime) return false; + if (EndTime != other.EndTime) return false; + if (Affix1 != other.Affix1) return false; + if(!affixAdd1_.Equals(other.affixAdd1_)) return false; + if (Affix2 != other.Affix2) return false; + if(!affixAdd2_.Equals(other.affixAdd2_)) return false; + if (Affix3 != other.Affix3) return false; + if(!affixAdd3_.Equals(other.affixAdd3_)) return false; + if (Affix4 != other.Affix4) return false; + if(!affixAdd4_.Equals(other.affixAdd4_)) 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 (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); + if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); + if (Affix1 != 0) hash ^= Affix1.GetHashCode(); + hash ^= affixAdd1_.GetHashCode(); + if (Affix2 != 0) hash ^= Affix2.GetHashCode(); + hash ^= affixAdd2_.GetHashCode(); + if (Affix3 != 0) hash ^= Affix3.GetHashCode(); + hash ^= affixAdd3_.GetHashCode(); + if (Affix4 != 0) hash ^= Affix4.GetHashCode(); + hash ^= affixAdd4_.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 (OpenTime.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OpenTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(34); + output.WriteString(EndTime); + } + if (Affix1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Affix1); + } + affixAdd1_.WriteTo(output, _repeated_affixAdd1_codec); + if (Affix2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Affix2); + } + affixAdd2_.WriteTo(output, _repeated_affixAdd2_codec); + if (Affix3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Affix3); + } + affixAdd3_.WriteTo(output, _repeated_affixAdd3_codec); + if (Affix4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Affix4); + } + affixAdd4_.WriteTo(output, _repeated_affixAdd4_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 (GroupId != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupId); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OpenTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(34); + output.WriteString(EndTime); + } + if (Affix1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Affix1); + } + affixAdd1_.WriteTo(ref output, _repeated_affixAdd1_codec); + if (Affix2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Affix2); + } + affixAdd2_.WriteTo(ref output, _repeated_affixAdd2_codec); + if (Affix3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Affix3); + } + affixAdd3_.WriteTo(ref output, _repeated_affixAdd3_codec); + if (Affix4 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Affix4); + } + affixAdd4_.WriteTo(ref output, _repeated_affixAdd4_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 (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (OpenTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); + } + if (EndTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); + } + if (Affix1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix1); + } + size += affixAdd1_.CalculateSize(_repeated_affixAdd1_codec); + if (Affix2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix2); + } + size += affixAdd2_.CalculateSize(_repeated_affixAdd2_codec); + if (Affix3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix3); + } + size += affixAdd3_.CalculateSize(_repeated_affixAdd3_codec); + if (Affix4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Affix4); + } + size += affixAdd4_.CalculateSize(_repeated_affixAdd4_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerRankSeason other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.OpenTime.Length != 0) { + OpenTime = other.OpenTime; + } + if (other.EndTime.Length != 0) { + EndTime = other.EndTime; + } + if (other.Affix1 != 0) { + Affix1 = other.Affix1; + } + affixAdd1_.Add(other.affixAdd1_); + if (other.Affix2 != 0) { + Affix2 = other.Affix2; + } + affixAdd2_.Add(other.affixAdd2_); + if (other.Affix3 != 0) { + Affix3 = other.Affix3; + } + affixAdd3_.Add(other.affixAdd3_); + if (other.Affix4 != 0) { + Affix4 = other.Affix4; + } + affixAdd4_.Add(other.affixAdd4_); + _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 26: { + OpenTime = input.ReadString(); + break; + } + case 34: { + EndTime = input.ReadString(); + break; + } + case 40: { + Affix1 = input.ReadInt32(); + break; + } + case 50: + case 48: { + affixAdd1_.AddEntriesFrom(input, _repeated_affixAdd1_codec); + break; + } + case 56: { + Affix2 = input.ReadInt32(); + break; + } + case 66: + case 64: { + affixAdd2_.AddEntriesFrom(input, _repeated_affixAdd2_codec); + break; + } + case 72: { + Affix3 = input.ReadInt32(); + break; + } + case 82: + case 80: { + affixAdd3_.AddEntriesFrom(input, _repeated_affixAdd3_codec); + break; + } + case 88: { + Affix4 = input.ReadInt32(); + break; + } + case 98: + case 96: { + affixAdd4_.AddEntriesFrom(input, _repeated_affixAdd4_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: { + GroupId = input.ReadInt32(); + break; + } + case 26: { + OpenTime = input.ReadString(); + break; + } + case 34: { + EndTime = input.ReadString(); + break; + } + case 40: { + Affix1 = input.ReadInt32(); + break; + } + case 50: + case 48: { + affixAdd1_.AddEntriesFrom(ref input, _repeated_affixAdd1_codec); + break; + } + case 56: { + Affix2 = input.ReadInt32(); + break; + } + case 66: + case 64: { + affixAdd2_.AddEntriesFrom(ref input, _repeated_affixAdd2_codec); + break; + } + case 72: { + Affix3 = input.ReadInt32(); + break; + } + case 82: + case 80: { + affixAdd3_.AddEntriesFrom(ref input, _repeated_affixAdd3_codec); + break; + } + case 88: { + Affix4 = input.ReadInt32(); + break; + } + case 98: + case 96: { + affixAdd4_.AddEntriesFrom(ref input, _repeated_affixAdd4_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerRankSeason : pb::IMessage<table_StarTowerRankSeason> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerRankSeason> _parser = new pb::MessageParser<table_StarTowerRankSeason>(() => new table_StarTowerRankSeason()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerRankSeason> 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.ClientTableReflection.Descriptor.MessageTypes[427]; } + } + + [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 table_StarTowerRankSeason() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankSeason(table_StarTowerRankSeason other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerRankSeason Clone() { + return new table_StarTowerRankSeason(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerRankSeason> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerRankSeason.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerRankSeason> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerRankSeason>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerRankSeason> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerRankSeason); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerRankSeason other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerRankSeason other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerScenePrefab : pb::IMessage<StarTowerScenePrefab> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerScenePrefab> _parser = new pb::MessageParser<StarTowerScenePrefab>(() => new StarTowerScenePrefab()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerScenePrefab> 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.ClientTableReflection.Descriptor.MessageTypes[428]; } + } + + [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 StarTowerScenePrefab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerScenePrefab(StarTowerScenePrefab other) : this() { + id_ = other.id_; + configRes_ = other.configRes_; + bianQuan_ = other.bianQuan_; + gameplayTypes_ = other.gameplayTypes_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerScenePrefab Clone() { + return new StarTowerScenePrefab(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 "ConfigRes" field.</summary> + public const int ConfigResFieldNumber = 2; + private string configRes_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigRes { + get { return configRes_; } + set { + configRes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BianQuan" field.</summary> + public const int BianQuanFieldNumber = 3; + private string bianQuan_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BianQuan { + get { return bianQuan_; } + set { + bianQuan_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GameplayTypes" field.</summary> + public const int GameplayTypesFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_gameplayTypes_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> gameplayTypes_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> GameplayTypes { + get { return gameplayTypes_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerScenePrefab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerScenePrefab other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ConfigRes != other.ConfigRes) return false; + if (BianQuan != other.BianQuan) return false; + if(!gameplayTypes_.Equals(other.gameplayTypes_)) 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 (ConfigRes.Length != 0) hash ^= ConfigRes.GetHashCode(); + if (BianQuan.Length != 0) hash ^= BianQuan.GetHashCode(); + hash ^= gameplayTypes_.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 (ConfigRes.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ConfigRes); + } + if (BianQuan.Length != 0) { + output.WriteRawTag(26); + output.WriteString(BianQuan); + } + gameplayTypes_.WriteTo(output, _repeated_gameplayTypes_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 (ConfigRes.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ConfigRes); + } + if (BianQuan.Length != 0) { + output.WriteRawTag(26); + output.WriteString(BianQuan); + } + gameplayTypes_.WriteTo(ref output, _repeated_gameplayTypes_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 (ConfigRes.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigRes); + } + if (BianQuan.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BianQuan); + } + size += gameplayTypes_.CalculateSize(_repeated_gameplayTypes_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerScenePrefab other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ConfigRes.Length != 0) { + ConfigRes = other.ConfigRes; + } + if (other.BianQuan.Length != 0) { + BianQuan = other.BianQuan; + } + gameplayTypes_.Add(other.gameplayTypes_); + _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: { + ConfigRes = input.ReadString(); + break; + } + case 26: { + BianQuan = input.ReadString(); + break; + } + case 34: + case 32: { + gameplayTypes_.AddEntriesFrom(input, _repeated_gameplayTypes_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 18: { + ConfigRes = input.ReadString(); + break; + } + case 26: { + BianQuan = input.ReadString(); + break; + } + case 34: + case 32: { + gameplayTypes_.AddEntriesFrom(ref input, _repeated_gameplayTypes_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerScenePrefab : pb::IMessage<table_StarTowerScenePrefab> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerScenePrefab> _parser = new pb::MessageParser<table_StarTowerScenePrefab>(() => new table_StarTowerScenePrefab()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerScenePrefab> 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.ClientTableReflection.Descriptor.MessageTypes[429]; } + } + + [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 table_StarTowerScenePrefab() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerScenePrefab(table_StarTowerScenePrefab other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerScenePrefab Clone() { + return new table_StarTowerScenePrefab(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerScenePrefab> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerScenePrefab.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerScenePrefab> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerScenePrefab>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerScenePrefab> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerScenePrefab); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerScenePrefab other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerScenePrefab other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerShopGoodsGroup : pb::IMessage<StarTowerShopGoodsGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerShopGoodsGroup> _parser = new pb::MessageParser<StarTowerShopGoodsGroup>(() => new StarTowerShopGoodsGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerShopGoodsGroup> 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.ClientTableReflection.Descriptor.MessageTypes[430]; } + } + + [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 StarTowerShopGoodsGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerShopGoodsGroup(StarTowerShopGoodsGroup other) : this() { + id_ = other.id_; + showItem_ = other.showItem_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerShopGoodsGroup Clone() { + return new StarTowerShopGoodsGroup(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 "ShowItem" field.</summary> + public const int ShowItemFieldNumber = 2; + private int showItem_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShowItem { + get { return showItem_; } + set { + showItem_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerShopGoodsGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerShopGoodsGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ShowItem != other.ShowItem) 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 (ShowItem != 0) hash ^= ShowItem.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 (ShowItem != 0) { + output.WriteRawTag(16); + output.WriteInt32(ShowItem); + } + 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 (ShowItem != 0) { + output.WriteRawTag(16); + output.WriteInt32(ShowItem); + } + 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 (ShowItem != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ShowItem); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerShopGoodsGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ShowItem != 0) { + ShowItem = other.ShowItem; + } + _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: { + ShowItem = 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: { + ShowItem = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerShopGoodsGroup : pb::IMessage<table_StarTowerShopGoodsGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerShopGoodsGroup> _parser = new pb::MessageParser<table_StarTowerShopGoodsGroup>(() => new table_StarTowerShopGoodsGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerShopGoodsGroup> 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.ClientTableReflection.Descriptor.MessageTypes[431]; } + } + + [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 table_StarTowerShopGoodsGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerShopGoodsGroup(table_StarTowerShopGoodsGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerShopGoodsGroup Clone() { + return new table_StarTowerShopGoodsGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerShopGoodsGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerShopGoodsGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerShopGoodsGroup> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerShopGoodsGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerShopGoodsGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerShopGoodsGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerShopGoodsGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerShopGoodsGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerSpecificCombat : pb::IMessage<StarTowerSpecificCombat> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerSpecificCombat> _parser = new pb::MessageParser<StarTowerSpecificCombat>(() => new StarTowerSpecificCombat()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerSpecificCombat> 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.ClientTableReflection.Descriptor.MessageTypes[432]; } + } + + [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 StarTowerSpecificCombat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerSpecificCombat(StarTowerSpecificCombat other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + type_ = other.type_; + eventId_ = other.eventId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerSpecificCombat Clone() { + return new StarTowerSpecificCombat(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 4; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "EventId" field.</summary> + public const int EventIdFieldNumber = 5; + private int eventId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EventId { + get { return eventId_; } + set { + eventId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerSpecificCombat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerSpecificCombat 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 (Desc != other.Desc) return false; + if (Type != other.Type) return false; + if (EventId != other.EventId) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (EventId != 0) hash ^= EventId.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (EventId != 0) { + output.WriteRawTag(40); + output.WriteInt32(EventId); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Type != 0) { + output.WriteRawTag(32); + output.WriteInt32(Type); + } + if (EventId != 0) { + output.WriteRawTag(40); + output.WriteInt32(EventId); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (EventId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EventId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerSpecificCombat other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.EventId != 0) { + EventId = other.EventId; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 40: { + EventId = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + Type = input.ReadInt32(); + break; + } + case 40: { + EventId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerSpecificCombat : pb::IMessage<table_StarTowerSpecificCombat> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerSpecificCombat> _parser = new pb::MessageParser<table_StarTowerSpecificCombat>(() => new table_StarTowerSpecificCombat()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerSpecificCombat> 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.ClientTableReflection.Descriptor.MessageTypes[433]; } + } + + [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 table_StarTowerSpecificCombat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerSpecificCombat(table_StarTowerSpecificCombat other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerSpecificCombat Clone() { + return new table_StarTowerSpecificCombat(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerSpecificCombat> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerSpecificCombat.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerSpecificCombat> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerSpecificCombat>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerSpecificCombat> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerSpecificCombat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerSpecificCombat other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerSpecificCombat other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerSpMode : pb::IMessage<StarTowerSpMode> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerSpMode> _parser = new pb::MessageParser<StarTowerSpMode>(() => new StarTowerSpMode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerSpMode> 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.ClientTableReflection.Descriptor.MessageTypes[434]; } + } + + [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 StarTowerSpMode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerSpMode(StarTowerSpMode other) : this() { + id_ = other.id_; + limitTimeWeight_ = other.limitTimeWeight_; + limitKilledWeight_ = other.limitKilledWeight_; + goblinWeight_ = other.goblinWeight_; + continuousKillingWeight_ = other.continuousKillingWeight_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerSpMode Clone() { + return new StarTowerSpMode(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 "LimitTimeWeight" field.</summary> + public const int LimitTimeWeightFieldNumber = 2; + private bool limitTimeWeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool LimitTimeWeight { + get { return limitTimeWeight_; } + set { + limitTimeWeight_ = value; + } + } + + /// <summary>Field number for the "LimitKilledWeight" field.</summary> + public const int LimitKilledWeightFieldNumber = 3; + private bool limitKilledWeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool LimitKilledWeight { + get { return limitKilledWeight_; } + set { + limitKilledWeight_ = value; + } + } + + /// <summary>Field number for the "GoblinWeight" field.</summary> + public const int GoblinWeightFieldNumber = 4; + private bool goblinWeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool GoblinWeight { + get { return goblinWeight_; } + set { + goblinWeight_ = value; + } + } + + /// <summary>Field number for the "ContinuousKillingWeight" field.</summary> + public const int ContinuousKillingWeightFieldNumber = 5; + private bool continuousKillingWeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ContinuousKillingWeight { + get { return continuousKillingWeight_; } + set { + continuousKillingWeight_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerSpMode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerSpMode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LimitTimeWeight != other.LimitTimeWeight) return false; + if (LimitKilledWeight != other.LimitKilledWeight) return false; + if (GoblinWeight != other.GoblinWeight) return false; + if (ContinuousKillingWeight != other.ContinuousKillingWeight) 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 (LimitTimeWeight != false) hash ^= LimitTimeWeight.GetHashCode(); + if (LimitKilledWeight != false) hash ^= LimitKilledWeight.GetHashCode(); + if (GoblinWeight != false) hash ^= GoblinWeight.GetHashCode(); + if (ContinuousKillingWeight != false) hash ^= ContinuousKillingWeight.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 (LimitTimeWeight != false) { + output.WriteRawTag(16); + output.WriteBool(LimitTimeWeight); + } + if (LimitKilledWeight != false) { + output.WriteRawTag(24); + output.WriteBool(LimitKilledWeight); + } + if (GoblinWeight != false) { + output.WriteRawTag(32); + output.WriteBool(GoblinWeight); + } + if (ContinuousKillingWeight != false) { + output.WriteRawTag(40); + output.WriteBool(ContinuousKillingWeight); + } + 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 (LimitTimeWeight != false) { + output.WriteRawTag(16); + output.WriteBool(LimitTimeWeight); + } + if (LimitKilledWeight != false) { + output.WriteRawTag(24); + output.WriteBool(LimitKilledWeight); + } + if (GoblinWeight != false) { + output.WriteRawTag(32); + output.WriteBool(GoblinWeight); + } + if (ContinuousKillingWeight != false) { + output.WriteRawTag(40); + output.WriteBool(ContinuousKillingWeight); + } + 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 (LimitTimeWeight != false) { + size += 1 + 1; + } + if (LimitKilledWeight != false) { + size += 1 + 1; + } + if (GoblinWeight != false) { + size += 1 + 1; + } + if (ContinuousKillingWeight != 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(StarTowerSpMode other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LimitTimeWeight != false) { + LimitTimeWeight = other.LimitTimeWeight; + } + if (other.LimitKilledWeight != false) { + LimitKilledWeight = other.LimitKilledWeight; + } + if (other.GoblinWeight != false) { + GoblinWeight = other.GoblinWeight; + } + if (other.ContinuousKillingWeight != false) { + ContinuousKillingWeight = other.ContinuousKillingWeight; + } + _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: { + LimitTimeWeight = input.ReadBool(); + break; + } + case 24: { + LimitKilledWeight = input.ReadBool(); + break; + } + case 32: { + GoblinWeight = input.ReadBool(); + break; + } + case 40: { + ContinuousKillingWeight = 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 16: { + LimitTimeWeight = input.ReadBool(); + break; + } + case 24: { + LimitKilledWeight = input.ReadBool(); + break; + } + case 32: { + GoblinWeight = input.ReadBool(); + break; + } + case 40: { + ContinuousKillingWeight = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerSpMode : pb::IMessage<table_StarTowerSpMode> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerSpMode> _parser = new pb::MessageParser<table_StarTowerSpMode>(() => new table_StarTowerSpMode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerSpMode> 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.ClientTableReflection.Descriptor.MessageTypes[435]; } + } + + [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 table_StarTowerSpMode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerSpMode(table_StarTowerSpMode other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerSpMode Clone() { + return new table_StarTowerSpMode(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerSpMode> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerSpMode.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerSpMode> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerSpMode>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerSpMode> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerSpMode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerSpMode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerSpMode other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerStage : pb::IMessage<StarTowerStage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerStage> _parser = new pb::MessageParser<StarTowerStage>(() => new StarTowerStage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerStage> 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.ClientTableReflection.Descriptor.MessageTypes[436]; } + } + + [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 StarTowerStage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerStage(StarTowerStage other) : this() { + id_ = other.id_; + stage_ = other.stage_; + groupId_ = other.groupId_; + floor_ = other.floor_; + roomType_ = other.roomType_; + interiorCurrencyQuantity_ = other.interiorCurrencyQuantity_; + guaranteedMapId_ = other.guaranteedMapId_; + guaranteedMonsterPlanId_ = other.guaranteedMonsterPlanId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerStage Clone() { + return new StarTowerStage(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 "Stage" field.</summary> + public const int StageFieldNumber = 2; + private int stage_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stage { + get { return stage_; } + set { + stage_ = value; + } + } + + /// <summary>Field number for the "GroupId" field.</summary> + public const int GroupIdFieldNumber = 3; + 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 "Floor" field.</summary> + public const int FloorFieldNumber = 4; + private int floor_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Floor { + get { return floor_; } + set { + floor_ = value; + } + } + + /// <summary>Field number for the "RoomType" field.</summary> + public const int RoomTypeFieldNumber = 5; + private int roomType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoomType { + get { return roomType_; } + set { + roomType_ = value; + } + } + + /// <summary>Field number for the "InteriorCurrencyQuantity" field.</summary> + public const int InteriorCurrencyQuantityFieldNumber = 6; + private int interiorCurrencyQuantity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int InteriorCurrencyQuantity { + get { return interiorCurrencyQuantity_; } + set { + interiorCurrencyQuantity_ = value; + } + } + + /// <summary>Field number for the "GuaranteedMapId" field.</summary> + public const int GuaranteedMapIdFieldNumber = 7; + private int guaranteedMapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuaranteedMapId { + get { return guaranteedMapId_; } + set { + guaranteedMapId_ = value; + } + } + + /// <summary>Field number for the "GuaranteedMonsterPlanId" field.</summary> + public const int GuaranteedMonsterPlanIdFieldNumber = 8; + private int guaranteedMonsterPlanId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GuaranteedMonsterPlanId { + get { return guaranteedMonsterPlanId_; } + set { + guaranteedMonsterPlanId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerStage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerStage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Stage != other.Stage) return false; + if (GroupId != other.GroupId) return false; + if (Floor != other.Floor) return false; + if (RoomType != other.RoomType) return false; + if (InteriorCurrencyQuantity != other.InteriorCurrencyQuantity) return false; + if (GuaranteedMapId != other.GuaranteedMapId) return false; + if (GuaranteedMonsterPlanId != other.GuaranteedMonsterPlanId) 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 (Stage != 0) hash ^= Stage.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (Floor != 0) hash ^= Floor.GetHashCode(); + if (RoomType != 0) hash ^= RoomType.GetHashCode(); + if (InteriorCurrencyQuantity != 0) hash ^= InteriorCurrencyQuantity.GetHashCode(); + if (GuaranteedMapId != 0) hash ^= GuaranteedMapId.GetHashCode(); + if (GuaranteedMonsterPlanId != 0) hash ^= GuaranteedMonsterPlanId.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 (Stage != 0) { + output.WriteRawTag(16); + output.WriteInt32(Stage); + } + if (GroupId != 0) { + output.WriteRawTag(24); + output.WriteInt32(GroupId); + } + if (Floor != 0) { + output.WriteRawTag(32); + output.WriteInt32(Floor); + } + if (RoomType != 0) { + output.WriteRawTag(40); + output.WriteInt32(RoomType); + } + if (InteriorCurrencyQuantity != 0) { + output.WriteRawTag(48); + output.WriteInt32(InteriorCurrencyQuantity); + } + if (GuaranteedMapId != 0) { + output.WriteRawTag(56); + output.WriteInt32(GuaranteedMapId); + } + if (GuaranteedMonsterPlanId != 0) { + output.WriteRawTag(64); + output.WriteInt32(GuaranteedMonsterPlanId); + } + 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 (Stage != 0) { + output.WriteRawTag(16); + output.WriteInt32(Stage); + } + if (GroupId != 0) { + output.WriteRawTag(24); + output.WriteInt32(GroupId); + } + if (Floor != 0) { + output.WriteRawTag(32); + output.WriteInt32(Floor); + } + if (RoomType != 0) { + output.WriteRawTag(40); + output.WriteInt32(RoomType); + } + if (InteriorCurrencyQuantity != 0) { + output.WriteRawTag(48); + output.WriteInt32(InteriorCurrencyQuantity); + } + if (GuaranteedMapId != 0) { + output.WriteRawTag(56); + output.WriteInt32(GuaranteedMapId); + } + if (GuaranteedMonsterPlanId != 0) { + output.WriteRawTag(64); + output.WriteInt32(GuaranteedMonsterPlanId); + } + 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 (Stage != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stage); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (Floor != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Floor); + } + if (RoomType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomType); + } + if (InteriorCurrencyQuantity != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteriorCurrencyQuantity); + } + if (GuaranteedMapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuaranteedMapId); + } + if (GuaranteedMonsterPlanId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GuaranteedMonsterPlanId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerStage other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Stage != 0) { + Stage = other.Stage; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Floor != 0) { + Floor = other.Floor; + } + if (other.RoomType != 0) { + RoomType = other.RoomType; + } + if (other.InteriorCurrencyQuantity != 0) { + InteriorCurrencyQuantity = other.InteriorCurrencyQuantity; + } + if (other.GuaranteedMapId != 0) { + GuaranteedMapId = other.GuaranteedMapId; + } + if (other.GuaranteedMonsterPlanId != 0) { + GuaranteedMonsterPlanId = other.GuaranteedMonsterPlanId; + } + _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: { + Stage = input.ReadInt32(); + break; + } + case 24: { + GroupId = input.ReadInt32(); + break; + } + case 32: { + Floor = input.ReadInt32(); + break; + } + case 40: { + RoomType = input.ReadInt32(); + break; + } + case 48: { + InteriorCurrencyQuantity = input.ReadInt32(); + break; + } + case 56: { + GuaranteedMapId = input.ReadInt32(); + break; + } + case 64: { + GuaranteedMonsterPlanId = 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: { + Stage = input.ReadInt32(); + break; + } + case 24: { + GroupId = input.ReadInt32(); + break; + } + case 32: { + Floor = input.ReadInt32(); + break; + } + case 40: { + RoomType = input.ReadInt32(); + break; + } + case 48: { + InteriorCurrencyQuantity = input.ReadInt32(); + break; + } + case 56: { + GuaranteedMapId = input.ReadInt32(); + break; + } + case 64: { + GuaranteedMonsterPlanId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerStage : pb::IMessage<table_StarTowerStage> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerStage> _parser = new pb::MessageParser<table_StarTowerStage>(() => new table_StarTowerStage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerStage> 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.ClientTableReflection.Descriptor.MessageTypes[437]; } + } + + [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 table_StarTowerStage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerStage(table_StarTowerStage other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerStage Clone() { + return new table_StarTowerStage(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerStage> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerStage.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerStage> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerStage>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerStage> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerStage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerStage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerStage other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerTalk : pb::IMessage<StarTowerTalk> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerTalk> _parser = new pb::MessageParser<StarTowerTalk>(() => new StarTowerTalk()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerTalk> 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.ClientTableReflection.Descriptor.MessageTypes[438]; } + } + + [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 StarTowerTalk() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerTalk(StarTowerTalk other) : this() { + id_ = other.id_; + name_ = other.name_; + content_ = other.content_; + color_ = other.color_; + face_ = other.face_; + voice_ = other.voice_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerTalk Clone() { + return new StarTowerTalk(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 "Content" field.</summary> + public const int ContentFieldNumber = 3; + private string content_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Color" field.</summary> + public const int ColorFieldNumber = 4; + private string color_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Color { + get { return color_; } + set { + color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Face" field.</summary> + public const int FaceFieldNumber = 5; + private string face_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Face { + get { return face_; } + set { + face_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Voice" field.</summary> + public const int VoiceFieldNumber = 6; + private string voice_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Voice { + get { return voice_; } + set { + voice_ = 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 StarTowerTalk); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerTalk 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 (Content != other.Content) return false; + if (Color != other.Color) return false; + if (Face != other.Face) return false; + if (Voice != other.Voice) 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 (Content.Length != 0) hash ^= Content.GetHashCode(); + if (Color.Length != 0) hash ^= Color.GetHashCode(); + if (Face.Length != 0) hash ^= Face.GetHashCode(); + if (Voice.Length != 0) hash ^= Voice.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 (Content.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Content); + } + if (Color.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Color); + } + if (Face.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Face); + } + if (Voice.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Voice); + } + 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 (Content.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Content); + } + if (Color.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Color); + } + if (Face.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Face); + } + if (Voice.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Voice); + } + 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 (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (Color.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); + } + if (Face.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Face); + } + if (Voice.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Voice); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerTalk other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.Color.Length != 0) { + Color = other.Color; + } + if (other.Face.Length != 0) { + Face = other.Face; + } + if (other.Voice.Length != 0) { + Voice = other.Voice; + } + _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 26: { + Content = input.ReadString(); + break; + } + case 34: { + Color = input.ReadString(); + break; + } + case 42: { + Face = input.ReadString(); + break; + } + case 50: { + Voice = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Content = input.ReadString(); + break; + } + case 34: { + Color = input.ReadString(); + break; + } + case 42: { + Face = input.ReadString(); + break; + } + case 50: { + Voice = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerTalk : pb::IMessage<table_StarTowerTalk> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerTalk> _parser = new pb::MessageParser<table_StarTowerTalk>(() => new table_StarTowerTalk()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerTalk> 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.ClientTableReflection.Descriptor.MessageTypes[439]; } + } + + [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 table_StarTowerTalk() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerTalk(table_StarTowerTalk other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerTalk Clone() { + return new table_StarTowerTalk(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerTalk> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerTalk.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerTalk> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerTalk>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerTalk> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerTalk); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerTalk other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerTalk other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StarTowerTeamExp : pb::IMessage<StarTowerTeamExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StarTowerTeamExp> _parser = new pb::MessageParser<StarTowerTeamExp>(() => new StarTowerTeamExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StarTowerTeamExp> 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.ClientTableReflection.Descriptor.MessageTypes[440]; } + } + + [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 StarTowerTeamExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerTeamExp(StarTowerTeamExp other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + level_ = other.level_; + needExp_ = other.needExp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StarTowerTeamExp Clone() { + return new StarTowerTeamExp(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 "GroupId" 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 "NeedExp" field.</summary> + public const int NeedExpFieldNumber = 4; + private int needExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedExp { + get { return needExp_; } + set { + needExp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StarTowerTeamExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StarTowerTeamExp 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 (NeedExp != other.NeedExp) 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 (NeedExp != 0) hash ^= NeedExp.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 (NeedExp != 0) { + output.WriteRawTag(32); + output.WriteInt32(NeedExp); + } + 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 (NeedExp != 0) { + output.WriteRawTag(32); + output.WriteInt32(NeedExp); + } + 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 (NeedExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedExp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StarTowerTeamExp 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.NeedExp != 0) { + NeedExp = other.NeedExp; + } + _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 32: { + NeedExp = 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 32: { + NeedExp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StarTowerTeamExp : pb::IMessage<table_StarTowerTeamExp> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StarTowerTeamExp> _parser = new pb::MessageParser<table_StarTowerTeamExp>(() => new table_StarTowerTeamExp()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StarTowerTeamExp> 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.ClientTableReflection.Descriptor.MessageTypes[441]; } + } + + [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 table_StarTowerTeamExp() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerTeamExp(table_StarTowerTeamExp other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StarTowerTeamExp Clone() { + return new table_StarTowerTeamExp(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StarTowerTeamExp> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StarTowerTeamExp.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StarTowerTeamExp> list_ = new pbc::RepeatedField<global::Nova.Client.StarTowerTeamExp>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StarTowerTeamExp> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StarTowerTeamExp); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StarTowerTeamExp other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StarTowerTeamExp other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Story : pb::IMessage<Story> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Story> _parser = new pb::MessageParser<Story>(() => new Story()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Story> 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.ClientTableReflection.Descriptor.MessageTypes[442]; } + } + + [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 Story() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Story(Story other) : this() { + id_ = other.id_; + storyId_ = other.storyId_; + comment_ = other.comment_; + chapter_ = other.chapter_; + index_ = other.index_; + title_ = other.title_; + desc_ = other.desc_; + trialBuild_ = other.trialBuild_; + conditionId_ = other.conditionId_; + isBranch_ = other.isBranch_; + isBattle_ = other.isBattle_; + reward_ = other.reward_; + rewardDisplay_ = other.rewardDisplay_; + parentStoryId_ = other.parentStoryId_.Clone(); + hasEvidence_ = other.hasEvidence_; + avgLuaName_ = other.avgLuaName_; + floorId_ = other.floorId_.Clone(); + previewMonsterGroupId_ = other.previewMonsterGroupId_; + recommend_ = other.recommend_; + aim_ = other.aim_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Story Clone() { + return new Story(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 "StoryId" field.</summary> + public const int StoryIdFieldNumber = 2; + private string storyId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StoryId { + get { return storyId_; } + set { + storyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Comment" field.</summary> + public const int CommentFieldNumber = 3; + private string comment_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Comment { + get { return comment_; } + set { + comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Chapter" field.</summary> + public const int ChapterFieldNumber = 4; + private int chapter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Chapter { + get { return chapter_; } + set { + chapter_ = value; + } + } + + /// <summary>Field number for the "Index" field.</summary> + public const int IndexFieldNumber = 5; + private string index_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Index { + get { return index_; } + set { + index_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 6; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 7; + 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 "TrialBuild" field.</summary> + public const int TrialBuildFieldNumber = 8; + private int trialBuild_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TrialBuild { + get { return trialBuild_; } + set { + trialBuild_ = value; + } + } + + /// <summary>Field number for the "ConditionId" field.</summary> + public const int ConditionIdFieldNumber = 9; + private string conditionId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConditionId { + get { return conditionId_; } + set { + conditionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "IsBranch" field.</summary> + public const int IsBranchFieldNumber = 10; + private bool isBranch_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBranch { + get { return isBranch_; } + set { + isBranch_ = value; + } + } + + /// <summary>Field number for the "IsBattle" field.</summary> + public const int IsBattleFieldNumber = 11; + private bool isBattle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBattle { + get { return isBattle_; } + set { + isBattle_ = value; + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 12; + private int reward_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward { + get { return reward_; } + set { + reward_ = value; + } + } + + /// <summary>Field number for the "RewardDisplay" field.</summary> + public const int RewardDisplayFieldNumber = 13; + private string rewardDisplay_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RewardDisplay { + get { return rewardDisplay_; } + set { + rewardDisplay_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ParentStoryId" field.</summary> + public const int ParentStoryIdFieldNumber = 14; + private static readonly pb::FieldCodec<string> _repeated_parentStoryId_codec + = pb::FieldCodec.ForString(114); + private readonly pbc::RepeatedField<string> parentStoryId_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> ParentStoryId { + get { return parentStoryId_; } + } + + /// <summary>Field number for the "HasEvidence" field.</summary> + public const int HasEvidenceFieldNumber = 15; + private bool hasEvidence_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEvidence { + get { return hasEvidence_; } + set { + hasEvidence_ = value; + } + } + + /// <summary>Field number for the "AvgLuaName" field.</summary> + public const int AvgLuaNameFieldNumber = 16; + private string avgLuaName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AvgLuaName { + get { return avgLuaName_; } + set { + avgLuaName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + public const int FloorIdFieldNumber = 17; + private static readonly pb::FieldCodec<int> _repeated_floorId_codec + = pb::FieldCodec.ForInt32(138); + private readonly pbc::RepeatedField<int> floorId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FloorId { + get { return floorId_; } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + 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; + } + } + + /// <summary>Field number for the "Recommend" field.</summary> + public const int RecommendFieldNumber = 19; + private string recommend_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Recommend { + get { return recommend_; } + set { + recommend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Aim" field.</summary> + public const int AimFieldNumber = 20; + private string aim_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Aim { + get { return aim_; } + set { + aim_ = 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 Story); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Story other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (StoryId != other.StoryId) return false; + if (Comment != other.Comment) return false; + if (Chapter != other.Chapter) return false; + if (Index != other.Index) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (TrialBuild != other.TrialBuild) return false; + if (ConditionId != other.ConditionId) return false; + if (IsBranch != other.IsBranch) return false; + if (IsBattle != other.IsBattle) return false; + if (Reward != other.Reward) return false; + if (RewardDisplay != other.RewardDisplay) return false; + if(!parentStoryId_.Equals(other.parentStoryId_)) return false; + if (HasEvidence != other.HasEvidence) return false; + if (AvgLuaName != other.AvgLuaName) return false; + if(!floorId_.Equals(other.floorId_)) return false; + if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; + if (Recommend != other.Recommend) return false; + if (Aim != other.Aim) 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 (StoryId.Length != 0) hash ^= StoryId.GetHashCode(); + if (Comment.Length != 0) hash ^= Comment.GetHashCode(); + if (Chapter != 0) hash ^= Chapter.GetHashCode(); + if (Index.Length != 0) hash ^= Index.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (TrialBuild != 0) hash ^= TrialBuild.GetHashCode(); + if (ConditionId.Length != 0) hash ^= ConditionId.GetHashCode(); + if (IsBranch != false) hash ^= IsBranch.GetHashCode(); + if (IsBattle != false) hash ^= IsBattle.GetHashCode(); + if (Reward != 0) hash ^= Reward.GetHashCode(); + if (RewardDisplay.Length != 0) hash ^= RewardDisplay.GetHashCode(); + hash ^= parentStoryId_.GetHashCode(); + if (HasEvidence != false) hash ^= HasEvidence.GetHashCode(); + if (AvgLuaName.Length != 0) hash ^= AvgLuaName.GetHashCode(); + hash ^= floorId_.GetHashCode(); + if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); + if (Recommend.Length != 0) hash ^= Recommend.GetHashCode(); + if (Aim.Length != 0) hash ^= Aim.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 (StoryId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(StoryId); + } + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + if (Chapter != 0) { + output.WriteRawTag(32); + output.WriteInt32(Chapter); + } + if (Index.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Index); + } + if (Title.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (TrialBuild != 0) { + output.WriteRawTag(64); + output.WriteInt32(TrialBuild); + } + if (ConditionId.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ConditionId); + } + if (IsBranch != false) { + output.WriteRawTag(80); + output.WriteBool(IsBranch); + } + if (IsBattle != false) { + output.WriteRawTag(88); + output.WriteBool(IsBattle); + } + if (Reward != 0) { + output.WriteRawTag(96); + output.WriteInt32(Reward); + } + if (RewardDisplay.Length != 0) { + output.WriteRawTag(106); + output.WriteString(RewardDisplay); + } + parentStoryId_.WriteTo(output, _repeated_parentStoryId_codec); + if (HasEvidence != false) { + output.WriteRawTag(120); + output.WriteBool(HasEvidence); + } + if (AvgLuaName.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(AvgLuaName); + } + floorId_.WriteTo(output, _repeated_floorId_codec); + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Recommend.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Recommend); + } + if (Aim.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Aim); + } + 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 (StoryId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(StoryId); + } + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + if (Chapter != 0) { + output.WriteRawTag(32); + output.WriteInt32(Chapter); + } + if (Index.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Index); + } + if (Title.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (TrialBuild != 0) { + output.WriteRawTag(64); + output.WriteInt32(TrialBuild); + } + if (ConditionId.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ConditionId); + } + if (IsBranch != false) { + output.WriteRawTag(80); + output.WriteBool(IsBranch); + } + if (IsBattle != false) { + output.WriteRawTag(88); + output.WriteBool(IsBattle); + } + if (Reward != 0) { + output.WriteRawTag(96); + output.WriteInt32(Reward); + } + if (RewardDisplay.Length != 0) { + output.WriteRawTag(106); + output.WriteString(RewardDisplay); + } + parentStoryId_.WriteTo(ref output, _repeated_parentStoryId_codec); + if (HasEvidence != false) { + output.WriteRawTag(120); + output.WriteBool(HasEvidence); + } + if (AvgLuaName.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(AvgLuaName); + } + floorId_.WriteTo(ref output, _repeated_floorId_codec); + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(PreviewMonsterGroupId); + } + if (Recommend.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Recommend); + } + if (Aim.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Aim); + } + 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 (StoryId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StoryId); + } + if (Comment.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); + } + if (Chapter != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Chapter); + } + if (Index.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Index); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (TrialBuild != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrialBuild); + } + if (ConditionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConditionId); + } + if (IsBranch != false) { + size += 1 + 1; + } + if (IsBattle != false) { + size += 1 + 1; + } + if (Reward != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward); + } + if (RewardDisplay.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RewardDisplay); + } + size += parentStoryId_.CalculateSize(_repeated_parentStoryId_codec); + if (HasEvidence != false) { + size += 1 + 1; + } + if (AvgLuaName.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AvgLuaName); + } + size += floorId_.CalculateSize(_repeated_floorId_codec); + if (PreviewMonsterGroupId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); + } + if (Recommend.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Recommend); + } + if (Aim.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Aim); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Story other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.StoryId.Length != 0) { + StoryId = other.StoryId; + } + if (other.Comment.Length != 0) { + Comment = other.Comment; + } + if (other.Chapter != 0) { + Chapter = other.Chapter; + } + if (other.Index.Length != 0) { + Index = other.Index; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.TrialBuild != 0) { + TrialBuild = other.TrialBuild; + } + if (other.ConditionId.Length != 0) { + ConditionId = other.ConditionId; + } + if (other.IsBranch != false) { + IsBranch = other.IsBranch; + } + if (other.IsBattle != false) { + IsBattle = other.IsBattle; + } + if (other.Reward != 0) { + Reward = other.Reward; + } + if (other.RewardDisplay.Length != 0) { + RewardDisplay = other.RewardDisplay; + } + parentStoryId_.Add(other.parentStoryId_); + if (other.HasEvidence != false) { + HasEvidence = other.HasEvidence; + } + if (other.AvgLuaName.Length != 0) { + AvgLuaName = other.AvgLuaName; + } + floorId_.Add(other.floorId_); + if (other.PreviewMonsterGroupId != 0) { + PreviewMonsterGroupId = other.PreviewMonsterGroupId; + } + if (other.Recommend.Length != 0) { + Recommend = other.Recommend; + } + if (other.Aim.Length != 0) { + Aim = other.Aim; + } + _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: { + StoryId = input.ReadString(); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 32: { + Chapter = input.ReadInt32(); + break; + } + case 42: { + Index = input.ReadString(); + break; + } + case 50: { + Title = input.ReadString(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 64: { + TrialBuild = input.ReadInt32(); + break; + } + case 74: { + ConditionId = input.ReadString(); + break; + } + case 80: { + IsBranch = input.ReadBool(); + break; + } + case 88: { + IsBattle = input.ReadBool(); + break; + } + case 96: { + Reward = input.ReadInt32(); + break; + } + case 106: { + RewardDisplay = input.ReadString(); + break; + } + case 114: { + parentStoryId_.AddEntriesFrom(input, _repeated_parentStoryId_codec); + break; + } + case 120: { + HasEvidence = input.ReadBool(); + break; + } + case 130: { + AvgLuaName = input.ReadString(); + break; + } + case 138: + case 136: { + floorId_.AddEntriesFrom(input, _repeated_floorId_codec); + break; + } + case 144: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 154: { + Recommend = input.ReadString(); + break; + } + case 162: { + Aim = 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 18: { + StoryId = input.ReadString(); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 32: { + Chapter = input.ReadInt32(); + break; + } + case 42: { + Index = input.ReadString(); + break; + } + case 50: { + Title = input.ReadString(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 64: { + TrialBuild = input.ReadInt32(); + break; + } + case 74: { + ConditionId = input.ReadString(); + break; + } + case 80: { + IsBranch = input.ReadBool(); + break; + } + case 88: { + IsBattle = input.ReadBool(); + break; + } + case 96: { + Reward = input.ReadInt32(); + break; + } + case 106: { + RewardDisplay = input.ReadString(); + break; + } + case 114: { + parentStoryId_.AddEntriesFrom(ref input, _repeated_parentStoryId_codec); + break; + } + case 120: { + HasEvidence = input.ReadBool(); + break; + } + case 130: { + AvgLuaName = input.ReadString(); + break; + } + case 138: + case 136: { + floorId_.AddEntriesFrom(ref input, _repeated_floorId_codec); + break; + } + case 144: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 154: { + Recommend = input.ReadString(); + break; + } + case 162: { + Aim = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Story : pb::IMessage<table_Story> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Story> _parser = new pb::MessageParser<table_Story>(() => new table_Story()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Story> 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.ClientTableReflection.Descriptor.MessageTypes[443]; } + } + + [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 table_Story() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Story(table_Story other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Story Clone() { + return new table_Story(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Story> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Story.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Story> list_ = new pbc::RepeatedField<global::Nova.Client.Story>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Story> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Story); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Story other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Story other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryChapter : pb::IMessage<StoryChapter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryChapter> _parser = new pb::MessageParser<StoryChapter>(() => new StoryChapter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryChapter> 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.ClientTableReflection.Descriptor.MessageTypes[444]; } + } + + [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 StoryChapter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryChapter(StoryChapter other) : this() { + id_ = other.id_; + type_ = other.type_; + worldClass_ = other.worldClass_; + prevStories_ = other.prevStories_.Clone(); + index_ = other.index_; + name_ = other.name_; + desc_ = other.desc_; + chapterIcon_ = other.chapterIcon_; + timeStamp_ = other.timeStamp_.Clone(); + chapterYear_ = other.chapterYear_; + unlockShowStoryId_ = other.unlockShowStoryId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryChapter Clone() { + return new StoryChapter(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 "Type" field.</summary> + public const int TypeFieldNumber = 2; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "WorldClass" field.</summary> + public const int WorldClassFieldNumber = 3; + private int worldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WorldClass { + get { return worldClass_; } + set { + worldClass_ = value; + } + } + + /// <summary>Field number for the "PrevStories" field.</summary> + public const int PrevStoriesFieldNumber = 4; + private static readonly pb::FieldCodec<string> _repeated_prevStories_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField<string> prevStories_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> PrevStories { + get { return prevStories_; } + } + + /// <summary>Field number for the "Index" field.</summary> + public const int IndexFieldNumber = 5; + private string index_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Index { + get { return index_; } + set { + index_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 6; + 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 = 7; + 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 "ChapterIcon" field.</summary> + public const int ChapterIconFieldNumber = 8; + private string chapterIcon_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChapterIcon { + get { return chapterIcon_; } + set { + chapterIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TimeStamp" field.</summary> + public const int TimeStampFieldNumber = 9; + private static readonly pb::FieldCodec<string> _repeated_timeStamp_codec + = pb::FieldCodec.ForString(74); + private readonly pbc::RepeatedField<string> timeStamp_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> TimeStamp { + get { return timeStamp_; } + } + + /// <summary>Field number for the "ChapterYear" field.</summary> + public const int ChapterYearFieldNumber = 10; + private string chapterYear_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ChapterYear { + get { return chapterYear_; } + set { + chapterYear_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "UnlockShowStoryId" field.</summary> + public const int UnlockShowStoryIdFieldNumber = 11; + private int unlockShowStoryId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockShowStoryId { + get { return unlockShowStoryId_; } + set { + unlockShowStoryId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StoryChapter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryChapter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Type != other.Type) return false; + if (WorldClass != other.WorldClass) return false; + if(!prevStories_.Equals(other.prevStories_)) return false; + if (Index != other.Index) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (ChapterIcon != other.ChapterIcon) return false; + if(!timeStamp_.Equals(other.timeStamp_)) return false; + if (ChapterYear != other.ChapterYear) return false; + if (UnlockShowStoryId != other.UnlockShowStoryId) 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 (Type != 0) hash ^= Type.GetHashCode(); + if (WorldClass != 0) hash ^= WorldClass.GetHashCode(); + hash ^= prevStories_.GetHashCode(); + if (Index.Length != 0) hash ^= Index.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (ChapterIcon.Length != 0) hash ^= ChapterIcon.GetHashCode(); + hash ^= timeStamp_.GetHashCode(); + if (ChapterYear.Length != 0) hash ^= ChapterYear.GetHashCode(); + if (UnlockShowStoryId != 0) hash ^= UnlockShowStoryId.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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteInt32(WorldClass); + } + prevStories_.WriteTo(output, _repeated_prevStories_codec); + if (Index.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Index); + } + if (Name.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (ChapterIcon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ChapterIcon); + } + timeStamp_.WriteTo(output, _repeated_timeStamp_codec); + if (ChapterYear.Length != 0) { + output.WriteRawTag(82); + output.WriteString(ChapterYear); + } + if (UnlockShowStoryId != 0) { + output.WriteRawTag(88); + output.WriteInt32(UnlockShowStoryId); + } + 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 (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (WorldClass != 0) { + output.WriteRawTag(24); + output.WriteInt32(WorldClass); + } + prevStories_.WriteTo(ref output, _repeated_prevStories_codec); + if (Index.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Index); + } + if (Name.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Desc); + } + if (ChapterIcon.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ChapterIcon); + } + timeStamp_.WriteTo(ref output, _repeated_timeStamp_codec); + if (ChapterYear.Length != 0) { + output.WriteRawTag(82); + output.WriteString(ChapterYear); + } + if (UnlockShowStoryId != 0) { + output.WriteRawTag(88); + output.WriteInt32(UnlockShowStoryId); + } + 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 (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (WorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass); + } + size += prevStories_.CalculateSize(_repeated_prevStories_codec); + if (Index.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Index); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (ChapterIcon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterIcon); + } + size += timeStamp_.CalculateSize(_repeated_timeStamp_codec); + if (ChapterYear.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ChapterYear); + } + if (UnlockShowStoryId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockShowStoryId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryChapter other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.WorldClass != 0) { + WorldClass = other.WorldClass; + } + prevStories_.Add(other.prevStories_); + if (other.Index.Length != 0) { + Index = other.Index; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.ChapterIcon.Length != 0) { + ChapterIcon = other.ChapterIcon; + } + timeStamp_.Add(other.timeStamp_); + if (other.ChapterYear.Length != 0) { + ChapterYear = other.ChapterYear; + } + if (other.UnlockShowStoryId != 0) { + UnlockShowStoryId = other.UnlockShowStoryId; + } + _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: { + Type = input.ReadInt32(); + break; + } + case 24: { + WorldClass = input.ReadInt32(); + break; + } + case 34: { + prevStories_.AddEntriesFrom(input, _repeated_prevStories_codec); + break; + } + case 42: { + Index = input.ReadString(); + break; + } + case 50: { + Name = input.ReadString(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 66: { + ChapterIcon = input.ReadString(); + break; + } + case 74: { + timeStamp_.AddEntriesFrom(input, _repeated_timeStamp_codec); + break; + } + case 82: { + ChapterYear = input.ReadString(); + break; + } + case 88: { + UnlockShowStoryId = 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: { + Type = input.ReadInt32(); + break; + } + case 24: { + WorldClass = input.ReadInt32(); + break; + } + case 34: { + prevStories_.AddEntriesFrom(ref input, _repeated_prevStories_codec); + break; + } + case 42: { + Index = input.ReadString(); + break; + } + case 50: { + Name = input.ReadString(); + break; + } + case 58: { + Desc = input.ReadString(); + break; + } + case 66: { + ChapterIcon = input.ReadString(); + break; + } + case 74: { + timeStamp_.AddEntriesFrom(ref input, _repeated_timeStamp_codec); + break; + } + case 82: { + ChapterYear = input.ReadString(); + break; + } + case 88: { + UnlockShowStoryId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StoryChapter : pb::IMessage<table_StoryChapter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StoryChapter> _parser = new pb::MessageParser<table_StoryChapter>(() => new table_StoryChapter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StoryChapter> 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.ClientTableReflection.Descriptor.MessageTypes[445]; } + } + + [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 table_StoryChapter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryChapter(table_StoryChapter other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryChapter Clone() { + return new table_StoryChapter(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StoryChapter> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryChapter.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StoryChapter> list_ = new pbc::RepeatedField<global::Nova.Client.StoryChapter>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StoryChapter> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StoryChapter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StoryChapter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StoryChapter other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryCondition : pb::IMessage<StoryCondition> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryCondition> _parser = new pb::MessageParser<StoryCondition>(() => new StoryCondition()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryCondition> 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.ClientTableReflection.Descriptor.MessageTypes[446]; } + } + + [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 StoryCondition() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryCondition(StoryCondition other) : this() { + id_ = other.id_; + conditionId_ = other.conditionId_; + comment_ = other.comment_; + evIdsA_ = other.evIdsA_.Clone(); + evIdsB_ = other.evIdsB_.Clone(); + storyIdA_ = other.storyIdA_.Clone(); + storyIdB_ = other.storyIdB_.Clone(); + playerWorldLevel_ = other.playerWorldLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryCondition Clone() { + return new StoryCondition(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 "ConditionId" field.</summary> + public const int ConditionIdFieldNumber = 2; + private string conditionId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConditionId { + get { return conditionId_; } + set { + conditionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Comment" field.</summary> + public const int CommentFieldNumber = 3; + private string comment_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Comment { + get { return comment_; } + set { + comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EvIds_a" field.</summary> + public const int EvIdsAFieldNumber = 4; + private static readonly pb::FieldCodec<string> _repeated_evIdsA_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField<string> evIdsA_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> EvIdsA { + get { return evIdsA_; } + } + + /// <summary>Field number for the "EvIds_b" field.</summary> + public const int EvIdsBFieldNumber = 5; + private static readonly pb::FieldCodec<string> _repeated_evIdsB_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField<string> evIdsB_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> EvIdsB { + get { return evIdsB_; } + } + + /// <summary>Field number for the "StoryId_a" field.</summary> + public const int StoryIdAFieldNumber = 6; + private static readonly pb::FieldCodec<string> _repeated_storyIdA_codec + = pb::FieldCodec.ForString(50); + private readonly pbc::RepeatedField<string> storyIdA_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> StoryIdA { + get { return storyIdA_; } + } + + /// <summary>Field number for the "StoryId_b" field.</summary> + public const int StoryIdBFieldNumber = 7; + private static readonly pb::FieldCodec<string> _repeated_storyIdB_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField<string> storyIdB_ = new pbc::RepeatedField<string>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<string> StoryIdB { + get { return storyIdB_; } + } + + /// <summary>Field number for the "PlayerWorldLevel" field.</summary> + public const int PlayerWorldLevelFieldNumber = 8; + private int playerWorldLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PlayerWorldLevel { + get { return playerWorldLevel_; } + set { + playerWorldLevel_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StoryCondition); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryCondition other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ConditionId != other.ConditionId) return false; + if (Comment != other.Comment) return false; + if(!evIdsA_.Equals(other.evIdsA_)) return false; + if(!evIdsB_.Equals(other.evIdsB_)) return false; + if(!storyIdA_.Equals(other.storyIdA_)) return false; + if(!storyIdB_.Equals(other.storyIdB_)) return false; + if (PlayerWorldLevel != other.PlayerWorldLevel) 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 (ConditionId.Length != 0) hash ^= ConditionId.GetHashCode(); + if (Comment.Length != 0) hash ^= Comment.GetHashCode(); + hash ^= evIdsA_.GetHashCode(); + hash ^= evIdsB_.GetHashCode(); + hash ^= storyIdA_.GetHashCode(); + hash ^= storyIdB_.GetHashCode(); + if (PlayerWorldLevel != 0) hash ^= PlayerWorldLevel.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 (ConditionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ConditionId); + } + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + evIdsA_.WriteTo(output, _repeated_evIdsA_codec); + evIdsB_.WriteTo(output, _repeated_evIdsB_codec); + storyIdA_.WriteTo(output, _repeated_storyIdA_codec); + storyIdB_.WriteTo(output, _repeated_storyIdB_codec); + if (PlayerWorldLevel != 0) { + output.WriteRawTag(64); + output.WriteInt32(PlayerWorldLevel); + } + 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 (ConditionId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ConditionId); + } + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + evIdsA_.WriteTo(ref output, _repeated_evIdsA_codec); + evIdsB_.WriteTo(ref output, _repeated_evIdsB_codec); + storyIdA_.WriteTo(ref output, _repeated_storyIdA_codec); + storyIdB_.WriteTo(ref output, _repeated_storyIdB_codec); + if (PlayerWorldLevel != 0) { + output.WriteRawTag(64); + output.WriteInt32(PlayerWorldLevel); + } + 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 (ConditionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConditionId); + } + if (Comment.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); + } + size += evIdsA_.CalculateSize(_repeated_evIdsA_codec); + size += evIdsB_.CalculateSize(_repeated_evIdsB_codec); + size += storyIdA_.CalculateSize(_repeated_storyIdA_codec); + size += storyIdB_.CalculateSize(_repeated_storyIdB_codec); + if (PlayerWorldLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerWorldLevel); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryCondition other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ConditionId.Length != 0) { + ConditionId = other.ConditionId; + } + if (other.Comment.Length != 0) { + Comment = other.Comment; + } + evIdsA_.Add(other.evIdsA_); + evIdsB_.Add(other.evIdsB_); + storyIdA_.Add(other.storyIdA_); + storyIdB_.Add(other.storyIdB_); + if (other.PlayerWorldLevel != 0) { + PlayerWorldLevel = other.PlayerWorldLevel; + } + _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: { + ConditionId = input.ReadString(); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 34: { + evIdsA_.AddEntriesFrom(input, _repeated_evIdsA_codec); + break; + } + case 42: { + evIdsB_.AddEntriesFrom(input, _repeated_evIdsB_codec); + break; + } + case 50: { + storyIdA_.AddEntriesFrom(input, _repeated_storyIdA_codec); + break; + } + case 58: { + storyIdB_.AddEntriesFrom(input, _repeated_storyIdB_codec); + break; + } + case 64: { + PlayerWorldLevel = 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 18: { + ConditionId = input.ReadString(); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 34: { + evIdsA_.AddEntriesFrom(ref input, _repeated_evIdsA_codec); + break; + } + case 42: { + evIdsB_.AddEntriesFrom(ref input, _repeated_evIdsB_codec); + break; + } + case 50: { + storyIdA_.AddEntriesFrom(ref input, _repeated_storyIdA_codec); + break; + } + case 58: { + storyIdB_.AddEntriesFrom(ref input, _repeated_storyIdB_codec); + break; + } + case 64: { + PlayerWorldLevel = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StoryCondition : pb::IMessage<table_StoryCondition> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StoryCondition> _parser = new pb::MessageParser<table_StoryCondition>(() => new table_StoryCondition()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StoryCondition> 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.ClientTableReflection.Descriptor.MessageTypes[447]; } + } + + [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 table_StoryCondition() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryCondition(table_StoryCondition other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryCondition Clone() { + return new table_StoryCondition(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StoryCondition> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryCondition.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StoryCondition> list_ = new pbc::RepeatedField<global::Nova.Client.StoryCondition>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StoryCondition> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StoryCondition); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StoryCondition other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StoryCondition other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryEvidence : pb::IMessage<StoryEvidence> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryEvidence> _parser = new pb::MessageParser<StoryEvidence>(() => new StoryEvidence()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryEvidence> 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.ClientTableReflection.Descriptor.MessageTypes[448]; } + } + + [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 StoryEvidence() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryEvidence(StoryEvidence other) : this() { + id_ = other.id_; + evId_ = other.evId_; + comment_ = other.comment_; + name_ = other.name_; + desc_ = other.desc_; + icon_ = other.icon_; + iconBg_ = other.iconBg_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryEvidence Clone() { + return new StoryEvidence(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 "EvId" field.</summary> + public const int EvIdFieldNumber = 2; + private string evId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EvId { + get { return evId_; } + set { + evId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Comment" field.</summary> + public const int CommentFieldNumber = 3; + private string comment_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Comment { + get { return comment_; } + set { + comment_ = pb::ProtoPreconditions.CheckNotNull(value, "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 "IconBg" field.</summary> + public const int IconBgFieldNumber = 7; + private string iconBg_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IconBg { + get { return iconBg_; } + set { + iconBg_ = 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 StoryEvidence); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryEvidence other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (EvId != other.EvId) return false; + if (Comment != other.Comment) return false; + if (Name != other.Name) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (IconBg != other.IconBg) 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 (EvId.Length != 0) hash ^= EvId.GetHashCode(); + if (Comment.Length != 0) hash ^= Comment.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (IconBg.Length != 0) hash ^= IconBg.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 (EvId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(EvId); + } + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + 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 (IconBg.Length != 0) { + output.WriteRawTag(58); + output.WriteString(IconBg); + } + 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 (EvId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(EvId); + } + if (Comment.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Comment); + } + 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 (IconBg.Length != 0) { + output.WriteRawTag(58); + output.WriteString(IconBg); + } + 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 (EvId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EvId); + } + if (Comment.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); + } + 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 (IconBg.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IconBg); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryEvidence other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.EvId.Length != 0) { + EvId = other.EvId; + } + if (other.Comment.Length != 0) { + Comment = other.Comment; + } + 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.IconBg.Length != 0) { + IconBg = other.IconBg; + } + _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: { + EvId = input.ReadString(); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Icon = input.ReadString(); + break; + } + case 58: { + IconBg = 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 18: { + EvId = input.ReadString(); + break; + } + case 26: { + Comment = input.ReadString(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Icon = input.ReadString(); + break; + } + case 58: { + IconBg = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StoryEvidence : pb::IMessage<table_StoryEvidence> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StoryEvidence> _parser = new pb::MessageParser<table_StoryEvidence>(() => new table_StoryEvidence()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StoryEvidence> 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.ClientTableReflection.Descriptor.MessageTypes[449]; } + } + + [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 table_StoryEvidence() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryEvidence(table_StoryEvidence other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryEvidence Clone() { + return new table_StoryEvidence(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StoryEvidence> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryEvidence.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StoryEvidence> list_ = new pbc::RepeatedField<global::Nova.Client.StoryEvidence>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StoryEvidence> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StoryEvidence); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StoryEvidence other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StoryEvidence other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryPersonality : pb::IMessage<StoryPersonality> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryPersonality> _parser = new pb::MessageParser<StoryPersonality>(() => new StoryPersonality()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryPersonality> 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.ClientTableReflection.Descriptor.MessageTypes[450]; } + } + + [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 StoryPersonality() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryPersonality(StoryPersonality other) : this() { + id_ = other.id_; + name_ = other.name_; + db_ = other.db_; + icon_ = other.icon_; + color_ = other.color_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryPersonality Clone() { + return new StoryPersonality(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 "Db" field.</summary> + public const int DbFieldNumber = 3; + private string db_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Db { + get { return db_; } + set { + db_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 4; + 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 "Color" field.</summary> + public const int ColorFieldNumber = 5; + private string color_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Color { + get { return color_; } + set { + color_ = 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 StoryPersonality); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryPersonality 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 (Db != other.Db) return false; + if (Icon != other.Icon) return false; + if (Color != other.Color) 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 (Db.Length != 0) hash ^= Db.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Color.Length != 0) hash ^= Color.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 (Db.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Db); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (Color.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Color); + } + 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 (Db.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Db); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (Color.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Color); + } + 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 (Db.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Db); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Color.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryPersonality other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Db.Length != 0) { + Db = other.Db; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Color.Length != 0) { + Color = other.Color; + } + _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 26: { + Db = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + Color = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Db = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + Color = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StoryPersonality : pb::IMessage<table_StoryPersonality> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StoryPersonality> _parser = new pb::MessageParser<table_StoryPersonality>(() => new table_StoryPersonality()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StoryPersonality> 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.ClientTableReflection.Descriptor.MessageTypes[451]; } + } + + [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 table_StoryPersonality() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryPersonality(table_StoryPersonality other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryPersonality Clone() { + return new table_StoryPersonality(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StoryPersonality> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryPersonality.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StoryPersonality> list_ = new pbc::RepeatedField<global::Nova.Client.StoryPersonality>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StoryPersonality> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StoryPersonality); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StoryPersonality other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StoryPersonality other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StoryRolePersonality : pb::IMessage<StoryRolePersonality> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<StoryRolePersonality> _parser = new pb::MessageParser<StoryRolePersonality>(() => new StoryRolePersonality()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<StoryRolePersonality> 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.ClientTableReflection.Descriptor.MessageTypes[452]; } + } + + [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 StoryRolePersonality() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryRolePersonality(StoryRolePersonality other) : this() { + id_ = other.id_; + avgCharId_ = other.avgCharId_; + personalitys_ = other.personalitys_.Clone(); + baseValue_ = other.baseValue_.Clone(); + amax_ = other.amax_; + amaxFace_ = other.amaxFace_; + bmax_ = other.bmax_; + bmaxFace_ = other.bmaxFace_; + cmax_ = other.cmax_; + cmaxFace_ = other.cmaxFace_; + aplus_ = other.aplus_; + aplusFace_ = other.aplusFace_; + bplus_ = other.bplus_; + bplusFace_ = other.bplusFace_; + cplus_ = other.cplus_; + cplusFace_ = other.cplusFace_; + ab_ = other.ab_; + abFace_ = other.abFace_; + ac_ = other.ac_; + acFace_ = other.acFace_; + bc_ = other.bc_; + bcFace_ = other.bcFace_; + normal_ = other.normal_; + normalFace_ = other.normalFace_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StoryRolePersonality Clone() { + return new StoryRolePersonality(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 "AvgCharId" field.</summary> + public const int AvgCharIdFieldNumber = 2; + private string avgCharId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AvgCharId { + get { return avgCharId_; } + set { + avgCharId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Personalitys" field.</summary> + public const int PersonalitysFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_personalitys_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> personalitys_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Personalitys { + get { return personalitys_; } + } + + /// <summary>Field number for the "BaseValue" field.</summary> + public const int BaseValueFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_baseValue_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> baseValue_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BaseValue { + get { return baseValue_; } + } + + /// <summary>Field number for the "Amax" field.</summary> + public const int AmaxFieldNumber = 5; + private string amax_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Amax { + get { return amax_; } + set { + amax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AmaxFace" field.</summary> + public const int AmaxFaceFieldNumber = 6; + private string amaxFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AmaxFace { + get { return amaxFace_; } + set { + amaxFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Bmax" field.</summary> + public const int BmaxFieldNumber = 7; + private string bmax_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bmax { + get { return bmax_; } + set { + bmax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BmaxFace" field.</summary> + public const int BmaxFaceFieldNumber = 8; + private string bmaxFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BmaxFace { + get { return bmaxFace_; } + set { + bmaxFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Cmax" field.</summary> + public const int CmaxFieldNumber = 9; + private string cmax_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cmax { + get { return cmax_; } + set { + cmax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CmaxFace" field.</summary> + public const int CmaxFaceFieldNumber = 10; + private string cmaxFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CmaxFace { + get { return cmaxFace_; } + set { + cmaxFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Aplus" field.</summary> + public const int AplusFieldNumber = 11; + private string aplus_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Aplus { + get { return aplus_; } + set { + aplus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AplusFace" field.</summary> + public const int AplusFaceFieldNumber = 12; + private string aplusFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AplusFace { + get { return aplusFace_; } + set { + aplusFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Bplus" field.</summary> + public const int BplusFieldNumber = 13; + private string bplus_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bplus { + get { return bplus_; } + set { + bplus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BplusFace" field.</summary> + public const int BplusFaceFieldNumber = 14; + private string bplusFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BplusFace { + get { return bplusFace_; } + set { + bplusFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Cplus" field.</summary> + public const int CplusFieldNumber = 15; + private string cplus_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cplus { + get { return cplus_; } + set { + cplus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CplusFace" field.</summary> + public const int CplusFaceFieldNumber = 16; + private string cplusFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CplusFace { + get { return cplusFace_; } + set { + cplusFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Ab" field.</summary> + public const int AbFieldNumber = 17; + private string ab_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ab { + get { return ab_; } + set { + ab_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AbFace" field.</summary> + public const int AbFaceFieldNumber = 18; + private string abFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AbFace { + get { return abFace_; } + set { + abFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Ac" field.</summary> + public const int AcFieldNumber = 19; + private string ac_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Ac { + get { return ac_; } + set { + ac_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AcFace" field.</summary> + public const int AcFaceFieldNumber = 20; + private string acFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AcFace { + get { return acFace_; } + set { + acFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Bc" field.</summary> + public const int BcFieldNumber = 21; + private string bc_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Bc { + get { return bc_; } + set { + bc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "BcFace" field.</summary> + public const int BcFaceFieldNumber = 22; + private string bcFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BcFace { + get { return bcFace_; } + set { + bcFace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Normal" field.</summary> + public const int NormalFieldNumber = 23; + private string normal_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Normal { + get { return normal_; } + set { + normal_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "NormalFace" field.</summary> + public const int NormalFaceFieldNumber = 24; + private string normalFace_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NormalFace { + get { return normalFace_; } + set { + normalFace_ = 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 StoryRolePersonality); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StoryRolePersonality other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (AvgCharId != other.AvgCharId) return false; + if(!personalitys_.Equals(other.personalitys_)) return false; + if(!baseValue_.Equals(other.baseValue_)) return false; + if (Amax != other.Amax) return false; + if (AmaxFace != other.AmaxFace) return false; + if (Bmax != other.Bmax) return false; + if (BmaxFace != other.BmaxFace) return false; + if (Cmax != other.Cmax) return false; + if (CmaxFace != other.CmaxFace) return false; + if (Aplus != other.Aplus) return false; + if (AplusFace != other.AplusFace) return false; + if (Bplus != other.Bplus) return false; + if (BplusFace != other.BplusFace) return false; + if (Cplus != other.Cplus) return false; + if (CplusFace != other.CplusFace) return false; + if (Ab != other.Ab) return false; + if (AbFace != other.AbFace) return false; + if (Ac != other.Ac) return false; + if (AcFace != other.AcFace) return false; + if (Bc != other.Bc) return false; + if (BcFace != other.BcFace) return false; + if (Normal != other.Normal) return false; + if (NormalFace != other.NormalFace) 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 (AvgCharId.Length != 0) hash ^= AvgCharId.GetHashCode(); + hash ^= personalitys_.GetHashCode(); + hash ^= baseValue_.GetHashCode(); + if (Amax.Length != 0) hash ^= Amax.GetHashCode(); + if (AmaxFace.Length != 0) hash ^= AmaxFace.GetHashCode(); + if (Bmax.Length != 0) hash ^= Bmax.GetHashCode(); + if (BmaxFace.Length != 0) hash ^= BmaxFace.GetHashCode(); + if (Cmax.Length != 0) hash ^= Cmax.GetHashCode(); + if (CmaxFace.Length != 0) hash ^= CmaxFace.GetHashCode(); + if (Aplus.Length != 0) hash ^= Aplus.GetHashCode(); + if (AplusFace.Length != 0) hash ^= AplusFace.GetHashCode(); + if (Bplus.Length != 0) hash ^= Bplus.GetHashCode(); + if (BplusFace.Length != 0) hash ^= BplusFace.GetHashCode(); + if (Cplus.Length != 0) hash ^= Cplus.GetHashCode(); + if (CplusFace.Length != 0) hash ^= CplusFace.GetHashCode(); + if (Ab.Length != 0) hash ^= Ab.GetHashCode(); + if (AbFace.Length != 0) hash ^= AbFace.GetHashCode(); + if (Ac.Length != 0) hash ^= Ac.GetHashCode(); + if (AcFace.Length != 0) hash ^= AcFace.GetHashCode(); + if (Bc.Length != 0) hash ^= Bc.GetHashCode(); + if (BcFace.Length != 0) hash ^= BcFace.GetHashCode(); + if (Normal.Length != 0) hash ^= Normal.GetHashCode(); + if (NormalFace.Length != 0) hash ^= NormalFace.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 (AvgCharId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AvgCharId); + } + personalitys_.WriteTo(output, _repeated_personalitys_codec); + baseValue_.WriteTo(output, _repeated_baseValue_codec); + if (Amax.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Amax); + } + if (AmaxFace.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AmaxFace); + } + if (Bmax.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Bmax); + } + if (BmaxFace.Length != 0) { + output.WriteRawTag(66); + output.WriteString(BmaxFace); + } + if (Cmax.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Cmax); + } + if (CmaxFace.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CmaxFace); + } + if (Aplus.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Aplus); + } + if (AplusFace.Length != 0) { + output.WriteRawTag(98); + output.WriteString(AplusFace); + } + if (Bplus.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Bplus); + } + if (BplusFace.Length != 0) { + output.WriteRawTag(114); + output.WriteString(BplusFace); + } + if (Cplus.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Cplus); + } + if (CplusFace.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(CplusFace); + } + if (Ab.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Ab); + } + if (AbFace.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(AbFace); + } + if (Ac.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Ac); + } + if (AcFace.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(AcFace); + } + if (Bc.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Bc); + } + if (BcFace.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(BcFace); + } + if (Normal.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Normal); + } + if (NormalFace.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(NormalFace); + } + 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 (AvgCharId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(AvgCharId); + } + personalitys_.WriteTo(ref output, _repeated_personalitys_codec); + baseValue_.WriteTo(ref output, _repeated_baseValue_codec); + if (Amax.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Amax); + } + if (AmaxFace.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AmaxFace); + } + if (Bmax.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Bmax); + } + if (BmaxFace.Length != 0) { + output.WriteRawTag(66); + output.WriteString(BmaxFace); + } + if (Cmax.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Cmax); + } + if (CmaxFace.Length != 0) { + output.WriteRawTag(82); + output.WriteString(CmaxFace); + } + if (Aplus.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Aplus); + } + if (AplusFace.Length != 0) { + output.WriteRawTag(98); + output.WriteString(AplusFace); + } + if (Bplus.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Bplus); + } + if (BplusFace.Length != 0) { + output.WriteRawTag(114); + output.WriteString(BplusFace); + } + if (Cplus.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Cplus); + } + if (CplusFace.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(CplusFace); + } + if (Ab.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Ab); + } + if (AbFace.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(AbFace); + } + if (Ac.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Ac); + } + if (AcFace.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(AcFace); + } + if (Bc.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Bc); + } + if (BcFace.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(BcFace); + } + if (Normal.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Normal); + } + if (NormalFace.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(NormalFace); + } + 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 (AvgCharId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AvgCharId); + } + size += personalitys_.CalculateSize(_repeated_personalitys_codec); + size += baseValue_.CalculateSize(_repeated_baseValue_codec); + if (Amax.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Amax); + } + if (AmaxFace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AmaxFace); + } + if (Bmax.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bmax); + } + if (BmaxFace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BmaxFace); + } + if (Cmax.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmax); + } + if (CmaxFace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CmaxFace); + } + if (Aplus.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Aplus); + } + if (AplusFace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AplusFace); + } + if (Bplus.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Bplus); + } + if (BplusFace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BplusFace); + } + if (Cplus.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Cplus); + } + if (CplusFace.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(CplusFace); + } + if (Ab.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Ab); + } + if (AbFace.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AbFace); + } + if (Ac.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Ac); + } + if (AcFace.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(AcFace); + } + if (Bc.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Bc); + } + if (BcFace.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BcFace); + } + if (Normal.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Normal); + } + if (NormalFace.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(NormalFace); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StoryRolePersonality other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.AvgCharId.Length != 0) { + AvgCharId = other.AvgCharId; + } + personalitys_.Add(other.personalitys_); + baseValue_.Add(other.baseValue_); + if (other.Amax.Length != 0) { + Amax = other.Amax; + } + if (other.AmaxFace.Length != 0) { + AmaxFace = other.AmaxFace; + } + if (other.Bmax.Length != 0) { + Bmax = other.Bmax; + } + if (other.BmaxFace.Length != 0) { + BmaxFace = other.BmaxFace; + } + if (other.Cmax.Length != 0) { + Cmax = other.Cmax; + } + if (other.CmaxFace.Length != 0) { + CmaxFace = other.CmaxFace; + } + if (other.Aplus.Length != 0) { + Aplus = other.Aplus; + } + if (other.AplusFace.Length != 0) { + AplusFace = other.AplusFace; + } + if (other.Bplus.Length != 0) { + Bplus = other.Bplus; + } + if (other.BplusFace.Length != 0) { + BplusFace = other.BplusFace; + } + if (other.Cplus.Length != 0) { + Cplus = other.Cplus; + } + if (other.CplusFace.Length != 0) { + CplusFace = other.CplusFace; + } + if (other.Ab.Length != 0) { + Ab = other.Ab; + } + if (other.AbFace.Length != 0) { + AbFace = other.AbFace; + } + if (other.Ac.Length != 0) { + Ac = other.Ac; + } + if (other.AcFace.Length != 0) { + AcFace = other.AcFace; + } + if (other.Bc.Length != 0) { + Bc = other.Bc; + } + if (other.BcFace.Length != 0) { + BcFace = other.BcFace; + } + if (other.Normal.Length != 0) { + Normal = other.Normal; + } + if (other.NormalFace.Length != 0) { + NormalFace = other.NormalFace; + } + _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: { + AvgCharId = input.ReadString(); + break; + } + case 26: + case 24: { + personalitys_.AddEntriesFrom(input, _repeated_personalitys_codec); + break; + } + case 34: + case 32: { + baseValue_.AddEntriesFrom(input, _repeated_baseValue_codec); + break; + } + case 42: { + Amax = input.ReadString(); + break; + } + case 50: { + AmaxFace = input.ReadString(); + break; + } + case 58: { + Bmax = input.ReadString(); + break; + } + case 66: { + BmaxFace = input.ReadString(); + break; + } + case 74: { + Cmax = input.ReadString(); + break; + } + case 82: { + CmaxFace = input.ReadString(); + break; + } + case 90: { + Aplus = input.ReadString(); + break; + } + case 98: { + AplusFace = input.ReadString(); + break; + } + case 106: { + Bplus = input.ReadString(); + break; + } + case 114: { + BplusFace = input.ReadString(); + break; + } + case 122: { + Cplus = input.ReadString(); + break; + } + case 130: { + CplusFace = input.ReadString(); + break; + } + case 138: { + Ab = input.ReadString(); + break; + } + case 146: { + AbFace = input.ReadString(); + break; + } + case 154: { + Ac = input.ReadString(); + break; + } + case 162: { + AcFace = input.ReadString(); + break; + } + case 170: { + Bc = input.ReadString(); + break; + } + case 178: { + BcFace = input.ReadString(); + break; + } + case 186: { + Normal = input.ReadString(); + break; + } + case 194: { + NormalFace = 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 18: { + AvgCharId = input.ReadString(); + break; + } + case 26: + case 24: { + personalitys_.AddEntriesFrom(ref input, _repeated_personalitys_codec); + break; + } + case 34: + case 32: { + baseValue_.AddEntriesFrom(ref input, _repeated_baseValue_codec); + break; + } + case 42: { + Amax = input.ReadString(); + break; + } + case 50: { + AmaxFace = input.ReadString(); + break; + } + case 58: { + Bmax = input.ReadString(); + break; + } + case 66: { + BmaxFace = input.ReadString(); + break; + } + case 74: { + Cmax = input.ReadString(); + break; + } + case 82: { + CmaxFace = input.ReadString(); + break; + } + case 90: { + Aplus = input.ReadString(); + break; + } + case 98: { + AplusFace = input.ReadString(); + break; + } + case 106: { + Bplus = input.ReadString(); + break; + } + case 114: { + BplusFace = input.ReadString(); + break; + } + case 122: { + Cplus = input.ReadString(); + break; + } + case 130: { + CplusFace = input.ReadString(); + break; + } + case 138: { + Ab = input.ReadString(); + break; + } + case 146: { + AbFace = input.ReadString(); + break; + } + case 154: { + Ac = input.ReadString(); + break; + } + case 162: { + AcFace = input.ReadString(); + break; + } + case 170: { + Bc = input.ReadString(); + break; + } + case 178: { + BcFace = input.ReadString(); + break; + } + case 186: { + Normal = input.ReadString(); + break; + } + case 194: { + NormalFace = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_StoryRolePersonality : pb::IMessage<table_StoryRolePersonality> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_StoryRolePersonality> _parser = new pb::MessageParser<table_StoryRolePersonality>(() => new table_StoryRolePersonality()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_StoryRolePersonality> 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.ClientTableReflection.Descriptor.MessageTypes[453]; } + } + + [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 table_StoryRolePersonality() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryRolePersonality(table_StoryRolePersonality other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_StoryRolePersonality Clone() { + return new table_StoryRolePersonality(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.StoryRolePersonality> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.StoryRolePersonality.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.StoryRolePersonality> list_ = new pbc::RepeatedField<global::Nova.Client.StoryRolePersonality>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.StoryRolePersonality> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_StoryRolePersonality); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_StoryRolePersonality other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_StoryRolePersonality other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Talent : pb::IMessage<Talent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Talent> _parser = new pb::MessageParser<Talent>(() => new Talent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Talent> 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.ClientTableReflection.Descriptor.MessageTypes[454]; } + } + + [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 Talent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Talent(Talent other) : this() { + id_ = other.id_; + index_ = other.index_; + title_ = other.title_; + groupId_ = other.groupId_; + type_ = other.type_; + subType_ = other.subType_; + sort_ = other.sort_; + nodes_ = other.nodes_; + effectId_ = other.effectId_.Clone(); + enhanceSkillId_ = other.enhanceSkillId_; + enhanceSkillLevel_ = other.enhanceSkillLevel_; + enhancePotentialId_ = other.enhancePotentialId_; + enhancePotentialLevel_ = other.enhancePotentialLevel_; + desc_ = other.desc_; + icon_ = other.icon_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + param5_ = other.param5_; + param6_ = other.param6_; + param7_ = other.param7_; + param8_ = other.param8_; + param9_ = other.param9_; + param10_ = other.param10_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Talent Clone() { + return new Talent(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 "Index" field.</summary> + public const int IndexFieldNumber = 2; + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { return index_; } + set { + index_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "GroupId" field.</summary> + public const int GroupIdFieldNumber = 4; + 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 "Type" field.</summary> + public const int TypeFieldNumber = 5; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "SubType" field.</summary> + public const int SubTypeFieldNumber = 6; + private int subType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SubType { + get { return subType_; } + set { + subType_ = value; + } + } + + /// <summary>Field number for the "Sort" field.</summary> + public const int SortFieldNumber = 7; + 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 "Nodes" field.</summary> + public const int NodesFieldNumber = 8; + private int nodes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Nodes { + get { return nodes_; } + set { + nodes_ = value; + } + } + + /// <summary>Field number for the "EffectId" field.</summary> + public const int EffectIdFieldNumber = 9; + private static readonly pb::FieldCodec<int> _repeated_effectId_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId { + get { return effectId_; } + } + + /// <summary>Field number for the "EnhanceSkillId" field.</summary> + public const int EnhanceSkillIdFieldNumber = 10; + private int enhanceSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnhanceSkillId { + get { return enhanceSkillId_; } + set { + enhanceSkillId_ = value; + } + } + + /// <summary>Field number for the "EnhanceSkillLevel" field.</summary> + public const int EnhanceSkillLevelFieldNumber = 11; + private int enhanceSkillLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnhanceSkillLevel { + get { return enhanceSkillLevel_; } + set { + enhanceSkillLevel_ = value; + } + } + + /// <summary>Field number for the "EnhancePotentialId" field.</summary> + public const int EnhancePotentialIdFieldNumber = 12; + private int enhancePotentialId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnhancePotentialId { + get { return enhancePotentialId_; } + set { + enhancePotentialId_ = value; + } + } + + /// <summary>Field number for the "EnhancePotentialLevel" field.</summary> + public const int EnhancePotentialLevelFieldNumber = 13; + private int enhancePotentialLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnhancePotentialLevel { + get { return enhancePotentialLevel_; } + set { + enhancePotentialLevel_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 14; + 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 = 15; + 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 "Param1" field.</summary> + public const int Param1FieldNumber = 16; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 17; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 18; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 19; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 20; + private string param5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param5 { + get { return param5_; } + set { + param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 21; + private string param6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param6 { + get { return param6_; } + set { + param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param7" field.</summary> + public const int Param7FieldNumber = 22; + private string param7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param7 { + get { return param7_; } + set { + param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param8" field.</summary> + public const int Param8FieldNumber = 23; + private string param8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param8 { + get { return param8_; } + set { + param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param9" field.</summary> + public const int Param9FieldNumber = 24; + private string param9_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param9 { + get { return param9_; } + set { + param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param10" field.</summary> + public const int Param10FieldNumber = 25; + private string param10_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param10 { + get { return param10_; } + set { + param10_ = 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 Talent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Talent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Index != other.Index) return false; + if (Title != other.Title) return false; + if (GroupId != other.GroupId) return false; + if (Type != other.Type) return false; + if (SubType != other.SubType) return false; + if (Sort != other.Sort) return false; + if (Nodes != other.Nodes) return false; + if(!effectId_.Equals(other.effectId_)) return false; + if (EnhanceSkillId != other.EnhanceSkillId) return false; + if (EnhanceSkillLevel != other.EnhanceSkillLevel) return false; + if (EnhancePotentialId != other.EnhancePotentialId) return false; + if (EnhancePotentialLevel != other.EnhancePotentialLevel) return false; + if (Desc != other.Desc) return false; + if (Icon != other.Icon) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) return false; + if (Param5 != other.Param5) return false; + if (Param6 != other.Param6) return false; + if (Param7 != other.Param7) return false; + if (Param8 != other.Param8) return false; + if (Param9 != other.Param9) return false; + if (Param10 != other.Param10) 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 (Index != 0) hash ^= Index.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (GroupId != 0) hash ^= GroupId.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (SubType != 0) hash ^= SubType.GetHashCode(); + if (Sort != 0) hash ^= Sort.GetHashCode(); + if (Nodes != 0) hash ^= Nodes.GetHashCode(); + hash ^= effectId_.GetHashCode(); + if (EnhanceSkillId != 0) hash ^= EnhanceSkillId.GetHashCode(); + if (EnhanceSkillLevel != 0) hash ^= EnhanceSkillLevel.GetHashCode(); + if (EnhancePotentialId != 0) hash ^= EnhancePotentialId.GetHashCode(); + if (EnhancePotentialLevel != 0) hash ^= EnhancePotentialLevel.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.GetHashCode(); + if (Param5.Length != 0) hash ^= Param5.GetHashCode(); + if (Param6.Length != 0) hash ^= Param6.GetHashCode(); + if (Param7.Length != 0) hash ^= Param7.GetHashCode(); + if (Param8.Length != 0) hash ^= Param8.GetHashCode(); + if (Param9.Length != 0) hash ^= Param9.GetHashCode(); + if (Param10.Length != 0) hash ^= Param10.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 (Index != 0) { + output.WriteRawTag(16); + output.WriteInt32(Index); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (GroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(GroupId); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (SubType != 0) { + output.WriteRawTag(48); + output.WriteInt32(SubType); + } + if (Sort != 0) { + output.WriteRawTag(56); + output.WriteInt32(Sort); + } + if (Nodes != 0) { + output.WriteRawTag(64); + output.WriteInt32(Nodes); + } + effectId_.WriteTo(output, _repeated_effectId_codec); + if (EnhanceSkillId != 0) { + output.WriteRawTag(80); + output.WriteInt32(EnhanceSkillId); + } + if (EnhanceSkillLevel != 0) { + output.WriteRawTag(88); + output.WriteInt32(EnhanceSkillLevel); + } + if (EnhancePotentialId != 0) { + output.WriteRawTag(96); + output.WriteInt32(EnhancePotentialId); + } + if (EnhancePotentialLevel != 0) { + output.WriteRawTag(104); + output.WriteInt32(EnhancePotentialLevel); + } + if (Desc.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Icon); + } + if (Param1.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param10); + } + 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 (Index != 0) { + output.WriteRawTag(16); + output.WriteInt32(Index); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (GroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(GroupId); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (SubType != 0) { + output.WriteRawTag(48); + output.WriteInt32(SubType); + } + if (Sort != 0) { + output.WriteRawTag(56); + output.WriteInt32(Sort); + } + if (Nodes != 0) { + output.WriteRawTag(64); + output.WriteInt32(Nodes); + } + effectId_.WriteTo(ref output, _repeated_effectId_codec); + if (EnhanceSkillId != 0) { + output.WriteRawTag(80); + output.WriteInt32(EnhanceSkillId); + } + if (EnhanceSkillLevel != 0) { + output.WriteRawTag(88); + output.WriteInt32(EnhanceSkillLevel); + } + if (EnhancePotentialId != 0) { + output.WriteRawTag(96); + output.WriteInt32(EnhancePotentialId); + } + if (EnhancePotentialLevel != 0) { + output.WriteRawTag(104); + output.WriteInt32(EnhancePotentialLevel); + } + if (Desc.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Icon); + } + if (Param1.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(194, 1); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(202, 1); + output.WriteString(Param10); + } + 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 (Index != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (GroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupId); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (SubType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubType); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (Nodes != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nodes); + } + size += effectId_.CalculateSize(_repeated_effectId_codec); + if (EnhanceSkillId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhanceSkillId); + } + if (EnhanceSkillLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhanceSkillLevel); + } + if (EnhancePotentialId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhancePotentialId); + } + if (EnhancePotentialLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnhancePotentialLevel); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Param1.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (Param5.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param5); + } + if (Param6.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param6); + } + if (Param7.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param7); + } + if (Param8.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param8); + } + if (Param9.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param9); + } + if (Param10.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Param10); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Talent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Index != 0) { + Index = other.Index; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.SubType != 0) { + SubType = other.SubType; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + if (other.Nodes != 0) { + Nodes = other.Nodes; + } + effectId_.Add(other.effectId_); + if (other.EnhanceSkillId != 0) { + EnhanceSkillId = other.EnhanceSkillId; + } + if (other.EnhanceSkillLevel != 0) { + EnhanceSkillLevel = other.EnhanceSkillLevel; + } + if (other.EnhancePotentialId != 0) { + EnhancePotentialId = other.EnhancePotentialId; + } + if (other.EnhancePotentialLevel != 0) { + EnhancePotentialLevel = other.EnhancePotentialLevel; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + if (other.Param5.Length != 0) { + Param5 = other.Param5; + } + if (other.Param6.Length != 0) { + Param6 = other.Param6; + } + if (other.Param7.Length != 0) { + Param7 = other.Param7; + } + if (other.Param8.Length != 0) { + Param8 = other.Param8; + } + if (other.Param9.Length != 0) { + Param9 = other.Param9; + } + if (other.Param10.Length != 0) { + Param10 = other.Param10; + } + _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: { + Index = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + GroupId = input.ReadInt32(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + SubType = input.ReadInt32(); + break; + } + case 56: { + Sort = input.ReadInt32(); + break; + } + case 64: { + Nodes = input.ReadInt32(); + break; + } + case 74: + case 72: { + effectId_.AddEntriesFrom(input, _repeated_effectId_codec); + break; + } + case 80: { + EnhanceSkillId = input.ReadInt32(); + break; + } + case 88: { + EnhanceSkillLevel = input.ReadInt32(); + break; + } + case 96: { + EnhancePotentialId = input.ReadInt32(); + break; + } + case 104: { + EnhancePotentialLevel = input.ReadInt32(); + break; + } + case 114: { + Desc = input.ReadString(); + break; + } + case 122: { + Icon = input.ReadString(); + break; + } + case 130: { + Param1 = input.ReadString(); + break; + } + case 138: { + Param2 = input.ReadString(); + break; + } + case 146: { + Param3 = input.ReadString(); + break; + } + case 154: { + Param4 = input.ReadString(); + break; + } + case 162: { + Param5 = input.ReadString(); + break; + } + case 170: { + Param6 = input.ReadString(); + break; + } + case 178: { + Param7 = input.ReadString(); + break; + } + case 186: { + Param8 = input.ReadString(); + break; + } + case 194: { + Param9 = input.ReadString(); + break; + } + case 202: { + Param10 = 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: { + Index = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + GroupId = input.ReadInt32(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + SubType = input.ReadInt32(); + break; + } + case 56: { + Sort = input.ReadInt32(); + break; + } + case 64: { + Nodes = input.ReadInt32(); + break; + } + case 74: + case 72: { + effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); + break; + } + case 80: { + EnhanceSkillId = input.ReadInt32(); + break; + } + case 88: { + EnhanceSkillLevel = input.ReadInt32(); + break; + } + case 96: { + EnhancePotentialId = input.ReadInt32(); + break; + } + case 104: { + EnhancePotentialLevel = input.ReadInt32(); + break; + } + case 114: { + Desc = input.ReadString(); + break; + } + case 122: { + Icon = input.ReadString(); + break; + } + case 130: { + Param1 = input.ReadString(); + break; + } + case 138: { + Param2 = input.ReadString(); + break; + } + case 146: { + Param3 = input.ReadString(); + break; + } + case 154: { + Param4 = input.ReadString(); + break; + } + case 162: { + Param5 = input.ReadString(); + break; + } + case 170: { + Param6 = input.ReadString(); + break; + } + case 178: { + Param7 = input.ReadString(); + break; + } + case 186: { + Param8 = input.ReadString(); + break; + } + case 194: { + Param9 = input.ReadString(); + break; + } + case 202: { + Param10 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Talent : pb::IMessage<table_Talent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Talent> _parser = new pb::MessageParser<table_Talent>(() => new table_Talent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Talent> 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.ClientTableReflection.Descriptor.MessageTypes[455]; } + } + + [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 table_Talent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Talent(table_Talent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Talent Clone() { + return new table_Talent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Talent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Talent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Talent> list_ = new pbc::RepeatedField<global::Nova.Client.Talent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Talent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Talent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Talent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Talent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TalentGroup : pb::IMessage<TalentGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TalentGroup> _parser = new pb::MessageParser<TalentGroup>(() => new TalentGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TalentGroup> 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.ClientTableReflection.Descriptor.MessageTypes[456]; } + } + + [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 TalentGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TalentGroup(TalentGroup other) : this() { + id_ = other.id_; + charId_ = other.charId_; + preGroup_ = other.preGroup_; + nodeLimit_ = other.nodeLimit_; + title_ = other.title_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TalentGroup Clone() { + return new TalentGroup(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 2; + 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 "PreGroup" field.</summary> + public const int PreGroupFieldNumber = 3; + private int preGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreGroup { + get { return preGroup_; } + set { + preGroup_ = value; + } + } + + /// <summary>Field number for the "NodeLimit" field.</summary> + public const int NodeLimitFieldNumber = 4; + private int nodeLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NodeLimit { + get { return nodeLimit_; } + set { + nodeLimit_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 5; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = 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 TalentGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TalentGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CharId != other.CharId) return false; + if (PreGroup != other.PreGroup) return false; + if (NodeLimit != other.NodeLimit) return false; + if (Title != other.Title) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (PreGroup != 0) hash ^= PreGroup.GetHashCode(); + if (NodeLimit != 0) hash ^= NodeLimit.GetHashCode(); + if (Title.Length != 0) hash ^= Title.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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (PreGroup != 0) { + output.WriteRawTag(24); + output.WriteInt32(PreGroup); + } + if (NodeLimit != 0) { + output.WriteRawTag(32); + output.WriteInt32(NodeLimit); + } + if (Title.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Title); + } + 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 (CharId != 0) { + output.WriteRawTag(16); + output.WriteInt32(CharId); + } + if (PreGroup != 0) { + output.WriteRawTag(24); + output.WriteInt32(PreGroup); + } + if (NodeLimit != 0) { + output.WriteRawTag(32); + output.WriteInt32(NodeLimit); + } + if (Title.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Title); + } + 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 (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (PreGroup != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreGroup); + } + if (NodeLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NodeLimit); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TalentGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.PreGroup != 0) { + PreGroup = other.PreGroup; + } + if (other.NodeLimit != 0) { + NodeLimit = other.NodeLimit; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + _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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + PreGroup = input.ReadInt32(); + break; + } + case 32: { + NodeLimit = input.ReadInt32(); + break; + } + case 42: { + Title = 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: { + CharId = input.ReadInt32(); + break; + } + case 24: { + PreGroup = input.ReadInt32(); + break; + } + case 32: { + NodeLimit = input.ReadInt32(); + break; + } + case 42: { + Title = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TalentGroup : pb::IMessage<table_TalentGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TalentGroup> _parser = new pb::MessageParser<table_TalentGroup>(() => new table_TalentGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TalentGroup> 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.ClientTableReflection.Descriptor.MessageTypes[457]; } + } + + [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 table_TalentGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TalentGroup(table_TalentGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TalentGroup Clone() { + return new table_TalentGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TalentGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TalentGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TalentGroup> list_ = new pbc::RepeatedField<global::Nova.Client.TalentGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TalentGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TalentGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TalentGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TalentGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Title : pb::IMessage<Title> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Title> _parser = new pb::MessageParser<Title>(() => new Title()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Title> 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.ClientTableReflection.Descriptor.MessageTypes[458]; } + } + + [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 Title() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Title(Title other) : this() { + id_ = other.id_; + itemId_ = other.itemId_; + titleType_ = other.titleType_; + desc_ = other.desc_; + sort_ = other.sort_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Title Clone() { + return new Title(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 "ItemId" field.</summary> + public const int ItemIdFieldNumber = 2; + private int itemId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ItemId { + get { return itemId_; } + set { + itemId_ = value; + } + } + + /// <summary>Field number for the "TitleType" field.</summary> + public const int TitleTypeFieldNumber = 3; + private int titleType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TitleType { + get { return titleType_; } + set { + titleType_ = value; + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "Sort" field.</summary> + public const int SortFieldNumber = 5; + private int sort_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sort { + get { return sort_; } + set { + sort_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Title); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Title other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (ItemId != other.ItemId) return false; + if (TitleType != other.TitleType) return false; + if (Desc != other.Desc) return false; + if (Sort != other.Sort) 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 (ItemId != 0) hash ^= ItemId.GetHashCode(); + if (TitleType != 0) hash ^= TitleType.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Sort != 0) hash ^= Sort.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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (TitleType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TitleType); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + 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 (ItemId != 0) { + output.WriteRawTag(16); + output.WriteInt32(ItemId); + } + if (TitleType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TitleType); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (Sort != 0) { + output.WriteRawTag(40); + output.WriteInt32(Sort); + } + 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 (ItemId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemId); + } + if (TitleType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TitleType); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Sort != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Sort); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Title other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.ItemId != 0) { + ItemId = other.ItemId; + } + if (other.TitleType != 0) { + TitleType = other.TitleType; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Sort != 0) { + Sort = other.Sort; + } + _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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + TitleType = input.ReadInt32(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Sort = 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: { + ItemId = input.ReadInt32(); + break; + } + case 24: { + TitleType = input.ReadInt32(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + Sort = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Title : pb::IMessage<table_Title> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Title> _parser = new pb::MessageParser<table_Title>(() => new table_Title()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Title> 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.ClientTableReflection.Descriptor.MessageTypes[459]; } + } + + [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 table_Title() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Title(table_Title other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Title Clone() { + return new table_Title(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Title> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Title.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Title> list_ = new pbc::RepeatedField<global::Nova.Client.Title>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Title> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Title); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Title other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Title other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TopBar : pb::IMessage<TopBar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TopBar> _parser = new pb::MessageParser<TopBar>(() => new TopBar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TopBar> 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.ClientTableReflection.Descriptor.MessageTypes[460]; } + } + + [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 TopBar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TopBar(TopBar other) : this() { + id_ = other.id_; + title_ = other.title_; + entryId_ = other.entryId_; + hideBack_ = other.hideBack_; + energy_ = other.energy_; + coin_ = other.coin_; + coinIds_ = other.coinIds_.Clone(); + hideCoinAdd_ = other.hideCoinAdd_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TopBar Clone() { + return new TopBar(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EntryId" field.</summary> + public const int EntryIdFieldNumber = 3; + private int entryId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EntryId { + get { return entryId_; } + set { + entryId_ = value; + } + } + + /// <summary>Field number for the "HideBack" field.</summary> + public const int HideBackFieldNumber = 4; + private bool hideBack_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HideBack { + get { return hideBack_; } + set { + hideBack_ = value; + } + } + + /// <summary>Field number for the "Energy" field.</summary> + public const int EnergyFieldNumber = 5; + private bool energy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Energy { + get { return energy_; } + set { + energy_ = value; + } + } + + /// <summary>Field number for the "Coin" field.</summary> + public const int CoinFieldNumber = 6; + private bool coin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Coin { + get { return coin_; } + set { + coin_ = value; + } + } + + /// <summary>Field number for the "CoinIds" field.</summary> + public const int CoinIdsFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_coinIds_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> coinIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> CoinIds { + get { return coinIds_; } + } + + /// <summary>Field number for the "HideCoinAdd" field.</summary> + public const int HideCoinAddFieldNumber = 8; + private bool hideCoinAdd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HideCoinAdd { + get { return hideCoinAdd_; } + set { + hideCoinAdd_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TopBar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TopBar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (EntryId != other.EntryId) return false; + if (HideBack != other.HideBack) return false; + if (Energy != other.Energy) return false; + if (Coin != other.Coin) return false; + if(!coinIds_.Equals(other.coinIds_)) return false; + if (HideCoinAdd != other.HideCoinAdd) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (EntryId != 0) hash ^= EntryId.GetHashCode(); + if (HideBack != false) hash ^= HideBack.GetHashCode(); + if (Energy != false) hash ^= Energy.GetHashCode(); + if (Coin != false) hash ^= Coin.GetHashCode(); + hash ^= coinIds_.GetHashCode(); + if (HideCoinAdd != false) hash ^= HideCoinAdd.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (EntryId != 0) { + output.WriteRawTag(24); + output.WriteInt32(EntryId); + } + if (HideBack != false) { + output.WriteRawTag(32); + output.WriteBool(HideBack); + } + if (Energy != false) { + output.WriteRawTag(40); + output.WriteBool(Energy); + } + if (Coin != false) { + output.WriteRawTag(48); + output.WriteBool(Coin); + } + coinIds_.WriteTo(output, _repeated_coinIds_codec); + if (HideCoinAdd != false) { + output.WriteRawTag(64); + output.WriteBool(HideCoinAdd); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (EntryId != 0) { + output.WriteRawTag(24); + output.WriteInt32(EntryId); + } + if (HideBack != false) { + output.WriteRawTag(32); + output.WriteBool(HideBack); + } + if (Energy != false) { + output.WriteRawTag(40); + output.WriteBool(Energy); + } + if (Coin != false) { + output.WriteRawTag(48); + output.WriteBool(Coin); + } + coinIds_.WriteTo(ref output, _repeated_coinIds_codec); + if (HideCoinAdd != false) { + output.WriteRawTag(64); + output.WriteBool(HideCoinAdd); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (EntryId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EntryId); + } + if (HideBack != false) { + size += 1 + 1; + } + if (Energy != false) { + size += 1 + 1; + } + if (Coin != false) { + size += 1 + 1; + } + size += coinIds_.CalculateSize(_repeated_coinIds_codec); + if (HideCoinAdd != 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(TopBar other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.EntryId != 0) { + EntryId = other.EntryId; + } + if (other.HideBack != false) { + HideBack = other.HideBack; + } + if (other.Energy != false) { + Energy = other.Energy; + } + if (other.Coin != false) { + Coin = other.Coin; + } + coinIds_.Add(other.coinIds_); + if (other.HideCoinAdd != false) { + HideCoinAdd = other.HideCoinAdd; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 24: { + EntryId = input.ReadInt32(); + break; + } + case 32: { + HideBack = input.ReadBool(); + break; + } + case 40: { + Energy = input.ReadBool(); + break; + } + case 48: { + Coin = input.ReadBool(); + break; + } + case 58: + case 56: { + coinIds_.AddEntriesFrom(input, _repeated_coinIds_codec); + break; + } + case 64: { + HideCoinAdd = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Title = input.ReadString(); + break; + } + case 24: { + EntryId = input.ReadInt32(); + break; + } + case 32: { + HideBack = input.ReadBool(); + break; + } + case 40: { + Energy = input.ReadBool(); + break; + } + case 48: { + Coin = input.ReadBool(); + break; + } + case 58: + case 56: { + coinIds_.AddEntriesFrom(ref input, _repeated_coinIds_codec); + break; + } + case 64: { + HideCoinAdd = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TopBar : pb::IMessage<table_TopBar> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TopBar> _parser = new pb::MessageParser<table_TopBar>(() => new table_TopBar()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TopBar> 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.ClientTableReflection.Descriptor.MessageTypes[461]; } + } + + [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 table_TopBar() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TopBar(table_TopBar other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TopBar Clone() { + return new table_TopBar(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TopBar> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TopBar.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TopBar> list_ = new pbc::RepeatedField<global::Nova.Client.TopBar>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TopBar> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TopBar); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TopBar other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TopBar other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TourGuideQuest : pb::IMessage<TourGuideQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TourGuideQuest> _parser = new pb::MessageParser<TourGuideQuest>(() => new TourGuideQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TourGuideQuest> 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.ClientTableReflection.Descriptor.MessageTypes[462]; } + } + + [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 TourGuideQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuest(TourGuideQuest other) : this() { + id_ = other.id_; + order_ = other.order_; + title_ = other.title_; + jumpTo_ = other.jumpTo_; + reward1_ = other.reward1_; + rewardQty1_ = other.rewardQty1_; + reward2_ = other.reward2_; + rewardQty2_ = other.rewardQty2_; + reward3_ = other.reward3_; + rewardQty3_ = other.rewardQty3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuest Clone() { + return new TourGuideQuest(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 "Order" field.</summary> + public const int OrderFieldNumber = 2; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "JumpTo" field.</summary> + public const int JumpToFieldNumber = 4; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Reward1" field.</summary> + public const int Reward1FieldNumber = 5; + private int reward1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward1 { + get { return reward1_; } + set { + reward1_ = value; + } + } + + /// <summary>Field number for the "RewardQty1" field.</summary> + public const int RewardQty1FieldNumber = 6; + private int rewardQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty1 { + get { return rewardQty1_; } + set { + rewardQty1_ = value; + } + } + + /// <summary>Field number for the "Reward2" field.</summary> + public const int Reward2FieldNumber = 7; + private int reward2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward2 { + get { return reward2_; } + set { + reward2_ = value; + } + } + + /// <summary>Field number for the "RewardQty2" field.</summary> + public const int RewardQty2FieldNumber = 8; + private int rewardQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty2 { + get { return rewardQty2_; } + set { + rewardQty2_ = value; + } + } + + /// <summary>Field number for the "Reward3" field.</summary> + public const int Reward3FieldNumber = 9; + private int reward3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward3 { + get { return reward3_; } + set { + reward3_ = value; + } + } + + /// <summary>Field number for the "RewardQty3" field.</summary> + public const int RewardQty3FieldNumber = 10; + private int rewardQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty3 { + get { return rewardQty3_; } + set { + rewardQty3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TourGuideQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TourGuideQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Order != other.Order) return false; + if (Title != other.Title) return false; + if (JumpTo != other.JumpTo) return false; + if (Reward1 != other.Reward1) return false; + if (RewardQty1 != other.RewardQty1) return false; + if (Reward2 != other.Reward2) return false; + if (RewardQty2 != other.RewardQty2) return false; + if (Reward3 != other.Reward3) return false; + if (RewardQty3 != other.RewardQty3) 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 (Order != 0) hash ^= Order.GetHashCode(); + if (Title.Length != 0) hash ^= Title.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Reward1 != 0) hash ^= Reward1.GetHashCode(); + if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); + if (Reward2 != 0) hash ^= Reward2.GetHashCode(); + if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); + if (Reward3 != 0) hash ^= Reward3.GetHashCode(); + if (RewardQty3 != 0) hash ^= RewardQty3.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 (Order != 0) { + output.WriteRawTag(16); + output.WriteInt32(Order); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Reward1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardQty3); + } + 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 (Order != 0) { + output.WriteRawTag(16); + output.WriteInt32(Order); + } + if (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Reward1 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(48); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(64); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardQty3); + } + 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 (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Reward1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); + } + if (RewardQty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); + } + if (Reward2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); + } + if (RewardQty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); + } + if (Reward3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); + } + if (RewardQty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TourGuideQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Reward1 != 0) { + Reward1 = other.Reward1; + } + if (other.RewardQty1 != 0) { + RewardQty1 = other.RewardQty1; + } + if (other.Reward2 != 0) { + Reward2 = other.Reward2; + } + if (other.RewardQty2 != 0) { + RewardQty2 = other.RewardQty2; + } + if (other.Reward3 != 0) { + Reward3 = other.Reward3; + } + if (other.RewardQty3 != 0) { + RewardQty3 = other.RewardQty3; + } + _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: { + Order = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Reward1 = input.ReadInt32(); + break; + } + case 48: { + RewardQty1 = input.ReadInt32(); + break; + } + case 56: { + Reward2 = input.ReadInt32(); + break; + } + case 64: { + RewardQty2 = input.ReadInt32(); + break; + } + case 72: { + Reward3 = input.ReadInt32(); + break; + } + case 80: { + RewardQty3 = 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: { + Order = input.ReadInt32(); + break; + } + case 26: { + Title = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Reward1 = input.ReadInt32(); + break; + } + case 48: { + RewardQty1 = input.ReadInt32(); + break; + } + case 56: { + Reward2 = input.ReadInt32(); + break; + } + case 64: { + RewardQty2 = input.ReadInt32(); + break; + } + case 72: { + Reward3 = input.ReadInt32(); + break; + } + case 80: { + RewardQty3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TourGuideQuest : pb::IMessage<table_TourGuideQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TourGuideQuest> _parser = new pb::MessageParser<table_TourGuideQuest>(() => new table_TourGuideQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TourGuideQuest> 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.ClientTableReflection.Descriptor.MessageTypes[463]; } + } + + [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 table_TourGuideQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TourGuideQuest(table_TourGuideQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TourGuideQuest Clone() { + return new table_TourGuideQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TourGuideQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TourGuideQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TourGuideQuest> list_ = new pbc::RepeatedField<global::Nova.Client.TourGuideQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TourGuideQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TourGuideQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TourGuideQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TourGuideQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TourGuideQuestGroup : pb::IMessage<TourGuideQuestGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TourGuideQuestGroup> _parser = new pb::MessageParser<TourGuideQuestGroup>(() => new TourGuideQuestGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TourGuideQuestGroup> 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.ClientTableReflection.Descriptor.MessageTypes[464]; } + } + + [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 TourGuideQuestGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuestGroup(TourGuideQuestGroup other) : this() { + id_ = other.id_; + order_ = other.order_; + reward1_ = other.reward1_; + rewardQty1_ = other.rewardQty1_; + reward2_ = other.reward2_; + rewardQty2_ = other.rewardQty2_; + reward3_ = other.reward3_; + rewardQty3_ = other.rewardQty3_; + reward4_ = other.reward4_; + rewardQty4_ = other.rewardQty4_; + reward5_ = other.reward5_; + rewardQty5_ = other.rewardQty5_; + reward6_ = other.reward6_; + rewardQty6_ = other.rewardQty6_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TourGuideQuestGroup Clone() { + return new TourGuideQuestGroup(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 "Order" field.</summary> + public const int OrderFieldNumber = 2; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "Reward1" field.</summary> + public const int Reward1FieldNumber = 3; + private int reward1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward1 { + get { return reward1_; } + set { + reward1_ = value; + } + } + + /// <summary>Field number for the "RewardQty1" field.</summary> + public const int RewardQty1FieldNumber = 4; + private int rewardQty1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty1 { + get { return rewardQty1_; } + set { + rewardQty1_ = value; + } + } + + /// <summary>Field number for the "Reward2" field.</summary> + public const int Reward2FieldNumber = 5; + private int reward2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward2 { + get { return reward2_; } + set { + reward2_ = value; + } + } + + /// <summary>Field number for the "RewardQty2" field.</summary> + public const int RewardQty2FieldNumber = 6; + private int rewardQty2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty2 { + get { return rewardQty2_; } + set { + rewardQty2_ = value; + } + } + + /// <summary>Field number for the "Reward3" field.</summary> + public const int Reward3FieldNumber = 7; + private int reward3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward3 { + get { return reward3_; } + set { + reward3_ = value; + } + } + + /// <summary>Field number for the "RewardQty3" field.</summary> + public const int RewardQty3FieldNumber = 8; + private int rewardQty3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty3 { + get { return rewardQty3_; } + set { + rewardQty3_ = value; + } + } + + /// <summary>Field number for the "Reward4" field.</summary> + public const int Reward4FieldNumber = 9; + private int reward4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward4 { + get { return reward4_; } + set { + reward4_ = value; + } + } + + /// <summary>Field number for the "RewardQty4" field.</summary> + public const int RewardQty4FieldNumber = 10; + private int rewardQty4_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty4 { + get { return rewardQty4_; } + set { + rewardQty4_ = value; + } + } + + /// <summary>Field number for the "Reward5" field.</summary> + public const int Reward5FieldNumber = 11; + private int reward5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward5 { + get { return reward5_; } + set { + reward5_ = value; + } + } + + /// <summary>Field number for the "RewardQty5" field.</summary> + public const int RewardQty5FieldNumber = 12; + private int rewardQty5_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty5 { + get { return rewardQty5_; } + set { + rewardQty5_ = value; + } + } + + /// <summary>Field number for the "Reward6" field.</summary> + public const int Reward6FieldNumber = 13; + private int reward6_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Reward6 { + get { return reward6_; } + set { + reward6_ = value; + } + } + + /// <summary>Field number for the "RewardQty6" field.</summary> + public const int RewardQty6FieldNumber = 14; + private int rewardQty6_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardQty6 { + get { return rewardQty6_; } + set { + rewardQty6_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TourGuideQuestGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TourGuideQuestGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Order != other.Order) return false; + if (Reward1 != other.Reward1) return false; + if (RewardQty1 != other.RewardQty1) return false; + if (Reward2 != other.Reward2) return false; + if (RewardQty2 != other.RewardQty2) return false; + if (Reward3 != other.Reward3) return false; + if (RewardQty3 != other.RewardQty3) return false; + if (Reward4 != other.Reward4) return false; + if (RewardQty4 != other.RewardQty4) return false; + if (Reward5 != other.Reward5) return false; + if (RewardQty5 != other.RewardQty5) return false; + if (Reward6 != other.Reward6) return false; + if (RewardQty6 != other.RewardQty6) 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 (Order != 0) hash ^= Order.GetHashCode(); + if (Reward1 != 0) hash ^= Reward1.GetHashCode(); + if (RewardQty1 != 0) hash ^= RewardQty1.GetHashCode(); + if (Reward2 != 0) hash ^= Reward2.GetHashCode(); + if (RewardQty2 != 0) hash ^= RewardQty2.GetHashCode(); + if (Reward3 != 0) hash ^= Reward3.GetHashCode(); + if (RewardQty3 != 0) hash ^= RewardQty3.GetHashCode(); + if (Reward4 != 0) hash ^= Reward4.GetHashCode(); + if (RewardQty4 != 0) hash ^= RewardQty4.GetHashCode(); + if (Reward5 != 0) hash ^= Reward5.GetHashCode(); + if (RewardQty5 != 0) hash ^= RewardQty5.GetHashCode(); + if (Reward6 != 0) hash ^= Reward6.GetHashCode(); + if (RewardQty6 != 0) hash ^= RewardQty6.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 (Order != 0) { + output.WriteRawTag(16); + output.WriteInt32(Order); + } + if (Reward1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(RewardQty3); + } + if (Reward4 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Reward4); + } + if (RewardQty4 != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardQty4); + } + if (Reward5 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Reward5); + } + if (RewardQty5 != 0) { + output.WriteRawTag(96); + output.WriteInt32(RewardQty5); + } + if (Reward6 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Reward6); + } + if (RewardQty6 != 0) { + output.WriteRawTag(112); + output.WriteInt32(RewardQty6); + } + 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 (Order != 0) { + output.WriteRawTag(16); + output.WriteInt32(Order); + } + if (Reward1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(Reward1); + } + if (RewardQty1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(RewardQty1); + } + if (Reward2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(Reward2); + } + if (RewardQty2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(RewardQty2); + } + if (Reward3 != 0) { + output.WriteRawTag(56); + output.WriteInt32(Reward3); + } + if (RewardQty3 != 0) { + output.WriteRawTag(64); + output.WriteInt32(RewardQty3); + } + if (Reward4 != 0) { + output.WriteRawTag(72); + output.WriteInt32(Reward4); + } + if (RewardQty4 != 0) { + output.WriteRawTag(80); + output.WriteInt32(RewardQty4); + } + if (Reward5 != 0) { + output.WriteRawTag(88); + output.WriteInt32(Reward5); + } + if (RewardQty5 != 0) { + output.WriteRawTag(96); + output.WriteInt32(RewardQty5); + } + if (Reward6 != 0) { + output.WriteRawTag(104); + output.WriteInt32(Reward6); + } + if (RewardQty6 != 0) { + output.WriteRawTag(112); + output.WriteInt32(RewardQty6); + } + 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 (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (Reward1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward1); + } + if (RewardQty1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty1); + } + if (Reward2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward2); + } + if (RewardQty2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty2); + } + if (Reward3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward3); + } + if (RewardQty3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty3); + } + if (Reward4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward4); + } + if (RewardQty4 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty4); + } + if (Reward5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward5); + } + if (RewardQty5 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty5); + } + if (Reward6 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Reward6); + } + if (RewardQty6 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardQty6); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TourGuideQuestGroup other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.Reward1 != 0) { + Reward1 = other.Reward1; + } + if (other.RewardQty1 != 0) { + RewardQty1 = other.RewardQty1; + } + if (other.Reward2 != 0) { + Reward2 = other.Reward2; + } + if (other.RewardQty2 != 0) { + RewardQty2 = other.RewardQty2; + } + if (other.Reward3 != 0) { + Reward3 = other.Reward3; + } + if (other.RewardQty3 != 0) { + RewardQty3 = other.RewardQty3; + } + if (other.Reward4 != 0) { + Reward4 = other.Reward4; + } + if (other.RewardQty4 != 0) { + RewardQty4 = other.RewardQty4; + } + if (other.Reward5 != 0) { + Reward5 = other.Reward5; + } + if (other.RewardQty5 != 0) { + RewardQty5 = other.RewardQty5; + } + if (other.Reward6 != 0) { + Reward6 = other.Reward6; + } + if (other.RewardQty6 != 0) { + RewardQty6 = other.RewardQty6; + } + _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: { + Order = input.ReadInt32(); + break; + } + case 24: { + Reward1 = input.ReadInt32(); + break; + } + case 32: { + RewardQty1 = input.ReadInt32(); + break; + } + case 40: { + Reward2 = input.ReadInt32(); + break; + } + case 48: { + RewardQty2 = input.ReadInt32(); + break; + } + case 56: { + Reward3 = input.ReadInt32(); + break; + } + case 64: { + RewardQty3 = input.ReadInt32(); + break; + } + case 72: { + Reward4 = input.ReadInt32(); + break; + } + case 80: { + RewardQty4 = input.ReadInt32(); + break; + } + case 88: { + Reward5 = input.ReadInt32(); + break; + } + case 96: { + RewardQty5 = input.ReadInt32(); + break; + } + case 104: { + Reward6 = input.ReadInt32(); + break; + } + case 112: { + RewardQty6 = 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: { + Order = input.ReadInt32(); + break; + } + case 24: { + Reward1 = input.ReadInt32(); + break; + } + case 32: { + RewardQty1 = input.ReadInt32(); + break; + } + case 40: { + Reward2 = input.ReadInt32(); + break; + } + case 48: { + RewardQty2 = input.ReadInt32(); + break; + } + case 56: { + Reward3 = input.ReadInt32(); + break; + } + case 64: { + RewardQty3 = input.ReadInt32(); + break; + } + case 72: { + Reward4 = input.ReadInt32(); + break; + } + case 80: { + RewardQty4 = input.ReadInt32(); + break; + } + case 88: { + Reward5 = input.ReadInt32(); + break; + } + case 96: { + RewardQty5 = input.ReadInt32(); + break; + } + case 104: { + Reward6 = input.ReadInt32(); + break; + } + case 112: { + RewardQty6 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TourGuideQuestGroup : pb::IMessage<table_TourGuideQuestGroup> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TourGuideQuestGroup> _parser = new pb::MessageParser<table_TourGuideQuestGroup>(() => new table_TourGuideQuestGroup()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TourGuideQuestGroup> 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.ClientTableReflection.Descriptor.MessageTypes[465]; } + } + + [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 table_TourGuideQuestGroup() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TourGuideQuestGroup(table_TourGuideQuestGroup other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TourGuideQuestGroup Clone() { + return new table_TourGuideQuestGroup(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TourGuideQuestGroup> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TourGuideQuestGroup.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TourGuideQuestGroup> list_ = new pbc::RepeatedField<global::Nova.Client.TourGuideQuestGroup>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TourGuideQuestGroup> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TourGuideQuestGroup); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TourGuideQuestGroup other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TourGuideQuestGroup other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Trap : pb::IMessage<Trap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Trap> _parser = new pb::MessageParser<Trap>(() => new Trap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Trap> 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.ClientTableReflection.Descriptor.MessageTypes[466]; } + } + + [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 Trap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Trap(Trap other) : this() { + id_ = other.id_; + name_ = other.name_; + fCId_ = other.fCId_; + model_ = other.model_; + modelScale_ = other.modelScale_; + buffFXScale_ = other.buffFXScale_; + colliderScale_ = other.colliderScale_; + attributeId_ = other.attributeId_; + templete_ = other.templete_; + buffIds_ = other.buffIds_.Clone(); + turnOffBuffIds_ = other.turnOffBuffIds_.Clone(); + turnOnBuffIds_ = other.turnOnBuffIds_.Clone(); + interruptSkill_ = other.interruptSkill_; + subType_ = other.subType_; + faction_ = other.faction_; + filter_ = other.filter_.Clone(); + ignoreCollision_ = other.ignoreCollision_; + activeEff_ = other.activeEff_; + shapeType_ = other.shapeType_; + width_ = other.width_; + length_ = other.length_; + radius_ = other.radius_; + innerRadius_ = other.innerRadius_; + angle_ = other.angle_; + offset_ = other.offset_.Clone(); + rotation_ = other.rotation_; + isMove_ = other.isMove_; + isBlock_ = other.isBlock_; + movAcc_ = other.movAcc_; + rotSpd_ = other.rotSpd_; + moveSpd_ = other.moveSpd_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Trap Clone() { + return new Trap(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 "FCId" field.</summary> + public const int FCIdFieldNumber = 3; + private int fCId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FCId { + get { return fCId_; } + set { + fCId_ = value; + } + } + + /// <summary>Field number for the "Model" field.</summary> + public const int ModelFieldNumber = 4; + private string model_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Model { + get { return model_; } + set { + model_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ModelScale" field.</summary> + public const int ModelScaleFieldNumber = 5; + private int modelScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ModelScale { + get { return modelScale_; } + set { + modelScale_ = value; + } + } + + /// <summary>Field number for the "BuffFXScale" field.</summary> + public const int BuffFXScaleFieldNumber = 6; + private int buffFXScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BuffFXScale { + get { return buffFXScale_; } + set { + buffFXScale_ = value; + } + } + + /// <summary>Field number for the "ColliderScale" field.</summary> + public const int ColliderScaleFieldNumber = 7; + private int colliderScale_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ColliderScale { + get { return colliderScale_; } + set { + colliderScale_ = value; + } + } + + /// <summary>Field number for the "AttributeId" field.</summary> + public const int AttributeIdFieldNumber = 8; + private string attributeId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AttributeId { + get { return attributeId_; } + set { + attributeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Templete" field.</summary> + public const int TempleteFieldNumber = 9; + private int templete_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Templete { + get { return templete_; } + set { + templete_ = value; + } + } + + /// <summary>Field number for the "BuffIds" field.</summary> + public const int BuffIdsFieldNumber = 10; + private static readonly pb::FieldCodec<int> _repeated_buffIds_codec + = pb::FieldCodec.ForInt32(82); + private readonly pbc::RepeatedField<int> buffIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> BuffIds { + get { return buffIds_; } + } + + /// <summary>Field number for the "TurnOffBuffIds" field.</summary> + public const int TurnOffBuffIdsFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_turnOffBuffIds_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> turnOffBuffIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TurnOffBuffIds { + get { return turnOffBuffIds_; } + } + + /// <summary>Field number for the "TurnOnBuffIds" field.</summary> + public const int TurnOnBuffIdsFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_turnOnBuffIds_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> turnOnBuffIds_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TurnOnBuffIds { + get { return turnOnBuffIds_; } + } + + /// <summary>Field number for the "InterruptSkill" field.</summary> + public const int InterruptSkillFieldNumber = 13; + private bool interruptSkill_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool InterruptSkill { + get { return interruptSkill_; } + set { + interruptSkill_ = value; + } + } + + /// <summary>Field number for the "SubType" field.</summary> + public const int SubTypeFieldNumber = 14; + private int subType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SubType { + get { return subType_; } + set { + subType_ = value; + } + } + + /// <summary>Field number for the "Faction" field.</summary> + public const int FactionFieldNumber = 15; + private int faction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Faction { + get { return faction_; } + set { + faction_ = value; + } + } + + /// <summary>Field number for the "Filter" field.</summary> + public const int FilterFieldNumber = 16; + private static readonly pb::FieldCodec<int> _repeated_filter_codec + = pb::FieldCodec.ForInt32(130); + private readonly pbc::RepeatedField<int> filter_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Filter { + get { return filter_; } + } + + /// <summary>Field number for the "IgnoreCollision" field.</summary> + public const int IgnoreCollisionFieldNumber = 17; + private bool ignoreCollision_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IgnoreCollision { + get { return ignoreCollision_; } + set { + ignoreCollision_ = value; + } + } + + /// <summary>Field number for the "ActiveEff" field.</summary> + public const int ActiveEffFieldNumber = 18; + private string activeEff_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActiveEff { + get { return activeEff_; } + set { + activeEff_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ShapeType" field.</summary> + public const int ShapeTypeFieldNumber = 19; + private int shapeType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ShapeType { + get { return shapeType_; } + set { + shapeType_ = value; + } + } + + /// <summary>Field number for the "width" field.</summary> + public const int WidthFieldNumber = 20; + private float width_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Width { + get { return width_; } + set { + width_ = value; + } + } + + /// <summary>Field number for the "length" field.</summary> + public const int LengthFieldNumber = 21; + private float length_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Length { + get { return length_; } + set { + length_ = value; + } + } + + /// <summary>Field number for the "radius" field.</summary> + public const int RadiusFieldNumber = 22; + private float radius_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Radius { + get { return radius_; } + set { + radius_ = value; + } + } + + /// <summary>Field number for the "innerRadius" field.</summary> + public const int InnerRadiusFieldNumber = 23; + private float innerRadius_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float InnerRadius { + get { return innerRadius_; } + set { + innerRadius_ = value; + } + } + + /// <summary>Field number for the "angle" field.</summary> + public const int AngleFieldNumber = 24; + private float angle_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Angle { + get { return angle_; } + set { + angle_ = value; + } + } + + /// <summary>Field number for the "offset" field.</summary> + public const int OffsetFieldNumber = 25; + private static readonly pb::FieldCodec<float> _repeated_offset_codec + = pb::FieldCodec.ForFloat(202); + private readonly pbc::RepeatedField<float> offset_ = new pbc::RepeatedField<float>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<float> Offset { + get { return offset_; } + } + + /// <summary>Field number for the "rotation" field.</summary> + public const int RotationFieldNumber = 26; + private float rotation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Rotation { + get { return rotation_; } + set { + rotation_ = value; + } + } + + /// <summary>Field number for the "isMove" field.</summary> + public const int IsMoveFieldNumber = 27; + private bool isMove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsMove { + get { return isMove_; } + set { + isMove_ = value; + } + } + + /// <summary>Field number for the "isBlock" field.</summary> + public const int IsBlockFieldNumber = 28; + private bool isBlock_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsBlock { + get { return isBlock_; } + set { + isBlock_ = value; + } + } + + /// <summary>Field number for the "MovAcc" field.</summary> + public const int MovAccFieldNumber = 29; + private int movAcc_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MovAcc { + get { return movAcc_; } + set { + movAcc_ = value; + } + } + + /// <summary>Field number for the "RotSpd" field.</summary> + public const int RotSpdFieldNumber = 30; + private int rotSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RotSpd { + get { return rotSpd_; } + set { + rotSpd_ = value; + } + } + + /// <summary>Field number for the "MoveSpd" field.</summary> + public const int MoveSpdFieldNumber = 31; + private int moveSpd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MoveSpd { + get { return moveSpd_; } + set { + moveSpd_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Trap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Trap 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 (FCId != other.FCId) return false; + if (Model != other.Model) return false; + if (ModelScale != other.ModelScale) return false; + if (BuffFXScale != other.BuffFXScale) return false; + if (ColliderScale != other.ColliderScale) return false; + if (AttributeId != other.AttributeId) return false; + if (Templete != other.Templete) return false; + if(!buffIds_.Equals(other.buffIds_)) return false; + if(!turnOffBuffIds_.Equals(other.turnOffBuffIds_)) return false; + if(!turnOnBuffIds_.Equals(other.turnOnBuffIds_)) return false; + if (InterruptSkill != other.InterruptSkill) return false; + if (SubType != other.SubType) return false; + if (Faction != other.Faction) return false; + if(!filter_.Equals(other.filter_)) return false; + if (IgnoreCollision != other.IgnoreCollision) return false; + if (ActiveEff != other.ActiveEff) return false; + if (ShapeType != other.ShapeType) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Length, other.Length)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Radius, other.Radius)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(InnerRadius, other.InnerRadius)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Angle, other.Angle)) return false; + if(!offset_.Equals(other.offset_)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Rotation, other.Rotation)) return false; + if (IsMove != other.IsMove) return false; + if (IsBlock != other.IsBlock) return false; + if (MovAcc != other.MovAcc) return false; + if (RotSpd != other.RotSpd) return false; + if (MoveSpd != other.MoveSpd) 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 (FCId != 0) hash ^= FCId.GetHashCode(); + if (Model.Length != 0) hash ^= Model.GetHashCode(); + if (ModelScale != 0) hash ^= ModelScale.GetHashCode(); + if (BuffFXScale != 0) hash ^= BuffFXScale.GetHashCode(); + if (ColliderScale != 0) hash ^= ColliderScale.GetHashCode(); + if (AttributeId.Length != 0) hash ^= AttributeId.GetHashCode(); + if (Templete != 0) hash ^= Templete.GetHashCode(); + hash ^= buffIds_.GetHashCode(); + hash ^= turnOffBuffIds_.GetHashCode(); + hash ^= turnOnBuffIds_.GetHashCode(); + if (InterruptSkill != false) hash ^= InterruptSkill.GetHashCode(); + if (SubType != 0) hash ^= SubType.GetHashCode(); + if (Faction != 0) hash ^= Faction.GetHashCode(); + hash ^= filter_.GetHashCode(); + if (IgnoreCollision != false) hash ^= IgnoreCollision.GetHashCode(); + if (ActiveEff.Length != 0) hash ^= ActiveEff.GetHashCode(); + if (ShapeType != 0) hash ^= ShapeType.GetHashCode(); + if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); + if (Length != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Length); + if (Radius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Radius); + if (InnerRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(InnerRadius); + if (Angle != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Angle); + hash ^= offset_.GetHashCode(); + if (Rotation != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Rotation); + if (IsMove != false) hash ^= IsMove.GetHashCode(); + if (IsBlock != false) hash ^= IsBlock.GetHashCode(); + if (MovAcc != 0) hash ^= MovAcc.GetHashCode(); + if (RotSpd != 0) hash ^= RotSpd.GetHashCode(); + if (MoveSpd != 0) hash ^= MoveSpd.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 (FCId != 0) { + output.WriteRawTag(24); + output.WriteInt32(FCId); + } + if (Model.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Model); + } + if (ModelScale != 0) { + output.WriteRawTag(40); + output.WriteInt32(ModelScale); + } + if (BuffFXScale != 0) { + output.WriteRawTag(48); + output.WriteInt32(BuffFXScale); + } + if (ColliderScale != 0) { + output.WriteRawTag(56); + output.WriteInt32(ColliderScale); + } + if (AttributeId.Length != 0) { + output.WriteRawTag(66); + output.WriteString(AttributeId); + } + if (Templete != 0) { + output.WriteRawTag(72); + output.WriteInt32(Templete); + } + buffIds_.WriteTo(output, _repeated_buffIds_codec); + turnOffBuffIds_.WriteTo(output, _repeated_turnOffBuffIds_codec); + turnOnBuffIds_.WriteTo(output, _repeated_turnOnBuffIds_codec); + if (InterruptSkill != false) { + output.WriteRawTag(104); + output.WriteBool(InterruptSkill); + } + if (SubType != 0) { + output.WriteRawTag(112); + output.WriteInt32(SubType); + } + if (Faction != 0) { + output.WriteRawTag(120); + output.WriteInt32(Faction); + } + filter_.WriteTo(output, _repeated_filter_codec); + if (IgnoreCollision != false) { + output.WriteRawTag(136, 1); + output.WriteBool(IgnoreCollision); + } + if (ActiveEff.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(ActiveEff); + } + if (ShapeType != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ShapeType); + } + if (Width != 0F) { + output.WriteRawTag(165, 1); + output.WriteFloat(Width); + } + if (Length != 0F) { + output.WriteRawTag(173, 1); + output.WriteFloat(Length); + } + if (Radius != 0F) { + output.WriteRawTag(181, 1); + output.WriteFloat(Radius); + } + if (InnerRadius != 0F) { + output.WriteRawTag(189, 1); + output.WriteFloat(InnerRadius); + } + if (Angle != 0F) { + output.WriteRawTag(197, 1); + output.WriteFloat(Angle); + } + offset_.WriteTo(output, _repeated_offset_codec); + if (Rotation != 0F) { + output.WriteRawTag(213, 1); + output.WriteFloat(Rotation); + } + if (IsMove != false) { + output.WriteRawTag(216, 1); + output.WriteBool(IsMove); + } + if (IsBlock != false) { + output.WriteRawTag(224, 1); + output.WriteBool(IsBlock); + } + if (MovAcc != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(MovAcc); + } + if (RotSpd != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(RotSpd); + } + if (MoveSpd != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(MoveSpd); + } + 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 (FCId != 0) { + output.WriteRawTag(24); + output.WriteInt32(FCId); + } + if (Model.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Model); + } + if (ModelScale != 0) { + output.WriteRawTag(40); + output.WriteInt32(ModelScale); + } + if (BuffFXScale != 0) { + output.WriteRawTag(48); + output.WriteInt32(BuffFXScale); + } + if (ColliderScale != 0) { + output.WriteRawTag(56); + output.WriteInt32(ColliderScale); + } + if (AttributeId.Length != 0) { + output.WriteRawTag(66); + output.WriteString(AttributeId); + } + if (Templete != 0) { + output.WriteRawTag(72); + output.WriteInt32(Templete); + } + buffIds_.WriteTo(ref output, _repeated_buffIds_codec); + turnOffBuffIds_.WriteTo(ref output, _repeated_turnOffBuffIds_codec); + turnOnBuffIds_.WriteTo(ref output, _repeated_turnOnBuffIds_codec); + if (InterruptSkill != false) { + output.WriteRawTag(104); + output.WriteBool(InterruptSkill); + } + if (SubType != 0) { + output.WriteRawTag(112); + output.WriteInt32(SubType); + } + if (Faction != 0) { + output.WriteRawTag(120); + output.WriteInt32(Faction); + } + filter_.WriteTo(ref output, _repeated_filter_codec); + if (IgnoreCollision != false) { + output.WriteRawTag(136, 1); + output.WriteBool(IgnoreCollision); + } + if (ActiveEff.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(ActiveEff); + } + if (ShapeType != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(ShapeType); + } + if (Width != 0F) { + output.WriteRawTag(165, 1); + output.WriteFloat(Width); + } + if (Length != 0F) { + output.WriteRawTag(173, 1); + output.WriteFloat(Length); + } + if (Radius != 0F) { + output.WriteRawTag(181, 1); + output.WriteFloat(Radius); + } + if (InnerRadius != 0F) { + output.WriteRawTag(189, 1); + output.WriteFloat(InnerRadius); + } + if (Angle != 0F) { + output.WriteRawTag(197, 1); + output.WriteFloat(Angle); + } + offset_.WriteTo(ref output, _repeated_offset_codec); + if (Rotation != 0F) { + output.WriteRawTag(213, 1); + output.WriteFloat(Rotation); + } + if (IsMove != false) { + output.WriteRawTag(216, 1); + output.WriteBool(IsMove); + } + if (IsBlock != false) { + output.WriteRawTag(224, 1); + output.WriteBool(IsBlock); + } + if (MovAcc != 0) { + output.WriteRawTag(232, 1); + output.WriteInt32(MovAcc); + } + if (RotSpd != 0) { + output.WriteRawTag(240, 1); + output.WriteInt32(RotSpd); + } + if (MoveSpd != 0) { + output.WriteRawTag(248, 1); + output.WriteInt32(MoveSpd); + } + 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 (FCId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FCId); + } + if (Model.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Model); + } + if (ModelScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModelScale); + } + if (BuffFXScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BuffFXScale); + } + if (ColliderScale != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ColliderScale); + } + if (AttributeId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeId); + } + if (Templete != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Templete); + } + size += buffIds_.CalculateSize(_repeated_buffIds_codec); + size += turnOffBuffIds_.CalculateSize(_repeated_turnOffBuffIds_codec); + size += turnOnBuffIds_.CalculateSize(_repeated_turnOnBuffIds_codec); + if (InterruptSkill != false) { + size += 1 + 1; + } + if (SubType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubType); + } + if (Faction != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Faction); + } + size += filter_.CalculateSize(_repeated_filter_codec); + if (IgnoreCollision != false) { + size += 2 + 1; + } + if (ActiveEff.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ActiveEff); + } + if (ShapeType != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ShapeType); + } + if (Width != 0F) { + size += 2 + 4; + } + if (Length != 0F) { + size += 2 + 4; + } + if (Radius != 0F) { + size += 2 + 4; + } + if (InnerRadius != 0F) { + size += 2 + 4; + } + if (Angle != 0F) { + size += 2 + 4; + } + size += offset_.CalculateSize(_repeated_offset_codec); + if (Rotation != 0F) { + size += 2 + 4; + } + if (IsMove != false) { + size += 2 + 1; + } + if (IsBlock != false) { + size += 2 + 1; + } + if (MovAcc != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MovAcc); + } + if (RotSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RotSpd); + } + if (MoveSpd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpd); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Trap other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.FCId != 0) { + FCId = other.FCId; + } + if (other.Model.Length != 0) { + Model = other.Model; + } + if (other.ModelScale != 0) { + ModelScale = other.ModelScale; + } + if (other.BuffFXScale != 0) { + BuffFXScale = other.BuffFXScale; + } + if (other.ColliderScale != 0) { + ColliderScale = other.ColliderScale; + } + if (other.AttributeId.Length != 0) { + AttributeId = other.AttributeId; + } + if (other.Templete != 0) { + Templete = other.Templete; + } + buffIds_.Add(other.buffIds_); + turnOffBuffIds_.Add(other.turnOffBuffIds_); + turnOnBuffIds_.Add(other.turnOnBuffIds_); + if (other.InterruptSkill != false) { + InterruptSkill = other.InterruptSkill; + } + if (other.SubType != 0) { + SubType = other.SubType; + } + if (other.Faction != 0) { + Faction = other.Faction; + } + filter_.Add(other.filter_); + if (other.IgnoreCollision != false) { + IgnoreCollision = other.IgnoreCollision; + } + if (other.ActiveEff.Length != 0) { + ActiveEff = other.ActiveEff; + } + if (other.ShapeType != 0) { + ShapeType = other.ShapeType; + } + if (other.Width != 0F) { + Width = other.Width; + } + if (other.Length != 0F) { + Length = other.Length; + } + if (other.Radius != 0F) { + Radius = other.Radius; + } + if (other.InnerRadius != 0F) { + InnerRadius = other.InnerRadius; + } + if (other.Angle != 0F) { + Angle = other.Angle; + } + offset_.Add(other.offset_); + if (other.Rotation != 0F) { + Rotation = other.Rotation; + } + if (other.IsMove != false) { + IsMove = other.IsMove; + } + if (other.IsBlock != false) { + IsBlock = other.IsBlock; + } + if (other.MovAcc != 0) { + MovAcc = other.MovAcc; + } + if (other.RotSpd != 0) { + RotSpd = other.RotSpd; + } + if (other.MoveSpd != 0) { + MoveSpd = other.MoveSpd; + } + _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: { + FCId = input.ReadInt32(); + break; + } + case 34: { + Model = input.ReadString(); + break; + } + case 40: { + ModelScale = input.ReadInt32(); + break; + } + case 48: { + BuffFXScale = input.ReadInt32(); + break; + } + case 56: { + ColliderScale = input.ReadInt32(); + break; + } + case 66: { + AttributeId = input.ReadString(); + break; + } + case 72: { + Templete = input.ReadInt32(); + break; + } + case 82: + case 80: { + buffIds_.AddEntriesFrom(input, _repeated_buffIds_codec); + break; + } + case 90: + case 88: { + turnOffBuffIds_.AddEntriesFrom(input, _repeated_turnOffBuffIds_codec); + break; + } + case 98: + case 96: { + turnOnBuffIds_.AddEntriesFrom(input, _repeated_turnOnBuffIds_codec); + break; + } + case 104: { + InterruptSkill = input.ReadBool(); + break; + } + case 112: { + SubType = input.ReadInt32(); + break; + } + case 120: { + Faction = input.ReadInt32(); + break; + } + case 130: + case 128: { + filter_.AddEntriesFrom(input, _repeated_filter_codec); + break; + } + case 136: { + IgnoreCollision = input.ReadBool(); + break; + } + case 146: { + ActiveEff = input.ReadString(); + break; + } + case 152: { + ShapeType = input.ReadInt32(); + break; + } + case 165: { + Width = input.ReadFloat(); + break; + } + case 173: { + Length = input.ReadFloat(); + break; + } + case 181: { + Radius = input.ReadFloat(); + break; + } + case 189: { + InnerRadius = input.ReadFloat(); + break; + } + case 197: { + Angle = input.ReadFloat(); + break; + } + case 202: + case 205: { + offset_.AddEntriesFrom(input, _repeated_offset_codec); + break; + } + case 213: { + Rotation = input.ReadFloat(); + break; + } + case 216: { + IsMove = input.ReadBool(); + break; + } + case 224: { + IsBlock = input.ReadBool(); + break; + } + case 232: { + MovAcc = input.ReadInt32(); + break; + } + case 240: { + RotSpd = input.ReadInt32(); + break; + } + case 248: { + MoveSpd = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + FCId = input.ReadInt32(); + break; + } + case 34: { + Model = input.ReadString(); + break; + } + case 40: { + ModelScale = input.ReadInt32(); + break; + } + case 48: { + BuffFXScale = input.ReadInt32(); + break; + } + case 56: { + ColliderScale = input.ReadInt32(); + break; + } + case 66: { + AttributeId = input.ReadString(); + break; + } + case 72: { + Templete = input.ReadInt32(); + break; + } + case 82: + case 80: { + buffIds_.AddEntriesFrom(ref input, _repeated_buffIds_codec); + break; + } + case 90: + case 88: { + turnOffBuffIds_.AddEntriesFrom(ref input, _repeated_turnOffBuffIds_codec); + break; + } + case 98: + case 96: { + turnOnBuffIds_.AddEntriesFrom(ref input, _repeated_turnOnBuffIds_codec); + break; + } + case 104: { + InterruptSkill = input.ReadBool(); + break; + } + case 112: { + SubType = input.ReadInt32(); + break; + } + case 120: { + Faction = input.ReadInt32(); + break; + } + case 130: + case 128: { + filter_.AddEntriesFrom(ref input, _repeated_filter_codec); + break; + } + case 136: { + IgnoreCollision = input.ReadBool(); + break; + } + case 146: { + ActiveEff = input.ReadString(); + break; + } + case 152: { + ShapeType = input.ReadInt32(); + break; + } + case 165: { + Width = input.ReadFloat(); + break; + } + case 173: { + Length = input.ReadFloat(); + break; + } + case 181: { + Radius = input.ReadFloat(); + break; + } + case 189: { + InnerRadius = input.ReadFloat(); + break; + } + case 197: { + Angle = input.ReadFloat(); + break; + } + case 202: + case 205: { + offset_.AddEntriesFrom(ref input, _repeated_offset_codec); + break; + } + case 213: { + Rotation = input.ReadFloat(); + break; + } + case 216: { + IsMove = input.ReadBool(); + break; + } + case 224: { + IsBlock = input.ReadBool(); + break; + } + case 232: { + MovAcc = input.ReadInt32(); + break; + } + case 240: { + RotSpd = input.ReadInt32(); + break; + } + case 248: { + MoveSpd = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Trap : pb::IMessage<table_Trap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Trap> _parser = new pb::MessageParser<table_Trap>(() => new table_Trap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Trap> 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.ClientTableReflection.Descriptor.MessageTypes[467]; } + } + + [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 table_Trap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Trap(table_Trap other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Trap Clone() { + return new table_Trap(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Trap> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Trap.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Trap> list_ = new pbc::RepeatedField<global::Nova.Client.Trap>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Trap> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Trap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Trap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Trap other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TrapAttribute : pb::IMessage<TrapAttribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TrapAttribute> _parser = new pb::MessageParser<TrapAttribute>(() => new TrapAttribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TrapAttribute> 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.ClientTableReflection.Descriptor.MessageTypes[468]; } + } + + [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 TrapAttribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrapAttribute(TrapAttribute other) : this() { + id_ = other.id_; + trigger_ = other.trigger_; + triggerIDs_ = other.triggerIDs_.Clone(); + filter_ = other.filter_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrapAttribute Clone() { + return new TrapAttribute(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 "Trigger" field.</summary> + public const int TriggerFieldNumber = 2; + private bool trigger_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Trigger { + get { return trigger_; } + set { + trigger_ = value; + } + } + + /// <summary>Field number for the "TriggerIDs" field.</summary> + public const int TriggerIDsFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_triggerIDs_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> triggerIDs_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TriggerIDs { + get { return triggerIDs_; } + } + + /// <summary>Field number for the "Filter" field.</summary> + public const int FilterFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_filter_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> filter_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Filter { + get { return filter_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TrapAttribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TrapAttribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Trigger != other.Trigger) return false; + if(!triggerIDs_.Equals(other.triggerIDs_)) return false; + if(!filter_.Equals(other.filter_)) 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 (Trigger != false) hash ^= Trigger.GetHashCode(); + hash ^= triggerIDs_.GetHashCode(); + hash ^= filter_.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 (Trigger != false) { + output.WriteRawTag(16); + output.WriteBool(Trigger); + } + triggerIDs_.WriteTo(output, _repeated_triggerIDs_codec); + filter_.WriteTo(output, _repeated_filter_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 (Trigger != false) { + output.WriteRawTag(16); + output.WriteBool(Trigger); + } + triggerIDs_.WriteTo(ref output, _repeated_triggerIDs_codec); + filter_.WriteTo(ref output, _repeated_filter_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 (Trigger != false) { + size += 1 + 1; + } + size += triggerIDs_.CalculateSize(_repeated_triggerIDs_codec); + size += filter_.CalculateSize(_repeated_filter_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TrapAttribute other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Trigger != false) { + Trigger = other.Trigger; + } + triggerIDs_.Add(other.triggerIDs_); + filter_.Add(other.filter_); + _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: { + Trigger = input.ReadBool(); + break; + } + case 26: + case 24: { + triggerIDs_.AddEntriesFrom(input, _repeated_triggerIDs_codec); + break; + } + case 34: + case 32: { + filter_.AddEntriesFrom(input, _repeated_filter_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: { + Trigger = input.ReadBool(); + break; + } + case 26: + case 24: { + triggerIDs_.AddEntriesFrom(ref input, _repeated_triggerIDs_codec); + break; + } + case 34: + case 32: { + filter_.AddEntriesFrom(ref input, _repeated_filter_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TrapAttribute : pb::IMessage<table_TrapAttribute> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TrapAttribute> _parser = new pb::MessageParser<table_TrapAttribute>(() => new table_TrapAttribute()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TrapAttribute> 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.ClientTableReflection.Descriptor.MessageTypes[469]; } + } + + [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 table_TrapAttribute() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrapAttribute(table_TrapAttribute other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrapAttribute Clone() { + return new table_TrapAttribute(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TrapAttribute> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrapAttribute.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TrapAttribute> list_ = new pbc::RepeatedField<global::Nova.Client.TrapAttribute>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TrapAttribute> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TrapAttribute); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TrapAttribute other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TrapAttribute other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelBoss : pb::IMessage<TravelerDuelBoss> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelBoss> _parser = new pb::MessageParser<TravelerDuelBoss>(() => new TravelerDuelBoss()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelBoss> 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.ClientTableReflection.Descriptor.MessageTypes[470]; } + } + + [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 TravelerDuelBoss() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBoss(TravelerDuelBoss other) : this() { + id_ = other.id_; + name_ = other.name_; + travelerDuelBossType_ = other.travelerDuelBossType_; + episode_ = other.episode_; + image_ = other.image_; + cover_ = other.cover_; + showReward_ = other.showReward_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBoss Clone() { + return new TravelerDuelBoss(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 "TravelerDuelBossType" field.</summary> + public const int TravelerDuelBossTypeFieldNumber = 3; + private int travelerDuelBossType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TravelerDuelBossType { + get { return travelerDuelBossType_; } + set { + travelerDuelBossType_ = value; + } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 4; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Image" field.</summary> + public const int ImageFieldNumber = 5; + 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 "Cover" field.</summary> + public const int CoverFieldNumber = 6; + private string cover_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cover { + get { return cover_; } + set { + cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ShowReward" field.</summary> + public const int ShowRewardFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_showReward_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> showReward_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ShowReward { + get { return showReward_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelBoss); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelBoss 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 (TravelerDuelBossType != other.TravelerDuelBossType) return false; + if (Episode != other.Episode) return false; + if (Image != other.Image) return false; + if (Cover != other.Cover) return false; + if(!showReward_.Equals(other.showReward_)) 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 (TravelerDuelBossType != 0) hash ^= TravelerDuelBossType.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Image.Length != 0) hash ^= Image.GetHashCode(); + if (Cover.Length != 0) hash ^= Cover.GetHashCode(); + hash ^= showReward_.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 (TravelerDuelBossType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TravelerDuelBossType); + } + if (Episode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Image); + } + if (Cover.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Cover); + } + showReward_.WriteTo(output, _repeated_showReward_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (TravelerDuelBossType != 0) { + output.WriteRawTag(24); + output.WriteInt32(TravelerDuelBossType); + } + if (Episode.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Episode); + } + if (Image.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Image); + } + if (Cover.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Cover); + } + showReward_.WriteTo(ref output, _repeated_showReward_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (TravelerDuelBossType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TravelerDuelBossType); + } + if (Episode.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Image.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Image); + } + if (Cover.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Cover); + } + size += showReward_.CalculateSize(_repeated_showReward_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelBoss other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.TravelerDuelBossType != 0) { + TravelerDuelBossType = other.TravelerDuelBossType; + } + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Image.Length != 0) { + Image = other.Image; + } + if (other.Cover.Length != 0) { + Cover = other.Cover; + } + showReward_.Add(other.showReward_); + _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: { + TravelerDuelBossType = input.ReadInt32(); + break; + } + case 34: { + Episode = input.ReadString(); + break; + } + case 42: { + Image = input.ReadString(); + break; + } + case 50: { + Cover = input.ReadString(); + break; + } + case 58: + case 56: { + showReward_.AddEntriesFrom(input, _repeated_showReward_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 18: { + Name = input.ReadString(); + break; + } + case 24: { + TravelerDuelBossType = input.ReadInt32(); + break; + } + case 34: { + Episode = input.ReadString(); + break; + } + case 42: { + Image = input.ReadString(); + break; + } + case 50: { + Cover = input.ReadString(); + break; + } + case 58: + case 56: { + showReward_.AddEntriesFrom(ref input, _repeated_showReward_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelBoss : pb::IMessage<table_TravelerDuelBoss> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelBoss> _parser = new pb::MessageParser<table_TravelerDuelBoss>(() => new table_TravelerDuelBoss()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelBoss> 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.ClientTableReflection.Descriptor.MessageTypes[471]; } + } + + [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 table_TravelerDuelBoss() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelBoss(table_TravelerDuelBoss other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelBoss Clone() { + return new table_TravelerDuelBoss(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelBoss> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelBoss.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelBoss> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelBoss>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelBoss> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelBoss); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelBoss other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelBoss other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelBossLevel : pb::IMessage<TravelerDuelBossLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelBossLevel> _parser = new pb::MessageParser<TravelerDuelBossLevel>(() => new TravelerDuelBossLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelBossLevel> 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.ClientTableReflection.Descriptor.MessageTypes[472]; } + } + + [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 TravelerDuelBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBossLevel(TravelerDuelBossLevel other) : this() { + id_ = other.id_; + bossId_ = other.bossId_; + difficulty_ = other.difficulty_; + name_ = other.name_; + desc_ = other.desc_; + suggestedPower_ = other.suggestedPower_; + recommendBuildRank_ = other.recommendBuildRank_; + eET_ = other.eET_.Clone(); + timelimit_ = other.timelimit_; + previewMonsterGroupId_ = other.previewMonsterGroupId_; + floorId_ = other.floorId_; + preLevelId_ = other.preLevelId_; + preLevelStar_ = other.preLevelStar_; + unlockWorldClass_ = other.unlockWorldClass_; + unlockDuelLevel_ = other.unlockDuelLevel_; + duelExp_ = other.duelExp_; + baseAwardPreview_ = other.baseAwardPreview_; + affinity_ = other.affinity_; + icon_ = other.icon_; + skillShow_ = other.skillShow_.Clone(); + cover_ = other.cover_; + skinId_ = other.skinId_; + extraDropPreview_ = other.extraDropPreview_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelBossLevel Clone() { + return new TravelerDuelBossLevel(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 "BossId" field.</summary> + public const int BossIdFieldNumber = 2; + private int bossId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BossId { + get { return bossId_; } + set { + bossId_ = value; + } + } + + /// <summary>Field number for the "Difficulty" field.</summary> + 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; + } + } + + /// <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 "SuggestedPower" field.</summary> + 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; + } + } + + /// <summary>Field number for the "RecommendBuildRank" field.</summary> + public const int RecommendBuildRankFieldNumber = 7; + private int recommendBuildRank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendBuildRank { + get { return recommendBuildRank_; } + set { + recommendBuildRank_ = value; + } + } + + /// <summary>Field number for the "EET" field.</summary> + public const int EETFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + /// <summary>Field number for the "Timelimit" field.</summary> + public const int TimelimitFieldNumber = 9; + private int timelimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Timelimit { + get { return timelimit_; } + set { + timelimit_ = value; + } + } + + /// <summary>Field number for the "PreviewMonsterGroupId" field.</summary> + public const int PreviewMonsterGroupIdFieldNumber = 10; + private int previewMonsterGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreviewMonsterGroupId { + get { return previewMonsterGroupId_; } + set { + previewMonsterGroupId_ = value; + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + public const int FloorIdFieldNumber = 11; + private int floorId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FloorId { + get { return floorId_; } + set { + floorId_ = value; + } + } + + /// <summary>Field number for the "PreLevelId" field.</summary> + public const int PreLevelIdFieldNumber = 12; + private int preLevelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreLevelId { + get { return preLevelId_; } + set { + preLevelId_ = value; + } + } + + /// <summary>Field number for the "PreLevelStar" field.</summary> + public const int PreLevelStarFieldNumber = 13; + private int preLevelStar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreLevelStar { + get { return preLevelStar_; } + set { + preLevelStar_ = value; + } + } + + /// <summary>Field number for the "UnlockWorldClass" field.</summary> + public const int UnlockWorldClassFieldNumber = 14; + private int unlockWorldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockWorldClass { + get { return unlockWorldClass_; } + set { + unlockWorldClass_ = value; + } + } + + /// <summary>Field number for the "UnlockDuelLevel" field.</summary> + public const int UnlockDuelLevelFieldNumber = 15; + private int unlockDuelLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockDuelLevel { + get { return unlockDuelLevel_; } + set { + unlockDuelLevel_ = value; + } + } + + /// <summary>Field number for the "DuelExp" field.</summary> + public const int DuelExpFieldNumber = 16; + private int duelExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DuelExp { + get { return duelExp_; } + set { + duelExp_ = value; + } + } + + /// <summary>Field number for the "BaseAwardPreview" field.</summary> + public const int BaseAwardPreviewFieldNumber = 17; + private string baseAwardPreview_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BaseAwardPreview { + get { return baseAwardPreview_; } + set { + baseAwardPreview_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Affinity" field.</summary> + public const int AffinityFieldNumber = 18; + private int affinity_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Affinity { + get { return affinity_; } + set { + affinity_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + 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"); + } + } + + /// <summary>Field number for the "SkillShow" field.</summary> + public const int SkillShowFieldNumber = 20; + private static readonly pb::FieldCodec<int> _repeated_skillShow_codec + = pb::FieldCodec.ForInt32(162); + private readonly pbc::RepeatedField<int> skillShow_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> SkillShow { + get { return skillShow_; } + } + + /// <summary>Field number for the "Cover" field.</summary> + public const int CoverFieldNumber = 21; + private string cover_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cover { + get { return cover_; } + set { + cover_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SkinId" field.</summary> + public const int SkinIdFieldNumber = 22; + private int skinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkinId { + get { return skinId_; } + set { + skinId_ = value; + } + } + + /// <summary>Field number for the "ExtraDropPreview" field.</summary> + public const int ExtraDropPreviewFieldNumber = 23; + private static readonly pb::FieldCodec<int> _repeated_extraDropPreview_codec + = pb::FieldCodec.ForInt32(186); + private readonly pbc::RepeatedField<int> extraDropPreview_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> ExtraDropPreview { + get { return extraDropPreview_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BossId != other.BossId) 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 (RecommendBuildRank != other.RecommendBuildRank) return false; + if(!eET_.Equals(other.eET_)) return false; + if (Timelimit != other.Timelimit) return false; + if (PreviewMonsterGroupId != other.PreviewMonsterGroupId) return false; + if (FloorId != other.FloorId) return false; + if (PreLevelId != other.PreLevelId) return false; + if (PreLevelStar != other.PreLevelStar) return false; + if (UnlockWorldClass != other.UnlockWorldClass) return false; + if (UnlockDuelLevel != other.UnlockDuelLevel) return false; + if (DuelExp != other.DuelExp) return false; + if (BaseAwardPreview != other.BaseAwardPreview) return false; + if (Affinity != other.Affinity) return false; + if (Icon != other.Icon) return false; + if(!skillShow_.Equals(other.skillShow_)) return false; + if (Cover != other.Cover) return false; + if (SkinId != other.SkinId) return false; + if(!extraDropPreview_.Equals(other.extraDropPreview_)) 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 (BossId != 0) hash ^= BossId.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 (RecommendBuildRank != 0) hash ^= RecommendBuildRank.GetHashCode(); + hash ^= eET_.GetHashCode(); + if (Timelimit != 0) hash ^= Timelimit.GetHashCode(); + if (PreviewMonsterGroupId != 0) hash ^= PreviewMonsterGroupId.GetHashCode(); + if (FloorId != 0) hash ^= FloorId.GetHashCode(); + if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); + if (PreLevelStar != 0) hash ^= PreLevelStar.GetHashCode(); + if (UnlockWorldClass != 0) hash ^= UnlockWorldClass.GetHashCode(); + if (UnlockDuelLevel != 0) hash ^= UnlockDuelLevel.GetHashCode(); + if (DuelExp != 0) hash ^= DuelExp.GetHashCode(); + if (BaseAwardPreview.Length != 0) hash ^= BaseAwardPreview.GetHashCode(); + if (Affinity != 0) hash ^= Affinity.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + hash ^= skillShow_.GetHashCode(); + if (Cover.Length != 0) hash ^= Cover.GetHashCode(); + if (SkinId != 0) hash ^= SkinId.GetHashCode(); + hash ^= extraDropPreview_.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 (BossId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BossId); + } + 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 (RecommendBuildRank != 0) { + output.WriteRawTag(56); + output.WriteInt32(RecommendBuildRank); + } + eET_.WriteTo(output, _repeated_eET_codec); + if (Timelimit != 0) { + output.WriteRawTag(72); + output.WriteInt32(Timelimit); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(80); + output.WriteInt32(PreviewMonsterGroupId); + } + if (FloorId != 0) { + output.WriteRawTag(88); + output.WriteInt32(FloorId); + } + if (PreLevelId != 0) { + output.WriteRawTag(96); + output.WriteInt32(PreLevelId); + } + if (PreLevelStar != 0) { + output.WriteRawTag(104); + output.WriteInt32(PreLevelStar); + } + if (UnlockWorldClass != 0) { + output.WriteRawTag(112); + output.WriteInt32(UnlockWorldClass); + } + if (UnlockDuelLevel != 0) { + output.WriteRawTag(120); + output.WriteInt32(UnlockDuelLevel); + } + if (DuelExp != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(DuelExp); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(BaseAwardPreview); + } + if (Affinity != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Affinity); + } + if (Icon.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Icon); + } + skillShow_.WriteTo(output, _repeated_skillShow_codec); + if (Cover.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Cover); + } + if (SkinId != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(SkinId); + } + extraDropPreview_.WriteTo(output, _repeated_extraDropPreview_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 (BossId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BossId); + } + 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 (RecommendBuildRank != 0) { + output.WriteRawTag(56); + output.WriteInt32(RecommendBuildRank); + } + eET_.WriteTo(ref output, _repeated_eET_codec); + if (Timelimit != 0) { + output.WriteRawTag(72); + output.WriteInt32(Timelimit); + } + if (PreviewMonsterGroupId != 0) { + output.WriteRawTag(80); + output.WriteInt32(PreviewMonsterGroupId); + } + if (FloorId != 0) { + output.WriteRawTag(88); + output.WriteInt32(FloorId); + } + if (PreLevelId != 0) { + output.WriteRawTag(96); + output.WriteInt32(PreLevelId); + } + if (PreLevelStar != 0) { + output.WriteRawTag(104); + output.WriteInt32(PreLevelStar); + } + if (UnlockWorldClass != 0) { + output.WriteRawTag(112); + output.WriteInt32(UnlockWorldClass); + } + if (UnlockDuelLevel != 0) { + output.WriteRawTag(120); + output.WriteInt32(UnlockDuelLevel); + } + if (DuelExp != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(DuelExp); + } + if (BaseAwardPreview.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(BaseAwardPreview); + } + if (Affinity != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Affinity); + } + if (Icon.Length != 0) { + output.WriteRawTag(154, 1); + output.WriteString(Icon); + } + skillShow_.WriteTo(ref output, _repeated_skillShow_codec); + if (Cover.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Cover); + } + if (SkinId != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(SkinId); + } + extraDropPreview_.WriteTo(ref output, _repeated_extraDropPreview_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 (BossId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossId); + } + 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 (RecommendBuildRank != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); + } + size += eET_.CalculateSize(_repeated_eET_codec); + if (Timelimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Timelimit); + } + if (PreviewMonsterGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreviewMonsterGroupId); + } + if (FloorId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); + } + if (PreLevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); + } + if (PreLevelStar != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelStar); + } + if (UnlockWorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldClass); + } + if (UnlockDuelLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockDuelLevel); + } + if (DuelExp != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(DuelExp); + } + if (BaseAwardPreview.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(BaseAwardPreview); + } + if (Affinity != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Affinity); + } + if (Icon.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + size += skillShow_.CalculateSize(_repeated_skillShow_codec); + if (Cover.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Cover); + } + if (SkinId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SkinId); + } + size += extraDropPreview_.CalculateSize(_repeated_extraDropPreview_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelBossLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BossId != 0) { + BossId = other.BossId; + } + 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.RecommendBuildRank != 0) { + RecommendBuildRank = other.RecommendBuildRank; + } + eET_.Add(other.eET_); + if (other.Timelimit != 0) { + Timelimit = other.Timelimit; + } + if (other.PreviewMonsterGroupId != 0) { + PreviewMonsterGroupId = other.PreviewMonsterGroupId; + } + if (other.FloorId != 0) { + FloorId = other.FloorId; + } + if (other.PreLevelId != 0) { + PreLevelId = other.PreLevelId; + } + if (other.PreLevelStar != 0) { + PreLevelStar = other.PreLevelStar; + } + if (other.UnlockWorldClass != 0) { + UnlockWorldClass = other.UnlockWorldClass; + } + if (other.UnlockDuelLevel != 0) { + UnlockDuelLevel = other.UnlockDuelLevel; + } + if (other.DuelExp != 0) { + DuelExp = other.DuelExp; + } + if (other.BaseAwardPreview.Length != 0) { + BaseAwardPreview = other.BaseAwardPreview; + } + if (other.Affinity != 0) { + Affinity = other.Affinity; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + skillShow_.Add(other.skillShow_); + if (other.Cover.Length != 0) { + Cover = other.Cover; + } + if (other.SkinId != 0) { + SkinId = other.SkinId; + } + extraDropPreview_.Add(other.extraDropPreview_); + _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: { + BossId = 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: { + RecommendBuildRank = input.ReadInt32(); + break; + } + case 66: + case 64: { + eET_.AddEntriesFrom(input, _repeated_eET_codec); + break; + } + case 72: { + Timelimit = input.ReadInt32(); + break; + } + case 80: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 88: { + FloorId = input.ReadInt32(); + break; + } + case 96: { + PreLevelId = input.ReadInt32(); + break; + } + case 104: { + PreLevelStar = input.ReadInt32(); + break; + } + case 112: { + UnlockWorldClass = input.ReadInt32(); + break; + } + case 120: { + UnlockDuelLevel = input.ReadInt32(); + break; + } + case 128: { + DuelExp = input.ReadInt32(); + break; + } + case 138: { + BaseAwardPreview = input.ReadString(); + break; + } + case 144: { + Affinity = input.ReadInt32(); + break; + } + case 154: { + Icon = input.ReadString(); + break; + } + case 162: + case 160: { + skillShow_.AddEntriesFrom(input, _repeated_skillShow_codec); + break; + } + case 170: { + Cover = input.ReadString(); + break; + } + case 176: { + SkinId = input.ReadInt32(); + break; + } + case 186: + case 184: { + extraDropPreview_.AddEntriesFrom(input, _repeated_extraDropPreview_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: { + BossId = 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: { + RecommendBuildRank = input.ReadInt32(); + break; + } + case 66: + case 64: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + case 72: { + Timelimit = input.ReadInt32(); + break; + } + case 80: { + PreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 88: { + FloorId = input.ReadInt32(); + break; + } + case 96: { + PreLevelId = input.ReadInt32(); + break; + } + case 104: { + PreLevelStar = input.ReadInt32(); + break; + } + case 112: { + UnlockWorldClass = input.ReadInt32(); + break; + } + case 120: { + UnlockDuelLevel = input.ReadInt32(); + break; + } + case 128: { + DuelExp = input.ReadInt32(); + break; + } + case 138: { + BaseAwardPreview = input.ReadString(); + break; + } + case 144: { + Affinity = input.ReadInt32(); + break; + } + case 154: { + Icon = input.ReadString(); + break; + } + case 162: + case 160: { + skillShow_.AddEntriesFrom(ref input, _repeated_skillShow_codec); + break; + } + case 170: { + Cover = input.ReadString(); + break; + } + case 176: { + SkinId = input.ReadInt32(); + break; + } + case 186: + case 184: { + extraDropPreview_.AddEntriesFrom(ref input, _repeated_extraDropPreview_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelBossLevel : pb::IMessage<table_TravelerDuelBossLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelBossLevel> _parser = new pb::MessageParser<table_TravelerDuelBossLevel>(() => new table_TravelerDuelBossLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelBossLevel> 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.ClientTableReflection.Descriptor.MessageTypes[473]; } + } + + [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 table_TravelerDuelBossLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelBossLevel(table_TravelerDuelBossLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelBossLevel Clone() { + return new table_TravelerDuelBossLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelBossLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelBossLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelBossLevel> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelBossLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelBossLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelBossLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelBossLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelBossLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelChallengeAffix : pb::IMessage<TravelerDuelChallengeAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelChallengeAffix> _parser = new pb::MessageParser<TravelerDuelChallengeAffix>(() => new TravelerDuelChallengeAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelChallengeAffix> 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.ClientTableReflection.Descriptor.MessageTypes[474]; } + } + + [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 TravelerDuelChallengeAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeAffix(TravelerDuelChallengeAffix other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + difficulty_ = other.difficulty_; + unlockWorldClass_ = other.unlockWorldClass_; + unlockDuelLevel_ = other.unlockDuelLevel_; + unlockDifficulty_ = other.unlockDifficulty_; + name_ = other.name_; + desc_ = other.desc_; + icon_ = other.icon_; + element_ = other.element_; + addCamp_ = other.addCamp_.Clone(); + addClass_ = other.addClass_.Clone(); + skillId_ = other.skillId_; + branchId_ = other.branchId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeAffix Clone() { + return new TravelerDuelChallengeAffix(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 "GroupId" 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 "Difficulty" field.</summary> + 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; + } + } + + /// <summary>Field number for the "UnlockWorldClass" field.</summary> + public const int UnlockWorldClassFieldNumber = 4; + private int unlockWorldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockWorldClass { + get { return unlockWorldClass_; } + set { + unlockWorldClass_ = value; + } + } + + /// <summary>Field number for the "UnlockDuelLevel" field.</summary> + public const int UnlockDuelLevelFieldNumber = 5; + private int unlockDuelLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockDuelLevel { + get { return unlockDuelLevel_; } + set { + unlockDuelLevel_ = value; + } + } + + /// <summary>Field number for the "UnlockDifficulty" field.</summary> + public const int UnlockDifficultyFieldNumber = 6; + private int unlockDifficulty_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int UnlockDifficulty { + get { return unlockDifficulty_; } + set { + unlockDifficulty_ = value; + } + } + + /// <summary>Field number for the "Name" field.</summary> + public const int NameFieldNumber = 7; + 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 = 8; + 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 = 9; + 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 = 10; + 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 "AddCamp" field.</summary> + public const int AddCampFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_addCamp_codec + = pb::FieldCodec.ForInt32(90); + 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 "AddClass" field.</summary> + public const int AddClassFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_addClass_codec + = pb::FieldCodec.ForInt32(98); + 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 "SkillId" field.</summary> + public const int SkillIdFieldNumber = 13; + private int skillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SkillId { + get { return skillId_; } + set { + skillId_ = value; + } + } + + /// <summary>Field number for the "BranchId" field.</summary> + public const int BranchIdFieldNumber = 14; + private int branchId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BranchId { + get { return branchId_; } + set { + branchId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelChallengeAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelChallengeAffix 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 (Difficulty != other.Difficulty) return false; + if (UnlockWorldClass != other.UnlockWorldClass) return false; + if (UnlockDuelLevel != other.UnlockDuelLevel) return false; + if (UnlockDifficulty != other.UnlockDifficulty) 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; + if (BranchId != other.BranchId) 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 (Difficulty != 0) hash ^= Difficulty.GetHashCode(); + if (UnlockWorldClass != 0) hash ^= UnlockWorldClass.GetHashCode(); + if (UnlockDuelLevel != 0) hash ^= UnlockDuelLevel.GetHashCode(); + if (UnlockDifficulty != 0) hash ^= UnlockDifficulty.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 (BranchId != 0) hash ^= BranchId.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 (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (UnlockWorldClass != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockWorldClass); + } + if (UnlockDuelLevel != 0) { + output.WriteRawTag(40); + output.WriteInt32(UnlockDuelLevel); + } + if (UnlockDifficulty != 0) { + output.WriteRawTag(48); + output.WriteInt32(UnlockDifficulty); + } + if (Name.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + if (Element != 0) { + output.WriteRawTag(80); + output.WriteInt32(Element); + } + addCamp_.WriteTo(output, _repeated_addCamp_codec); + addClass_.WriteTo(output, _repeated_addClass_codec); + if (SkillId != 0) { + output.WriteRawTag(104); + output.WriteInt32(SkillId); + } + if (BranchId != 0) { + output.WriteRawTag(112); + output.WriteInt32(BranchId); + } + 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 (Difficulty != 0) { + output.WriteRawTag(24); + output.WriteInt32(Difficulty); + } + if (UnlockWorldClass != 0) { + output.WriteRawTag(32); + output.WriteInt32(UnlockWorldClass); + } + if (UnlockDuelLevel != 0) { + output.WriteRawTag(40); + output.WriteInt32(UnlockDuelLevel); + } + if (UnlockDifficulty != 0) { + output.WriteRawTag(48); + output.WriteInt32(UnlockDifficulty); + } + if (Name.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Name); + } + if (Desc.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Desc); + } + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + if (Element != 0) { + output.WriteRawTag(80); + output.WriteInt32(Element); + } + addCamp_.WriteTo(ref output, _repeated_addCamp_codec); + addClass_.WriteTo(ref output, _repeated_addClass_codec); + if (SkillId != 0) { + output.WriteRawTag(104); + output.WriteInt32(SkillId); + } + if (BranchId != 0) { + output.WriteRawTag(112); + output.WriteInt32(BranchId); + } + 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 (Difficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Difficulty); + } + if (UnlockWorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockWorldClass); + } + if (UnlockDuelLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockDuelLevel); + } + if (UnlockDifficulty != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(UnlockDifficulty); + } + 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 (BranchId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BranchId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelChallengeAffix other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Difficulty != 0) { + Difficulty = other.Difficulty; + } + if (other.UnlockWorldClass != 0) { + UnlockWorldClass = other.UnlockWorldClass; + } + if (other.UnlockDuelLevel != 0) { + UnlockDuelLevel = other.UnlockDuelLevel; + } + if (other.UnlockDifficulty != 0) { + UnlockDifficulty = other.UnlockDifficulty; + } + 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; + } + if (other.BranchId != 0) { + BranchId = other.BranchId; + } + _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: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + UnlockWorldClass = input.ReadInt32(); + break; + } + case 40: { + UnlockDuelLevel = input.ReadInt32(); + break; + } + case 48: { + UnlockDifficulty = input.ReadInt32(); + break; + } + case 58: { + Name = input.ReadString(); + break; + } + case 66: { + Desc = input.ReadString(); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + case 80: { + Element = input.ReadInt32(); + break; + } + case 90: + case 88: { + addCamp_.AddEntriesFrom(input, _repeated_addCamp_codec); + break; + } + case 98: + case 96: { + addClass_.AddEntriesFrom(input, _repeated_addClass_codec); + break; + } + case 104: { + SkillId = input.ReadInt32(); + break; + } + case 112: { + BranchId = 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: { + Difficulty = input.ReadInt32(); + break; + } + case 32: { + UnlockWorldClass = input.ReadInt32(); + break; + } + case 40: { + UnlockDuelLevel = input.ReadInt32(); + break; + } + case 48: { + UnlockDifficulty = input.ReadInt32(); + break; + } + case 58: { + Name = input.ReadString(); + break; + } + case 66: { + Desc = input.ReadString(); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + case 80: { + Element = input.ReadInt32(); + break; + } + case 90: + case 88: { + addCamp_.AddEntriesFrom(ref input, _repeated_addCamp_codec); + break; + } + case 98: + case 96: { + addClass_.AddEntriesFrom(ref input, _repeated_addClass_codec); + break; + } + case 104: { + SkillId = input.ReadInt32(); + break; + } + case 112: { + BranchId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelChallengeAffix : pb::IMessage<table_TravelerDuelChallengeAffix> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelChallengeAffix> _parser = new pb::MessageParser<table_TravelerDuelChallengeAffix>(() => new table_TravelerDuelChallengeAffix()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelChallengeAffix> 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.ClientTableReflection.Descriptor.MessageTypes[475]; } + } + + [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 table_TravelerDuelChallengeAffix() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeAffix(table_TravelerDuelChallengeAffix other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeAffix Clone() { + return new table_TravelerDuelChallengeAffix(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeAffix> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeAffix.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeAffix> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeAffix>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeAffix> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelChallengeAffix); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelChallengeAffix other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelChallengeAffix other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelChallengeDifficulty : pb::IMessage<TravelerDuelChallengeDifficulty> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelChallengeDifficulty> _parser = new pb::MessageParser<TravelerDuelChallengeDifficulty>(() => new TravelerDuelChallengeDifficulty()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelChallengeDifficulty> 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.ClientTableReflection.Descriptor.MessageTypes[476]; } + } + + [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 TravelerDuelChallengeDifficulty() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeDifficulty(TravelerDuelChallengeDifficulty other) : this() { + id_ = other.id_; + attr_ = other.attr_; + effectId_ = other.effectId_.Clone(); + recommendScore_ = other.recommendScore_; + recommendBuildRank_ = other.recommendBuildRank_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeDifficulty Clone() { + return new TravelerDuelChallengeDifficulty(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 "Attr" field.</summary> + public const int AttrFieldNumber = 2; + private int attr_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Attr { + get { return attr_; } + set { + attr_ = value; + } + } + + /// <summary>Field number for the "EffectId" field.</summary> + public const int EffectIdFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_effectId_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> effectId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EffectId { + get { return effectId_; } + } + + /// <summary>Field number for the "RecommendScore" field.</summary> + public const int RecommendScoreFieldNumber = 4; + private int recommendScore_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendScore { + get { return recommendScore_; } + set { + recommendScore_ = value; + } + } + + /// <summary>Field number for the "RecommendBuildRank" field.</summary> + public const int RecommendBuildRankFieldNumber = 5; + private int recommendBuildRank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendBuildRank { + get { return recommendBuildRank_; } + set { + recommendBuildRank_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelChallengeDifficulty); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelChallengeDifficulty other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Attr != other.Attr) return false; + if(!effectId_.Equals(other.effectId_)) return false; + if (RecommendScore != other.RecommendScore) return false; + if (RecommendBuildRank != other.RecommendBuildRank) 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 (Attr != 0) hash ^= Attr.GetHashCode(); + hash ^= effectId_.GetHashCode(); + if (RecommendScore != 0) hash ^= RecommendScore.GetHashCode(); + if (RecommendBuildRank != 0) hash ^= RecommendBuildRank.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 (Attr != 0) { + output.WriteRawTag(16); + output.WriteInt32(Attr); + } + effectId_.WriteTo(output, _repeated_effectId_codec); + if (RecommendScore != 0) { + output.WriteRawTag(32); + output.WriteInt32(RecommendScore); + } + if (RecommendBuildRank != 0) { + output.WriteRawTag(40); + output.WriteInt32(RecommendBuildRank); + } + 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 (Attr != 0) { + output.WriteRawTag(16); + output.WriteInt32(Attr); + } + effectId_.WriteTo(ref output, _repeated_effectId_codec); + if (RecommendScore != 0) { + output.WriteRawTag(32); + output.WriteInt32(RecommendScore); + } + if (RecommendBuildRank != 0) { + output.WriteRawTag(40); + output.WriteInt32(RecommendBuildRank); + } + 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 (Attr != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Attr); + } + size += effectId_.CalculateSize(_repeated_effectId_codec); + if (RecommendScore != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendScore); + } + if (RecommendBuildRank != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelChallengeDifficulty other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Attr != 0) { + Attr = other.Attr; + } + effectId_.Add(other.effectId_); + if (other.RecommendScore != 0) { + RecommendScore = other.RecommendScore; + } + if (other.RecommendBuildRank != 0) { + RecommendBuildRank = other.RecommendBuildRank; + } + _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: { + Attr = input.ReadInt32(); + break; + } + case 26: + case 24: { + effectId_.AddEntriesFrom(input, _repeated_effectId_codec); + break; + } + case 32: { + RecommendScore = input.ReadInt32(); + break; + } + case 40: { + RecommendBuildRank = 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: { + Attr = input.ReadInt32(); + break; + } + case 26: + case 24: { + effectId_.AddEntriesFrom(ref input, _repeated_effectId_codec); + break; + } + case 32: { + RecommendScore = input.ReadInt32(); + break; + } + case 40: { + RecommendBuildRank = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelChallengeDifficulty : pb::IMessage<table_TravelerDuelChallengeDifficulty> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelChallengeDifficulty> _parser = new pb::MessageParser<table_TravelerDuelChallengeDifficulty>(() => new table_TravelerDuelChallengeDifficulty()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelChallengeDifficulty> 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.ClientTableReflection.Descriptor.MessageTypes[477]; } + } + + [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 table_TravelerDuelChallengeDifficulty() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeDifficulty(table_TravelerDuelChallengeDifficulty other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeDifficulty Clone() { + return new table_TravelerDuelChallengeDifficulty(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeDifficulty> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeDifficulty.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeDifficulty> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeDifficulty>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeDifficulty> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelChallengeDifficulty); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelChallengeDifficulty other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelChallengeDifficulty other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelChallengeQuest : pb::IMessage<TravelerDuelChallengeQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelChallengeQuest> _parser = new pb::MessageParser<TravelerDuelChallengeQuest>(() => new TravelerDuelChallengeQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelChallengeQuest> 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.ClientTableReflection.Descriptor.MessageTypes[478]; } + } + + [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 TravelerDuelChallengeQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeQuest(TravelerDuelChallengeQuest other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + title_ = other.title_; + desc_ = other.desc_; + jumpTo_ = other.jumpTo_; + order_ = other.order_; + acceptParams2_ = other.acceptParams2_; + completeCond_ = other.completeCond_; + completeCondParams_ = other.completeCondParams_; + awardItemTid1_ = other.awardItemTid1_; + awardItemNum1_ = other.awardItemNum1_; + awardItemTid2_ = other.awardItemTid2_; + awardItemNum2_ = other.awardItemNum2_; + awardItemTid3_ = other.awardItemTid3_; + awardItemNum3_ = other.awardItemNum3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeQuest Clone() { + return new TravelerDuelChallengeQuest(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 "GroupId" 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 "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "JumpTo" field.</summary> + public const int JumpToFieldNumber = 5; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Order" field.</summary> + public const int OrderFieldNumber = 6; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "AcceptParams2" field.</summary> + public const int AcceptParams2FieldNumber = 7; + private string acceptParams2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AcceptParams2 { + get { return acceptParams2_; } + set { + acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CompleteCond" field.</summary> + public const int CompleteCondFieldNumber = 8; + private int completeCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCond { + get { return completeCond_; } + set { + completeCond_ = value; + } + } + + /// <summary>Field number for the "CompleteCondParams" field.</summary> + public const int CompleteCondParamsFieldNumber = 9; + private string completeCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteCondParams { + get { return completeCondParams_; } + set { + completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AwardItemTid1" field.</summary> + public const int AwardItemTid1FieldNumber = 10; + private int awardItemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid1 { + get { return awardItemTid1_; } + set { + awardItemTid1_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum1" field.</summary> + public const int AwardItemNum1FieldNumber = 11; + private int awardItemNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum1 { + get { return awardItemNum1_; } + set { + awardItemNum1_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid2" field.</summary> + public const int AwardItemTid2FieldNumber = 12; + private int awardItemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid2 { + get { return awardItemTid2_; } + set { + awardItemTid2_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum2" field.</summary> + public const int AwardItemNum2FieldNumber = 13; + private int awardItemNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum2 { + get { return awardItemNum2_; } + set { + awardItemNum2_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid3" field.</summary> + public const int AwardItemTid3FieldNumber = 14; + private int awardItemTid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid3 { + get { return awardItemTid3_; } + set { + awardItemTid3_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum3" field.</summary> + public const int AwardItemNum3FieldNumber = 15; + private int awardItemNum3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum3 { + get { return awardItemNum3_; } + set { + awardItemNum3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelChallengeQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelChallengeQuest 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 (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (JumpTo != other.JumpTo) return false; + if (Order != other.Order) return false; + if (AcceptParams2 != other.AcceptParams2) return false; + if (CompleteCond != other.CompleteCond) return false; + if (CompleteCondParams != other.CompleteCondParams) return false; + if (AwardItemTid1 != other.AwardItemTid1) return false; + if (AwardItemNum1 != other.AwardItemNum1) return false; + if (AwardItemTid2 != other.AwardItemTid2) return false; + if (AwardItemNum2 != other.AwardItemNum2) return false; + if (AwardItemTid3 != other.AwardItemTid3) return false; + if (AwardItemNum3 != other.AwardItemNum3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode(); + if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); + if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); + if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); + if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); + if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); + if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode(); + if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode(); + if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(40); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(48); + output.WriteInt32(Order); + } + if (AcceptParams2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(AcceptParams2); + } + if (CompleteCond != 0) { + output.WriteRawTag(64); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(AwardItemNum3); + } + 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 (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(40); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(48); + output.WriteInt32(Order); + } + if (AcceptParams2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(AcceptParams2); + } + if (CompleteCond != 0) { + output.WriteRawTag(64); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(AwardItemNum3); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (AcceptParams2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2); + } + if (CompleteCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelChallengeQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.AcceptParams2.Length != 0) { + AcceptParams2 = other.AcceptParams2; + } + if (other.CompleteCond != 0) { + CompleteCond = other.CompleteCond; + } + if (other.CompleteCondParams.Length != 0) { + CompleteCondParams = other.CompleteCondParams; + } + if (other.AwardItemTid1 != 0) { + AwardItemTid1 = other.AwardItemTid1; + } + if (other.AwardItemNum1 != 0) { + AwardItemNum1 = other.AwardItemNum1; + } + if (other.AwardItemTid2 != 0) { + AwardItemTid2 = other.AwardItemTid2; + } + if (other.AwardItemNum2 != 0) { + AwardItemNum2 = other.AwardItemNum2; + } + if (other.AwardItemTid3 != 0) { + AwardItemTid3 = other.AwardItemTid3; + } + if (other.AwardItemNum3 != 0) { + AwardItemNum3 = other.AwardItemNum3; + } + _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 26: { + Title = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + JumpTo = input.ReadInt32(); + break; + } + case 48: { + Order = input.ReadInt32(); + break; + } + case 58: { + AcceptParams2 = input.ReadString(); + break; + } + case 64: { + CompleteCond = input.ReadInt32(); + break; + } + case 74: { + CompleteCondParams = input.ReadString(); + break; + } + case 80: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 88: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 96: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 104: { + AwardItemNum2 = input.ReadInt32(); + break; + } + case 112: { + AwardItemTid3 = input.ReadInt32(); + break; + } + case 120: { + AwardItemNum3 = 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 26: { + Title = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + JumpTo = input.ReadInt32(); + break; + } + case 48: { + Order = input.ReadInt32(); + break; + } + case 58: { + AcceptParams2 = input.ReadString(); + break; + } + case 64: { + CompleteCond = input.ReadInt32(); + break; + } + case 74: { + CompleteCondParams = input.ReadString(); + break; + } + case 80: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 88: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 96: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 104: { + AwardItemNum2 = input.ReadInt32(); + break; + } + case 112: { + AwardItemTid3 = input.ReadInt32(); + break; + } + case 120: { + AwardItemNum3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelChallengeQuest : pb::IMessage<table_TravelerDuelChallengeQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelChallengeQuest> _parser = new pb::MessageParser<table_TravelerDuelChallengeQuest>(() => new table_TravelerDuelChallengeQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelChallengeQuest> 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.ClientTableReflection.Descriptor.MessageTypes[479]; } + } + + [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 table_TravelerDuelChallengeQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeQuest(table_TravelerDuelChallengeQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeQuest Clone() { + return new table_TravelerDuelChallengeQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeQuest> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelChallengeQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelChallengeQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelChallengeQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelChallengeRankReward : pb::IMessage<TravelerDuelChallengeRankReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelChallengeRankReward> _parser = new pb::MessageParser<TravelerDuelChallengeRankReward>(() => new TravelerDuelChallengeRankReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelChallengeRankReward> 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.ClientTableReflection.Descriptor.MessageTypes[480]; } + } + + [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 TravelerDuelChallengeRankReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeRankReward(TravelerDuelChallengeRankReward other) : this() { + id_ = other.id_; + rankLower_ = other.rankLower_; + awardItemTid1_ = other.awardItemTid1_; + awardItemNum1_ = other.awardItemNum1_; + awardItemTid2_ = other.awardItemTid2_; + awardItemNum2_ = other.awardItemNum2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeRankReward Clone() { + return new TravelerDuelChallengeRankReward(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 "RankLower" field.</summary> + public const int RankLowerFieldNumber = 2; + private int rankLower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RankLower { + get { return rankLower_; } + set { + rankLower_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid1" field.</summary> + public const int AwardItemTid1FieldNumber = 3; + private int awardItemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid1 { + get { return awardItemTid1_; } + set { + awardItemTid1_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum1" field.</summary> + public const int AwardItemNum1FieldNumber = 4; + private int awardItemNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum1 { + get { return awardItemNum1_; } + set { + awardItemNum1_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid2" field.</summary> + public const int AwardItemTid2FieldNumber = 5; + private int awardItemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid2 { + get { return awardItemTid2_; } + set { + awardItemTid2_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum2" field.</summary> + public const int AwardItemNum2FieldNumber = 6; + private int awardItemNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum2 { + get { return awardItemNum2_; } + set { + awardItemNum2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelChallengeRankReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelChallengeRankReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RankLower != other.RankLower) return false; + if (AwardItemTid1 != other.AwardItemTid1) return false; + if (AwardItemNum1 != other.AwardItemNum1) return false; + if (AwardItemTid2 != other.AwardItemTid2) return false; + if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode(); + if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); + if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); + if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); + if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) { + output.WriteRawTag(16); + output.WriteInt32(RankLower); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(AwardItemNum2); + } + 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 (RankLower != 0) { + output.WriteRawTag(16); + output.WriteInt32(RankLower); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(AwardItemNum2); + } + 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 (RankLower != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower); + } + if (AwardItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelChallengeRankReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RankLower != 0) { + RankLower = other.RankLower; + } + if (other.AwardItemTid1 != 0) { + AwardItemTid1 = other.AwardItemTid1; + } + if (other.AwardItemNum1 != 0) { + AwardItemNum1 = other.AwardItemNum1; + } + if (other.AwardItemTid2 != 0) { + AwardItemTid2 = other.AwardItemTid2; + } + if (other.AwardItemNum2 != 0) { + AwardItemNum2 = other.AwardItemNum2; + } + _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: { + RankLower = input.ReadInt32(); + break; + } + case 24: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 32: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 40: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 48: { + AwardItemNum2 = 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: { + RankLower = input.ReadInt32(); + break; + } + case 24: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 32: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 40: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 48: { + AwardItemNum2 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelChallengeRankReward : pb::IMessage<table_TravelerDuelChallengeRankReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelChallengeRankReward> _parser = new pb::MessageParser<table_TravelerDuelChallengeRankReward>(() => new table_TravelerDuelChallengeRankReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelChallengeRankReward> 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.ClientTableReflection.Descriptor.MessageTypes[481]; } + } + + [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 table_TravelerDuelChallengeRankReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeRankReward(table_TravelerDuelChallengeRankReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeRankReward Clone() { + return new table_TravelerDuelChallengeRankReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeRankReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeRankReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeRankReward> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeRankReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeRankReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelChallengeRankReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelChallengeRankReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelChallengeRankReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelChallengeSeason : pb::IMessage<TravelerDuelChallengeSeason> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelChallengeSeason> _parser = new pb::MessageParser<TravelerDuelChallengeSeason>(() => new TravelerDuelChallengeSeason()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelChallengeSeason> 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.ClientTableReflection.Descriptor.MessageTypes[482]; } + } + + [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 TravelerDuelChallengeSeason() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeSeason(TravelerDuelChallengeSeason other) : this() { + id_ = other.id_; + bossId_ = other.bossId_; + affixGroupIds_ = other.affixGroupIds_; + questGroupId_ = other.questGroupId_; + backGroundSource_ = other.backGroundSource_; + openTime_ = other.openTime_; + endTime_ = other.endTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelChallengeSeason Clone() { + return new TravelerDuelChallengeSeason(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 "BossId" field.</summary> + public const int BossIdFieldNumber = 2; + private int bossId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BossId { + get { return bossId_; } + set { + bossId_ = value; + } + } + + /// <summary>Field number for the "AffixGroupIds" field.</summary> + public const int AffixGroupIdsFieldNumber = 3; + private string affixGroupIds_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AffixGroupIds { + get { return affixGroupIds_; } + set { + affixGroupIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "QuestGroupId" field.</summary> + public const int QuestGroupIdFieldNumber = 4; + private int questGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int QuestGroupId { + get { return questGroupId_; } + set { + questGroupId_ = value; + } + } + + /// <summary>Field number for the "BackGroundSource" field.</summary> + public const int BackGroundSourceFieldNumber = 5; + private string backGroundSource_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BackGroundSource { + get { return backGroundSource_; } + set { + backGroundSource_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "OpenTime" field.</summary> + public const int OpenTimeFieldNumber = 6; + private string openTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenTime { + get { return openTime_; } + set { + openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 7; + private string endTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndTime { + get { return endTime_; } + set { + endTime_ = 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 TravelerDuelChallengeSeason); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelChallengeSeason other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (BossId != other.BossId) return false; + if (AffixGroupIds != other.AffixGroupIds) return false; + if (QuestGroupId != other.QuestGroupId) return false; + if (BackGroundSource != other.BackGroundSource) return false; + if (OpenTime != other.OpenTime) return false; + if (EndTime != other.EndTime) 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 (BossId != 0) hash ^= BossId.GetHashCode(); + if (AffixGroupIds.Length != 0) hash ^= AffixGroupIds.GetHashCode(); + if (QuestGroupId != 0) hash ^= QuestGroupId.GetHashCode(); + if (BackGroundSource.Length != 0) hash ^= BackGroundSource.GetHashCode(); + if (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); + if (EndTime.Length != 0) hash ^= EndTime.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 (BossId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BossId); + } + if (AffixGroupIds.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AffixGroupIds); + } + if (QuestGroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(QuestGroupId); + } + if (BackGroundSource.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BackGroundSource); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(50); + output.WriteString(OpenTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(58); + output.WriteString(EndTime); + } + 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 (BossId != 0) { + output.WriteRawTag(16); + output.WriteInt32(BossId); + } + if (AffixGroupIds.Length != 0) { + output.WriteRawTag(26); + output.WriteString(AffixGroupIds); + } + if (QuestGroupId != 0) { + output.WriteRawTag(32); + output.WriteInt32(QuestGroupId); + } + if (BackGroundSource.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BackGroundSource); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(50); + output.WriteString(OpenTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(58); + output.WriteString(EndTime); + } + 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 (BossId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(BossId); + } + if (AffixGroupIds.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AffixGroupIds); + } + if (QuestGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(QuestGroupId); + } + if (BackGroundSource.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BackGroundSource); + } + if (OpenTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); + } + if (EndTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelChallengeSeason other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.BossId != 0) { + BossId = other.BossId; + } + if (other.AffixGroupIds.Length != 0) { + AffixGroupIds = other.AffixGroupIds; + } + if (other.QuestGroupId != 0) { + QuestGroupId = other.QuestGroupId; + } + if (other.BackGroundSource.Length != 0) { + BackGroundSource = other.BackGroundSource; + } + if (other.OpenTime.Length != 0) { + OpenTime = other.OpenTime; + } + if (other.EndTime.Length != 0) { + EndTime = other.EndTime; + } + _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: { + BossId = input.ReadInt32(); + break; + } + case 26: { + AffixGroupIds = input.ReadString(); + break; + } + case 32: { + QuestGroupId = input.ReadInt32(); + break; + } + case 42: { + BackGroundSource = input.ReadString(); + break; + } + case 50: { + OpenTime = input.ReadString(); + break; + } + case 58: { + EndTime = 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: { + BossId = input.ReadInt32(); + break; + } + case 26: { + AffixGroupIds = input.ReadString(); + break; + } + case 32: { + QuestGroupId = input.ReadInt32(); + break; + } + case 42: { + BackGroundSource = input.ReadString(); + break; + } + case 50: { + OpenTime = input.ReadString(); + break; + } + case 58: { + EndTime = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelChallengeSeason : pb::IMessage<table_TravelerDuelChallengeSeason> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelChallengeSeason> _parser = new pb::MessageParser<table_TravelerDuelChallengeSeason>(() => new table_TravelerDuelChallengeSeason()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelChallengeSeason> 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.ClientTableReflection.Descriptor.MessageTypes[483]; } + } + + [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 table_TravelerDuelChallengeSeason() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeSeason(table_TravelerDuelChallengeSeason other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelChallengeSeason Clone() { + return new table_TravelerDuelChallengeSeason(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelChallengeSeason> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelChallengeSeason.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeSeason> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeSeason>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelChallengeSeason> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelChallengeSeason); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelChallengeSeason other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelChallengeSeason other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelFloor : pb::IMessage<TravelerDuelFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelFloor> _parser = new pb::MessageParser<TravelerDuelFloor>(() => new TravelerDuelFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelFloor> 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.ClientTableReflection.Descriptor.MessageTypes[484]; } + } + + [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 TravelerDuelFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelFloor(TravelerDuelFloor other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + monsterLv_ = other.monsterLv_; + introCutscene_ = other.introCutscene_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelFloor Clone() { + return new TravelerDuelFloor(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "MonsterLv" field.</summary> + public const int MonsterLvFieldNumber = 7; + private int monsterLv_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLv { + get { return monsterLv_; } + set { + monsterLv_ = value; + } + } + + /// <summary>Field number for the "IntroCutscene" field.</summary> + public const int IntroCutsceneFieldNumber = 8; + private string introCutscene_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IntroCutscene { + get { return introCutscene_; } + set { + introCutscene_ = 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 TravelerDuelFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) return false; + if (MonsterLv != other.MonsterLv) return false; + if (IntroCutscene != other.IntroCutscene) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.GetHashCode(); + if (MonsterLv != 0) hash ^= MonsterLv.GetHashCode(); + if (IntroCutscene.Length != 0) hash ^= IntroCutscene.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + if (IntroCutscene.Length != 0) { + output.WriteRawTag(66); + output.WriteString(IntroCutscene); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + output.WriteRawTag(56); + output.WriteInt32(MonsterLv); + } + if (IntroCutscene.Length != 0) { + output.WriteRawTag(66); + output.WriteString(IntroCutscene); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (MonsterLv != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLv); + } + if (IntroCutscene.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IntroCutscene); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + if (other.MonsterLv != 0) { + MonsterLv = other.MonsterLv; + } + if (other.IntroCutscene.Length != 0) { + IntroCutscene = other.IntroCutscene; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + case 66: { + IntroCutscene = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + case 56: { + MonsterLv = input.ReadInt32(); + break; + } + case 66: { + IntroCutscene = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelFloor : pb::IMessage<table_TravelerDuelFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelFloor> _parser = new pb::MessageParser<table_TravelerDuelFloor>(() => new table_TravelerDuelFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelFloor> 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.ClientTableReflection.Descriptor.MessageTypes[485]; } + } + + [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 table_TravelerDuelFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelFloor(table_TravelerDuelFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelFloor Clone() { + return new table_TravelerDuelFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelFloor> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelLevel : pb::IMessage<TravelerDuelLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelLevel> _parser = new pb::MessageParser<TravelerDuelLevel>(() => new TravelerDuelLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelLevel> 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.ClientTableReflection.Descriptor.MessageTypes[486]; } + } + + [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 TravelerDuelLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevel(TravelerDuelLevel other) : this() { + id_ = other.id_; + levelUpExp_ = other.levelUpExp_; + coinAdditionProb_ = other.coinAdditionProb_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelLevel Clone() { + return new TravelerDuelLevel(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 "LevelUpExp" field.</summary> + public const int LevelUpExpFieldNumber = 2; + private int levelUpExp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelUpExp { + get { return levelUpExp_; } + set { + levelUpExp_ = value; + } + } + + /// <summary>Field number for the "CoinAdditionProb" field.</summary> + public const int CoinAdditionProbFieldNumber = 3; + private int coinAdditionProb_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CoinAdditionProb { + get { return coinAdditionProb_; } + set { + coinAdditionProb_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (LevelUpExp != other.LevelUpExp) return false; + if (CoinAdditionProb != other.CoinAdditionProb) 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 (LevelUpExp != 0) hash ^= LevelUpExp.GetHashCode(); + if (CoinAdditionProb != 0) hash ^= CoinAdditionProb.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 (LevelUpExp != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelUpExp); + } + if (CoinAdditionProb != 0) { + output.WriteRawTag(24); + output.WriteInt32(CoinAdditionProb); + } + 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 (LevelUpExp != 0) { + output.WriteRawTag(16); + output.WriteInt32(LevelUpExp); + } + if (CoinAdditionProb != 0) { + output.WriteRawTag(24); + output.WriteInt32(CoinAdditionProb); + } + 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 (LevelUpExp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelUpExp); + } + if (CoinAdditionProb != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CoinAdditionProb); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelLevel other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.LevelUpExp != 0) { + LevelUpExp = other.LevelUpExp; + } + if (other.CoinAdditionProb != 0) { + CoinAdditionProb = other.CoinAdditionProb; + } + _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: { + LevelUpExp = input.ReadInt32(); + break; + } + case 24: { + CoinAdditionProb = 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: { + LevelUpExp = input.ReadInt32(); + break; + } + case 24: { + CoinAdditionProb = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelLevel : pb::IMessage<table_TravelerDuelLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelLevel> _parser = new pb::MessageParser<table_TravelerDuelLevel>(() => new table_TravelerDuelLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelLevel> 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.ClientTableReflection.Descriptor.MessageTypes[487]; } + } + + [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 table_TravelerDuelLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelLevel(table_TravelerDuelLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelLevel Clone() { + return new table_TravelerDuelLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelLevel> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TravelerDuelQuest : pb::IMessage<TravelerDuelQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TravelerDuelQuest> _parser = new pb::MessageParser<TravelerDuelQuest>(() => new TravelerDuelQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TravelerDuelQuest> 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.ClientTableReflection.Descriptor.MessageTypes[488]; } + } + + [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 TravelerDuelQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuest(TravelerDuelQuest other) : this() { + id_ = other.id_; + title_ = other.title_; + desc_ = other.desc_; + jumpTo_ = other.jumpTo_; + order_ = other.order_; + acceptParams2_ = other.acceptParams2_; + completeCond_ = other.completeCond_; + completeCondParams_ = other.completeCondParams_; + awardItemTid1_ = other.awardItemTid1_; + awardItemNum1_ = other.awardItemNum1_; + awardItemTid2_ = other.awardItemTid2_; + awardItemNum2_ = other.awardItemNum2_; + awardItemTid3_ = other.awardItemTid3_; + awardItemNum3_ = other.awardItemNum3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TravelerDuelQuest Clone() { + return new TravelerDuelQuest(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "JumpTo" field.</summary> + public const int JumpToFieldNumber = 4; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Order" field.</summary> + public const int OrderFieldNumber = 5; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "AcceptParams2" field.</summary> + public const int AcceptParams2FieldNumber = 6; + private string acceptParams2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string AcceptParams2 { + get { return acceptParams2_; } + set { + acceptParams2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "CompleteCond" field.</summary> + public const int CompleteCondFieldNumber = 7; + private int completeCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCond { + get { return completeCond_; } + set { + completeCond_ = value; + } + } + + /// <summary>Field number for the "CompleteCondParams" field.</summary> + public const int CompleteCondParamsFieldNumber = 8; + private string completeCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteCondParams { + get { return completeCondParams_; } + set { + completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AwardItemTid1" field.</summary> + public const int AwardItemTid1FieldNumber = 9; + private int awardItemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid1 { + get { return awardItemTid1_; } + set { + awardItemTid1_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum1" field.</summary> + public const int AwardItemNum1FieldNumber = 10; + private int awardItemNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum1 { + get { return awardItemNum1_; } + set { + awardItemNum1_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid2" field.</summary> + public const int AwardItemTid2FieldNumber = 11; + private int awardItemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid2 { + get { return awardItemTid2_; } + set { + awardItemTid2_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum2" field.</summary> + public const int AwardItemNum2FieldNumber = 12; + private int awardItemNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum2 { + get { return awardItemNum2_; } + set { + awardItemNum2_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid3" field.</summary> + public const int AwardItemTid3FieldNumber = 13; + private int awardItemTid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid3 { + get { return awardItemTid3_; } + set { + awardItemTid3_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum3" field.</summary> + public const int AwardItemNum3FieldNumber = 14; + private int awardItemNum3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum3 { + get { return awardItemNum3_; } + set { + awardItemNum3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TravelerDuelQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TravelerDuelQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (JumpTo != other.JumpTo) return false; + if (Order != other.Order) return false; + if (AcceptParams2 != other.AcceptParams2) return false; + if (CompleteCond != other.CompleteCond) return false; + if (CompleteCondParams != other.CompleteCondParams) return false; + if (AwardItemTid1 != other.AwardItemTid1) return false; + if (AwardItemNum1 != other.AwardItemNum1) return false; + if (AwardItemTid2 != other.AwardItemTid2) return false; + if (AwardItemNum2 != other.AwardItemNum2) return false; + if (AwardItemTid3 != other.AwardItemTid3) return false; + if (AwardItemNum3 != other.AwardItemNum3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (AcceptParams2.Length != 0) hash ^= AcceptParams2.GetHashCode(); + if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); + if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); + if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); + if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); + if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); + if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode(); + if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode(); + if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(40); + output.WriteInt32(Order); + } + if (AcceptParams2.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AcceptParams2); + } + if (CompleteCond != 0) { + output.WriteRawTag(56); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(66); + output.WriteString(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(72); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(88); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardItemNum3); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(32); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(40); + output.WriteInt32(Order); + } + if (AcceptParams2.Length != 0) { + output.WriteRawTag(50); + output.WriteString(AcceptParams2); + } + if (CompleteCond != 0) { + output.WriteRawTag(56); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(66); + output.WriteString(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(72); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(88); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardItemNum3); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (AcceptParams2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(AcceptParams2); + } + if (CompleteCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TravelerDuelQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.AcceptParams2.Length != 0) { + AcceptParams2 = other.AcceptParams2; + } + if (other.CompleteCond != 0) { + CompleteCond = other.CompleteCond; + } + if (other.CompleteCondParams.Length != 0) { + CompleteCondParams = other.CompleteCondParams; + } + if (other.AwardItemTid1 != 0) { + AwardItemTid1 = other.AwardItemTid1; + } + if (other.AwardItemNum1 != 0) { + AwardItemNum1 = other.AwardItemNum1; + } + if (other.AwardItemTid2 != 0) { + AwardItemTid2 = other.AwardItemTid2; + } + if (other.AwardItemNum2 != 0) { + AwardItemNum2 = other.AwardItemNum2; + } + if (other.AwardItemTid3 != 0) { + AwardItemTid3 = other.AwardItemTid3; + } + if (other.AwardItemNum3 != 0) { + AwardItemNum3 = other.AwardItemNum3; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Order = input.ReadInt32(); + break; + } + case 50: { + AcceptParams2 = input.ReadString(); + break; + } + case 56: { + CompleteCond = input.ReadInt32(); + break; + } + case 66: { + CompleteCondParams = input.ReadString(); + break; + } + case 72: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 80: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 88: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 96: { + AwardItemNum2 = input.ReadInt32(); + break; + } + case 104: { + AwardItemTid3 = input.ReadInt32(); + break; + } + case 112: { + AwardItemNum3 = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 32: { + JumpTo = input.ReadInt32(); + break; + } + case 40: { + Order = input.ReadInt32(); + break; + } + case 50: { + AcceptParams2 = input.ReadString(); + break; + } + case 56: { + CompleteCond = input.ReadInt32(); + break; + } + case 66: { + CompleteCondParams = input.ReadString(); + break; + } + case 72: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 80: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 88: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 96: { + AwardItemNum2 = input.ReadInt32(); + break; + } + case 104: { + AwardItemTid3 = input.ReadInt32(); + break; + } + case 112: { + AwardItemNum3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TravelerDuelQuest : pb::IMessage<table_TravelerDuelQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TravelerDuelQuest> _parser = new pb::MessageParser<table_TravelerDuelQuest>(() => new table_TravelerDuelQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TravelerDuelQuest> 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.ClientTableReflection.Descriptor.MessageTypes[489]; } + } + + [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 table_TravelerDuelQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelQuest(table_TravelerDuelQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TravelerDuelQuest Clone() { + return new table_TravelerDuelQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TravelerDuelQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TravelerDuelQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TravelerDuelQuest> list_ = new pbc::RepeatedField<global::Nova.Client.TravelerDuelQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TravelerDuelQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TravelerDuelQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TravelerDuelQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TravelerDuelQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TrialBuild : pb::IMessage<TrialBuild> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TrialBuild> _parser = new pb::MessageParser<TrialBuild>(() => new TrialBuild()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TrialBuild> 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.ClientTableReflection.Descriptor.MessageTypes[490]; } + } + + [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 TrialBuild() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrialBuild(TrialBuild other) : this() { + id_ = other.id_; + name_ = other.name_; + score_ = other.score_; + char_ = other.char_.Clone(); + disc_ = other.disc_.Clone(); + potential_ = other.potential_; + discCommonSkill1_ = other.discCommonSkill1_; + discCommonSkill2_ = other.discCommonSkill2_; + discCommonSkill3_ = other.discCommonSkill3_; + discPassiveSkill1_ = other.discPassiveSkill1_; + discPassiveSkill2_ = other.discPassiveSkill2_; + discPassiveSkill3_ = other.discPassiveSkill3_; + harmonySkill_ = other.harmonySkill_; + note_ = other.note_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrialBuild Clone() { + return new TrialBuild(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 "Score" field.</summary> + public const int ScoreFieldNumber = 3; + private int score_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Score { + get { return score_; } + set { + score_ = value; + } + } + + /// <summary>Field number for the "Char" field.</summary> + public const int CharFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_char_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> char_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Char { + get { return char_; } + } + + /// <summary>Field number for the "Disc" field.</summary> + public const int DiscFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_disc_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> disc_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Disc { + get { return disc_; } + } + + /// <summary>Field number for the "Potential" field.</summary> + public const int PotentialFieldNumber = 6; + private string potential_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Potential { + get { return potential_; } + set { + potential_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscCommonSkill1" field.</summary> + public const int DiscCommonSkill1FieldNumber = 7; + private string discCommonSkill1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DiscCommonSkill1 { + get { return discCommonSkill1_; } + set { + discCommonSkill1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscCommonSkill2" field.</summary> + public const int DiscCommonSkill2FieldNumber = 8; + private string discCommonSkill2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DiscCommonSkill2 { + get { return discCommonSkill2_; } + set { + discCommonSkill2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscCommonSkill3" field.</summary> + public const int DiscCommonSkill3FieldNumber = 9; + private string discCommonSkill3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DiscCommonSkill3 { + get { return discCommonSkill3_; } + set { + discCommonSkill3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscPassiveSkill1" field.</summary> + public const int DiscPassiveSkill1FieldNumber = 10; + private string discPassiveSkill1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DiscPassiveSkill1 { + get { return discPassiveSkill1_; } + set { + discPassiveSkill1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscPassiveSkill2" field.</summary> + public const int DiscPassiveSkill2FieldNumber = 11; + private string discPassiveSkill2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DiscPassiveSkill2 { + get { return discPassiveSkill2_; } + set { + discPassiveSkill2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "DiscPassiveSkill3" field.</summary> + public const int DiscPassiveSkill3FieldNumber = 12; + private string discPassiveSkill3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DiscPassiveSkill3 { + get { return discPassiveSkill3_; } + set { + discPassiveSkill3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "HarmonySkill" field.</summary> + public const int HarmonySkillFieldNumber = 13; + private string harmonySkill_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string HarmonySkill { + get { return harmonySkill_; } + set { + harmonySkill_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Note" field.</summary> + public const int NoteFieldNumber = 14; + private string note_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Note { + get { return note_; } + set { + note_ = 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 TrialBuild); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TrialBuild 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 (Score != other.Score) return false; + if(!char_.Equals(other.char_)) return false; + if(!disc_.Equals(other.disc_)) return false; + if (Potential != other.Potential) return false; + if (DiscCommonSkill1 != other.DiscCommonSkill1) return false; + if (DiscCommonSkill2 != other.DiscCommonSkill2) return false; + if (DiscCommonSkill3 != other.DiscCommonSkill3) return false; + if (DiscPassiveSkill1 != other.DiscPassiveSkill1) return false; + if (DiscPassiveSkill2 != other.DiscPassiveSkill2) return false; + if (DiscPassiveSkill3 != other.DiscPassiveSkill3) return false; + if (HarmonySkill != other.HarmonySkill) return false; + if (Note != other.Note) 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 (Score != 0) hash ^= Score.GetHashCode(); + hash ^= char_.GetHashCode(); + hash ^= disc_.GetHashCode(); + if (Potential.Length != 0) hash ^= Potential.GetHashCode(); + if (DiscCommonSkill1.Length != 0) hash ^= DiscCommonSkill1.GetHashCode(); + if (DiscCommonSkill2.Length != 0) hash ^= DiscCommonSkill2.GetHashCode(); + if (DiscCommonSkill3.Length != 0) hash ^= DiscCommonSkill3.GetHashCode(); + if (DiscPassiveSkill1.Length != 0) hash ^= DiscPassiveSkill1.GetHashCode(); + if (DiscPassiveSkill2.Length != 0) hash ^= DiscPassiveSkill2.GetHashCode(); + if (DiscPassiveSkill3.Length != 0) hash ^= DiscPassiveSkill3.GetHashCode(); + if (HarmonySkill.Length != 0) hash ^= HarmonySkill.GetHashCode(); + if (Note.Length != 0) hash ^= Note.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 (Score != 0) { + output.WriteRawTag(24); + output.WriteInt32(Score); + } + char_.WriteTo(output, _repeated_char_codec); + disc_.WriteTo(output, _repeated_disc_codec); + if (Potential.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Potential); + } + if (DiscCommonSkill1.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DiscCommonSkill1); + } + if (DiscCommonSkill2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DiscCommonSkill2); + } + if (DiscCommonSkill3.Length != 0) { + output.WriteRawTag(74); + output.WriteString(DiscCommonSkill3); + } + if (DiscPassiveSkill1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(DiscPassiveSkill1); + } + if (DiscPassiveSkill2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(DiscPassiveSkill2); + } + if (DiscPassiveSkill3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(DiscPassiveSkill3); + } + if (HarmonySkill.Length != 0) { + output.WriteRawTag(106); + output.WriteString(HarmonySkill); + } + if (Note.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Note); + } + 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 (Score != 0) { + output.WriteRawTag(24); + output.WriteInt32(Score); + } + char_.WriteTo(ref output, _repeated_char_codec); + disc_.WriteTo(ref output, _repeated_disc_codec); + if (Potential.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Potential); + } + if (DiscCommonSkill1.Length != 0) { + output.WriteRawTag(58); + output.WriteString(DiscCommonSkill1); + } + if (DiscCommonSkill2.Length != 0) { + output.WriteRawTag(66); + output.WriteString(DiscCommonSkill2); + } + if (DiscCommonSkill3.Length != 0) { + output.WriteRawTag(74); + output.WriteString(DiscCommonSkill3); + } + if (DiscPassiveSkill1.Length != 0) { + output.WriteRawTag(82); + output.WriteString(DiscPassiveSkill1); + } + if (DiscPassiveSkill2.Length != 0) { + output.WriteRawTag(90); + output.WriteString(DiscPassiveSkill2); + } + if (DiscPassiveSkill3.Length != 0) { + output.WriteRawTag(98); + output.WriteString(DiscPassiveSkill3); + } + if (HarmonySkill.Length != 0) { + output.WriteRawTag(106); + output.WriteString(HarmonySkill); + } + if (Note.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Note); + } + 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 (Score != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score); + } + size += char_.CalculateSize(_repeated_char_codec); + size += disc_.CalculateSize(_repeated_disc_codec); + if (Potential.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Potential); + } + if (DiscCommonSkill1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscCommonSkill1); + } + if (DiscCommonSkill2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscCommonSkill2); + } + if (DiscCommonSkill3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscCommonSkill3); + } + if (DiscPassiveSkill1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscPassiveSkill1); + } + if (DiscPassiveSkill2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscPassiveSkill2); + } + if (DiscPassiveSkill3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DiscPassiveSkill3); + } + if (HarmonySkill.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(HarmonySkill); + } + if (Note.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TrialBuild other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Score != 0) { + Score = other.Score; + } + char_.Add(other.char_); + disc_.Add(other.disc_); + if (other.Potential.Length != 0) { + Potential = other.Potential; + } + if (other.DiscCommonSkill1.Length != 0) { + DiscCommonSkill1 = other.DiscCommonSkill1; + } + if (other.DiscCommonSkill2.Length != 0) { + DiscCommonSkill2 = other.DiscCommonSkill2; + } + if (other.DiscCommonSkill3.Length != 0) { + DiscCommonSkill3 = other.DiscCommonSkill3; + } + if (other.DiscPassiveSkill1.Length != 0) { + DiscPassiveSkill1 = other.DiscPassiveSkill1; + } + if (other.DiscPassiveSkill2.Length != 0) { + DiscPassiveSkill2 = other.DiscPassiveSkill2; + } + if (other.DiscPassiveSkill3.Length != 0) { + DiscPassiveSkill3 = other.DiscPassiveSkill3; + } + if (other.HarmonySkill.Length != 0) { + HarmonySkill = other.HarmonySkill; + } + if (other.Note.Length != 0) { + Note = other.Note; + } + _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: { + Score = input.ReadInt32(); + break; + } + case 34: + case 32: { + char_.AddEntriesFrom(input, _repeated_char_codec); + break; + } + case 42: + case 40: { + disc_.AddEntriesFrom(input, _repeated_disc_codec); + break; + } + case 50: { + Potential = input.ReadString(); + break; + } + case 58: { + DiscCommonSkill1 = input.ReadString(); + break; + } + case 66: { + DiscCommonSkill2 = input.ReadString(); + break; + } + case 74: { + DiscCommonSkill3 = input.ReadString(); + break; + } + case 82: { + DiscPassiveSkill1 = input.ReadString(); + break; + } + case 90: { + DiscPassiveSkill2 = input.ReadString(); + break; + } + case 98: { + DiscPassiveSkill3 = input.ReadString(); + break; + } + case 106: { + HarmonySkill = input.ReadString(); + break; + } + case 114: { + Note = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + Score = input.ReadInt32(); + break; + } + case 34: + case 32: { + char_.AddEntriesFrom(ref input, _repeated_char_codec); + break; + } + case 42: + case 40: { + disc_.AddEntriesFrom(ref input, _repeated_disc_codec); + break; + } + case 50: { + Potential = input.ReadString(); + break; + } + case 58: { + DiscCommonSkill1 = input.ReadString(); + break; + } + case 66: { + DiscCommonSkill2 = input.ReadString(); + break; + } + case 74: { + DiscCommonSkill3 = input.ReadString(); + break; + } + case 82: { + DiscPassiveSkill1 = input.ReadString(); + break; + } + case 90: { + DiscPassiveSkill2 = input.ReadString(); + break; + } + case 98: { + DiscPassiveSkill3 = input.ReadString(); + break; + } + case 106: { + HarmonySkill = input.ReadString(); + break; + } + case 114: { + Note = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TrialBuild : pb::IMessage<table_TrialBuild> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TrialBuild> _parser = new pb::MessageParser<table_TrialBuild>(() => new table_TrialBuild()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TrialBuild> 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.ClientTableReflection.Descriptor.MessageTypes[491]; } + } + + [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 table_TrialBuild() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrialBuild(table_TrialBuild other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrialBuild Clone() { + return new table_TrialBuild(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TrialBuild> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrialBuild.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TrialBuild> list_ = new pbc::RepeatedField<global::Nova.Client.TrialBuild>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TrialBuild> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TrialBuild); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TrialBuild other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TrialBuild other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TrialCharacter : pb::IMessage<TrialCharacter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TrialCharacter> _parser = new pb::MessageParser<TrialCharacter>(() => new TrialCharacter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TrialCharacter> 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.ClientTableReflection.Descriptor.MessageTypes[492]; } + } + + [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 TrialCharacter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrialCharacter(TrialCharacter other) : this() { + id_ = other.id_; + name_ = other.name_; + charId_ = other.charId_; + characterSkin_ = other.characterSkin_; + break_ = other.break_; + level_ = other.level_; + skillLevel_ = other.skillLevel_.Clone(); + talent_ = other.talent_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrialCharacter Clone() { + return new TrialCharacter(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 "CharId" field.</summary> + public const int CharIdFieldNumber = 3; + 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 "CharacterSkin" field.</summary> + public const int CharacterSkinFieldNumber = 4; + private int characterSkin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterSkin { + get { return characterSkin_; } + set { + characterSkin_ = value; + } + } + + /// <summary>Field number for the "Break" field.</summary> + public const int BreakFieldNumber = 5; + private int break_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Break { + get { return break_; } + set { + break_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 6; + 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 "SkillLevel" field.</summary> + public const int SkillLevelFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_skillLevel_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> skillLevel_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> SkillLevel { + get { return skillLevel_; } + } + + /// <summary>Field number for the "Talent" field.</summary> + public const int TalentFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_talent_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> talent_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Talent { + get { return talent_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TrialCharacter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TrialCharacter 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 (CharId != other.CharId) return false; + if (CharacterSkin != other.CharacterSkin) return false; + if (Break != other.Break) return false; + if (Level != other.Level) return false; + if(!skillLevel_.Equals(other.skillLevel_)) return false; + if(!talent_.Equals(other.talent_)) 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 (CharId != 0) hash ^= CharId.GetHashCode(); + if (CharacterSkin != 0) hash ^= CharacterSkin.GetHashCode(); + if (Break != 0) hash ^= Break.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + hash ^= skillLevel_.GetHashCode(); + hash ^= talent_.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 (CharId != 0) { + output.WriteRawTag(24); + output.WriteInt32(CharId); + } + if (CharacterSkin != 0) { + output.WriteRawTag(32); + output.WriteInt32(CharacterSkin); + } + if (Break != 0) { + output.WriteRawTag(40); + output.WriteInt32(Break); + } + if (Level != 0) { + output.WriteRawTag(48); + output.WriteInt32(Level); + } + skillLevel_.WriteTo(output, _repeated_skillLevel_codec); + talent_.WriteTo(output, _repeated_talent_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 (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (CharId != 0) { + output.WriteRawTag(24); + output.WriteInt32(CharId); + } + if (CharacterSkin != 0) { + output.WriteRawTag(32); + output.WriteInt32(CharacterSkin); + } + if (Break != 0) { + output.WriteRawTag(40); + output.WriteInt32(Break); + } + if (Level != 0) { + output.WriteRawTag(48); + output.WriteInt32(Level); + } + skillLevel_.WriteTo(ref output, _repeated_skillLevel_codec); + talent_.WriteTo(ref output, _repeated_talent_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (CharId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharId); + } + if (CharacterSkin != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterSkin); + } + if (Break != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Break); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + size += skillLevel_.CalculateSize(_repeated_skillLevel_codec); + size += talent_.CalculateSize(_repeated_talent_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TrialCharacter other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.CharId != 0) { + CharId = other.CharId; + } + if (other.CharacterSkin != 0) { + CharacterSkin = other.CharacterSkin; + } + if (other.Break != 0) { + Break = other.Break; + } + if (other.Level != 0) { + Level = other.Level; + } + skillLevel_.Add(other.skillLevel_); + talent_.Add(other.talent_); + _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: { + CharId = input.ReadInt32(); + break; + } + case 32: { + CharacterSkin = input.ReadInt32(); + break; + } + case 40: { + Break = input.ReadInt32(); + break; + } + case 48: { + Level = input.ReadInt32(); + break; + } + case 58: + case 56: { + skillLevel_.AddEntriesFrom(input, _repeated_skillLevel_codec); + break; + } + case 66: + case 64: { + talent_.AddEntriesFrom(input, _repeated_talent_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 18: { + Name = input.ReadString(); + break; + } + case 24: { + CharId = input.ReadInt32(); + break; + } + case 32: { + CharacterSkin = input.ReadInt32(); + break; + } + case 40: { + Break = input.ReadInt32(); + break; + } + case 48: { + Level = input.ReadInt32(); + break; + } + case 58: + case 56: { + skillLevel_.AddEntriesFrom(ref input, _repeated_skillLevel_codec); + break; + } + case 66: + case 64: { + talent_.AddEntriesFrom(ref input, _repeated_talent_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TrialCharacter : pb::IMessage<table_TrialCharacter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TrialCharacter> _parser = new pb::MessageParser<table_TrialCharacter>(() => new table_TrialCharacter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TrialCharacter> 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.ClientTableReflection.Descriptor.MessageTypes[493]; } + } + + [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 table_TrialCharacter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrialCharacter(table_TrialCharacter other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrialCharacter Clone() { + return new table_TrialCharacter(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TrialCharacter> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrialCharacter.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TrialCharacter> list_ = new pbc::RepeatedField<global::Nova.Client.TrialCharacter>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TrialCharacter> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TrialCharacter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TrialCharacter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TrialCharacter other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TrialDisc : pb::IMessage<TrialDisc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<TrialDisc> _parser = new pb::MessageParser<TrialDisc>(() => new TrialDisc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<TrialDisc> 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.ClientTableReflection.Descriptor.MessageTypes[494]; } + } + + [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 TrialDisc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrialDisc(TrialDisc other) : this() { + id_ = other.id_; + discId_ = other.discId_; + phase_ = other.phase_; + level_ = other.level_; + star_ = other.star_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TrialDisc Clone() { + return new TrialDisc(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 "DiscId" field.</summary> + public const int DiscIdFieldNumber = 2; + private int discId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DiscId { + get { return discId_; } + set { + discId_ = value; + } + } + + /// <summary>Field number for the "Phase" field.</summary> + public const int PhaseFieldNumber = 3; + private int phase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Phase { + get { return phase_; } + set { + phase_ = value; + } + } + + /// <summary>Field number for the "Level" field.</summary> + public const int LevelFieldNumber = 4; + 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 "Star" field.</summary> + public const int StarFieldNumber = 5; + private int star_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Star { + get { return star_; } + set { + star_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TrialDisc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TrialDisc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (DiscId != other.DiscId) return false; + if (Phase != other.Phase) return false; + if (Level != other.Level) return false; + if (Star != other.Star) 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 (DiscId != 0) hash ^= DiscId.GetHashCode(); + if (Phase != 0) hash ^= Phase.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (Star != 0) hash ^= Star.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 (DiscId != 0) { + output.WriteRawTag(16); + output.WriteInt32(DiscId); + } + if (Phase != 0) { + output.WriteRawTag(24); + output.WriteInt32(Phase); + } + if (Level != 0) { + output.WriteRawTag(32); + output.WriteInt32(Level); + } + if (Star != 0) { + output.WriteRawTag(40); + output.WriteInt32(Star); + } + 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 (DiscId != 0) { + output.WriteRawTag(16); + output.WriteInt32(DiscId); + } + if (Phase != 0) { + output.WriteRawTag(24); + output.WriteInt32(Phase); + } + if (Level != 0) { + output.WriteRawTag(32); + output.WriteInt32(Level); + } + if (Star != 0) { + output.WriteRawTag(40); + output.WriteInt32(Star); + } + 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 (DiscId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DiscId); + } + if (Phase != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Phase); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (Star != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Star); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TrialDisc other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.DiscId != 0) { + DiscId = other.DiscId; + } + if (other.Phase != 0) { + Phase = other.Phase; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Star != 0) { + Star = other.Star; + } + _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: { + DiscId = input.ReadInt32(); + break; + } + case 24: { + Phase = input.ReadInt32(); + break; + } + case 32: { + Level = input.ReadInt32(); + break; + } + case 40: { + Star = 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: { + DiscId = input.ReadInt32(); + break; + } + case 24: { + Phase = input.ReadInt32(); + break; + } + case 32: { + Level = input.ReadInt32(); + break; + } + case 40: { + Star = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_TrialDisc : pb::IMessage<table_TrialDisc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_TrialDisc> _parser = new pb::MessageParser<table_TrialDisc>(() => new table_TrialDisc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_TrialDisc> 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.ClientTableReflection.Descriptor.MessageTypes[495]; } + } + + [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 table_TrialDisc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrialDisc(table_TrialDisc other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_TrialDisc Clone() { + return new table_TrialDisc(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.TrialDisc> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.TrialDisc.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.TrialDisc> list_ = new pbc::RepeatedField<global::Nova.Client.TrialDisc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.TrialDisc> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_TrialDisc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_TrialDisc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_TrialDisc other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UIText : pb::IMessage<UIText> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<UIText> _parser = new pb::MessageParser<UIText>(() => new UIText()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<UIText> 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.ClientTableReflection.Descriptor.MessageTypes[496]; } + } + + [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 UIText() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UIText(UIText other) : this() { + id_ = other.id_; + text_ = other.text_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UIText Clone() { + return new UIText(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private string id_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Text" field.</summary> + public const int TextFieldNumber = 2; + private string text_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = 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 UIText); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UIText other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Text != other.Text) 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.Length != 0) hash ^= Id.GetHashCode(); + if (Text.Length != 0) hash ^= Text.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Text.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Text); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (Text.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Text); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UIText other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Text.Length != 0) { + Text = other.Text; + } + _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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Text = 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 10: { + Id = input.ReadString(); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_UIText : pb::IMessage<table_UIText> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_UIText> _parser = new pb::MessageParser<table_UIText>(() => new table_UIText()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_UIText> 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.ClientTableReflection.Descriptor.MessageTypes[497]; } + } + + [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 table_UIText() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_UIText(table_UIText other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_UIText Clone() { + return new table_UIText(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.UIText> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.UIText.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.UIText> list_ = new pbc::RepeatedField<global::Nova.Client.UIText>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.UIText> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_UIText); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_UIText other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_UIText other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireBattleThreshold : pb::IMessage<VampireBattleThreshold> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireBattleThreshold> _parser = new pb::MessageParser<VampireBattleThreshold>(() => new VampireBattleThreshold()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireBattleThreshold> 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.ClientTableReflection.Descriptor.MessageTypes[498]; } + } + + [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 VampireBattleThreshold() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleThreshold(VampireBattleThreshold other) : this() { + missionId_ = other.missionId_; + version_ = other.version_; + fromSrcAtk_ = other.fromSrcAtk_; + fromPerkIntensityRatio_ = other.fromPerkIntensityRatio_; + fromSlotDmgRatio_ = other.fromSlotDmgRatio_; + fromEE_ = other.fromEE_; + fromGenDmgRatio_ = other.fromGenDmgRatio_; + fromDmgPlus_ = other.fromDmgPlus_; + fromCritRatio_ = other.fromCritRatio_; + fromFinalDmgRatio_ = other.fromFinalDmgRatio_; + fromFinalDmgPlus_ = other.fromFinalDmgPlus_; + toErAmend_ = other.toErAmend_; + toDefAmend_ = other.toDefAmend_; + toRcdSlotDmgRatio_ = other.toRcdSlotDmgRatio_; + toEERCD_ = other.toEERCD_; + toGenDmgRcdRatio_ = other.toGenDmgRcdRatio_; + toDmgPlusRcd_ = other.toDmgPlusRcd_; + dmg_ = other.dmg_; + critRate_ = other.critRate_; + hp_ = other.hp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireBattleThreshold Clone() { + return new VampireBattleThreshold(this); + } + + /// <summary>Field number for the "MissionId" field.</summary> + public const int MissionIdFieldNumber = 1; + private int missionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MissionId { + get { return missionId_; } + set { + missionId_ = value; + } + } + + /// <summary>Field number for the "Version" field.</summary> + public const int VersionFieldNumber = 2; + private int version_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Version { + get { return version_; } + set { + version_ = value; + } + } + + /// <summary>Field number for the "fromSrcAtk" field.</summary> + public const int FromSrcAtkFieldNumber = 3; + private int fromSrcAtk_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSrcAtk { + get { return fromSrcAtk_; } + set { + fromSrcAtk_ = value; + } + } + + /// <summary>Field number for the "fromPerkIntensityRatio" field.</summary> + public const int FromPerkIntensityRatioFieldNumber = 4; + private int fromPerkIntensityRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromPerkIntensityRatio { + get { return fromPerkIntensityRatio_; } + set { + fromPerkIntensityRatio_ = value; + } + } + + /// <summary>Field number for the "fromSlotDmgRatio" field.</summary> + public const int FromSlotDmgRatioFieldNumber = 5; + private int fromSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromSlotDmgRatio { + get { return fromSlotDmgRatio_; } + set { + fromSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromEE" field.</summary> + public const int FromEEFieldNumber = 6; + private int fromEE_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromEE { + get { return fromEE_; } + set { + fromEE_ = value; + } + } + + /// <summary>Field number for the "fromGenDmgRatio" field.</summary> + public const int FromGenDmgRatioFieldNumber = 7; + private int fromGenDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromGenDmgRatio { + get { return fromGenDmgRatio_; } + set { + fromGenDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromDmgPlus" field.</summary> + public const int FromDmgPlusFieldNumber = 8; + private int fromDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromDmgPlus { + get { return fromDmgPlus_; } + set { + fromDmgPlus_ = value; + } + } + + /// <summary>Field number for the "fromCritRatio" field.</summary> + public const int FromCritRatioFieldNumber = 9; + private int fromCritRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromCritRatio { + get { return fromCritRatio_; } + set { + fromCritRatio_ = value; + } + } + + /// <summary>Field number for the "fromFinalDmgRatio" field.</summary> + public const int FromFinalDmgRatioFieldNumber = 10; + private int fromFinalDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgRatio { + get { return fromFinalDmgRatio_; } + set { + fromFinalDmgRatio_ = value; + } + } + + /// <summary>Field number for the "fromFinalDmgPlus" field.</summary> + public const int FromFinalDmgPlusFieldNumber = 11; + private int fromFinalDmgPlus_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FromFinalDmgPlus { + get { return fromFinalDmgPlus_; } + set { + fromFinalDmgPlus_ = value; + } + } + + /// <summary>Field number for the "toErAmend" field.</summary> + public const int ToErAmendFieldNumber = 12; + private int toErAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToErAmend { + get { return toErAmend_; } + set { + toErAmend_ = value; + } + } + + /// <summary>Field number for the "toDefAmend" field.</summary> + public const int ToDefAmendFieldNumber = 13; + private int toDefAmend_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToDefAmend { + get { return toDefAmend_; } + set { + toDefAmend_ = value; + } + } + + /// <summary>Field number for the "toRcdSlotDmgRatio" field.</summary> + public const int ToRcdSlotDmgRatioFieldNumber = 14; + private int toRcdSlotDmgRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToRcdSlotDmgRatio { + get { return toRcdSlotDmgRatio_; } + set { + toRcdSlotDmgRatio_ = value; + } + } + + /// <summary>Field number for the "toEERCD" field.</summary> + public const int ToEERCDFieldNumber = 15; + private int toEERCD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToEERCD { + get { return toEERCD_; } + set { + toEERCD_ = value; + } + } + + /// <summary>Field number for the "toGenDmgRcdRatio" field.</summary> + public const int ToGenDmgRcdRatioFieldNumber = 16; + private int toGenDmgRcdRatio_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToGenDmgRcdRatio { + get { return toGenDmgRcdRatio_; } + set { + toGenDmgRcdRatio_ = value; + } + } + + /// <summary>Field number for the "toDmgPlusRcd" field.</summary> + public const int ToDmgPlusRcdFieldNumber = 17; + private int toDmgPlusRcd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ToDmgPlusRcd { + get { return toDmgPlusRcd_; } + set { + toDmgPlusRcd_ = value; + } + } + + /// <summary>Field number for the "Dmg" field.</summary> + public const int DmgFieldNumber = 18; + private int dmg_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Dmg { + get { return dmg_; } + set { + dmg_ = value; + } + } + + /// <summary>Field number for the "CritRate" field.</summary> + public const int CritRateFieldNumber = 19; + private int critRate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CritRate { + get { return critRate_; } + set { + critRate_ = value; + } + } + + /// <summary>Field number for the "Hp" field.</summary> + public const int HpFieldNumber = 20; + private int hp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Hp { + get { return hp_; } + set { + hp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireBattleThreshold); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireBattleThreshold other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MissionId != other.MissionId) return false; + if (Version != other.Version) return false; + if (FromSrcAtk != other.FromSrcAtk) return false; + if (FromPerkIntensityRatio != other.FromPerkIntensityRatio) return false; + if (FromSlotDmgRatio != other.FromSlotDmgRatio) return false; + if (FromEE != other.FromEE) return false; + if (FromGenDmgRatio != other.FromGenDmgRatio) return false; + if (FromDmgPlus != other.FromDmgPlus) return false; + if (FromCritRatio != other.FromCritRatio) return false; + if (FromFinalDmgRatio != other.FromFinalDmgRatio) return false; + if (FromFinalDmgPlus != other.FromFinalDmgPlus) return false; + if (ToErAmend != other.ToErAmend) return false; + if (ToDefAmend != other.ToDefAmend) return false; + if (ToRcdSlotDmgRatio != other.ToRcdSlotDmgRatio) return false; + if (ToEERCD != other.ToEERCD) return false; + if (ToGenDmgRcdRatio != other.ToGenDmgRcdRatio) return false; + if (ToDmgPlusRcd != other.ToDmgPlusRcd) return false; + if (Dmg != other.Dmg) return false; + if (CritRate != other.CritRate) return false; + if (Hp != other.Hp) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (FromSrcAtk != 0) hash ^= FromSrcAtk.GetHashCode(); + if (FromPerkIntensityRatio != 0) hash ^= FromPerkIntensityRatio.GetHashCode(); + if (FromSlotDmgRatio != 0) hash ^= FromSlotDmgRatio.GetHashCode(); + if (FromEE != 0) hash ^= FromEE.GetHashCode(); + if (FromGenDmgRatio != 0) hash ^= FromGenDmgRatio.GetHashCode(); + if (FromDmgPlus != 0) hash ^= FromDmgPlus.GetHashCode(); + if (FromCritRatio != 0) hash ^= FromCritRatio.GetHashCode(); + if (FromFinalDmgRatio != 0) hash ^= FromFinalDmgRatio.GetHashCode(); + if (FromFinalDmgPlus != 0) hash ^= FromFinalDmgPlus.GetHashCode(); + if (ToErAmend != 0) hash ^= ToErAmend.GetHashCode(); + if (ToDefAmend != 0) hash ^= ToDefAmend.GetHashCode(); + if (ToRcdSlotDmgRatio != 0) hash ^= ToRcdSlotDmgRatio.GetHashCode(); + if (ToEERCD != 0) hash ^= ToEERCD.GetHashCode(); + if (ToGenDmgRcdRatio != 0) hash ^= ToGenDmgRcdRatio.GetHashCode(); + if (ToDmgPlusRcd != 0) hash ^= ToDmgPlusRcd.GetHashCode(); + if (Dmg != 0) hash ^= Dmg.GetHashCode(); + if (CritRate != 0) hash ^= CritRate.GetHashCode(); + if (Hp != 0) hash ^= Hp.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 (MissionId != 0) { + output.WriteRawTag(8); + output.WriteInt32(MissionId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); + } + if (FromSrcAtk != 0) { + output.WriteRawTag(24); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + output.WriteRawTag(32); + output.WriteInt32(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + output.WriteRawTag(40); + output.WriteInt32(FromSlotDmgRatio); + } + if (FromEE != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromEE); + } + if (FromGenDmgRatio != 0) { + output.WriteRawTag(56); + output.WriteInt32(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(64); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(88); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + output.WriteRawTag(96); + output.WriteInt32(ToErAmend); + } + if (ToDefAmend != 0) { + output.WriteRawTag(104); + output.WriteInt32(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + output.WriteRawTag(120); + output.WriteInt32(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Hp); + } + 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 (MissionId != 0) { + output.WriteRawTag(8); + output.WriteInt32(MissionId); + } + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); + } + if (FromSrcAtk != 0) { + output.WriteRawTag(24); + output.WriteInt32(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + output.WriteRawTag(32); + output.WriteInt32(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + output.WriteRawTag(40); + output.WriteInt32(FromSlotDmgRatio); + } + if (FromEE != 0) { + output.WriteRawTag(48); + output.WriteInt32(FromEE); + } + if (FromGenDmgRatio != 0) { + output.WriteRawTag(56); + output.WriteInt32(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + output.WriteRawTag(64); + output.WriteInt32(FromDmgPlus); + } + if (FromCritRatio != 0) { + output.WriteRawTag(72); + output.WriteInt32(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + output.WriteRawTag(80); + output.WriteInt32(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + output.WriteRawTag(88); + output.WriteInt32(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + output.WriteRawTag(96); + output.WriteInt32(ToErAmend); + } + if (ToDefAmend != 0) { + output.WriteRawTag(104); + output.WriteInt32(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + output.WriteRawTag(112); + output.WriteInt32(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + output.WriteRawTag(120); + output.WriteInt32(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(ToDmgPlusRcd); + } + if (Dmg != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(Dmg); + } + if (CritRate != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(CritRate); + } + if (Hp != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Hp); + } + 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 (MissionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); + } + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); + } + if (FromSrcAtk != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSrcAtk); + } + if (FromPerkIntensityRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromPerkIntensityRatio); + } + if (FromSlotDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromSlotDmgRatio); + } + if (FromEE != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromEE); + } + if (FromGenDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromGenDmgRatio); + } + if (FromDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromDmgPlus); + } + if (FromCritRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromCritRatio); + } + if (FromFinalDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgRatio); + } + if (FromFinalDmgPlus != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FromFinalDmgPlus); + } + if (ToErAmend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToErAmend); + } + if (ToDefAmend != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToDefAmend); + } + if (ToRcdSlotDmgRatio != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToRcdSlotDmgRatio); + } + if (ToEERCD != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ToEERCD); + } + if (ToGenDmgRcdRatio != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToGenDmgRcdRatio); + } + if (ToDmgPlusRcd != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(ToDmgPlusRcd); + } + if (Dmg != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Dmg); + } + if (CritRate != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(CritRate); + } + if (Hp != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Hp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireBattleThreshold other) { + if (other == null) { + return; + } + if (other.MissionId != 0) { + MissionId = other.MissionId; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.FromSrcAtk != 0) { + FromSrcAtk = other.FromSrcAtk; + } + if (other.FromPerkIntensityRatio != 0) { + FromPerkIntensityRatio = other.FromPerkIntensityRatio; + } + if (other.FromSlotDmgRatio != 0) { + FromSlotDmgRatio = other.FromSlotDmgRatio; + } + if (other.FromEE != 0) { + FromEE = other.FromEE; + } + if (other.FromGenDmgRatio != 0) { + FromGenDmgRatio = other.FromGenDmgRatio; + } + if (other.FromDmgPlus != 0) { + FromDmgPlus = other.FromDmgPlus; + } + if (other.FromCritRatio != 0) { + FromCritRatio = other.FromCritRatio; + } + if (other.FromFinalDmgRatio != 0) { + FromFinalDmgRatio = other.FromFinalDmgRatio; + } + if (other.FromFinalDmgPlus != 0) { + FromFinalDmgPlus = other.FromFinalDmgPlus; + } + if (other.ToErAmend != 0) { + ToErAmend = other.ToErAmend; + } + if (other.ToDefAmend != 0) { + ToDefAmend = other.ToDefAmend; + } + if (other.ToRcdSlotDmgRatio != 0) { + ToRcdSlotDmgRatio = other.ToRcdSlotDmgRatio; + } + if (other.ToEERCD != 0) { + ToEERCD = other.ToEERCD; + } + if (other.ToGenDmgRcdRatio != 0) { + ToGenDmgRcdRatio = other.ToGenDmgRcdRatio; + } + if (other.ToDmgPlusRcd != 0) { + ToDmgPlusRcd = other.ToDmgPlusRcd; + } + if (other.Dmg != 0) { + Dmg = other.Dmg; + } + if (other.CritRate != 0) { + CritRate = other.CritRate; + } + if (other.Hp != 0) { + Hp = other.Hp; + } + _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: { + MissionId = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 32: { + FromPerkIntensityRatio = input.ReadInt32(); + break; + } + case 40: { + FromSlotDmgRatio = input.ReadInt32(); + break; + } + case 48: { + FromEE = input.ReadInt32(); + break; + } + case 56: { + FromGenDmgRatio = input.ReadInt32(); + break; + } + case 64: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 72: { + FromCritRatio = input.ReadInt32(); + break; + } + case 80: { + FromFinalDmgRatio = input.ReadInt32(); + break; + } + case 88: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 96: { + ToErAmend = input.ReadInt32(); + break; + } + case 104: { + ToDefAmend = input.ReadInt32(); + break; + } + case 112: { + ToRcdSlotDmgRatio = input.ReadInt32(); + break; + } + case 120: { + ToEERCD = input.ReadInt32(); + break; + } + case 128: { + ToGenDmgRcdRatio = input.ReadInt32(); + break; + } + case 136: { + ToDmgPlusRcd = input.ReadInt32(); + break; + } + case 144: { + Dmg = input.ReadInt32(); + break; + } + case 152: { + CritRate = input.ReadInt32(); + break; + } + case 160: { + Hp = 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: { + MissionId = input.ReadInt32(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + FromSrcAtk = input.ReadInt32(); + break; + } + case 32: { + FromPerkIntensityRatio = input.ReadInt32(); + break; + } + case 40: { + FromSlotDmgRatio = input.ReadInt32(); + break; + } + case 48: { + FromEE = input.ReadInt32(); + break; + } + case 56: { + FromGenDmgRatio = input.ReadInt32(); + break; + } + case 64: { + FromDmgPlus = input.ReadInt32(); + break; + } + case 72: { + FromCritRatio = input.ReadInt32(); + break; + } + case 80: { + FromFinalDmgRatio = input.ReadInt32(); + break; + } + case 88: { + FromFinalDmgPlus = input.ReadInt32(); + break; + } + case 96: { + ToErAmend = input.ReadInt32(); + break; + } + case 104: { + ToDefAmend = input.ReadInt32(); + break; + } + case 112: { + ToRcdSlotDmgRatio = input.ReadInt32(); + break; + } + case 120: { + ToEERCD = input.ReadInt32(); + break; + } + case 128: { + ToGenDmgRcdRatio = input.ReadInt32(); + break; + } + case 136: { + ToDmgPlusRcd = input.ReadInt32(); + break; + } + case 144: { + Dmg = input.ReadInt32(); + break; + } + case 152: { + CritRate = input.ReadInt32(); + break; + } + case 160: { + Hp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireBattleThreshold : pb::IMessage<table_VampireBattleThreshold> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireBattleThreshold> _parser = new pb::MessageParser<table_VampireBattleThreshold>(() => new table_VampireBattleThreshold()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireBattleThreshold> 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.ClientTableReflection.Descriptor.MessageTypes[499]; } + } + + [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 table_VampireBattleThreshold() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireBattleThreshold(table_VampireBattleThreshold other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireBattleThreshold Clone() { + return new table_VampireBattleThreshold(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireBattleThreshold> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireBattleThreshold.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireBattleThreshold> list_ = new pbc::RepeatedField<global::Nova.Client.VampireBattleThreshold>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireBattleThreshold> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireBattleThreshold); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireBattleThreshold other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireBattleThreshold other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireEnemyPool : pb::IMessage<VampireEnemyPool> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireEnemyPool> _parser = new pb::MessageParser<VampireEnemyPool>(() => new VampireEnemyPool()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireEnemyPool> 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.ClientTableReflection.Descriptor.MessageTypes[500]; } + } + + [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 VampireEnemyPool() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireEnemyPool(VampireEnemyPool other) : this() { + poolId_ = other.poolId_; + waveNum_ = other.waveNum_; + monsterLevel_ = other.monsterLevel_; + enemySetID_ = other.enemySetID_; + waveKeepTime_ = other.waveKeepTime_; + poolType_ = other.poolType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireEnemyPool Clone() { + return new VampireEnemyPool(this); + } + + /// <summary>Field number for the "PoolId" field.</summary> + public const int PoolIdFieldNumber = 1; + private int poolId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PoolId { + get { return poolId_; } + set { + poolId_ = value; + } + } + + /// <summary>Field number for the "WaveNum" field.</summary> + public const int WaveNumFieldNumber = 2; + private int waveNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WaveNum { + get { return waveNum_; } + set { + waveNum_ = value; + } + } + + /// <summary>Field number for the "MonsterLevel" field.</summary> + public const int MonsterLevelFieldNumber = 3; + private int monsterLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterLevel { + get { return monsterLevel_; } + set { + monsterLevel_ = value; + } + } + + /// <summary>Field number for the "EnemySetID" field.</summary> + public const int EnemySetIDFieldNumber = 4; + private int enemySetID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EnemySetID { + get { return enemySetID_; } + set { + enemySetID_ = value; + } + } + + /// <summary>Field number for the "WaveKeepTime" field.</summary> + public const int WaveKeepTimeFieldNumber = 5; + private int waveKeepTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int WaveKeepTime { + get { return waveKeepTime_; } + set { + waveKeepTime_ = value; + } + } + + /// <summary>Field number for the "PoolType" field.</summary> + public const int PoolTypeFieldNumber = 6; + private int poolType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PoolType { + get { return poolType_; } + set { + poolType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireEnemyPool); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireEnemyPool other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PoolId != other.PoolId) return false; + if (WaveNum != other.WaveNum) return false; + if (MonsterLevel != other.MonsterLevel) return false; + if (EnemySetID != other.EnemySetID) return false; + if (WaveKeepTime != other.WaveKeepTime) return false; + if (PoolType != other.PoolType) 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 (PoolId != 0) hash ^= PoolId.GetHashCode(); + if (WaveNum != 0) hash ^= WaveNum.GetHashCode(); + if (MonsterLevel != 0) hash ^= MonsterLevel.GetHashCode(); + if (EnemySetID != 0) hash ^= EnemySetID.GetHashCode(); + if (WaveKeepTime != 0) hash ^= WaveKeepTime.GetHashCode(); + if (PoolType != 0) hash ^= PoolType.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 (PoolId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PoolId); + } + if (WaveNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(WaveNum); + } + if (MonsterLevel != 0) { + output.WriteRawTag(24); + output.WriteInt32(MonsterLevel); + } + if (EnemySetID != 0) { + output.WriteRawTag(32); + output.WriteInt32(EnemySetID); + } + if (WaveKeepTime != 0) { + output.WriteRawTag(40); + output.WriteInt32(WaveKeepTime); + } + if (PoolType != 0) { + output.WriteRawTag(48); + output.WriteInt32(PoolType); + } + 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 (PoolId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PoolId); + } + if (WaveNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(WaveNum); + } + if (MonsterLevel != 0) { + output.WriteRawTag(24); + output.WriteInt32(MonsterLevel); + } + if (EnemySetID != 0) { + output.WriteRawTag(32); + output.WriteInt32(EnemySetID); + } + if (WaveKeepTime != 0) { + output.WriteRawTag(40); + output.WriteInt32(WaveKeepTime); + } + if (PoolType != 0) { + output.WriteRawTag(48); + output.WriteInt32(PoolType); + } + 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 (PoolId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PoolId); + } + if (WaveNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveNum); + } + if (MonsterLevel != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterLevel); + } + if (EnemySetID != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EnemySetID); + } + if (WaveKeepTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaveKeepTime); + } + if (PoolType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PoolType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireEnemyPool other) { + if (other == null) { + return; + } + if (other.PoolId != 0) { + PoolId = other.PoolId; + } + if (other.WaveNum != 0) { + WaveNum = other.WaveNum; + } + if (other.MonsterLevel != 0) { + MonsterLevel = other.MonsterLevel; + } + if (other.EnemySetID != 0) { + EnemySetID = other.EnemySetID; + } + if (other.WaveKeepTime != 0) { + WaveKeepTime = other.WaveKeepTime; + } + if (other.PoolType != 0) { + PoolType = other.PoolType; + } + _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: { + PoolId = input.ReadInt32(); + break; + } + case 16: { + WaveNum = input.ReadInt32(); + break; + } + case 24: { + MonsterLevel = input.ReadInt32(); + break; + } + case 32: { + EnemySetID = input.ReadInt32(); + break; + } + case 40: { + WaveKeepTime = input.ReadInt32(); + break; + } + case 48: { + PoolType = 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: { + PoolId = input.ReadInt32(); + break; + } + case 16: { + WaveNum = input.ReadInt32(); + break; + } + case 24: { + MonsterLevel = input.ReadInt32(); + break; + } + case 32: { + EnemySetID = input.ReadInt32(); + break; + } + case 40: { + WaveKeepTime = input.ReadInt32(); + break; + } + case 48: { + PoolType = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireEnemyPool : pb::IMessage<table_VampireEnemyPool> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireEnemyPool> _parser = new pb::MessageParser<table_VampireEnemyPool>(() => new table_VampireEnemyPool()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireEnemyPool> 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.ClientTableReflection.Descriptor.MessageTypes[501]; } + } + + [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 table_VampireEnemyPool() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireEnemyPool(table_VampireEnemyPool other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireEnemyPool Clone() { + return new table_VampireEnemyPool(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireEnemyPool> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireEnemyPool.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireEnemyPool> list_ = new pbc::RepeatedField<global::Nova.Client.VampireEnemyPool>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireEnemyPool> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireEnemyPool); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireEnemyPool other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireEnemyPool other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireEnemySet : pb::IMessage<VampireEnemySet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireEnemySet> _parser = new pb::MessageParser<VampireEnemySet>(() => new VampireEnemySet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireEnemySet> 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.ClientTableReflection.Descriptor.MessageTypes[502]; } + } + + [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 VampireEnemySet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireEnemySet(VampireEnemySet other) : this() { + setId_ = other.setId_; + groupNum_ = other.groupNum_; + monsterId_ = other.monsterId_; + levelChange_ = other.levelChange_; + delayTime_ = other.delayTime_; + maxNum_ = other.maxNum_; + addData_ = other.addData_.Clone(); + maxNumImproveData_ = other.maxNumImproveData_.Clone(); + monsterSpawnType_ = other.monsterSpawnType_; + monsterPoint_ = other.monsterPoint_; + dropExp_ = other.dropExp_.Clone(); + dropChest_ = other.dropChest_.Clone(); + monsterWarning_ = other.monsterWarning_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireEnemySet Clone() { + return new VampireEnemySet(this); + } + + /// <summary>Field number for the "SetId" field.</summary> + public const int SetIdFieldNumber = 1; + private int setId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SetId { + get { return setId_; } + set { + setId_ = value; + } + } + + /// <summary>Field number for the "GroupNum" field.</summary> + public const int GroupNumFieldNumber = 2; + private int groupNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GroupNum { + get { return groupNum_; } + set { + groupNum_ = value; + } + } + + /// <summary>Field number for the "MonsterId" field.</summary> + public const int MonsterIdFieldNumber = 3; + private int monsterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterId { + get { return monsterId_; } + set { + monsterId_ = value; + } + } + + /// <summary>Field number for the "LevelChange" field.</summary> + public const int LevelChangeFieldNumber = 4; + private int levelChange_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelChange { + get { return levelChange_; } + set { + levelChange_ = value; + } + } + + /// <summary>Field number for the "DelayTime" field.</summary> + public const int DelayTimeFieldNumber = 5; + private int delayTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DelayTime { + get { return delayTime_; } + set { + delayTime_ = value; + } + } + + /// <summary>Field number for the "MaxNum" field.</summary> + public const int MaxNumFieldNumber = 6; + private int maxNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxNum { + get { return maxNum_; } + set { + maxNum_ = value; + } + } + + /// <summary>Field number for the "AddData" field.</summary> + public const int AddDataFieldNumber = 7; + private static readonly pb::FieldCodec<int> _repeated_addData_codec + = pb::FieldCodec.ForInt32(58); + private readonly pbc::RepeatedField<int> addData_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> AddData { + get { return addData_; } + } + + /// <summary>Field number for the "MaxNumImproveData" field.</summary> + public const int MaxNumImproveDataFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_maxNumImproveData_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> maxNumImproveData_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> MaxNumImproveData { + get { return maxNumImproveData_; } + } + + /// <summary>Field number for the "MonsterSpawnType" field.</summary> + public const int MonsterSpawnTypeFieldNumber = 9; + private int monsterSpawnType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterSpawnType { + get { return monsterSpawnType_; } + set { + monsterSpawnType_ = value; + } + } + + /// <summary>Field number for the "MonsterPoint" field.</summary> + public const int MonsterPointFieldNumber = 10; + private int monsterPoint_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterPoint { + get { return monsterPoint_; } + set { + monsterPoint_ = value; + } + } + + /// <summary>Field number for the "DropExp" field.</summary> + public const int DropExpFieldNumber = 11; + private static readonly pb::FieldCodec<int> _repeated_dropExp_codec + = pb::FieldCodec.ForInt32(90); + private readonly pbc::RepeatedField<int> dropExp_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DropExp { + get { return dropExp_; } + } + + /// <summary>Field number for the "DropChest" field.</summary> + public const int DropChestFieldNumber = 12; + private static readonly pb::FieldCodec<int> _repeated_dropChest_codec + = pb::FieldCodec.ForInt32(98); + private readonly pbc::RepeatedField<int> dropChest_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> DropChest { + get { return dropChest_; } + } + + /// <summary>Field number for the "MonsterWarning" field.</summary> + public const int MonsterWarningFieldNumber = 13; + private int monsterWarning_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MonsterWarning { + get { return monsterWarning_; } + set { + monsterWarning_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireEnemySet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireEnemySet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SetId != other.SetId) return false; + if (GroupNum != other.GroupNum) return false; + if (MonsterId != other.MonsterId) return false; + if (LevelChange != other.LevelChange) return false; + if (DelayTime != other.DelayTime) return false; + if (MaxNum != other.MaxNum) return false; + if(!addData_.Equals(other.addData_)) return false; + if(!maxNumImproveData_.Equals(other.maxNumImproveData_)) return false; + if (MonsterSpawnType != other.MonsterSpawnType) return false; + if (MonsterPoint != other.MonsterPoint) return false; + if(!dropExp_.Equals(other.dropExp_)) return false; + if(!dropChest_.Equals(other.dropChest_)) return false; + if (MonsterWarning != other.MonsterWarning) 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 (SetId != 0) hash ^= SetId.GetHashCode(); + if (GroupNum != 0) hash ^= GroupNum.GetHashCode(); + if (MonsterId != 0) hash ^= MonsterId.GetHashCode(); + if (LevelChange != 0) hash ^= LevelChange.GetHashCode(); + if (DelayTime != 0) hash ^= DelayTime.GetHashCode(); + if (MaxNum != 0) hash ^= MaxNum.GetHashCode(); + hash ^= addData_.GetHashCode(); + hash ^= maxNumImproveData_.GetHashCode(); + if (MonsterSpawnType != 0) hash ^= MonsterSpawnType.GetHashCode(); + if (MonsterPoint != 0) hash ^= MonsterPoint.GetHashCode(); + hash ^= dropExp_.GetHashCode(); + hash ^= dropChest_.GetHashCode(); + if (MonsterWarning != 0) hash ^= MonsterWarning.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 (SetId != 0) { + output.WriteRawTag(8); + output.WriteInt32(SetId); + } + if (GroupNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupNum); + } + if (MonsterId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MonsterId); + } + if (LevelChange != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelChange); + } + if (DelayTime != 0) { + output.WriteRawTag(40); + output.WriteInt32(DelayTime); + } + if (MaxNum != 0) { + output.WriteRawTag(48); + output.WriteInt32(MaxNum); + } + addData_.WriteTo(output, _repeated_addData_codec); + maxNumImproveData_.WriteTo(output, _repeated_maxNumImproveData_codec); + if (MonsterSpawnType != 0) { + output.WriteRawTag(72); + output.WriteInt32(MonsterSpawnType); + } + if (MonsterPoint != 0) { + output.WriteRawTag(80); + output.WriteInt32(MonsterPoint); + } + dropExp_.WriteTo(output, _repeated_dropExp_codec); + dropChest_.WriteTo(output, _repeated_dropChest_codec); + if (MonsterWarning != 0) { + output.WriteRawTag(104); + output.WriteInt32(MonsterWarning); + } + 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 (SetId != 0) { + output.WriteRawTag(8); + output.WriteInt32(SetId); + } + if (GroupNum != 0) { + output.WriteRawTag(16); + output.WriteInt32(GroupNum); + } + if (MonsterId != 0) { + output.WriteRawTag(24); + output.WriteInt32(MonsterId); + } + if (LevelChange != 0) { + output.WriteRawTag(32); + output.WriteInt32(LevelChange); + } + if (DelayTime != 0) { + output.WriteRawTag(40); + output.WriteInt32(DelayTime); + } + if (MaxNum != 0) { + output.WriteRawTag(48); + output.WriteInt32(MaxNum); + } + addData_.WriteTo(ref output, _repeated_addData_codec); + maxNumImproveData_.WriteTo(ref output, _repeated_maxNumImproveData_codec); + if (MonsterSpawnType != 0) { + output.WriteRawTag(72); + output.WriteInt32(MonsterSpawnType); + } + if (MonsterPoint != 0) { + output.WriteRawTag(80); + output.WriteInt32(MonsterPoint); + } + dropExp_.WriteTo(ref output, _repeated_dropExp_codec); + dropChest_.WriteTo(ref output, _repeated_dropChest_codec); + if (MonsterWarning != 0) { + output.WriteRawTag(104); + output.WriteInt32(MonsterWarning); + } + 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 (SetId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SetId); + } + if (GroupNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupNum); + } + if (MonsterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterId); + } + if (LevelChange != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelChange); + } + if (DelayTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DelayTime); + } + if (MaxNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxNum); + } + size += addData_.CalculateSize(_repeated_addData_codec); + size += maxNumImproveData_.CalculateSize(_repeated_maxNumImproveData_codec); + if (MonsterSpawnType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterSpawnType); + } + if (MonsterPoint != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterPoint); + } + size += dropExp_.CalculateSize(_repeated_dropExp_codec); + size += dropChest_.CalculateSize(_repeated_dropChest_codec); + if (MonsterWarning != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MonsterWarning); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireEnemySet other) { + if (other == null) { + return; + } + if (other.SetId != 0) { + SetId = other.SetId; + } + if (other.GroupNum != 0) { + GroupNum = other.GroupNum; + } + if (other.MonsterId != 0) { + MonsterId = other.MonsterId; + } + if (other.LevelChange != 0) { + LevelChange = other.LevelChange; + } + if (other.DelayTime != 0) { + DelayTime = other.DelayTime; + } + if (other.MaxNum != 0) { + MaxNum = other.MaxNum; + } + addData_.Add(other.addData_); + maxNumImproveData_.Add(other.maxNumImproveData_); + if (other.MonsterSpawnType != 0) { + MonsterSpawnType = other.MonsterSpawnType; + } + if (other.MonsterPoint != 0) { + MonsterPoint = other.MonsterPoint; + } + dropExp_.Add(other.dropExp_); + dropChest_.Add(other.dropChest_); + if (other.MonsterWarning != 0) { + MonsterWarning = other.MonsterWarning; + } + _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: { + SetId = input.ReadInt32(); + break; + } + case 16: { + GroupNum = input.ReadInt32(); + break; + } + case 24: { + MonsterId = input.ReadInt32(); + break; + } + case 32: { + LevelChange = input.ReadInt32(); + break; + } + case 40: { + DelayTime = input.ReadInt32(); + break; + } + case 48: { + MaxNum = input.ReadInt32(); + break; + } + case 58: + case 56: { + addData_.AddEntriesFrom(input, _repeated_addData_codec); + break; + } + case 66: + case 64: { + maxNumImproveData_.AddEntriesFrom(input, _repeated_maxNumImproveData_codec); + break; + } + case 72: { + MonsterSpawnType = input.ReadInt32(); + break; + } + case 80: { + MonsterPoint = input.ReadInt32(); + break; + } + case 90: + case 88: { + dropExp_.AddEntriesFrom(input, _repeated_dropExp_codec); + break; + } + case 98: + case 96: { + dropChest_.AddEntriesFrom(input, _repeated_dropChest_codec); + break; + } + case 104: { + MonsterWarning = 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: { + SetId = input.ReadInt32(); + break; + } + case 16: { + GroupNum = input.ReadInt32(); + break; + } + case 24: { + MonsterId = input.ReadInt32(); + break; + } + case 32: { + LevelChange = input.ReadInt32(); + break; + } + case 40: { + DelayTime = input.ReadInt32(); + break; + } + case 48: { + MaxNum = input.ReadInt32(); + break; + } + case 58: + case 56: { + addData_.AddEntriesFrom(ref input, _repeated_addData_codec); + break; + } + case 66: + case 64: { + maxNumImproveData_.AddEntriesFrom(ref input, _repeated_maxNumImproveData_codec); + break; + } + case 72: { + MonsterSpawnType = input.ReadInt32(); + break; + } + case 80: { + MonsterPoint = input.ReadInt32(); + break; + } + case 90: + case 88: { + dropExp_.AddEntriesFrom(ref input, _repeated_dropExp_codec); + break; + } + case 98: + case 96: { + dropChest_.AddEntriesFrom(ref input, _repeated_dropChest_codec); + break; + } + case 104: { + MonsterWarning = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireEnemySet : pb::IMessage<table_VampireEnemySet> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireEnemySet> _parser = new pb::MessageParser<table_VampireEnemySet>(() => new table_VampireEnemySet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireEnemySet> 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.ClientTableReflection.Descriptor.MessageTypes[503]; } + } + + [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 table_VampireEnemySet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireEnemySet(table_VampireEnemySet other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireEnemySet Clone() { + return new table_VampireEnemySet(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireEnemySet> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireEnemySet.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireEnemySet> list_ = new pbc::RepeatedField<global::Nova.Client.VampireEnemySet>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireEnemySet> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireEnemySet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireEnemySet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireEnemySet other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireEnemySpAttr : pb::IMessage<VampireEnemySpAttr> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireEnemySpAttr> _parser = new pb::MessageParser<VampireEnemySpAttr>(() => new VampireEnemySpAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireEnemySpAttr> 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.ClientTableReflection.Descriptor.MessageTypes[504]; } + } + + [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 VampireEnemySpAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireEnemySpAttr(VampireEnemySpAttr other) : this() { + id_ = other.id_; + refDistance_ = other.refDistance_.Clone(); + refInterval_ = other.refInterval_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireEnemySpAttr Clone() { + return new VampireEnemySpAttr(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 "RefDistance" field.</summary> + public const int RefDistanceFieldNumber = 2; + private static readonly pb::FieldCodec<int> _repeated_refDistance_codec + = pb::FieldCodec.ForInt32(18); + private readonly pbc::RepeatedField<int> refDistance_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> RefDistance { + get { return refDistance_; } + } + + /// <summary>Field number for the "RefInterval" field.</summary> + public const int RefIntervalFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_refInterval_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> refInterval_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> RefInterval { + get { return refInterval_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireEnemySpAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireEnemySpAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if(!refDistance_.Equals(other.refDistance_)) return false; + if(!refInterval_.Equals(other.refInterval_)) 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(); + hash ^= refDistance_.GetHashCode(); + hash ^= refInterval_.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); + } + refDistance_.WriteTo(output, _repeated_refDistance_codec); + refInterval_.WriteTo(output, _repeated_refInterval_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); + } + refDistance_.WriteTo(ref output, _repeated_refDistance_codec); + refInterval_.WriteTo(ref output, _repeated_refInterval_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); + } + size += refDistance_.CalculateSize(_repeated_refDistance_codec); + size += refInterval_.CalculateSize(_repeated_refInterval_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireEnemySpAttr other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + refDistance_.Add(other.refDistance_); + refInterval_.Add(other.refInterval_); + _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: + case 16: { + refDistance_.AddEntriesFrom(input, _repeated_refDistance_codec); + break; + } + case 26: + case 24: { + refInterval_.AddEntriesFrom(input, _repeated_refInterval_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 18: + case 16: { + refDistance_.AddEntriesFrom(ref input, _repeated_refDistance_codec); + break; + } + case 26: + case 24: { + refInterval_.AddEntriesFrom(ref input, _repeated_refInterval_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireEnemySpAttr : pb::IMessage<table_VampireEnemySpAttr> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireEnemySpAttr> _parser = new pb::MessageParser<table_VampireEnemySpAttr>(() => new table_VampireEnemySpAttr()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireEnemySpAttr> 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.ClientTableReflection.Descriptor.MessageTypes[505]; } + } + + [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 table_VampireEnemySpAttr() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireEnemySpAttr(table_VampireEnemySpAttr other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireEnemySpAttr Clone() { + return new table_VampireEnemySpAttr(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireEnemySpAttr> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireEnemySpAttr.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireEnemySpAttr> list_ = new pbc::RepeatedField<global::Nova.Client.VampireEnemySpAttr>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireEnemySpAttr> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireEnemySpAttr); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireEnemySpAttr other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireEnemySpAttr other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireFloor : pb::IMessage<VampireFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireFloor> _parser = new pb::MessageParser<VampireFloor>(() => new VampireFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireFloor> 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.ClientTableReflection.Descriptor.MessageTypes[506]; } + } + + [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 VampireFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireFloor(VampireFloor other) : this() { + id_ = other.id_; + mapId_ = other.mapId_; + waveCount_ = other.waveCount_.Clone(); + firstHalfPoolId_ = other.firstHalfPoolId_; + fHAffixId_ = other.fHAffixId_.Clone(); + fHBossId_ = other.fHBossId_; + secondHalfPoolId_ = other.secondHalfPoolId_; + sHAffixId_ = other.sHAffixId_.Clone(); + sHBossId_ = other.sHBossId_; + specialEnemySetId_ = other.specialEnemySetId_; + treasureSetId_ = other.treasureSetId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireFloor Clone() { + return new VampireFloor(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 "MapId" field.</summary> + public const int MapIdFieldNumber = 2; + private int mapId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MapId { + get { return mapId_; } + set { + mapId_ = value; + } + } + + /// <summary>Field number for the "WaveCount" field.</summary> + public const int WaveCountFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_waveCount_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> waveCount_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> WaveCount { + get { return waveCount_; } + } + + /// <summary>Field number for the "FirstHalfPoolId" field.</summary> + public const int FirstHalfPoolIdFieldNumber = 4; + private int firstHalfPoolId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FirstHalfPoolId { + get { return firstHalfPoolId_; } + set { + firstHalfPoolId_ = value; + } + } + + /// <summary>Field number for the "FHAffixId" field.</summary> + public const int FHAffixIdFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_fHAffixId_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> fHAffixId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FHAffixId { + get { return fHAffixId_; } + } + + /// <summary>Field number for the "FHBossId" field.</summary> + public const int FHBossIdFieldNumber = 6; + private int fHBossId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FHBossId { + get { return fHBossId_; } + set { + fHBossId_ = value; + } + } + + /// <summary>Field number for the "SecondHalfPoolId" field.</summary> + public const int SecondHalfPoolIdFieldNumber = 7; + private int secondHalfPoolId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SecondHalfPoolId { + get { return secondHalfPoolId_; } + set { + secondHalfPoolId_ = value; + } + } + + /// <summary>Field number for the "SHAffixId" field.</summary> + public const int SHAffixIdFieldNumber = 8; + private static readonly pb::FieldCodec<int> _repeated_sHAffixId_codec + = pb::FieldCodec.ForInt32(66); + private readonly pbc::RepeatedField<int> sHAffixId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> SHAffixId { + get { return sHAffixId_; } + } + + /// <summary>Field number for the "SHBossId" field.</summary> + public const int SHBossIdFieldNumber = 9; + private int sHBossId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SHBossId { + get { return sHBossId_; } + set { + sHBossId_ = value; + } + } + + /// <summary>Field number for the "SpecialEnemySetId" field.</summary> + public const int SpecialEnemySetIdFieldNumber = 10; + private string specialEnemySetId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpecialEnemySetId { + get { return specialEnemySetId_; } + set { + specialEnemySetId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "TreasureSetId" field.</summary> + public const int TreasureSetIdFieldNumber = 11; + private string treasureSetId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TreasureSetId { + get { return treasureSetId_; } + set { + treasureSetId_ = 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 VampireFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MapId != other.MapId) return false; + if(!waveCount_.Equals(other.waveCount_)) return false; + if (FirstHalfPoolId != other.FirstHalfPoolId) return false; + if(!fHAffixId_.Equals(other.fHAffixId_)) return false; + if (FHBossId != other.FHBossId) return false; + if (SecondHalfPoolId != other.SecondHalfPoolId) return false; + if(!sHAffixId_.Equals(other.sHAffixId_)) return false; + if (SHBossId != other.SHBossId) return false; + if (SpecialEnemySetId != other.SpecialEnemySetId) return false; + if (TreasureSetId != other.TreasureSetId) 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 (MapId != 0) hash ^= MapId.GetHashCode(); + hash ^= waveCount_.GetHashCode(); + if (FirstHalfPoolId != 0) hash ^= FirstHalfPoolId.GetHashCode(); + hash ^= fHAffixId_.GetHashCode(); + if (FHBossId != 0) hash ^= FHBossId.GetHashCode(); + if (SecondHalfPoolId != 0) hash ^= SecondHalfPoolId.GetHashCode(); + hash ^= sHAffixId_.GetHashCode(); + if (SHBossId != 0) hash ^= SHBossId.GetHashCode(); + if (SpecialEnemySetId.Length != 0) hash ^= SpecialEnemySetId.GetHashCode(); + if (TreasureSetId.Length != 0) hash ^= TreasureSetId.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 (MapId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MapId); + } + waveCount_.WriteTo(output, _repeated_waveCount_codec); + if (FirstHalfPoolId != 0) { + output.WriteRawTag(32); + output.WriteInt32(FirstHalfPoolId); + } + fHAffixId_.WriteTo(output, _repeated_fHAffixId_codec); + if (FHBossId != 0) { + output.WriteRawTag(48); + output.WriteInt32(FHBossId); + } + if (SecondHalfPoolId != 0) { + output.WriteRawTag(56); + output.WriteInt32(SecondHalfPoolId); + } + sHAffixId_.WriteTo(output, _repeated_sHAffixId_codec); + if (SHBossId != 0) { + output.WriteRawTag(72); + output.WriteInt32(SHBossId); + } + if (SpecialEnemySetId.Length != 0) { + output.WriteRawTag(82); + output.WriteString(SpecialEnemySetId); + } + if (TreasureSetId.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TreasureSetId); + } + 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 (MapId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MapId); + } + waveCount_.WriteTo(ref output, _repeated_waveCount_codec); + if (FirstHalfPoolId != 0) { + output.WriteRawTag(32); + output.WriteInt32(FirstHalfPoolId); + } + fHAffixId_.WriteTo(ref output, _repeated_fHAffixId_codec); + if (FHBossId != 0) { + output.WriteRawTag(48); + output.WriteInt32(FHBossId); + } + if (SecondHalfPoolId != 0) { + output.WriteRawTag(56); + output.WriteInt32(SecondHalfPoolId); + } + sHAffixId_.WriteTo(ref output, _repeated_sHAffixId_codec); + if (SHBossId != 0) { + output.WriteRawTag(72); + output.WriteInt32(SHBossId); + } + if (SpecialEnemySetId.Length != 0) { + output.WriteRawTag(82); + output.WriteString(SpecialEnemySetId); + } + if (TreasureSetId.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TreasureSetId); + } + 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 (MapId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MapId); + } + size += waveCount_.CalculateSize(_repeated_waveCount_codec); + if (FirstHalfPoolId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FirstHalfPoolId); + } + size += fHAffixId_.CalculateSize(_repeated_fHAffixId_codec); + if (FHBossId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FHBossId); + } + if (SecondHalfPoolId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SecondHalfPoolId); + } + size += sHAffixId_.CalculateSize(_repeated_sHAffixId_codec); + if (SHBossId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SHBossId); + } + if (SpecialEnemySetId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SpecialEnemySetId); + } + if (TreasureSetId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TreasureSetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MapId != 0) { + MapId = other.MapId; + } + waveCount_.Add(other.waveCount_); + if (other.FirstHalfPoolId != 0) { + FirstHalfPoolId = other.FirstHalfPoolId; + } + fHAffixId_.Add(other.fHAffixId_); + if (other.FHBossId != 0) { + FHBossId = other.FHBossId; + } + if (other.SecondHalfPoolId != 0) { + SecondHalfPoolId = other.SecondHalfPoolId; + } + sHAffixId_.Add(other.sHAffixId_); + if (other.SHBossId != 0) { + SHBossId = other.SHBossId; + } + if (other.SpecialEnemySetId.Length != 0) { + SpecialEnemySetId = other.SpecialEnemySetId; + } + if (other.TreasureSetId.Length != 0) { + TreasureSetId = other.TreasureSetId; + } + _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: { + MapId = input.ReadInt32(); + break; + } + case 26: + case 24: { + waveCount_.AddEntriesFrom(input, _repeated_waveCount_codec); + break; + } + case 32: { + FirstHalfPoolId = input.ReadInt32(); + break; + } + case 42: + case 40: { + fHAffixId_.AddEntriesFrom(input, _repeated_fHAffixId_codec); + break; + } + case 48: { + FHBossId = input.ReadInt32(); + break; + } + case 56: { + SecondHalfPoolId = input.ReadInt32(); + break; + } + case 66: + case 64: { + sHAffixId_.AddEntriesFrom(input, _repeated_sHAffixId_codec); + break; + } + case 72: { + SHBossId = input.ReadInt32(); + break; + } + case 82: { + SpecialEnemySetId = input.ReadString(); + break; + } + case 90: { + TreasureSetId = 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: { + MapId = input.ReadInt32(); + break; + } + case 26: + case 24: { + waveCount_.AddEntriesFrom(ref input, _repeated_waveCount_codec); + break; + } + case 32: { + FirstHalfPoolId = input.ReadInt32(); + break; + } + case 42: + case 40: { + fHAffixId_.AddEntriesFrom(ref input, _repeated_fHAffixId_codec); + break; + } + case 48: { + FHBossId = input.ReadInt32(); + break; + } + case 56: { + SecondHalfPoolId = input.ReadInt32(); + break; + } + case 66: + case 64: { + sHAffixId_.AddEntriesFrom(ref input, _repeated_sHAffixId_codec); + break; + } + case 72: { + SHBossId = input.ReadInt32(); + break; + } + case 82: { + SpecialEnemySetId = input.ReadString(); + break; + } + case 90: { + TreasureSetId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireFloor : pb::IMessage<table_VampireFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireFloor> _parser = new pb::MessageParser<table_VampireFloor>(() => new table_VampireFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireFloor> 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.ClientTableReflection.Descriptor.MessageTypes[507]; } + } + + [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 table_VampireFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireFloor(table_VampireFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireFloor Clone() { + return new table_VampireFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireFloor> list_ = new pbc::RepeatedField<global::Nova.Client.VampireFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireMap : pb::IMessage<VampireMap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireMap> _parser = new pb::MessageParser<VampireMap>(() => new VampireMap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireMap> 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.ClientTableReflection.Descriptor.MessageTypes[508]; } + } + + [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 VampireMap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireMap(VampireMap other) : this() { + id_ = other.id_; + sceneName_ = other.sceneName_; + configPrefabName_ = other.configPrefabName_; + theme_ = other.theme_; + bGM_ = other.bGM_; + leaveTriggerEvent_ = other.leaveTriggerEvent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireMap Clone() { + return new VampireMap(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 "SceneName" field.</summary> + public const int SceneNameFieldNumber = 2; + private string sceneName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneName { + get { return sceneName_; } + set { + sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ConfigPrefabName" field.</summary> + public const int ConfigPrefabNameFieldNumber = 3; + private string configPrefabName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConfigPrefabName { + get { return configPrefabName_; } + set { + configPrefabName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Theme" field.</summary> + public const int ThemeFieldNumber = 4; + private int theme_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Theme { + get { return theme_; } + set { + theme_ = value; + } + } + + /// <summary>Field number for the "BGM" field.</summary> + public const int BGMFieldNumber = 5; + private string bGM_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string BGM { + get { return bGM_; } + set { + bGM_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LeaveTriggerEvent" field.</summary> + public const int LeaveTriggerEventFieldNumber = 6; + private string leaveTriggerEvent_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string LeaveTriggerEvent { + get { return leaveTriggerEvent_; } + set { + leaveTriggerEvent_ = 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 VampireMap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireMap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SceneName != other.SceneName) return false; + if (ConfigPrefabName != other.ConfigPrefabName) return false; + if (Theme != other.Theme) return false; + if (BGM != other.BGM) return false; + if (LeaveTriggerEvent != other.LeaveTriggerEvent) 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 (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); + if (ConfigPrefabName.Length != 0) hash ^= ConfigPrefabName.GetHashCode(); + if (Theme != 0) hash ^= Theme.GetHashCode(); + if (BGM.Length != 0) hash ^= BGM.GetHashCode(); + if (LeaveTriggerEvent.Length != 0) hash ^= LeaveTriggerEvent.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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + 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 (SceneName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SceneName); + } + if (ConfigPrefabName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ConfigPrefabName); + } + if (Theme != 0) { + output.WriteRawTag(32); + output.WriteInt32(Theme); + } + if (BGM.Length != 0) { + output.WriteRawTag(42); + output.WriteString(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + output.WriteRawTag(50); + output.WriteString(LeaveTriggerEvent); + } + 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 (SceneName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); + } + if (ConfigPrefabName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConfigPrefabName); + } + if (Theme != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Theme); + } + if (BGM.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BGM); + } + if (LeaveTriggerEvent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(LeaveTriggerEvent); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireMap other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.SceneName.Length != 0) { + SceneName = other.SceneName; + } + if (other.ConfigPrefabName.Length != 0) { + ConfigPrefabName = other.ConfigPrefabName; + } + if (other.Theme != 0) { + Theme = other.Theme; + } + if (other.BGM.Length != 0) { + BGM = other.BGM; + } + if (other.LeaveTriggerEvent.Length != 0) { + LeaveTriggerEvent = other.LeaveTriggerEvent; + } + _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: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = 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 18: { + SceneName = input.ReadString(); + break; + } + case 26: { + ConfigPrefabName = input.ReadString(); + break; + } + case 32: { + Theme = input.ReadInt32(); + break; + } + case 42: { + BGM = input.ReadString(); + break; + } + case 50: { + LeaveTriggerEvent = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireMap : pb::IMessage<table_VampireMap> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireMap> _parser = new pb::MessageParser<table_VampireMap>(() => new table_VampireMap()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireMap> 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.ClientTableReflection.Descriptor.MessageTypes[509]; } + } + + [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 table_VampireMap() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireMap(table_VampireMap other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireMap Clone() { + return new table_VampireMap(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireMap> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireMap.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireMap> list_ = new pbc::RepeatedField<global::Nova.Client.VampireMap>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireMap> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireMap); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireMap other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireMap other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireRankReward : pb::IMessage<VampireRankReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireRankReward> _parser = new pb::MessageParser<VampireRankReward>(() => new VampireRankReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireRankReward> 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.ClientTableReflection.Descriptor.MessageTypes[510]; } + } + + [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 VampireRankReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankReward(VampireRankReward other) : this() { + id_ = other.id_; + rankLower_ = other.rankLower_; + awardItemTid1_ = other.awardItemTid1_; + awardItemNum1_ = other.awardItemNum1_; + awardItemTid2_ = other.awardItemTid2_; + awardItemNum2_ = other.awardItemNum2_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankReward Clone() { + return new VampireRankReward(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 "RankLower" field.</summary> + public const int RankLowerFieldNumber = 2; + private int rankLower_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RankLower { + get { return rankLower_; } + set { + rankLower_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid1" field.</summary> + public const int AwardItemTid1FieldNumber = 3; + private int awardItemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid1 { + get { return awardItemTid1_; } + set { + awardItemTid1_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum1" field.</summary> + public const int AwardItemNum1FieldNumber = 4; + private int awardItemNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum1 { + get { return awardItemNum1_; } + set { + awardItemNum1_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid2" field.</summary> + public const int AwardItemTid2FieldNumber = 5; + private int awardItemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid2 { + get { return awardItemTid2_; } + set { + awardItemTid2_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum2" field.</summary> + public const int AwardItemNum2FieldNumber = 6; + private int awardItemNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum2 { + get { return awardItemNum2_; } + set { + awardItemNum2_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireRankReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireRankReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (RankLower != other.RankLower) return false; + if (AwardItemTid1 != other.AwardItemTid1) return false; + if (AwardItemNum1 != other.AwardItemNum1) return false; + if (AwardItemTid2 != other.AwardItemTid2) return false; + if (AwardItemNum2 != other.AwardItemNum2) 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 (RankLower != 0) hash ^= RankLower.GetHashCode(); + if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); + if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); + if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); + if (AwardItemNum2 != 0) hash ^= AwardItemNum2.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 (RankLower != 0) { + output.WriteRawTag(16); + output.WriteInt32(RankLower); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(AwardItemNum2); + } + 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 (RankLower != 0) { + output.WriteRawTag(16); + output.WriteInt32(RankLower); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(24); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(32); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(40); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(48); + output.WriteInt32(AwardItemNum2); + } + 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 (RankLower != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankLower); + } + if (AwardItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireRankReward other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.RankLower != 0) { + RankLower = other.RankLower; + } + if (other.AwardItemTid1 != 0) { + AwardItemTid1 = other.AwardItemTid1; + } + if (other.AwardItemNum1 != 0) { + AwardItemNum1 = other.AwardItemNum1; + } + if (other.AwardItemTid2 != 0) { + AwardItemTid2 = other.AwardItemTid2; + } + if (other.AwardItemNum2 != 0) { + AwardItemNum2 = other.AwardItemNum2; + } + _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: { + RankLower = input.ReadInt32(); + break; + } + case 24: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 32: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 40: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 48: { + AwardItemNum2 = 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: { + RankLower = input.ReadInt32(); + break; + } + case 24: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 32: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 40: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 48: { + AwardItemNum2 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireRankReward : pb::IMessage<table_VampireRankReward> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireRankReward> _parser = new pb::MessageParser<table_VampireRankReward>(() => new table_VampireRankReward()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireRankReward> 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.ClientTableReflection.Descriptor.MessageTypes[511]; } + } + + [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 table_VampireRankReward() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireRankReward(table_VampireRankReward other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireRankReward Clone() { + return new table_VampireRankReward(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireRankReward> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireRankReward.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireRankReward> list_ = new pbc::RepeatedField<global::Nova.Client.VampireRankReward>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireRankReward> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireRankReward); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireRankReward other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireRankReward other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireRankSeason : pb::IMessage<VampireRankSeason> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireRankSeason> _parser = new pb::MessageParser<VampireRankSeason>(() => new VampireRankSeason()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireRankSeason> 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.ClientTableReflection.Descriptor.MessageTypes[512]; } + } + + [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 VampireRankSeason() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankSeason(VampireRankSeason other) : this() { + id_ = other.id_; + missionId_ = other.missionId_; + openTime_ = other.openTime_; + endTime_ = other.endTime_; + questGroup_ = other.questGroup_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireRankSeason Clone() { + return new VampireRankSeason(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 "MissionId" field.</summary> + public const int MissionIdFieldNumber = 2; + private int missionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MissionId { + get { return missionId_; } + set { + missionId_ = value; + } + } + + /// <summary>Field number for the "OpenTime" field.</summary> + public const int OpenTimeFieldNumber = 3; + private string openTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OpenTime { + get { return openTime_; } + set { + openTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "EndTime" field.</summary> + public const int EndTimeFieldNumber = 4; + private string endTime_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string EndTime { + get { return endTime_; } + set { + endTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "QuestGroup" field.</summary> + public const int QuestGroupFieldNumber = 5; + private int questGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int QuestGroup { + get { return questGroup_; } + set { + questGroup_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireRankSeason); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireRankSeason other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (MissionId != other.MissionId) return false; + if (OpenTime != other.OpenTime) return false; + if (EndTime != other.EndTime) return false; + if (QuestGroup != other.QuestGroup) 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 (MissionId != 0) hash ^= MissionId.GetHashCode(); + if (OpenTime.Length != 0) hash ^= OpenTime.GetHashCode(); + if (EndTime.Length != 0) hash ^= EndTime.GetHashCode(); + if (QuestGroup != 0) hash ^= QuestGroup.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 (MissionId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MissionId); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OpenTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(34); + output.WriteString(EndTime); + } + if (QuestGroup != 0) { + output.WriteRawTag(40); + output.WriteInt32(QuestGroup); + } + 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 (MissionId != 0) { + output.WriteRawTag(16); + output.WriteInt32(MissionId); + } + if (OpenTime.Length != 0) { + output.WriteRawTag(26); + output.WriteString(OpenTime); + } + if (EndTime.Length != 0) { + output.WriteRawTag(34); + output.WriteString(EndTime); + } + if (QuestGroup != 0) { + output.WriteRawTag(40); + output.WriteInt32(QuestGroup); + } + 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 (MissionId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MissionId); + } + if (OpenTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OpenTime); + } + if (EndTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(EndTime); + } + if (QuestGroup != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(QuestGroup); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireRankSeason other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.MissionId != 0) { + MissionId = other.MissionId; + } + if (other.OpenTime.Length != 0) { + OpenTime = other.OpenTime; + } + if (other.EndTime.Length != 0) { + EndTime = other.EndTime; + } + if (other.QuestGroup != 0) { + QuestGroup = other.QuestGroup; + } + _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: { + MissionId = input.ReadInt32(); + break; + } + case 26: { + OpenTime = input.ReadString(); + break; + } + case 34: { + EndTime = input.ReadString(); + break; + } + case 40: { + QuestGroup = 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: { + MissionId = input.ReadInt32(); + break; + } + case 26: { + OpenTime = input.ReadString(); + break; + } + case 34: { + EndTime = input.ReadString(); + break; + } + case 40: { + QuestGroup = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireRankSeason : pb::IMessage<table_VampireRankSeason> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireRankSeason> _parser = new pb::MessageParser<table_VampireRankSeason>(() => new table_VampireRankSeason()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireRankSeason> 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.ClientTableReflection.Descriptor.MessageTypes[513]; } + } + + [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 table_VampireRankSeason() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireRankSeason(table_VampireRankSeason other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireRankSeason Clone() { + return new table_VampireRankSeason(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireRankSeason> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireRankSeason.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireRankSeason> list_ = new pbc::RepeatedField<global::Nova.Client.VampireRankSeason>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireRankSeason> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireRankSeason); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireRankSeason other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireRankSeason other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivor : pb::IMessage<VampireSurvivor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivor> _parser = new pb::MessageParser<VampireSurvivor>(() => new VampireSurvivor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivor> 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.ClientTableReflection.Descriptor.MessageTypes[514]; } + } + + [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 VampireSurvivor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivor(VampireSurvivor other) : this() { + id_ = other.id_; + name_ = other.name_; + desc_ = other.desc_; + eET_ = other.eET_.Clone(); + notEET_ = other.notEET_.Clone(); + suggestedPower_ = other.suggestedPower_; + recommendBuildRank_ = other.recommendBuildRank_; + type_ = other.type_; + preLevelId_ = other.preLevelId_; + needWorldClass_ = other.needWorldClass_; + firstQuestGroupId_ = other.firstQuestGroupId_; + levelGroupId_ = other.levelGroupId_; + floorId_ = other.floorId_; + normalScore1_ = other.normalScore1_; + eliteScore1_ = other.eliteScore1_; + bossScore1_ = other.bossScore1_; + timeScore1_ = other.timeScore1_; + timeLimit1_ = other.timeLimit1_; + normalScore2_ = other.normalScore2_; + eliteScore2_ = other.eliteScore2_; + bossScore2_ = other.bossScore2_; + timeScore2_ = other.timeScore2_; + timeLimit2_ = other.timeLimit2_; + eETScore1_ = other.eETScore1_.Clone(); + eETScore2_ = other.eETScore2_.Clone(); + fHPreviewMonsterGroupId_ = other.fHPreviewMonsterGroupId_; + sHPreviewMonsterGroupId_ = other.sHPreviewMonsterGroupId_; + coverEpisode_ = other.coverEpisode_; + episode_ = other.episode_; + episode2_ = other.episode2_; + fateCardBundle_ = other.fateCardBundle_.Clone(); + speciaFateCard_ = other.speciaFateCard_; + speciaFateCardParam_ = other.speciaFateCardParam_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivor Clone() { + return new VampireSurvivor(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 "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "EET" field.</summary> + public const int EETFieldNumber = 4; + private static readonly pb::FieldCodec<int> _repeated_eET_codec + = pb::FieldCodec.ForInt32(34); + private readonly pbc::RepeatedField<int> eET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EET { + get { return eET_; } + } + + /// <summary>Field number for the "NotEET" field.</summary> + public const int NotEETFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_notEET_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> notEET_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> NotEET { + get { return notEET_; } + } + + /// <summary>Field number for the "SuggestedPower" field.</summary> + 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; + } + } + + /// <summary>Field number for the "RecommendBuildRank" field.</summary> + public const int RecommendBuildRankFieldNumber = 7; + private int recommendBuildRank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RecommendBuildRank { + get { return recommendBuildRank_; } + set { + recommendBuildRank_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 8; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "PreLevelId" field.</summary> + public const int PreLevelIdFieldNumber = 9; + private int preLevelId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PreLevelId { + get { return preLevelId_; } + set { + preLevelId_ = value; + } + } + + /// <summary>Field number for the "NeedWorldClass" field.</summary> + public const int NeedWorldClassFieldNumber = 10; + private int needWorldClass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NeedWorldClass { + get { return needWorldClass_; } + set { + needWorldClass_ = value; + } + } + + /// <summary>Field number for the "FirstQuestGroupId" field.</summary> + public const int FirstQuestGroupIdFieldNumber = 11; + private int firstQuestGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FirstQuestGroupId { + get { return firstQuestGroupId_; } + set { + firstQuestGroupId_ = value; + } + } + + /// <summary>Field number for the "LevelGroupId" field.</summary> + public const int LevelGroupIdFieldNumber = 12; + private int levelGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LevelGroupId { + get { return levelGroupId_; } + set { + levelGroupId_ = value; + } + } + + /// <summary>Field number for the "FloorId" field.</summary> + public const int FloorIdFieldNumber = 13; + private int floorId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FloorId { + get { return floorId_; } + set { + floorId_ = value; + } + } + + /// <summary>Field number for the "NormalScore1" field.</summary> + public const int NormalScore1FieldNumber = 14; + private int normalScore1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalScore1 { + get { return normalScore1_; } + set { + normalScore1_ = value; + } + } + + /// <summary>Field number for the "EliteScore1" field.</summary> + public const int EliteScore1FieldNumber = 15; + private int eliteScore1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EliteScore1 { + get { return eliteScore1_; } + set { + eliteScore1_ = value; + } + } + + /// <summary>Field number for the "BossScore1" field.</summary> + public const int BossScore1FieldNumber = 16; + private int bossScore1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BossScore1 { + get { return bossScore1_; } + set { + bossScore1_ = value; + } + } + + /// <summary>Field number for the "TimeScore1" field.</summary> + public const int TimeScore1FieldNumber = 17; + private int timeScore1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TimeScore1 { + get { return timeScore1_; } + set { + timeScore1_ = value; + } + } + + /// <summary>Field number for the "TimeLimit1" field.</summary> + public const int TimeLimit1FieldNumber = 18; + private int timeLimit1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TimeLimit1 { + get { return timeLimit1_; } + set { + timeLimit1_ = value; + } + } + + /// <summary>Field number for the "NormalScore2" field.</summary> + public const int NormalScore2FieldNumber = 19; + private int normalScore2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NormalScore2 { + get { return normalScore2_; } + set { + normalScore2_ = value; + } + } + + /// <summary>Field number for the "EliteScore2" field.</summary> + public const int EliteScore2FieldNumber = 20; + private int eliteScore2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EliteScore2 { + get { return eliteScore2_; } + set { + eliteScore2_ = value; + } + } + + /// <summary>Field number for the "BossScore2" field.</summary> + public const int BossScore2FieldNumber = 21; + private int bossScore2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BossScore2 { + get { return bossScore2_; } + set { + bossScore2_ = value; + } + } + + /// <summary>Field number for the "TimeScore2" field.</summary> + public const int TimeScore2FieldNumber = 22; + private int timeScore2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TimeScore2 { + get { return timeScore2_; } + set { + timeScore2_ = value; + } + } + + /// <summary>Field number for the "TimeLimit2" field.</summary> + public const int TimeLimit2FieldNumber = 23; + private int timeLimit2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TimeLimit2 { + get { return timeLimit2_; } + set { + timeLimit2_ = value; + } + } + + /// <summary>Field number for the "EETScore1" field.</summary> + public const int EETScore1FieldNumber = 24; + private static readonly pb::FieldCodec<int> _repeated_eETScore1_codec + = pb::FieldCodec.ForInt32(194); + private readonly pbc::RepeatedField<int> eETScore1_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EETScore1 { + get { return eETScore1_; } + } + + /// <summary>Field number for the "EETScore2" field.</summary> + public const int EETScore2FieldNumber = 25; + private static readonly pb::FieldCodec<int> _repeated_eETScore2_codec + = pb::FieldCodec.ForInt32(202); + private readonly pbc::RepeatedField<int> eETScore2_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> EETScore2 { + get { return eETScore2_; } + } + + /// <summary>Field number for the "FHPreviewMonsterGroupId" field.</summary> + public const int FHPreviewMonsterGroupIdFieldNumber = 26; + private int fHPreviewMonsterGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FHPreviewMonsterGroupId { + get { return fHPreviewMonsterGroupId_; } + set { + fHPreviewMonsterGroupId_ = value; + } + } + + /// <summary>Field number for the "SHPreviewMonsterGroupId" field.</summary> + public const int SHPreviewMonsterGroupIdFieldNumber = 27; + private int sHPreviewMonsterGroupId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SHPreviewMonsterGroupId { + get { return sHPreviewMonsterGroupId_; } + set { + sHPreviewMonsterGroupId_ = value; + } + } + + /// <summary>Field number for the "CoverEpisode" field.</summary> + public const int CoverEpisodeFieldNumber = 28; + private string coverEpisode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CoverEpisode { + get { return coverEpisode_; } + set { + coverEpisode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Episode" field.</summary> + public const int EpisodeFieldNumber = 29; + private string episode_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode { + get { return episode_; } + set { + episode_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Episode2" field.</summary> + public const int Episode2FieldNumber = 30; + private string episode2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Episode2 { + get { return episode2_; } + set { + episode2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "FateCardBundle" field.</summary> + public const int FateCardBundleFieldNumber = 31; + private static readonly pb::FieldCodec<int> _repeated_fateCardBundle_codec + = pb::FieldCodec.ForInt32(250); + private readonly pbc::RepeatedField<int> fateCardBundle_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> FateCardBundle { + get { return fateCardBundle_; } + } + + /// <summary>Field number for the "SpeciaFateCard" field.</summary> + public const int SpeciaFateCardFieldNumber = 32; + private string speciaFateCard_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpeciaFateCard { + get { return speciaFateCard_; } + set { + speciaFateCard_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "SpeciaFateCardParam" field.</summary> + public const int SpeciaFateCardParamFieldNumber = 33; + private string speciaFateCardParam_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpeciaFateCardParam { + get { return speciaFateCardParam_; } + set { + speciaFateCardParam_ = 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 VampireSurvivor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivor 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 (Desc != other.Desc) return false; + if(!eET_.Equals(other.eET_)) return false; + if(!notEET_.Equals(other.notEET_)) return false; + if (SuggestedPower != other.SuggestedPower) return false; + if (RecommendBuildRank != other.RecommendBuildRank) return false; + if (Type != other.Type) return false; + if (PreLevelId != other.PreLevelId) return false; + if (NeedWorldClass != other.NeedWorldClass) return false; + if (FirstQuestGroupId != other.FirstQuestGroupId) return false; + if (LevelGroupId != other.LevelGroupId) return false; + if (FloorId != other.FloorId) return false; + if (NormalScore1 != other.NormalScore1) return false; + if (EliteScore1 != other.EliteScore1) return false; + if (BossScore1 != other.BossScore1) return false; + if (TimeScore1 != other.TimeScore1) return false; + if (TimeLimit1 != other.TimeLimit1) return false; + if (NormalScore2 != other.NormalScore2) return false; + if (EliteScore2 != other.EliteScore2) return false; + if (BossScore2 != other.BossScore2) return false; + if (TimeScore2 != other.TimeScore2) return false; + if (TimeLimit2 != other.TimeLimit2) return false; + if(!eETScore1_.Equals(other.eETScore1_)) return false; + if(!eETScore2_.Equals(other.eETScore2_)) return false; + if (FHPreviewMonsterGroupId != other.FHPreviewMonsterGroupId) return false; + if (SHPreviewMonsterGroupId != other.SHPreviewMonsterGroupId) return false; + if (CoverEpisode != other.CoverEpisode) return false; + if (Episode != other.Episode) return false; + if (Episode2 != other.Episode2) return false; + if(!fateCardBundle_.Equals(other.fateCardBundle_)) return false; + if (SpeciaFateCard != other.SpeciaFateCard) return false; + if (SpeciaFateCardParam != other.SpeciaFateCardParam) 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 (Desc.Length != 0) hash ^= Desc.GetHashCode(); + hash ^= eET_.GetHashCode(); + hash ^= notEET_.GetHashCode(); + if (SuggestedPower != 0) hash ^= SuggestedPower.GetHashCode(); + if (RecommendBuildRank != 0) hash ^= RecommendBuildRank.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (PreLevelId != 0) hash ^= PreLevelId.GetHashCode(); + if (NeedWorldClass != 0) hash ^= NeedWorldClass.GetHashCode(); + if (FirstQuestGroupId != 0) hash ^= FirstQuestGroupId.GetHashCode(); + if (LevelGroupId != 0) hash ^= LevelGroupId.GetHashCode(); + if (FloorId != 0) hash ^= FloorId.GetHashCode(); + if (NormalScore1 != 0) hash ^= NormalScore1.GetHashCode(); + if (EliteScore1 != 0) hash ^= EliteScore1.GetHashCode(); + if (BossScore1 != 0) hash ^= BossScore1.GetHashCode(); + if (TimeScore1 != 0) hash ^= TimeScore1.GetHashCode(); + if (TimeLimit1 != 0) hash ^= TimeLimit1.GetHashCode(); + if (NormalScore2 != 0) hash ^= NormalScore2.GetHashCode(); + if (EliteScore2 != 0) hash ^= EliteScore2.GetHashCode(); + if (BossScore2 != 0) hash ^= BossScore2.GetHashCode(); + if (TimeScore2 != 0) hash ^= TimeScore2.GetHashCode(); + if (TimeLimit2 != 0) hash ^= TimeLimit2.GetHashCode(); + hash ^= eETScore1_.GetHashCode(); + hash ^= eETScore2_.GetHashCode(); + if (FHPreviewMonsterGroupId != 0) hash ^= FHPreviewMonsterGroupId.GetHashCode(); + if (SHPreviewMonsterGroupId != 0) hash ^= SHPreviewMonsterGroupId.GetHashCode(); + if (CoverEpisode.Length != 0) hash ^= CoverEpisode.GetHashCode(); + if (Episode.Length != 0) hash ^= Episode.GetHashCode(); + if (Episode2.Length != 0) hash ^= Episode2.GetHashCode(); + hash ^= fateCardBundle_.GetHashCode(); + if (SpeciaFateCard.Length != 0) hash ^= SpeciaFateCard.GetHashCode(); + if (SpeciaFateCardParam.Length != 0) hash ^= SpeciaFateCardParam.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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + eET_.WriteTo(output, _repeated_eET_codec); + notEET_.WriteTo(output, _repeated_notEET_codec); + if (SuggestedPower != 0) { + output.WriteRawTag(48); + output.WriteInt32(SuggestedPower); + } + if (RecommendBuildRank != 0) { + output.WriteRawTag(56); + output.WriteInt32(RecommendBuildRank); + } + if (Type != 0) { + output.WriteRawTag(64); + output.WriteInt32(Type); + } + if (PreLevelId != 0) { + output.WriteRawTag(72); + output.WriteInt32(PreLevelId); + } + if (NeedWorldClass != 0) { + output.WriteRawTag(80); + output.WriteInt32(NeedWorldClass); + } + if (FirstQuestGroupId != 0) { + output.WriteRawTag(88); + output.WriteInt32(FirstQuestGroupId); + } + if (LevelGroupId != 0) { + output.WriteRawTag(96); + output.WriteInt32(LevelGroupId); + } + if (FloorId != 0) { + output.WriteRawTag(104); + output.WriteInt32(FloorId); + } + if (NormalScore1 != 0) { + output.WriteRawTag(112); + output.WriteInt32(NormalScore1); + } + if (EliteScore1 != 0) { + output.WriteRawTag(120); + output.WriteInt32(EliteScore1); + } + if (BossScore1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(BossScore1); + } + if (TimeScore1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(TimeScore1); + } + if (TimeLimit1 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(TimeLimit1); + } + if (NormalScore2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(NormalScore2); + } + if (EliteScore2 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(EliteScore2); + } + if (BossScore2 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(BossScore2); + } + if (TimeScore2 != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(TimeScore2); + } + if (TimeLimit2 != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(TimeLimit2); + } + eETScore1_.WriteTo(output, _repeated_eETScore1_codec); + eETScore2_.WriteTo(output, _repeated_eETScore2_codec); + if (FHPreviewMonsterGroupId != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(FHPreviewMonsterGroupId); + } + if (SHPreviewMonsterGroupId != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(SHPreviewMonsterGroupId); + } + if (CoverEpisode.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(CoverEpisode); + } + if (Episode.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(Episode); + } + if (Episode2.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Episode2); + } + fateCardBundle_.WriteTo(output, _repeated_fateCardBundle_codec); + if (SpeciaFateCard.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(SpeciaFateCard); + } + if (SpeciaFateCardParam.Length != 0) { + output.WriteRawTag(138, 2); + output.WriteString(SpeciaFateCardParam); + } + 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 (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + eET_.WriteTo(ref output, _repeated_eET_codec); + notEET_.WriteTo(ref output, _repeated_notEET_codec); + if (SuggestedPower != 0) { + output.WriteRawTag(48); + output.WriteInt32(SuggestedPower); + } + if (RecommendBuildRank != 0) { + output.WriteRawTag(56); + output.WriteInt32(RecommendBuildRank); + } + if (Type != 0) { + output.WriteRawTag(64); + output.WriteInt32(Type); + } + if (PreLevelId != 0) { + output.WriteRawTag(72); + output.WriteInt32(PreLevelId); + } + if (NeedWorldClass != 0) { + output.WriteRawTag(80); + output.WriteInt32(NeedWorldClass); + } + if (FirstQuestGroupId != 0) { + output.WriteRawTag(88); + output.WriteInt32(FirstQuestGroupId); + } + if (LevelGroupId != 0) { + output.WriteRawTag(96); + output.WriteInt32(LevelGroupId); + } + if (FloorId != 0) { + output.WriteRawTag(104); + output.WriteInt32(FloorId); + } + if (NormalScore1 != 0) { + output.WriteRawTag(112); + output.WriteInt32(NormalScore1); + } + if (EliteScore1 != 0) { + output.WriteRawTag(120); + output.WriteInt32(EliteScore1); + } + if (BossScore1 != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(BossScore1); + } + if (TimeScore1 != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(TimeScore1); + } + if (TimeLimit1 != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(TimeLimit1); + } + if (NormalScore2 != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(NormalScore2); + } + if (EliteScore2 != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(EliteScore2); + } + if (BossScore2 != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(BossScore2); + } + if (TimeScore2 != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(TimeScore2); + } + if (TimeLimit2 != 0) { + output.WriteRawTag(184, 1); + output.WriteInt32(TimeLimit2); + } + eETScore1_.WriteTo(ref output, _repeated_eETScore1_codec); + eETScore2_.WriteTo(ref output, _repeated_eETScore2_codec); + if (FHPreviewMonsterGroupId != 0) { + output.WriteRawTag(208, 1); + output.WriteInt32(FHPreviewMonsterGroupId); + } + if (SHPreviewMonsterGroupId != 0) { + output.WriteRawTag(216, 1); + output.WriteInt32(SHPreviewMonsterGroupId); + } + if (CoverEpisode.Length != 0) { + output.WriteRawTag(226, 1); + output.WriteString(CoverEpisode); + } + if (Episode.Length != 0) { + output.WriteRawTag(234, 1); + output.WriteString(Episode); + } + if (Episode2.Length != 0) { + output.WriteRawTag(242, 1); + output.WriteString(Episode2); + } + fateCardBundle_.WriteTo(ref output, _repeated_fateCardBundle_codec); + if (SpeciaFateCard.Length != 0) { + output.WriteRawTag(130, 2); + output.WriteString(SpeciaFateCard); + } + if (SpeciaFateCardParam.Length != 0) { + output.WriteRawTag(138, 2); + output.WriteString(SpeciaFateCardParam); + } + 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 (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + size += eET_.CalculateSize(_repeated_eET_codec); + size += notEET_.CalculateSize(_repeated_notEET_codec); + if (SuggestedPower != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SuggestedPower); + } + if (RecommendBuildRank != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RecommendBuildRank); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (PreLevelId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PreLevelId); + } + if (NeedWorldClass != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NeedWorldClass); + } + if (FirstQuestGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FirstQuestGroupId); + } + if (LevelGroupId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LevelGroupId); + } + if (FloorId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FloorId); + } + if (NormalScore1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NormalScore1); + } + if (EliteScore1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EliteScore1); + } + if (BossScore1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(BossScore1); + } + if (TimeScore1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeScore1); + } + if (TimeLimit1 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeLimit1); + } + if (NormalScore2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(NormalScore2); + } + if (EliteScore2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(EliteScore2); + } + if (BossScore2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(BossScore2); + } + if (TimeScore2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeScore2); + } + if (TimeLimit2 != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TimeLimit2); + } + size += eETScore1_.CalculateSize(_repeated_eETScore1_codec); + size += eETScore2_.CalculateSize(_repeated_eETScore2_codec); + if (FHPreviewMonsterGroupId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(FHPreviewMonsterGroupId); + } + if (SHPreviewMonsterGroupId != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SHPreviewMonsterGroupId); + } + if (CoverEpisode.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(CoverEpisode); + } + if (Episode.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Episode); + } + if (Episode2.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Episode2); + } + size += fateCardBundle_.CalculateSize(_repeated_fateCardBundle_codec); + if (SpeciaFateCard.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(SpeciaFateCard); + } + if (SpeciaFateCardParam.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(SpeciaFateCardParam); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + eET_.Add(other.eET_); + notEET_.Add(other.notEET_); + if (other.SuggestedPower != 0) { + SuggestedPower = other.SuggestedPower; + } + if (other.RecommendBuildRank != 0) { + RecommendBuildRank = other.RecommendBuildRank; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.PreLevelId != 0) { + PreLevelId = other.PreLevelId; + } + if (other.NeedWorldClass != 0) { + NeedWorldClass = other.NeedWorldClass; + } + if (other.FirstQuestGroupId != 0) { + FirstQuestGroupId = other.FirstQuestGroupId; + } + if (other.LevelGroupId != 0) { + LevelGroupId = other.LevelGroupId; + } + if (other.FloorId != 0) { + FloorId = other.FloorId; + } + if (other.NormalScore1 != 0) { + NormalScore1 = other.NormalScore1; + } + if (other.EliteScore1 != 0) { + EliteScore1 = other.EliteScore1; + } + if (other.BossScore1 != 0) { + BossScore1 = other.BossScore1; + } + if (other.TimeScore1 != 0) { + TimeScore1 = other.TimeScore1; + } + if (other.TimeLimit1 != 0) { + TimeLimit1 = other.TimeLimit1; + } + if (other.NormalScore2 != 0) { + NormalScore2 = other.NormalScore2; + } + if (other.EliteScore2 != 0) { + EliteScore2 = other.EliteScore2; + } + if (other.BossScore2 != 0) { + BossScore2 = other.BossScore2; + } + if (other.TimeScore2 != 0) { + TimeScore2 = other.TimeScore2; + } + if (other.TimeLimit2 != 0) { + TimeLimit2 = other.TimeLimit2; + } + eETScore1_.Add(other.eETScore1_); + eETScore2_.Add(other.eETScore2_); + if (other.FHPreviewMonsterGroupId != 0) { + FHPreviewMonsterGroupId = other.FHPreviewMonsterGroupId; + } + if (other.SHPreviewMonsterGroupId != 0) { + SHPreviewMonsterGroupId = other.SHPreviewMonsterGroupId; + } + if (other.CoverEpisode.Length != 0) { + CoverEpisode = other.CoverEpisode; + } + if (other.Episode.Length != 0) { + Episode = other.Episode; + } + if (other.Episode2.Length != 0) { + Episode2 = other.Episode2; + } + fateCardBundle_.Add(other.fateCardBundle_); + if (other.SpeciaFateCard.Length != 0) { + SpeciaFateCard = other.SpeciaFateCard; + } + if (other.SpeciaFateCardParam.Length != 0) { + SpeciaFateCardParam = other.SpeciaFateCardParam; + } + _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 26: { + Desc = input.ReadString(); + break; + } + case 34: + case 32: { + eET_.AddEntriesFrom(input, _repeated_eET_codec); + break; + } + case 42: + case 40: { + notEET_.AddEntriesFrom(input, _repeated_notEET_codec); + break; + } + case 48: { + SuggestedPower = input.ReadInt32(); + break; + } + case 56: { + RecommendBuildRank = input.ReadInt32(); + break; + } + case 64: { + Type = input.ReadInt32(); + break; + } + case 72: { + PreLevelId = input.ReadInt32(); + break; + } + case 80: { + NeedWorldClass = input.ReadInt32(); + break; + } + case 88: { + FirstQuestGroupId = input.ReadInt32(); + break; + } + case 96: { + LevelGroupId = input.ReadInt32(); + break; + } + case 104: { + FloorId = input.ReadInt32(); + break; + } + case 112: { + NormalScore1 = input.ReadInt32(); + break; + } + case 120: { + EliteScore1 = input.ReadInt32(); + break; + } + case 128: { + BossScore1 = input.ReadInt32(); + break; + } + case 136: { + TimeScore1 = input.ReadInt32(); + break; + } + case 144: { + TimeLimit1 = input.ReadInt32(); + break; + } + case 152: { + NormalScore2 = input.ReadInt32(); + break; + } + case 160: { + EliteScore2 = input.ReadInt32(); + break; + } + case 168: { + BossScore2 = input.ReadInt32(); + break; + } + case 176: { + TimeScore2 = input.ReadInt32(); + break; + } + case 184: { + TimeLimit2 = input.ReadInt32(); + break; + } + case 194: + case 192: { + eETScore1_.AddEntriesFrom(input, _repeated_eETScore1_codec); + break; + } + case 202: + case 200: { + eETScore2_.AddEntriesFrom(input, _repeated_eETScore2_codec); + break; + } + case 208: { + FHPreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 216: { + SHPreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 226: { + CoverEpisode = input.ReadString(); + break; + } + case 234: { + Episode = input.ReadString(); + break; + } + case 242: { + Episode2 = input.ReadString(); + break; + } + case 250: + case 248: { + fateCardBundle_.AddEntriesFrom(input, _repeated_fateCardBundle_codec); + break; + } + case 258: { + SpeciaFateCard = input.ReadString(); + break; + } + case 266: { + SpeciaFateCardParam = 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 18: { + Name = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: + case 32: { + eET_.AddEntriesFrom(ref input, _repeated_eET_codec); + break; + } + case 42: + case 40: { + notEET_.AddEntriesFrom(ref input, _repeated_notEET_codec); + break; + } + case 48: { + SuggestedPower = input.ReadInt32(); + break; + } + case 56: { + RecommendBuildRank = input.ReadInt32(); + break; + } + case 64: { + Type = input.ReadInt32(); + break; + } + case 72: { + PreLevelId = input.ReadInt32(); + break; + } + case 80: { + NeedWorldClass = input.ReadInt32(); + break; + } + case 88: { + FirstQuestGroupId = input.ReadInt32(); + break; + } + case 96: { + LevelGroupId = input.ReadInt32(); + break; + } + case 104: { + FloorId = input.ReadInt32(); + break; + } + case 112: { + NormalScore1 = input.ReadInt32(); + break; + } + case 120: { + EliteScore1 = input.ReadInt32(); + break; + } + case 128: { + BossScore1 = input.ReadInt32(); + break; + } + case 136: { + TimeScore1 = input.ReadInt32(); + break; + } + case 144: { + TimeLimit1 = input.ReadInt32(); + break; + } + case 152: { + NormalScore2 = input.ReadInt32(); + break; + } + case 160: { + EliteScore2 = input.ReadInt32(); + break; + } + case 168: { + BossScore2 = input.ReadInt32(); + break; + } + case 176: { + TimeScore2 = input.ReadInt32(); + break; + } + case 184: { + TimeLimit2 = input.ReadInt32(); + break; + } + case 194: + case 192: { + eETScore1_.AddEntriesFrom(ref input, _repeated_eETScore1_codec); + break; + } + case 202: + case 200: { + eETScore2_.AddEntriesFrom(ref input, _repeated_eETScore2_codec); + break; + } + case 208: { + FHPreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 216: { + SHPreviewMonsterGroupId = input.ReadInt32(); + break; + } + case 226: { + CoverEpisode = input.ReadString(); + break; + } + case 234: { + Episode = input.ReadString(); + break; + } + case 242: { + Episode2 = input.ReadString(); + break; + } + case 250: + case 248: { + fateCardBundle_.AddEntriesFrom(ref input, _repeated_fateCardBundle_codec); + break; + } + case 258: { + SpeciaFateCard = input.ReadString(); + break; + } + case 266: { + SpeciaFateCardParam = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireSurvivor : pb::IMessage<table_VampireSurvivor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireSurvivor> _parser = new pb::MessageParser<table_VampireSurvivor>(() => new table_VampireSurvivor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireSurvivor> 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.ClientTableReflection.Descriptor.MessageTypes[515]; } + } + + [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 table_VampireSurvivor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireSurvivor(table_VampireSurvivor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireSurvivor Clone() { + return new table_VampireSurvivor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireSurvivor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireSurvivor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireSurvivor> list_ = new pbc::RepeatedField<global::Nova.Client.VampireSurvivor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireSurvivor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireSurvivor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireSurvivor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireSurvivor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorLevel : pb::IMessage<VampireSurvivorLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorLevel> _parser = new pb::MessageParser<VampireSurvivorLevel>(() => new VampireSurvivorLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorLevel> 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.ClientTableReflection.Descriptor.MessageTypes[516]; } + } + + [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 VampireSurvivorLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorLevel(VampireSurvivorLevel other) : this() { + groupID_ = other.groupID_; + level_ = other.level_; + exp_ = other.exp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorLevel Clone() { + return new VampireSurvivorLevel(this); + } + + /// <summary>Field number for the "GroupID" field.</summary> + public const int GroupIDFieldNumber = 1; + 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 = 2; + 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 "Exp" field.</summary> + public const int ExpFieldNumber = 3; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireSurvivorLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (GroupID != other.GroupID) return false; + if (Level != other.Level) return false; + if (Exp != other.Exp) 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 (GroupID != 0) hash ^= GroupID.GetHashCode(); + if (Level != 0) hash ^= Level.GetHashCode(); + if (Exp != 0) hash ^= Exp.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 (GroupID != 0) { + output.WriteRawTag(8); + output.WriteInt32(GroupID); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteInt32(Exp); + } + 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 (GroupID != 0) { + output.WriteRawTag(8); + output.WriteInt32(GroupID); + } + if (Level != 0) { + output.WriteRawTag(16); + output.WriteInt32(Level); + } + if (Exp != 0) { + output.WriteRawTag(24); + output.WriteInt32(Exp); + } + 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 (GroupID != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupID); + } + if (Level != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Level); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorLevel other) { + if (other == null) { + return; + } + if (other.GroupID != 0) { + GroupID = other.GroupID; + } + if (other.Level != 0) { + Level = other.Level; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + _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: { + GroupID = input.ReadInt32(); + break; + } + case 16: { + Level = input.ReadInt32(); + break; + } + case 24: { + Exp = 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: { + GroupID = input.ReadInt32(); + break; + } + case 16: { + Level = input.ReadInt32(); + break; + } + case 24: { + Exp = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireSurvivorLevel : pb::IMessage<table_VampireSurvivorLevel> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireSurvivorLevel> _parser = new pb::MessageParser<table_VampireSurvivorLevel>(() => new table_VampireSurvivorLevel()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireSurvivorLevel> 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.ClientTableReflection.Descriptor.MessageTypes[517]; } + } + + [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 table_VampireSurvivorLevel() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireSurvivorLevel(table_VampireSurvivorLevel other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireSurvivorLevel Clone() { + return new table_VampireSurvivorLevel(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireSurvivorLevel> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireSurvivorLevel.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireSurvivorLevel> list_ = new pbc::RepeatedField<global::Nova.Client.VampireSurvivorLevel>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireSurvivorLevel> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireSurvivorLevel); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireSurvivorLevel other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireSurvivorLevel other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireSurvivorQuest : pb::IMessage<VampireSurvivorQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireSurvivorQuest> _parser = new pb::MessageParser<VampireSurvivorQuest>(() => new VampireSurvivorQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireSurvivorQuest> 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.ClientTableReflection.Descriptor.MessageTypes[518]; } + } + + [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 VampireSurvivorQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorQuest(VampireSurvivorQuest other) : this() { + id_ = other.id_; + groupId_ = other.groupId_; + title_ = other.title_; + desc_ = other.desc_; + jumpTo_ = other.jumpTo_; + order_ = other.order_; + type_ = other.type_; + completeCond_ = other.completeCond_; + completeCondParams_ = other.completeCondParams_; + awardItemTid1_ = other.awardItemTid1_; + awardItemNum1_ = other.awardItemNum1_; + awardItemTid2_ = other.awardItemTid2_; + awardItemNum2_ = other.awardItemNum2_; + awardItemTid3_ = other.awardItemTid3_; + awardItemNum3_ = other.awardItemNum3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireSurvivorQuest Clone() { + return new VampireSurvivorQuest(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 "GroupId" 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 "Title" field.</summary> + public const int TitleFieldNumber = 3; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 4; + 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 "JumpTo" field.</summary> + public const int JumpToFieldNumber = 5; + private int jumpTo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int JumpTo { + get { return jumpTo_; } + set { + jumpTo_ = value; + } + } + + /// <summary>Field number for the "Order" field.</summary> + public const int OrderFieldNumber = 6; + private int order_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Order { + get { return order_; } + set { + order_ = value; + } + } + + /// <summary>Field number for the "Type" field.</summary> + public const int TypeFieldNumber = 7; + private int type_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// <summary>Field number for the "CompleteCond" field.</summary> + public const int CompleteCondFieldNumber = 8; + private int completeCond_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CompleteCond { + get { return completeCond_; } + set { + completeCond_ = value; + } + } + + /// <summary>Field number for the "CompleteCondParams" field.</summary> + public const int CompleteCondParamsFieldNumber = 9; + private string completeCondParams_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CompleteCondParams { + get { return completeCondParams_; } + set { + completeCondParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "AwardItemTid1" field.</summary> + public const int AwardItemTid1FieldNumber = 10; + private int awardItemTid1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid1 { + get { return awardItemTid1_; } + set { + awardItemTid1_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum1" field.</summary> + public const int AwardItemNum1FieldNumber = 11; + private int awardItemNum1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum1 { + get { return awardItemNum1_; } + set { + awardItemNum1_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid2" field.</summary> + public const int AwardItemTid2FieldNumber = 12; + private int awardItemTid2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid2 { + get { return awardItemTid2_; } + set { + awardItemTid2_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum2" field.</summary> + public const int AwardItemNum2FieldNumber = 13; + private int awardItemNum2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum2 { + get { return awardItemNum2_; } + set { + awardItemNum2_ = value; + } + } + + /// <summary>Field number for the "AwardItemTid3" field.</summary> + public const int AwardItemTid3FieldNumber = 14; + private int awardItemTid3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemTid3 { + get { return awardItemTid3_; } + set { + awardItemTid3_ = value; + } + } + + /// <summary>Field number for the "AwardItemNum3" field.</summary> + public const int AwardItemNum3FieldNumber = 15; + private int awardItemNum3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int AwardItemNum3 { + get { return awardItemNum3_; } + set { + awardItemNum3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireSurvivorQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireSurvivorQuest 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 (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (JumpTo != other.JumpTo) return false; + if (Order != other.Order) return false; + if (Type != other.Type) return false; + if (CompleteCond != other.CompleteCond) return false; + if (CompleteCondParams != other.CompleteCondParams) return false; + if (AwardItemTid1 != other.AwardItemTid1) return false; + if (AwardItemNum1 != other.AwardItemNum1) return false; + if (AwardItemTid2 != other.AwardItemTid2) return false; + if (AwardItemNum2 != other.AwardItemNum2) return false; + if (AwardItemTid3 != other.AwardItemTid3) return false; + if (AwardItemNum3 != other.AwardItemNum3) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (JumpTo != 0) hash ^= JumpTo.GetHashCode(); + if (Order != 0) hash ^= Order.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (CompleteCond != 0) hash ^= CompleteCond.GetHashCode(); + if (CompleteCondParams.Length != 0) hash ^= CompleteCondParams.GetHashCode(); + if (AwardItemTid1 != 0) hash ^= AwardItemTid1.GetHashCode(); + if (AwardItemNum1 != 0) hash ^= AwardItemNum1.GetHashCode(); + if (AwardItemTid2 != 0) hash ^= AwardItemTid2.GetHashCode(); + if (AwardItemNum2 != 0) hash ^= AwardItemNum2.GetHashCode(); + if (AwardItemTid3 != 0) hash ^= AwardItemTid3.GetHashCode(); + if (AwardItemNum3 != 0) hash ^= AwardItemNum3.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 (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(40); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(48); + output.WriteInt32(Order); + } + if (Type != 0) { + output.WriteRawTag(56); + output.WriteInt32(Type); + } + if (CompleteCond != 0) { + output.WriteRawTag(64); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(AwardItemNum3); + } + 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 (Title.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Desc); + } + if (JumpTo != 0) { + output.WriteRawTag(40); + output.WriteInt32(JumpTo); + } + if (Order != 0) { + output.WriteRawTag(48); + output.WriteInt32(Order); + } + if (Type != 0) { + output.WriteRawTag(56); + output.WriteInt32(Type); + } + if (CompleteCond != 0) { + output.WriteRawTag(64); + output.WriteInt32(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + output.WriteRawTag(74); + output.WriteString(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + output.WriteRawTag(80); + output.WriteInt32(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + output.WriteRawTag(88); + output.WriteInt32(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + output.WriteRawTag(96); + output.WriteInt32(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + output.WriteRawTag(104); + output.WriteInt32(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + output.WriteRawTag(112); + output.WriteInt32(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + output.WriteRawTag(120); + output.WriteInt32(AwardItemNum3); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (JumpTo != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(JumpTo); + } + if (Order != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (CompleteCond != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CompleteCond); + } + if (CompleteCondParams.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CompleteCondParams); + } + if (AwardItemTid1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid1); + } + if (AwardItemNum1 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum1); + } + if (AwardItemTid2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid2); + } + if (AwardItemNum2 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum2); + } + if (AwardItemTid3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemTid3); + } + if (AwardItemNum3 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(AwardItemNum3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireSurvivorQuest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.GroupId != 0) { + GroupId = other.GroupId; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.JumpTo != 0) { + JumpTo = other.JumpTo; + } + if (other.Order != 0) { + Order = other.Order; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.CompleteCond != 0) { + CompleteCond = other.CompleteCond; + } + if (other.CompleteCondParams.Length != 0) { + CompleteCondParams = other.CompleteCondParams; + } + if (other.AwardItemTid1 != 0) { + AwardItemTid1 = other.AwardItemTid1; + } + if (other.AwardItemNum1 != 0) { + AwardItemNum1 = other.AwardItemNum1; + } + if (other.AwardItemTid2 != 0) { + AwardItemTid2 = other.AwardItemTid2; + } + if (other.AwardItemNum2 != 0) { + AwardItemNum2 = other.AwardItemNum2; + } + if (other.AwardItemTid3 != 0) { + AwardItemTid3 = other.AwardItemTid3; + } + if (other.AwardItemNum3 != 0) { + AwardItemNum3 = other.AwardItemNum3; + } + _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 26: { + Title = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + JumpTo = input.ReadInt32(); + break; + } + case 48: { + Order = input.ReadInt32(); + break; + } + case 56: { + Type = input.ReadInt32(); + break; + } + case 64: { + CompleteCond = input.ReadInt32(); + break; + } + case 74: { + CompleteCondParams = input.ReadString(); + break; + } + case 80: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 88: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 96: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 104: { + AwardItemNum2 = input.ReadInt32(); + break; + } + case 112: { + AwardItemTid3 = input.ReadInt32(); + break; + } + case 120: { + AwardItemNum3 = 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 26: { + Title = input.ReadString(); + break; + } + case 34: { + Desc = input.ReadString(); + break; + } + case 40: { + JumpTo = input.ReadInt32(); + break; + } + case 48: { + Order = input.ReadInt32(); + break; + } + case 56: { + Type = input.ReadInt32(); + break; + } + case 64: { + CompleteCond = input.ReadInt32(); + break; + } + case 74: { + CompleteCondParams = input.ReadString(); + break; + } + case 80: { + AwardItemTid1 = input.ReadInt32(); + break; + } + case 88: { + AwardItemNum1 = input.ReadInt32(); + break; + } + case 96: { + AwardItemTid2 = input.ReadInt32(); + break; + } + case 104: { + AwardItemNum2 = input.ReadInt32(); + break; + } + case 112: { + AwardItemTid3 = input.ReadInt32(); + break; + } + case 120: { + AwardItemNum3 = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireSurvivorQuest : pb::IMessage<table_VampireSurvivorQuest> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireSurvivorQuest> _parser = new pb::MessageParser<table_VampireSurvivorQuest>(() => new table_VampireSurvivorQuest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireSurvivorQuest> 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.ClientTableReflection.Descriptor.MessageTypes[519]; } + } + + [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 table_VampireSurvivorQuest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireSurvivorQuest(table_VampireSurvivorQuest other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireSurvivorQuest Clone() { + return new table_VampireSurvivorQuest(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireSurvivorQuest> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireSurvivorQuest.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireSurvivorQuest> list_ = new pbc::RepeatedField<global::Nova.Client.VampireSurvivorQuest>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireSurvivorQuest> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireSurvivorQuest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireSurvivorQuest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireSurvivorQuest other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireTalent : pb::IMessage<VampireTalent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireTalent> _parser = new pb::MessageParser<VampireTalent>(() => new VampireTalent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireTalent> 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.ClientTableReflection.Descriptor.MessageTypes[520]; } + } + + [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 VampireTalent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireTalent(VampireTalent other) : this() { + id_ = other.id_; + name_ = other.name_; + descTag_ = other.descTag_; + param_ = other.param_; + prev_ = other.prev_.Clone(); + isServer_ = other.isServer_; + isClient_ = other.isClient_; + effect_ = other.effect_; + params_ = other.params_; + point_ = other.point_; + icon_ = other.icon_; + effectId_ = other.effectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireTalent Clone() { + return new VampireTalent(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 "DescTag" field.</summary> + public const int DescTagFieldNumber = 3; + private int descTag_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DescTag { + get { return descTag_; } + set { + descTag_ = value; + } + } + + /// <summary>Field number for the "Param" field.</summary> + public const int ParamFieldNumber = 4; + private int param_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Param { + get { return param_; } + set { + param_ = value; + } + } + + /// <summary>Field number for the "Prev" field.</summary> + public const int PrevFieldNumber = 5; + private static readonly pb::FieldCodec<int> _repeated_prev_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField<int> prev_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> Prev { + get { return prev_; } + } + + /// <summary>Field number for the "IsServer" field.</summary> + public const int IsServerFieldNumber = 6; + private bool isServer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsServer { + get { return isServer_; } + set { + isServer_ = value; + } + } + + /// <summary>Field number for the "IsClient" field.</summary> + public const int IsClientFieldNumber = 7; + private bool isClient_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsClient { + get { return isClient_; } + set { + isClient_ = value; + } + } + + /// <summary>Field number for the "Effect" field.</summary> + public const int EffectFieldNumber = 8; + private int effect_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Effect { + get { return effect_; } + set { + effect_ = value; + } + } + + /// <summary>Field number for the "Params" field.</summary> + public const int ParamsFieldNumber = 9; + private string params_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Params { + get { return params_; } + set { + params_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Point" field.</summary> + public const int PointFieldNumber = 10; + private int point_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Point { + get { return point_; } + set { + point_ = value; + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 11; + 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 "EffectId" field.</summary> + public const int EffectIdFieldNumber = 12; + private int effectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int EffectId { + get { return effectId_; } + set { + effectId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireTalent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireTalent 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 (DescTag != other.DescTag) return false; + if (Param != other.Param) return false; + if(!prev_.Equals(other.prev_)) return false; + if (IsServer != other.IsServer) return false; + if (IsClient != other.IsClient) return false; + if (Effect != other.Effect) return false; + if (Params != other.Params) return false; + if (Point != other.Point) return false; + if (Icon != other.Icon) return false; + if (EffectId != other.EffectId) 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 (DescTag != 0) hash ^= DescTag.GetHashCode(); + if (Param != 0) hash ^= Param.GetHashCode(); + hash ^= prev_.GetHashCode(); + if (IsServer != false) hash ^= IsServer.GetHashCode(); + if (IsClient != false) hash ^= IsClient.GetHashCode(); + if (Effect != 0) hash ^= Effect.GetHashCode(); + if (Params.Length != 0) hash ^= Params.GetHashCode(); + if (Point != 0) hash ^= Point.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (EffectId != 0) hash ^= EffectId.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 (DescTag != 0) { + output.WriteRawTag(24); + output.WriteInt32(DescTag); + } + if (Param != 0) { + output.WriteRawTag(32); + output.WriteInt32(Param); + } + prev_.WriteTo(output, _repeated_prev_codec); + if (IsServer != false) { + output.WriteRawTag(48); + output.WriteBool(IsServer); + } + if (IsClient != false) { + output.WriteRawTag(56); + output.WriteBool(IsClient); + } + if (Effect != 0) { + output.WriteRawTag(64); + output.WriteInt32(Effect); + } + if (Params.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Params); + } + if (Point != 0) { + output.WriteRawTag(80); + output.WriteInt32(Point); + } + if (Icon.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Icon); + } + if (EffectId != 0) { + output.WriteRawTag(96); + output.WriteInt32(EffectId); + } + 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 (DescTag != 0) { + output.WriteRawTag(24); + output.WriteInt32(DescTag); + } + if (Param != 0) { + output.WriteRawTag(32); + output.WriteInt32(Param); + } + prev_.WriteTo(ref output, _repeated_prev_codec); + if (IsServer != false) { + output.WriteRawTag(48); + output.WriteBool(IsServer); + } + if (IsClient != false) { + output.WriteRawTag(56); + output.WriteBool(IsClient); + } + if (Effect != 0) { + output.WriteRawTag(64); + output.WriteInt32(Effect); + } + if (Params.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Params); + } + if (Point != 0) { + output.WriteRawTag(80); + output.WriteInt32(Point); + } + if (Icon.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Icon); + } + if (EffectId != 0) { + output.WriteRawTag(96); + output.WriteInt32(EffectId); + } + 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 (DescTag != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DescTag); + } + if (Param != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Param); + } + size += prev_.CalculateSize(_repeated_prev_codec); + if (IsServer != false) { + size += 1 + 1; + } + if (IsClient != false) { + size += 1 + 1; + } + if (Effect != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect); + } + if (Params.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Params); + } + if (Point != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Point); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (EffectId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(EffectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireTalent other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.DescTag != 0) { + DescTag = other.DescTag; + } + if (other.Param != 0) { + Param = other.Param; + } + prev_.Add(other.prev_); + if (other.IsServer != false) { + IsServer = other.IsServer; + } + if (other.IsClient != false) { + IsClient = other.IsClient; + } + if (other.Effect != 0) { + Effect = other.Effect; + } + if (other.Params.Length != 0) { + Params = other.Params; + } + if (other.Point != 0) { + Point = other.Point; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.EffectId != 0) { + EffectId = other.EffectId; + } + _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: { + DescTag = input.ReadInt32(); + break; + } + case 32: { + Param = input.ReadInt32(); + break; + } + case 42: + case 40: { + prev_.AddEntriesFrom(input, _repeated_prev_codec); + break; + } + case 48: { + IsServer = input.ReadBool(); + break; + } + case 56: { + IsClient = input.ReadBool(); + break; + } + case 64: { + Effect = input.ReadInt32(); + break; + } + case 74: { + Params = input.ReadString(); + break; + } + case 80: { + Point = input.ReadInt32(); + break; + } + case 90: { + Icon = input.ReadString(); + break; + } + case 96: { + EffectId = 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 18: { + Name = input.ReadString(); + break; + } + case 24: { + DescTag = input.ReadInt32(); + break; + } + case 32: { + Param = input.ReadInt32(); + break; + } + case 42: + case 40: { + prev_.AddEntriesFrom(ref input, _repeated_prev_codec); + break; + } + case 48: { + IsServer = input.ReadBool(); + break; + } + case 56: { + IsClient = input.ReadBool(); + break; + } + case 64: { + Effect = input.ReadInt32(); + break; + } + case 74: { + Params = input.ReadString(); + break; + } + case 80: { + Point = input.ReadInt32(); + break; + } + case 90: { + Icon = input.ReadString(); + break; + } + case 96: { + EffectId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireTalent : pb::IMessage<table_VampireTalent> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireTalent> _parser = new pb::MessageParser<table_VampireTalent>(() => new table_VampireTalent()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireTalent> 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.ClientTableReflection.Descriptor.MessageTypes[521]; } + } + + [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 table_VampireTalent() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireTalent(table_VampireTalent other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireTalent Clone() { + return new table_VampireTalent(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireTalent> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireTalent.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireTalent> list_ = new pbc::RepeatedField<global::Nova.Client.VampireTalent>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireTalent> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireTalent); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireTalent other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireTalent other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireTalentDesc : pb::IMessage<VampireTalentDesc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireTalentDesc> _parser = new pb::MessageParser<VampireTalentDesc>(() => new VampireTalentDesc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireTalentDesc> 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.ClientTableReflection.Descriptor.MessageTypes[522]; } + } + + [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 VampireTalentDesc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireTalentDesc(VampireTalentDesc other) : this() { + id_ = other.id_; + num_ = other.num_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireTalentDesc Clone() { + return new VampireTalentDesc(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 "Num" field.</summary> + public const int NumFieldNumber = 2; + private string num_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Num { + get { return num_; } + set { + num_ = 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 VampireTalentDesc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireTalentDesc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Num != other.Num) 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 (Num.Length != 0) hash ^= Num.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 (Num.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Num); + } + 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 (Num.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Num); + } + 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 (Num.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Num); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireTalentDesc other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Num.Length != 0) { + Num = other.Num; + } + _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: { + Num = 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 18: { + Num = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireTalentDesc : pb::IMessage<table_VampireTalentDesc> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireTalentDesc> _parser = new pb::MessageParser<table_VampireTalentDesc>(() => new table_VampireTalentDesc()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireTalentDesc> 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.ClientTableReflection.Descriptor.MessageTypes[523]; } + } + + [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 table_VampireTalentDesc() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireTalentDesc(table_VampireTalentDesc other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireTalentDesc Clone() { + return new table_VampireTalentDesc(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireTalentDesc> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireTalentDesc.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireTalentDesc> list_ = new pbc::RepeatedField<global::Nova.Client.VampireTalentDesc>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireTalentDesc> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireTalentDesc); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireTalentDesc other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireTalentDesc other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VampireTalentFloor : pb::IMessage<VampireTalentFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VampireTalentFloor> _parser = new pb::MessageParser<VampireTalentFloor>(() => new VampireTalentFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VampireTalentFloor> 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.ClientTableReflection.Descriptor.MessageTypes[524]; } + } + + [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 VampireTalentFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireTalentFloor(VampireTalentFloor other) : this() { + id_ = other.id_; + num_ = other.num_; + talentId_ = other.talentId_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VampireTalentFloor Clone() { + return new VampireTalentFloor(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 "Num" field.</summary> + public const int NumFieldNumber = 2; + 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 "TalentId" field.</summary> + public const int TalentIdFieldNumber = 3; + private static readonly pb::FieldCodec<int> _repeated_talentId_codec + = pb::FieldCodec.ForInt32(26); + private readonly pbc::RepeatedField<int> talentId_ = new pbc::RepeatedField<int>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<int> TalentId { + get { return talentId_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as VampireTalentFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VampireTalentFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Num != other.Num) return false; + if(!talentId_.Equals(other.talentId_)) 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 (Num != 0) hash ^= Num.GetHashCode(); + hash ^= talentId_.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 (Num != 0) { + output.WriteRawTag(16); + output.WriteInt32(Num); + } + talentId_.WriteTo(output, _repeated_talentId_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 (Num != 0) { + output.WriteRawTag(16); + output.WriteInt32(Num); + } + talentId_.WriteTo(ref output, _repeated_talentId_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 (Num != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num); + } + size += talentId_.CalculateSize(_repeated_talentId_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VampireTalentFloor other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Num != 0) { + Num = other.Num; + } + talentId_.Add(other.talentId_); + _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: { + Num = input.ReadInt32(); + break; + } + case 26: + case 24: { + talentId_.AddEntriesFrom(input, _repeated_talentId_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: { + Num = input.ReadInt32(); + break; + } + case 26: + case 24: { + talentId_.AddEntriesFrom(ref input, _repeated_talentId_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VampireTalentFloor : pb::IMessage<table_VampireTalentFloor> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VampireTalentFloor> _parser = new pb::MessageParser<table_VampireTalentFloor>(() => new table_VampireTalentFloor()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VampireTalentFloor> 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.ClientTableReflection.Descriptor.MessageTypes[525]; } + } + + [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 table_VampireTalentFloor() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireTalentFloor(table_VampireTalentFloor other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VampireTalentFloor Clone() { + return new table_VampireTalentFloor(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VampireTalentFloor> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VampireTalentFloor.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VampireTalentFloor> list_ = new pbc::RepeatedField<global::Nova.Client.VampireTalentFloor>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VampireTalentFloor> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VampireTalentFloor); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VampireTalentFloor other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VampireTalentFloor other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class VoDirectory : pb::IMessage<VoDirectory> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<VoDirectory> _parser = new pb::MessageParser<VoDirectory>(() => new VoDirectory()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<VoDirectory> 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.ClientTableReflection.Descriptor.MessageTypes[526]; } + } + + [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 VoDirectory() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VoDirectory(VoDirectory other) : this() { + id_ = other.id_; + voResource_ = other.voResource_; + characterId_ = other.characterId_; + votype_ = other.votype_; + lines_ = other.lines_; + motion_ = other.motion_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public VoDirectory Clone() { + return new VoDirectory(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 "voResource" field.</summary> + public const int VoResourceFieldNumber = 2; + private string voResource_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string VoResource { + get { return voResource_; } + set { + voResource_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "characterId" field.</summary> + public const int CharacterIdFieldNumber = 3; + private int characterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CharacterId { + get { return characterId_; } + set { + characterId_ = value; + } + } + + /// <summary>Field number for the "votype" field.</summary> + public const int VotypeFieldNumber = 4; + private string votype_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Votype { + get { return votype_; } + set { + votype_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "lines" field.</summary> + public const int LinesFieldNumber = 5; + private string lines_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Lines { + get { return lines_; } + set { + lines_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "motion" field.</summary> + public const int MotionFieldNumber = 6; + private string motion_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Motion { + get { return motion_; } + set { + motion_ = 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 VoDirectory); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(VoDirectory other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (VoResource != other.VoResource) return false; + if (CharacterId != other.CharacterId) return false; + if (Votype != other.Votype) return false; + if (Lines != other.Lines) return false; + if (Motion != other.Motion) 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 (VoResource.Length != 0) hash ^= VoResource.GetHashCode(); + if (CharacterId != 0) hash ^= CharacterId.GetHashCode(); + if (Votype.Length != 0) hash ^= Votype.GetHashCode(); + if (Lines.Length != 0) hash ^= Lines.GetHashCode(); + if (Motion.Length != 0) hash ^= Motion.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 (VoResource.Length != 0) { + output.WriteRawTag(18); + output.WriteString(VoResource); + } + if (CharacterId != 0) { + output.WriteRawTag(24); + output.WriteInt32(CharacterId); + } + if (Votype.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Votype); + } + if (Lines.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Lines); + } + if (Motion.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Motion); + } + 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 (VoResource.Length != 0) { + output.WriteRawTag(18); + output.WriteString(VoResource); + } + if (CharacterId != 0) { + output.WriteRawTag(24); + output.WriteInt32(CharacterId); + } + if (Votype.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Votype); + } + if (Lines.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Lines); + } + if (Motion.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Motion); + } + 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 (VoResource.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(VoResource); + } + if (CharacterId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CharacterId); + } + if (Votype.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Votype); + } + if (Lines.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Lines); + } + if (Motion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Motion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(VoDirectory other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.VoResource.Length != 0) { + VoResource = other.VoResource; + } + if (other.CharacterId != 0) { + CharacterId = other.CharacterId; + } + if (other.Votype.Length != 0) { + Votype = other.Votype; + } + if (other.Lines.Length != 0) { + Lines = other.Lines; + } + if (other.Motion.Length != 0) { + Motion = other.Motion; + } + _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: { + VoResource = input.ReadString(); + break; + } + case 24: { + CharacterId = input.ReadInt32(); + break; + } + case 34: { + Votype = input.ReadString(); + break; + } + case 42: { + Lines = input.ReadString(); + break; + } + case 50: { + Motion = 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 18: { + VoResource = input.ReadString(); + break; + } + case 24: { + CharacterId = input.ReadInt32(); + break; + } + case 34: { + Votype = input.ReadString(); + break; + } + case 42: { + Lines = input.ReadString(); + break; + } + case 50: { + Motion = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_VoDirectory : pb::IMessage<table_VoDirectory> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_VoDirectory> _parser = new pb::MessageParser<table_VoDirectory>(() => new table_VoDirectory()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_VoDirectory> 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.ClientTableReflection.Descriptor.MessageTypes[527]; } + } + + [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 table_VoDirectory() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VoDirectory(table_VoDirectory other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_VoDirectory Clone() { + return new table_VoDirectory(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.VoDirectory> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.VoDirectory.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.VoDirectory> list_ = new pbc::RepeatedField<global::Nova.Client.VoDirectory>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.VoDirectory> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_VoDirectory); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_VoDirectory other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_VoDirectory other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WeightParameter : pb::IMessage<WeightParameter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<WeightParameter> _parser = new pb::MessageParser<WeightParameter>(() => new WeightParameter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<WeightParameter> 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.ClientTableReflection.Descriptor.MessageTypes[528]; } + } + + [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 WeightParameter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WeightParameter(WeightParameter other) : this() { + id_ = other.id_; + proportion_ = other.proportion_; + effect_ = other.effect_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WeightParameter Clone() { + return new WeightParameter(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 "Proportion" field.</summary> + public const int ProportionFieldNumber = 2; + private int proportion_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Proportion { + get { return proportion_; } + set { + proportion_ = value; + } + } + + /// <summary>Field number for the "effect" field.</summary> + public const int EffectFieldNumber = 3; + private int effect_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Effect { + get { return effect_; } + set { + effect_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WeightParameter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WeightParameter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Proportion != other.Proportion) return false; + if (Effect != other.Effect) 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 (Proportion != 0) hash ^= Proportion.GetHashCode(); + if (Effect != 0) hash ^= Effect.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 (Proportion != 0) { + output.WriteRawTag(16); + output.WriteInt32(Proportion); + } + if (Effect != 0) { + output.WriteRawTag(24); + output.WriteInt32(Effect); + } + 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 (Proportion != 0) { + output.WriteRawTag(16); + output.WriteInt32(Proportion); + } + if (Effect != 0) { + output.WriteRawTag(24); + output.WriteInt32(Effect); + } + 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 (Proportion != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Proportion); + } + if (Effect != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Effect); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WeightParameter other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Proportion != 0) { + Proportion = other.Proportion; + } + if (other.Effect != 0) { + Effect = other.Effect; + } + _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: { + Proportion = input.ReadInt32(); + break; + } + case 24: { + Effect = 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: { + Proportion = input.ReadInt32(); + break; + } + case 24: { + Effect = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_WeightParameter : pb::IMessage<table_WeightParameter> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_WeightParameter> _parser = new pb::MessageParser<table_WeightParameter>(() => new table_WeightParameter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_WeightParameter> 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.ClientTableReflection.Descriptor.MessageTypes[529]; } + } + + [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 table_WeightParameter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_WeightParameter(table_WeightParameter other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_WeightParameter Clone() { + return new table_WeightParameter(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.WeightParameter> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.WeightParameter.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.WeightParameter> list_ = new pbc::RepeatedField<global::Nova.Client.WeightParameter>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.WeightParameter> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_WeightParameter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_WeightParameter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_WeightParameter other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Word : pb::IMessage<Word> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Word> _parser = new pb::MessageParser<Word>(() => new Word()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Word> 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.ClientTableReflection.Descriptor.MessageTypes[530]; } + } + + [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 Word() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Word(Word other) : this() { + id_ = other.id_; + title_ = other.title_; + desc_ = other.desc_; + color_ = other.color_; + icon_ = other.icon_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + param5_ = other.param5_; + param6_ = other.param6_; + param7_ = other.param7_; + param8_ = other.param8_; + param9_ = other.param9_; + param10_ = other.param10_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Word Clone() { + return new Word(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Desc" field.</summary> + public const int DescFieldNumber = 3; + 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 "Color" field.</summary> + public const int ColorFieldNumber = 4; + private string color_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Color { + get { return color_; } + set { + color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 5; + 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 "Param1" field.</summary> + public const int Param1FieldNumber = 6; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 7; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 8; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 9; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 10; + private string param5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param5 { + get { return param5_; } + set { + param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 11; + private string param6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param6 { + get { return param6_; } + set { + param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param7" field.</summary> + public const int Param7FieldNumber = 12; + private string param7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param7 { + get { return param7_; } + set { + param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param8" field.</summary> + public const int Param8FieldNumber = 13; + private string param8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param8 { + get { return param8_; } + set { + param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param9" field.</summary> + public const int Param9FieldNumber = 14; + private string param9_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param9 { + get { return param9_; } + set { + param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param10" field.</summary> + public const int Param10FieldNumber = 15; + private string param10_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param10 { + get { return param10_; } + set { + param10_ = 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 Word); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Word other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Desc != other.Desc) return false; + if (Color != other.Color) return false; + if (Icon != other.Icon) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) return false; + if (Param5 != other.Param5) return false; + if (Param6 != other.Param6) return false; + if (Param7 != other.Param7) return false; + if (Param8 != other.Param8) return false; + if (Param9 != other.Param9) return false; + if (Param10 != other.Param10) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Color.Length != 0) hash ^= Color.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.GetHashCode(); + if (Param5.Length != 0) hash ^= Param5.GetHashCode(); + if (Param6.Length != 0) hash ^= Param6.GetHashCode(); + if (Param7.Length != 0) hash ^= Param7.GetHashCode(); + if (Param8.Length != 0) hash ^= Param8.GetHashCode(); + if (Param9.Length != 0) hash ^= Param9.GetHashCode(); + if (Param10.Length != 0) hash ^= Param10.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Color.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Color); + } + if (Icon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon); + } + if (Param1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Param10); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Desc.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Desc); + } + if (Color.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Color); + } + if (Icon.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Icon); + } + if (Param1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Param10); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Color.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Param1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (Param5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param5); + } + if (Param6.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param6); + } + if (Param7.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param7); + } + if (Param8.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param8); + } + if (Param9.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param9); + } + if (Param10.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param10); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Word other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Color.Length != 0) { + Color = other.Color; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + if (other.Param5.Length != 0) { + Param5 = other.Param5; + } + if (other.Param6.Length != 0) { + Param6 = other.Param6; + } + if (other.Param7.Length != 0) { + Param7 = other.Param7; + } + if (other.Param8.Length != 0) { + Param8 = other.Param8; + } + if (other.Param9.Length != 0) { + Param9 = other.Param9; + } + if (other.Param10.Length != 0) { + Param10 = other.Param10; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Color = input.ReadString(); + break; + } + case 42: { + Icon = input.ReadString(); + break; + } + case 50: { + Param1 = input.ReadString(); + break; + } + case 58: { + Param2 = input.ReadString(); + break; + } + case 66: { + Param3 = input.ReadString(); + break; + } + case 74: { + Param4 = input.ReadString(); + break; + } + case 82: { + Param5 = input.ReadString(); + break; + } + case 90: { + Param6 = input.ReadString(); + break; + } + case 98: { + Param7 = input.ReadString(); + break; + } + case 106: { + Param8 = input.ReadString(); + break; + } + case 114: { + Param9 = input.ReadString(); + break; + } + case 122: { + Param10 = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Desc = input.ReadString(); + break; + } + case 34: { + Color = input.ReadString(); + break; + } + case 42: { + Icon = input.ReadString(); + break; + } + case 50: { + Param1 = input.ReadString(); + break; + } + case 58: { + Param2 = input.ReadString(); + break; + } + case 66: { + Param3 = input.ReadString(); + break; + } + case 74: { + Param4 = input.ReadString(); + break; + } + case 82: { + Param5 = input.ReadString(); + break; + } + case 90: { + Param6 = input.ReadString(); + break; + } + case 98: { + Param7 = input.ReadString(); + break; + } + case 106: { + Param8 = input.ReadString(); + break; + } + case 114: { + Param9 = input.ReadString(); + break; + } + case 122: { + Param10 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_Word : pb::IMessage<table_Word> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_Word> _parser = new pb::MessageParser<table_Word>(() => new table_Word()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_Word> 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.ClientTableReflection.Descriptor.MessageTypes[531]; } + } + + [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 table_Word() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Word(table_Word other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_Word Clone() { + return new table_Word(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.Word> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.Word.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Word> list_ = new pbc::RepeatedField<global::Nova.Client.Word>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Word> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_Word); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_Word other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_Word other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WordSuper : pb::IMessage<WordSuper> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<WordSuper> _parser = new pb::MessageParser<WordSuper>(() => new WordSuper()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<WordSuper> 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.ClientTableReflection.Descriptor.MessageTypes[532]; } + } + + [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 WordSuper() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordSuper(WordSuper other) : this() { + id_ = other.id_; + title_ = other.title_; + color_ = other.color_; + icon_ = other.icon_; + desc_ = other.desc_; + param1_ = other.param1_; + param2_ = other.param2_; + param3_ = other.param3_; + param4_ = other.param4_; + param5_ = other.param5_; + param6_ = other.param6_; + param7_ = other.param7_; + param8_ = other.param8_; + param9_ = other.param9_; + param10_ = other.param10_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WordSuper Clone() { + return new WordSuper(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 "Title" field.</summary> + public const int TitleFieldNumber = 2; + private string title_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Title { + get { return title_; } + set { + title_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Color" field.</summary> + public const int ColorFieldNumber = 3; + private string color_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Color { + get { return color_; } + set { + color_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Icon" field.</summary> + public const int IconFieldNumber = 4; + 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 "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 "Param1" field.</summary> + public const int Param1FieldNumber = 6; + private string param1_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param1 { + get { return param1_; } + set { + param1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param2" field.</summary> + public const int Param2FieldNumber = 7; + private string param2_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param2 { + get { return param2_; } + set { + param2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param3" field.</summary> + public const int Param3FieldNumber = 8; + private string param3_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param3 { + get { return param3_; } + set { + param3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param4" field.</summary> + public const int Param4FieldNumber = 9; + private string param4_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param4 { + get { return param4_; } + set { + param4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param5" field.</summary> + public const int Param5FieldNumber = 10; + private string param5_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param5 { + get { return param5_; } + set { + param5_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param6" field.</summary> + public const int Param6FieldNumber = 11; + private string param6_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param6 { + get { return param6_; } + set { + param6_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param7" field.</summary> + public const int Param7FieldNumber = 12; + private string param7_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param7 { + get { return param7_; } + set { + param7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param8" field.</summary> + public const int Param8FieldNumber = 13; + private string param8_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param8 { + get { return param8_; } + set { + param8_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param9" field.</summary> + public const int Param9FieldNumber = 14; + private string param9_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param9 { + get { return param9_; } + set { + param9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "Param10" field.</summary> + public const int Param10FieldNumber = 15; + private string param10_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Param10 { + get { return param10_; } + set { + param10_ = 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 WordSuper); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WordSuper other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Title != other.Title) return false; + if (Color != other.Color) return false; + if (Icon != other.Icon) return false; + if (Desc != other.Desc) return false; + if (Param1 != other.Param1) return false; + if (Param2 != other.Param2) return false; + if (Param3 != other.Param3) return false; + if (Param4 != other.Param4) return false; + if (Param5 != other.Param5) return false; + if (Param6 != other.Param6) return false; + if (Param7 != other.Param7) return false; + if (Param8 != other.Param8) return false; + if (Param9 != other.Param9) return false; + if (Param10 != other.Param10) 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 (Title.Length != 0) hash ^= Title.GetHashCode(); + if (Color.Length != 0) hash ^= Color.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Param1.Length != 0) hash ^= Param1.GetHashCode(); + if (Param2.Length != 0) hash ^= Param2.GetHashCode(); + if (Param3.Length != 0) hash ^= Param3.GetHashCode(); + if (Param4.Length != 0) hash ^= Param4.GetHashCode(); + if (Param5.Length != 0) hash ^= Param5.GetHashCode(); + if (Param6.Length != 0) hash ^= Param6.GetHashCode(); + if (Param7.Length != 0) hash ^= Param7.GetHashCode(); + if (Param8.Length != 0) hash ^= Param8.GetHashCode(); + if (Param9.Length != 0) hash ^= Param9.GetHashCode(); + if (Param10.Length != 0) hash ^= Param10.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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Color.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Color); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (Desc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc); + } + if (Param1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Param10); + } + 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 (Title.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Title); + } + if (Color.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Color); + } + if (Icon.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Icon); + } + if (Desc.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Desc); + } + if (Param1.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Param1); + } + if (Param2.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Param2); + } + if (Param3.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Param3); + } + if (Param4.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Param4); + } + if (Param5.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Param5); + } + if (Param6.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Param6); + } + if (Param7.Length != 0) { + output.WriteRawTag(98); + output.WriteString(Param7); + } + if (Param8.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Param8); + } + if (Param9.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Param9); + } + if (Param10.Length != 0) { + output.WriteRawTag(122); + output.WriteString(Param10); + } + 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 (Title.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Title); + } + if (Color.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Color); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Param1.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param1); + } + if (Param2.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param2); + } + if (Param3.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param3); + } + if (Param4.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param4); + } + if (Param5.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param5); + } + if (Param6.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param6); + } + if (Param7.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param7); + } + if (Param8.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param8); + } + if (Param9.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param9); + } + if (Param10.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Param10); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WordSuper other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + if (other.Title.Length != 0) { + Title = other.Title; + } + if (other.Color.Length != 0) { + Color = other.Color; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Param1.Length != 0) { + Param1 = other.Param1; + } + if (other.Param2.Length != 0) { + Param2 = other.Param2; + } + if (other.Param3.Length != 0) { + Param3 = other.Param3; + } + if (other.Param4.Length != 0) { + Param4 = other.Param4; + } + if (other.Param5.Length != 0) { + Param5 = other.Param5; + } + if (other.Param6.Length != 0) { + Param6 = other.Param6; + } + if (other.Param7.Length != 0) { + Param7 = other.Param7; + } + if (other.Param8.Length != 0) { + Param8 = other.Param8; + } + if (other.Param9.Length != 0) { + Param9 = other.Param9; + } + if (other.Param10.Length != 0) { + Param10 = other.Param10; + } + _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: { + Title = input.ReadString(); + break; + } + case 26: { + Color = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Param1 = input.ReadString(); + break; + } + case 58: { + Param2 = input.ReadString(); + break; + } + case 66: { + Param3 = input.ReadString(); + break; + } + case 74: { + Param4 = input.ReadString(); + break; + } + case 82: { + Param5 = input.ReadString(); + break; + } + case 90: { + Param6 = input.ReadString(); + break; + } + case 98: { + Param7 = input.ReadString(); + break; + } + case 106: { + Param8 = input.ReadString(); + break; + } + case 114: { + Param9 = input.ReadString(); + break; + } + case 122: { + Param10 = 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 18: { + Title = input.ReadString(); + break; + } + case 26: { + Color = input.ReadString(); + break; + } + case 34: { + Icon = input.ReadString(); + break; + } + case 42: { + Desc = input.ReadString(); + break; + } + case 50: { + Param1 = input.ReadString(); + break; + } + case 58: { + Param2 = input.ReadString(); + break; + } + case 66: { + Param3 = input.ReadString(); + break; + } + case 74: { + Param4 = input.ReadString(); + break; + } + case 82: { + Param5 = input.ReadString(); + break; + } + case 90: { + Param6 = input.ReadString(); + break; + } + case 98: { + Param7 = input.ReadString(); + break; + } + case 106: { + Param8 = input.ReadString(); + break; + } + case 114: { + Param9 = input.ReadString(); + break; + } + case 122: { + Param10 = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_WordSuper : pb::IMessage<table_WordSuper> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_WordSuper> _parser = new pb::MessageParser<table_WordSuper>(() => new table_WordSuper()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_WordSuper> 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.ClientTableReflection.Descriptor.MessageTypes[533]; } + } + + [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 table_WordSuper() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_WordSuper(table_WordSuper other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_WordSuper Clone() { + return new table_WordSuper(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.WordSuper> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.WordSuper.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.WordSuper> list_ = new pbc::RepeatedField<global::Nova.Client.WordSuper>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.WordSuper> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_WordSuper); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_WordSuper other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_WordSuper other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class WorldClass : pb::IMessage<WorldClass> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<WorldClass> _parser = new pb::MessageParser<WorldClass>(() => new WorldClass()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<WorldClass> 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.ClientTableReflection.Descriptor.MessageTypes[534]; } + } + + [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 WorldClass() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClass(WorldClass other) : this() { + rank_ = other.rank_; + exp_ = other.exp_; + limit_ = other.limit_; + added_ = other.added_; + doubleCount_ = other.doubleCount_; + reward_ = other.reward_; + rewardLimit_ = other.rewardLimit_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WorldClass Clone() { + return new WorldClass(this); + } + + /// <summary>Field number for the "Rank" field.</summary> + public const int RankFieldNumber = 1; + private int rank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Rank { + get { return rank_; } + set { + rank_ = value; + } + } + + /// <summary>Field number for the "Exp" field.</summary> + public const int ExpFieldNumber = 2; + private int exp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Exp { + get { return exp_; } + set { + exp_ = value; + } + } + + /// <summary>Field number for the "Limit" field.</summary> + public const int LimitFieldNumber = 3; + private int limit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Limit { + get { return limit_; } + set { + limit_ = value; + } + } + + /// <summary>Field number for the "Added" field.</summary> + public const int AddedFieldNumber = 4; + private int added_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Added { + get { return added_; } + set { + added_ = value; + } + } + + /// <summary>Field number for the "DoubleCount" field.</summary> + public const int DoubleCountFieldNumber = 5; + private int doubleCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int DoubleCount { + get { return doubleCount_; } + set { + doubleCount_ = value; + } + } + + /// <summary>Field number for the "Reward" field.</summary> + public const int RewardFieldNumber = 6; + private string reward_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Reward { + get { return reward_; } + set { + reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "RewardLimit" field.</summary> + public const int RewardLimitFieldNumber = 7; + private int rewardLimit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RewardLimit { + get { return rewardLimit_; } + set { + rewardLimit_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WorldClass); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WorldClass other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Rank != other.Rank) return false; + if (Exp != other.Exp) return false; + if (Limit != other.Limit) return false; + if (Added != other.Added) return false; + if (DoubleCount != other.DoubleCount) return false; + if (Reward != other.Reward) return false; + if (RewardLimit != other.RewardLimit) 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 (Rank != 0) hash ^= Rank.GetHashCode(); + if (Exp != 0) hash ^= Exp.GetHashCode(); + if (Limit != 0) hash ^= Limit.GetHashCode(); + if (Added != 0) hash ^= Added.GetHashCode(); + if (DoubleCount != 0) hash ^= DoubleCount.GetHashCode(); + if (Reward.Length != 0) hash ^= Reward.GetHashCode(); + if (RewardLimit != 0) hash ^= RewardLimit.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 (Rank != 0) { + output.WriteRawTag(8); + output.WriteInt32(Rank); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + if (Limit != 0) { + output.WriteRawTag(24); + output.WriteInt32(Limit); + } + if (Added != 0) { + output.WriteRawTag(32); + output.WriteInt32(Added); + } + if (DoubleCount != 0) { + output.WriteRawTag(40); + output.WriteInt32(DoubleCount); + } + if (Reward.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Reward); + } + if (RewardLimit != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardLimit); + } + 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 (Rank != 0) { + output.WriteRawTag(8); + output.WriteInt32(Rank); + } + if (Exp != 0) { + output.WriteRawTag(16); + output.WriteInt32(Exp); + } + if (Limit != 0) { + output.WriteRawTag(24); + output.WriteInt32(Limit); + } + if (Added != 0) { + output.WriteRawTag(32); + output.WriteInt32(Added); + } + if (DoubleCount != 0) { + output.WriteRawTag(40); + output.WriteInt32(DoubleCount); + } + if (Reward.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Reward); + } + if (RewardLimit != 0) { + output.WriteRawTag(56); + output.WriteInt32(RewardLimit); + } + 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 (Rank != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rank); + } + if (Exp != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Exp); + } + if (Limit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); + } + if (Added != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Added); + } + if (DoubleCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(DoubleCount); + } + if (Reward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reward); + } + if (RewardLimit != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RewardLimit); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WorldClass other) { + if (other == null) { + return; + } + if (other.Rank != 0) { + Rank = other.Rank; + } + if (other.Exp != 0) { + Exp = other.Exp; + } + if (other.Limit != 0) { + Limit = other.Limit; + } + if (other.Added != 0) { + Added = other.Added; + } + if (other.DoubleCount != 0) { + DoubleCount = other.DoubleCount; + } + if (other.Reward.Length != 0) { + Reward = other.Reward; + } + if (other.RewardLimit != 0) { + RewardLimit = other.RewardLimit; + } + _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: { + Rank = input.ReadInt32(); + break; + } + case 16: { + Exp = input.ReadInt32(); + break; + } + case 24: { + Limit = input.ReadInt32(); + break; + } + case 32: { + Added = input.ReadInt32(); + break; + } + case 40: { + DoubleCount = input.ReadInt32(); + break; + } + case 50: { + Reward = input.ReadString(); + break; + } + case 56: { + RewardLimit = 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: { + Rank = input.ReadInt32(); + break; + } + case 16: { + Exp = input.ReadInt32(); + break; + } + case 24: { + Limit = input.ReadInt32(); + break; + } + case 32: { + Added = input.ReadInt32(); + break; + } + case 40: { + DoubleCount = input.ReadInt32(); + break; + } + case 50: { + Reward = input.ReadString(); + break; + } + case 56: { + RewardLimit = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class table_WorldClass : pb::IMessage<table_WorldClass> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<table_WorldClass> _parser = new pb::MessageParser<table_WorldClass>(() => new table_WorldClass()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<table_WorldClass> 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.ClientTableReflection.Descriptor.MessageTypes[535]; } + } + + [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 table_WorldClass() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_WorldClass(table_WorldClass other) : this() { + list_ = other.list_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public table_WorldClass Clone() { + return new table_WorldClass(this); + } + + /// <summary>Field number for the "list" field.</summary> + public const int ListFieldNumber = 1; + private static readonly pb::FieldCodec<global::Nova.Client.WorldClass> _repeated_list_codec + = pb::FieldCodec.ForMessage(10, global::Nova.Client.WorldClass.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.WorldClass> list_ = new pbc::RepeatedField<global::Nova.Client.WorldClass>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.WorldClass> List { + get { return list_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as table_WorldClass); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(table_WorldClass other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!list_.Equals(other.list_)) 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; + hash ^= list_.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 + list_.WriteTo(output, _repeated_list_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) { + list_.WriteTo(ref output, _repeated_list_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; + size += list_.CalculateSize(_repeated_list_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(table_WorldClass other) { + if (other == null) { + return; + } + list_.Add(other.list_); + _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 10: { + list_.AddEntriesFrom(input, _repeated_list_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 10: { + list_.AddEntriesFrom(ref input, _repeated_list_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/TempData/RoguelikeTempData.cs b/Novaria.Common/TempData/RoguelikeTempData.cs new file mode 100644 index 0000000..ce46737 --- /dev/null +++ b/Novaria.Common/TempData/RoguelikeTempData.cs @@ -0,0 +1,2165 @@ +// <auto-generated> +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: roguelike_tempData.proto +// </auto-generated> +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +namespace Nova.Client.Roguelike { + + /// <summary>Holder for reflection information generated from roguelike_tempData.proto</summary> + public static partial class RoguelikeTempDataReflection { + + #region Descriptor + /// <summary>File descriptor for roguelike_tempData.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RoguelikeTempDataReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Chhyb2d1ZWxpa2VfdGVtcERhdGEucHJvdG8SFW5vdmEuY2xpZW50LnJvZ3Vl", + "bGlrZSKSAQoFU2tpbGwSDwoHbkNoYXJJZBgBIAEoAxIQCghuU2tpbGxJZBgC", + "IAEoAxILCgNuQ2QYAyABKAMSFgoOblNlY3Rpb25BbW91bnQYBCABKAMSGgoS", + "blNlY3Rpb25SZXN1bWVUaW1lGAUgASgDEhQKDG5Vc2VUaW1lSGludBgGIAEo", + "AxIPCgduRW5lcmd5GAcgASgDIjIKBkVmZmVjdBILCgNuSWQYASABKAMSDgoG", + "bkNvdW50GAIgASgDEgsKA25DZBgDIAEoAyIwCghCdWZmSW5mbxIKCgJJZBgB", + "IAEoAxIKCgJDRBgCIAEoAxIMCgRuTnVtGAMgASgDIjAKClNraWxsU3RhdGUS", + "DgoGblN0YXRlGAEgASgDEhIKCm5TdGF0ZVRpbWUYAiABKAMiTAoIQW1tb0lu", + "Zm8SEAoIbkN1ckFtbW8YASABKAMSDgoGbkFtbW8xGAIgASgDEg4KBm5BbW1v", + "MhgDIAEoAxIOCgZuQW1tbzMYBCABKAMi5wEKCUNoYXJhY3RlchIPCgduQ2hh", + "cklkGAEgASgDEi8KCHRiRWZmZWN0GAIgAygLMh0ubm92YS5jbGllbnQucm9n", + "dWVsaWtlLkVmZmVjdBIvCgZ0YkJ1ZmYYAyADKAsyHy5ub3ZhLmNsaWVudC5y", + "b2d1ZWxpa2UuQnVmZkluZm8SNAoJc3RhdGVJbmZvGAQgASgLMiEubm92YS5j", + "bGllbnQucm9ndWVsaWtlLlNraWxsU3RhdGUSMQoIYW1tb0luZm8YBSABKAsy", + "Hy5ub3ZhLmNsaWVudC5yb2d1ZWxpa2UuQW1tb0luZm8ihwEKCHRlbXBEYXRh", + "EhEKCWN1ckNoYXJJZBgBIAEoAxIvCglza2lsbEluZm8YAiADKAsyHC5ub3Zh", + "LmNsaWVudC5yb2d1ZWxpa2UuU2tpbGwSNwoNY2hhcmFjdGVySW5mbxgDIAMo", + "CzIgLm5vdmEuY2xpZW50LnJvZ3VlbGlrZS5DaGFyYWN0ZXJiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.Skill), global::Nova.Client.Roguelike.Skill.Parser, new[]{ "NCharId", "NSkillId", "NCd", "NSectionAmount", "NSectionResumeTime", "NUseTimeHint", "NEnergy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.Effect), global::Nova.Client.Roguelike.Effect.Parser, new[]{ "NId", "NCount", "NCd" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.BuffInfo), global::Nova.Client.Roguelike.BuffInfo.Parser, new[]{ "Id", "CD", "NNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.SkillState), global::Nova.Client.Roguelike.SkillState.Parser, new[]{ "NState", "NStateTime" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.AmmoInfo), global::Nova.Client.Roguelike.AmmoInfo.Parser, new[]{ "NCurAmmo", "NAmmo1", "NAmmo2", "NAmmo3" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.Character), global::Nova.Client.Roguelike.Character.Parser, new[]{ "NCharId", "TbEffect", "TbBuff", "StateInfo", "AmmoInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.Roguelike.tempData), global::Nova.Client.Roguelike.tempData.Parser, new[]{ "CurCharId", "SkillInfo", "CharacterInfo" }, null, null, null, null) + })); + } + #endregion + + } + #region Messages + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Skill : pb::IMessage<Skill> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Skill> _parser = new pb::MessageParser<Skill>(() => new Skill()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Skill> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skill() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skill(Skill other) : this() { + nCharId_ = other.nCharId_; + nSkillId_ = other.nSkillId_; + nCd_ = other.nCd_; + nSectionAmount_ = other.nSectionAmount_; + nSectionResumeTime_ = other.nSectionResumeTime_; + nUseTimeHint_ = other.nUseTimeHint_; + nEnergy_ = other.nEnergy_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Skill Clone() { + return new Skill(this); + } + + /// <summary>Field number for the "nCharId" field.</summary> + public const int NCharIdFieldNumber = 1; + private long nCharId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NCharId { + get { return nCharId_; } + set { + nCharId_ = value; + } + } + + /// <summary>Field number for the "nSkillId" field.</summary> + public const int NSkillIdFieldNumber = 2; + private long nSkillId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NSkillId { + get { return nSkillId_; } + set { + nSkillId_ = value; + } + } + + /// <summary>Field number for the "nCd" field.</summary> + public const int NCdFieldNumber = 3; + private long nCd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NCd { + get { return nCd_; } + set { + nCd_ = value; + } + } + + /// <summary>Field number for the "nSectionAmount" field.</summary> + public const int NSectionAmountFieldNumber = 4; + private long nSectionAmount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NSectionAmount { + get { return nSectionAmount_; } + set { + nSectionAmount_ = value; + } + } + + /// <summary>Field number for the "nSectionResumeTime" field.</summary> + public const int NSectionResumeTimeFieldNumber = 5; + private long nSectionResumeTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NSectionResumeTime { + get { return nSectionResumeTime_; } + set { + nSectionResumeTime_ = value; + } + } + + /// <summary>Field number for the "nUseTimeHint" field.</summary> + public const int NUseTimeHintFieldNumber = 6; + private long nUseTimeHint_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NUseTimeHint { + get { return nUseTimeHint_; } + set { + nUseTimeHint_ = value; + } + } + + /// <summary>Field number for the "nEnergy" field.</summary> + public const int NEnergyFieldNumber = 7; + private long nEnergy_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NEnergy { + get { return nEnergy_; } + set { + nEnergy_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Skill); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Skill other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NCharId != other.NCharId) return false; + if (NSkillId != other.NSkillId) return false; + if (NCd != other.NCd) return false; + if (NSectionAmount != other.NSectionAmount) return false; + if (NSectionResumeTime != other.NSectionResumeTime) return false; + if (NUseTimeHint != other.NUseTimeHint) return false; + if (NEnergy != other.NEnergy) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NCharId != 0L) hash ^= NCharId.GetHashCode(); + if (NSkillId != 0L) hash ^= NSkillId.GetHashCode(); + if (NCd != 0L) hash ^= NCd.GetHashCode(); + if (NSectionAmount != 0L) hash ^= NSectionAmount.GetHashCode(); + if (NSectionResumeTime != 0L) hash ^= NSectionResumeTime.GetHashCode(); + if (NUseTimeHint != 0L) hash ^= NUseTimeHint.GetHashCode(); + if (NEnergy != 0L) hash ^= NEnergy.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NCharId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NCharId); + } + if (NSkillId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NSkillId); + } + if (NCd != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NCd); + } + if (NSectionAmount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(NSectionAmount); + } + if (NSectionResumeTime != 0L) { + output.WriteRawTag(40); + output.WriteInt64(NSectionResumeTime); + } + if (NUseTimeHint != 0L) { + output.WriteRawTag(48); + output.WriteInt64(NUseTimeHint); + } + if (NEnergy != 0L) { + output.WriteRawTag(56); + output.WriteInt64(NEnergy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NCharId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NCharId); + } + if (NSkillId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NSkillId); + } + if (NCd != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NCd); + } + if (NSectionAmount != 0L) { + output.WriteRawTag(32); + output.WriteInt64(NSectionAmount); + } + if (NSectionResumeTime != 0L) { + output.WriteRawTag(40); + output.WriteInt64(NSectionResumeTime); + } + if (NUseTimeHint != 0L) { + output.WriteRawTag(48); + output.WriteInt64(NUseTimeHint); + } + if (NEnergy != 0L) { + output.WriteRawTag(56); + output.WriteInt64(NEnergy); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NCharId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCharId); + } + if (NSkillId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NSkillId); + } + if (NCd != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCd); + } + if (NSectionAmount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NSectionAmount); + } + if (NSectionResumeTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NSectionResumeTime); + } + if (NUseTimeHint != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NUseTimeHint); + } + if (NEnergy != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NEnergy); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Skill other) { + if (other == null) { + return; + } + if (other.NCharId != 0L) { + NCharId = other.NCharId; + } + if (other.NSkillId != 0L) { + NSkillId = other.NSkillId; + } + if (other.NCd != 0L) { + NCd = other.NCd; + } + if (other.NSectionAmount != 0L) { + NSectionAmount = other.NSectionAmount; + } + if (other.NSectionResumeTime != 0L) { + NSectionResumeTime = other.NSectionResumeTime; + } + if (other.NUseTimeHint != 0L) { + NUseTimeHint = other.NUseTimeHint; + } + if (other.NEnergy != 0L) { + NEnergy = other.NEnergy; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + NCharId = input.ReadInt64(); + break; + } + case 16: { + NSkillId = input.ReadInt64(); + break; + } + case 24: { + NCd = input.ReadInt64(); + break; + } + case 32: { + NSectionAmount = input.ReadInt64(); + break; + } + case 40: { + NSectionResumeTime = input.ReadInt64(); + break; + } + case 48: { + NUseTimeHint = input.ReadInt64(); + break; + } + case 56: { + NEnergy = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + NCharId = input.ReadInt64(); + break; + } + case 16: { + NSkillId = input.ReadInt64(); + break; + } + case 24: { + NCd = input.ReadInt64(); + break; + } + case 32: { + NSectionAmount = input.ReadInt64(); + break; + } + case 40: { + NSectionResumeTime = input.ReadInt64(); + break; + } + case 48: { + NUseTimeHint = input.ReadInt64(); + break; + } + case 56: { + NEnergy = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Effect : pb::IMessage<Effect> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Effect> _parser = new pb::MessageParser<Effect>(() => new Effect()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Effect> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Effect() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Effect(Effect other) : this() { + nId_ = other.nId_; + nCount_ = other.nCount_; + nCd_ = other.nCd_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Effect Clone() { + return new Effect(this); + } + + /// <summary>Field number for the "nId" field.</summary> + public const int NIdFieldNumber = 1; + private long nId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NId { + get { return nId_; } + set { + nId_ = value; + } + } + + /// <summary>Field number for the "nCount" field.</summary> + public const int NCountFieldNumber = 2; + private long nCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NCount { + get { return nCount_; } + set { + nCount_ = value; + } + } + + /// <summary>Field number for the "nCd" field.</summary> + public const int NCdFieldNumber = 3; + private long nCd_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NCd { + get { return nCd_; } + set { + nCd_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Effect); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Effect other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NId != other.NId) return false; + if (NCount != other.NCount) return false; + if (NCd != other.NCd) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NId != 0L) hash ^= NId.GetHashCode(); + if (NCount != 0L) hash ^= NCount.GetHashCode(); + if (NCd != 0L) hash ^= NCd.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NId); + } + if (NCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NCount); + } + if (NCd != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NCd); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NId); + } + if (NCount != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NCount); + } + if (NCd != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NCd); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NId); + } + if (NCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCount); + } + if (NCd != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCd); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Effect other) { + if (other == null) { + return; + } + if (other.NId != 0L) { + NId = other.NId; + } + if (other.NCount != 0L) { + NCount = other.NCount; + } + if (other.NCd != 0L) { + NCd = other.NCd; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + NId = input.ReadInt64(); + break; + } + case 16: { + NCount = input.ReadInt64(); + break; + } + case 24: { + NCd = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + NId = input.ReadInt64(); + break; + } + case 16: { + NCount = input.ReadInt64(); + break; + } + case 24: { + NCd = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BuffInfo : pb::IMessage<BuffInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<BuffInfo> _parser = new pb::MessageParser<BuffInfo>(() => new BuffInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<BuffInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[2]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuffInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuffInfo(BuffInfo other) : this() { + id_ = other.id_; + cD_ = other.cD_; + nNum_ = other.nNum_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BuffInfo Clone() { + return new BuffInfo(this); + } + + /// <summary>Field number for the "Id" field.</summary> + public const int IdFieldNumber = 1; + private long id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Id { + get { return id_; } + set { + id_ = value; + } + } + + /// <summary>Field number for the "CD" field.</summary> + public const int CDFieldNumber = 2; + private long cD_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CD { + get { return cD_; } + set { + cD_ = value; + } + } + + /// <summary>Field number for the "nNum" field.</summary> + public const int NNumFieldNumber = 3; + private long nNum_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NNum { + get { return nNum_; } + set { + nNum_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BuffInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BuffInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (CD != other.CD) return false; + if (NNum != other.NNum) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (Id != 0L) hash ^= Id.GetHashCode(); + if (CD != 0L) hash ^= CD.GetHashCode(); + if (NNum != 0L) hash ^= NNum.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (CD != 0L) { + output.WriteRawTag(16); + output.WriteInt64(CD); + } + if (NNum != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NNum); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Id != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Id); + } + if (CD != 0L) { + output.WriteRawTag(16); + output.WriteInt64(CD); + } + if (NNum != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NNum); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (Id != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id); + } + if (CD != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CD); + } + if (NNum != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NNum); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BuffInfo other) { + if (other == null) { + return; + } + if (other.Id != 0L) { + Id = other.Id; + } + if (other.CD != 0L) { + CD = other.CD; + } + if (other.NNum != 0L) { + NNum = other.NNum; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Id = input.ReadInt64(); + break; + } + case 16: { + CD = input.ReadInt64(); + break; + } + case 24: { + NNum = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Id = input.ReadInt64(); + break; + } + case 16: { + CD = input.ReadInt64(); + break; + } + case 24: { + NNum = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SkillState : pb::IMessage<SkillState> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<SkillState> _parser = new pb::MessageParser<SkillState>(() => new SkillState()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<SkillState> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[3]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkillState() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkillState(SkillState other) : this() { + nState_ = other.nState_; + nStateTime_ = other.nStateTime_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SkillState Clone() { + return new SkillState(this); + } + + /// <summary>Field number for the "nState" field.</summary> + public const int NStateFieldNumber = 1; + private long nState_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NState { + get { return nState_; } + set { + nState_ = value; + } + } + + /// <summary>Field number for the "nStateTime" field.</summary> + public const int NStateTimeFieldNumber = 2; + private long nStateTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NStateTime { + get { return nStateTime_; } + set { + nStateTime_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SkillState); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SkillState other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NState != other.NState) return false; + if (NStateTime != other.NStateTime) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NState != 0L) hash ^= NState.GetHashCode(); + if (NStateTime != 0L) hash ^= NStateTime.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NState != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NState); + } + if (NStateTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NStateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NState != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NState); + } + if (NStateTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NStateTime); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NState != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NState); + } + if (NStateTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NStateTime); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SkillState other) { + if (other == null) { + return; + } + if (other.NState != 0L) { + NState = other.NState; + } + if (other.NStateTime != 0L) { + NStateTime = other.NStateTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + NState = input.ReadInt64(); + break; + } + case 16: { + NStateTime = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + NState = input.ReadInt64(); + break; + } + case 16: { + NStateTime = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class AmmoInfo : pb::IMessage<AmmoInfo> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<AmmoInfo> _parser = new pb::MessageParser<AmmoInfo>(() => new AmmoInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<AmmoInfo> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[4]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AmmoInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AmmoInfo(AmmoInfo other) : this() { + nCurAmmo_ = other.nCurAmmo_; + nAmmo1_ = other.nAmmo1_; + nAmmo2_ = other.nAmmo2_; + nAmmo3_ = other.nAmmo3_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AmmoInfo Clone() { + return new AmmoInfo(this); + } + + /// <summary>Field number for the "nCurAmmo" field.</summary> + public const int NCurAmmoFieldNumber = 1; + private long nCurAmmo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NCurAmmo { + get { return nCurAmmo_; } + set { + nCurAmmo_ = value; + } + } + + /// <summary>Field number for the "nAmmo1" field.</summary> + public const int NAmmo1FieldNumber = 2; + private long nAmmo1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NAmmo1 { + get { return nAmmo1_; } + set { + nAmmo1_ = value; + } + } + + /// <summary>Field number for the "nAmmo2" field.</summary> + public const int NAmmo2FieldNumber = 3; + private long nAmmo2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NAmmo2 { + get { return nAmmo2_; } + set { + nAmmo2_ = value; + } + } + + /// <summary>Field number for the "nAmmo3" field.</summary> + public const int NAmmo3FieldNumber = 4; + private long nAmmo3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NAmmo3 { + get { return nAmmo3_; } + set { + nAmmo3_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AmmoInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AmmoInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NCurAmmo != other.NCurAmmo) return false; + if (NAmmo1 != other.NAmmo1) return false; + if (NAmmo2 != other.NAmmo2) return false; + if (NAmmo3 != other.NAmmo3) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NCurAmmo != 0L) hash ^= NCurAmmo.GetHashCode(); + if (NAmmo1 != 0L) hash ^= NAmmo1.GetHashCode(); + if (NAmmo2 != 0L) hash ^= NAmmo2.GetHashCode(); + if (NAmmo3 != 0L) hash ^= NAmmo3.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NCurAmmo != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NCurAmmo); + } + if (NAmmo1 != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NAmmo1); + } + if (NAmmo2 != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NAmmo2); + } + if (NAmmo3 != 0L) { + output.WriteRawTag(32); + output.WriteInt64(NAmmo3); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NCurAmmo != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NCurAmmo); + } + if (NAmmo1 != 0L) { + output.WriteRawTag(16); + output.WriteInt64(NAmmo1); + } + if (NAmmo2 != 0L) { + output.WriteRawTag(24); + output.WriteInt64(NAmmo2); + } + if (NAmmo3 != 0L) { + output.WriteRawTag(32); + output.WriteInt64(NAmmo3); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NCurAmmo != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCurAmmo); + } + if (NAmmo1 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NAmmo1); + } + if (NAmmo2 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NAmmo2); + } + if (NAmmo3 != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NAmmo3); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AmmoInfo other) { + if (other == null) { + return; + } + if (other.NCurAmmo != 0L) { + NCurAmmo = other.NCurAmmo; + } + if (other.NAmmo1 != 0L) { + NAmmo1 = other.NAmmo1; + } + if (other.NAmmo2 != 0L) { + NAmmo2 = other.NAmmo2; + } + if (other.NAmmo3 != 0L) { + NAmmo3 = other.NAmmo3; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + NCurAmmo = input.ReadInt64(); + break; + } + case 16: { + NAmmo1 = input.ReadInt64(); + break; + } + case 24: { + NAmmo2 = input.ReadInt64(); + break; + } + case 32: { + NAmmo3 = input.ReadInt64(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + NCurAmmo = input.ReadInt64(); + break; + } + case 16: { + NAmmo1 = input.ReadInt64(); + break; + } + case 24: { + NAmmo2 = input.ReadInt64(); + break; + } + case 32: { + NAmmo3 = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Character : pb::IMessage<Character> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<Character> _parser = new pb::MessageParser<Character>(() => new Character()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<Character> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[5]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Character() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Character(Character other) : this() { + nCharId_ = other.nCharId_; + tbEffect_ = other.tbEffect_.Clone(); + tbBuff_ = other.tbBuff_.Clone(); + stateInfo_ = other.stateInfo_ != null ? other.stateInfo_.Clone() : null; + ammoInfo_ = other.ammoInfo_ != null ? other.ammoInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Character Clone() { + return new Character(this); + } + + /// <summary>Field number for the "nCharId" field.</summary> + public const int NCharIdFieldNumber = 1; + private long nCharId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NCharId { + get { return nCharId_; } + set { + nCharId_ = value; + } + } + + /// <summary>Field number for the "tbEffect" field.</summary> + public const int TbEffectFieldNumber = 2; + private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.Effect> _repeated_tbEffect_codec + = pb::FieldCodec.ForMessage(18, global::Nova.Client.Roguelike.Effect.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.Effect> tbEffect_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.Effect>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Roguelike.Effect> TbEffect { + get { return tbEffect_; } + } + + /// <summary>Field number for the "tbBuff" field.</summary> + public const int TbBuffFieldNumber = 3; + private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.BuffInfo> _repeated_tbBuff_codec + = pb::FieldCodec.ForMessage(26, global::Nova.Client.Roguelike.BuffInfo.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.BuffInfo> tbBuff_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.BuffInfo>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Roguelike.BuffInfo> TbBuff { + get { return tbBuff_; } + } + + /// <summary>Field number for the "stateInfo" field.</summary> + public const int StateInfoFieldNumber = 4; + private global::Nova.Client.Roguelike.SkillState stateInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Nova.Client.Roguelike.SkillState StateInfo { + get { return stateInfo_; } + set { + stateInfo_ = value; + } + } + + /// <summary>Field number for the "ammoInfo" field.</summary> + public const int AmmoInfoFieldNumber = 5; + private global::Nova.Client.Roguelike.AmmoInfo ammoInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Nova.Client.Roguelike.AmmoInfo AmmoInfo { + get { return ammoInfo_; } + set { + ammoInfo_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Character); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Character other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NCharId != other.NCharId) return false; + if(!tbEffect_.Equals(other.tbEffect_)) return false; + if(!tbBuff_.Equals(other.tbBuff_)) return false; + if (!object.Equals(StateInfo, other.StateInfo)) return false; + if (!object.Equals(AmmoInfo, other.AmmoInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (NCharId != 0L) hash ^= NCharId.GetHashCode(); + hash ^= tbEffect_.GetHashCode(); + hash ^= tbBuff_.GetHashCode(); + if (stateInfo_ != null) hash ^= StateInfo.GetHashCode(); + if (ammoInfo_ != null) hash ^= AmmoInfo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (NCharId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NCharId); + } + tbEffect_.WriteTo(output, _repeated_tbEffect_codec); + tbBuff_.WriteTo(output, _repeated_tbBuff_codec); + if (stateInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(StateInfo); + } + if (ammoInfo_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AmmoInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (NCharId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(NCharId); + } + tbEffect_.WriteTo(ref output, _repeated_tbEffect_codec); + tbBuff_.WriteTo(ref output, _repeated_tbBuff_codec); + if (stateInfo_ != null) { + output.WriteRawTag(34); + output.WriteMessage(StateInfo); + } + if (ammoInfo_ != null) { + output.WriteRawTag(42); + output.WriteMessage(AmmoInfo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (NCharId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(NCharId); + } + size += tbEffect_.CalculateSize(_repeated_tbEffect_codec); + size += tbBuff_.CalculateSize(_repeated_tbBuff_codec); + if (stateInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StateInfo); + } + if (ammoInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(AmmoInfo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Character other) { + if (other == null) { + return; + } + if (other.NCharId != 0L) { + NCharId = other.NCharId; + } + tbEffect_.Add(other.tbEffect_); + tbBuff_.Add(other.tbBuff_); + if (other.stateInfo_ != null) { + if (stateInfo_ == null) { + StateInfo = new global::Nova.Client.Roguelike.SkillState(); + } + StateInfo.MergeFrom(other.StateInfo); + } + if (other.ammoInfo_ != null) { + if (ammoInfo_ == null) { + AmmoInfo = new global::Nova.Client.Roguelike.AmmoInfo(); + } + AmmoInfo.MergeFrom(other.AmmoInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + NCharId = input.ReadInt64(); + break; + } + case 18: { + tbEffect_.AddEntriesFrom(input, _repeated_tbEffect_codec); + break; + } + case 26: { + tbBuff_.AddEntriesFrom(input, _repeated_tbBuff_codec); + break; + } + case 34: { + if (stateInfo_ == null) { + StateInfo = new global::Nova.Client.Roguelike.SkillState(); + } + input.ReadMessage(StateInfo); + break; + } + case 42: { + if (ammoInfo_ == null) { + AmmoInfo = new global::Nova.Client.Roguelike.AmmoInfo(); + } + input.ReadMessage(AmmoInfo); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + NCharId = input.ReadInt64(); + break; + } + case 18: { + tbEffect_.AddEntriesFrom(ref input, _repeated_tbEffect_codec); + break; + } + case 26: { + tbBuff_.AddEntriesFrom(ref input, _repeated_tbBuff_codec); + break; + } + case 34: { + if (stateInfo_ == null) { + StateInfo = new global::Nova.Client.Roguelike.SkillState(); + } + input.ReadMessage(StateInfo); + break; + } + case 42: { + if (ammoInfo_ == null) { + AmmoInfo = new global::Nova.Client.Roguelike.AmmoInfo(); + } + input.ReadMessage(AmmoInfo); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class tempData : pb::IMessage<tempData> + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser<tempData> _parser = new pb::MessageParser<tempData>(() => new tempData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser<tempData> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Nova.Client.Roguelike.RoguelikeTempDataReflection.Descriptor.MessageTypes[6]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public tempData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public tempData(tempData other) : this() { + curCharId_ = other.curCharId_; + skillInfo_ = other.skillInfo_.Clone(); + characterInfo_ = other.characterInfo_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public tempData Clone() { + return new tempData(this); + } + + /// <summary>Field number for the "curCharId" field.</summary> + public const int CurCharIdFieldNumber = 1; + private long curCharId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long CurCharId { + get { return curCharId_; } + set { + curCharId_ = value; + } + } + + /// <summary>Field number for the "skillInfo" field.</summary> + public const int SkillInfoFieldNumber = 2; + private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.Skill> _repeated_skillInfo_codec + = pb::FieldCodec.ForMessage(18, global::Nova.Client.Roguelike.Skill.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.Skill> skillInfo_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.Skill>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Roguelike.Skill> SkillInfo { + get { return skillInfo_; } + } + + /// <summary>Field number for the "characterInfo" field.</summary> + public const int CharacterInfoFieldNumber = 3; + private static readonly pb::FieldCodec<global::Nova.Client.Roguelike.Character> _repeated_characterInfo_codec + = pb::FieldCodec.ForMessage(26, global::Nova.Client.Roguelike.Character.Parser); + private readonly pbc::RepeatedField<global::Nova.Client.Roguelike.Character> characterInfo_ = new pbc::RepeatedField<global::Nova.Client.Roguelike.Character>(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField<global::Nova.Client.Roguelike.Character> CharacterInfo { + get { return characterInfo_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as tempData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(tempData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurCharId != other.CurCharId) return false; + if(!skillInfo_.Equals(other.skillInfo_)) return false; + if(!characterInfo_.Equals(other.characterInfo_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (CurCharId != 0L) hash ^= CurCharId.GetHashCode(); + hash ^= skillInfo_.GetHashCode(); + hash ^= characterInfo_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (CurCharId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(CurCharId); + } + skillInfo_.WriteTo(output, _repeated_skillInfo_codec); + characterInfo_.WriteTo(output, _repeated_characterInfo_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CurCharId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(CurCharId); + } + skillInfo_.WriteTo(ref output, _repeated_skillInfo_codec); + characterInfo_.WriteTo(ref output, _repeated_characterInfo_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (CurCharId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(CurCharId); + } + size += skillInfo_.CalculateSize(_repeated_skillInfo_codec); + size += characterInfo_.CalculateSize(_repeated_characterInfo_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(tempData other) { + if (other == null) { + return; + } + if (other.CurCharId != 0L) { + CurCharId = other.CurCharId; + } + skillInfo_.Add(other.skillInfo_); + characterInfo_.Add(other.characterInfo_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CurCharId = input.ReadInt64(); + break; + } + case 18: { + skillInfo_.AddEntriesFrom(input, _repeated_skillInfo_codec); + break; + } + case 26: { + characterInfo_.AddEntriesFrom(input, _repeated_characterInfo_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + if ((tag & 7) == 4) { + // Abort on any end group tag. + return; + } + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CurCharId = input.ReadInt64(); + break; + } + case 18: { + skillInfo_.AddEntriesFrom(ref input, _repeated_skillInfo_codec); + break; + } + case 26: { + characterInfo_.AddEntriesFrom(ref input, _repeated_characterInfo_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Novaria.Common/Utils/Utils.cs b/Novaria.Common/Utils/Utils.cs index 75a686f..b7f8c31 100644 --- a/Novaria.Common/Utils/Utils.cs +++ b/Novaria.Common/Utils/Utils.cs @@ -9,31 +9,6 @@ namespace Novaria.Common.Utils { public static class Utils { - - public static void SaveFileDescriptorProtoToFile(FileDescriptorProto fileDescriptorProto, string outputDirectory) - { - if (fileDescriptorProto == null) - { - throw new ArgumentNullException(nameof(fileDescriptorProto)); - } - - if (string.IsNullOrEmpty(outputDirectory)) - { - throw new ArgumentException("Output directory cannot be null or empty", nameof(outputDirectory)); - } - - string protoName = fileDescriptorProto.Name ?? "unknown.proto"; - string protoContent = fileDescriptorProto.ToString(); - - string outputPath = Path.Combine(outputDirectory, protoName); - - Directory.CreateDirectory(Path.GetDirectoryName(outputPath)); - - File.WriteAllText(outputPath, protoContent); - - Console.WriteLine($"Saved {protoName} to {outputPath}"); - } - public static void PrintByteArray(byte[] byteArray) { if (byteArray == null || byteArray.Length == 0) diff --git a/Novaria.SDKServer/Controllers/Api/GatewayController.cs b/Novaria.SDKServer/Controllers/Api/GatewayController.cs index 5f0a611..353341d 100644 --- a/Novaria.SDKServer/Controllers/Api/GatewayController.cs +++ b/Novaria.SDKServer/Controllers/Api/GatewayController.cs @@ -9,6 +9,7 @@ using Novaria.Common.Utils; using System.IO; using System.Numerics; using System.Security.Cryptography; +using Microsoft.AspNetCore.Http; namespace Novaria.SDKServer.Controllers.Api { @@ -53,26 +54,35 @@ namespace Novaria.SDKServer.Controllers.Api [HttpOptions] // Ike public IActionResult OptionsRequest() { + Log.Information("Received Gateway Ike Options Request, Payload: "); + // store key which is used in AeadTool + using var memoryStream = new MemoryStream(); + Request.Body.CopyTo(memoryStream); // Copy request body to MemoryStream + byte[] rawBytes = memoryStream.ToArray(); // Get raw bytes from MemoryStream - // Set response headers - Response.Headers.Add("Date", DateTime.UtcNow.ToString("R")); - Response.Headers.Add("Content-Length", "251"); - Response.Headers.Add("Connection", "keep-alive"); + Utils.PrintByteArray(rawBytes); + //byte[] msgId = BitConverter.GetBytes(msg.msgId); - // Set cookies - Response.Headers.Append("Set-Cookie", "acw_tc=cb6df452e3196d1ec00d2fcdf7726b25ed2accbaa45e1066701a61d2da90b384;path=/;HttpOnly;Max-Age=1800"); - Response.Headers.Append("Set-Cookie", "SERVERID=eef797ff9d3671d413582d7dc2f39f29|1736422941|1736422941;Path=/"); - Response.Headers.Append("Set-Cookie", "SERVERCORSID=eef797ff9d3671d413582d7dc2f39f29|1736422941|1736422941;Path=/;SameSite=None;Secure"); - // Set binary content as the response body - string filePath = "E:\\documents\\Decompiling\\Extracted\\NOVA\\Novaria\\Novaria.SDKServer\\options_response"; // Replace with the actual file path - byte[] fileBytes = System.IO.File.ReadAllBytes(filePath); + //// Set response headers + //Response.Headers.Add("Date", DateTime.UtcNow.ToString("R")); + //Response.Headers.Add("Content-Length", "251"); + //Response.Headers.Add("Connection", "keep-alive"); - // Write bytes directly to response body - Response.Body.WriteAsync(fileBytes, 0, fileBytes.Length); + //// Set cookies + //Response.Headers.Append("Set-Cookie", "acw_tc=cb6df452e3196d1ec00d2fcdf7726b25ed2accbaa45e1066701a61d2da90b384;path=/;HttpOnly;Max-Age=1800"); + //Response.Headers.Append("Set-Cookie", "SERVERID=eef797ff9d3671d413582d7dc2f39f29|1736422941|1736422941;Path=/"); + //Response.Headers.Append("Set-Cookie", "SERVERCORSID=eef797ff9d3671d413582d7dc2f39f29|1736422941|1736422941;Path=/;SameSite=None;Secure"); - // Return no content since the body is written manually + //// Set binary content as the response body + //string filePath = "E:\\documents\\Decompiling\\Extracted\\NOVA\\Novaria\\Novaria.SDKServer\\options_response"; // Replace with the actual file path + //byte[] fileBytes = System.IO.File.ReadAllBytes(filePath); + + //// Write bytes directly to response body + //Response.Body.WriteAsync(fileBytes, 0, fileBytes.Length); + + //// Return no content since the body is written manually return new EmptyResult(); } diff --git a/Novaria.SDKServer/SDKServer.cs b/Novaria.SDKServer/SDKServer.cs index 059e1a7..3503a6d 100644 --- a/Novaria.SDKServer/SDKServer.cs +++ b/Novaria.SDKServer/SDKServer.cs @@ -3,118 +3,147 @@ using System.Reflection; using Google.Protobuf; using Google.Protobuf.Reflection; using Microsoft.AspNetCore.Server.Kestrel.Core; -using Newtonsoft.Json; using Novaria.Common.Crypto; using Novaria.Common.Utils; -using Pb; +using Novaria.Common.Core; +using Proto; using Serilog; +using System.Text; +using System.Text.Json; +using System.Text.Json.Nodes; +using System.Text.Json.Serialization; +using Microsoft.AspNetCore.Http; +using System.IO; +using NSec.Cryptography; +using static System.Runtime.InteropServices.JavaScript.JSType; namespace Novaria.SDKServer { public class SDKServer { + //public Packet ParseIkeMessage(byte[] encryptedRawPayload) + //{ + + //} + public static void Main(string[] args) { - var protos = FileDescriptorSet.Parser.ParseFrom(PB.ProtoPB); - var tables = FileDescriptorSet.Parser.ParseFrom(PB.TablePB); - var tempDatas = FileDescriptorSet.Parser.ParseFrom(PB.RogueLikeTempDataPB); + //byte[] result = new byte[] { 72, 115, 142, 228, 125, 80, 99, 136, 69, 104, 100, 1, 40, 52, 96, 130, 76, 79, 164, 172, 151, 94, 234, 141, 235, 198, 110, 211, 218, 213, 155, 111, 64, 170, 181, 53, 117, 77, 234, 162, 247, 154, 219, 157, 50, 59, 84, 148, 165, 122, 236, 76, 15, 134, 140, 229, 224, 105, 90, 2, 226, 240, 240, 16, 6, 209, 29, 11, 52, 224, 26, 174, 113, 114, 54, 169, 108, 63, 53, 170, 94, 142, 153, 65, 192, 116, 145, 127, 107, 137, 193, 141, 203, 149, 9, 188, 91, 78, 191, 117, 145, 14, 105, 108, 203, 106, 161, 97, 133, 123, 132, 205, 151, 184, 240, 165 }; + + //byte[] key = new byte[] { 51, 76, 83, 57, 38, 111, 89, 100, 115, 112, 94, 53, 119, 105, 56, 38, 90, 120, 67, 35, 99, 55, 77, 90, 103, 55, 51, 104, 98, 69, 68, 119 }; + //byte[] nonce = new byte[] { 50, 103, 122, 81, 54, 57, 80, 109, 55, 49, 86, 55 }; + //byte[] data = new byte[] { 0, 1, 10, 96, 30, 72, 185, 252, 24, 18, 102, 148, 64, 6, 58, 221, 16, 109, 243, 95, 183, 216, 77, 49, 124, 134, 97, 3, 136, 61, 184, 215, 41, 126, 194, 60, 133, 13, 82, 220, 41, 147, 27, 174, 137, 10, 6, 222, 251, 18, 201, 192, 53, 249, 223, 27, 67, 209, 125, 129, 139, 32, 32, 225, 233, 158, 23, 191, 187, 238, 129, 226, 180, 85, 152, 50, 137, 33, 65, 129, 225, 180, 154, 172, 39, 177, 136, 36, 141, 168, 43, 144, 155, 99, 85, 21, 213, 194, 139, 112 }; - foreach (var fileDescriptorProto in protos.File) - { - - Console.WriteLine(fileDescriptorProto.ToString()); - //Utils.SaveFileDescriptorProtoToFile(fileDescriptorProto, "protos"); - } + //byte[] real_result = new byte[result.Length]; + //byte[] decrypted_result = new byte[data.Length]; - foreach (var fileDescriptorProto in tables.File) - { - //Utils.SaveFileDescriptorProtoToFile(fileDescriptorProto, "tables"); - } + //AeadTool.Encrypt_ChaCha20(real_result, key.AsSpan(), nonce.AsSpan(), data.AsSpan(), true); + //Console.WriteLine(); + //Console.WriteLine(); - foreach (var fileDescriptorProto in tempDatas.File) - { - //Utils.SaveFileDescriptorProtoToFile(fileDescriptorProto, "temp_datas"); - } + //Utils.PrintByteArray(result); + //Console.WriteLine(); + //Console.WriteLine(); + //Utils.PrintByteArray(real_result); + //byte[] associateData = new byte[13]; - Span<byte> ss = new byte[] -{ - 0, 5, 10, 134, 1, 68, 109, 47, 77, 102, 110, 116, 78, 49, 107, 78, - 97, 83, 47, 49, 79, 110, 121, 51, 86, 82, 76, 100, 90, 67, 69, 113, - 47, 71, 47, 70, 81, 112, 83, 86, 65, 114, 48, 81, 112, 101, 107, 104, - 104, 106, 83, 69, 48, 51, 73, 121, 107, 108, 65, 102, 65, 84, 112, 83, - 56, 85, 80, 76, 107, 76, 103, 48, 80, 119, 116, 80, 48, 67, 78, 86, - 43, 76, 85, 103, 98, 51, 75, 97, 79, 111, 56, 89, 115, 106, 68, 66, - 86, 77, 51, 47, 65, 83, 108, 80, 77, 109, 56, 68, 50, 111, 119, 108, - 71, 119, 106, 81, 83, 71, 105, 54, 106, 79, 97, 102, 99, 49, 122, 84, - 98, 107, 89, 81, 121, 76, 43, 56, 121, 90, 103 -}; + //nonce.CopyTo(associateData, 0); + //associateData[associateData.Length - 1] = 1; - Span<byte> result = new byte[ss.Length]; + //bool succ = AeadTool.Dencrypt_ChaCha20(decrypted_result.AsSpan(), key.AsSpan(), nonce.AsSpan(), result.AsSpan(), associateData.AsSpan()); - ReadOnlySpan<byte> key = new byte[] - { - 21, 218, 151, 4, 236, 175, 191, 183, 193, 244, 248, 163, 11, 144, 99, 164, - 138, 121, 155, 96, 50, 149, 206, 111, 180, 143, 229, 65, 219, 192, 118, 47 - }; - - ReadOnlySpan<byte> nonce = new byte[] - { - 231, 71, 160, 150, 98, 120, 185, 234, 18, 80, 239, 227 - }; - - ReadOnlySpan<byte> data = new byte[] - { - 18, 191, 220, 69, 194, 61, 223, 106, 190, 177, 23, 221, 204, 255, 80, 97, - 197, 131, 41, 185, 42, 139, 225, 133, 223, 140, 11, 43, 152, 78, 4, 163, - 87, 50, 33, 61, 168, 219, 213, 188, 78, 115, 60, 143, 185, 165, 3, 62, - 154, 34, 156, 61, 175, 105, 25, 129, 254, 143, 225, 107, 211, 9, 201, 7, - 10, 85, 115, 115, 131, 209, 20, 48, 124, 149, 33, 52, 204, 166, 154, 207, - 206, 28, 76, 249, 48, 191, 249, 11, 236, 193, 49, 216, 226, 101, 52, 234, - 73, 79, 154, 226, 141, 9, 70, 194, 252, 202, 65, 168, 247, 161, 228, 84, - 246, 133, 84, 64, 64, 252, 55, 44, 5, 164, 143, 110, 140, 232, 125, 91, - 244, 62, 170, 18, 0, 212, 72, 235, 250, 85, 143, 89, 26, 162, 186, 243, - 4, 222, 193, 249, 215, 243, 155, 204, 88, 131, 145 - }; - - AeadTool.Dencrypt_ChaCha20(result, key, nonce, data); - - Utils.PrintByteArray(result.ToArray()); - - return; - //byte[] bytes = File.ReadAllBytes("E:\\documents\\Decompiling\\Extracted\\NOVA\\Novaria\\Novaria.SDKServer\\req1"); - - // byte[] data = new byte[] { - // 88, 2, 120, 1, 106, 8, 79, 102, 102, 105, 99, 105, 97, 108, - // 98, 5, 122, 104, 95, 67, 78, 114, 16, 100, 99, 49, 56, 101, - // 49, 50, 98, 57, 54, 50, 57, 101, 57, 52, 101, 26, 48, 18, - // 40, 50, 50, 97, 99, 56, 56, 54, 101, 53, 102, 98, 101, 101, - // 102, 52, 100, 98, 98, 56, 100, 56, 51, 54, 100, 56, 98, 99, - // 98, 49, 54, 54, 54, 56, 100, 98, 55, 99, 97, 55, 100, 8, - // 240, 186, 151, 225, 3 - //}; - - //var a = UserRequest.Parser.ParseFrom(data); - - //Console.WriteLine(JsonConvert.SerializeObject(a)); - - //ServerListMeta message; - - //using (var input = File.OpenRead("E:\\documents\\Decompiling\\Extracted\\NOVA\\Novaria\\Novaria.SDKServer\\test_protos.pb")) - //{ - // message = ServerListMeta.Parser.ParseFrom(input); - //} - - //Console.WriteLine(message.Announcement); + //Console.WriteLine(succ); + //Utils.PrintByteArray(decrypted_result); //return; + //byte[] ike_req_bytes = new byte[] { 10, 96, 108, 183, 187, 238, 19, 29, 80, 121, 193, 82, 107, 114, 202, 58, 16, 52, 131, 72, 179, 174, 18, 170, 8, 124, 161, 231, 241, 121, 27, 190, 176, 218, 90, 9, 9, 88, 190, 59, 190, 128, 9, 247, 199, 212, 136, 3, 198, 175, 89, 222, 172, 222, 157, 99, 247, 254, 237, 66, 68, 238, 188, 125, 169, 248, 17, 130, 150, 12, 213, 10, 197, 36, 122, 134, 139, 88, 52, 177, 53, 38, 114, 145, 99, 40, 111, 82, 237, 245, 178, 106, 108, 170, 57, 235, 136, 25 }; + //byte[] player_login_req_bytes = new byte[] { 106, 8, 79, 102, 102, 105, 99, 105, 97, 108, 26, 48, 8, 240, 186, 151, 225, 3, 18, 40, 50, 50, 97, 99, 56, 56, 54, 101, 53, 102, 98, 101, 101, 102, 52, 100, 98, 98, 56, 100, 56, 51, 54, 100, 56, 98, 99, 98, 49, 54, 54, 54, 56, 100, 98, 55, 99, 97, 55, 100, 98, 5, 122, 104, 95, 67, 78, 120, 1, 114, 16, 100, 99, 49, 56, 101, 49, 50, 98, 57, 54, 50, 57, 101, 57, 52, 101, 88, 2 }; - //byte[] bytes = File.ReadAllBytes("E:\\documents\\Decompiling\\Extracted\\NOVA\\Novaria\\Novaria.SDKServer\\req1"); + byte[] ike_req_raw_bytes = new byte[] { 50, 103, 122, 81, 54, 57, 80, 109, 55, 49, 86, 55, 1, 72, 115, 142, 228, 125, 80, 99, 136, 69, 104, 100, 1, 40, 52, 96, 130, 76, 79, 164, 172, 151, 94, 234, 141, 235, 198, 110, 211, 218, 213, 155, 111, 64, 170, 181, 53, 117, 77, 234, 162, 247, 154, 219, 157, 50, 59, 84, 148, 165, 122, 236, 76, 15, 134, 140, 229, 224, 105, 90, 2, 226, 240, 240, 16, 6, 209, 29, 11, 52, 224, 26, 174, 113, 114, 54, 169, 108, 63, 53, 170, 94, 142, 153, 65, 192, 116, 145, 127, 107, 137, 193, 141, 203, 149, 9, 188, 91, 78, 191, 117, 145, 14, 105, 108, 203, 106, 161, 97, 133, 123, 132, 205, 151, 184, 240, 165 }; + ike_req_raw_bytes = new byte[] { 238, 229, 238, 9, 37, 193, 132, 180, 61, 153, 199, 186, 4, 244, 254, 140, 91, 117, 71, 80, 159, 135, 140, 203, 228, 77, 27, 179, 254, 183, 72, 176, 185, 189, 30, 193, 34, 117, 133, 225, 239, 52, 174, 149, 44, 203, 37, 116, 83, 34, 75, 49, 105, 102, 145, 145, 115, 125, 172, 100, 65, 173, 57, 198, 79, 9, 134, 169, 31, 138, 51, 247, 255, 85, 206, 195, 234, 144, 11, 167, 183, 159, 116, 21, 251, 193, 223, 68, 116, 202, 26, 223, 20, 101, 176, 136, 156, 88, 127, 113, 169, 34, 76, 180, 3, 157, 201, 127, 241, 46, 61, 56, 25, 18, 187, 103, 34, 64, 7, 115, 227, 135, 159, 149, 199, 166, 11, 119, 122, 225, 23, 134, 5, 63, 21, 182, 106, 94, 200, 13, 63, 231, 212, 51, 255, 81, 237, 238, 4, 156, 94, 149, 215, 120, 81, 14, 191, 209, 237, 139, 209, 238, 130, 202, 51, 63, 238, 214, 68, 109, 114, 108, 191, 208, 255, 32, 171, 246, 208, 139, 6, 223, 0, 120, 1, 104, 44, 82, 72, 129, 181, 237, 8, 213, 196, 193, 87, 114, 247, 12, 12, 218, 159, 182, 248, 63, 22, 207, 124, 217, 93, 121, 0, 49, 49, 237, 167, 215, 85, 173, 89, 152, 81, 151, 134, 240, 142, 208, 89, 9, 103, 243, 130, 221, 142, 44, 141, 64, 254, 215, 116, 155, 127, 32, 108, 178, 226 }; + //ike_req_raw_bytes = File.ReadAllBytes("E:\\documents\\Decompiling\\Extracted\\NOVA\\Novaria\\Novaria.SDKServer\\options_req"); + Console.WriteLine(ike_req_raw_bytes.Length); + + bool flag = false; - //byte[] result = AeadTool.DecryptAesCBCInfo(AeadTool.DEFAULT_SERVERLIST_KEY, bytes[..16], bytes[16..(((int)(bytes.Length / 16)) * 16)]); + Utils.PrintByteArray(ike_req_raw_bytes); + + BinaryReader reader = new BinaryReader(new MemoryStream(ike_req_raw_bytes)); + + byte[] nonceBytes = new byte[12]; + reader.Read(nonceBytes); + + byte[] aheadmarkBytes = new byte[1]; + int payloadSize = ike_req_raw_bytes.Length - nonceBytes.Length; + + if (flag) + { + reader.Read(aheadmarkBytes); + payloadSize--; + } + + byte[] packetBytes = new byte[payloadSize]; + reader.Read(packetBytes); + + if (reader.BaseStream.Position != ike_req_raw_bytes.Length) + { + Console.WriteLine("something went wrong, not all the bytes were read"); + Console.WriteLine("reader pos: " + reader.BaseStream.Position); + Console.WriteLine("original len:" + ike_req_raw_bytes.Length); + } + + Span<byte> decrypt_result = new Span<byte>(new byte[payloadSize - 16]); + + Span<byte> nonce = nonceBytes.AsSpan(); + Span<byte> packet_data = packetBytes.AsSpan(); + + Console.WriteLine($"Nonce[{nonce.Length}]"); + Utils.PrintByteArray(nonce.ToArray()); + + Console.WriteLine($"packet_data[{packet_data.Length}]: "); + Utils.PrintByteArray(packet_data.ToArray()); + + Console.WriteLine($"key[{AeadTool.FIRST_IKE_KEY.Length}]: "); + Utils.PrintByteArray(AeadTool.FIRST_IKE_KEY.ToArray()); + + Console.WriteLine($"Decrypted bytes[{decrypt_result.Length}]: "); + + byte[] associateData = new byte[13]; + + nonceBytes.CopyTo(associateData, 0); + associateData[associateData.Length - 1] = 1; + + + bool success = AeadTool.Dencrypt_ChaCha20(decrypt_result, AeadTool.FIRST_IKE_KEY, nonce, packet_data, null); + Console.WriteLine("sucess: " + success); + Utils.PrintByteArray(decrypt_result.ToArray()); + + byte[] decrypted_bytes = decrypt_result.ToArray(); + Utils.PrintByteArray(decrypted_bytes); + + byte[] msgid_bytes = decrypted_bytes[..2]; + Array.Reverse<byte>(msgid_bytes); + + short msgId = BitConverter.ToInt16(msgid_bytes); + + Packet packet = new Packet() + { + msgId = msgId, + msgBody = decrypted_bytes[2..], + }; + + Console.WriteLine("msgid: " + msgId); + Console.WriteLine("msgBody length: " + packet.msgBody.Length); + + var packetObj = IKEResp.Parser.ParseFrom(packet.msgBody); + + + //var ikereq = IKEReq.Parser.ParseFrom(ike_req_bytes); + + //var loginreq = LoginReq.Parser.ParseFrom(player_login_req_bytes); + + Console.WriteLine(JsonSerializer.Serialize(packetObj)); - ////Utils.PrintByteArray(result); - //string resstr = System.Text.Encoding.UTF8.GetString(result); - //Console.WriteLine(resstr); // Output: "Hello" Log.Information("Starting SDK Server..."); try { diff --git a/Novaria.SDKServer/options_req b/Novaria.SDKServer/options_req new file mode 100644 index 0000000..68710b8 --- /dev/null +++ b/Novaria.SDKServer/options_req @@ -0,0 +1,3 @@ +d +'!15LMmP}n1b ㏐&u<gUiOP1C#뱇 Ht EZjMlZB{mtKY'Vd?ߨLf:`W +5!gmam/<Kƒr6lrUـL]qZѤs" 0QgL>8HvjZU:&1:`eD~C9N،ro`03 \ No newline at end of file